ETH Price: $2,155.14 (+1.04%)
Gas: 0.04 Gwei

Contract

0x325F1Cd4ea0f9ee484ea59480ABBa1966c2E1ddf
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Make Bid172848412023-05-18 7:05:351038 days ago1684393535IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.003508241.38844092
Transfer Ownersh...170769932023-04-19 0:05:231067 days ago1681862723IN
0x325F1Cd4...66c2E1ddf
0 ETH0.001648657.37063323
Create New Nft A...170769682023-04-19 0:00:231067 days ago1681862423IN
0x325F1Cd4...66c2E1ddf
0 ETH0.011639358.63273492
Withdraw Auction...170769672023-04-19 0:00:111067 days ago1681862411IN
0x325F1Cd4...66c2E1ddf
0 ETH0.0051669855.52013826
Make Bid169714202023-04-03 22:22:591082 days ago1680560579IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0022555526.61017047
Make Bid163190002023-01-02 12:10:231174 days ago1672661423IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0009408513.90505263
Make Bid163032902022-12-31 7:35:591176 days ago1672472159IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0012988315.32317231
Create New Nft A...161348692022-12-07 19:18:591200 days ago1670440739IN
0x325F1Cd4...66c2E1ddf
0 ETH0.0021890220
Create New Nft A...161348622022-12-07 19:17:351200 days ago1670440655IN
0x325F1Cd4...66c2E1ddf
0 ETH0.0026272620
Make Bid161108362022-12-04 10:25:591203 days ago1670149559IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0008501712.56479924
Make Bid159370512022-11-10 3:51:351227 days ago1668052295IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0018384727.1710816
Make Bid159044842022-11-05 14:42:591232 days ago1667659379IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0009448313.96380426
Make Bid157489312022-10-14 21:07:231253 days ago1665781643IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.001204417.8
Make Bid157488942022-10-14 20:59:591253 days ago1665781199IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0014240116.8
Make Bid157194532022-10-10 18:20:591258 days ago1665426059IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0030011335.40616502
Make Bid156412752022-09-29 20:06:591269 days ago1664482019IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0034846451.5
Make Bid156412632022-09-29 20:04:231269 days ago1664481863IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0043652951.5
Make Bid155079332022-09-10 8:59:161288 days ago1662800356IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.000682758.05485007
Make Bid154674842022-09-03 20:31:281295 days ago1662237088IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.000779819.2
Make Bid153283692022-08-12 17:50:261317 days ago1660326626IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0020192823.82267662
Make Bid152722092022-08-03 22:40:541325 days ago1659566454IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0011458713.51860011
Make Bid152650712022-08-02 19:51:221327 days ago1659469882IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0029064934.28969519
Make Bid152582632022-08-01 18:24:251328 days ago1659378265IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.001292319.0991155
Make Bid152285862022-07-28 3:33:541332 days ago1658979234IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0011047716.32762871
Make Bid151465032022-07-15 9:40:001345 days ago1657878000IN
0x325F1Cd4...66c2E1ddf
0.5 ETH0.0012951815.28012405
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer172848412023-05-18 7:05:351038 days ago1684393535
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer169714202023-04-03 22:22:591082 days ago1680560579
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer163190002023-01-02 12:10:231174 days ago1672661423
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer163032902022-12-31 7:35:591176 days ago1672472159
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer161108362022-12-04 10:25:591203 days ago1670149559
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer159370512022-11-10 3:51:351227 days ago1668052295
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer159044842022-11-05 14:42:591232 days ago1667659379
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer157489312022-10-14 21:07:231253 days ago1665781643
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer157488942022-10-14 20:59:591253 days ago1665781199
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer157194532022-10-10 18:20:591258 days ago1665426059
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer156412752022-09-29 20:06:591269 days ago1664482019
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer156412632022-09-29 20:04:231269 days ago1664481863
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer155079332022-09-10 8:59:161288 days ago1662800356
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer154674842022-09-03 20:31:281295 days ago1662237088
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer153283692022-08-12 17:50:261317 days ago1660326626
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer152722092022-08-03 22:40:541325 days ago1659566454
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer152650712022-08-02 19:51:221327 days ago1659469882
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer152582632022-08-01 18:24:251328 days ago1659378265
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer152285862022-07-28 3:33:541332 days ago1658979234
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer151465032022-07-15 9:40:001345 days ago1657878000
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer151426142022-07-14 19:15:481346 days ago1657826148
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer151421162022-07-14 17:25:081346 days ago1657819508
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer150770992022-07-04 16:24:471356 days ago1656951887
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer150767562022-07-04 15:09:021356 days ago1656947342
0x325F1Cd4...66c2E1ddf
0.5 ETH
Transfer150517552022-06-30 18:17:031360 days ago1656613023
0x325F1Cd4...66c2E1ddf
0.5 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFTSeller

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
//SPDX-License-Identifier: Unlicense
pragma solidity 0.8.14;

