Contract Overview
Balance: 0.047323806234597433 Ether
Ether Value: $10.00 (@ $211.26/ETH)
Transactions: 4669 txns
 Latest 25 txns From a total of 4669 Transactions

TxHash Age From To Value [TxFee]
0x1b6e6fdcabc2ee9ba95d94171dcaac23d8802923e1f35ff10c27b233834107509 hrs 47 mins ago0xc1b225046c544bbceb26fc0cd00954fdd50960d8  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.004 Ether0.000093636
0xd9fafb7bbe5c4613966c91dd45bb630cb3953480156aa64a99e05f59e0e81ac09 hrs 48 mins ago0xc1b225046c544bbceb26fc0cd00954fdd50960d8  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.004 Ether0.000093636
0xe253cf7ea61d9dfcba91caf12942691a50ad5afc15b71a226d37f155bc46f1014 days 7 hrs ago0x2e53273dc32d17b1e6da6cc7239faa52c6057c0c  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.00169 Ether0.0003901317
0x4858a62c91b0dd7aabf8dfbe4167d89d9d1f771e6eba2697010f0162951c18085 days 5 hrs ago0x6d295267ce505c55ad65f1759c080be337f96943  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.00076014
0x1098eb89fbea3cfbb3b236ee45bbf1704c124b8cd0593a84ae8fba0afa05f6f85 days 5 hrs ago0x6d295267ce505c55ad65f1759c080be337f96943  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.00076014
0x09b8c8b9d03a7c92f507ed5d1846ac8f48cace3bd39b859ebadebb657aed59905 days 5 hrs ago0x6d295267ce505c55ad65f1759c080be337f96943  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.00076014
0x3ea45657e12db41b9e7e6dd612b13b2b65fabfea5291de4d728fc4682f12c85f5 days 5 hrs ago0x6d295267ce505c55ad65f1759c080be337f96943  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.00076014
0x76c0d6a5737dbf21d76e566aa4a75f7a88e21276810474e922d03359d28d1f085 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.28 Ether0.000214101
0xc31f18cbc9117792e8f05a03f79fd82e6a8eccb0b874d467a54237db7bc6fd895 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.39 Ether0.000169101
0x03ee9da371386a1fb891a50d741d12f7aa76242cb4a10f428c5c1fd9e06aaf6d5 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.4 Ether0.000169101
0x40c6539d188aa8c2d69197339276553a981cc55f18384ea013c476a5b393966f5 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.25 Ether0.000169101
0x74864687d965f15360f2408e2d136214261abf28bc6d54bdd4f600095590d1e85 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.075 Ether0.000169101
0x323d580777cd83d36216d05b034de05c507ee995ea98d6df5ca7bec9e2a2ac125 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.1 Ether0.0001747377
0x5703dd714bd13955eb18fe30a4a3e80ef06c082f8bb5db7cfb0671195908cdb85 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.04 Ether0.000169101
0xcc8bd2ff5f0181f8e8348aedc422257ef2d5fbd5ed2c2a4884e5d962fae9da685 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.072 Ether0.000124101
0x6e727211318ecc6e096e4625ae2dc31b23133fb8f3ec812c62950e123f036b825 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.075 Ether0.000169101
0x263251788b9c8a0e4cb30b61b78c7b0b155b46c9d91faf8b2b931521703a69565 days 6 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.015 Ether0.000214101
0x7cc6521d69dd2c44b09dd2fbde4cfe81d4a8245d3177a9870d55705d2c46af0f7 days 4 hrs ago0xc960c705300004fdf99a6c0060b5c9601ecc3e8e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.015 Ether0.0002210393
0x09f7562d8baf13907639ac40b54841f300c36b83de80e025d25390a7f60cc8499 days 18 hrs ago0x2c31638afaf03c69bfdff53d450ce5f9c9ed8a73  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.0006389796
0xc545128bd35be82e2c6fef963c22a472912fa8e6882caf21ff12b1f5cb44b8eb12 days 4 hrs ago0xcde4404f2c111c979b7b15f1f0b1e78d9dc4f13b  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.000845 Ether0.0005693814
0x795da305c765793fb322faddf5b2b9026d42b0f5e44362c4f177a57a50cdea8c12 days 16 hrs ago0xdcae967431fb51aa7453ec6c06fa544c25e0f1ff  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.0010037676
0x78b7894e5b0da9c0e8c491c3d9c75e9367ef90068bdb7571c62f8fa74bbb4b5916 days 23 hrs ago0x50c21b2606959625072b96a4d5786b78b7cd7012  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.000303368
0x6afe11bdc5adcb6b65a8336c6e781980d1991fed9efb46b94ae963dc8507944717 days 8 hrs ago0xdcae967431fb51aa7453ec6c06fa544c25e0f1ff  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.0013991912
0x11c48a0139d0ab37055a874bbffc368a1fc9fdb72f1daec2c32a87aebf768d9a17 days 23 hrs ago0x11c067252eac7b80fed213cb4cc0a5e1f3bac09c  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.19435 Ether0.0012977115
0xa2448f3c1554d2257871c6aa4f906d02e8f998f0524ff5c02b05f2f8a11d702118 days 6 hrs ago0xc960c705300004fdf99a6c0060b5c9601ecc3e8e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.015 Ether0.0006637131
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click Here To View More View All
ParentTxHash Block Age From To Value
0xe253cf7ea61d9dfcba91caf12942691a50ad5afc15b71a226d37f155bc46f10164933404 days 7 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x02a7311863881b5e7990debe016352313f5347380.0016731 Ether
0x76c0d6a5737dbf21d76e566aa4a75f7a88e21276810474e922d03359d28d1f0864876385 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x1515933eb2801660f20c0b0696c17dd43e7974790.2772 Ether
0xc31f18cbc9117792e8f05a03f79fd82e6a8eccb0b874d467a54237db7bc6fd8964876295 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x74f3e7a15099a653885bcc8c31d354fef7c221c10.3861 Ether
0x03ee9da371386a1fb891a50d741d12f7aa76242cb4a10f428c5c1fd9e06aaf6d64876255 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x6d295267ce505c55ad65f1759c080be337f969430.396 Ether
0x40c6539d188aa8c2d69197339276553a981cc55f18384ea013c476a5b393966f64876215 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x6d295267ce505c55ad65f1759c080be337f969430.2475 Ether
0x74864687d965f15360f2408e2d136214261abf28bc6d54bdd4f600095590d1e864875915 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x1515933eb2801660f20c0b0696c17dd43e7974790.07425 Ether
0x323d580777cd83d36216d05b034de05c507ee995ea98d6df5ca7bec9e2a2ac1264875595 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x6d295267ce505c55ad65f1759c080be337f969430.099 Ether
0x5703dd714bd13955eb18fe30a4a3e80ef06c082f8bb5db7cfb0671195908cdb864875535 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x6d295267ce505c55ad65f1759c080be337f969430.0396 Ether
0xcc8bd2ff5f0181f8e8348aedc422257ef2d5fbd5ed2c2a4884e5d962fae9da6864875115 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x5d6ff7a33cf66e377d684339b492ac73eb78bc460.07128 Ether
0x6e727211318ecc6e096e4625ae2dc31b23133fb8f3ec812c62950e123f036b8264875065 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xab8e2b05ec42cde3d4921e75ae2cf2363e43f8e70.07425 Ether
0x263251788b9c8a0e4cb30b61b78c7b0b155b46c9d91faf8b2b931521703a695664875065 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x9527d35e66f24e35a333920238c3caa9d4ef11500.01485 Ether
0x7cc6521d69dd2c44b09dd2fbde4cfe81d4a8245d3177a9870d55705d2c46af0f64757547 days 4 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x9527d35e66f24e35a333920238c3caa9d4ef11500.01485 Ether
0xc545128bd35be82e2c6fef963c22a472912fa8e6882caf21ff12b1f5cb44b8eb644492912 days 4 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x02a7311863881b5e7990debe016352313f5347380.00083655 Ether
0x11c48a0139d0ab37055a874bbffc368a1fc9fdb72f1daec2c32a87aebf768d9a640935717 days 23 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x02a7311863881b5e7990debe016352313f5347380.1924065 Ether
0xa2448f3c1554d2257871c6aa4f906d02e8f998f0524ff5c02b05f2f8a11d7021640779618 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x9527d35e66f24e35a333920238c3caa9d4ef11500.01485 Ether
0x476f9114ea9ba93f12f75e5868540ae6f9625eece1e283107af93745c19decff640779318 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x9527d35e66f24e35a333920238c3caa9d4ef11500.1485 Ether
0x207f918a09842554cfd6d00e0350a15db6e405ae331d41356712d3575d4c26e2640765618 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x9527d35e66f24e35a333920238c3caa9d4ef11500.02475 Ether
0xee1e9109c822c0c1a8a45ff0ba96c3f245c42c04c820f4515a7aa528ab3db093640764918 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x9527d35e66f24e35a333920238c3caa9d4ef11500.0099 Ether
0xa2b67b3baa13d7cfec972af7412ae2c7df2bcee34a74fac06d3a37a7c6a79160640764718 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x9527d35e66f24e35a333920238c3caa9d4ef11500.0198 Ether
0xdb975b5ee146720160f5f3cb79e7a4feed3216c1fe000f3f9b6bc3e915802239639921219 days 15 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x123085670e817602041e58febb243abe01a9a8250.00891 Ether
0xdaf760c5c719c4d2a97a37146ac49632f13311b671751f75eac492f5792c9247639919319 days 15 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xdcae967431fb51aa7453ec6c06fa544c25e0f1ff0.02673 Ether
0x24bb7bd9e63f0c5ad62b5cd58c166100e0561851fde0d368cfed69058a8a8343639238620 days 18 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xcbda6c4fb96aa612ca252b08c3f10cb73d4cddd40.000001881 Ether
0x9a3bfa3732e7c4767543a33633ec36ba95ee1285f2f4f5bfbca5a8c7b7b6a749639225520 days 19 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xcbda6c4fb96aa612ca252b08c3f10cb73d4cddd40.000001881 Ether
0x0f260205bbe009fbab190d342ea85d3e0fecb22ba5b6eaa697298874737eecad638655221 days 17 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x8eb173c458a505a22caab0ee0209751ad91bee0a0.0099 Ether
0x80df27865fc7213ab82e07f61fa617a957e9a56aed5fee1165e9269d658583de637177524 days 3 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xfbf3236362407bfcc623eb14eada9a6e5168bd140.0495 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: ListingsERC20
Compiler Text: v0.4.18+commit.9cf6e910
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;


