Contract 0x7f650f3b231D3a32c2b0E2940E870Acdd4AA9961

 
Txn Hash
Method
Block
From
To
Value
0xaa5aee1052309211c5346f60201a1c193dc6d7baad30915465c782ca44224b89Cancel Listing59939342018-07-19 19:50:081479 days 21 hrs ago0xdcae967431fb51aa7453ec6c06fa544c25e0f1ff IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000084523
0x7b4e090abea35a1612023d406a89ecde3265e0474ac6a86e442707a7f3562031Cancel Listing59939252018-07-19 19:47:351479 days 21 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000084523
0xdb91656e80320a3b92e12c29c78b325d07f4ffc0e9d18d86a47f1ca4f3bf7d71Withdraw Balance59936792018-07-19 18:41:041479 days 22 hrs ago0x343b20f9706ea383832cdce63e5339f6e01c6167 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000089723
0xaa58774be8d37126b55e4e7bb22b9f57ead7eafe4eed65e868a011fd9283487dBuy Listing59865302018-07-18 13:09:471481 days 3 hrs ago0xb5bb911095852e018f0a176f5f502964a3f1a96f IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610.003 Ether0.000630155
0xbc6d9723d38fdec6b315874a08be652e722d393e2cb1e5d32c3d34bc5cc7a3f4Create Listing59865122018-07-18 13:03:531481 days 3 hrs ago0xd0970a53ca8a84f5f74cc02541ee93c4dd761955 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000611624
0x565e607cb35342e6a928c5936e196fb1873915ccc8defe7fe8a7d52af533098aCreate Listing59865002018-07-18 13:01:441481 days 3 hrs ago0xd0970a53ca8a84f5f74cc02541ee93c4dd761955 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000611364
0x1edd2145fd74457515d22f4bc47a3363daeb9ce2c994514f6f13c77c9866940bCreate Listing59783832018-07-17 3:33:251482 days 13 hrs ago0xdcae967431fb51aa7453ec6c06fa544c25e0f1ff IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000458713
0xd4a8cab532d4332c4b27bac4c4f92de8ec1e581913f4cc01ddda2286dadc26d7Create Listing59783662018-07-17 3:29:001482 days 13 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000458523
0x05b4d48122dfd1895f420b018cd41d6a06ebfb4994b81db6406d6e5c25085ec7Cancel Listing59733272018-07-16 6:44:351483 days 10 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000140885
0xd264860c2357f9b60fc63b113ed687697edce0ac7061d34ab9b7cc301eb7e6f9Create Listing59733272018-07-16 6:44:351483 days 10 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000764215
0xf175e1789e83f1cdca8bd5d04002faf52c9a9065aa140ea99cc888faefe7805eCreate Listing59732772018-07-16 6:33:201483 days 10 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000764215
0xf88e686a93cd2ea5d3c5d78abb92d1085e30c5cb340c02f797fcbdc06349d2b4Create Listing59314222018-07-09 5:27:381490 days 11 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000917436
0xa1da64a4c2226e3474ab38ebcd88003516151d3a01d8b4c4de491e6b1565a5b4Create Listing59313862018-07-09 5:17:051490 days 11 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000917436
0xd494ddc9cb7026b18e2810062ef6d62eaa251175f215c540ffc5485ee9174115Buy Listing59313782018-07-09 5:14:561490 days 11 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610.003 Ether0.00066586
0x910e048fbffc13d05d7dc58570e914fdc7a973c80c48a2c95feacb2d50b1f8e0Create Listing59313152018-07-09 4:58:541490 days 11 hrs ago0xdcae967431fb51aa7453ec6c06fa544c25e0f1ff IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000917436
0x029420e1caf8ac7361ac61ea66a5a0dd076b12bf4c88293fd859752b0a41f7b1Cancel Listing59313092018-07-09 4:58:071490 days 11 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000169056
0x6d70b96019f28542515de376b5339518ce11124a30b1b66bef9ec04c56283074Create Listing59312392018-07-09 4:38:441490 days 12 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000917066
0x0a844d8a7409439d565b50541974232c8309dea3bc602f960888ec250d698861Create Listing59312262018-07-09 4:35:241490 days 12 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000917436
0x00c3522b595549304f3db69d9b6de1ae091166e96a206c55fdc18b75dc8b3b0eCreate Listing59311172018-07-09 4:09:341490 days 12 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000917056
0x26d8eb23eaa4a2bf7e44d5d3509e6891158cd254a80cb8f0eabb29b8c5aba5b3Buy Listing59300062018-07-08 23:42:061490 days 17 hrs ago0xd0970a53ca8a84f5f74cc02541ee93c4dd761955 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610.003 Ether0.000576186
0x12646fec93d95d4291df0d4edf75a3ac815da348456c6da09ff43d9655b3577aCreate Listing59299972018-07-08 23:39:381490 days 17 hrs ago0xd0970a53ca8a84f5f74cc02541ee93c4dd761955 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000917056
0x2d49837aeae61205b99c4ffd8b842a864d0a3d2dbd6c47f95562fd94d2cb6d98Create Listing59299962018-07-08 23:39:331490 days 17 hrs ago0xb5bb911095852e018f0a176f5f502964a3f1a96f IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000917056
0x4e1ddf176bc1620e681c24c40b918d3490dc6704fa447eace9726a5ebffc28daCreate Listing59299642018-07-08 23:30:411490 days 17 hrs ago0xd0970a53ca8a84f5f74cc02541ee93c4dd761955 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610 Ether0.000917436
0x3592bcb7109d8bde2d30ebd3630a8ed07fd4654c125913825576991f391bdc10Buy Listing59262312018-07-08 7:57:271491 days 8 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610.01 Ether0.0012373711
0x3be9d3b721d044e090da454d19f44b900b14680a799d1932bf4e0425984b4ea6Buy Listing59092942018-07-05 9:56:191494 days 6 hrs ago0x34a0bfbcd6074d72ccd0f342ba43e78692cca687 IN  0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610.005 Ether0.0015550514
[ Download CSV Export 
Latest 11 internal transactions
Parent Txn Hash Block From To Value
0xdb91656e80320a3b92e12c29c78b325d07f4ffc0e9d18d86a47f1ca4f3bf7d7159936792018-07-19 18:41:041479 days 22 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610x343b20f9706ea383832cdce63e5339f6e01c61670.000675 Ether
0xaa58774be8d37126b55e4e7bb22b9f57ead7eafe4eed65e868a011fd9283487d59865302018-07-18 13:09:471481 days 3 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610xd0970a53ca8a84f5f74cc02541ee93c4dd7619550.0029625 Ether
0xd494ddc9cb7026b18e2810062ef6d62eaa251175f215c540ffc5485ee917411559313782018-07-09 5:14:561490 days 11 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610xdcae967431fb51aa7453ec6c06fa544c25e0f1ff0.0029625 Ether
0x26d8eb23eaa4a2bf7e44d5d3509e6891158cd254a80cb8f0eabb29b8c5aba5b359300062018-07-08 23:42:061490 days 17 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610xb5bb911095852e018f0a176f5f502964a3f1a96f0.0029625 Ether
0x3592bcb7109d8bde2d30ebd3630a8ed07fd4654c125913825576991f391bdc1059262312018-07-08 7:57:271491 days 8 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610x343b20f9706ea383832cdce63e5339f6e01c61670.009875 Ether
0x3be9d3b721d044e090da454d19f44b900b14680a799d1932bf4e0425984b4ea659092942018-07-05 9:56:191494 days 6 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610x343b20f9706ea383832cdce63e5339f6e01c61670.0049375 Ether
0xa93bd8c6a9c86e65011d216e0b0fba0a0da2c7cba3e9b5d7f8a127ec6c42ca0a58719062018-06-29 0:14:121500 days 16 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610xdcae967431fb51aa7453ec6c06fa544c25e0f1ff0.0049375 Ether
0x53139c4905b3a054a2eb7fa75835c0da36bf435b414bdc5db11ad3476e4c2a1458718822018-06-29 0:08:111500 days 16 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610xdcae967431fb51aa7453ec6c06fa544c25e0f1ff0.0049375 Ether
0x6e10e14bee86dc428d946db9f743e3f1cda0b0b19a3490d6f5a327ff6fffa16458543112018-06-25 23:09:521503 days 17 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610xfb5289c41881c45d5a96a45245d90ff23ec4211c0.0049375 Ether
0x8989a55b8bb92be2ea16fbf2e4cff1f815a79f96deae96c9f37339ce8c8051fc58536832018-06-25 20:23:481503 days 20 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610xdcae967431fb51aa7453ec6c06fa544c25e0f1ff0.0069125 Ether
0x68459e16b313410a17f670c1ac0234f90ac3d64af7f5d21a0c6a11ca50bc19aa58471512018-06-24 17:15:401504 days 23 hrs ago 0x7f650f3b231d3a32c2b0e2940e870acdd4aa99610xdcae967431fb51aa7453ec6c06fa544c25e0f1ff0.0079 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ListingsERC721

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-06-24
*/

pragma solidity ^0.4.24;




/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender)
    public view returns (uint256);

  function transferFrom(address from, address to, uint256 value)
    public returns (bool);

  function approve(address spender, uint256 value) public returns (bool);
  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}