import "IERC721.sol";
import "Ownable.sol";
import "IWithBalance.sol";

/// @title A Seller Contract for selling single NFTs (modified contract of Avo Labs GmbH)
/// @notice This contract can be used for selling any NFTs
contract NFTSeller is Ownable {
    address[] public whitelistedPassCollections; //Only owners of tokens from any of these collections can buy if is onlyWhitelisted
    mapping(address => mapping(uint256 => Sale)) public nftContractAuctions; // variable name is the same as in NFTAuction
    mapping(address => uint256) failedTransferCredits;
    //Each Sale is unique to each NFT (contract + id pairing).
    struct Sale {
        //map token ID to
        uint64 auctionStart; // name is the same as in NFTAuction
        uint64 auctionEnd; // name is the same as in NFTAuction
        uint128 buyNowPrice;
        address feeRecipient;
        bool onlyWhitelisted; // if true, than only owners of whitelistedPassCollections can make bids
    }

    /*╔═════════════════════════════╗
      ║           EVENTS            ║
      ╚═════════════════════════════╝*/

    event NftAuctionCreated(
        address indexed nftContractAddress,
        uint256 indexed tokenId,
        uint128 buyNowPrice,
        uint64 auctionStart,
        uint64 auctionEnd,
        address feeRecipient,
        bool onlyWhitelisted
    );

    event NFTTransferredAndSellerPaid(
        address indexed nftContractAddress,
        uint256 indexed tokenId,
        uint128 nftHighestBid,
        address nftHighestBidder
    );

    event AuctionWithdrawn(
        address indexed nftContractAddress,
        uint256 indexed tokenId
    );
    /**********************************/
    /*╔═════════════════════════════╗
      ║             END             ║
      ║            EVENTS           ║
      ╚═════════════════════════════╝*/
    /**********************************/
    /*╔═════════════════════════════╗
      ║          MODIFIERS          ║
      ╚═════════════════════════════╝*/

    modifier needWhitelistedToken(address _nftContractAddress, uint256 _tokenId) {
        if (nftContractAuctions[_nftContractAddress][_tokenId].onlyWhitelisted) {
            bool isWhitelisted;
            for (uint256 i = 0; i < whitelistedPassCollections.length; i++) {
                if(IWithBalance(whitelistedPassCollections[i]).balanceOf(msg.sender) > 0) {
                    isWhitelisted = true;
                    break;
                }
            }
            require(isWhitelisted, "Sender has no whitelisted NFTs");
        }
        _;
    }

    modifier saleOngoing(address _nftContractAddress, uint256 _tokenId) {
        require(
            _isSaleStarted(_nftContractAddress, _tokenId),
            "Sale has not started"
        );
        require(
            _isSaleOngoing(_nftContractAddress, _tokenId),
            "Sale has ended"
        );
        _;
    }

    modifier ethAmountMeetsBuyRequirements(
        address _nftContractAddress,
        uint256 _tokenId
    ) {
        require(
            msg.value >= nftContractAuctions[_nftContractAddress][_tokenId].buyNowPrice,
            "Not enough funds to buy NFT"
        );
        _;
    }

    modifier notZeroAddress(address _address) {
        require(_address != address(0), "Cannot specify 0 address");
        _;
    }

    /**********************************/
    /*╔═════════════════════════════╗
      ║             END             ║
      ║          MODIFIERS          ║
      ╚═════════════════════════════╝*/
    /**********************************/
    // constructor
    constructor(address[] memory _whitelistedPassCollectionsAddresses) {
        uint256 collectionsCount = _whitelistedPassCollectionsAddresses.length;
        for (uint256 i = 0; i < collectionsCount; i++) {
            whitelistedPassCollections.push(_whitelistedPassCollectionsAddresses[i]);
        }
    }
    /**********************************/
    /*╔══════════════════════════════╗
      ║     WHITELIST FUNCTIONS      ║
      ╚══════════════════════════════╝*/
    /*
     * Add whitelisted pass collection.
     */
    function addWhitelistedCollection(address _collectionContractAddress)
    external
    onlyOwner
    {
        whitelistedPassCollections.push(_collectionContractAddress);
    }

    /*
     * Remove whitelisted pass collection by index.
     */
    function removeWhitelistedCollection(uint256 index)
    external
    onlyOwner
    {
        whitelistedPassCollections[index] = whitelistedPassCollections[whitelistedPassCollections.length - 1];
        whitelistedPassCollections.pop();
    }
    /**********************************/
    /*╔══════════════════════════════╗
      ║             END              ║
      ║     WHITELIST FUNCTIONS      ║
      ╚══════════════════════════════╝*/
    /**********************************/
    /*╔══════════════════════════════╗
      ║     SALE CHECK FUNCTIONS     ║
      ╚══════════════════════════════╝*/
    function _isSaleStarted(address _nftContractAddress, uint256 _tokenId)
    internal
    view
    returns (bool)
    {
        return (block.timestamp >= nftContractAuctions[_nftContractAddress][_tokenId].auctionStart);
    }

    function _isSaleOngoing(address _nftContractAddress, uint256 _tokenId)
    internal
    view
    returns (bool)
    {
        uint64 auctionEndTimestamp = nftContractAuctions[_nftContractAddress][_tokenId].auctionEnd;
        //if the auctionEnd is set to 0, the sale is on-going and doesn't have specified end.
        return (auctionEndTimestamp == 0 || block.timestamp < auctionEndTimestamp);
    }

    /**********************************/
    /*╔══════════════════════════════╗
      ║             END              ║
      ║     SALE CHECK FUNCTIONS     ║
      ╚══════════════════════════════╝*/
    /**********************************/

    /*╔══════════════════════════════╗
      ║         SALE CREATION        ║
      ╚══════════════════════════════╝*/

    function createNewNftAuctions(
        address _nftContractAddress,
        uint256[] memory _tokenIds,
        uint64 _auctionStart,
        uint64 _auctionEnd,
        uint128 _buyNowPrice,
        address _feeRecipient,
        bool _onlyWhitelisted
    )
    external
    onlyOwner
    notZeroAddress(_feeRecipient)
    {
        require(_auctionEnd >= _auctionStart || _auctionEnd == 0, "Sale end must be after the start");

        for (uint256 i = 0; i < _tokenIds.length; i++) {
            uint256 _tokenId = _tokenIds[i];

            require(
                nftContractAuctions[_nftContractAddress][_tokenId].feeRecipient == address(0),
                "Sale is already created"
            );

            Sale memory sale; // creating the sale
            sale.auctionStart = _auctionStart;
            sale.auctionEnd = _auctionEnd;
            sale.buyNowPrice = _buyNowPrice;
            sale.feeRecipient = _feeRecipient;
            sale.onlyWhitelisted = _onlyWhitelisted;

            nftContractAuctions[_nftContractAddress][_tokenId] = sale;

            // Sending the NFT to this contract
            if (IERC721(_nftContractAddress).ownerOf(_tokenId) == msg.sender) {
                IERC721(_nftContractAddress).transferFrom(
                    msg.sender,
                    address(this),
                    _tokenId
                );
            }
            require(
                IERC721(_nftContractAddress).ownerOf(_tokenId) == address(this),
                "NFT transfer failed"
            );

            emit NftAuctionCreated(
                _nftContractAddress,
                _tokenId,
                _buyNowPrice,
                _auctionStart,
                _auctionEnd,
                _feeRecipient,
                _onlyWhitelisted
            );
        }
    }

    /**********************************/
    /*╔══════════════════════════════╗
      ║             END              ║
      ║         SALE CREATION        ║
      ╚══════════════════════════════╝*/
    /**********************************/

    /*╔═════════════════════════════╗
      ║        BID FUNCTIONS        ║
      ╚═════════════════════════════╝*/

    /********************************************************************
     *                          Make bids with ETH.                     *
     ********************************************************************/

    function makeBid( // function name is the same as in NFTAuction
        address _nftContractAddress,
        uint256 _tokenId
    )
    external
    payable
    saleOngoing(_nftContractAddress, _tokenId)
    needWhitelistedToken(
        _nftContractAddress,
        _tokenId
    )
    ethAmountMeetsBuyRequirements(
        _nftContractAddress,
        _tokenId
    )
    {
        require(msg.sender == tx.origin, "Sender must be a wallet");
        address _feeRecipient = nftContractAuctions[_nftContractAddress][_tokenId].feeRecipient;
        require(_feeRecipient != address(0), "Sale does not exist");

        // attempt to send the funds to the recipient
        (bool success, ) = payable(_feeRecipient).call{ value: msg.value, gas: 20000 }("");
        // if it failed, update their credit balance so they can pull it later
        if (!success) failedTransferCredits[_feeRecipient] = failedTransferCredits[_feeRecipient] + msg.value;

        IERC721(_nftContractAddress).transferFrom(address(this), msg.sender, _tokenId);

        delete nftContractAuctions[_nftContractAddress][_tokenId];

        emit NFTTransferredAndSellerPaid(_nftContractAddress, _tokenId, uint128(msg.value), msg.sender);
    }

    /**********************************/
    /*╔══════════════════════════════╗
      ║             END              ║
      ║        BID FUNCTIONS         ║
      ╚══════════════════════════════╝*/
    /**********************************/

    /*╔══════════════════════════════╗
      ║           WITHDRAW           ║
      ╚══════════════════════════════╝*/
    function withdrawAuctions(address _nftContractAddress, uint256[] memory _tokenIds)
    external
    onlyOwner
    {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            uint256 _tokenId = _tokenIds[i];
            delete nftContractAuctions[_nftContractAddress][_tokenId];
            IERC721(_nftContractAddress).transferFrom(address(this), owner(), _tokenId);
            emit AuctionWithdrawn(_nftContractAddress, _tokenId);
        }
    }

    /*
     * If the transfer of a bid has failed, allow to reclaim amount later.
     */
    function withdrawAllFailedCreditsOf(address recipient) external {
        uint256 amount = failedTransferCredits[recipient];

        require(amount != 0, "no credits to withdraw");

        failedTransferCredits[recipient] = 0;

        (bool successfulWithdraw, ) = recipient.call{
        value: amount,
        gas: 20000
        }("");
        require(successfulWithdraw, "withdraw failed");
    }

    /**********************************/
    /*╔══════════════════════════════╗
      ║             END              ║
      ║           WITHDRAW           ║
      ╚══════════════════════════════╝*/
    /**********************************/
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IWithBalance {
    function balanceOf(address owner) external view returns (uint256);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address[]","name":"_whitelistedPassCollectionsAddresses","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftContractAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"AuctionWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftContractAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint128","name":"nftHighestBid","type":"uint128"},{"indexed":false,"internalType":"address","name":"nftHighestBidder","type":"address"}],"name":"NFTTransferredAndSellerPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftContractAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint128","name":"buyNowPrice","type":"uint128"},{"indexed":false,"internalType":"uint64","name":"auctionStart","type":"uint64"},{"indexed":false,"internalType":"uint64","name":"auctionEnd","type":"uint64"},{"indexed":false,"internalType":"address","name":"feeRecipient","type":"address"},{"indexed":false,"internalType":"bool","name":"onlyWhitelisted","type":"bool"}],"name":"NftAuctionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"_collectionContractAddress","type":"address"}],"name":"addWhitelistedCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftContractAddress","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint64","name":"_auctionStart","type":"uint64"},{"internalType":"uint64","name":"_auctionEnd","type":"uint64"},{"internalType":"uint128","name":"_buyNowPrice","type":"uint128"},{"internalType":"address","name":"_feeRecipient","type":"address"},{"internalType":"bool","name":"_onlyWhitelisted","type":"bool"}],"name":"createNewNftAuctions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftContractAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"makeBid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftContractAuctions","outputs":[{"internalType":"uint64","name":"auctionStart","type":"uint64"},{"internalType":"uint64","name":"auctionEnd","type":"uint64"},{"internalType":"uint128","name":"buyNowPrice","type":"uint128"},{"internalType":"address","name":"feeRecipient","type":"address"},{"internalType":"bool","name":"onlyWhitelisted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"removeWhitelistedCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedPassCollections","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawAllFailedCreditsOf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftContractAddress","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"withdrawAuctions","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200186c3803806200186c833981016040819052620000349162000126565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350805160005b81811015620000ea5760018382815181106200009a576200009a620001f8565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b0390921691909117905580620000e1816200020e565b9150506200007a565b50505062000236565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200012157600080fd5b919050565b600060208083850312156200013a57600080fd5b82516001600160401b03808211156200015257600080fd5b818501915085601f8301126200016757600080fd5b8151818111156200017c576200017c620000f3565b8060051b604051601f19603f83011681018181108582111715620001a457620001a4620000f3565b604052918252848201925083810185019188831115620001c357600080fd5b938501935b82851015620001ec57620001dc8562000109565b84529385019392850192620001c8565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016200022f57634e487b7160e01b600052601160045260246000fd5b5060010190565b61162680620002466000396000f3fe60806040526004361061009c5760003560e01c806399157d701161006457806399157d70146101f7578063bc24555a14610217578063c8851b341461022a578063d18e629c1461024a578063db2273381461026a578063f2fde38b1461028a57600080fd5b8063041fa0b8146100a15780630bf887b51461016e5780634b15f52a14610190578063715018a6146101b05780638da5cb5b146101c5575b600080fd5b3480156100ad57600080fd5b5061011e6100bc3660046112bc565b6002602090815260009283526040808420909152908252902080546001909101546001600160401b0380831692600160401b810490911691600160801b9091046001600160801b0316906001600160a01b03811690600160a01b900460ff1685565b604080516001600160401b0396871681529590941660208601526001600160801b03909216928401929092526001600160a01b0390911660608301521515608082015260a0015b60405180910390f35b34801561017a57600080fd5b5061018e610189366004611398565b6102aa565b005b34801561019c57600080fd5b5061018e6101ab366004611403565b61040f565b3480156101bc57600080fd5b5061018e61099e565b3480156101d157600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610165565b34801561020357600080fd5b506101df6102123660046114be565b610a12565b61018e6102253660046112bc565b610a3c565b34801561023657600080fd5b5061018e6102453660046114d7565b610f0c565b34801561025657600080fd5b5061018e6102653660046114d7565b611015565b34801561027657600080fd5b5061018e6102853660046114be565b611090565b34801561029657600080fd5b5061018e6102a53660046114d7565b611169565b6000546001600160a01b031633146102dd5760405162461bcd60e51b81526004016102d4906114fb565b60405180910390fd5b60005b815181101561040a5760008282815181106102fd576102fd611530565b6020908102919091018101516001600160a01b0386166000818152600284526040808220848352909452928320928355600190920180546001600160a81b031916905591506323b872dd3061035a6000546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260448101849052606401600060405180830381600087803b1580156103a957600080fd5b505af11580156103bd573d6000803e3d6000fd5b50506040518392506001600160a01b03871691507f146396cb59c5f73907e921d01adbf3628c2943d8a544dc508f718a6d614f0b2790600090a350806104028161155c565b9150506102e0565b505050565b6000546001600160a01b031633146104395760405162461bcd60e51b81526004016102d4906114fb565b816001600160a01b0381166104905760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f74207370656369667920302061646472657373000000000000000060448201526064016102d4565b856001600160401b0316856001600160401b03161015806104b857506001600160401b038516155b6105045760405162461bcd60e51b815260206004820181905260248201527f53616c6520656e64206d7573742062652061667465722074686520737461727460448201526064016102d4565b60005b875181101561099357600088828151811061052457610524611530565b6020908102919091018101516001600160a01b038c81166000908152600284526040808220848352909452929092206001015490925016156105a85760405162461bcd60e51b815260206004820152601760248201527f53616c6520697320616c7265616479206372656174656400000000000000000060448201526064016102d4565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091528881600001906001600160401b031690816001600160401b0316815250508781602001906001600160401b031690816001600160401b0316815250508681604001906001600160801b031690816001600160801b0316815250508581606001906001600160a01b031690816001600160a01b0316815250508481608001901515908115158152505080600260008d6001600160a01b03166001600160a01b03168152602001908152602001600020600084815260200190815260200160002060008201518160000160006101000a8154816001600160401b0302191690836001600160401b0316021790555060208201518160000160086101000a8154816001600160401b0302191690836001600160401b0316021790555060408201518160000160106101000a8154816001600160801b0302191690836001600160801b0316021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160010160146101000a81548160ff021916908315150217905550905050336001600160a01b03168b6001600160a01b0316636352211e846040518263ffffffff1660e01b81526004016107a191815260200190565b602060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190611575565b6001600160a01b031603610857576040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b038c16906323b872dd90606401600060405180830381600087803b15801561083e57600080fd5b505af1158015610852573d6000803e3d6000fd5b505050505b6040516331a9108f60e11b81526004810183905230906001600160a01b038d1690636352211e90602401602060405180830381865afa15801561089e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c29190611575565b6001600160a01b03161461090e5760405162461bcd60e51b8152602060048201526013602482015272139195081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016102d4565b604080516001600160801b03891681526001600160401b038b811660208301528a16818301526001600160a01b0388811660608301528715156080830152915184928e16917f275cc7986d61092bc084c2e4b65ebf651a0454bae59c3dd836f243a0156f69a3919081900360a00190a35050808061098b9061155c565b915050610507565b505050505050505050565b6000546001600160a01b031633146109c85760405162461bcd60e51b81526004016102d4906114fb565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60018181548110610a2257600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b0382166000908152600260209081526040808320848452909152902054829082906001600160401b0316421015610ab35760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b60448201526064016102d4565b610abd8282611253565b610afa5760405162461bcd60e51b815260206004820152600e60248201526d14d85b19481a185cc8195b99195960921b60448201526064016102d4565b6001600160a01b038416600090815260026020908152604080832086845290915290206001015484908490600160a01b900460ff1615610c3d576000805b600154811015610bed57600060018281548110610b5757610b57611530565b6000918252602090912001546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610ba8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcc9190611592565b1115610bdb5760019150610bed565b80610be58161155c565b915050610b38565b5080610c3b5760405162461bcd60e51b815260206004820152601e60248201527f53656e64657220686173206e6f2077686974656c6973746564204e465473000060448201526064016102d4565b505b6001600160a01b038616600090815260026020908152604080832088845290915290205486908690600160801b90046001600160801b0316341015610cc45760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f7567682066756e647320746f20627579204e4654000000000060448201526064016102d4565b333214610d135760405162461bcd60e51b815260206004820152601760248201527f53656e646572206d75737420626520612077616c6c657400000000000000000060448201526064016102d4565b6001600160a01b0380891660009081526002602090815260408083208b84529091529020600101541680610d7f5760405162461bcd60e51b815260206004820152601360248201527214d85b1948191bd95cc81b9bdd08195e1a5cdd606a1b60448201526064016102d4565b6000816001600160a01b031634614e2090604051600060405180830381858888f193505050503d8060008114610dd1576040519150601f19603f3d011682016040523d82523d6000602084013e610dd6565b606091505b5050905080610e1d576001600160a01b038216600090815260036020526040902054610e039034906115ab565b6001600160a01b0383166000908152600360205260409020555b6040516323b872dd60e01b8152306004820152336024820152604481018a90526001600160a01b038b16906323b872dd90606401600060405180830381600087803b158015610e6b57600080fd5b505af1158015610e7f573d6000803e3d6000fd5b505050506001600160a01b038a1660008181526002602090815260408083208d84528252808320928355600190920180546001600160a81b031916905581516001600160801b033416815233918101919091528b92917fc5e48a17a7245813e7f1ccab1ea6219ea94e5df804724348cdcc938abeb169a5910160405180910390a350505050505050505050565b6001600160a01b03811660009081526003602052604081205490819003610f6e5760405162461bcd60e51b81526020600482015260166024820152756e6f206372656469747320746f20776974686472617760501b60448201526064016102d4565b6001600160a01b03821660008181526003602052604080822082905551909190614e2090849084818181858888f193505050503d8060008114610fcd576040519150601f19603f3d011682016040523d82523d6000602084013e610fd2565b606091505b505090508061040a5760405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b60448201526064016102d4565b6000546001600160a01b0316331461103f5760405162461bcd60e51b81526004016102d4906114fb565b6001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146110ba5760405162461bcd60e51b81526004016102d4906114fb565b600180546110c99082906115c3565b815481106110d9576110d9611530565b600091825260209091200154600180546001600160a01b03909216918390811061110557611105611530565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506001805480611144576111446115da565b600082815260209020810160001990810180546001600160a01b031916905501905550565b6000546001600160a01b031633146111935760405162461bcd60e51b81526004016102d4906114fb565b6001600160a01b0381166111f85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102d4565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382166000908152600260209081526040808320848452909152812054600160401b90046001600160401b031680158061129c5750806001600160401b031642105b949350505050565b6001600160a01b03811681146112b957600080fd5b50565b600080604083850312156112cf57600080fd5b82356112da816112a4565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261130f57600080fd5b813560206001600160401b038083111561132b5761132b6112e8565b8260051b604051601f19603f83011681018181108482111715611350576113506112e8565b60405293845285810183019383810192508785111561136e57600080fd5b83870191505b8482101561138d57813583529183019190830190611374565b979650505050505050565b600080604083850312156113ab57600080fd5b82356113b6816112a4565b915060208301356001600160401b038111156113d157600080fd5b6113dd858286016112fe565b9150509250929050565b80356001600160401b03811681146113fe57600080fd5b919050565b600080600080600080600060e0888a03121561141e57600080fd5b8735611429816112a4565b965060208801356001600160401b0381111561144457600080fd5b6114508a828b016112fe565b96505061145f604089016113e7565b945061146d606089016113e7565b935060808801356001600160801b038116811461148957600080fd5b925060a0880135611499816112a4565b915060c088013580151581146114ae57600080fd5b8091505092959891949750929550565b6000602082840312156114d057600080fd5b5035919050565b6000602082840312156114e957600080fd5b81356114f4816112a4565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161156e5761156e611546565b5060010190565b60006020828403121561158757600080fd5b81516114f4816112a4565b6000602082840312156115a457600080fd5b5051919050565b600082198211156115be576115be611546565b500190565b6000828210156115d5576115d5611546565b500390565b634e487b7160e01b600052603160045260246000fdfea264697066735822122002caa9e61c36f8f92bade124c4ea1cee3e503864395d74a0658b05640aa7f76764736f6c634300080e003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061009c5760003560e01c806399157d701161006457806399157d70146101f7578063bc24555a14610217578063c8851b341461022a578063d18e629c1461024a578063db2273381461026a578063f2fde38b1461028a57600080fd5b8063041fa0b8146100a15780630bf887b51461016e5780634b15f52a14610190578063715018a6146101b05780638da5cb5b146101c5575b600080fd5b3480156100ad57600080fd5b5061011e6100bc3660046112bc565b6002602090815260009283526040808420909152908252902080546001909101546001600160401b0380831692600160401b810490911691600160801b9091046001600160801b0316906001600160a01b03811690600160a01b900460ff1685565b604080516001600160401b0396871681529590941660208601526001600160801b03909216928401929092526001600160a01b0390911660608301521515608082015260a0015b60405180910390f35b34801561017a57600080fd5b5061018e610189366004611398565b6102aa565b005b34801561019c57600080fd5b5061018e6101ab366004611403565b61040f565b3480156101bc57600080fd5b5061018e61099e565b3480156101d157600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610165565b34801561020357600080fd5b506101df6102123660046114be565b610a12565b61018e6102253660046112bc565b610a3c565b34801561023657600080fd5b5061018e6102453660046114d7565b610f0c565b34801561025657600080fd5b5061018e6102653660046114d7565b611015565b34801561027657600080fd5b5061018e6102853660046114be565b611090565b34801561029657600080fd5b5061018e6102a53660046114d7565b611169565b6000546001600160a01b031633146102dd5760405162461bcd60e51b81526004016102d4906114fb565b60405180910390fd5b60005b815181101561040a5760008282815181106102fd576102fd611530565b6020908102919091018101516001600160a01b0386166000818152600284526040808220848352909452928320928355600190920180546001600160a81b031916905591506323b872dd3061035a6000546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260448101849052606401600060405180830381600087803b1580156103a957600080fd5b505af11580156103bd573d6000803e3d6000fd5b50506040518392506001600160a01b03871691507f146396cb59c5f73907e921d01adbf3628c2943d8a544dc508f718a6d614f0b2790600090a350806104028161155c565b9150506102e0565b505050565b6000546001600160a01b031633146104395760405162461bcd60e51b81526004016102d4906114fb565b816001600160a01b0381166104905760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f74207370656369667920302061646472657373000000000000000060448201526064016102d4565b856001600160401b0316856001600160401b03161015806104b857506001600160401b038516155b6105045760405162461bcd60e51b815260206004820181905260248201527f53616c6520656e64206d7573742062652061667465722074686520737461727460448201526064016102d4565b60005b875181101561099357600088828151811061052457610524611530565b6020908102919091018101516001600160a01b038c81166000908152600284526040808220848352909452929092206001015490925016156105a85760405162461bcd60e51b815260206004820152601760248201527f53616c6520697320616c7265616479206372656174656400000000000000000060448201526064016102d4565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091528881600001906001600160401b031690816001600160401b0316815250508781602001906001600160401b031690816001600160401b0316815250508681604001906001600160801b031690816001600160801b0316815250508581606001906001600160a01b031690816001600160a01b0316815250508481608001901515908115158152505080600260008d6001600160a01b03166001600160a01b03168152602001908152602001600020600084815260200190815260200160002060008201518160000160006101000a8154816001600160401b0302191690836001600160401b0316021790555060208201518160000160086101000a8154816001600160401b0302191690836001600160401b0316021790555060408201518160000160106101000a8154816001600160801b0302191690836001600160801b0316021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160010160146101000a81548160ff021916908315150217905550905050336001600160a01b03168b6001600160a01b0316636352211e846040518263ffffffff1660e01b81526004016107a191815260200190565b602060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190611575565b6001600160a01b031603610857576040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b038c16906323b872dd90606401600060405180830381600087803b15801561083e57600080fd5b505af1158015610852573d6000803e3d6000fd5b505050505b6040516331a9108f60e11b81526004810183905230906001600160a01b038d1690636352211e90602401602060405180830381865afa15801561089e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c29190611575565b6001600160a01b03161461090e5760405162461bcd60e51b8152602060048201526013602482015272139195081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016102d4565b604080516001600160801b03891681526001600160401b038b811660208301528a16818301526001600160a01b0388811660608301528715156080830152915184928e16917f275cc7986d61092bc084c2e4b65ebf651a0454bae59c3dd836f243a0156f69a3919081900360a00190a35050808061098b9061155c565b915050610507565b505050505050505050565b6000546001600160a01b031633146109c85760405162461bcd60e51b81526004016102d4906114fb565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60018181548110610a2257600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b0382166000908152600260209081526040808320848452909152902054829082906001600160401b0316421015610ab35760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b60448201526064016102d4565b610abd8282611253565b610afa5760405162461bcd60e51b815260206004820152600e60248201526d14d85b19481a185cc8195b99195960921b60448201526064016102d4565b6001600160a01b038416600090815260026020908152604080832086845290915290206001015484908490600160a01b900460ff1615610c3d576000805b600154811015610bed57600060018281548110610b5757610b57611530565b6000918252602090912001546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610ba8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcc9190611592565b1115610bdb5760019150610bed565b80610be58161155c565b915050610b38565b5080610c3b5760405162461bcd60e51b815260206004820152601e60248201527f53656e64657220686173206e6f2077686974656c6973746564204e465473000060448201526064016102d4565b505b6001600160a01b038616600090815260026020908152604080832088845290915290205486908690600160801b90046001600160801b0316341015610cc45760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f7567682066756e647320746f20627579204e4654000000000060448201526064016102d4565b333214610d135760405162461bcd60e51b815260206004820152601760248201527f53656e646572206d75737420626520612077616c6c657400000000000000000060448201526064016102d4565b6001600160a01b0380891660009081526002602090815260408083208b84529091529020600101541680610d7f5760405162461bcd60e51b815260206004820152601360248201527214d85b1948191bd95cc81b9bdd08195e1a5cdd606a1b60448201526064016102d4565b6000816001600160a01b031634614e2090604051600060405180830381858888f193505050503d8060008114610dd1576040519150601f19603f3d011682016040523d82523d6000602084013e610dd6565b606091505b5050905080610e1d576001600160a01b038216600090815260036020526040902054610e039034906115ab565b6001600160a01b0383166000908152600360205260409020555b6040516323b872dd60e01b8152306004820152336024820152604481018a90526001600160a01b038b16906323b872dd90606401600060405180830381600087803b158015610e6b57600080fd5b505af1158015610e7f573d6000803e3d6000fd5b505050506001600160a01b038a1660008181526002602090815260408083208d84528252808320928355600190920180546001600160a81b031916905581516001600160801b033416815233918101919091528b92917fc5e48a17a7245813e7f1ccab1ea6219ea94e5df804724348cdcc938abeb169a5910160405180910390a350505050505050505050565b6001600160a01b03811660009081526003602052604081205490819003610f6e5760405162461bcd60e51b81526020600482015260166024820152756e6f206372656469747320746f20776974686472617760501b60448201526064016102d4565b6001600160a01b03821660008181526003602052604080822082905551909190614e2090849084818181858888f193505050503d8060008114610fcd576040519150601f19603f3d011682016040523d82523d6000602084013e610fd2565b606091505b505090508061040a5760405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b60448201526064016102d4565b6000546001600160a01b0316331461103f5760405162461bcd60e51b81526004016102d4906114fb565b6001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146110ba5760405162461bcd60e51b81526004016102d4906114fb565b600180546110c99082906115c3565b815481106110d9576110d9611530565b600091825260209091200154600180546001600160a01b03909216918390811061110557611105611530565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506001805480611144576111446115da565b600082815260209020810160001990810180546001600160a01b031916905501905550565b6000546001600160a01b031633146111935760405162461bcd60e51b81526004016102d4906114fb565b6001600160a01b0381166111f85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102d4565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382166000908152600260209081526040808320848452909152812054600160401b90046001600160401b031680158061129c5750806001600160401b031642105b949350505050565b6001600160a01b03811681146112b957600080fd5b50565b600080604083850312156112cf57600080fd5b82356112da816112a4565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261130f57600080fd5b813560206001600160401b038083111561132b5761132b6112e8565b8260051b604051601f19603f83011681018181108482111715611350576113506112e8565b60405293845285810183019383810192508785111561136e57600080fd5b83870191505b8482101561138d57813583529183019190830190611374565b979650505050505050565b600080604083850312156113ab57600080fd5b82356113b6816112a4565b915060208301356001600160401b038111156113d157600080fd5b6113dd858286016112fe565b9150509250929050565b80356001600160401b03811681146113fe57600080fd5b919050565b600080600080600080600060e0888a03121561141e57600080fd5b8735611429816112a4565b965060208801356001600160401b0381111561144457600080fd5b6114508a828b016112fe565b96505061145f604089016113e7565b945061146d606089016113e7565b935060808801356001600160801b038116811461148957600080fd5b925060a0880135611499816112a4565b915060c088013580151581146114ae57600080fd5b8091505092959891949750929550565b6000602082840312156114d057600080fd5b5035919050565b6000602082840312156114e957600080fd5b81356114f4816112a4565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161156e5761156e611546565b5060010190565b60006020828403121561158757600080fd5b81516114f4816112a4565b6000602082840312156115a457600080fd5b5051919050565b600082198211156115be576115be611546565b500190565b6000828210156115d5576115d5611546565b500390565b634e487b7160e01b600052603160045260246000fdfea264697066735822122002caa9e61c36f8f92bade124c4ea1cee3e503864395d74a0658b05640aa7f76764736f6c634300080e0033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _whitelistedPassCollectionsAddresses (address[]):

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.