ETH Price: $2,743.46 (+2.09%)

Contract

0xF5E74Cd4dD12a87F7F2431F8FE7Ff8fcbc17cfe7
 

Overview

ETH Balance

0.5052 ETH

Eth Value

$1,385.99 (@ $2,743.46/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Make Fixed Price...217655872025-02-03 11:09:3514 days ago1738580975IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.001254016.63451537
Make Fixed Price...217655842025-02-03 11:08:5914 days ago1738580939IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.001255266.64113125
Make Fixed Price...217534582025-02-01 18:27:4716 days ago1738434467IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.000659782.16666618
Buy217242392025-01-28 16:33:2320 days ago1738082003IN
0xF5E74Cd4...cbc17cfe7
1.4 ETH0.0024538311.45595619
Buy217242322025-01-28 16:31:5920 days ago1738081919IN
0xF5E74Cd4...cbc17cfe7
1.4 ETH0.0025543511.92527147
Make Fixed Price...216974772025-01-24 22:54:1123 days ago1737759251IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.002629498.01303296
Make Fixed Price...216974222025-01-24 22:42:5923 days ago1737758579IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.002390827.28572313
Make Fixed Price...216973612025-01-24 22:30:3523 days ago1737757835IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.002806888.55361951
Make Fixed Price...216966482025-01-24 20:07:3524 days ago1737749255IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.002655098.71906316
Make Fixed Price...216894902025-01-23 20:09:3525 days ago1737662975IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.003013429.89578306
Finish215279972025-01-01 7:03:1147 days ago1735714991IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.000185763.07184195
Finish215279912025-01-01 7:01:5947 days ago1735714919IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.000209593.46584714
Finish215279852025-01-01 7:00:4747 days ago1735714847IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.000190743.15408213
Make Fixed Price...214998292024-12-28 8:40:2351 days ago1735375223IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.001462324.15698418
Make Fixed Price...214998122024-12-28 8:36:5951 days ago1735375019IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.001487254.22784335
Make Fixed Price...214862782024-12-26 11:15:4753 days ago1735211747IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.001782375.06678076
Make Fixed Price...214729412024-12-24 14:31:4755 days ago1735050707IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.0023888812.63865491
Buy207643462024-09-16 16:23:59154 days ago1726503839IN
0xF5E74Cd4...cbc17cfe7
0.7 ETH0.002243949.1252186
Make Fixed Price...207297562024-09-11 20:28:35159 days ago1726086515IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.001720185.24203364
Make Fixed Price...207297402024-09-11 20:25:23159 days ago1726086323IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.001999536.09333347
Make Fixed Price...207296372024-09-11 20:04:35159 days ago1726085075IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.0049535415.0952779
Make Fixed Price...207296252024-09-11 20:02:11159 days ago1726084931IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.0046491914.16779482
Cancel207269662024-09-11 11:07:11159 days ago1726052831IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.00013852.26830899
Make Fixed Price...207256252024-09-11 6:36:47159 days ago1726036607IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.000646681.97068986
Make Fixed Price...207191092024-09-10 8:45:59160 days ago1725957959IN
0xF5E74Cd4...cbc17cfe7
0 ETH0.000945433.10470512
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
217242392025-01-28 16:33:2320 days ago1738082003
0xF5E74Cd4...cbc17cfe7
0.07 ETH
217242392025-01-28 16:33:2320 days ago1738082003
0xF5E74Cd4...cbc17cfe7
0.42 ETH
217242392025-01-28 16:33:2320 days ago1738082003
0xF5E74Cd4...cbc17cfe7
0.7 ETH
217242392025-01-28 16:33:2320 days ago1738082003
0xF5E74Cd4...cbc17cfe7
0.014 ETH
217242392025-01-28 16:33:2320 days ago1738082003
0xF5E74Cd4...cbc17cfe7
0.014 ETH
217242392025-01-28 16:33:2320 days ago1738082003
0xF5E74Cd4...cbc17cfe7
0.042 ETH
217242322025-01-28 16:31:5920 days ago1738081919
0xF5E74Cd4...cbc17cfe7
0.07 ETH
217242322025-01-28 16:31:5920 days ago1738081919
0xF5E74Cd4...cbc17cfe7
0.42 ETH
217242322025-01-28 16:31:5920 days ago1738081919
0xF5E74Cd4...cbc17cfe7
0.7 ETH
217242322025-01-28 16:31:5920 days ago1738081919
0xF5E74Cd4...cbc17cfe7
0.014 ETH
217242322025-01-28 16:31:5920 days ago1738081919
0xF5E74Cd4...cbc17cfe7
0.014 ETH
217242322025-01-28 16:31:5920 days ago1738081919
0xF5E74Cd4...cbc17cfe7
0.042 ETH
207643462024-09-16 16:23:59154 days ago1726503839
0xF5E74Cd4...cbc17cfe7
0.245 ETH
207643462024-09-16 16:23:59154 days ago1726503839
0xF5E74Cd4...cbc17cfe7
0.35 ETH
207643462024-09-16 16:23:59154 days ago1726503839
0xF5E74Cd4...cbc17cfe7
0.021 ETH
207643462024-09-16 16:23:59154 days ago1726503839
0xF5E74Cd4...cbc17cfe7
0.014 ETH
205421582024-08-16 15:42:11185 days ago1723822931
0xF5E74Cd4...cbc17cfe7
0.435 ETH
205421582024-08-16 15:42:11185 days ago1723822931
0xF5E74Cd4...cbc17cfe7
0.015 ETH
200107762024-06-03 10:44:23259 days ago1717411463
0xF5E74Cd4...cbc17cfe7
0.00085 ETH
200107762024-06-03 10:44:23259 days ago1717411463
0xF5E74Cd4...cbc17cfe7
0.00005 ETH
200065672024-06-02 20:36:59260 days ago1717360619
0xF5E74Cd4...cbc17cfe7
0.045 ETH
196818102024-04-18 10:40:59305 days ago1713436859
0xF5E74Cd4...cbc17cfe7
0.3 ETH
196818102024-04-18 10:40:59305 days ago1713436859
0xF5E74Cd4...cbc17cfe7
0.05 ETH
196818102024-04-18 10:40:59305 days ago1713436859
0xF5E74Cd4...cbc17cfe7
0.5 ETH
196818102024-04-18 10:40:59305 days ago1713436859
0xF5E74Cd4...cbc17cfe7
0.01 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MarketManagerV1

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
Yes with 10000 runs

Other Settings:
paris EvmVersion
File 1 of 9 : MarketManagerV1.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

// import "hardhat/console.sol";

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

import "./ERC721/IIOGINALITY.sol";
import "./utils/Manageable.sol";

contract MarketManagerV1 is Ownable, Manageable, ReentrancyGuard {
    mapping(uint256 => Listing) private listings;

    string private _name;

    bool private isActive = true;

    uint32 private defaultBidIncreasePercentage;

    uint256 private marketplaceIncome = 0;

    mapping(address => uint256) private debts;

    enum ListingType {
        None,
        FixedPrice,
        Auction
        // ReversAuction
    }

    /* 
        Royalties struct is used to store royalties for NFT token
        There is some method to define royalties for secindary sales
        1. Royalties can be set by seller when he creates fixed price listing
        2. Royalties can be set by seller when he creates auction listing

        Royalties can be set only once for each sale
    */
    struct Royalties {
        address[] recipients;
        uint32[] amounts;
        uint32 total;
    }

    struct RoyaltiesInput {
        address[] recipients;
        uint32[] amounts;
    }

    /*
        contract supports only native blockchain currency
    */
    struct Listing {
        IIOGINALITY tokenContract;
        uint256 tokenId;
        ListingType listingType;
        address sellerManager;
        address seller;
        uint128 price; // for ListingType.Auction the same as buyNowPrice
        uint64 end; // time of listing ending
        address whitelistBuyer; // seller can create listing only for specific buyer address
        uint128 startPrice; // start price for Auction and ReverseAuction
        uint128 reservePrice; // minimum price for Auction must finish successful
        uint128 highestBid;
        address highestBidder;
        uint32 bidStep; // for ListingType.Auction value to increase for ListingType.ReverseAuction value to decrease
        uint32 marketplaceFee; // fee for marketplace
        Royalties royalties;
    }

    /**
     * EVENTS START
     */

    event FixedPriceListingCreated(
        uint256 listingId,
        address tokenContract,
        uint256 tokenId,
        address seller,
        uint128 price,
        uint64 end,
        address whitelistBuyer
    );

    event AuctionListingCreated(
        uint256 listingId,
        address tokenContract,
        uint256 tokenId,
        address seller,
        uint128 startPrice,
        uint128 reservePrice,
        uint128 buyNowPrice,
        uint64 end,
        address whitelistBuyer
    );

    event BidMade(
        uint256 listingId,
        address bidder,
        uint128 amount,
        address prevBidder,
        uint128 prevAmount,
        uint256 timestamp
    );

    event BidRefunded(
        uint256 listingId,
        address bidder,
        uint128 amount,
        address newBidder,
        uint128 newAmount,
        uint256 timestamp
    );

    event ListingCancelled(uint256 listingId, uint256 timestamp);

    event ListingFinished(uint256 listingId, uint256 timestamp);

    event ListingSold(
        uint256 listingId,
        uint128 price,
        address buyer,
        ListingType type_,
        uint256 timestamp
    );

    event ContractStarted(uint256 timestamp);
    event ContractStoppped(uint256 timestamp);

    event MarketplaceFeeReceived(
        IIOGINALITY tokenContract,
        uint256 tokenId,
        uint128 amount,
        uint256 timestamp
    );

    event SetRoyalty(
        uint256 tokenId,
        address seller,
        uint128 amount,
        uint256 timestamp
    );

    event RoyaltiesPaid(
        uint256 listingId,
        address reciever,
        uint128 amount,
        IIOGINALITY tokenContract,
        uint256 tokenId,
        uint256 timestamp
    );

    event SecondaryRoyaltiesPaid(
        uint256 listingId,
        address reciever,
        uint128 amount,
        IIOGINALITY tokenContract,
        uint256 tokenId,
        uint256 timestamp
    );

    event SellerPaid(
        uint256 listingId,
        address seller,
        uint128 amount,
        IIOGINALITY tokenContract,
        uint256 tokenId,
        uint256 timestamp
    );

    /**
     * EVENTS END
     */

    /**
     * MODIFIERS START
     */

    modifier contractIsActive() {
        require(isActive, "Contract is stopped now");
        _;
    }

    modifier listingExists(uint256 listingId) {
        require(listings[listingId].tokenId > 0, "Listing does not exist");
        _;
    }

    modifier listingIsNonexistent(uint256 _listingId) {
        require(listings[_listingId].tokenId < 1, "Listing is already exists");
        _;
    }

    modifier listingIsOngoing(uint256 listingId) {
        require(listings[listingId].tokenId > 0, "Listing is not exists");
        require(
            listings[listingId].end > block.timestamp,
            "Listing time is over"
        );
        _;
    }

    modifier isAuction(uint256 _listingId) {
        require(
            listings[_listingId].listingType == ListingType.Auction,
            "Listing is not the auction type"
        );
        _;
    }

    modifier isFixedPrice(uint256 tokenId) {
        require(
            listings[tokenId].listingType == ListingType.FixedPrice,
            "Listing is not the fixed price type"
        );
        _;
    }

    modifier correctMarketplaceFee(uint32 _marketplaceFee) {
        require(
            _marketplaceFee <= (50 * 100),
            "Max value for marketplace fee 50 pecent"
        );
        _;
    }

    modifier isPaymentAcceptable(uint256 tokenId) {
        require(
            msg.sender != address(0),
            "sender must not be an empty address"
        );
        require(
            msg.sender != listings[tokenId].seller,
            "sender must not be a seller"
        );
        require(
            msg.value == listings[tokenId].price,
            "sent money is insufficient"
        );

        _;
    }

    modifier isBidAcceptable(uint256 tokenId) {
        require(
            msg.sender != address(0),
            "sender must not be an empty address"
        );
        require(
            msg.sender != listings[tokenId].seller,
            "sender must not be a seller"
        );

        if (listings[tokenId].whitelistBuyer != address(0)) {
            require(
                listings[tokenId].whitelistBuyer == msg.sender,
                "Auction accepts bid only from whitelist buyer"
            );
        }

        /* check it's a bid(not a buy now)  */
        if (
            !(listings[tokenId].price > 0 &&
                listings[tokenId].price == msg.value)
        ) {
            if (listings[tokenId].highestBid > 0) {
                require(
                    msg.value > listings[tokenId].highestBid,
                    "The bet must be greater than the last bet"
                );

                uint128 requiredNextBid = listings[tokenId].highestBid +
                    ((listings[tokenId].highestBid *
                        _getBidIncreaseIndex(tokenId)) / 10000);
                require(msg.value >= requiredNextBid, "Bid insufficient");
            } else if (listings[tokenId].startPrice > 0) {
                require(
                    msg.value >= listings[tokenId].startPrice,
                    "Bid insufficient"
                );
            } else {
                require(msg.value >= 0, "Bid insufficient");
            }
        }

        _;
    }

    modifier onlyOwnerOrManagerOrSeller(uint256 listingId) {
        require(
            owner() == msg.sender ||
                manager() == msg.sender ||
                listings[listingId].sellerManager == msg.sender ||
                listings[listingId].seller == msg.sender,
            "Method can call only owner/manager/seller"
        );
        _;
    }

    modifier isRoyaltiesInputCorrect(RoyaltiesInput calldata royaltiesInput) {
        require(
            royaltiesInput.recipients.length == royaltiesInput.amounts.length,
            "roylties recipients and amounts number should be equal"
        );
        _;
    }

    /**
     * MODIFIERS END
     */

    /**
     * address _nftTokenContract is the address of ERC721 token contract
     */
    constructor(
        string memory name_,
        uint32 _defaultBidIncreasePercentage,
        address manager_
    ) Ownable(msg.sender) {
        _name = name_;
        defaultBidIncreasePercentage = _defaultBidIncreasePercentage;

        _transferMangership(manager_);
    }

    function _getBidIncreaseIndex(
        uint256 _listingId
    ) private view returns (uint32) {
        if (listings[_listingId].bidStep > 0) {
            return listings[_listingId].bidStep;
        }

        return defaultBidIncreasePercentage;
    }

    /* check does auction has winner */
    function _hasAuctionWinner(uint256 _listingId) private view returns (bool) {
        /* if we have someone who has palced a bet */
        if (
            listings[_listingId].highestBidder != address(0) &&
            listings[_listingId].highestBid > 0
        ) {
            if (listings[_listingId].reservePrice > 0) {
                if (
                    listings[_listingId].reservePrice <=
                    listings[_listingId].highestBid
                ) {
                    return true;
                }
            } else {
                return true;
            }
        }

        return false;
    }

    function _getPortionOfAmount(
        uint128 _amount,
        uint32 _percentage
    ) internal pure returns (uint128) {
        return (_amount * (_percentage)) / 10000;
    }

    function _tokenExists(IIOGINALITY _contract, uint256 tokenId) private view {
        require(
            _contract.ownerOf(tokenId) != address(0),
            "Token is not exists"
        );
    }

    function checkAbilityToManageToken(
        IIOGINALITY _contract,
        uint256 tokenId
    ) internal view {
        require(
            _contract.getApproved(tokenId) == address(this),
            "Current contract not approved to manage token"
        );
    }

    function _checkTotalFeesAndGetSecondaryRoyalties(
        IIOGINALITY tokenContract,
        uint256 tokenId,
        uint64 _marketplaceFee,
        RoyaltiesInput memory royaties
    ) internal view returns (Royalties memory) {
        require(
            royaties.recipients.length == royaties.amounts.length,
            "roylties recipients and amounts number should be equal"
        );

        uint32 total;
        for (uint256 i = 0; i < royaties.amounts.length; i++) {
            total += royaties.amounts[i];
        }

        require(
            (total + _marketplaceFee) <= 10000,
            "Secondary royalties should not exceed 100%"
        );

        uint32 tokenRoyalties = tokenContract.getRoyaltiesAmount(tokenId);
        require(
            (tokenRoyalties + _marketplaceFee + total) <= 10000,
            "Total fees should not exceed 100%"
        );

        return Royalties(royaties.recipients, royaties.amounts, total);
    }

    /**
     * Fixed price sale
     */
    function makeFixedPriceListing(
        uint256 _listingId,
        address _contract,
        uint256 _tokenId,
        uint128 _price,
        uint64 _end,
        uint32 _marketplaceFee
    )
        external
        nonReentrant
        contractIsActive
        listingIsNonexistent(_listingId)
        correctMarketplaceFee(_marketplaceFee)
    {
        IIOGINALITY tokenContract = IIOGINALITY(_contract);
        _tokenExists(tokenContract, _tokenId);
        checkAbilityToManageToken(tokenContract, _tokenId);
        RoyaltiesInput memory royaltiesInput;
        _checkTotalFeesAndGetSecondaryRoyalties(
            tokenContract,
            _tokenId,
            _marketplaceFee,
            royaltiesInput
        );

        // we can create new sale only when no has another listing with the same tokenId
        _createFixedPriceSale(
            _listingId,
            tokenContract,
            _tokenId,
            _price,
            _end,
            address(0),
            _marketplaceFee
        );

        emit FixedPriceListingCreated(
            _listingId,
            _contract,
            _tokenId,
            msg.sender,
            _price,
            _end,
            address(0)
        );
    }

    /**
     * Fixed price sale with secondary sale royalties
     */
    function makeFixedPriceListing(
        uint256 _listingId,
        address _contract,
        uint256 _tokenId,
        uint128 _price,
        uint64 _end,
        uint32 _marketplaceFee,
        RoyaltiesInput calldata royaltiesInput
    )
        external
        nonReentrant
        contractIsActive
        listingIsNonexistent(_listingId)
        correctMarketplaceFee(_marketplaceFee)
        isRoyaltiesInputCorrect(royaltiesInput)
    {
        IIOGINALITY tokenContract = IIOGINALITY(_contract);
        _tokenExists(tokenContract, _tokenId);
        checkAbilityToManageToken(tokenContract, _tokenId);
        Royalties memory royalties = _checkTotalFeesAndGetSecondaryRoyalties(
            tokenContract,
            _tokenId,
            _marketplaceFee,
            royaltiesInput
        );

        // we can create new sale only when no has another listing with the same tokenId
        _createFixedPriceSale(
            _listingId,
            IIOGINALITY(_contract),
            _tokenId,
            _price,
            _end,
            address(0),
            _marketplaceFee
        );
        listings[_listingId].royalties = royalties;

        emit FixedPriceListingCreated(
            _listingId,
            _contract,
            _tokenId,
            msg.sender,
            _price,
            _end,
            address(0)
        );
    }

    /**
     * British auction sale
     */
    function makeBritishAuctionListing(
        uint256 _listingId,
        address _contract,
        uint256 _tokenId,
        uint32 _bidStep,
        uint128 _startPrice,
        uint128 _reservePrice,
        uint128 _buyNowPrice,
        uint64 _end,
        uint32 _marketplaceFee
    ) external nonReentrant contractIsActive listingIsNonexistent(_listingId) {
        IIOGINALITY tokenContract = IIOGINALITY(_contract);
        _tokenExists(tokenContract, _tokenId);
        checkAbilityToManageToken(tokenContract, _tokenId);
        RoyaltiesInput memory royaltiesInput;
        _checkTotalFeesAndGetSecondaryRoyalties(
            tokenContract,
            _tokenId,
            _marketplaceFee,
            royaltiesInput
        );

        _createAuctionSale(
            _listingId,
            tokenContract,
            _tokenId,
            _bidStep,
            _startPrice,
            _reservePrice,
            _buyNowPrice,
            _end,
            address(0),
            _marketplaceFee
        );

        emit AuctionListingCreated(
            _listingId,
            _contract,
            _tokenId,
            msg.sender,
            _startPrice,
            _reservePrice,
            _buyNowPrice,
            _end,
            address(0)
        );
    }

    /**
     * British auction sale with secondary sale royalties
     */
    // function makeBritishAuctionListing(uint256 _tokenId, uint32 aa, uint128 _startPrice, uint128 _reservePrice, uint128 _buyNowPrice, uint64 _end, address[] memory _royaltyRecipients, uint32[] memory _royaltyAmounts)
    function makeBritishAuctionListing(
        uint256 _listingId,
        address _contract,
        uint256 _tokenId,
        uint32 _bidStep,
        uint128 _startPrice,
        uint128 _reservePrice,
        uint128 _buyNowPrice,
        uint64 _end,
        uint32 _marketplaceFee,
        RoyaltiesInput calldata royaltiesInput
    )
        external
        nonReentrant
        contractIsActive
        listingIsNonexistent(_listingId)
        isRoyaltiesInputCorrect(royaltiesInput)
    {
        IIOGINALITY tokenContract = IIOGINALITY(_contract);
        _tokenExists(tokenContract, _tokenId);
        checkAbilityToManageToken(tokenContract, _tokenId);
        Royalties memory royalties = _checkTotalFeesAndGetSecondaryRoyalties(
            tokenContract,
            _tokenId,
            _marketplaceFee,
            royaltiesInput
        );

        // we can create new sale only when no has another listing with the same tokenId
        _createAuctionSale(
            _listingId,
            tokenContract,
            _tokenId,
            _bidStep,
            _startPrice,
            _reservePrice,
            _buyNowPrice,
            _end,
            address(0),
            _marketplaceFee
        );
        listings[_listingId].royalties = royalties;

        emit AuctionListingCreated(
            _listingId,
            _contract,
            _tokenId,
            msg.sender,
            _startPrice,
            _reservePrice,
            _buyNowPrice,
            _end,
            address(0)
        );
    }

    function buy(
        uint256 _listingId
    )
        external
        payable
        nonReentrant
        contractIsActive
        listingIsOngoing(_listingId)
        isPaymentAcceptable(_listingId)
    {
        uint128 _value = uint128(msg.value);
        _release(_listingId, msg.sender, _value);

        emit ListingSold(
            _listingId,
            _value,
            msg.sender,
            listings[_listingId].listingType,
            block.timestamp
        );
    }

    /**
     * Accept bid of auction only from recepient
     */
    function bid(
        uint256 _listingId
    )
        external
        payable
        nonReentrant
        contractIsActive
        listingIsOngoing(_listingId)
        isAuction(_listingId)
        isBidAcceptable(_listingId)
    {
        uint128 newBid = uint128(msg.value);

        _revertHighestBid(_listingId, msg.sender, newBid);

        address prevHighestBidder = listings[_listingId].highestBidder;
        uint128 prevHighestBid = listings[_listingId].highestBid;

        /* handle buy now price */
        if (
            listings[_listingId].price > 0 &&
            listings[_listingId].price == msg.value
        ) {
            _release(_listingId, msg.sender, newBid);
        } else {
            listings[_listingId].highestBid = newBid;
            listings[_listingId].highestBidder = msg.sender;

            emit BidMade(
                _listingId,
                listings[_listingId].highestBidder,
                listings[_listingId].highestBid,
                prevHighestBidder,
                prevHighestBid,
                block.timestamp
            );
        }
    }

    function getPrice(
        uint256 _listingId
    ) external view listingIsOngoing(_listingId) returns (uint128) {
        return listings[_listingId].price;
    }

    function getBidPrice(
        uint256 _listingId
    )
        external
        view
        listingIsOngoing(_listingId)
        isAuction(_listingId)
        returns (uint128)
    {
        if (listings[_listingId].highestBid > 0) {
            uint128 minNextBid = listings[_listingId].highestBid +
                ((listings[_listingId].highestBid *
                    _getBidIncreaseIndex(_listingId)) / 10000);
            return minNextBid;
        } else if (listings[_listingId].startPrice > 0) {
            return listings[_listingId].startPrice;
        } else {
            return uint128(2 gwei);
        }
    }

    function getEndTime(
        uint256 _listingId
    ) external view listingIsOngoing(_listingId) returns (uint64) {
        return listings[_listingId].end;
    }

    function getMarketplaceFee(
        uint256 _listingId
    ) external view listingIsOngoing(_listingId) returns (uint32) {
        return listings[_listingId].marketplaceFee;
    }

    function getSecondaryRoyalties(uint256 _listingId)
        external view
        listingIsOngoing(_listingId)
        returns (address[] memory, uint32[] memory)
    {
        return (listings[_listingId].royalties.recipients, listings[_listingId].royalties.amounts);
    }

    function cancel(
        uint256 _listingId
    )
        external
        nonReentrant
        contractIsActive
        listingIsOngoing(_listingId)
        listingExists(_listingId)
        onlyOwnerOrManagerOrSeller(_listingId)
    {
        if (listings[_listingId].listingType == ListingType.Auction) {
            _revertHighestBid(_listingId, address(0), 0);
        }

        _resetListing(_listingId);

        emit ListingCancelled(_listingId, block.timestamp);
    }

    function finish(
        uint256 _listingId
    )
        external
        nonReentrant
        contractIsActive
        listingExists(_listingId)
        onlyOwnerOrManagerOrSeller(_listingId)
    {
        if (
            listings[_listingId].listingType == ListingType.Auction &&
            _hasAuctionWinner(_listingId)
        ) {
            _release(
                _listingId,
                listings[_listingId].highestBidder,
                listings[_listingId].highestBid
            );

            emit ListingSold(
                _listingId,
                listings[_listingId].highestBid,
                listings[_listingId].highestBidder,
                ListingType.Auction,
                uint64(block.timestamp)
            );
        } else {
            _resetListing(_listingId);

            emit ListingFinished(_listingId, block.timestamp);
        }
    }

    function getIncome() external view onlyOwner returns (uint256) {
        return marketplaceIncome;
    }

    function withdrawIncome(
        address to,
        uint256 _amount
    ) external nonReentrant onlyOwner {
        if (_amount > 0) {
            require(_amount <= marketplaceIncome, "Not enough income");
        } else {
            _amount = marketplaceIncome;
        }

        require(
            _amount <= address(this).balance,
            "The contract balance is not enaugh"
        );

        (bool sent, ) = payable(to).call{value: _amount}("");

        require(sent, "Failed to send Ether");
    }

    function withdraw() external nonReentrant {
        if (debts[msg.sender] > 0) {
            uint256 _amount = debts[msg.sender];
            debts[msg.sender] = 0;

            require(
                _amount <= address(this).balance,
                "The contract balance is not enaugh"
            );

            (bool sent, ) = payable(msg.sender).call{value: _amount}("");

            require(sent, "Failed to send Ether");
        }
    }

    function _createFixedPriceSale(
        uint256 _listingId,
        IIOGINALITY _contract,
        uint256 _tokenId,
        uint128 _price,
        uint64 _end,
        address _whitelistBuyer,
        uint32 _marketplaceFee
    ) private listingIsNonexistent(_listingId) {
        listings[_listingId].tokenContract = _contract;
        listings[_listingId].tokenId = _tokenId;
        listings[_listingId].listingType = ListingType.FixedPrice;
        listings[_listingId].sellerManager = msg.sender;
        listings[_listingId].seller = _contract.ownerOf(_tokenId);
        listings[_listingId].price = _price;
        listings[_listingId].end = _end;
        listings[_listingId].whitelistBuyer = _whitelistBuyer;
        listings[_listingId].marketplaceFee = _marketplaceFee;
    }

    function _createAuctionSale(
        uint256 _listingId,
        IIOGINALITY _contract,
        uint256 _tokenId,
        uint32 _bidStep,
        uint128 _startPrice,
        uint128 _reservePrice,
        uint128 _buyNowPrice,
        uint64 _end,
        address _whitelistBuyer,
        uint32 _marketplaceFee
    ) private listingIsNonexistent(_listingId) {
        require(
            _reservePrice == 0 || _reservePrice >= _startPrice,
            "reserve price must equal zero or greater than start price"
        );
        require(
            _buyNowPrice == 0 ||
                (_buyNowPrice >= _startPrice && _buyNowPrice >= _reservePrice),
            "buy now price must equal zero or greater or equal than start and reserve prices"
        );

        listings[_listingId].tokenContract = _contract;
        listings[_listingId].tokenId = _tokenId;
        listings[_listingId].listingType = ListingType.Auction;
        listings[_listingId].sellerManager = msg.sender;
        listings[_listingId].seller = _contract.ownerOf(_tokenId);
        listings[_listingId].price = _buyNowPrice;
        listings[_listingId].end = _end;
        listings[_listingId].whitelistBuyer = _whitelistBuyer;
        listings[_listingId].startPrice = _startPrice;
        listings[_listingId].reservePrice = _reservePrice;
        listings[_listingId].bidStep = _bidStep;
        listings[_listingId].marketplaceFee = _marketplaceFee;
    }

    function _resetListing(uint256 _listingId) private {
        listings[_listingId].tokenContract = IIOGINALITY(address(0));
        listings[_listingId].tokenId = 0;
        listings[_listingId].listingType = ListingType.None;
        listings[_listingId].sellerManager = address(0);
        listings[_listingId].seller = address(0);
        listings[_listingId].price = 0;
        listings[_listingId].end = 0;
        listings[_listingId].whitelistBuyer = address(0);
        listings[_listingId].startPrice = 0;
        listings[_listingId].reservePrice = 0;
        listings[_listingId].highestBid = 0;
        listings[_listingId].highestBidder = address(0);
        listings[_listingId].bidStep = 0;
    }

    function _revertHighestBid(uint256 _listingId, address newBidder, uint128 newAmount) private {
        if (
            listings[_listingId].highestBid > 0 &&
            listings[_listingId].highestBidder != address(0)
        ) {
            (bool sent, ) = payable(listings[_listingId].highestBidder).call{
                value: listings[_listingId].highestBid
            }("");

            if (! sent) {
                debts[listings[_listingId].highestBidder] += listings[
                    _listingId
                ].highestBid;
            } else {
                emit BidRefunded(
                    _listingId,
                    listings[_listingId].highestBidder,
                    listings[_listingId].highestBid,
                    newBidder,
                    newAmount,
                    block.timestamp
                );
            }
        }
    }

    function _release(
        uint256 _listingId,
        address buyer,
        uint128 amount
    ) private {
        checkAbilityToManageToken(
            listings[_listingId].tokenContract,
            listings[_listingId].tokenId
        );

        if (amount > 0) {
            uint128 marketplaceFeeAmount = _getPortionOfAmount(
                amount,
                listings[_listingId].marketplaceFee
            );
            uint128 royaltiesTotal = 0;

            (
                address[] memory royaltyRecipients,
                uint32[] memory royaltyAmounts
            ) = listings[_listingId].tokenContract.getRoyalties(
                    listings[_listingId].tokenId
                );

            for (uint i = 0; i < royaltyRecipients.length; i++) {
                uint128 royaltyAmount = _getPortionOfAmount(
                    amount,
                    royaltyAmounts[i]
                );

                (bool sentRoyalty, ) = payable(royaltyRecipients[i]).call{
                    value: royaltyAmount
                }("");

                if (sentRoyalty) {
                    emit RoyaltiesPaid(
                        _listingId,
                        royaltyRecipients[i],
                        royaltyAmount,
                        listings[_listingId].tokenContract,
                        listings[_listingId].tokenId,
                        block.timestamp
                    );
                } else {
                    debts[royaltyRecipients[i]] += royaltyAmount;
                }

                royaltiesTotal += royaltyAmount;
            }

            if (listings[_listingId].royalties.total > 0) {
                for (
                    uint i = 0;
                    i < listings[_listingId].royalties.recipients.length;
                    i++
                ) {
                    uint128 royaltyAmount = _getPortionOfAmount(
                        amount,
                        listings[_listingId].royalties.amounts[i]
                    );

                    (bool sentRoyalty2, ) = payable(
                        listings[_listingId].royalties.recipients[i]
                    ).call{value: royaltyAmount}("");

                    if (sentRoyalty2) {
                        emit SecondaryRoyaltiesPaid(
                            _listingId,
                            listings[_listingId].royalties.recipients[i],
                            royaltyAmount,
                            listings[_listingId].tokenContract,
                            listings[_listingId].tokenId,
                            block.timestamp
                        );
                    } else {
                        debts[
                            listings[_listingId].royalties.recipients[i]
                        ] += royaltyAmount;
                    }

                    royaltiesTotal += royaltyAmount;
                }
            }

            uint128 sellerAmount = amount -
                marketplaceFeeAmount -
                royaltiesTotal;

            (bool sent, ) = payable(listings[_listingId].seller).call{
                value: sellerAmount
            }("");

            require(sent, "Failed to send money");
            emit SellerPaid(
                _listingId,
                listings[_listingId].seller,
                sellerAmount,
                listings[_listingId].tokenContract,
                listings[_listingId].tokenId,
                block.timestamp
            );

            marketplaceIncome += marketplaceFeeAmount;
            if (marketplaceFeeAmount > 0) {
                emit MarketplaceFeeReceived(
                    listings[_listingId].tokenContract,
                    listings[_listingId].tokenId,
                    marketplaceFeeAmount,
                    block.timestamp
                );
            }
        }

        listings[_listingId].tokenContract.transferFrom(
            listings[_listingId].tokenContract.ownerOf(
                listings[_listingId].tokenId
            ),
            buyer,
            listings[_listingId].tokenId
        );

        _resetListing(_listingId);
    }

    function stop() external onlyOwner {
        if (isActive) {
            isActive = false;

            emit ContractStoppped(block.timestamp);
        }
    }

    function start() external onlyOwner {
        if (!isActive) {
            isActive = true;

            emit ContractStarted(block.timestamp);
        }
    }

    function name() external view virtual returns (string memory) {
        return _name;
    }
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 9 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../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 address zero.
     *
     * 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 4 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 5 of 9 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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 6 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

File 7 of 9 : IERC721RoyaltiesStorage.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

interface IERC721RoyaltiesStorage is IERC721 {

    function getRoyalties(uint256 tokenId) external view returns (address[] memory, uint32[] memory);

    function getRoyaltiesAmount(uint256 tokenId) external view returns (uint32);
}

File 8 of 9 : IIOGINALITY.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./extensions/IERC721RoyaltiesStorage.sol";

interface IIOGINALITY is IERC721, IERC721RoyaltiesStorage {}

File 9 of 9 : Manageable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract Manageable is Ownable {

    // the manager of contract from marketplace side
    address private _manager;

    event ManagershipTransfered(address newManager, address oldManager);

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyManager() {
        _checkManager();
        _;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkManager() internal view virtual {
        require(manager() == _msgSender(), "Caller is not the manager of contract");
    }

    function manager() public view returns(address)
    {
        return _manager;
    }

    function transferMangership(address newManager) onlyOwner
        external
    {
        require(newManager != address(0), 'Manager can not be a null address');

        _transferMangership(newManager);
    }

    function _transferMangership(address newManager)
        internal virtual
    {
        address oldManager = _manager;
        _manager = newManager;

        emit ManagershipTransfered(_manager, oldManager);
    }
}

Settings
{
  "viaIR": true,
  "optimizer": {
    "enabled": true,
    "runs": 10000,
    "details": {
      "yulDetails": {
        "optimizerSteps": "u"
      }
    }
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"uint32","name":"_defaultBidIncreasePercentage","type":"uint32"},{"internalType":"address","name":"manager_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint128","name":"startPrice","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"reservePrice","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"buyNowPrice","type":"uint128"},{"indexed":false,"internalType":"uint64","name":"end","type":"uint64"},{"indexed":false,"internalType":"address","name":"whitelistBuyer","type":"address"}],"name":"AuctionListingCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"address","name":"bidder","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"address","name":"prevBidder","type":"address"},{"indexed":false,"internalType":"uint128","name":"prevAmount","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"BidMade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"address","name":"bidder","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"address","name":"newBidder","type":"address"},{"indexed":false,"internalType":"uint128","name":"newAmount","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"BidRefunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ContractStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ContractStoppped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint128","name":"price","type":"uint128"},{"indexed":false,"internalType":"uint64","name":"end","type":"uint64"},{"indexed":false,"internalType":"address","name":"whitelistBuyer","type":"address"}],"name":"FixedPriceListingCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ListingCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ListingFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"uint128","name":"price","type":"uint128"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"enum MarketManagerV1.ListingType","name":"type_","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ListingSold","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newManager","type":"address"},{"indexed":false,"internalType":"address","name":"oldManager","type":"address"}],"name":"ManagershipTransfered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IIOGINALITY","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MarketplaceFeeReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"address","name":"reciever","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"contract IIOGINALITY","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"RoyaltiesPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"address","name":"reciever","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"contract IIOGINALITY","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SecondaryRoyaltiesPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"contract IIOGINALITY","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SellerPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SetRoyalty","type":"event"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"}],"name":"bid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"}],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"}],"name":"finish","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"}],"name":"getBidPrice","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"}],"name":"getEndTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIncome","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"}],"name":"getMarketplaceFee","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"}],"name":"getSecondaryRoyalties","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint32[]","name":"","type":"uint32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"},{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_bidStep","type":"uint32"},{"internalType":"uint128","name":"_startPrice","type":"uint128"},{"internalType":"uint128","name":"_reservePrice","type":"uint128"},{"internalType":"uint128","name":"_buyNowPrice","type":"uint128"},{"internalType":"uint64","name":"_end","type":"uint64"},{"internalType":"uint32","name":"_marketplaceFee","type":"uint32"},{"components":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint32[]","name":"amounts","type":"uint32[]"}],"internalType":"struct MarketManagerV1.RoyaltiesInput","name":"royaltiesInput","type":"tuple"}],"name":"makeBritishAuctionListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"},{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_bidStep","type":"uint32"},{"internalType":"uint128","name":"_startPrice","type":"uint128"},{"internalType":"uint128","name":"_reservePrice","type":"uint128"},{"internalType":"uint128","name":"_buyNowPrice","type":"uint128"},{"internalType":"uint64","name":"_end","type":"uint64"},{"internalType":"uint32","name":"_marketplaceFee","type":"uint32"}],"name":"makeBritishAuctionListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"},{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint128","name":"_price","type":"uint128"},{"internalType":"uint64","name":"_end","type":"uint64"},{"internalType":"uint32","name":"_marketplaceFee","type":"uint32"},{"components":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint32[]","name":"amounts","type":"uint32[]"}],"internalType":"struct MarketManagerV1.RoyaltiesInput","name":"royaltiesInput","type":"tuple"}],"name":"makeFixedPriceListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listingId","type":"uint256"},{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint128","name":"_price","type":"uint128"},{"internalType":"uint64","name":"_end","type":"uint64"},{"internalType":"uint32","name":"_marketplaceFee","type":"uint32"}],"name":"makeFixedPriceListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newManager","type":"address"}],"name":"transferMangership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawIncome","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523462000031576200001f62000018620001b9565b916200047a565b604051614dbf620006d08239614dbf90f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b90601f01601f191681019081106001600160401b038211176200006e57604052565b62000036565b906200008b6200008360405190565b92836200004c565b565b6001600160401b0381116200006e57602090601f01601f19160190565b60005b838110620000be5750506000910152565b8181015183820152602001620000ad565b90929192620000e8620000e2826200008d565b62000074565b938185528183011162000031576200008b916020850190620000aa565b9080601f83011215620000315781516200012292602001620000cf565b90565b63ffffffff81165b036200003157565b905051906200008b8262000125565b6001600160a01b031690565b6001600160a01b0381166200012d565b905051906200008b8262000150565b9091606082840312620000315781516001600160401b03811162000031576200019f846200012292850162000105565b936040620001b1826020870162000135565b940162000160565b620001dc6200548f80380380620001d08162000074565b9283398101906200016f565b909192565b9060ff905b9181191691161790565b9062000203620001226200020b92151590565b8254620001e1565b9055565b9060001990620001e6565b6200012262000122620001229290565b906200023e620001226200020b926200021a565b82546200020f565b634e487b7160e01b600052602260045260246000fd5b90600160028304921680156200027f575b60208310146200027957565b62000246565b91607f16916200026d565b9160001960089290920291821b911b620001e6565b9190620002b4620001226200020b936200021a565b9083546200028a565b6200008b916000916200029f565b818110620002d7575050565b80620002e76000600193620002bd565b01620002cb565b9190601f8111620002fe57505050565b620003126200008b93600052602060002090565b906020601f84018190048301931062000336575b6020601f909101040190620002cb565b909150819062000326565b906200034b815190565b906001600160401b0382116200006e5762000373826200036c85546200025c565b85620002ee565b602090601f8311600114620003b2576200020b929160009183620003a6575b5050600019600883021c1916906002021790565b01519050388062000392565b601f19831691620003c885600052602060002090565b9260005b8181106200040957509160029391856001969410620003ef575b50505002019055565b01516000196008601f8516021c19169055388080620003e6565b91936020600181928787015181550195019201620003cc565b906200008b9162000341565b9064ffffffff009060081b620001e6565b6200045562000122620001229263ffffffff1690565b63ffffffff1690565b9062000472620001226200020b926200043f565b82546200042e565b6200008b9291620004b8620004c0926200049433620004d2565b620004a260016005620001f0565b620004b0600060066200022a565b600462000422565b60056200045e565b6200060b565b6200012260016200021a565b620004dd90620004f3565b6200008b620004eb620004c6565b60026200022a565b6200008b9062000519565b6200014462000122620001229290565b6200012290620004fe565b6200052560006200050e565b6001600160a01b0381166001600160a01b038316146200054b57506200008b906200066f565b6200057e906200055a60405190565b631e4fbdf760e01b8152918291600483016001600160a01b03909116815260200190565b0390fd5b620001229062000144565b62000122905462000582565b906001600160a01b0390620001e6565b620001229062000144906001600160a01b031682565b6200012290620005a9565b6200012290620005bf565b90620005e9620001226200020b92620005ca565b825462000599565b6001600160a01b0391821681529116602082015260400190565b7f3d94f8a9e9bed6c4cb502413642e13434051041fb60783c22e66622133e1a33990620006466200063d60016200058d565b916001620005d5565b6200065260016200058d565b6200066a6200066060405190565b92839283620005f1565b0390a1565b6200069d620006966200068360006200058d565b62000690846000620005d5565b620005ca565b91620005ca565b907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0620006c960405190565b600090a356fe6080604052600436101561001257600080fd5b60003560e01c806306fdde031461019257806307da68f51461018d5780630a2e98e4146101885780632e01d6d0146101835780633ccfd60b1461017e57806340e58ee514610179578063454a2ab314610174578063481c6a751461016f578063599119b21461016a5780635cf1fb6114610165578063715018a6146101605780638da5cb5b1461015b5780639067b677146101565780639b013aee14610151578063b3714b981461014c578063b7792b2614610147578063be9a655514610142578063d1357b301461013d578063d353a1cb14610138578063d96a094a14610133578063e75722301461012e578063f247e3de14610129578063f2fde38b146101245763fba2745c036101a257610921565b6108b6565b61088b565b610870565b61085d565b610845565b610823565b610785565b61076c565b61072a565b610672565b61063c565b610621565b610609565b6105e4565b6104a6565b61038f565b61037c565b610364565b61034c565b610334565b6102ac565b61025f565b610234565b60009103126101a257565b600080fd5b60005b8381106101ba5750506000910152565b81810151838201526020016101aa565b6101eb6101f460209361021c936101df815190565b80835293849260200190565b958691016101a7565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b0190565b6020808252610231929101906101ca565b90565b346101a257610244366004610197565b61025b61024f610ac5565b60405191829182610220565b0390f35b346101a25761026f366004610197565b610277610b59565b604051005b805b036101a257565b905035906102928261027c565b565b906020828203126101a25761023191610285565b9052565b346101a25761025b6102c76102c2366004610294565b610cff565b6040519182918263ffffffff909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff811661027e565b90503590610292826102f7565b906020828203126101a25761023191610313565b346101a257610277610347366004610320565b610dda565b346101a25761035c366004610197565b610277611062565b346101a257610277610377366004610294565b6113ec565b61027761038a366004610294565b611c2b565b346101a25761039f366004610197565b61025b6103aa611c34565b6040519182918273ffffffffffffffffffffffffffffffffffffffff909116815260200190565b906103f16103ea6103e0845190565b8084529260200190565b9260200190565b9060005b8181106104025750505090565b90919261043561042e600192865173ffffffffffffffffffffffffffffffffffffffff16815260200190565b9460200190565b9291016103f5565b9061044c6103ea6103e0845190565b9060005b81811061045d5750505090565b90919261047961042e600192865163ffffffff16815260200190565b929101610450565b6040808252610231939192610498918401906103d1565b91602081840391015261043d565b346101a2576104be6104b9366004610294565b611fc5565b9061025b6104cb60405190565b92839283610481565b63ffffffff811661027e565b90503590610292826104d4565b6fffffffffffffffffffffffffffffffff811661027e565b90503590610292826104ed565b67ffffffffffffffff811661027e565b9050359061029282610512565b908160409103126101a25790565b90610140828203126101a2576105538183610285565b926105618260208501610313565b9261056f8360408301610285565b9261057d81606084016104e0565b9261058b8260808501610505565b926105998360a08301610505565b926105a78160c08401610505565b926105b58260e08501610522565b926105c48361010083016104e0565b9261012082013567ffffffffffffffff81116101a257610231920161052f565b346101a2576102776105f736600461053d565b9897909796919695929594939461283f565b346101a257610619366004610197565b61027761286e565b346101a257610631366004610197565b61025b6103aa612876565b346101a25761025b610657610652366004610294565b6128bd565b6040519182918267ffffffffffffffff909116815260200190565b346101a25761025b61068d610688366004610294565b6129a5565b604051918291826fffffffffffffffffffffffffffffffff909116815260200190565b9060e0828203126101a2576106c58183610285565b926106d38260208501610313565b926106e18360408301610285565b926106ef8160608401610505565b926106fd8260808501610522565b9261070b8360a083016104e0565b9260c082013567ffffffffffffffff81116101a257610231920161052f565b346101a25761027761073d3660046106b0565b95949094939193612bcf565b91906040838203126101a2576102319060206107658286610313565b9401610285565b346101a25761027761077f366004610749565b90612cae565b346101a257610795366004610197565b610277612d12565b9091610120828403126101a2576107b48383610285565b926107c28160208501610313565b926107d08260408301610285565b926107de83606084016104e0565b926107ec8160808501610505565b926107fa8260a08301610505565b9261023161080b8460c08501610505565b9361010061081c8260e08701610522565b94016104e0565b346101a25761027761083636600461079d565b97969096959195949294612e29565b346101a257610277610858366004610294565b613083565b61027761086b366004610294565b6131f5565b346101a25761025b61068d610886366004610294565b61323b565b346101a25761089b366004610197565b61025b6108a661325d565b6040519182918290815260200190565b346101a2576102776108c9366004610320565b613311565b909160c0828403126101a2576108e48383610285565b926108f28160208501610313565b926109008260408301610285565b926102316109118460608501610505565b9360a061081c8260808701610522565b346101a2576102776109343660046108ce565b949390939291926133f3565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b906001600283049216801561098f575b602083101461098a57565b610940565b91607f169161097f565b805460009392916109b66109ac8361096f565b8085529360200190565b9160018116908115610a0857506001146109cf57505050565b6109e29192939450600052602060002090565b916000925b8184106109f45750500190565b8054848401526020909301926001016109e7565b92949550505060ff1916825215156020020190565b9061023191610999565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810190811067ffffffffffffffff821117610a9657604052565b610a27565b90610292610ab592610aac60405190565b93848092610a1d565b0383610a56565b61023190610a9b565b6102316004610abc565b610ad7613401565b610292610b09565b9060ff905b9181191691161790565b90610afe610231610b0592151590565b8254610adf565b9055565b60055460ff16610b1557565b610b2160006005610aee565b7f3900116b374aaf935bef5bc654229cd63e3b48b6da45f8eacebce0d9eebb80d6610b4b60405190565b42815280602081015b0390a1565b610292610acf565b6102316102316102319290565b90610b7890610b61565b600052602052604060002090565b6102319081565b6102319054610b86565b15610b9e57565b60405162461bcd60e51b815260206004820152601560248201527f4c697374696e67206973206e6f742065786973747300000000000000000000006044820152606490fd5b0390fd5b6102319060801c5b67ffffffffffffffff1690565b6102319054610be7565b6102316102316102319267ffffffffffffffff1690565b15610c2457565b60405162461bcd60e51b815260206004820152601460248201527f4c697374696e672074696d65206973206f7665720000000000000000000000006044820152606490fd5b9061023191610c9e610c876001610c81856003610b6e565b01610b8d565b610c98610c946000610b61565b9190565b11610b97565b610cc7610cb76004610cb1856003610b6e565b01610bfc565b610cc14291610c06565b11610c1d565b610ce7565b6102319060c01c5b63ffffffff1690565b6102319054610ccc565b610cf961023192600892506003610b6e565b01610cdd565b610231906000610c69565b61029290610d16613401565b610da3565b6102de6102316102319290565b61023190610d1b565b15610d3857565b60405162461bcd60e51b815260206004820152602160248201527f4d616e616765722063616e206e6f742062652061206e756c6c2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608490fd5b61029290610dd5610db76102de6000610d28565b73ffffffffffffffffffffffffffffffffffffffff83161415610d31565b613473565b61029290610d0a565b610deb6134f5565b610df3610fbc565b61029261354e565b6102de6102316102319273ffffffffffffffffffffffffffffffffffffffff1690565b61023190610dfb565b61023190610e1e565b90610b7890610e27565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90610ae4565b90610e72610231610b0592610b61565b8254610e3a565b15610e8057565b60405162461bcd60e51b815260206004820152602260248201527f54686520636f6e74726163742062616c616e6365206973206e6f7420656e617560448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608490fd5b90610292610ef860405190565b9283610a56565b67ffffffffffffffff8111610a9657602090601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b90610f4c610f4783610eff565b610eeb565b918252565b3d15610f6b57610f603d610f3a565b903d6000602084013e565b606090565b15610f7757565b60405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e642045746865720000000000000000000000006044820152606490fd5b6007610fd0610fcb3383610e30565b610b8d565b610fdd610c946000610b61565b11610fe55750565b60008061029292611016610ffc610fcb3384610e30565b9161101161100985610b61565b913390610e30565b610e62565b61103261102961102530610e27565b3190565b825b1115610e79565b61104361103e33610e27565b610e27565b9061104d60405190565b90818003925af161105c610f51565b50610f70565b610292610de3565b610df3906110766134f5565b6110c7565b1561108257565b60405162461bcd60e51b815260206004820152601760248201527f436f6e74726163742069732073746f70706564206e6f770000000000000000006044820152606490fd5b610292906110df6110da60055460ff1690565b61107b565b610292906110f6610c876001610c81846003610b6e565b611109610cb76004610cb1846003610b6e565b61115a565b1561111557565b60405162461bcd60e51b815260206004820152601660248201527f4c697374696e6720646f6573206e6f74206578697374000000000000000000006044820152606490fd5b610292906111846111716001610c81846003610b6e565b61117e610c946000610b61565b1161110e565b611224565b6102319060081c6102de565b6102319054611189565b610231906102de565b610231905461119f565b156111b957565b60405162461bcd60e51b815260206004820152602960248201527f4d6574686f642063616e2063616c6c206f6e6c79206f776e65722f6d616e616760448201527f65722f73656c6c657200000000000000000000000000000000000000000000006064820152608490fd5b61029290611230612876565b61124f335b9173ffffffffffffffffffffffffffffffffffffffff1690565b1480156112c3575b801561129d575b8015611273575b61126e906111b2565b61135c565b5061126e61128c60036112868482610b6e565b016111a8565b61129533611235565b149050611265565b506112b460026112ae836003610b6e565b01611195565b6112bd33611235565b1461125e565b506112cc611c34565b6112d533611235565b14611257565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003111561131457565b6112db565b906102928261130a565b6113306102316102319290565b6fffffffffffffffffffffffffffffffff1690565b9081526040810192916102929160200152565b0152565b610b547fafd0a85a3f09cebbc7d9fcde08e8a7d0ebb0aa7d768a030915c3816a053d3c7a916113996002611391836003610b6e565b015460ff1690565b6113ac6113a66002611319565b91611319565b146113c9575b6113bb816137b6565b604051918291429083611345565b6113e76113d66000610d28565b6113e06000611323565b908361356d565b6113b2565b6102929061106a565b610df3906114016134f5565b610292906114146110da60055460ff1690565b6102929061142b610c876001610c81846003610b6e565b61143e610cb76004610cb1846003610b6e565b61148f565b1561144a57565b60405162461bcd60e51b815260206004820152601f60248201527f4c697374696e67206973206e6f74207468652061756374696f6e2074797065006044820152606490fd5b610292906114b96114a66002611391846003610b6e565b6114b36113a66002611319565b14611443565b611800565b156114c557565b60405162461bcd60e51b815260206004820152602360248201527f73656e646572206d757374206e6f7420626520616e20656d707479206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608490fd5b1561153757565b60405162461bcd60e51b815260206004820152601b60248201527f73656e646572206d757374206e6f7420626520612073656c6c657200000000006044820152606490fd5b1561158357565b60405162461bcd60e51b815260206004820152602d60248201527f41756374696f6e206163636570747320626964206f6e6c792066726f6d20776860448201527f6974656c697374206275796572000000000000000000000000000000000000006064820152608490fd5b61023190611330565b61023190546115ee565b610231610231610231926fffffffffffffffffffffffffffffffff1690565b1561162757565b60405162461bcd60e51b815260206004820152601060248201527f42696420696e73756666696369656e74000000000000000000000000000000006044820152606490fd5b1561167357565b60405162461bcd60e51b815260206004820152602960248201527f54686520626574206d7573742062652067726561746572207468616e2074686560448201527f206c6173742062657400000000000000000000000000000000000000000000006064820152608490fd5b6113306102316102319263ffffffff1690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61174d906fffffffffffffffffffffffffffffffff165b916fffffffffffffffffffffffffffffffff1690565b02906fffffffffffffffffffffffffffffffff821691820361176b57565b6116f1565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6117ba906fffffffffffffffffffffffffffffffff16611737565b9081156117c5570490565b611770565b6117e5906fffffffffffffffffffffffffffffffff16611737565b01906fffffffffffffffffffffffffffffffff821161176b57565b6102929080600061181081610d28565b9061183473ffffffffffffffffffffffffffffffffffffffff83165b3314156114be565b60039161185361184b6102de856112868882610b6e565b331415611530565b61188261123561186860056112868888610b6e565b9273ffffffffffffffffffffffffffffffffffffffff1690565b036119de575b61189d60046118978585610b6e565b016115f7565b6118a961173783611323565b11806119b8575b155b6118bf575b505050611b19565b6118ce60076118978585610b6e565b6118da61173783611323565b111561196d57506119008161190c61190561190060076118976119659861195d98610b6e565b611601565b341161166c565b61195761194661192f60076118978961192983611897838a610b6e565b96610b6e565b61194061193b89613900565b6116de565b90611720565b611951612710611323565b9061179f565b906117ca565b341015611620565b8038806118b7565b61197c60066118978585610b6e565b61198861173783611323565b11156119a9575061190060066118976119a49461195d94610b6e565b611965565b6119a4925061195d9150610b61565b506118b26119cb60046118978686610b6e565b6119d6345b91611601565b1490506118b0565b6119ff6119f060056112868686610b6e565b6119f933611235565b1461157c565b611888565b906fffffffffffffffffffffffffffffffff90610ae4565b611330610231610231926fffffffffffffffffffffffffffffffff1690565b90611a4b610231610b0592611a1c565b8254611a04565b9073ffffffffffffffffffffffffffffffffffffffff90610ae4565b90611a7e610231610b0592610e27565b8254611a52565b9194611b0061135892989795611ae360a096611aca6102929a611aad60c08a019e60008b0152565b73ffffffffffffffffffffffffffffffffffffffff166020890152565b6fffffffffffffffffffffffffffffffff166040870152565b73ffffffffffffffffffffffffffffffffffffffff166060850152565b6fffffffffffffffffffffffffffffffff166080830152565b611b2234611323565b611b2d81338461356d565b600391611b3f60086112868386610b6e565b611b4e60076118978487610b6e565b93611b5e60046118978584610b6e565b611b6b6117376000611323565b1180611c0c575b15611b8557505061029292503390613c90565b917f8e57bb65745bc4e23d32dab78dbd78f9cb60b5d8a9e3fd5b3383e39d574262ef94611bc2610b5493956007611bbc8588610b6e565b01611a3b565b611bd9611bcf8386610b6e565b6008339101611a6e565b611bf7600761189784611bf16008611286838b610b6e565b97610b6e565b94611c0160405190565b958695429487611a85565b50611c1c60046118978584610b6e565b611c25346119d0565b14611b72565b610292906113f5565b61023160016111a8565b90611c6f9291611c57610c876001610c81866003610b6e565b611c6a610cb76004610cb1866003610b6e565b611f8d565b9091565b90611c8e611c826103e0845490565b92600052602060002090565b9060005b818110611c9f5750505090565b909192611cd9611cd2600192611cb4876111a8565b73ffffffffffffffffffffffffffffffffffffffff16815260200190565b9460010190565b929101611c92565b9061023191611c73565b90610292610ab592611cfc60405190565b93848092611ce1565b61023190611ceb565b61023190610cd4565b6102319060201c610cd4565b6102319060401c610cd4565b6102319060601c610cd4565b6102319060801c610cd4565b6102319060a01c610cd4565b6102319060e01c610cd4565b90600190611d7d611d716103e0855490565b93600052602060002090565b600092611ec8575b611d90565b50505090565b5490808310611eab575b808310611e8e575b808310611e71575b808310611e54575b808310611e37575b808310611e1a575b808310611dfd575b8210611dd7575b80611d8a565b82611df460019394611dea602094611d53565b63ffffffff169052565b01910138611dd1565b9192602081611e11600193611dea86610ccc565b01930191611dca565b9192602081611e2e600193611dea86611d47565b01930191611dc2565b9192602081611e4b600193611dea86611d3b565b01930191611dba565b9192602081611e68600193611dea86611d2f565b01930191611db2565b9192602081611e85600193611dea86611d23565b01930191611daa565b9192602081611ea2600193611dea86611d17565b01930191611da2565b9192602081611ebf600193611dea86611d0e565b01930191611d9a565b60078301821115611d85579260016020611dea611f55600894838080808080808f5497611ef881611dea8b611d0e565b01611f0681611dea8a611d17565b01611f1481611dea89611d23565b01611f2281611dea88611d2f565b01611f3081611dea87611d3b565b01611f3e81611dea86611d47565b01611f4c81611dea85610ccc565b01928391611d53565b019401920191611ec8565b9061023191611d5f565b90610292610ab592611f7b60405190565b93848092611f60565b61023190611f6a565b9291925050610231611fbf60016009611fb7600082611fad896003610b6e565b0101966003610b6e565b010193611d05565b92611f84565b611c6f90606080611c3e565b90610df3999897969594939291611fe66134f5565b906102929998979695949392916120026110da60055460ff1690565b612053565b1561200e57565b60405162461bcd60e51b815260206004820152601960248201527f4c697374696e6720697320616c726561647920657869737473000000000000006044820152606490fd5b906102929998979695949392916120866120736001610c81846003610b6e565b612080610c946001610b61565b10612007565b612152565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe136829003018212156101a2570180359067ffffffffffffffff82116101a2576020019160208202360383136101a257565b156120e757565b60405162461bcd60e51b815260206004820152603660248201527f726f796c7469657320726563697069656e747320616e6420616d6f756e74732060448201527f6e756d6265722073686f756c6420626520657175616c000000000000000000006064820152608490fd5b610292999897969594939291906121908a61218a610c9461023161217a61217f81868061208b565b905090565b94602081019061208b565b146120e0565b61278b565b610bef6102316102319263ffffffff1690565b67ffffffffffffffff8111610a965760208091020190565b909291926121d0610f47826121a8565b93818552602080860192028301928184116101a257915b8383106121f45750505050565b602080916122028486610313565b8152019201916121e7565b9080601f830112156101a257816020610231933591016121c0565b90929192612238610f47826121a8565b93818552602080860192028301928184116101a257915b83831061225c5750505050565b6020809161226a84866104e0565b81520192019161224f565b9080601f830112156101a25781602061023193359101612228565b9190916040818403126101a2576122a76040610eeb565b92813567ffffffffffffffff81116101a257816122c591840161220d565b8452602082013567ffffffffffffffff81116101a2576122e59201612275565b6020830152565b610231903690612290565b91906008610ae491029161232a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff841b90565b921b90565b9190612340610231610b0593610b61565b9083546122f7565b6102929160009161232f565b81811061235f575050565b8061236d6000600193612348565b01612354565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6123a3916020036008021c90565b8154169055565b9190918282106123b957505050565b61029292916123ce9091600052602060002090565b9182019101612354565b90680100000000000000008111610a9657816123f5610292935490565b908281556123aa565b610231916008021c6102de565b81519167ffffffffffffffff8311610a9657612436611c8260019261243086866123d8565b60200190565b92049160005b8381106124495750505050565b600190602061246f610231865173ffffffffffffffffffffffffffffffffffffffff1690565b940193818401550161243c565b906102929161240b565b818110612491575050565b8061249f6000600193612348565b01612486565b9190918282106124b457505050565b61029292600860079091010490600460086124d460078601829004611d71565b928301940602600081116124eb575b500190612486565b6124f89060018503612373565b386124e3565b90680100000000000000008111610a96578161251b610292935490565b908281556124a5565b610231916008021c610cd4565b91906008610ae491029161232a63ffffffff841b90565b610cd46102316102319263ffffffff1690565b90612564815190565b9067ffffffffffffffff8211610a9657611c826125859161243084866124fe565b600882049160005b8381106125f75750600883029003600081116125aa575b50505050565b9260009360005b8181106125c6575050500155388080806125a4565b90919460206125ed6001926125e26102318a5163ffffffff1690565b908560040290612531565b96019291016125b1565b6000805b6008811061261057508382015560010161258d565b9590602061263660019261262b610231865163ffffffff1690565b908a60040290612531565b920196016125fb565b906102929161255b565b9063ffffffff90610ae4565b90612665610231610b0592612548565b8254612649565b60026126ad60406102929461268b612685600083015190565b8661247c565b6126a2612699602083015190565b6001870161263f565b015163ffffffff1690565b9101612655565b906102929161266c565b9694929099989795939161012088019a600089016126da919052565b73ffffffffffffffffffffffffffffffffffffffff166020880152604087015273ffffffffffffffffffffffffffffffffffffffff1660608601526fffffffffffffffffffffffffffffffff1660808501526fffffffffffffffffffffffffffffffff1660a08401526fffffffffffffffffffffffffffffffff1660c083015267ffffffffffffffff1660e0820152610100016102929173ffffffffffffffffffffffffffffffffffffffff169052565b9694929098829888878987898f986127a5819e9c9a610e27565b976127b0828a614366565b6127ba828a61443c565b6127c388612195565b906127cd906122ec565b906127d8928a61463a565b976127e36000610d28565b9d6127ef988f97614b1f565b6127fa876003610b6e565b60090190612807916126b4565b6040519788973391612819988a6126be565b037f82eaa1592b298c70a19a2be50e14ca7e646f2e580d3e16b2e0f62ef75e5217fb91a1565b90610292999897969594939291611fd1565b612859613401565b6102926102926128696000610d28565b614b31565b610292612851565b61023160006111a8565b9061023191612898610c876001610c81856003610b6e565b6128ab610cb76004610cb1856003610b6e565b610cb161023192600492506003610b6e565b610231906000612880565b90610231916128e0610c876001610c81856003610b6e565b6128f3610cb76004610cb1856003610b6e565b906102319161290b6114a66002611391856003610b6e565b5060039061291e60076118978385610b6e565b61292b6117376000611323565b111561296557906119576119468361194061193b61295f600761189785612959836118976102319d8d610b6e565b99610b6e565b92613900565b61297460066118978385610b6e565b6129816117376000611323565b11156129965761189760069161023193610b6e565b50506102316377359400611323565b6102319060006128c8565b90610df39695949392916129c26134f5565b906102929695949392916129db6110da60055460ff1690565b906102929695949392916129f86120736001610c81846003610b6e565b612a7c565b610cd46102316102319290565b15612a1157565b60405162461bcd60e51b815260206004820152602760248201527f4d61782076616c756520666f72206d61726b6574706c6163652066656520353060448201527f20706563656e74000000000000000000000000000000000000000000000000006064820152608490fd5b90610292969594939291612aa2612a946113886129fd565b63ffffffff88161115612a0a565b61029296959493929190612ad2612abc61217a898061208b565b61218a610c9461023161217a60208d018d61208b565b92610b5493612b687feb5fa60a94d39730fd907875666bf42e3316b0619ea6d5bde46d3a29df7bc27398612b558699989598612b3f612b108b610e27565b93612b1b8a86614366565b612b258a8661443c565b612b37612b3184612195565b916122ec565b908a8661463a565b928787612b4c6000610d28565b9a8b9389614c98565b6009612b62846003610b6e565b016126b4565b6040805191825273ffffffffffffffffffffffffffffffffffffffff96871660208301528101969096523360608701526fffffffffffffffffffffffffffffffff16608086015267ffffffffffffffff1660a085015290911660c0830152819060e0820190565b906102929695949392916129b0565b90610df391612beb6134f5565b9061029291612bf8613401565b612c49565b15612c0457565b60405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f75676820696e636f6d650000000000000000000000000000006044820152606490fd5b6000610292928192612c5a83610b61565b82118314612c965761103e61104391612c81612c796102316006610b8d565b851115612bfd565b61103e612c9061102530610e27565b8561102b565b905061104361103e612ca86006610b8d565b92612c81565b9061029291612bde565b612cc0613401565b610292612cd6612cd260055460ff1690565b1590565b612cdc57565b612ce860016005610aee565b7f154e33f072d0ba8d1035c201ea2ffe052f55a245295906a8df19d64e1d87cd67610b4b60405190565b610292612cb8565b90610df39897969594939291612d2e6134f5565b906102929897969594939291612d496110da60055460ff1690565b906102929897969594939291612d686120736001610c81846003610b6e565b612d95565b6102316040610eeb565b612d7f612d6d565b906060825260606020830152565b610231612d77565b9382979394612e1b7f82eaa1592b298c70a19a2be50e14ca7e646f2e580d3e16b2e0f62ef75e5217fb9a85878b8b87899e9a9c612e07610b549f9b612dd990610e27565b96612de48189614366565b612dee818961443c565b612df6612d8d565b90612e008a612195565b908961463a565b50612e126000610d28565b9d8e968a614b1f565b60405198899833928a6126be565b906102929897969594939291612d1a565b610df390612e466134f5565b61029290612e596110da60055460ff1690565b61029290612e706111716001610c81846003610b6e565b61029290612e7c612876565b612e8533611235565b148015612eed575b8015612ecd575b8015612ea9575b612ea4906111b2565b612f98565b50612ea4612ebc60036112868482610b6e565b612ec533611235565b149050612e9b565b50612ede60026112ae836003610b6e565b612ee733611235565b14612e94565b50612ef6611c34565b612eff33611235565b14612e8d565b610bef6102316102319290565b61023190611319565b6102a890612f12565b6102a890610c06565b9095949261029294612f87612f9192612f6a608096612f5160a088019c6000890152565b6fffffffffffffffffffffffffffffffff166020870152565b73ffffffffffffffffffffffffffffffffffffffff166040850152565b6060830190612f1b565b0190612f24565b6003612fa960026113918484610b6e565b612fb66113a66002611319565b1480613074575b15613045578161300c612ff660086112867f67214d41d9e34ed183a0d33a33885e5c109aee24cf825bea1426538535d7070a9686610b6e565b61300560076118978587610b6e565b9083613c90565b610b546130276008611286846119296007611897838a610b6e565b600261303242612f05565b9161303c60405190565b95869586612f2d565b50610b54816113bb7f56c72aec1a556ad189a344900b28ea8fe2a9f10897a4ff8197984d3dfb1fffd0936137b6565b5061307e82614cbd565b612fbd565b61029290612e3a565b610df3906130986134f5565b610292906130ab6110da60055460ff1690565b610292906130c2610c876001610c81846003610b6e565b6130d5610cb76004610cb1846003610b6e565b613126565b156130e157565b60405162461bcd60e51b815260206004820152601a60248201527f73656e74206d6f6e657920697320696e73756666696369656e740000000000006044820152606490fd5b6102929061313a61182c6102de6000610d28565b61316b613164611900600461189785600361315f61184b6102de836112868682610b6e565b610b6e565b34146130da565b613194565b9095949261029294612f8761135892612f6a608096612f5160a088019c6000890152565b7f67214d41d9e34ed183a0d33a33885e5c109aee24cf825bea1426538535d7070a906131bf34611323565b906131cb823383613c90565b610b546131de6002611391846003610b6e565b926131e860405190565b9384934292339186613170565b6102929061308c565b9061023191613216610c876001610c81856003610b6e565b613229610cb76004610cb1856003610b6e565b61189761023192600492506003610b6e565b6102319060006131fe565b61023190613252613401565b506102316006610b8d565b6102316000613246565b61029290613273613401565b61327d6000610d28565b73ffffffffffffffffffffffffffffffffffffffff811673ffffffffffffffffffffffffffffffffffffffff8316146132ba575061029290614b31565b610be3906132c760405190565b9182917f1e4fbdf70000000000000000000000000000000000000000000000000000000083526004830173ffffffffffffffffffffffffffffffffffffffff909116815260200190565b61029290613267565b90610df3959493929161332b6134f5565b9061029295949392916133436110da60055460ff1690565b90610292959493929161335f6120736001610c81846003610b6e565b906102929594939291613376612a946113886129fd565b93829493610b54939294612b687feb5fa60a94d39730fd907875666bf42e3316b0619ea6d5bde46d3a29df7bc273986133ae88610e27565b6133b88782614366565b6133c2878261443c565b6133dd6133cd612d8d565b6133d684612195565b898461463a565b5085856133ea6000610d28565b98899387614c98565b90610292959493929161331a565b613409612876565b339061341482611235565b0361341c5750565b610be39061342960405190565b9182917f118cdaa70000000000000000000000000000000000000000000000000000000083526004830173ffffffffffffffffffffffffffffffffffffffff909116815260200190565b7f3d94f8a9e9bed6c4cb502413642e13434051041fb60783c22e66622133e1a339906134aa6134a260016111a8565b916001611a6e565b6134b460016111a8565b610b546134c060405190565b9283928373ffffffffffffffffffffffffffffffffffffffff91821681529116602082015260400190565b6102316002610b61565b6134ff6002610b8d565b6135076134eb565b90811461351957610292906002610e62565b6040517f3ee5aeb5000000000000000000000000000000000000000000000000000000008152600490fd5b6102316001610b61565b610292613559613544565b6002610e62565b9190820180921161176b57565b9060039261358060076118978587610b6e565b61358d6117376000611323565b118061367b575b61359e5750505050565b6135e26000806135b961103e61103e60086112868a8c610b6e565b6135cb61190060076118978a8c610b6e565b60405190818003925af16135dd610f51565b501590565b156136335750509061362461361561360e600861128686611929611900600761189761362a9b8b610b6e565b6007610e30565b9161361f83610b8d565b613560565b90610e62565b388080806125a4565b8261367391611bf7600761189784611bf160086112868c9a9b7f9a6f16c4798d8760db4c5e28845ee72037596fef06b1c8c61029645350a151e59d610b6e565b0390a161362a565b5061368b60086112868587610b6e565b61369b6112356102de6000610d28565b1415613594565b90610afe610231610b0592612f12565b9074ffffffffffffffffffffffffffffffffffffffff009060081b610ae4565b906136e2610231610b0592610e27565b82546136b2565b9077ffffffffffffffff000000000000000000000000000000009060801b610ae4565b610bef6102316102319267ffffffffffffffff1690565b90613733610231610b059261370c565b82546136e9565b907fffffffffffffffffffffffffffffffff000000000000000000000000000000009060801b610ae4565b90613775610231610b0592611a1c565b825461373a565b9077ffffffff00000000000000000000000000000000000000009060a01b610ae4565b906137af610231610b0592612548565b825461377c565b6102929060086138da6000926138d46137ce85610d28565b946138cf6137db87610e27565b966137f3600398846137ed888c610b6e565b01611a6e565b6138116137ff84610b61565b600161380b888c610b6e565b01610e62565b613827836002613821888c610b6e565b016136a2565b61383d816002613837888c610b6e565b016136d2565b61384c81896137ed8882610b6e565b6138c4856138b88a60066138b261386289611323565b9483613875876004611bbc858399610b6e565b6138936138818c612f05565b600461388d8585610b6e565b01613723565b6138a38960056137ed8585610b6e565b61315f8585611bbc8585610b6e565b01613765565b6007611bbc888c610b6e565b866137ed868a610b6e565b6129fd565b93610b6e565b0161379f565b6102319054611d47565b6102319060081c610cd4565b61023190546138ea565b6139166008613910836003610b6e565b016138e0565b61392d61392360006129fd565b9163ffffffff1690565b1161393d575061023160056138f6565b6008613910610231926003610b6e565b90505190610292826102f7565b9092919261396a610f47826121a8565b93818552602080860192028301928184116101a257915b83831061398e5750505050565b6020809161399c848661394d565b815201920191613981565b9080601f830112156101a25781516102319260200161395a565b90505190610292826104d4565b909291926139de610f47826121a8565b93818552602080860192028301928184116101a257915b838310613a025750505050565b60208091613a1084866139c1565b8152019201916139f5565b9080601f830112156101a2578151610231926020016139ce565b9190916040818403126101a257805167ffffffffffffffff81116101a25783613a5f9183016139a7565b92602082015167ffffffffffffffff81116101a2576102319201613a1b565b6040513d6000823e3d90fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90613ac2825190565b811015613ad3576020809102010190565b613a8a565b6102a890610e27565b9194613b1361135892989795613b0960a096611aca6102929a611aad60c08a019e60008b0152565b6060850190613ad8565b6080830152565b6102319054611d0e565b8054919291831015613ad3576008613b43600492600052602060002090565b8185040193060290565b906102319154612524565b8054821015613ad357613b72600191600052602060002090565b91020190600090565b9061023191546123fe565b613ba1906fffffffffffffffffffffffffffffffff16611737565b9003906fffffffffffffffffffffffffffffffff821161176b57565b15613bc457565b60405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e64206d6f6e65790000000000000000000000006044820152606490fd5b61135861029294613c32606094989795613c2b608086019a6000870190613ad8565b6020850152565b6fffffffffffffffffffffffffffffffff166040830152565b906020828203126101a2576102319161394d565b73ffffffffffffffffffffffffffffffffffffffff9182168152911660208201526060810192916102929160400152565b90916003613cbb613ca660006112868685610b6e565b613cb56001610c818786610b6e565b9061443c565b600091613cc783611323565b6fffffffffffffffffffffffffffffffff821611613e53575b50613cf261103e836112868685610b6e565b613d586020613d0861103e866112868988610b6e565b613d176001610c818988610b6e565b90613d2160405190565b938492839182917f6352211e000000000000000000000000000000000000000000000000000000005b835260048301526024820190565b03915afa928315613e10578591600094613e15575b50610c81613d7d92600192610b6e565b90803b156101a257613dc895848094613d9560405190565b988995869485937f23b872dd00000000000000000000000000000000000000000000000000000000855260048501613c5f565b03925af1928315613e105761029293613de3575b50506137b6565b81613e0292903d10613e09575b613dfa8183610a56565b810190610197565b3880613ddc565b503d613df0565b613a7e565b6001919450613d7d92613e42610c819260203d602011613e4c575b613e3a8183610a56565b810190613c4b565b9592509250613d6d565b503d613e30565b9391613e6d613e676008610cf98786610b6e565b86614d70565b94613ed3613e7a83611323565b9783613e8d61103e826112868b8a610b6e565b613e9c6001610c818b8a610b6e565b90613ea660405190565b948592839182917fbb3bafd600000000000000000000000000000000000000000000000000000000613d4a565b03915afa958615613e10576000809390976142f2575b50613ef385610b61565b995b613f00610231895190565b8b101561403357613ffb87614002928d8b8a8e613f33613f2d613f23868e613ab9565b5163ffffffff1690565b8d614d70565b9583613f6361103e61103e613f49898c99613ab9565b5173ffffffffffffffffffffffffffffffffffffffff1690565b8480613f6e88611601565b92613f7860405190565b60009185905af1613f87610f51565b5015614008575090613fde6001610c8185613fd8613fcd613f497f4594c5e901da3af03d08bb543847ba7b0deb24030c99310ca6d0fd515096e2719c613ff39a99613ab9565b986112868388610b6e565b94610b6e565b90613fe860405190565b958695429487613ae1565b0390a16117ca565b9a60010190565b99613ef5565b9450905061362492506136159150614028613f4961402e96600793613ab9565b90610e30565b6117ca565b9392509793955097506140546002600961404d8988610b6e565b0101613b1a565b614060613923876129fd565b116141b8575b7f0a977d6be533b9e31884cdd0ac1002d7befb937a3502bd9d3ea844607664fb9f916140958461409a93613b86565b613b86565b6140d485806140b361103e61103e896112868d82610b6e565b6140bc85611601565b60405190818003925af16140ce610f51565b50613bbd565b6140e2846112868882610b6e565b906141136140f4876112868a89610b6e565b926141046001610c818b8a610b6e565b60405194859442938c87613ae1565b0390a161413661412f61412583611601565b61361f6006610b8d565b6006610e62565b61413f83611323565b6fffffffffffffffffffffffffffffffff82161115613ce0577f1fdd5457a0b0945b146673ad48d1f6890dd1028ded74669ed11b7d9a7b00ebec90614188846112868786610b6e565b6141af61419a6001610c818988610b6e565b916141a460405190565b938493429285613c09565b0390a138613ce0565b96909391956141c683610b61565b945b6141e16102318560096141db8b8a610b6e565b01015490565b8610156142e6576142b86142bf9161421a61421461420e8a600160096142078f8e610b6e565b0101613b24565b90613b4d565b8c614d70565b908882888c8b61424761103e61103e6142418887600961423a8989610b6e565b0101613b58565b90613b7b565b838061425287611601565b9261425c60405190565b60009185905af161426b610f51565b50156142c557509081613fde6001610c8184613fd8613fcd6142417f8a0a4803cfcc15563dff21db8c51481c97589ab9754803486624f3d7c8bd04079c8b600961423a87613ff39e610b6e565b9560010190565b946141c8565b935061402861424161402e9661362495600961423a61361597600797610b6e565b91979096929450614066565b90966143119293503d8091833e6143098183610a56565b810190613a35565b91909538613ee9565b1561432157565b60405162461bcd60e51b815260206004820152601360248201527f546f6b656e206973206e6f7420657869737473000000000000000000000000006044820152606490fd5b61437d91614375602092610e27565b604051613d21565b03915afa8015613e1057610292916000916143ab575b506143a46112356102de6000610d28565b141561431a565b6143c4915060203d602011613e4c57613e3a8183610a56565b38614393565b156143d157565b60405162461bcd60e51b815260206004820152602d60248201527f43757272656e7420636f6e7472616374206e6f7420617070726f76656420746f60448201527f206d616e61676520746f6b656e000000000000000000000000000000000000006064820152608490fd5b61447b9161444b602092610e27565b604051938492839182917f081812fc00000000000000000000000000000000000000000000000000000000613d4a565b03915afa8015613e1057610292916000916144a7575b506144a16112356102de30610e27565b146143ca565b6144c0915060203d602011613e4c57613e3a8183610a56565b38614491565b6102316060610eeb565b6144d86144c6565b606080825260208201526000604082015290565b6102316144d0565b6145039063ffffffff16613923565b019063ffffffff821161176b57565b61452f9067ffffffffffffffff165b9167ffffffffffffffff1690565b019067ffffffffffffffff821161176b57565b1561454957565b60405162461bcd60e51b815260206004820152602a60248201527f5365636f6e6461727920726f79616c746965732073686f756c64206e6f74206560448201527f78636565642031303025000000000000000000000000000000000000000000006064820152608490fd5b906020828203126101a257610231916139c1565b156145cf57565b60405162461bcd60e51b815260206004820152602160248201527f546f74616c20666565732073686f756c64206e6f74206578636565642031303060448201527f25000000000000000000000000000000000000000000000000000000000000006064820152608490fd5b93909291936146476144ec565b5082515194614663602085019661218a610c946102318a515190565b6000936146706000610b61565b945b61467e61023189515190565b8610156146a6576142b86146a09161469a613f23898c51613ab9565b906144f4565b94614672565b9396956147129395506020906146e26146c7856146c289612195565b614512565b9761103e612710996146db6145218c612f05565b1115614542565b604051958692839182917fac14ce7600000000000000000000000000000000000000000000000000000000613d4a565b03915afa928315613e10576102319561475d6145216147576147486000976146c26147789a614764988b91614785575b50612195565b6147518a612195565b90614512565b92612f05565b11156145c8565b01519351613c2b6147736144c6565b958652565b63ffffffff166040830152565b6147a7915060203d6020116147ad575b61479f8183610a56565b8101906145b4565b38614742565b503d614795565b906102929998979695949392916147d46120736001610c81846003610b6e565b614921565b156147e057565b60405162461bcd60e51b815260206004820152603960248201527f72657365727665207072696365206d75737420657175616c207a65726f206f7260448201527f2067726561746572207468616e207374617274207072696365000000000000006064820152608490fd5b1561485257565b60405162461bcd60e51b815260206004820152604f60248201527f627579206e6f77207072696365206d75737420657175616c207a65726f206f7260448201527f2067726561746572206f7220657175616c207468616e20737461727420616e6460648201527f2072657365727665207072696365730000000000000000000000000000000000608482015260a490fd5b907bffffffff0000000000000000000000000000000000000000000000009060c01b610ae4565b9061491a610231610b0592612548565b82546148e3565b946020614a0994939a99979892959a61493a6000611323565b6fffffffffffffffffffffffffffffffff8416148015614b00575b61495e906147d9565b6149686000611323565b6fffffffffffffffffffffffffffffffff8b16148015614ab2575b61498c9061484b565b6149d96003976149a28160006137ed8d8d610b6e565b6149b283600161380b8d8d610b6e565b6149c26002806138218d8d610b6e565b61103e6149cf8b8b610b6e565b60023391016136d2565b604051968792839182917f6352211e00000000000000000000000000000000000000000000000000000000613d4a565b03915afa8015613e10576102929a614a6a614a8d99614a5e614a8296614a5260089e6004611bbc8f8f61315f9f614a769c61315f91600091614a93575b50826137ed8582610b6e565b600461388d8d8d610b6e565b60056137ed8b8b610b6e565b6006611bbc8989610b6e565b60066138b28787610b6e565b856138da8585610b6e565b0161490a565b614aac915060203d602011613e4c57613e3a8183610a56565b38614a46565b506fffffffffffffffffffffffffffffffff8c166fffffffffffffffffffffffffffffffff8b161015801561498357506fffffffffffffffffffffffffffffffff838116908b161015614983565b506fffffffffffffffffffffffffffffffff8c81169084161015614955565b906102929998979695949392916147b4565b614b52614b4c614b4160006111a8565b61103e846000611a6e565b91610e27565b907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0614b7d60405190565b600090a3565b90610292969594939291614ba06120736001610c81846003610b6e565b91926020614c1e979694614bee600394614bc08160006137ed8a8a610b6e565b614bd083600161380b8a8a610b6e565b614be1600160026138218a8a610b6e565b61103e6149cf8888610b6e565b604051998a92839182917f6352211e00000000000000000000000000000000000000000000000000000000613d4a565b03915afa938415613e1057614c6d600896614c6161315f94614c55614a8d996102929d600091614c79575b50886137ed8b82610b6e565b6004611bbc8989610b6e565b600461388d8787610b6e565b60056137ed8585610b6e565b614c92915060203d602011613e4c57613e3a8183610a56565b38614c49565b90610292969594939291614b83565b6102319060801c611330565b6102319054614ca7565b6003614cce60086112868484610b6e565b91600092614ce16112356102de86610d28565b141580614d4e575b614cf257505090565b614d076006614d018385610b6e565b01614cb3565b614d1361173785611323565b1115614d46576117376113306007611897846119296006614d01614d37988a610b6e565b1115614d405790565b50600190565b505050600190565b50614d5e60076118978385610b6e565b614d6a61173785611323565b11614ce9565b6119469061194061023193614d83600090565b506116de56fea26469706673582212200ee5977f8cf7bb448e55e316bd2fc4ed9ff4ec93a8de3f10529d0b3fc936565864736f6c634300081600330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000d355aa335905f6643d85b02641b6b11f3562541f000000000000000000000000000000000000000000000000000000000000000f4d61726b65744d616e6167657256310000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436101561001257600080fd5b60003560e01c806306fdde031461019257806307da68f51461018d5780630a2e98e4146101885780632e01d6d0146101835780633ccfd60b1461017e57806340e58ee514610179578063454a2ab314610174578063481c6a751461016f578063599119b21461016a5780635cf1fb6114610165578063715018a6146101605780638da5cb5b1461015b5780639067b677146101565780639b013aee14610151578063b3714b981461014c578063b7792b2614610147578063be9a655514610142578063d1357b301461013d578063d353a1cb14610138578063d96a094a14610133578063e75722301461012e578063f247e3de14610129578063f2fde38b146101245763fba2745c036101a257610921565b6108b6565b61088b565b610870565b61085d565b610845565b610823565b610785565b61076c565b61072a565b610672565b61063c565b610621565b610609565b6105e4565b6104a6565b61038f565b61037c565b610364565b61034c565b610334565b6102ac565b61025f565b610234565b60009103126101a257565b600080fd5b60005b8381106101ba5750506000910152565b81810151838201526020016101aa565b6101eb6101f460209361021c936101df815190565b80835293849260200190565b958691016101a7565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b0190565b6020808252610231929101906101ca565b90565b346101a257610244366004610197565b61025b61024f610ac5565b60405191829182610220565b0390f35b346101a25761026f366004610197565b610277610b59565b604051005b805b036101a257565b905035906102928261027c565b565b906020828203126101a25761023191610285565b9052565b346101a25761025b6102c76102c2366004610294565b610cff565b6040519182918263ffffffff909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff811661027e565b90503590610292826102f7565b906020828203126101a25761023191610313565b346101a257610277610347366004610320565b610dda565b346101a25761035c366004610197565b610277611062565b346101a257610277610377366004610294565b6113ec565b61027761038a366004610294565b611c2b565b346101a25761039f366004610197565b61025b6103aa611c34565b6040519182918273ffffffffffffffffffffffffffffffffffffffff909116815260200190565b906103f16103ea6103e0845190565b8084529260200190565b9260200190565b9060005b8181106104025750505090565b90919261043561042e600192865173ffffffffffffffffffffffffffffffffffffffff16815260200190565b9460200190565b9291016103f5565b9061044c6103ea6103e0845190565b9060005b81811061045d5750505090565b90919261047961042e600192865163ffffffff16815260200190565b929101610450565b6040808252610231939192610498918401906103d1565b91602081840391015261043d565b346101a2576104be6104b9366004610294565b611fc5565b9061025b6104cb60405190565b92839283610481565b63ffffffff811661027e565b90503590610292826104d4565b6fffffffffffffffffffffffffffffffff811661027e565b90503590610292826104ed565b67ffffffffffffffff811661027e565b9050359061029282610512565b908160409103126101a25790565b90610140828203126101a2576105538183610285565b926105618260208501610313565b9261056f8360408301610285565b9261057d81606084016104e0565b9261058b8260808501610505565b926105998360a08301610505565b926105a78160c08401610505565b926105b58260e08501610522565b926105c48361010083016104e0565b9261012082013567ffffffffffffffff81116101a257610231920161052f565b346101a2576102776105f736600461053d565b9897909796919695929594939461283f565b346101a257610619366004610197565b61027761286e565b346101a257610631366004610197565b61025b6103aa612876565b346101a25761025b610657610652366004610294565b6128bd565b6040519182918267ffffffffffffffff909116815260200190565b346101a25761025b61068d610688366004610294565b6129a5565b604051918291826fffffffffffffffffffffffffffffffff909116815260200190565b9060e0828203126101a2576106c58183610285565b926106d38260208501610313565b926106e18360408301610285565b926106ef8160608401610505565b926106fd8260808501610522565b9261070b8360a083016104e0565b9260c082013567ffffffffffffffff81116101a257610231920161052f565b346101a25761027761073d3660046106b0565b95949094939193612bcf565b91906040838203126101a2576102319060206107658286610313565b9401610285565b346101a25761027761077f366004610749565b90612cae565b346101a257610795366004610197565b610277612d12565b9091610120828403126101a2576107b48383610285565b926107c28160208501610313565b926107d08260408301610285565b926107de83606084016104e0565b926107ec8160808501610505565b926107fa8260a08301610505565b9261023161080b8460c08501610505565b9361010061081c8260e08701610522565b94016104e0565b346101a25761027761083636600461079d565b97969096959195949294612e29565b346101a257610277610858366004610294565b613083565b61027761086b366004610294565b6131f5565b346101a25761025b61068d610886366004610294565b61323b565b346101a25761089b366004610197565b61025b6108a661325d565b6040519182918290815260200190565b346101a2576102776108c9366004610320565b613311565b909160c0828403126101a2576108e48383610285565b926108f28160208501610313565b926109008260408301610285565b926102316109118460608501610505565b9360a061081c8260808701610522565b346101a2576102776109343660046108ce565b949390939291926133f3565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b906001600283049216801561098f575b602083101461098a57565b610940565b91607f169161097f565b805460009392916109b66109ac8361096f565b8085529360200190565b9160018116908115610a0857506001146109cf57505050565b6109e29192939450600052602060002090565b916000925b8184106109f45750500190565b8054848401526020909301926001016109e7565b92949550505060ff1916825215156020020190565b9061023191610999565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810190811067ffffffffffffffff821117610a9657604052565b610a27565b90610292610ab592610aac60405190565b93848092610a1d565b0383610a56565b61023190610a9b565b6102316004610abc565b610ad7613401565b610292610b09565b9060ff905b9181191691161790565b90610afe610231610b0592151590565b8254610adf565b9055565b60055460ff16610b1557565b610b2160006005610aee565b7f3900116b374aaf935bef5bc654229cd63e3b48b6da45f8eacebce0d9eebb80d6610b4b60405190565b42815280602081015b0390a1565b610292610acf565b6102316102316102319290565b90610b7890610b61565b600052602052604060002090565b6102319081565b6102319054610b86565b15610b9e57565b60405162461bcd60e51b815260206004820152601560248201527f4c697374696e67206973206e6f742065786973747300000000000000000000006044820152606490fd5b0390fd5b6102319060801c5b67ffffffffffffffff1690565b6102319054610be7565b6102316102316102319267ffffffffffffffff1690565b15610c2457565b60405162461bcd60e51b815260206004820152601460248201527f4c697374696e672074696d65206973206f7665720000000000000000000000006044820152606490fd5b9061023191610c9e610c876001610c81856003610b6e565b01610b8d565b610c98610c946000610b61565b9190565b11610b97565b610cc7610cb76004610cb1856003610b6e565b01610bfc565b610cc14291610c06565b11610c1d565b610ce7565b6102319060c01c5b63ffffffff1690565b6102319054610ccc565b610cf961023192600892506003610b6e565b01610cdd565b610231906000610c69565b61029290610d16613401565b610da3565b6102de6102316102319290565b61023190610d1b565b15610d3857565b60405162461bcd60e51b815260206004820152602160248201527f4d616e616765722063616e206e6f742062652061206e756c6c2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608490fd5b61029290610dd5610db76102de6000610d28565b73ffffffffffffffffffffffffffffffffffffffff83161415610d31565b613473565b61029290610d0a565b610deb6134f5565b610df3610fbc565b61029261354e565b6102de6102316102319273ffffffffffffffffffffffffffffffffffffffff1690565b61023190610dfb565b61023190610e1e565b90610b7890610e27565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90610ae4565b90610e72610231610b0592610b61565b8254610e3a565b15610e8057565b60405162461bcd60e51b815260206004820152602260248201527f54686520636f6e74726163742062616c616e6365206973206e6f7420656e617560448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608490fd5b90610292610ef860405190565b9283610a56565b67ffffffffffffffff8111610a9657602090601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b90610f4c610f4783610eff565b610eeb565b918252565b3d15610f6b57610f603d610f3a565b903d6000602084013e565b606090565b15610f7757565b60405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e642045746865720000000000000000000000006044820152606490fd5b6007610fd0610fcb3383610e30565b610b8d565b610fdd610c946000610b61565b11610fe55750565b60008061029292611016610ffc610fcb3384610e30565b9161101161100985610b61565b913390610e30565b610e62565b61103261102961102530610e27565b3190565b825b1115610e79565b61104361103e33610e27565b610e27565b9061104d60405190565b90818003925af161105c610f51565b50610f70565b610292610de3565b610df3906110766134f5565b6110c7565b1561108257565b60405162461bcd60e51b815260206004820152601760248201527f436f6e74726163742069732073746f70706564206e6f770000000000000000006044820152606490fd5b610292906110df6110da60055460ff1690565b61107b565b610292906110f6610c876001610c81846003610b6e565b611109610cb76004610cb1846003610b6e565b61115a565b1561111557565b60405162461bcd60e51b815260206004820152601660248201527f4c697374696e6720646f6573206e6f74206578697374000000000000000000006044820152606490fd5b610292906111846111716001610c81846003610b6e565b61117e610c946000610b61565b1161110e565b611224565b6102319060081c6102de565b6102319054611189565b610231906102de565b610231905461119f565b156111b957565b60405162461bcd60e51b815260206004820152602960248201527f4d6574686f642063616e2063616c6c206f6e6c79206f776e65722f6d616e616760448201527f65722f73656c6c657200000000000000000000000000000000000000000000006064820152608490fd5b61029290611230612876565b61124f335b9173ffffffffffffffffffffffffffffffffffffffff1690565b1480156112c3575b801561129d575b8015611273575b61126e906111b2565b61135c565b5061126e61128c60036112868482610b6e565b016111a8565b61129533611235565b149050611265565b506112b460026112ae836003610b6e565b01611195565b6112bd33611235565b1461125e565b506112cc611c34565b6112d533611235565b14611257565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003111561131457565b6112db565b906102928261130a565b6113306102316102319290565b6fffffffffffffffffffffffffffffffff1690565b9081526040810192916102929160200152565b0152565b610b547fafd0a85a3f09cebbc7d9fcde08e8a7d0ebb0aa7d768a030915c3816a053d3c7a916113996002611391836003610b6e565b015460ff1690565b6113ac6113a66002611319565b91611319565b146113c9575b6113bb816137b6565b604051918291429083611345565b6113e76113d66000610d28565b6113e06000611323565b908361356d565b6113b2565b6102929061106a565b610df3906114016134f5565b610292906114146110da60055460ff1690565b6102929061142b610c876001610c81846003610b6e565b61143e610cb76004610cb1846003610b6e565b61148f565b1561144a57565b60405162461bcd60e51b815260206004820152601f60248201527f4c697374696e67206973206e6f74207468652061756374696f6e2074797065006044820152606490fd5b610292906114b96114a66002611391846003610b6e565b6114b36113a66002611319565b14611443565b611800565b156114c557565b60405162461bcd60e51b815260206004820152602360248201527f73656e646572206d757374206e6f7420626520616e20656d707479206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608490fd5b1561153757565b60405162461bcd60e51b815260206004820152601b60248201527f73656e646572206d757374206e6f7420626520612073656c6c657200000000006044820152606490fd5b1561158357565b60405162461bcd60e51b815260206004820152602d60248201527f41756374696f6e206163636570747320626964206f6e6c792066726f6d20776860448201527f6974656c697374206275796572000000000000000000000000000000000000006064820152608490fd5b61023190611330565b61023190546115ee565b610231610231610231926fffffffffffffffffffffffffffffffff1690565b1561162757565b60405162461bcd60e51b815260206004820152601060248201527f42696420696e73756666696369656e74000000000000000000000000000000006044820152606490fd5b1561167357565b60405162461bcd60e51b815260206004820152602960248201527f54686520626574206d7573742062652067726561746572207468616e2074686560448201527f206c6173742062657400000000000000000000000000000000000000000000006064820152608490fd5b6113306102316102319263ffffffff1690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61174d906fffffffffffffffffffffffffffffffff165b916fffffffffffffffffffffffffffffffff1690565b02906fffffffffffffffffffffffffffffffff821691820361176b57565b6116f1565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6117ba906fffffffffffffffffffffffffffffffff16611737565b9081156117c5570490565b611770565b6117e5906fffffffffffffffffffffffffffffffff16611737565b01906fffffffffffffffffffffffffffffffff821161176b57565b6102929080600061181081610d28565b9061183473ffffffffffffffffffffffffffffffffffffffff83165b3314156114be565b60039161185361184b6102de856112868882610b6e565b331415611530565b61188261123561186860056112868888610b6e565b9273ffffffffffffffffffffffffffffffffffffffff1690565b036119de575b61189d60046118978585610b6e565b016115f7565b6118a961173783611323565b11806119b8575b155b6118bf575b505050611b19565b6118ce60076118978585610b6e565b6118da61173783611323565b111561196d57506119008161190c61190561190060076118976119659861195d98610b6e565b611601565b341161166c565b61195761194661192f60076118978961192983611897838a610b6e565b96610b6e565b61194061193b89613900565b6116de565b90611720565b611951612710611323565b9061179f565b906117ca565b341015611620565b8038806118b7565b61197c60066118978585610b6e565b61198861173783611323565b11156119a9575061190060066118976119a49461195d94610b6e565b611965565b6119a4925061195d9150610b61565b506118b26119cb60046118978686610b6e565b6119d6345b91611601565b1490506118b0565b6119ff6119f060056112868686610b6e565b6119f933611235565b1461157c565b611888565b906fffffffffffffffffffffffffffffffff90610ae4565b611330610231610231926fffffffffffffffffffffffffffffffff1690565b90611a4b610231610b0592611a1c565b8254611a04565b9073ffffffffffffffffffffffffffffffffffffffff90610ae4565b90611a7e610231610b0592610e27565b8254611a52565b9194611b0061135892989795611ae360a096611aca6102929a611aad60c08a019e60008b0152565b73ffffffffffffffffffffffffffffffffffffffff166020890152565b6fffffffffffffffffffffffffffffffff166040870152565b73ffffffffffffffffffffffffffffffffffffffff166060850152565b6fffffffffffffffffffffffffffffffff166080830152565b611b2234611323565b611b2d81338461356d565b600391611b3f60086112868386610b6e565b611b4e60076118978487610b6e565b93611b5e60046118978584610b6e565b611b6b6117376000611323565b1180611c0c575b15611b8557505061029292503390613c90565b917f8e57bb65745bc4e23d32dab78dbd78f9cb60b5d8a9e3fd5b3383e39d574262ef94611bc2610b5493956007611bbc8588610b6e565b01611a3b565b611bd9611bcf8386610b6e565b6008339101611a6e565b611bf7600761189784611bf16008611286838b610b6e565b97610b6e565b94611c0160405190565b958695429487611a85565b50611c1c60046118978584610b6e565b611c25346119d0565b14611b72565b610292906113f5565b61023160016111a8565b90611c6f9291611c57610c876001610c81866003610b6e565b611c6a610cb76004610cb1866003610b6e565b611f8d565b9091565b90611c8e611c826103e0845490565b92600052602060002090565b9060005b818110611c9f5750505090565b909192611cd9611cd2600192611cb4876111a8565b73ffffffffffffffffffffffffffffffffffffffff16815260200190565b9460010190565b929101611c92565b9061023191611c73565b90610292610ab592611cfc60405190565b93848092611ce1565b61023190611ceb565b61023190610cd4565b6102319060201c610cd4565b6102319060401c610cd4565b6102319060601c610cd4565b6102319060801c610cd4565b6102319060a01c610cd4565b6102319060e01c610cd4565b90600190611d7d611d716103e0855490565b93600052602060002090565b600092611ec8575b611d90565b50505090565b5490808310611eab575b808310611e8e575b808310611e71575b808310611e54575b808310611e37575b808310611e1a575b808310611dfd575b8210611dd7575b80611d8a565b82611df460019394611dea602094611d53565b63ffffffff169052565b01910138611dd1565b9192602081611e11600193611dea86610ccc565b01930191611dca565b9192602081611e2e600193611dea86611d47565b01930191611dc2565b9192602081611e4b600193611dea86611d3b565b01930191611dba565b9192602081611e68600193611dea86611d2f565b01930191611db2565b9192602081611e85600193611dea86611d23565b01930191611daa565b9192602081611ea2600193611dea86611d17565b01930191611da2565b9192602081611ebf600193611dea86611d0e565b01930191611d9a565b60078301821115611d85579260016020611dea611f55600894838080808080808f5497611ef881611dea8b611d0e565b01611f0681611dea8a611d17565b01611f1481611dea89611d23565b01611f2281611dea88611d2f565b01611f3081611dea87611d3b565b01611f3e81611dea86611d47565b01611f4c81611dea85610ccc565b01928391611d53565b019401920191611ec8565b9061023191611d5f565b90610292610ab592611f7b60405190565b93848092611f60565b61023190611f6a565b9291925050610231611fbf60016009611fb7600082611fad896003610b6e565b0101966003610b6e565b010193611d05565b92611f84565b611c6f90606080611c3e565b90610df3999897969594939291611fe66134f5565b906102929998979695949392916120026110da60055460ff1690565b612053565b1561200e57565b60405162461bcd60e51b815260206004820152601960248201527f4c697374696e6720697320616c726561647920657869737473000000000000006044820152606490fd5b906102929998979695949392916120866120736001610c81846003610b6e565b612080610c946001610b61565b10612007565b612152565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe136829003018212156101a2570180359067ffffffffffffffff82116101a2576020019160208202360383136101a257565b156120e757565b60405162461bcd60e51b815260206004820152603660248201527f726f796c7469657320726563697069656e747320616e6420616d6f756e74732060448201527f6e756d6265722073686f756c6420626520657175616c000000000000000000006064820152608490fd5b610292999897969594939291906121908a61218a610c9461023161217a61217f81868061208b565b905090565b94602081019061208b565b146120e0565b61278b565b610bef6102316102319263ffffffff1690565b67ffffffffffffffff8111610a965760208091020190565b909291926121d0610f47826121a8565b93818552602080860192028301928184116101a257915b8383106121f45750505050565b602080916122028486610313565b8152019201916121e7565b9080601f830112156101a257816020610231933591016121c0565b90929192612238610f47826121a8565b93818552602080860192028301928184116101a257915b83831061225c5750505050565b6020809161226a84866104e0565b81520192019161224f565b9080601f830112156101a25781602061023193359101612228565b9190916040818403126101a2576122a76040610eeb565b92813567ffffffffffffffff81116101a257816122c591840161220d565b8452602082013567ffffffffffffffff81116101a2576122e59201612275565b6020830152565b610231903690612290565b91906008610ae491029161232a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff841b90565b921b90565b9190612340610231610b0593610b61565b9083546122f7565b6102929160009161232f565b81811061235f575050565b8061236d6000600193612348565b01612354565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6123a3916020036008021c90565b8154169055565b9190918282106123b957505050565b61029292916123ce9091600052602060002090565b9182019101612354565b90680100000000000000008111610a9657816123f5610292935490565b908281556123aa565b610231916008021c6102de565b81519167ffffffffffffffff8311610a9657612436611c8260019261243086866123d8565b60200190565b92049160005b8381106124495750505050565b600190602061246f610231865173ffffffffffffffffffffffffffffffffffffffff1690565b940193818401550161243c565b906102929161240b565b818110612491575050565b8061249f6000600193612348565b01612486565b9190918282106124b457505050565b61029292600860079091010490600460086124d460078601829004611d71565b928301940602600081116124eb575b500190612486565b6124f89060018503612373565b386124e3565b90680100000000000000008111610a96578161251b610292935490565b908281556124a5565b610231916008021c610cd4565b91906008610ae491029161232a63ffffffff841b90565b610cd46102316102319263ffffffff1690565b90612564815190565b9067ffffffffffffffff8211610a9657611c826125859161243084866124fe565b600882049160005b8381106125f75750600883029003600081116125aa575b50505050565b9260009360005b8181106125c6575050500155388080806125a4565b90919460206125ed6001926125e26102318a5163ffffffff1690565b908560040290612531565b96019291016125b1565b6000805b6008811061261057508382015560010161258d565b9590602061263660019261262b610231865163ffffffff1690565b908a60040290612531565b920196016125fb565b906102929161255b565b9063ffffffff90610ae4565b90612665610231610b0592612548565b8254612649565b60026126ad60406102929461268b612685600083015190565b8661247c565b6126a2612699602083015190565b6001870161263f565b015163ffffffff1690565b9101612655565b906102929161266c565b9694929099989795939161012088019a600089016126da919052565b73ffffffffffffffffffffffffffffffffffffffff166020880152604087015273ffffffffffffffffffffffffffffffffffffffff1660608601526fffffffffffffffffffffffffffffffff1660808501526fffffffffffffffffffffffffffffffff1660a08401526fffffffffffffffffffffffffffffffff1660c083015267ffffffffffffffff1660e0820152610100016102929173ffffffffffffffffffffffffffffffffffffffff169052565b9694929098829888878987898f986127a5819e9c9a610e27565b976127b0828a614366565b6127ba828a61443c565b6127c388612195565b906127cd906122ec565b906127d8928a61463a565b976127e36000610d28565b9d6127ef988f97614b1f565b6127fa876003610b6e565b60090190612807916126b4565b6040519788973391612819988a6126be565b037f82eaa1592b298c70a19a2be50e14ca7e646f2e580d3e16b2e0f62ef75e5217fb91a1565b90610292999897969594939291611fd1565b612859613401565b6102926102926128696000610d28565b614b31565b610292612851565b61023160006111a8565b9061023191612898610c876001610c81856003610b6e565b6128ab610cb76004610cb1856003610b6e565b610cb161023192600492506003610b6e565b610231906000612880565b90610231916128e0610c876001610c81856003610b6e565b6128f3610cb76004610cb1856003610b6e565b906102319161290b6114a66002611391856003610b6e565b5060039061291e60076118978385610b6e565b61292b6117376000611323565b111561296557906119576119468361194061193b61295f600761189785612959836118976102319d8d610b6e565b99610b6e565b92613900565b61297460066118978385610b6e565b6129816117376000611323565b11156129965761189760069161023193610b6e565b50506102316377359400611323565b6102319060006128c8565b90610df39695949392916129c26134f5565b906102929695949392916129db6110da60055460ff1690565b906102929695949392916129f86120736001610c81846003610b6e565b612a7c565b610cd46102316102319290565b15612a1157565b60405162461bcd60e51b815260206004820152602760248201527f4d61782076616c756520666f72206d61726b6574706c6163652066656520353060448201527f20706563656e74000000000000000000000000000000000000000000000000006064820152608490fd5b90610292969594939291612aa2612a946113886129fd565b63ffffffff88161115612a0a565b61029296959493929190612ad2612abc61217a898061208b565b61218a610c9461023161217a60208d018d61208b565b92610b5493612b687feb5fa60a94d39730fd907875666bf42e3316b0619ea6d5bde46d3a29df7bc27398612b558699989598612b3f612b108b610e27565b93612b1b8a86614366565b612b258a8661443c565b612b37612b3184612195565b916122ec565b908a8661463a565b928787612b4c6000610d28565b9a8b9389614c98565b6009612b62846003610b6e565b016126b4565b6040805191825273ffffffffffffffffffffffffffffffffffffffff96871660208301528101969096523360608701526fffffffffffffffffffffffffffffffff16608086015267ffffffffffffffff1660a085015290911660c0830152819060e0820190565b906102929695949392916129b0565b90610df391612beb6134f5565b9061029291612bf8613401565b612c49565b15612c0457565b60405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f75676820696e636f6d650000000000000000000000000000006044820152606490fd5b6000610292928192612c5a83610b61565b82118314612c965761103e61104391612c81612c796102316006610b8d565b851115612bfd565b61103e612c9061102530610e27565b8561102b565b905061104361103e612ca86006610b8d565b92612c81565b9061029291612bde565b612cc0613401565b610292612cd6612cd260055460ff1690565b1590565b612cdc57565b612ce860016005610aee565b7f154e33f072d0ba8d1035c201ea2ffe052f55a245295906a8df19d64e1d87cd67610b4b60405190565b610292612cb8565b90610df39897969594939291612d2e6134f5565b906102929897969594939291612d496110da60055460ff1690565b906102929897969594939291612d686120736001610c81846003610b6e565b612d95565b6102316040610eeb565b612d7f612d6d565b906060825260606020830152565b610231612d77565b9382979394612e1b7f82eaa1592b298c70a19a2be50e14ca7e646f2e580d3e16b2e0f62ef75e5217fb9a85878b8b87899e9a9c612e07610b549f9b612dd990610e27565b96612de48189614366565b612dee818961443c565b612df6612d8d565b90612e008a612195565b908961463a565b50612e126000610d28565b9d8e968a614b1f565b60405198899833928a6126be565b906102929897969594939291612d1a565b610df390612e466134f5565b61029290612e596110da60055460ff1690565b61029290612e706111716001610c81846003610b6e565b61029290612e7c612876565b612e8533611235565b148015612eed575b8015612ecd575b8015612ea9575b612ea4906111b2565b612f98565b50612ea4612ebc60036112868482610b6e565b612ec533611235565b149050612e9b565b50612ede60026112ae836003610b6e565b612ee733611235565b14612e94565b50612ef6611c34565b612eff33611235565b14612e8d565b610bef6102316102319290565b61023190611319565b6102a890612f12565b6102a890610c06565b9095949261029294612f87612f9192612f6a608096612f5160a088019c6000890152565b6fffffffffffffffffffffffffffffffff166020870152565b73ffffffffffffffffffffffffffffffffffffffff166040850152565b6060830190612f1b565b0190612f24565b6003612fa960026113918484610b6e565b612fb66113a66002611319565b1480613074575b15613045578161300c612ff660086112867f67214d41d9e34ed183a0d33a33885e5c109aee24cf825bea1426538535d7070a9686610b6e565b61300560076118978587610b6e565b9083613c90565b610b546130276008611286846119296007611897838a610b6e565b600261303242612f05565b9161303c60405190565b95869586612f2d565b50610b54816113bb7f56c72aec1a556ad189a344900b28ea8fe2a9f10897a4ff8197984d3dfb1fffd0936137b6565b5061307e82614cbd565b612fbd565b61029290612e3a565b610df3906130986134f5565b610292906130ab6110da60055460ff1690565b610292906130c2610c876001610c81846003610b6e565b6130d5610cb76004610cb1846003610b6e565b613126565b156130e157565b60405162461bcd60e51b815260206004820152601a60248201527f73656e74206d6f6e657920697320696e73756666696369656e740000000000006044820152606490fd5b6102929061313a61182c6102de6000610d28565b61316b613164611900600461189785600361315f61184b6102de836112868682610b6e565b610b6e565b34146130da565b613194565b9095949261029294612f8761135892612f6a608096612f5160a088019c6000890152565b7f67214d41d9e34ed183a0d33a33885e5c109aee24cf825bea1426538535d7070a906131bf34611323565b906131cb823383613c90565b610b546131de6002611391846003610b6e565b926131e860405190565b9384934292339186613170565b6102929061308c565b9061023191613216610c876001610c81856003610b6e565b613229610cb76004610cb1856003610b6e565b61189761023192600492506003610b6e565b6102319060006131fe565b61023190613252613401565b506102316006610b8d565b6102316000613246565b61029290613273613401565b61327d6000610d28565b73ffffffffffffffffffffffffffffffffffffffff811673ffffffffffffffffffffffffffffffffffffffff8316146132ba575061029290614b31565b610be3906132c760405190565b9182917f1e4fbdf70000000000000000000000000000000000000000000000000000000083526004830173ffffffffffffffffffffffffffffffffffffffff909116815260200190565b61029290613267565b90610df3959493929161332b6134f5565b9061029295949392916133436110da60055460ff1690565b90610292959493929161335f6120736001610c81846003610b6e565b906102929594939291613376612a946113886129fd565b93829493610b54939294612b687feb5fa60a94d39730fd907875666bf42e3316b0619ea6d5bde46d3a29df7bc273986133ae88610e27565b6133b88782614366565b6133c2878261443c565b6133dd6133cd612d8d565b6133d684612195565b898461463a565b5085856133ea6000610d28565b98899387614c98565b90610292959493929161331a565b613409612876565b339061341482611235565b0361341c5750565b610be39061342960405190565b9182917f118cdaa70000000000000000000000000000000000000000000000000000000083526004830173ffffffffffffffffffffffffffffffffffffffff909116815260200190565b7f3d94f8a9e9bed6c4cb502413642e13434051041fb60783c22e66622133e1a339906134aa6134a260016111a8565b916001611a6e565b6134b460016111a8565b610b546134c060405190565b9283928373ffffffffffffffffffffffffffffffffffffffff91821681529116602082015260400190565b6102316002610b61565b6134ff6002610b8d565b6135076134eb565b90811461351957610292906002610e62565b6040517f3ee5aeb5000000000000000000000000000000000000000000000000000000008152600490fd5b6102316001610b61565b610292613559613544565b6002610e62565b9190820180921161176b57565b9060039261358060076118978587610b6e565b61358d6117376000611323565b118061367b575b61359e5750505050565b6135e26000806135b961103e61103e60086112868a8c610b6e565b6135cb61190060076118978a8c610b6e565b60405190818003925af16135dd610f51565b501590565b156136335750509061362461361561360e600861128686611929611900600761189761362a9b8b610b6e565b6007610e30565b9161361f83610b8d565b613560565b90610e62565b388080806125a4565b8261367391611bf7600761189784611bf160086112868c9a9b7f9a6f16c4798d8760db4c5e28845ee72037596fef06b1c8c61029645350a151e59d610b6e565b0390a161362a565b5061368b60086112868587610b6e565b61369b6112356102de6000610d28565b1415613594565b90610afe610231610b0592612f12565b9074ffffffffffffffffffffffffffffffffffffffff009060081b610ae4565b906136e2610231610b0592610e27565b82546136b2565b9077ffffffffffffffff000000000000000000000000000000009060801b610ae4565b610bef6102316102319267ffffffffffffffff1690565b90613733610231610b059261370c565b82546136e9565b907fffffffffffffffffffffffffffffffff000000000000000000000000000000009060801b610ae4565b90613775610231610b0592611a1c565b825461373a565b9077ffffffff00000000000000000000000000000000000000009060a01b610ae4565b906137af610231610b0592612548565b825461377c565b6102929060086138da6000926138d46137ce85610d28565b946138cf6137db87610e27565b966137f3600398846137ed888c610b6e565b01611a6e565b6138116137ff84610b61565b600161380b888c610b6e565b01610e62565b613827836002613821888c610b6e565b016136a2565b61383d816002613837888c610b6e565b016136d2565b61384c81896137ed8882610b6e565b6138c4856138b88a60066138b261386289611323565b9483613875876004611bbc858399610b6e565b6138936138818c612f05565b600461388d8585610b6e565b01613723565b6138a38960056137ed8585610b6e565b61315f8585611bbc8585610b6e565b01613765565b6007611bbc888c610b6e565b866137ed868a610b6e565b6129fd565b93610b6e565b0161379f565b6102319054611d47565b6102319060081c610cd4565b61023190546138ea565b6139166008613910836003610b6e565b016138e0565b61392d61392360006129fd565b9163ffffffff1690565b1161393d575061023160056138f6565b6008613910610231926003610b6e565b90505190610292826102f7565b9092919261396a610f47826121a8565b93818552602080860192028301928184116101a257915b83831061398e5750505050565b6020809161399c848661394d565b815201920191613981565b9080601f830112156101a25781516102319260200161395a565b90505190610292826104d4565b909291926139de610f47826121a8565b93818552602080860192028301928184116101a257915b838310613a025750505050565b60208091613a1084866139c1565b8152019201916139f5565b9080601f830112156101a2578151610231926020016139ce565b9190916040818403126101a257805167ffffffffffffffff81116101a25783613a5f9183016139a7565b92602082015167ffffffffffffffff81116101a2576102319201613a1b565b6040513d6000823e3d90fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90613ac2825190565b811015613ad3576020809102010190565b613a8a565b6102a890610e27565b9194613b1361135892989795613b0960a096611aca6102929a611aad60c08a019e60008b0152565b6060850190613ad8565b6080830152565b6102319054611d0e565b8054919291831015613ad3576008613b43600492600052602060002090565b8185040193060290565b906102319154612524565b8054821015613ad357613b72600191600052602060002090565b91020190600090565b9061023191546123fe565b613ba1906fffffffffffffffffffffffffffffffff16611737565b9003906fffffffffffffffffffffffffffffffff821161176b57565b15613bc457565b60405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e64206d6f6e65790000000000000000000000006044820152606490fd5b61135861029294613c32606094989795613c2b608086019a6000870190613ad8565b6020850152565b6fffffffffffffffffffffffffffffffff166040830152565b906020828203126101a2576102319161394d565b73ffffffffffffffffffffffffffffffffffffffff9182168152911660208201526060810192916102929160400152565b90916003613cbb613ca660006112868685610b6e565b613cb56001610c818786610b6e565b9061443c565b600091613cc783611323565b6fffffffffffffffffffffffffffffffff821611613e53575b50613cf261103e836112868685610b6e565b613d586020613d0861103e866112868988610b6e565b613d176001610c818988610b6e565b90613d2160405190565b938492839182917f6352211e000000000000000000000000000000000000000000000000000000005b835260048301526024820190565b03915afa928315613e10578591600094613e15575b50610c81613d7d92600192610b6e565b90803b156101a257613dc895848094613d9560405190565b988995869485937f23b872dd00000000000000000000000000000000000000000000000000000000855260048501613c5f565b03925af1928315613e105761029293613de3575b50506137b6565b81613e0292903d10613e09575b613dfa8183610a56565b810190610197565b3880613ddc565b503d613df0565b613a7e565b6001919450613d7d92613e42610c819260203d602011613e4c575b613e3a8183610a56565b810190613c4b565b9592509250613d6d565b503d613e30565b9391613e6d613e676008610cf98786610b6e565b86614d70565b94613ed3613e7a83611323565b9783613e8d61103e826112868b8a610b6e565b613e9c6001610c818b8a610b6e565b90613ea660405190565b948592839182917fbb3bafd600000000000000000000000000000000000000000000000000000000613d4a565b03915afa958615613e10576000809390976142f2575b50613ef385610b61565b995b613f00610231895190565b8b101561403357613ffb87614002928d8b8a8e613f33613f2d613f23868e613ab9565b5163ffffffff1690565b8d614d70565b9583613f6361103e61103e613f49898c99613ab9565b5173ffffffffffffffffffffffffffffffffffffffff1690565b8480613f6e88611601565b92613f7860405190565b60009185905af1613f87610f51565b5015614008575090613fde6001610c8185613fd8613fcd613f497f4594c5e901da3af03d08bb543847ba7b0deb24030c99310ca6d0fd515096e2719c613ff39a99613ab9565b986112868388610b6e565b94610b6e565b90613fe860405190565b958695429487613ae1565b0390a16117ca565b9a60010190565b99613ef5565b9450905061362492506136159150614028613f4961402e96600793613ab9565b90610e30565b6117ca565b9392509793955097506140546002600961404d8988610b6e565b0101613b1a565b614060613923876129fd565b116141b8575b7f0a977d6be533b9e31884cdd0ac1002d7befb937a3502bd9d3ea844607664fb9f916140958461409a93613b86565b613b86565b6140d485806140b361103e61103e896112868d82610b6e565b6140bc85611601565b60405190818003925af16140ce610f51565b50613bbd565b6140e2846112868882610b6e565b906141136140f4876112868a89610b6e565b926141046001610c818b8a610b6e565b60405194859442938c87613ae1565b0390a161413661412f61412583611601565b61361f6006610b8d565b6006610e62565b61413f83611323565b6fffffffffffffffffffffffffffffffff82161115613ce0577f1fdd5457a0b0945b146673ad48d1f6890dd1028ded74669ed11b7d9a7b00ebec90614188846112868786610b6e565b6141af61419a6001610c818988610b6e565b916141a460405190565b938493429285613c09565b0390a138613ce0565b96909391956141c683610b61565b945b6141e16102318560096141db8b8a610b6e565b01015490565b8610156142e6576142b86142bf9161421a61421461420e8a600160096142078f8e610b6e565b0101613b24565b90613b4d565b8c614d70565b908882888c8b61424761103e61103e6142418887600961423a8989610b6e565b0101613b58565b90613b7b565b838061425287611601565b9261425c60405190565b60009185905af161426b610f51565b50156142c557509081613fde6001610c8184613fd8613fcd6142417f8a0a4803cfcc15563dff21db8c51481c97589ab9754803486624f3d7c8bd04079c8b600961423a87613ff39e610b6e565b9560010190565b946141c8565b935061402861424161402e9661362495600961423a61361597600797610b6e565b91979096929450614066565b90966143119293503d8091833e6143098183610a56565b810190613a35565b91909538613ee9565b1561432157565b60405162461bcd60e51b815260206004820152601360248201527f546f6b656e206973206e6f7420657869737473000000000000000000000000006044820152606490fd5b61437d91614375602092610e27565b604051613d21565b03915afa8015613e1057610292916000916143ab575b506143a46112356102de6000610d28565b141561431a565b6143c4915060203d602011613e4c57613e3a8183610a56565b38614393565b156143d157565b60405162461bcd60e51b815260206004820152602d60248201527f43757272656e7420636f6e7472616374206e6f7420617070726f76656420746f60448201527f206d616e61676520746f6b656e000000000000000000000000000000000000006064820152608490fd5b61447b9161444b602092610e27565b604051938492839182917f081812fc00000000000000000000000000000000000000000000000000000000613d4a565b03915afa8015613e1057610292916000916144a7575b506144a16112356102de30610e27565b146143ca565b6144c0915060203d602011613e4c57613e3a8183610a56565b38614491565b6102316060610eeb565b6144d86144c6565b606080825260208201526000604082015290565b6102316144d0565b6145039063ffffffff16613923565b019063ffffffff821161176b57565b61452f9067ffffffffffffffff165b9167ffffffffffffffff1690565b019067ffffffffffffffff821161176b57565b1561454957565b60405162461bcd60e51b815260206004820152602a60248201527f5365636f6e6461727920726f79616c746965732073686f756c64206e6f74206560448201527f78636565642031303025000000000000000000000000000000000000000000006064820152608490fd5b906020828203126101a257610231916139c1565b156145cf57565b60405162461bcd60e51b815260206004820152602160248201527f546f74616c20666565732073686f756c64206e6f74206578636565642031303060448201527f25000000000000000000000000000000000000000000000000000000000000006064820152608490fd5b93909291936146476144ec565b5082515194614663602085019661218a610c946102318a515190565b6000936146706000610b61565b945b61467e61023189515190565b8610156146a6576142b86146a09161469a613f23898c51613ab9565b906144f4565b94614672565b9396956147129395506020906146e26146c7856146c289612195565b614512565b9761103e612710996146db6145218c612f05565b1115614542565b604051958692839182917fac14ce7600000000000000000000000000000000000000000000000000000000613d4a565b03915afa928315613e10576102319561475d6145216147576147486000976146c26147789a614764988b91614785575b50612195565b6147518a612195565b90614512565b92612f05565b11156145c8565b01519351613c2b6147736144c6565b958652565b63ffffffff166040830152565b6147a7915060203d6020116147ad575b61479f8183610a56565b8101906145b4565b38614742565b503d614795565b906102929998979695949392916147d46120736001610c81846003610b6e565b614921565b156147e057565b60405162461bcd60e51b815260206004820152603960248201527f72657365727665207072696365206d75737420657175616c207a65726f206f7260448201527f2067726561746572207468616e207374617274207072696365000000000000006064820152608490fd5b1561485257565b60405162461bcd60e51b815260206004820152604f60248201527f627579206e6f77207072696365206d75737420657175616c207a65726f206f7260448201527f2067726561746572206f7220657175616c207468616e20737461727420616e6460648201527f2072657365727665207072696365730000000000000000000000000000000000608482015260a490fd5b907bffffffff0000000000000000000000000000000000000000000000009060c01b610ae4565b9061491a610231610b0592612548565b82546148e3565b946020614a0994939a99979892959a61493a6000611323565b6fffffffffffffffffffffffffffffffff8416148015614b00575b61495e906147d9565b6149686000611323565b6fffffffffffffffffffffffffffffffff8b16148015614ab2575b61498c9061484b565b6149d96003976149a28160006137ed8d8d610b6e565b6149b283600161380b8d8d610b6e565b6149c26002806138218d8d610b6e565b61103e6149cf8b8b610b6e565b60023391016136d2565b604051968792839182917f6352211e00000000000000000000000000000000000000000000000000000000613d4a565b03915afa8015613e10576102929a614a6a614a8d99614a5e614a8296614a5260089e6004611bbc8f8f61315f9f614a769c61315f91600091614a93575b50826137ed8582610b6e565b600461388d8d8d610b6e565b60056137ed8b8b610b6e565b6006611bbc8989610b6e565b60066138b28787610b6e565b856138da8585610b6e565b0161490a565b614aac915060203d602011613e4c57613e3a8183610a56565b38614a46565b506fffffffffffffffffffffffffffffffff8c166fffffffffffffffffffffffffffffffff8b161015801561498357506fffffffffffffffffffffffffffffffff838116908b161015614983565b506fffffffffffffffffffffffffffffffff8c81169084161015614955565b906102929998979695949392916147b4565b614b52614b4c614b4160006111a8565b61103e846000611a6e565b91610e27565b907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0614b7d60405190565b600090a3565b90610292969594939291614ba06120736001610c81846003610b6e565b91926020614c1e979694614bee600394614bc08160006137ed8a8a610b6e565b614bd083600161380b8a8a610b6e565b614be1600160026138218a8a610b6e565b61103e6149cf8888610b6e565b604051998a92839182917f6352211e00000000000000000000000000000000000000000000000000000000613d4a565b03915afa938415613e1057614c6d600896614c6161315f94614c55614a8d996102929d600091614c79575b50886137ed8b82610b6e565b6004611bbc8989610b6e565b600461388d8787610b6e565b60056137ed8585610b6e565b614c92915060203d602011613e4c57613e3a8183610a56565b38614c49565b90610292969594939291614b83565b6102319060801c611330565b6102319054614ca7565b6003614cce60086112868484610b6e565b91600092614ce16112356102de86610d28565b141580614d4e575b614cf257505090565b614d076006614d018385610b6e565b01614cb3565b614d1361173785611323565b1115614d46576117376113306007611897846119296006614d01614d37988a610b6e565b1115614d405790565b50600190565b505050600190565b50614d5e60076118978385610b6e565b614d6a61173785611323565b11614ce9565b6119469061194061023193614d83600090565b506116de56fea26469706673582212200ee5977f8cf7bb448e55e316bd2fc4ed9ff4ec93a8de3f10529d0b3fc936565864736f6c63430008160033

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

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000d355aa335905f6643d85b02641b6b11f3562541f000000000000000000000000000000000000000000000000000000000000000f4d61726b65744d616e6167657256310000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): MarketManagerV1
Arg [1] : _defaultBidIncreasePercentage (uint32): 10
Arg [2] : manager_ (address): 0xD355aA335905F6643d85b02641B6B11F3562541f

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [2] : 000000000000000000000000d355aa335905f6643d85b02641b6b11f3562541f
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [4] : 4d61726b65744d616e6167657256310000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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