Contract 0x3d5f2F4e4B9Cf03e896fF2093569078CE45BA0c0

 

Contract Overview

Balance:
0 Ether

EtherValue:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value
0xf1f444cd04ae73ca8fe64e50f4c3fda65d49062a499ea1157a265720e898bb9fCancel Auction53080122018-03-23 15:57:131719 days 18 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.000071772
0xa7bac14cdbcf19f82cce8a04da931c6f82d13636c44e75f6d99c82ec4f0bb326Cancel Auction52919262018-03-20 23:23:231722 days 10 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.000044632
0x1300b4d2deac3523d4361fc2e7b552d75fccb44b8104f229cb5b6e140487e5b1Cancel Auction52865512018-03-20 1:44:151723 days 8 hrs ago0x336e5494e7f5662eb552f50576ace46b288194c5 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.000071772
0xc4479aaaf364bae96c2d099e567852e839ced6ee257fd87b5b0a86f789b2f3a6Cancel Auction52757362018-03-18 6:12:481725 days 3 hrs ago0xefec55c8b050fa6ebf3aad62975c5ad24e95a3e9 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.000107553
0x97fe7fe40c79ae4ddbe734c27d52419cd957cadfabbd91caba418dc08f0b53b4Cancel Auction52607462018-03-15 17:24:531727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x31e0504cd4bf0753bf501ad06a784d2b3976d96255ddf02a7c3d4491e676b228Cancel Auction52607222018-03-15 17:19:181727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0xe62858947e22e0ede4abe1e8dd0aaaeea5a8f653e6be61beb04cd13b6a7fbcf5Cancel Auction52607192018-03-15 17:18:341727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x119d1d78b0cf511ab98de0b94168bb605656b736bd31e3f6a3d19a2b502785f3Cancel Auction52607092018-03-15 17:16:091727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0xb0cf8be10672e2f2541f996db92221470d8e25dbb34bbb898b80408a488e2c60Cancel Auction52606932018-03-15 17:11:421727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x3f07a2fd472b736ea62dd2a993fa58ad604534e6f6b66e75d0376adf3188df7aCancel Auction52606932018-03-15 17:11:421727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0xf99578f354a418f7fa6bf06f300f0fe8d2ebf6a398783c2d6e680f6878b436a6Cancel Auction52606932018-03-15 17:11:421727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0xa716f5cfcecb40da650a8f58e40aa02a1543ef93712f6ae2f5af634bd68a78b7Cancel Auction52606882018-03-15 17:10:481727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x2a12fd61e51d4fdf08201aaba2ea14231a50932f15b493ccc6622305cfdb81f0Cancel Auction52606882018-03-15 17:10:481727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x564216f42c677175504289814f32ab868f49738a14ce8c9cce4dd823ae7dfc6dCancel Auction52606812018-03-15 17:09:491727 days 16 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x9b47b4225309c575613000cf96c16aa4df44571e2805ca579090782dedd74871Cancel Auction52581662018-03-15 6:33:331728 days 3 hrs ago0xfcfaaae965550c381898a725c5be321d30904c38 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.000143414
0x22ad20079cbe7f86c8a6f7a529e6dd028823ee24f54066b47aab972c1505cf9cCancel Auction52531192018-03-14 9:41:141729 days 18 mins ago0xbbc02e9fb54c8255b53f7d4e7eee8407360f1962 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x60132b97fa8726a556aeb05e0bc8147fb30559990e8ed4f5ffd75f1c352bf8a8Cancel Auction52507362018-03-14 0:05:261729 days 9 hrs ago0xdb4728b68ec8535b341af6e2985ebdc26f300a53 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.000044632
0xa1b53b93a828a34d81d50e331874bc6331ae113f6f89c6972db1d1bee17d3951Cancel Auction52507362018-03-14 0:05:261729 days 9 hrs ago0xdb4728b68ec8535b341af6e2985ebdc26f300a53 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x6c0f7368c45b16bd1a8d84a378cf61d77a645c9f88766acdb536970c21a96d46Cancel Auction52481412018-03-13 13:24:411729 days 20 hrs ago0xdfbb5798f8b0aef91cae43101960bee1e9348a49 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x286c7d7b42b970eb8bfa80bd4ba0cea6ba074a41fcb91b6f5838d5908eedd992Cancel Auction52460442018-03-13 4:42:501730 days 5 hrs ago0x8e89453ef2f6ff120ea2a781e3042d55a0dad224 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00008672
0x9a6aa04c05567142344c2030c3345cde55dcc2cc35d36df100951c3255834b3aCancel Auction52442442018-03-12 21:32:301730 days 12 hrs ago0xe44d6941c70130881561ac96ab8113b06b313645 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0xc6ec5fa363facff9a9e8d5f4d85790b7757b3f1901db2903ad8318a9b2ec0f5cCancel Auction52430142018-03-12 16:26:041730 days 17 hrs ago0xa3b3ea4854662195064fb14dcdf33c8fedf596f6 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x53e4a5d7601c6f004f4ee3defca9aa8b839a3d7a3bb216e0b40c91f09f4a7462Cancel Auction52425562018-03-12 14:40:011730 days 19 hrs ago0x9cc3008fb9e516891528d5f3160a33add5f96c19 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00008672
0x883e34c6c300c0a7d3c688ea9cbe2c592f58c009a815833796a4bc815ba4581fCancel Auction52421282018-03-12 12:53:251730 days 21 hrs ago0xfcf3b46ef65355a5148416176e3506f465e2539d IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.00007172
0x848fe3a7e9e58309ffd4e50f2982f867ca9d9313c0b6278f12885b2a1ef5d545Cancel Auction52410872018-03-12 8:35:281731 days 1 hr ago0xefec55c8b050fa6ebf3aad62975c5ad24e95a3e9 IN  0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c00 Ether0.000107553
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FightClockAuction

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-03-07
*/

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 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 Interface for contracts conforming to ERC-721: Non-Fungible Tokens
contract ERC721 {
    function implementsERC721() public pure returns (bool);
    function totalSupply() public view returns (uint256 total);
    function balanceOf(address _owner) public view returns (uint256 balance);
    function ownerOf(uint256 _tokenId) public view returns (address owner);
    function approve(address _to, uint256 _tokenId) public;
    function transferFrom(address _from, address _to, uint256 _tokenId) public;
    function transfer(address _to, uint256 _tokenId) public;
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    function promoBun(address _address) public;
}

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
        uint128  startingPriceEth;
        uint128  endingPriceEth;
        
        uint64 duration;
        // Time when auction started
        // NOTE: 0 if this auction has been concluded
        uint64 startedAt;
    }

    ERC721 public nonFungibleContract;

    uint256 public ownerCut;

    mapping (uint256 => Auction) tokenIdToAuction;

    event AuctionCreated(uint256 tokenId, uint256 startingPrice, uint256 endingPrice,uint256 startingPriceEth, uint256 endingPriceEth, uint256 duration);
    event AuctionSuccessful(uint256 tokenId, uint256 totalPrice,uint ccy, address winner);
    event AuctionCancelled(uint256 tokenId);

    function() external {}

    modifier canBeStoredWith64Bits(uint256 _value) {
        require(_value <= 18446744073709551615);
        _;
    }

    modifier canBeStoredWith128Bits(uint256 _value) {
        require(_value < 340282366920938463463374607431768211455);
        _;
    }

    function _owns(address _claimant, uint256 _tokenId) internal view returns (bool) {
        return (nonFungibleContract.ownerOf(_tokenId) == _claimant);
    }

    function _escrow(address _owner, uint256 _tokenId) internal {
        nonFungibleContract.transferFrom(_owner, this, _tokenId);
    }

    function _transfer(address _receiver, uint256 _tokenId) internal {
        nonFungibleContract.transfer(_receiver, _tokenId);
    }

    function _addAuction(uint256 _tokenId, Auction _auction) internal {
        require(_auction.duration >= 1 minutes);

        tokenIdToAuction[_tokenId] = _auction;
        
        AuctionCreated(
            uint256(_tokenId),
            uint256(_auction.startingPrice),
            uint256(_auction.endingPrice),
            uint256(_auction.startingPriceEth),
            uint256(_auction.endingPriceEth),
            uint256(_auction.duration)
        );
    }
    function _cancelAuction(uint256 _tokenId, address _seller) internal {
        _removeAuction(_tokenId);
        _transfer(_seller, _tokenId);
        AuctionCancelled(_tokenId);
    }
    
    function _order(uint256 _tokenId, uint256 _orderAmount, uint8 ccy)
        internal
        returns (uint256)
    {
        Auction storage auction = tokenIdToAuction[_tokenId];

        require(_isOnAuction(auction));

        uint256 price = _currentPrice(auction,0,ccy);
        require(_orderAmount >= price);

        address seller = auction.seller;

        _removeAuction(_tokenId);

        if (price > 0 && ccy ==0) {
            uint256 auctioneerCut = _computeCut(price);
            uint256 sellerProceeds = price - auctioneerCut;
            seller.transfer(sellerProceeds);
        }
        AuctionSuccessful(_tokenId, price,ccy, msg.sender);

        return price;
    }
    
    function _removeAuction(uint256 _tokenId) internal {
        delete tokenIdToAuction[_tokenId];
    }
    
    function _isOnAuction(Auction storage _auction) internal view returns (bool) {
        return (_auction.startedAt > 0);
    }
    
    function _currentPrice(Auction storage _auction, uint256 timeDelay, uint8 ccy)
        internal
        view
        returns (uint256)
    {
        uint256 secondsPassed = 0;
        if (now > _auction.startedAt) {
            secondsPassed = now - _auction.startedAt + timeDelay;
        }
        if(ccy == 0){
	        return _computeCurrentPrice(
	            _auction.startingPriceEth,
	            _auction.endingPriceEth,
	            _auction.duration,
	            secondsPassed
	        );
        }else{
          return _computeCurrentPrice(
            _auction.startingPrice,
            _auction.endingPrice,
            _auction.duration,
            secondsPassed
        ); 
        }
        
    }

    function _computeCurrentPrice(
        uint256 _startingPrice,
        uint256 _endingPrice,
        uint256 _duration,
        uint256 _secondsPassed
    )
        internal
        pure
        returns (uint256)
    {
        if (_secondsPassed >= _duration) {
            return _endingPrice;
        } else {
            int256 totalPriceChange = int256(_endingPrice) - int256(_startingPrice);
            
            int256 currentPriceChange = totalPriceChange * int256(_secondsPassed) / int256(_duration);
            
            int256 currentPrice = int256(_startingPrice) + currentPriceChange;
            
            return uint256(currentPrice);
        }
    }

    function _computeCut(uint256 _price) internal view returns (uint256) {
        return _price * ownerCut / 10000;
    }

}