/**
 * @title ERC721 Non-Fungible Token Standard basic interface
 * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721Basic {
  event Transfer(
    address indexed _from,
    address indexed _to,
    uint256 _tokenId
  );
  event Approval(
    address indexed _owner,
    address indexed _approved,
    uint256 _tokenId
  );
  event ApprovalForAll(
    address indexed _owner,
    address indexed _operator,
    bool _approved
  );

  function balanceOf(address _owner) public view returns (uint256 _balance);
  function ownerOf(uint256 _tokenId) public view returns (address _owner);
  function exists(uint256 _tokenId) public view returns (bool _exists);

  function approve(address _to, uint256 _tokenId) public;
  function getApproved(uint256 _tokenId)
    public view returns (address _operator);

  function setApprovalForAll(address _operator, bool _approved) public;
  function isApprovedForAll(address _owner, address _operator)
    public view returns (bool);

  function transferFrom(address _from, address _to, uint256 _tokenId) public;
  function safeTransferFrom(address _from, address _to, uint256 _tokenId)
    public;

  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes _data
  )
    public;
}

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721Enumerable is ERC721Basic {
  function totalSupply() public view returns (uint256);
  function tokenOfOwnerByIndex(
    address _owner,
    uint256 _index
  )
    public
    view
    returns (uint256 _tokenId);

  function tokenByIndex(uint256 _index) public view returns (uint256);
}


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721Metadata is ERC721Basic {
  function name() public view returns (string _name);
  function symbol() public view returns (string _symbol);
  function tokenURI(uint256 _tokenId) public view returns (string);
}


/**
 * @title ERC-721 Non-Fungible Token Standard, full implementation interface
 * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721 is ERC721Basic, ERC721Enumerable, ERC721Metadata {
}


contract Ownable {
  address public owner;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() public {
    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 relinquish control of the contract.
   */
  function renounceOwnership() public onlyOwner {
    emit OwnershipRenounced(owner);
    owner = address(0);
  }

  /**
   * @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) public onlyOwner {
    _transferOwnership(_newOwner);
  }

  /**
   * @dev Transfers control of the contract to a newOwner.
   * @param _newOwner The address to transfer ownership to.
   */
  function _transferOwnership(address _newOwner) internal {
    require(_newOwner != address(0));
    emit OwnershipTransferred(owner, _newOwner);
    owner = _newOwner;
  }
}