/**
 * @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;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() 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 transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}
pragma solidity ^0.4.18;


/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  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 c;
  }

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}



contract ERC20Basic {
  uint256 public totalSupply;
  uint8 public decimals;
  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);
}

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);
}
contract ListingsERC20 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;
    mapping (bytes32 => uint256) public sold;
    function ListingsERC20(uint256 percentage) public {
        ownerPercentage = percentage;
    }

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

    function withdrawBalance() onlyOwner external {
        assert(owner.send(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(msg.sender, tokenContractAddress, price, allowance, dateEnds, salt);
    }
    function getBalance(address tokenContract, address seller) internal constant returns (uint256) {
        return ERC20(tokenContract).balanceOf.gas(GAS_LIMIT)(seller);
    }
    function getAllowance(address tokenContract, address seller, address listingContract) internal constant returns (uint256) {
        return ERC20(tokenContract).allowance.gas(GAS_LIMIT)(seller, listingContract);
    }
    function getDecimals(address tokenContract) internal constant returns (uint256) {
        return ERC20(tokenContract).decimals.gas(GAS_LIMIT)();
    }

    function createListing(address tokenContractAddress, uint256 price, uint256 allowance, uint256 dateEnds, uint256 salt) external {
        require(price > 0);
        require(allowance > 0);
        require(dateEnds > 0);
        require(getBalance(tokenContractAddress, msg.sender) >= allowance);
        bytes32 listingId = getHashInternal(tokenContractAddress, price, allowance, dateEnds, salt);
        Listing memory listing = Listing(msg.sender, tokenContractAddress, price, allowance, now, dateEnds);
        listings[listingId] = listing;
        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];
        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 decimals = getDecimals(listing.tokenContractAddress);
        uint256 factor = 10 ** decimals;
        uint256 sale;
        if (decimals > 0) {
            sale = price.mul(amount).div(factor);
        } else {
            sale = price.mul(amount);
        } 
        uint256 allowance = listing.allowance;
        //make sure listing is still available
        require(now <= listing.dateEnds);
        //make sure there are still enough to sell from this listing
        require(allowance - sold[listingId] >= amount);
        //make sure that the seller still has that amount to sell
        require(getBalance(contractAddress, seller) >= amount);
        //make sure that the seller still will allow that amount to be sold
        require(getAllowance(contractAddress, seller, this) >= amount);
        require(msg.value == sale);
        ERC20 tokenContract = ERC20(contractAddress);
        require(tokenContract.transferFrom(seller, msg.sender, amount));
        if (ownerPercentage > 0) {
            seller.transfer(sale - (sale.mul(ownerPercentage).div(10000)));
        } else {
            seller.transfer(sale);
        }
        sold[listingId] = sold[listingId].add(amount);
        ListingBought(listingId, contractAddress, price, amount, now, msg.sender);
    }

}

    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":true,"inputs":[{"name":"","type":"bytes32"}],"name":"sold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawBalance","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"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b60405160208061162c83398101604052808051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600181905550506115aa806100826000396000f3006060604052600436106100d0576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063022fc88b146100d2578063091d2788146101145780633a5e25761461014557806341da7555146101685780634ccc5da0146101915780635fd8c710146101cc57806386964032146101e15780638da5cb5b1461025a5780639057f289146102af5780639299e5521461030c578063b924767314610333578063c18b8db414610358578063f2fde38b1461040e578063ffa1ad7414610447575b005b34156100dd57600080fd5b610112600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506104d5565b005b341561011f57600080fd5b610127610623565b604051808261ffff1661ffff16815260200191505060405180910390f35b341561015057600080fd5b6101666004808035906020019091905050610629565b005b341561017357600080fd5b61017b61068e565b6040518082815260200191505060405180910390f35b341561019c57600080fd5b6101b6600480803560001916906020019091905050610694565b6040518082815260200191505060405180910390f35b34156101d757600080fd5b6101df6106ac565b005b34156101ec57600080fd5b61023c600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001909190803590602001909190803590602001909190505061077e565b60405180826000191660001916815260200191505060405180910390f35b341561026557600080fd5b61026d610798565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102ba57600080fd5b61030a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919080359060200190919080359060200190919080359060200190919050506107bd565b005b341561031757600080fd5b6103316004808035600019169060200190919050506109f4565b005b610356600480803560001916906020019091908035906020019091905050610b3d565b005b341561036357600080fd5b61037d600480803560001916906020019091905050610f93565b604051808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001838152602001828152602001965050505050505060405180910390f35b341561041957600080fd5b610445600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061100f565b005b341561045257600080fd5b61045a611164565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561049a57808201518184015260208101905061047f565b50505050905090810190601f1680156104c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561053057600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1663095ea7b36000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156105fc57600080fd5b6102c65a03f1151561060d57600080fd5b50505060405180519050151561061f57fe5b5050565b61138781565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561068457600080fd5b8060018190555050565b60015481565b60036020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561070757600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561077c57fe5b565b600061078d868686868661119d565b905095945050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006107c761151b565b6000861115156107d657600080fd5b6000851115156107e557600080fd5b6000841115156107f457600080fd5b846107ff883361125e565b1015151561080c57600080fd5b610819878787878761119d565b915060c0604051908101604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018681526020014281526020018581525090508060026000846000191660001916815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301556080820151816004015560a082015181600501559050503373ffffffffffffffffffffffffffffffffffffffff1682600019167f9e1832b56075d4be9b59d3964dd56151b649e4a4b114a4acefd4d9f21e1003c5898989428a604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018281526020019550505050505060405180910390a350505050505050565b600060026000836000191660001916815260200190815260200160002090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a7157600080fd5b600260008360001916600019168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160009055600382016000905560048201600090556005820160009055505081600019167f6058913770fd8ede2df053a3c745065f043fe27a1585a9071a05fed168126c07426040518082815260200191505060405180910390a25050565b6000806000806000806000806000600260008c6000191660001916815260200190815260200160002098508860000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1697508860010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16965088600201549550610bea8960010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611321565b945084600a0a93506000851115610c2757610c2084610c128c896113af90919063ffffffff16565b6113ea90919063ffffffff16565b9250610c3d565b610c3a8a876113af90919063ffffffff16565b92505b8860030154915088600501544211151515610c5757600080fd5b89600360008d6000191660001916815260200190815260200160002054830310151515610c8357600080fd5b89610c8e888a61125e565b10151515610c9b57600080fd5b89610ca7888a30611405565b10151515610cb457600080fd5b8234141515610cc257600080fd5b8690508073ffffffffffffffffffffffffffffffffffffffff166323b872dd89338d6000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1515610da457600080fd5b6102c65a03f11515610db557600080fd5b505050604051805190501515610dca57600080fd5b60006001541115610e44578773ffffffffffffffffffffffffffffffffffffffff166108fc610e18612710610e0a600154886113af90919063ffffffff16565b6113ea90919063ffffffff16565b85039081150290604051600060405180830381858888f193505050501515610e3f57600080fd5b610e85565b8773ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501515610e8457600080fd5b5b610eb38a600360008e60001916600019168152602001908152602001600020546114fd90919063ffffffff16565b600360008d60001916600019168152602001908152602001600020819055508a600019167f37c577186df43cec2b1e2e404d2bfb60aa75b7a1d71bf0730446f0ed9bdb53bd88888d4233604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060405180910390a25050505050505050505050565b60026020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154908060050154905086565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561106a57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156110a657600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6040805190810160405280600581526020017f312e302e3100000000000000000000000000000000000000000000000000000081525081565b6000338686868686604051808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166c010000000000000000000000000281526014018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166c0100000000000000000000000002815260140185815260200184815260200183815260200182815260200196505050505050506040518091039020905095945050505050565b60008273ffffffffffffffffffffffffffffffffffffffff166370a0823161138761ffff16846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600088803b151561130157600080fd5b87f1151561130e57600080fd5b5050505060405180519050905092915050565b60008173ffffffffffffffffffffffffffffffffffffffff1663313ce56761138761ffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600088803b151561138d57600080fd5b87f1151561139a57600080fd5b505050506040518051905060ff169050919050565b60008060008414156113c457600091506113e3565b82840290508284828115156113d557fe5b041415156113df57fe5b8091505b5092915050565b60008082848115156113f857fe5b0490508091505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e61138761ffff1685856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600088803b15156114dc57600080fd5b87f115156114e957600080fd5b505050506040518051905090509392505050565b600080828401905083811015151561151157fe5b8091505092915050565b60c060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081526020016000815250905600a165627a7a7230582075bf22a03545a18f035daf9f3d74332eb3f6ef54f5d8048f2e2945f58c973187002900000000000000000000000000000000000000000000000000000000000000c8

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c8


   Swarm Source:
bzzr://75bf22a03545a18f035daf9f3d74332eb3f6ef54f5d8048f2e2945f58c973187

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.