contract ClockAuction is Pausable, ClockAuctionBase {
   // bool public isClockAuction = true;
    mapping (address => mapping (uint256 => uint256)) public addressIndexToAuctionCount;
    mapping (address => mapping (uint256 => uint256)) public addressIndexToOrderCount;
   
    event DayPass(uint256 _dayPass, uint256 _startTime, uint256 _now, uint256 time );
    
    uint256 public startTime = now;
    uint256 public aDay = 86400;
    
    
    
    function _calculateDayPass() internal returns (uint256 dayPass) {
       dayPass = (now -startTime) / aDay;
       DayPass(dayPass,startTime,now,(aDay));
    }
   
   
   
    function ClockAuction(address _nftAddress, uint256 _cut) public {
        require(_cut <= 10000);
        ownerCut = _cut;
        
        ERC721 candidateContract = ERC721(_nftAddress);
        require(candidateContract.implementsERC721());
        nonFungibleContract = candidateContract;
    }

    function withdrawBalance() external {
        address nftAddress = address(nonFungibleContract);

        require(
            msg.sender == owner ||
            msg.sender == nftAddress
        );
        nftAddress.transfer(this.balance);
    }

    function createAuction(
        uint256 _tokenId,
        uint256 _startingPrice,
        uint256 _endingPrice,
        uint256 _startingPriceEth,
        uint256 _endingPriceEth,
        uint256 _duration,
        address _seller
    )
        public
        whenNotPaused
        canBeStoredWith128Bits(_startingPrice)
        canBeStoredWith128Bits(_endingPrice)
        canBeStoredWith64Bits(_duration)
    {
        require(_owns(msg.sender, _tokenId));
        _escrow(msg.sender, _tokenId);
        Auction memory auction = Auction(
            _seller,
            uint128(_startingPrice),
            uint128(_endingPrice),
            uint128(_startingPriceEth),
            uint128(_endingPriceEth),
            uint64(_duration),
            uint64(now)
        );
        _addAuction(_tokenId, auction);
    }

    function cancelAuction(uint256 _tokenId)
        public
    {
        Auction storage auction = tokenIdToAuction[_tokenId];
        require(_isOnAuction(auction));
        address seller = auction.seller;
        require(msg.sender == seller);
        _cancelAuction(_tokenId, seller);
    }

    function cancelAuctionWhenPaused(uint256 _tokenId)
        whenPaused
        onlyOwner
        public
    {
        Auction storage auction = tokenIdToAuction[_tokenId];
        require(_isOnAuction(auction));
        _cancelAuction(_tokenId, auction.seller);
    }

    function getAuction(uint256 _tokenId)
        public
        view
        returns
    (
        address seller,
        uint256 startingPrice,
        uint256 endingPrice,
        uint256 startingPriceEth,
        uint256 endingPriceEth,
        uint256 duration,
        uint256 startedAt
    ) {
        Auction storage auction = tokenIdToAuction[_tokenId];
        require(_isOnAuction(auction));
        return (
            auction.seller,
            auction.startingPrice,
            auction.endingPrice,
            auction.startingPriceEth,
            auction.endingPriceEth,
            auction.duration,
            auction.startedAt
        );
    }
    
     function getSeller(uint256 _tokenId) public view returns(address seller) {
        Auction storage auction = tokenIdToAuction[_tokenId];
        require(_isOnAuction(auction));
        return auction.seller;
    }

    function getCurrentPrice(uint256 _tokenId,uint8 ccy)
        public
        view
        returns (uint256)
    {
        Auction storage auction = tokenIdToAuction[_tokenId];
        require(_isOnAuction(auction));
        return _currentPrice(auction, 0,ccy);
    }
    
    
    function getCurrentPrice(uint256 _tokenId, uint256 timeDelay,uint8 ccy)
        public
        view
        returns (uint256)
    {
        Auction storage auction = tokenIdToAuction[_tokenId];
        require(_isOnAuction(auction));
        return _currentPrice(auction, timeDelay,ccy);
    }

}


