20M+ users trust MoonPay worldwide. Checkout with your preferred payment method.
Ready to onboard to Ethereum? With MetaMask Portfolio, you're in control.
Don’t invest unless you’re prepared to lose all the money you invest.
Everyday giveaways up to 100 ETH, Lucky Spins. Deposit BONUS 300% and Cashbacks!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Slots, Roulette, Poker & more - Proud sponsors of UFC, Everton & StakeF1 team!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Anonymous play on awesome games - sign up now for 25 free jackpot spins - worth $100s!
100s of games, generous bonuses, 20+ years of trusted gaming. Join CryptoWins & start winning today!
Overview
ETH Balance
Eth Value
$986,026.77 (@ $3,325.53/ETH)Token Holdings
Could not find any matches!
- ERC-20 Tokens (68)128 CNNCNN Token (CNN)100 NTKNetkoin (NTK)$0.00@0.00150 CCOSCrowdCoinage (CCOS)4.43 GNXGenaro X (GNX)$0.00@0.00041 LPTLivepeer Tok... (LPT)$12.46@12.465 OCNOCoin (OCN)$0.00@0.0010 OLEOlive (OLE)0.00000144 PLRPILLAR (PLR)$0.00@0.00450.88888889 PROPro (PRO)8 STTScatter.cx (STT)$0.00@0.007.77 VINVIN (VIN)1 WELWelcome Coin (WEL)1 XMXXMAX (XMX)$0.00@0.00100.002459 USDCUSDC (USDC)$100.00@1.00911 HEALPAn Etheal Pr... (HEALP)750 ASSAncientSeaSh... (ASS)100 AVOAvocado (AVO)3,800 BBUCKBachelorBuck... (BBUCK)8 BECBeautyChain8 BECBeautyChain (BEC)59,720 BEBbetbeb.com M... (BEB)50 BITCHBitch.fyi (BITCH)31,000 BBXBLOCKBUSTER (BBX)5.1 CENCarrots (CEN)6,883.117777 CFTEST2CF Test 2 (CFTEST...)9.84528017 EBKEbakus69 BTCLITEGOLDCASHeBTCLITEGOLD... (BTCLIT...)10.05311595 EMOEMO tokens (EMO)0.99 ERC20ERC201 KHFRFlowerRed (KHFR)5,000 GSGCGSG coin (GSGC)884 HINTHint100 INSURInsurChain C... (INSUR)100 INSURInsurChain2.02 KHKHKittyHawk (KHKH)500 KUVKUVERIT$0.00@0.003,249.94324707 LGBTLesbians-Gay... (LGBT)100,000 MGSMigros Marke... (MGS)0.4 MYOUMYOUToken (MYOU)1 KHNGNerdGlasses (KHNG)0.15 LIQUIDNetkoin Liqu... (LIQUID)108 NTNNeutron (NTN)200 PRQParsiq Token1 KHPPPawMePls (KHPP)1 LGBTQPride5 PMODPromodl15 BONUSPROVER.IO ad... (BONUS)1 SPBSuperblue (SPB)1 KHTHTopHat (KHTH)100 UNIXUNIWORTH COI... (UNIX)3 KHHBValentinesHe... (KHHB)0.0002 WDTVODA TOKEN (WDT)1 KHWFWayfarers (KHWF)525 WZIWizzle Infin... (WZI)21,358.7 YOOYooba token88,888 betbeb.com启动公链 (betbeb...)39.76 FSCB食源链(Food Sou... (FSCB)100 777BINGO Entertainment1,740 KCNKitchan Network1,024 KITTENKitten Coin1.7 TokenERC-20 TOKEN*[Suspicious]3,999.99 TokenERC-20 TOKEN*[Suspicious]1,400,000 TokenERC-20 TOKEN*[Spam]98,127 TokenERC-20 TOKEN*[Spam]16,888 TokenERC-20 TOKEN*[Spam]10 TokenERC-20 TOKEN*[Spam]7,000 TokenERC-20 TOKEN*[Spam]25,000 TokenERC-20 TOKEN*[Spam]NFT Tokens (17)DPBDeepBlackERC-721FLOWERFlowerERC-721KODAKnownOriginDigitalAssetERC-721NDIGINeon District In-Game ItemERC-721CKCryptoKittiesx164011ERC-721ETHCyberpop GalleryERC-721NEONDISTRICT.IOLast Call To Join Founders Key WaitlistERC-721MCPWPMCP Welcome PackERC-721claim rewards on pooled-ether.compooled-ether.comERC-1155RWCReal World Ceremony Invite in the Virtual WorldERC-721
More Info
Private Name Tags
ContractCreator
Multichain Info
1 address found via
- Transactions
- Internal Transactions
- Token Transfers (ERC-20)
- NFT Transfers
- Contract
- Events
- Analytics
- Multichain Portfolio
- Cards New
- Filter by Tx Type:
- Tx
- Internal Tx
- ERC-20
- NFTs
Latest 25 from a total of 1,197,793 transactions
(More than 25 Pending Txns)
Transaction Hash |
Method
|
Block
|
From
|
To
|
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
0x9036698afced8236cc911266b22374770e734da010bc21e16603fc0506e27cf9 | Bid | (pending) | 2024-11-26 20:32:43 | 26 mins ago | 1732653163 | IN | 0.005 ETH$16.63 | (Pending) | (Pending) | |||
0xd7560f5cebbb06b4f646cfe425e8c359afc7f05e57bdf3c4fadc7f0746e0b3a7 | Bid | (pending) | 2024-11-26 20:32:39 | 26 mins ago | 1732653159 | IN | 0.005 ETH$16.63 | (Pending) | (Pending) | |||
0xd237b77c3d1ed4a116e017950d2a4be3d8ce3e3affd04f93678cbc6cfded3a92 | Bid | (pending) | 2024-11-26 20:24:14 | 35 mins ago | 1732652654 | IN | 0.005 ETH$16.63 | (Pending) | (Pending) | |||
0xef99799cc421c87d660344d995a5abcc6991dd08682f7423789c37164b892e48 | Bid | (pending) | 2024-11-26 20:14:02 | 45 mins ago | 1732652042 | IN | 0.0098704959 ETH$32.82 | (Pending) | (Pending) | |||
0x8a37bd83c7063137d2816be7f2834763867dd8d7c0c5a82ff93a3f907c093360 | Bid | (pending) | 2024-11-26 19:59:05 | 1 hr ago | 1732651145 | IN | 0.001 ETH$3.33 | (Pending) | (Pending) | |||
0xf0346249d605197f0d43ac48ca5bfde913ae4c886a4e8e5ac53bec245c9d4322 | Bid | (pending) | 2024-11-26 19:59:05 | 1 hr ago | 1732651145 | IN | 0.005 ETH$16.63 | (Pending) | (Pending) | |||
0x45e9fecd8bd648d3eca9f88b0eb6f1d0414ed3f98b201320617fe8ec1718af73 | Cancel Auction | (pending) | 2024-11-26 19:53:18 | 1 hr ago | 1732650798 | IN | 0 ETH$0.00 | (Pending) | (Pending) | |||
0xc3ce98959f1ea887cf283d9a7175924b3a5a6b077e6e27a06c68192d5674752a | Bid | (pending) | 2024-11-26 19:51:27 | 1 hr ago | 1732650687 | IN | 0.0142786848 ETH$47.48 | (Pending) | (Pending) | |||
0x829178d7f04dd51e4e4ddfca26337e4407fea782016721853db9c74d37d3e97b | Bid | (pending) | 2024-11-26 19:43:57 | 1 hr ago | 1732650237 | IN | 0.005 ETH$16.63 | (Pending) | (Pending) | |||
0x7a70d7ee72b5714d61568b3e73096eb83ab0d233b06cbc96ac0554af9832e6ce | Bid | (pending) | 2024-11-26 19:37:14 | 1 hr ago | 1732649834 | IN | 0.0053877969 ETH$17.92 | (Pending) | (Pending) | |||
0xd1194f4ec083a85382d4c2231722f24507fbbc9b39ffc61dd6fc5b3432a6dcc9 | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.005 ETH$16.63 | (Pending) | (Pending) | |||
0x31352ecaf873a7f25c291b63529c788c95161952e4987e471e8ddfbad424e079 | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.005 ETH$16.63 | (Pending) | (Pending) | |||
0x07c697709c92d672373f9fc4dd169932c5030d9a9b20a771724ce3fb45430310 | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.007 ETH$23.28 | (Pending) | (Pending) | |||
0x463095a30aee04be65afcba3f0fb148fa3f0ee24f39446e340ea01a3922bce1b | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.019 ETH$63.18 | (Pending) | (Pending) | |||
0x8ed1a4720368461bdc82c9e610e07f7f9b7dced83ed1e9a8efd99984c484ed39 | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.0197 ETH$65.51 | (Pending) | (Pending) | |||
0x4a1c854a6cab4173b881469433cd7cefa311f4d9741634203ffeae9ed39cc0da | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.006117281 ETH$20.34 | (Pending) | (Pending) | |||
0xc7a35bbde10ccdb6322ba77349727502b4e25d58087506f3fc06e673ce44ab1a | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.004918043 ETH$16.36 | (Pending) | (Pending) | |||
0xd63f36fe976f924932e7c3d7f095f99847eb7b69eb29f657eb0529d92cb57b2f | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.014 ETH$46.56 | (Pending) | (Pending) | |||
0xc2b033e1fd885f801fcb3c9cc545e14153080e66812b26d41d23050ef043d52e | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.0046283695 ETH$15.39 | (Pending) | (Pending) | |||
0x49962dc9069ea0c0f648a6b349eb88d3e1e7639460f93f5c2e4a4ff2a8a62e54 | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.005 ETH$16.63 | (Pending) | (Pending) | |||
0x8b663efb161eb7056489bb40a06680d26c07dd74579eabf76c03e51987b12f1c | Bid | (pending) | 2024-11-26 19:29:41 | 1 hr ago | 1732649381 | IN | 0.0044227371 ETH$14.71 | (Pending) | (Pending) | |||
0x9c6e2a98530de64d330cb3a8381dc32b59bbef077bf649b93805608386ea319d | Bid | (pending) | 2024-11-26 19:23:17 | 1 hr ago | 1732648997 | IN | 0.011 ETH$36.58 | (Pending) | (Pending) | |||
0x138c958edc39f10a206bd37edc1e61777856f582e293a0a4234a48becf5d31c8 | Bid | (pending) | 2024-11-26 19:10:08 | 1 hr ago | 1732648208 | IN | 0.0025879673 ETH$8.61 | (Pending) | (Pending) | |||
0x3a77e4ad893df53e82e89c063c19f0705034ade5e24c859726b4145b2c5eeaaa | Cancel Auction | (pending) | 2024-11-26 19:00:23 | 1 hr ago | 1732647623 | IN | 0 ETH$0.00 | (Pending) | (Pending) | |||
0x29e45b29b92f8098436d586d790102f6e59ab0eda70aee0c00ba1997df0e4ff2 | Bid | (pending) | 2024-11-25 7:34:39 | 37 hrs ago | 1732520079 | IN | 0.005 ETH$16.63 | (Pending) | (Pending) |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||||
---|---|---|---|---|---|---|---|---|
21273268 | 2024-11-26 16:58:35 | 4 hrs ago | 1732640315 | 0.048125 ETH$160.04 | ||||
21269795 | 2024-11-26 5:20:23 | 15 hrs ago | 1732598423 | 0.0028875 ETH$9.60 | ||||
21265518 | 2024-11-25 14:58:23 | 30 hrs ago | 1732546703 | 0.0105875 ETH$35.21 | ||||
21261854 | 2024-11-25 2:42:11 | 42 hrs ago | 1732502531 | 0.0028875 ETH$9.60 | ||||
21261852 | 2024-11-25 2:41:47 | 42 hrs ago | 1732502507 | 0.048125 ETH$160.04 | ||||
21259531 | 2024-11-24 18:55:47 | 2 days ago | 1732474547 | 0.00385 ETH$12.80 | ||||
21258274 | 2024-11-24 14:43:11 | 2 days ago | 1732459391 | 0.00000002 ETH$0.00 | ||||
21258274 | 2024-11-24 14:43:11 | 2 days ago | 1732459391 | 0.00221763 ETH$7.37 | ||||
21258254 | 2024-11-24 14:39:11 | 2 days ago | 1732459151 | 0.0048125 ETH$16.00 | ||||
21256663 | 2024-11-24 9:18:47 | 2 days ago | 1732439927 | 0.00000003 ETH$0.00 | ||||
21256663 | 2024-11-24 9:18:47 | 2 days ago | 1732439927 | 0.00802694 ETH$26.69 | ||||
21254436 | 2024-11-24 1:51:47 | 2 days ago | 1732413107 | 0.0028875 ETH$9.60 | ||||
21254273 | 2024-11-24 1:19:11 | 2 days ago | 1732411151 | 0.0028875 ETH$9.60 | ||||
21253621 | 2024-11-23 23:08:11 | 2 days ago | 1732403291 | 0.048125 ETH$160.04 | ||||
21253130 | 2024-11-23 21:29:35 | 2 days ago | 1732397375 | 0.0048125 ETH$16.00 | ||||
21241710 | 2024-11-22 7:14:35 | 4 days ago | 1732259675 | 0.028875 ETH$96.02 | ||||
21234495 | 2024-11-21 7:04:11 | 5 days ago | 1732172651 | 0.0048125 ETH$16.00 | ||||
21233315 | 2024-11-21 3:06:35 | 5 days ago | 1732158395 | 0.00000018 ETH$0.00 | ||||
21233315 | 2024-11-21 3:06:35 | 5 days ago | 1732158395 | 0.04045754 ETH$134.54 | ||||
21230224 | 2024-11-20 16:45:23 | 6 days ago | 1732121123 | 0.00000026 ETH$0.00 | ||||
21230224 | 2024-11-20 16:45:23 | 6 days ago | 1732121123 | 0.04012551 ETH$133.44 | ||||
21230069 | 2024-11-20 16:14:11 | 6 days ago | 1732119251 | 0.001925 ETH$6.40 | ||||
21230064 | 2024-11-20 16:13:11 | 6 days ago | 1732119191 | 0.0028875 ETH$9.60 | ||||
21227989 | 2024-11-20 9:14:59 | 6 days ago | 1732094099 | 0.048125 ETH$160.04 | ||||
21227983 | 2024-11-20 9:13:47 | 6 days ago | 1732094027 | 0.048125 ETH$160.04 |
Contract Source Code (Solidity)
- contract Ownable
- - function Ownable()
- - function transferOwnership(address ne ...
- contract ERC721
- - function totalSupply()
- - function balanceOf(address _owner)
- - function ownerOf(uint256 _tokenId)
- - function approve(address _to, uint256 ...
- - function transfer(address _to, uint25 ...
- - function transferFrom(address _from, ...
- - function supportsInterface(bytes4 _in ...
- contract ClockAuctionBase
- - function _owns(address _claimant, uin ...
- - function _escrow(address _owner, uint ...
- - function _transfer(address _receiver, ...
- - function _addAuction(uint256 _tokenId ...
- - function _cancelAuction(uint256 _toke ...
- - function _bid(uint256 _tokenId, uint2 ...
- - function _removeAuction(uint256 _toke ...
- - function _isOnAuction(Auction storage ...
- - function _currentPrice(Auction storag ...
- - function _computeCurrentPrice(
- - function _computeCut(uint256 _price)
- contract Pausable is Ownable
- - function pause()
- - function unpause()
- contract ClockAuction is Pausable, ...
- - function ClockAuction(address _nftAdd ...
- - function withdrawBalance()
- - function createAuction(
- - function bid(uint256 _tokenId)
- - function cancelAuction(uint256 _token ...
- - function cancelAuctionWhenPaused(uint ...
- - function getAuction(uint256 _tokenId)
- - function getCurrentPrice(uint256 _tok ...
- contract SaleClockAuction is Clock ... *
- - function SaleClockAuction(address _nf ...
- - function createAuction(
- - function bid(uint256 _tokenId)
- - function averageGen0SalePrice()
/** *Submitted for verification at Etherscan.io on 2017-11-28 */ pragma solidity ^0.4.11; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) onlyOwner { if (newOwner != address(0)) { owner = newOwner; } } } /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Dieter Shirley <[email protected]> (https://github.com/dete) contract ERC721 { // Required methods function totalSupply() public view returns (uint256 total); function balanceOf(address _owner) public view returns (uint256 balance); function ownerOf(uint256 _tokenId) external view returns (address owner); function approve(address _to, uint256 _tokenId) external; function transfer(address _to, uint256 _tokenId) external; function transferFrom(address _from, address _to, uint256 _tokenId) external; // Events event Transfer(address from, address to, uint256 tokenId); event Approval(address owner, address approved, uint256 tokenId); // Optional // function name() public view returns (string name); // function symbol() public view returns (string symbol); // function tokensOfOwner(address _owner) external view returns (uint256[] tokenIds); // function tokenMetadata(uint256 _tokenId, string _preferredTransport) public view returns (string infoUrl); // ERC-165 Compatibility (https://github.com/ethereum/EIPs/issues/165) function supportsInterface(bytes4 _interfaceID) external view returns (bool); } /// @title Auction Core /// @dev Contains models, variables, and internal methods for the auction. /// @notice We omit a fallback function to prevent accidental sends to this contract. contract ClockAuctionBase { // Represents an auction on an NFT struct Auction { // Current owner of NFT address seller; // Price (in wei) at beginning of auction uint128 startingPrice; // Price (in wei) at end of auction uint128 endingPrice; // Duration (in seconds) of auction uint64 duration; // Time when auction started // NOTE: 0 if this auction has been concluded uint64 startedAt; } // Reference to contract tracking NFT ownership ERC721 public nonFungibleContract; // Cut owner takes on each auction, measured in basis points (1/100 of a percent). // Values 0-10,000 map to 0%-100% uint256 public ownerCut; // Map from token ID to their corresponding auction. mapping (uint256 => Auction) tokenIdToAuction; event AuctionCreated(uint256 tokenId, uint256 startingPrice, uint256 endingPrice, uint256 duration); event AuctionSuccessful(uint256 tokenId, uint256 totalPrice, address winner); event AuctionCancelled(uint256 tokenId); /// @dev Returns true if the claimant owns the token. /// @param _claimant - Address claiming to own the token. /// @param _tokenId - ID of token whose ownership to verify. function _owns(address _claimant, uint256 _tokenId) internal view returns (bool) { return (nonFungibleContract.ownerOf(_tokenId) == _claimant); } /// @dev Escrows the NFT, assigning ownership to this contract. /// Throws if the escrow fails. /// @param _owner - Current owner address of token to escrow. /// @param _tokenId - ID of token whose approval to verify. function _escrow(address _owner, uint256 _tokenId) internal { // it will throw if transfer fails nonFungibleContract.transferFrom(_owner, this, _tokenId); } /// @dev Transfers an NFT owned by this contract to another address. /// Returns true if the transfer succeeds. /// @param _receiver - Address to transfer NFT to. /// @param _tokenId - ID of token to transfer. function _transfer(address _receiver, uint256 _tokenId) internal { // it will throw if transfer fails nonFungibleContract.transfer(_receiver, _tokenId); } /// @dev Adds an auction to the list of open auctions. Also fires the /// AuctionCreated event. /// @param _tokenId The ID of the token to be put on auction. /// @param _auction Auction to add. function _addAuction(uint256 _tokenId, Auction _auction) internal { // Require that all auctions have a duration of // at least one minute. (Keeps our math from getting hairy!) require(_auction.duration >= 1 minutes); tokenIdToAuction[_tokenId] = _auction; AuctionCreated( uint256(_tokenId), uint256(_auction.startingPrice), uint256(_auction.endingPrice), uint256(_auction.duration) ); } /// @dev Cancels an auction unconditionally. function _cancelAuction(uint256 _tokenId, address _seller) internal { _removeAuction(_tokenId); _transfer(_seller, _tokenId); AuctionCancelled(_tokenId); } /// @dev Computes the price and transfers winnings. /// Does NOT transfer ownership of token. function _bid(uint256 _tokenId, uint256 _bidAmount) internal returns (uint256) { // Get a reference to the auction struct Auction storage auction = tokenIdToAuction[_tokenId]; // Explicitly check that this auction is currently live. // (Because of how Ethereum mappings work, we can't just count // on the lookup above failing. An invalid _tokenId will just // return an auction object that is all zeros.) require(_isOnAuction(auction)); // Check that the bid is greater than or equal to the current price uint256 price = _currentPrice(auction); require(_bidAmount >= price); // Grab a reference to the seller before the auction struct // gets deleted. address seller = auction.seller; // The bid is good! Remove the auction before sending the fees // to the sender so we can't have a reentrancy attack. _removeAuction(_tokenId); // Transfer proceeds to seller (if there are any!) if (price > 0) { // Calculate the auctioneer's cut. // (NOTE: _computeCut() is guaranteed to return a // value <= price, so this subtraction can't go negative.) uint256 auctioneerCut = _computeCut(price); uint256 sellerProceeds = price - auctioneerCut; // NOTE: Doing a transfer() in the middle of a complex // method like this is generally discouraged because of // reentrancy attacks and DoS attacks if the seller is // a contract with an invalid fallback function. We explicitly // guard against reentrancy attacks by removing the auction // before calling transfer(), and the only thing the seller // can DoS is the sale of their own asset! (And if it's an // accident, they can call cancelAuction(). ) seller.transfer(sellerProceeds); } // Calculate any excess funds included with the bid. If the excess // is anything worth worrying about, transfer it back to bidder. // NOTE: We checked above that the bid amount is greater than or // equal to the price so this cannot underflow. uint256 bidExcess = _bidAmount - price; // Return the funds. Similar to the previous transfer, this is // not susceptible to a re-entry attack because the auction is // removed before any transfers occur. msg.sender.transfer(bidExcess); // Tell the world! AuctionSuccessful(_tokenId, price, msg.sender); return price; } /// @dev Removes an auction from the list of open auctions. /// @param _tokenId - ID of NFT on auction. function _removeAuction(uint256 _tokenId) internal { delete tokenIdToAuction[_tokenId]; } /// @dev Returns true if the NFT is on auction. /// @param _auction - Auction to check. function _isOnAuction(Auction storage _auction) internal view returns (bool) { return (_auction.startedAt > 0); } /// @dev Returns current price of an NFT on auction. Broken into two /// functions (this one, that computes the duration from the auction /// structure, and the other that does the price computation) so we /// can easily test that the price computation works correctly. function _currentPrice(Auction storage _auction) internal view returns (uint256) { uint256 secondsPassed = 0; // A bit of insurance against negative values (or wraparound). // Probably not necessary (since Ethereum guarnatees that the // now variable doesn't ever go backwards). if (now > _auction.startedAt) { secondsPassed = now - _auction.startedAt; } return _computeCurrentPrice( _auction.startingPrice, _auction.endingPrice, _auction.duration, secondsPassed ); } /// @dev Computes the current price of an auction. Factored out /// from _currentPrice so we can run extensive unit tests. /// When testing, make this function public and turn on /// `Current price computation` test suite. function _computeCurrentPrice( uint256 _startingPrice, uint256 _endingPrice, uint256 _duration, uint256 _secondsPassed ) internal pure returns (uint256) { // NOTE: We don't use SafeMath (or similar) in this function because // all of our public functions carefully cap the maximum values for // time (at 64-bits) and currency (at 128-bits). _duration is // also known to be non-zero (see the require() statement in // _addAuction()) if (_secondsPassed >= _duration) { // We've reached the end of the dynamic pricing portion // of the auction, just return the end price. return _endingPrice; } else { // Starting price can be higher than ending price (and often is!), so // this delta can be negative. int256 totalPriceChange = int256(_endingPrice) - int256(_startingPrice); // This multiplication can't overflow, _secondsPassed will easily fit within // 64-bits, and totalPriceChange will easily fit within 128-bits, their product // will always fit within 256-bits. int256 currentPriceChange = totalPriceChange * int256(_secondsPassed) / int256(_duration); // currentPriceChange can be negative, but if so, will have a magnitude // less that _startingPrice. Thus, this result will always end up positive. int256 currentPrice = int256(_startingPrice) + currentPriceChange; return uint256(currentPrice); } } /// @dev Computes owner's cut of a sale. /// @param _price - Sale price of NFT. function _computeCut(uint256 _price) internal view returns (uint256) { // NOTE: We don't use SafeMath (or similar) in this function because // all of our entry functions carefully cap the maximum values for // currency (at 128-bits), and ownerCut <= 10000 (see the require() // statement in the ClockAuction constructor). The result of this // function is always guaranteed to be <= _price. return _price * ownerCut / 10000; } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @dev modifier to allow actions only when the contract IS paused */ modifier whenNotPaused() { require(!paused); _; } /** * @dev modifier to allow actions only when the contract IS NOT paused */ modifier whenPaused { require(paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused returns (bool) { paused = true; Pause(); return true; } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused returns (bool) { paused = false; Unpause(); return true; } } /// @title Clock auction for non-fungible tokens. /// @notice We omit a fallback function to prevent accidental sends to this contract. contract ClockAuction is Pausable, ClockAuctionBase { /// @dev The ERC-165 interface signature for ERC-721. /// Ref: https://github.com/ethereum/EIPs/issues/165 /// Ref: https://github.com/ethereum/EIPs/issues/721 bytes4 constant InterfaceSignature_ERC721 = bytes4(0x9a20483d); /// @dev Constructor creates a reference to the NFT ownership contract /// and verifies the owner cut is in the valid range. /// @param _nftAddress - address of a deployed contract implementing /// the Nonfungible Interface. /// @param _cut - percent cut the owner takes on each auction, must be /// between 0-10,000. function ClockAuction(address _nftAddress, uint256 _cut) public { require(_cut <= 10000); ownerCut = _cut; ERC721 candidateContract = ERC721(_nftAddress); require(candidateContract.supportsInterface(InterfaceSignature_ERC721)); nonFungibleContract = candidateContract; } /// @dev Remove all Ether from the contract, which is the owner's cuts /// as well as any Ether sent directly to the contract address. /// Always transfers to the NFT contract, but can be called either by /// the owner or the NFT contract. function withdrawBalance() external { address nftAddress = address(nonFungibleContract); require( msg.sender == owner || msg.sender == nftAddress ); // We are using this boolean method to make sure that even if one fails it will still work bool res = nftAddress.send(this.balance); } /// @dev Creates and begins a new auction. /// @param _tokenId - ID of token to auction, sender must be owner. /// @param _startingPrice - Price of item (in wei) at beginning of auction. /// @param _endingPrice - Price of item (in wei) at end of auction. /// @param _duration - Length of time to move between starting /// price and ending price (in seconds). /// @param _seller - Seller, if not the message sender function createAuction( uint256 _tokenId, uint256 _startingPrice, uint256 _endingPrice, uint256 _duration, address _seller ) external whenNotPaused { // Sanity check that no inputs overflow how many bits we've allocated // to store them in the auction struct. require(_startingPrice == uint256(uint128(_startingPrice))); require(_endingPrice == uint256(uint128(_endingPrice))); require(_duration == uint256(uint64(_duration))); require(_owns(msg.sender, _tokenId)); _escrow(msg.sender, _tokenId); Auction memory auction = Auction( _seller, uint128(_startingPrice), uint128(_endingPrice), uint64(_duration), uint64(now) ); _addAuction(_tokenId, auction); } /// @dev Bids on an open auction, completing the auction and transferring /// ownership of the NFT if enough Ether is supplied. /// @param _tokenId - ID of token to bid on. function bid(uint256 _tokenId) external payable whenNotPaused { // _bid will throw if the bid or funds transfer fails _bid(_tokenId, msg.value); _transfer(msg.sender, _tokenId); } /// @dev Cancels an auction that hasn't been won yet. /// Returns the NFT to original owner. /// @notice This is a state-modifying function that can /// be called while the contract is paused. /// @param _tokenId - ID of token on auction function cancelAuction(uint256 _tokenId) external { Auction storage auction = tokenIdToAuction[_tokenId]; require(_isOnAuction(auction)); address seller = auction.seller; require(msg.sender == seller); _cancelAuction(_tokenId, seller); } /// @dev Cancels an auction when the contract is paused. /// Only the owner may do this, and NFTs are returned to /// the seller. This should only be used in emergencies. /// @param _tokenId - ID of the NFT on auction to cancel. function cancelAuctionWhenPaused(uint256 _tokenId) whenPaused onlyOwner external { Auction storage auction = tokenIdToAuction[_tokenId]; require(_isOnAuction(auction)); _cancelAuction(_tokenId, auction.seller); } /// @dev Returns auction info for an NFT on auction. /// @param _tokenId - ID of NFT on auction. function getAuction(uint256 _tokenId) external view returns ( address seller, uint256 startingPrice, uint256 endingPrice, uint256 duration, uint256 startedAt ) { Auction storage auction = tokenIdToAuction[_tokenId]; require(_isOnAuction(auction)); return ( auction.seller, auction.startingPrice, auction.endingPrice, auction.duration, auction.startedAt ); } /// @dev Returns the current price of an auction. /// @param _tokenId - ID of the token price we are checking. function getCurrentPrice(uint256 _tokenId) external view returns (uint256) { Auction storage auction = tokenIdToAuction[_tokenId]; require(_isOnAuction(auction)); return _currentPrice(auction); } } /// @title Clock auction modified for sale of kitties /// @notice We omit a fallback function to prevent accidental sends to this contract. contract SaleClockAuction is ClockAuction { // @dev Sanity check that allows us to ensure that we are pointing to the // right auction in our setSaleAuctionAddress() call. bool public isSaleClockAuction = true; // Tracks last 5 sale price of gen0 kitty sales uint256 public gen0SaleCount; uint256[5] public lastGen0SalePrices; // Delegate constructor function SaleClockAuction(address _nftAddr, uint256 _cut) public ClockAuction(_nftAddr, _cut) {} /// @dev Creates and begins a new auction. /// @param _tokenId - ID of token to auction, sender must be owner. /// @param _startingPrice - Price of item (in wei) at beginning of auction. /// @param _endingPrice - Price of item (in wei) at end of auction. /// @param _duration - Length of auction (in seconds). /// @param _seller - Seller, if not the message sender function createAuction( uint256 _tokenId, uint256 _startingPrice, uint256 _endingPrice, uint256 _duration, address _seller ) external { // Sanity check that no inputs overflow how many bits we've allocated // to store them in the auction struct. require(_startingPrice == uint256(uint128(_startingPrice))); require(_endingPrice == uint256(uint128(_endingPrice))); require(_duration == uint256(uint64(_duration))); require(msg.sender == address(nonFungibleContract)); _escrow(_seller, _tokenId); Auction memory auction = Auction( _seller, uint128(_startingPrice), uint128(_endingPrice), uint64(_duration), uint64(now) ); _addAuction(_tokenId, auction); } /// @dev Updates lastSalePrice if seller is the nft contract /// Otherwise, works the same as default bid method. function bid(uint256 _tokenId) external payable { // _bid verifies token ID size address seller = tokenIdToAuction[_tokenId].seller; uint256 price = _bid(_tokenId, msg.value); _transfer(msg.sender, _tokenId); // If not a gen0 auction, exit if (seller == address(nonFungibleContract)) { // Track gen0 sale prices lastGen0SalePrices[gen0SaleCount % 5] = price; gen0SaleCount++; } } function averageGen0SalePrice() external view returns (uint256) { uint256 sum = 0; for (uint256 i = 0; i < 5; i++) { sum += lastGen0SalePrices[i]; } return sum / 5; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
[{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"},{"name":"_startingPrice","type":"uint256"},{"name":"_endingPrice","type":"uint256"},{"name":"_duration","type":"uint256"},{"name":"_seller","type":"address"}],"name":"createAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"bid","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"lastGen0SalePrices","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getAuction","outputs":[{"name":"seller","type":"address"},{"name":"startingPrice","type":"uint256"},{"name":"endingPrice","type":"uint256"},{"name":"duration","type":"uint256"},{"name":"startedAt","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ownerCut","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isSaleClockAuction","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"cancelAuctionWhenPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"gen0SaleCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"cancelAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getCurrentPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nonFungibleContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"averageGen0SalePrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_nftAddr","type":"address"},{"name":"_cut","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"startingPrice","type":"uint256"},{"indexed":false,"name":"endingPrice","type":"uint256"},{"indexed":false,"name":"duration","type":"uint256"}],"name":"AuctionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"totalPrice","type":"uint256"},{"indexed":false,"name":"winner","type":"address"}],"name":"AuctionSuccessful","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"}],"name":"AuctionCancelled","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"}]
Contract Creation Code
60606040526000805460a060020a60ff02191690556004805460ff19166001179055341561002c57600080fd5b604051604080610f07833981016040528080519190602001805160008054600160a060020a03191633600160a060020a0316178155909250839150829061271082111561007857600080fd5b50600281905581600160a060020a0381166301ffc9a77f9a20483d000000000000000000000000000000000000000000000000000000006000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff84160281527fffffffff000000000000000000000000000000000000000000000000000000009091166004820152602401602060405180830381600087803b151561012857600080fd5b6102c65a03f1151561013957600080fd5b50505060405180519050151561014e57600080fd5b60018054600160a060020a03909216600160a060020a031990921691909117905550505050610d85806101826000396000f3006060604052600436106100e25763ffffffff60e060020a60003504166327ebe40a81146100e75780633f4ba83a14610114578063454a2ab31461013b578063484eccb4146101465780635c975abb1461016e5780635fd8c7101461018157806378bd79351461019457806383b5ff8b146101e55780638456cb59146101f857806385b861881461020b578063878eb3681461021e5780638a98a9cc146102345780638da5cb5b1461024757806396b5a75514610276578063c55d0f561461028c578063dd1b7a0f146102a2578063eac9d94c146102b5578063f2fde38b146102c8575b600080fd5b34156100f257600080fd5b610112600435602435604435606435600160a060020a03608435166102e7565b005b341561011f57600080fd5b6101276103bf565b604051901515815260200160405180910390f35b610112600435610443565b341561015157600080fd5b61015c6004356104ad565b60405190815260200160405180910390f35b341561017957600080fd5b6101276104c1565b341561018c57600080fd5b6101126104d1565b341561019f57600080fd5b6101aa600435610547565b604051600160a060020a03909516855260208501939093526040808501929092526060840152608083019190915260a0909101905180910390f35b34156101f057600080fd5b61015c6105d4565b341561020357600080fd5b6101276105da565b341561021657600080fd5b610127610663565b341561022957600080fd5b61011260043561066c565b341561023f57600080fd5b61015c6106dd565b341561025257600080fd5b61025a6106e3565b604051600160a060020a03909116815260200160405180910390f35b341561028157600080fd5b6101126004356106f2565b341561029757600080fd5b61015c60043561073b565b34156102ad57600080fd5b61025a61076d565b34156102c057600080fd5b61015c61077c565b34156102d357600080fd5b610112600160a060020a03600435166107b0565b6102ef610d2b565b6001608060020a038516851461030457600080fd5b6001608060020a038416841461031957600080fd5b67ffffffffffffffff8316831461032f57600080fd5b60015433600160a060020a0390811691161461034a57600080fd5b6103548287610806565b60a06040519081016040528083600160a060020a03168152602001866001608060020a03168152602001856001608060020a031681526020018467ffffffffffffffff1681526020014267ffffffffffffffff1681525090506103b78682610881565b505050505050565b6000805433600160a060020a039081169116146103db57600080fd5b60005460a060020a900460ff1615156103f357600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a150600190565b600081815260036020526040812054600160a060020a0316906104668334610a1c565b90506104723384610b4d565b600154600160a060020a03838116911614156104a857600580548291600691066005811061049c57fe5b01556005805460010190555b505050565b600681600581106104ba57fe5b0154905081565b60005460a060020a900460ff1681565b60015460008054600160a060020a039283169233811691161480610506575081600160a060020a031633600160a060020a0316145b151561051157600080fd5b81600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f150505050505050565b6000818152600360205260408120819081908190819061056681610ba3565b151561057157600080fd5b80546001820154600290920154600160a060020a03909116986001608060020a038084169950700100000000000000000000000000000000909304909216965067ffffffffffffffff808216965068010000000000000000909104169350915050565b60025481565b6000805433600160a060020a039081169116146105f657600080fd5b60005460a060020a900460ff161561060d57600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a150600190565b60045460ff1681565b6000805460a060020a900460ff16151561068557600080fd5b60005433600160a060020a039081169116146106a057600080fd5b5060008181526003602052604090206106b881610ba3565b15156106c357600080fd5b80546106d9908390600160a060020a0316610bc4565b5050565b60055481565b600054600160a060020a031681565b60008181526003602052604081209061070a82610ba3565b151561071557600080fd5b508054600160a060020a03908116903316811461073157600080fd5b6104a88382610bc4565b600081815260036020526040812061075281610ba3565b151561075d57600080fd5b61076681610c0e565b9392505050565b600154600160a060020a031681565b600080805b60058110156107a6576006816005811061079757fe5b01549190910190600101610781565b5060059004919050565b60005433600160a060020a039081169116146107cb57600080fd5b600160a060020a03811615610803576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600154600160a060020a03166323b872dd83308460405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401600060405180830381600087803b151561086957600080fd5b6102c65a03f1151561087a57600080fd5b5050505050565b603c816060015167ffffffffffffffff16101561089d57600080fd5b600082815260036020526040902081908151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201516001820180546fffffffffffffffffffffffffffffffff19166001608060020a039290921691909117905560408201516001820180546001608060020a03928316700100000000000000000000000000000000029216919091179055606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201516002909101805467ffffffffffffffff9290921668010000000000000000026fffffffffffffffff000000000000000019909216919091179055507fa9c8dfcda5664a5a124c713e386da27de87432d5b668e79458501eb296389ba78260208301516001608060020a031683604001516001608060020a0316846060015167ffffffffffffffff166040518085815260200184815260200183815260200182815260200194505050505060405180910390a15050565b60008281526003602052604081208180808080610a3886610ba3565b1515610a4357600080fd5b610a4c86610c0e565b945084881015610a5b57600080fd5b8554600160a060020a03169350610a7189610c95565b6000851115610abb57610a8385610ce2565b92508285039150600160a060020a03841682156108fc0283604051600060405180830381858888f193505050501515610abb57600080fd5b50838703600160a060020a03331681156108fc0282604051600060405180830381858888f193505050501515610af057600080fd5b7f4fcc30d90a842164dd58501ab874a101a3749c3d4747139cefe7c876f4ccebd28986336040519283526020830191909152600160a060020a03166040808301919091526060909101905180910390a15092979650505050505050565b600154600160a060020a031663a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561086957600080fd5b6002015460006801000000000000000090910467ffffffffffffffff161190565b610bcd82610c95565b610bd78183610b4d565b7f2809c7e17bf978fbc7194c0a694b638c4215e9140cacc6c38ca36010b45697df8260405190815260200160405180910390a15050565b6002810154600090819068010000000000000000900467ffffffffffffffff16421115610c545750600282015468010000000000000000900467ffffffffffffffff1642035b60018301546002840154610766916001608060020a0380821692700100000000000000000000000000000000909204169067ffffffffffffffff1684610cee565b6000908152600360205260408120805473ffffffffffffffffffffffffffffffffffffffff19168155600181019190915560020180546fffffffffffffffffffffffffffffffff19169055565b60025461271091020490565b6000808080858510610d0257869350610d20565b878703925085858402811515610d1457fe5b05915081880190508093505b505050949350505050565b60a06040519081016040908152600080835260208301819052908201819052606082018190526080820152905600a165627a7a72305820666ae68d08f6b7766b21d1f7ba24d5315f1eb94a6e0b2af3961e798edfbb27de002900000000000000000000000006012c8cf97bead5deae237070f9587f8e7a266d0000000000000000000000000000000000000000000000000000000000000177
Deployed Bytecode
0x6060604052600436106100e25763ffffffff60e060020a60003504166327ebe40a81146100e75780633f4ba83a14610114578063454a2ab31461013b578063484eccb4146101465780635c975abb1461016e5780635fd8c7101461018157806378bd79351461019457806383b5ff8b146101e55780638456cb59146101f857806385b861881461020b578063878eb3681461021e5780638a98a9cc146102345780638da5cb5b1461024757806396b5a75514610276578063c55d0f561461028c578063dd1b7a0f146102a2578063eac9d94c146102b5578063f2fde38b146102c8575b600080fd5b34156100f257600080fd5b610112600435602435604435606435600160a060020a03608435166102e7565b005b341561011f57600080fd5b6101276103bf565b604051901515815260200160405180910390f35b610112600435610443565b341561015157600080fd5b61015c6004356104ad565b60405190815260200160405180910390f35b341561017957600080fd5b6101276104c1565b341561018c57600080fd5b6101126104d1565b341561019f57600080fd5b6101aa600435610547565b604051600160a060020a03909516855260208501939093526040808501929092526060840152608083019190915260a0909101905180910390f35b34156101f057600080fd5b61015c6105d4565b341561020357600080fd5b6101276105da565b341561021657600080fd5b610127610663565b341561022957600080fd5b61011260043561066c565b341561023f57600080fd5b61015c6106dd565b341561025257600080fd5b61025a6106e3565b604051600160a060020a03909116815260200160405180910390f35b341561028157600080fd5b6101126004356106f2565b341561029757600080fd5b61015c60043561073b565b34156102ad57600080fd5b61025a61076d565b34156102c057600080fd5b61015c61077c565b34156102d357600080fd5b610112600160a060020a03600435166107b0565b6102ef610d2b565b6001608060020a038516851461030457600080fd5b6001608060020a038416841461031957600080fd5b67ffffffffffffffff8316831461032f57600080fd5b60015433600160a060020a0390811691161461034a57600080fd5b6103548287610806565b60a06040519081016040528083600160a060020a03168152602001866001608060020a03168152602001856001608060020a031681526020018467ffffffffffffffff1681526020014267ffffffffffffffff1681525090506103b78682610881565b505050505050565b6000805433600160a060020a039081169116146103db57600080fd5b60005460a060020a900460ff1615156103f357600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a150600190565b600081815260036020526040812054600160a060020a0316906104668334610a1c565b90506104723384610b4d565b600154600160a060020a03838116911614156104a857600580548291600691066005811061049c57fe5b01556005805460010190555b505050565b600681600581106104ba57fe5b0154905081565b60005460a060020a900460ff1681565b60015460008054600160a060020a039283169233811691161480610506575081600160a060020a031633600160a060020a0316145b151561051157600080fd5b81600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f150505050505050565b6000818152600360205260408120819081908190819061056681610ba3565b151561057157600080fd5b80546001820154600290920154600160a060020a03909116986001608060020a038084169950700100000000000000000000000000000000909304909216965067ffffffffffffffff808216965068010000000000000000909104169350915050565b60025481565b6000805433600160a060020a039081169116146105f657600080fd5b60005460a060020a900460ff161561060d57600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a150600190565b60045460ff1681565b6000805460a060020a900460ff16151561068557600080fd5b60005433600160a060020a039081169116146106a057600080fd5b5060008181526003602052604090206106b881610ba3565b15156106c357600080fd5b80546106d9908390600160a060020a0316610bc4565b5050565b60055481565b600054600160a060020a031681565b60008181526003602052604081209061070a82610ba3565b151561071557600080fd5b508054600160a060020a03908116903316811461073157600080fd5b6104a88382610bc4565b600081815260036020526040812061075281610ba3565b151561075d57600080fd5b61076681610c0e565b9392505050565b600154600160a060020a031681565b600080805b60058110156107a6576006816005811061079757fe5b01549190910190600101610781565b5060059004919050565b60005433600160a060020a039081169116146107cb57600080fd5b600160a060020a03811615610803576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600154600160a060020a03166323b872dd83308460405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401600060405180830381600087803b151561086957600080fd5b6102c65a03f1151561087a57600080fd5b5050505050565b603c816060015167ffffffffffffffff16101561089d57600080fd5b600082815260036020526040902081908151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201516001820180546fffffffffffffffffffffffffffffffff19166001608060020a039290921691909117905560408201516001820180546001608060020a03928316700100000000000000000000000000000000029216919091179055606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201516002909101805467ffffffffffffffff9290921668010000000000000000026fffffffffffffffff000000000000000019909216919091179055507fa9c8dfcda5664a5a124c713e386da27de87432d5b668e79458501eb296389ba78260208301516001608060020a031683604001516001608060020a0316846060015167ffffffffffffffff166040518085815260200184815260200183815260200182815260200194505050505060405180910390a15050565b60008281526003602052604081208180808080610a3886610ba3565b1515610a4357600080fd5b610a4c86610c0e565b945084881015610a5b57600080fd5b8554600160a060020a03169350610a7189610c95565b6000851115610abb57610a8385610ce2565b92508285039150600160a060020a03841682156108fc0283604051600060405180830381858888f193505050501515610abb57600080fd5b50838703600160a060020a03331681156108fc0282604051600060405180830381858888f193505050501515610af057600080fd5b7f4fcc30d90a842164dd58501ab874a101a3749c3d4747139cefe7c876f4ccebd28986336040519283526020830191909152600160a060020a03166040808301919091526060909101905180910390a15092979650505050505050565b600154600160a060020a031663a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561086957600080fd5b6002015460006801000000000000000090910467ffffffffffffffff161190565b610bcd82610c95565b610bd78183610b4d565b7f2809c7e17bf978fbc7194c0a694b638c4215e9140cacc6c38ca36010b45697df8260405190815260200160405180910390a15050565b6002810154600090819068010000000000000000900467ffffffffffffffff16421115610c545750600282015468010000000000000000900467ffffffffffffffff1642035b60018301546002840154610766916001608060020a0380821692700100000000000000000000000000000000909204169067ffffffffffffffff1684610cee565b6000908152600360205260408120805473ffffffffffffffffffffffffffffffffffffffff19168155600181019190915560020180546fffffffffffffffffffffffffffffffff19169055565b60025461271091020490565b6000808080858510610d0257869350610d20565b878703925085858402811515610d1457fe5b05915081880190508093505b505050949350505050565b60a06040519081016040908152600080835260208301819052908201819052606082018190526080820152905600a165627a7a72305820666ae68d08f6b7766b21d1f7ba24d5315f1eb94a6e0b2af3961e798edfbb27de0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000006012c8cf97bead5deae237070f9587f8e7a266d0000000000000000000000000000000000000000000000000000000000000177
-----Decoded View---------------
Arg [0] : _nftAddr (address): 0x06012c8cf97BEaD5deAe237070F9587f8E7A266d
Arg [1] : _cut (uint256): 375
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000006012c8cf97bead5deae237070f9587f8e7a266d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000177
Swarm Source
bzzr://666ae68d08f6b7766b21d1f7ba24d5315f1eb94a6e0b2af3961e798edfbb27de
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.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Note:
Please DO NOT store any passwords or private keys here.
The compiled contract might be susceptible to DirtyBytesArrayToStorage (low-severity), ABIDecodeTwoDimensionalArrayMemory (very low-severity), KeccakCaching (medium-severity), EmptyByteArrayCopy (medium-severity), DynamicArrayCleanup (medium-severity), ImplicitConstructorCallvalueCheck (very low-severity), TupleAssignmentMultiStackSlotComponents (very low-severity), MemoryArrayCreationOverflow (low-severity), privateCanBeOverridden (low-severity), SignedArrayStorageCopy (low/medium-severity), ABIEncoderV2StorageArrayWithMultiSlotElement (low-severity), DynamicConstructorArgumentsClippedABIV2 (very low-severity), UninitializedFunctionPointerInConstructor_0.4.x (very low-severity), IncorrectEventSignatureInLibraries_0.4.x (very low-severity), ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity Compiler Bugs.
Connect a Wallet
Connect a Wallet
Connect a Wallet
SignIn
Address Cards
Before You Copy
Transaction Private Note
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.