APE Price: $0.68 (-0.71%)

Contract

0xcE8877714765f468D153Bab0D818205E82480e33

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFTMarketplace

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
No with 200 runs

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

interface IERC721 {
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    function ownerOf(uint256 tokenId) external view returns (address);

    function getApproved(uint256 tokenId) external view returns (address);

    function isApprovedForAll(
        address owner,
        address operator
    ) external view returns (bool);

    function approve(address to, uint256 tokenId) external;
}

contract NFTMarketplace {
    struct Listing {
        address seller;
        uint256 price; // price in wei
    }

    // 存储每个NFT的上架信息
    mapping(uint256 => Listing) public listings;

    // NFT合约地址
    IERC721 public nftContract;

    // 市场事件
    event ItemListed(
        address indexed seller,
        uint256 indexed tokenId,
        uint256 price
    );
    event ItemDelisted(address indexed seller, uint256 indexed tokenId);
    event ItemPurchased(
        address indexed buyer,
        address indexed seller,
        uint256 indexed tokenId,
        uint256 price
    );
    event PriceUpdated(
        address indexed seller,
        uint256 indexed tokenId,
        uint256 newPrice
    );

    constructor(address _nftContract) {
        require(_nftContract != address(0), "Invalid NFT contract address");
        nftContract = IERC721(_nftContract);
    }

    // 上架NFT
    function listItem(uint256 tokenId, uint256 priceInWei) external {
        require(priceInWei > 0, "Price must be greater than zero");
        require(
            nftContract.ownerOf(tokenId) == msg.sender,
            "You are not the owner"
        );
        require(
            nftContract.getApproved(tokenId) == address(this) ||
                nftContract.isApprovedForAll(msg.sender, address(this)),
            "Marketplace not approved"
        );

        listings[tokenId] = Listing(msg.sender, priceInWei);

        emit ItemListed(msg.sender, tokenId, priceInWei);
    }

    // 修改NFT价格
    function updatePrice(uint256 tokenId, uint256 newPriceInWei) external {
        Listing storage listing = listings[tokenId];
        require(listing.seller == msg.sender, "You are not the seller");
        require(newPriceInWei > 0, "Price must be greater than zero");

        listing.price = newPriceInWei;

        emit PriceUpdated(msg.sender, tokenId, newPriceInWei);
    }

    // 下架NFT
    function delistItem(uint256 tokenId) external {
        Listing memory listing = listings[tokenId];
        require(listing.seller == msg.sender, "You are not the seller");

        delete listings[tokenId];

        emit ItemDelisted(msg.sender, tokenId);
    }

    // 购买NFT,自动从上架信息中获取价格
    function buyItem(uint256 tokenId) external payable {
        Listing memory listing = listings[tokenId];
        require(listing.price > 0, "Item not listed");

        // 自动从上架信息中获取价格并进行比较
        require(msg.value == listing.price, "Incorrect payment amount");

        // 转账给卖家
        payable(listing.seller).transfer(msg.value);

        // 转移NFT到买家
        nftContract.safeTransferFrom(listing.seller, msg.sender, tokenId);

        // 从列表中移除
        delete listings[tokenId];

        emit ItemPurchased(msg.sender, listing.seller, tokenId, msg.value);
    }

    // 获取NFT的上架信息
    function getListing(
        uint256 tokenId
    ) external view returns (Listing memory) {
        return listings[tokenId];
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_nftContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ItemDelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"ItemListed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"ItemPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"PriceUpdated","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"buyItem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"delistItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getListing","outputs":[{"components":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct NFTMarketplace.Listing","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"name":"listItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"listings","outputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"newPriceInWei","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620014483803806200144883398181016040528101906200003791906200015b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a090620001ee565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000210565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200012382620000f6565b9050919050565b620001358162000116565b81146200014157600080fd5b50565b60008151905062000155816200012a565b92915050565b600060208284031215620001745762000173620000f1565b5b6000620001848482850162000144565b91505092915050565b600082825260208201905092915050565b7f496e76616c6964204e465420636f6e7472616374206164647265737300000000600082015250565b6000620001d6601c836200018d565b9150620001e3826200019e565b602082019050919050565b600060208201905081810360008301526200020981620001c7565b9050919050565b61122880620002206000396000f3fe6080604052600436106100705760003560e01c8063883efa671161004e578063883efa6714610104578063d56d229d1461012d578063de74e57b14610158578063e7fb74c71461019657610070565b80631006163114610075578063107a274a1461009e57806382367b2d146100db575b600080fd5b34801561008157600080fd5b5061009c60048036038101906100979190610c58565b6101b2565b005b3480156100aa57600080fd5b506100c560048036038101906100c09190610c58565b610331565b6040516100d29190610d04565b60405180910390f35b3480156100e757600080fd5b5061010260048036038101906100fd9190610d1f565b6103bd565b005b34801561011057600080fd5b5061012b60048036038101906101269190610d1f565b610505565b005b34801561013957600080fd5b506101426108e3565b60405161014f9190610dbe565b60405180910390f35b34801561016457600080fd5b5061017f600480360381019061017a9190610c58565b610909565b60405161018d929190610df7565b60405180910390f35b6101b060048036038101906101ab9190610c58565b61094d565b005b60008060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090503373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146102a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029c90610e7d565b60405180910390fd5b600080838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090555050813373ffffffffffffffffffffffffffffffffffffffff167faca2f4260fb2b4e6aa5f68a07c66e0a461f508267354a97bbefb46e09c9b875d60405160405180910390a35050565b610339610bed565b6000808381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250509050919050565b600080600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045c90610e7d565b60405180910390fd5b600082116104a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049f90610ee9565b60405180910390fd5b818160010181905550823373ffffffffffffffffffffffffffffffffffffffff167fb556fac599c3c70efb9ab1fa725ecace6c81cc48d1455f886607def065f3e0c0846040516104f89190610f09565b60405180910390a3505050565b60008111610548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053f90610ee9565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016105ba9190610f09565b602060405180830381865afa1580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb9190610f50565b73ffffffffffffffffffffffffffffffffffffffff1614610651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064890610fc9565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663081812fc846040518263ffffffff1660e01b81526004016106c39190610f09565b602060405180830381865afa1580156106e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107049190610f50565b73ffffffffffffffffffffffffffffffffffffffff1614806107c05750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b815260040161077e929190610fe9565b602060405180830381865afa15801561079b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bf919061104a565b5b6107ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f6906110c3565b60405180910390fd5b60405180604001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018281525060008084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155905050813373ffffffffffffffffffffffffffffffffffffffff167f94e7b934c857a9e3202e8ed9c1f3f96e396b7d2b5885930d2001abcb51ff58fa836040516108d79190610f09565b60405180910390a35050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b60008060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090506000816020015111610a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c9061112f565b60405180910390fd5b80602001513414610a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a529061119b565b60405180910390fd5b806000015173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610aa5573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e826000015133856040518463ffffffff1660e01b8152600401610b09939291906111bb565b600060405180830381600087803b158015610b2357600080fd5b505af1158015610b37573d6000803e3d6000fd5b50505050600080838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055505081816000015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f53d5014fa27fa078ecec13b4311f8520b2192980af8b38cf8e870ed26576046434604051610be19190610f09565b60405180910390a45050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b600080fd5b6000819050919050565b610c3581610c22565b8114610c4057600080fd5b50565b600081359050610c5281610c2c565b92915050565b600060208284031215610c6e57610c6d610c1d565b5b6000610c7c84828501610c43565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610cb082610c85565b9050919050565b610cc081610ca5565b82525050565b610ccf81610c22565b82525050565b604082016000820151610ceb6000850182610cb7565b506020820151610cfe6020850182610cc6565b50505050565b6000604082019050610d196000830184610cd5565b92915050565b60008060408385031215610d3657610d35610c1d565b5b6000610d4485828601610c43565b9250506020610d5585828601610c43565b9150509250929050565b6000819050919050565b6000610d84610d7f610d7a84610c85565b610d5f565b610c85565b9050919050565b6000610d9682610d69565b9050919050565b6000610da882610d8b565b9050919050565b610db881610d9d565b82525050565b6000602082019050610dd36000830184610daf565b92915050565b610de281610ca5565b82525050565b610df181610c22565b82525050565b6000604082019050610e0c6000830185610dd9565b610e196020830184610de8565b9392505050565b600082825260208201905092915050565b7f596f7520617265206e6f74207468652073656c6c657200000000000000000000600082015250565b6000610e67601683610e20565b9150610e7282610e31565b602082019050919050565b60006020820190508181036000830152610e9681610e5a565b9050919050565b7f5072696365206d7573742062652067726561746572207468616e207a65726f00600082015250565b6000610ed3601f83610e20565b9150610ede82610e9d565b602082019050919050565b60006020820190508181036000830152610f0281610ec6565b9050919050565b6000602082019050610f1e6000830184610de8565b92915050565b610f2d81610ca5565b8114610f3857600080fd5b50565b600081519050610f4a81610f24565b92915050565b600060208284031215610f6657610f65610c1d565b5b6000610f7484828501610f3b565b91505092915050565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b6000610fb3601583610e20565b9150610fbe82610f7d565b602082019050919050565b60006020820190508181036000830152610fe281610fa6565b9050919050565b6000604082019050610ffe6000830185610dd9565b61100b6020830184610dd9565b9392505050565b60008115159050919050565b61102781611012565b811461103257600080fd5b50565b6000815190506110448161101e565b92915050565b6000602082840312156110605761105f610c1d565b5b600061106e84828501611035565b91505092915050565b7f4d61726b6574706c616365206e6f7420617070726f7665640000000000000000600082015250565b60006110ad601883610e20565b91506110b882611077565b602082019050919050565b600060208201905081810360008301526110dc816110a0565b9050919050565b7f4974656d206e6f74206c69737465640000000000000000000000000000000000600082015250565b6000611119600f83610e20565b9150611124826110e3565b602082019050919050565b600060208201905081810360008301526111488161110c565b9050919050565b7f496e636f7272656374207061796d656e7420616d6f756e740000000000000000600082015250565b6000611185601883610e20565b91506111908261114f565b602082019050919050565b600060208201905081810360008301526111b481611178565b9050919050565b60006060820190506111d06000830186610dd9565b6111dd6020830185610dd9565b6111ea6040830184610de8565b94935050505056fea264697066735822122087eb7a4a04751b4a9c15bf229aeef03a0591a1a38bccae7ef56c09eb000ef16764736f6c634300081500330000000000000000000000003bc555f23141e6e4edffad999a71ecfecc44c3fe

Deployed Bytecode

0x6080604052600436106100705760003560e01c8063883efa671161004e578063883efa6714610104578063d56d229d1461012d578063de74e57b14610158578063e7fb74c71461019657610070565b80631006163114610075578063107a274a1461009e57806382367b2d146100db575b600080fd5b34801561008157600080fd5b5061009c60048036038101906100979190610c58565b6101b2565b005b3480156100aa57600080fd5b506100c560048036038101906100c09190610c58565b610331565b6040516100d29190610d04565b60405180910390f35b3480156100e757600080fd5b5061010260048036038101906100fd9190610d1f565b6103bd565b005b34801561011057600080fd5b5061012b60048036038101906101269190610d1f565b610505565b005b34801561013957600080fd5b506101426108e3565b60405161014f9190610dbe565b60405180910390f35b34801561016457600080fd5b5061017f600480360381019061017a9190610c58565b610909565b60405161018d929190610df7565b60405180910390f35b6101b060048036038101906101ab9190610c58565b61094d565b005b60008060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090503373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146102a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029c90610e7d565b60405180910390fd5b600080838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090555050813373ffffffffffffffffffffffffffffffffffffffff167faca2f4260fb2b4e6aa5f68a07c66e0a461f508267354a97bbefb46e09c9b875d60405160405180910390a35050565b610339610bed565b6000808381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250509050919050565b600080600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045c90610e7d565b60405180910390fd5b600082116104a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049f90610ee9565b60405180910390fd5b818160010181905550823373ffffffffffffffffffffffffffffffffffffffff167fb556fac599c3c70efb9ab1fa725ecace6c81cc48d1455f886607def065f3e0c0846040516104f89190610f09565b60405180910390a3505050565b60008111610548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053f90610ee9565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016105ba9190610f09565b602060405180830381865afa1580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb9190610f50565b73ffffffffffffffffffffffffffffffffffffffff1614610651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064890610fc9565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663081812fc846040518263ffffffff1660e01b81526004016106c39190610f09565b602060405180830381865afa1580156106e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107049190610f50565b73ffffffffffffffffffffffffffffffffffffffff1614806107c05750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b815260040161077e929190610fe9565b602060405180830381865afa15801561079b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bf919061104a565b5b6107ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f6906110c3565b60405180910390fd5b60405180604001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018281525060008084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155905050813373ffffffffffffffffffffffffffffffffffffffff167f94e7b934c857a9e3202e8ed9c1f3f96e396b7d2b5885930d2001abcb51ff58fa836040516108d79190610f09565b60405180910390a35050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b60008060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090506000816020015111610a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c9061112f565b60405180910390fd5b80602001513414610a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a529061119b565b60405180910390fd5b806000015173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610aa5573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e826000015133856040518463ffffffff1660e01b8152600401610b09939291906111bb565b600060405180830381600087803b158015610b2357600080fd5b505af1158015610b37573d6000803e3d6000fd5b50505050600080838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055505081816000015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f53d5014fa27fa078ecec13b4311f8520b2192980af8b38cf8e870ed26576046434604051610be19190610f09565b60405180910390a45050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b600080fd5b6000819050919050565b610c3581610c22565b8114610c4057600080fd5b50565b600081359050610c5281610c2c565b92915050565b600060208284031215610c6e57610c6d610c1d565b5b6000610c7c84828501610c43565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610cb082610c85565b9050919050565b610cc081610ca5565b82525050565b610ccf81610c22565b82525050565b604082016000820151610ceb6000850182610cb7565b506020820151610cfe6020850182610cc6565b50505050565b6000604082019050610d196000830184610cd5565b92915050565b60008060408385031215610d3657610d35610c1d565b5b6000610d4485828601610c43565b9250506020610d5585828601610c43565b9150509250929050565b6000819050919050565b6000610d84610d7f610d7a84610c85565b610d5f565b610c85565b9050919050565b6000610d9682610d69565b9050919050565b6000610da882610d8b565b9050919050565b610db881610d9d565b82525050565b6000602082019050610dd36000830184610daf565b92915050565b610de281610ca5565b82525050565b610df181610c22565b82525050565b6000604082019050610e0c6000830185610dd9565b610e196020830184610de8565b9392505050565b600082825260208201905092915050565b7f596f7520617265206e6f74207468652073656c6c657200000000000000000000600082015250565b6000610e67601683610e20565b9150610e7282610e31565b602082019050919050565b60006020820190508181036000830152610e9681610e5a565b9050919050565b7f5072696365206d7573742062652067726561746572207468616e207a65726f00600082015250565b6000610ed3601f83610e20565b9150610ede82610e9d565b602082019050919050565b60006020820190508181036000830152610f0281610ec6565b9050919050565b6000602082019050610f1e6000830184610de8565b92915050565b610f2d81610ca5565b8114610f3857600080fd5b50565b600081519050610f4a81610f24565b92915050565b600060208284031215610f6657610f65610c1d565b5b6000610f7484828501610f3b565b91505092915050565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b6000610fb3601583610e20565b9150610fbe82610f7d565b602082019050919050565b60006020820190508181036000830152610fe281610fa6565b9050919050565b6000604082019050610ffe6000830185610dd9565b61100b6020830184610dd9565b9392505050565b60008115159050919050565b61102781611012565b811461103257600080fd5b50565b6000815190506110448161101e565b92915050565b6000602082840312156110605761105f610c1d565b5b600061106e84828501611035565b91505092915050565b7f4d61726b6574706c616365206e6f7420617070726f7665640000000000000000600082015250565b60006110ad601883610e20565b91506110b882611077565b602082019050919050565b600060208201905081810360008301526110dc816110a0565b9050919050565b7f4974656d206e6f74206c69737465640000000000000000000000000000000000600082015250565b6000611119600f83610e20565b9150611124826110e3565b602082019050919050565b600060208201905081810360008301526111488161110c565b9050919050565b7f496e636f7272656374207061796d656e7420616d6f756e740000000000000000600082015250565b6000611185601883610e20565b91506111908261114f565b602082019050919050565b600060208201905081810360008301526111b481611178565b9050919050565b60006060820190506111d06000830186610dd9565b6111dd6020830185610dd9565b6111ea6040830184610de8565b94935050505056fea264697066735822122087eb7a4a04751b4a9c15bf229aeef03a0591a1a38bccae7ef56c09eb000ef16764736f6c63430008150033

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

0000000000000000000000003bc555f23141e6e4edffad999a71ecfecc44c3fe

-----Decoded View---------------
Arg [0] : _nftContract (address): 0x3bc555F23141e6E4eDFfaD999A71ecfEcC44c3FE

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003bc555f23141e6e4edffad999a71ecfecc44c3fe


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

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.