contract FightClockAuction is ClockAuction {
    bool public isFightClockAuction = true;
    function FightClockAuction(address _nftAddr, uint256 _cut) public
        ClockAuction(_nftAddr, _cut) {}

    function createAuction(
        uint256 _tokenId,
        uint256 _startingPrice,
        uint256 _endingPrice,
        uint256 _startingPriceEth,
        uint256 _endingPriceEth,
        uint256 _duration,
        address _seller
    )
        public
        canBeStoredWith128Bits(_startingPrice)
        canBeStoredWith128Bits(_endingPrice)
        canBeStoredWith128Bits(_startingPriceEth)
        canBeStoredWith128Bits(_endingPriceEth)
        canBeStoredWith64Bits(_duration)
    {
        require(msg.sender == address(nonFungibleContract));
        _escrow(_seller, _tokenId);
        Auction memory auction = Auction(
            _seller,
            uint128(_startingPrice),
            uint128(_endingPrice),
            uint128(0),
            uint128(0),
            uint64(_duration),
            uint64(now)
        );
        _addAuction(_tokenId, auction);
        addressIndexToAuctionCount[_seller][_calculateDayPass()] += 1;
    }

    function order(uint256 _tokenId,  uint256 orderAmount ,address buyer)
        public
        returns (bool)
    {
        require(msg.sender == address(nonFungibleContract));
        //require(orderAmount > 0);
        address seller = tokenIdToAuction[_tokenId].seller;
        _order(_tokenId, orderAmount,1);
        _transfer(seller, _tokenId);
        addressIndexToOrderCount[buyer][_calculateDayPass()] +=1;
        bool flag = true;
        return flag;
    }

}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"},{"name":"_startingPrice","type":"uint256"},{"name":"_endingPrice","type":"uint256"},{"name":"_startingPriceEth","type":"uint256"},{"name":"_endingPriceEth","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":true,"inputs":[],"name":"isFightClockAuction","outputs":[{"name":"","type":"bool"}],"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":"","type":"address"},{"name":"","type":"uint256"}],"name":"addressIndexToAuctionCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"startingPriceEth","type":"uint256"},{"name":"endingPriceEth","type":"uint256"},{"name":"duration","type":"uint256"},{"name":"startedAt","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"addressIndexToOrderCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"aDay","outputs":[{"name":"","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":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"cancelAuctionWhenPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"timeDelay","type":"uint256"},{"name":"ccy","type":"uint8"}],"name":"getCurrentPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"},{"name":"ccy","type":"uint8"}],"name":"getCurrentPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getSeller","outputs":[{"name":"seller","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nonFungibleContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"},{"name":"orderAmount","type":"uint256"},{"name":"buyer","type":"address"}],"name":"order","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_nftAddr","type":"address"},{"name":"_cut","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_dayPass","type":"uint256"},{"indexed":false,"name":"_startTime","type":"uint256"},{"indexed":false,"name":"_now","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"DayPass","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"startingPrice","type":"uint256"},{"indexed":false,"name":"endingPrice","type":"uint256"},{"indexed":false,"name":"startingPriceEth","type":"uint256"},{"indexed":false,"name":"endingPriceEth","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":"ccy","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"}]

60606040526000805460a060020a60ff021916905542600655620151806007556008805460ff19166001179055341561003757600080fd5b6040516040806111a7833981016040528080519190602001805160008054600160a060020a03191633600160a060020a0316178155909250839150829061271082111561008357600080fd5b50600281905581600160a060020a038116631051db346000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156100e957600080fd5b6102c65a03f115156100fa57600080fd5b50505060405180519050151561010f57600080fd5b60018054600160a060020a03909216600160a060020a031990921691909117905550505050611064806101436000396000f3006060604052600436106101035763ffffffff60e060020a6000350416632b549b8281146101105780633f4ba83a14610141578063443e1cf7146101685780635c975abb1461017b5780635fd8c7101461018e5780637736f624146101a157806378bd7935146101d557806378e97925146102335780637b43fcad146102465780637e4104271461026857806383b5ff8b1461027b5780638456cb591461028e578063878eb368146102a15780638da5cb5b146102b757806396b5a755146102e6578063a536dbe8146102fc578063c982e3531461031b578063d6a9de5114610337578063dd1b7a0f1461034d578063f2fde38b14610360578063f4accda51461037f575b341561010e57600080fd5b005b341561011b57600080fd5b61010e60043560243560443560643560843560a435600160a060020a0360c435166103a4565b341561014c57600080fd5b6101546104e1565b604051901515815260200160405180910390f35b341561017357600080fd5b610154610565565b341561018657600080fd5b61015461056e565b341561019957600080fd5b61010e61057e565b34156101ac57600080fd5b6101c3600160a060020a03600435166024356105fd565b60405190815260200160405180910390f35b34156101e057600080fd5b6101eb60043561061a565b604051600160a060020a03909716875260208701959095526040808701949094526060860192909252608085015260a084015260c083019190915260e0909101905180910390f35b341561023e57600080fd5b6101c36106af565b341561025157600080fd5b6101c3600160a060020a03600435166024356106b5565b341561027357600080fd5b6101c36106d2565b341561028657600080fd5b6101c36106d8565b341561029957600080fd5b6101546106de565b34156102ac57600080fd5b61010e600435610767565b34156102c257600080fd5b6102ca6107d8565b604051600160a060020a03909116815260200160405180910390f35b34156102f157600080fd5b61010e6004356107e7565b341561030757600080fd5b6101c360043560243560ff60443516610835565b341561032657600080fd5b6101c360043560ff6024351661086d565b341561034257600080fd5b6102ca6004356108a3565b341561035857600080fd5b6102ca6108d5565b341561036b57600080fd5b61010e600160a060020a03600435166108e4565b341561038a57600080fd5b610154600435602435600160a060020a036044351661093b565b6103ac610ffc565b866001608060020a0381106103c057600080fd5b866001608060020a0381106103d457600080fd5b866001608060020a0381106103e857600080fd5b866001608060020a0381106103fc57600080fd5b8667ffffffffffffffff81111561041257600080fd5b60015433600160a060020a0390811691161461042d57600080fd5b610437878e6109d5565b60e06040519081016040908152600160a060020a03891682526001608060020a03808f1660208401528d1690820152600060608201819052608082015267ffffffffffffffff808a1660a0830152421660c082015295506104988d87610a50565b600160a060020a03871660009081526004602052604081206001916104bb610c5c565b815260208101919091526040016000208054909101905550505050505050505050505050565b6000805433600160a060020a039081169116146104fd57600080fd5b60005460a060020a900460ff16151561051557600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a150600190565b60085460ff1681565b60005460a060020a900460ff1681565b600154600054600160a060020a0391821691338116911614806105b2575080600160a060020a031633600160a060020a0316145b15156105bd57600080fd5b80600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156105fa57600080fd5b50565b600460209081526000928352604080842090915290825290205481565b600081815260036020526040812081908190819081908190819061063d81610cc8565b151561064857600080fd5b805460018201546002830154600390930154600160a060020a039092169b6001608060020a038083169c50608060020a9283900481169b508085169a509190930416965067ffffffffffffffff808216965068010000000000000000909104169350915050565b60065481565b600560209081526000928352604080842090915290825290205481565b60075481565b60025481565b6000805433600160a060020a039081169116146106fa57600080fd5b60005460a060020a900460ff161561071157600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a150600190565b6000805460a060020a900460ff16151561078057600080fd5b60005433600160a060020a0390811691161461079b57600080fd5b5060008181526003602052604090206107b381610cc8565b15156107be57600080fd5b80546107d4908390600160a060020a0316610ce9565b5050565b600054600160a060020a031681565b6000818152600360205260408120906107ff82610cc8565b151561080a57600080fd5b508054600160a060020a03908116903316811461082657600080fd5b6108308382610ce9565b505050565b600083815260036020526040812061084c81610cc8565b151561085757600080fd5b610862818585610d33565b91505b509392505050565b600082815260036020526040812061088481610cc8565b151561088f57600080fd5b61089b81600085610d33565b949350505050565b60008181526003602052604081206108ba81610cc8565b15156108c557600080fd5b54600160a060020a031692915050565b600154600160a060020a031681565b60005433600160a060020a039081169116146108ff57600080fd5b600160a060020a038116156105fa5760008054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b6001546000908190819033600160a060020a0390811691161461095d57600080fd5b600086815260036020526040902054600160a060020a0316915061098386866001610df4565b5061098e8287610f09565b600160a060020a03841660009081526005602052604081206001916109b1610c5c565b81526020810191909152604001600020805490910190555060019150509392505050565b600154600160a060020a03166323b872dd83308460405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401600060405180830381600087803b1515610a3857600080fd5b6102c65a03f11515610a4957600080fd5b5050505050565b603c8160a0015167ffffffffffffffff161015610a6c57600080fd5b600082815260036020526040902081908151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201516001820180546fffffffffffffffffffffffffffffffff19166001608060020a039290921691909117905560408201516001820180546001608060020a03928316608060020a02921691909117905560608201516002820180546fffffffffffffffffffffffffffffffff19166001608060020a039290921691909117905560808201516002820180546001608060020a03928316608060020a02921691909117905560a082015160038201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560c08201516003909101805467ffffffffffffffff9290921668010000000000000000026fffffffffffffffff000000000000000019909216919091179055507f5fbba63870d521bdef10028b188e60430d21c37fb6fa3782add98c4154ab8fb48260208301516001608060020a031683604001516001608060020a031684606001516001608060020a031685608001516001608060020a03168660a0015167ffffffffffffffff1660405180878152602001868152602001858152602001848152602001838152602001828152602001965050505050505060405180910390a15050565b60006007546006544203811515610c6f57fe5b0490507fcd430df221e0f468388ddddafc0ae4d881a9907d678218000754af2c7104bd4e81600654426007546040518085815260200184815260200183815260200182815260200194505050505060405180910390a190565b6003015460006801000000000000000090910467ffffffffffffffff161190565b610cf282610f5f565b610cfc8183610f09565b7f2809c7e17bf978fbc7194c0a694b638c4215e9140cacc6c38ca36010b45697df8260405190815260200160405180910390a15050565b6003830154600090819068010000000000000000900467ffffffffffffffff16421115610d7b5750600384015468010000000000000000900467ffffffffffffffff16420383015b60ff83161515610dc05760028501546003860154610db9916001608060020a0380821692608060020a909204169067ffffffffffffffff1684610fb3565b9150610865565b60018501546003860154610db9916001608060020a0380821692608060020a909204169067ffffffffffffffff1684610fb3565b600083815260036020526040812081808080610e0f85610cc8565b1515610e1a57600080fd5b610e2685600089610d33565b935083881015610e3557600080fd5b8454600160a060020a03169250610e4b89610f5f565b600084118015610e5c575060ff8716155b15610ea157610e6a84610ff0565b915050808303600160a060020a03831681156108fc0282604051600060405180830381858888f193505050501515610ea157600080fd5b7fe40da2ed231723b222a7ba7da994c3afc3f83a51da76262083e38841e2da098289858933604051938452602084019290925260ff16604080840191909152600160a060020a0390911660608301526080909101905180910390a15091979650505050505050565b600154600160a060020a031663a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610a3857600080fd5b60009081526003602081905260408220805473ffffffffffffffffffffffffffffffffffffffff191681556001810183905560028101929092550180546fffffffffffffffffffffffffffffffff19169055565b6000808080858510610fc757869350610fe5565b878703925085858402811515610fd957fe5b05915081880190508093505b505050949350505050565b60025461271091020490565b60e06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c0820152905600a165627a7a7230582022e105ec0b16e5ab6a31d04e2c6a56d8e2481b23c208c2c2bca26ff7e966fa9600290000000000000000000000008a1190c9a21ccc195a943ec9ee434620461b46b20000000000000000000000000000000000000000000000000000000000000186

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

0000000000000000000000008a1190c9a21ccc195a943ec9ee434620461b46b20000000000000000000000000000000000000000000000000000000000000186

-----Decoded View---------------
Arg [0] : _nftAddr (address): 0x8A1190C9A21ccc195A943eC9Ee434620461b46b2
Arg [1] : _cut (uint256): 390

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008a1190c9a21ccc195a943ec9ee434620461b46b2
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000186


Swarm Source

bzzr://22e105ec0b16e5ab6a31d04e2c6a56d8e2481b23c208c2c2bca26ff7e966fa96
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.