library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    if (a == 0) {
      return 0;
    }

    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}


contract ListingsERC721 is Ownable {
    using SafeMath for uint256;

    struct Listing {
        address seller;
        address tokenContractAddress;
        uint256 price;
        uint256 allowance;
        uint256 dateStarts;
        uint256 dateEnds;
    }
    
    event ListingCreated(bytes32 indexed listingId, address tokenContractAddress, uint256 price, uint256 allowance, uint256 dateStarts, uint256 dateEnds, address indexed seller);
    event ListingCancelled(bytes32 indexed listingId, uint256 dateCancelled);
    event ListingBought(bytes32 indexed listingId, address tokenContractAddress, uint256 price, uint256 amount, uint256 dateBought, address buyer);

    string constant public VERSION = "1.0.1";
    uint16 constant public GAS_LIMIT = 4999;
    uint256 public ownerPercentage;
    mapping (bytes32 => Listing) public listings;

    constructor (uint256 percentage) public {
        ownerPercentage = percentage;
    }

    function updateOwnerPercentage(uint256 percentage) external onlyOwner {
        ownerPercentage = percentage;
    }

    function withdrawBalance() onlyOwner external {
        assert(owner.send(address(this).balance));
    }
    function approveToken(address token, uint256 amount) onlyOwner external {
        assert(ERC20(token).approve(owner, amount));
    }

    function() external payable { }

    function getHash(address tokenContractAddress, uint256 price, uint256 allowance, uint256 dateEnds, uint256 salt) external view returns (bytes32) {
        return getHashInternal(tokenContractAddress, price, allowance, dateEnds, salt);
    }

    function getHashInternal(address tokenContractAddress, uint256 price, uint256 allowance, uint256 dateEnds, uint256 salt) internal view returns (bytes32) {
        return keccak256(abi.encodePacked(msg.sender, tokenContractAddress, price, allowance, dateEnds, salt));
    }

    function createListing(address tokenContractAddress, uint256 price, uint256 allowance, uint256 dateEnds, uint256 salt) external {
        require(price > 0, "price less than zero");
        require(allowance > 0, "allowance less than zero");
        require(dateEnds > 0, "dateEnds less than zero");
        require(ERC721(tokenContractAddress).ownerOf(allowance) == msg.sender, "user doesn't own this token");
        bytes32 listingId = getHashInternal(tokenContractAddress, price, allowance, dateEnds, salt);
        Listing memory listing = Listing(msg.sender, tokenContractAddress, price, allowance, now, dateEnds);
        listings[listingId] = listing;
        emit ListingCreated(listingId, tokenContractAddress, price, allowance, now, dateEnds, msg.sender);

    }
    function cancelListing(bytes32 listingId) external {
        Listing storage listing = listings[listingId];
        require(msg.sender == listing.seller);
        delete listings[listingId];
        emit ListingCancelled(listingId, now);
    }

    function buyListing(bytes32 listingId, uint256 amount) external payable {
        Listing storage listing = listings[listingId];
        address seller = listing.seller;
        address contractAddress = listing.tokenContractAddress;
        uint256 price = listing.price;
        uint256 tokenId = listing.allowance;
        ERC721 tokenContract = ERC721(contractAddress);
        //make sure listing is still available
        require(now <= listing.dateEnds);
        //make sure that the seller still has that amount to sell
        require(tokenContract.ownerOf(tokenId) == seller, "user doesn't own this token");
        //make sure that the seller still will allow that amount to be sold
        require(tokenContract.getApproved(tokenId) == address(this));
        require(msg.value == price);
        tokenContract.transferFrom(seller, msg.sender, tokenId);
        if (ownerPercentage > 0) {
            seller.transfer(price - (listing.price.mul(ownerPercentage).div(10000)));
        } else {
            seller.transfer(price);
        }
        emit ListingBought(listingId, contractAddress, price, amount, now, msg.sender);
    }


}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"approveToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"GAS_LIMIT","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"percentage","type":"uint256"}],"name":"updateOwnerPercentage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ownerPercentage","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenContractAddress","type":"address"},{"name":"price","type":"uint256"},{"name":"allowance","type":"uint256"},{"name":"dateEnds","type":"uint256"},{"name":"salt","type":"uint256"}],"name":"getHash","outputs":[{"name":"","type":"bytes32"}],"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":"tokenContractAddress","type":"address"},{"name":"price","type":"uint256"},{"name":"allowance","type":"uint256"},{"name":"dateEnds","type":"uint256"},{"name":"salt","type":"uint256"}],"name":"createListing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"listingId","type":"bytes32"}],"name":"cancelListing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"listingId","type":"bytes32"},{"name":"amount","type":"uint256"}],"name":"buyListing","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"listings","outputs":[{"name":"seller","type":"address"},{"name":"tokenContractAddress","type":"address"},{"name":"price","type":"uint256"},{"name":"allowance","type":"uint256"},{"name":"dateStarts","type":"uint256"},{"name":"dateEnds","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"VERSION","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"percentage","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"listingId","type":"bytes32"},{"indexed":false,"name":"tokenContractAddress","type":"address"},{"indexed":false,"name":"price","type":"uint256"},{"indexed":false,"name":"allowance","type":"uint256"},{"indexed":false,"name":"dateStarts","type":"uint256"},{"indexed":false,"name":"dateEnds","type":"uint256"},{"indexed":true,"name":"seller","type":"address"}],"name":"ListingCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"listingId","type":"bytes32"},{"indexed":false,"name":"dateCancelled","type":"uint256"}],"name":"ListingCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"listingId","type":"bytes32"},{"indexed":false,"name":"tokenContractAddress","type":"address"},{"indexed":false,"name":"price","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"dateBought","type":"uint256"},{"indexed":false,"name":"buyer","type":"address"}],"name":"ListingBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

608060405234801561001057600080fd5b506040516020806118e583398101806040528101908080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806001819055505061185b8061008a6000396000f3006080604052600436106100d0576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063022fc88b146100d2578063091d27881461011f5780633a5e25761461015257806341da75551461017f5780635fd8c710146101aa578063715018a6146101c157806386964032146101d85780638da5cb5b1461025f5780639057f289146102b65780639299e55214610321578063b924767314610352578063c18b8db414610380578063f2fde38b14610440578063ffa1ad7414610483575b005b3480156100de57600080fd5b5061011d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610513565b005b34801561012b57600080fd5b50610134610679565b604051808261ffff1661ffff16815260200191505060405180910390f35b34801561015e57600080fd5b5061017d6004803603810190808035906020019092919050505061067f565b005b34801561018b57600080fd5b506101946106e4565b6040518082815260200191505060405180910390f35b3480156101b657600080fd5b506101bf6106ea565b005b3480156101cd57600080fd5b506101d66107bc565b005b3480156101e457600080fd5b50610241600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506108be565b60405180826000191660001916815260200191505060405180910390f35b34801561026b57600080fd5b506102746108d8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102c257600080fd5b5061031f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506108fd565b005b34801561032d57600080fd5b506103506004803603810190808035600019169060200190929190505050610da3565b005b61037e600480360381019080803560001916906020019092919080359060200190929190505050610eec565b005b34801561038c57600080fd5b506103af600480360381019080803560001916906020019092919050505061143b565b604051808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001838152602001828152602001965050505050505060405180910390f35b34801561044c57600080fd5b50610481600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114b7565b005b34801561048f57600080fd5b5061049861151e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104d85780820151818401526020810190506104bd565b50505050905090810190601f1680156105055780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561056e57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1663095ea7b36000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561063257600080fd5b505af1158015610646573d6000803e3d6000fd5b505050506040513d602081101561065c57600080fd5b8101908080519060200190929190505050151561067557fe5b5050565b61138781565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156106da57600080fd5b8060018190555050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561074557600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015156107ba57fe5b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561081757600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a260008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60006108cd8686868686611557565b905095945050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006109076117cc565b60008611151561097f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f7072696365206c657373207468616e207a65726f00000000000000000000000081525060200191505060405180910390fd5b6000851115156109f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f616c6c6f77616e6365206c657373207468616e207a65726f000000000000000081525060200191505060405180910390fd5b600084111515610a6f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f64617465456e6473206c657373207468616e207a65726f00000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b158015610af557600080fd5b505af1158015610b09573d6000803e3d6000fd5b505050506040513d6020811015610b1f57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff16141515610bbb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f7573657220646f65736e2774206f776e207468697320746f6b656e000000000081525060200191505060405180910390fd5b610bc88787878787611557565b915060c0604051908101604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018681526020014281526020018581525090508060026000846000191660001916815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301556080820151816004015560a082015181600501559050503373ffffffffffffffffffffffffffffffffffffffff1682600019167f9e1832b56075d4be9b59d3964dd56151b649e4a4b114a4acefd4d9f21e1003c5898989428a604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018281526020019550505050505060405180910390a350505050505050565b600060026000836000191660001916815260200190815260200160002090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e2057600080fd5b600260008360001916600019168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160009055600382016000905560048201600090556005820160009055505081600019167f6058913770fd8ede2df053a3c745065f043fe27a1585a9071a05fed168126c07426040518082815260200191505060405180910390a25050565b60008060008060008060026000896000191660001916815260200190815260200160002095508560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169350856002015492508560030154915083905085600501544211151515610f8457600080fd5b8473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b15801561100a57600080fd5b505af115801561101e573d6000803e3d6000fd5b505050506040513d602081101561103457600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff161415156110d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f7573657220646f65736e2774206f776e207468697320746f6b656e000000000081525060200191505060405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663081812fc846040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b15801561115657600080fd5b505af115801561116a573d6000803e3d6000fd5b505050506040513d602081101561118057600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff161415156111b357600080fd5b82341415156111c157600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166323b872dd8633856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561129857600080fd5b505af11580156112ac573d6000803e3d6000fd5b5050505060006001541115611335578473ffffffffffffffffffffffffffffffffffffffff166108fc6113026127106112f46001548b6002015461168490919063ffffffff16565b6116bc90919063ffffffff16565b85039081150290604051600060405180830381858888f1935050505015801561132f573d6000803e3d6000fd5b5061137d565b8473ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f1935050505015801561137b573d6000803e3d6000fd5b505b87600019167f37c577186df43cec2b1e2e404d2bfb60aa75b7a1d71bf0730446f0ed9bdb53bd85858a4233604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060405180910390a25050505050505050565b60026020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154908060050154905086565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561151257600080fd5b61151b816116d2565b50565b6040805190810160405280600581526020017f312e302e3100000000000000000000000000000000000000000000000000000081525081565b6000338686868686604051602001808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166c010000000000000000000000000281526014018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166c0100000000000000000000000002815260140185815260200184815260200183815260200182815260200196505050505050506040516020818303038152906040526040518082805190602001908083835b60208310151561164c5780518252602082019150602081019050602083039250611627565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020905095945050505050565b60008083141561169757600090506116b6565b81830290508183828115156116a857fe5b041415156116b257fe5b8090505b92915050565b600081838115156116c957fe5b04905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561170e57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60c060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081526020016000815250905600a165627a7a72305820f50dc0853afcfb4e0aa99ad26a0c140d3cc457a5c9af62832ead51c1196026c30029000000000000000000000000000000000000000000000000000000000000007d

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

000000000000000000000000000000000000000000000000000000000000007d

-----Decoded View---------------
Arg [0] : percentage (uint256): 125

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000007d


Swarm Source

bzzr://f50dc0853afcfb4e0aa99ad26a0c140d3cc457a5c9af62832ead51c1196026c3
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.