Sponsored:   Color - Revolutionizing the Dapp Ecosystem, Bounty & Airdrop, Get 240,000 COL NOW!
Contract Overview
Balance: 0.0155560976 Ether
Ether Value: $4.41 (@ $283.34/ETH)
Transactions: 4515 txns
Misc
Address Watch: Add To Watch List
Contract Creator: 0x343b20f9706ea383832cdce63e5339f6e01c6167at txn 0xdae7ea36f18ce1f2ef487423bcde1f5ba9ee2ac175db726b58f69e3bb4ae1fa8
Token Balances:
 Latest 25 txns from a total Of 4515 transactions

TxHash Age From To Value [TxFee]
0xd19dcfa37b6d5080a0272def9efc70a50bad0fd971bdff1a3ace53961d3507a01 day 3 hrs ago0xd456bc865c71f8f942d551dcc98a31649f856e8c  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.0000294 Ether0.000271515
0xd08c9e25b81b4a400ed40d165179ae9fe12d4c2553d88932c731bfb57139d1401 day 4 hrs ago0xcd692fa206f12f06a8eff7c16d340ca1c5272ca4  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.000456084
0x79ef73233da7ecce66901702170f2ddab2787e25598798bcc5218167dfcbf16a1 day 12 hrs ago0xd456bc865c71f8f942d551dcc98a31649f856e8c  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.000024 Ether0.0003479553
0x4df314fda2f9a93183d52b57428e8d5d19fe015f704572b3f5ccd8145a106cbd1 day 16 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.1 Ether0.0001747377
0xe2344a2f0922074f78f2c996a9eeadd6980155b8cc19a96ce75cbb3d90daed541 day 16 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.075 Ether0.0001747377
0x94fb6540fda3d16956529088bb7f492a2160cc7da6f8d565d4795490b03a09a81 day 16 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.015 Ether0.0001747377
0x8fb5151f1870572d2794686f390e4e2fd55385e04e955dda76ca9b1cfa0852cc1 day 16 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.015 Ether0.0001747377
0x6728259f1c3b9b3a05ba927d5e033fcc00ed44f5a44e2914d467e1fa0f7b9d1f1 day 16 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.1 Ether0.0001801696
0x40f33f3e3badc84f6e89f8de70f0b3b41f5e79b774182ac6106a18db0f52d2cf1 day 16 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.03 Ether0.0002677377
0xf4498610bffe6114ec1706e47e6f4e4c8f300e82992e1e46e90ef7f3dfe82be21 day 20 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.09 Ether0.0000913184
0xdc9db0dcfc6a06b9ce6f0c2e0a12060f6d3fa511033bf1944772d027eab9643c1 day 22 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.09 Ether0.0002763744
0x858255c430cb5da97584024c5cac2d8e0ce748cc7f1b05b4c2f9cf7043775afd1 day 22 hrs ago0x3898ce3bdbb13700a7f3a389b46912857da7e12e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.08 Ether0.0002763744
0x777e6da49928f6efa2c84e5d7a77db6ce4a81a65b4fbe38858455861cf78c2e22 days 6 hrs ago0xd766d89d3492df23f2b5a6df1720184c725d9f48  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.00745 Ether0.000214293
0x77687a02277722a17a1db20cdfdf5c05f0b8e149ae3be7da3b30a96d5d04fb662 days 9 hrs ago0xb9ace70ce234180f009aee04fc84fd755856fe86  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.009 Ether0.00049014
0x88cc6f8a88e028b5024ff664bd598e366965ea7f09b4ad7daa3f3913918996b42 days 11 hrs ago0xf0333b94f895eb5aab3822da376f9cbcfce8a19c  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.0006246596
0xb67ec0722bc84a9a3644f91f07951acb38ba21c6c1b8acc74beeb4f09d97cd683 days 10 hrs ago0x04b38b5c09e4ec66dd14350393813afba0e60499  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.0004617641
0x2f014bcdde8aaa9e248a96dfb12c8a4fe469069d81faad35fa7f1c5f3f9b3f093 days 20 hrs ago0xe7eca2a94e9d59848f3c1e1ffaacd881d4c3a4f2  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.000913752
0x03b99d5a340df5ca32c13b97c113e1b770ede12d94346ae8c8870e3de42ba94b3 days 23 hrs ago0xc08192d450d44187e668c774f9a44c0f2953849c  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.0003683376
0x28063d8e64f81fa0cb696191f4a5a5efb84d5f03367916becf19b665068117f94 days 7 hrs ago0xf0333b94f895eb5aab3822da376f9cbcfce8a19c  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.00038057
0x73f60e1d02755555f4370c30b2718fc2e97377d21b3e69aea8169e2de0affc095 days 12 hrs ago0xb9ace70ce234180f009aee04fc84fd755856fe86  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890.00000516 Ether0.000633087
0x57ba61c145d5e9597afb4d64c4560f2172bb03befa57ba2df1fbaad4650327f55 days 21 hrs ago0xe75fe8be89d97101d1d84878bb876a1e6b12b83e  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.003534318
0x7d64bdb13d383302d7c3004fa85d6239485656907e5ee161cbaba8432b0937886 days 3 hrs ago0x9936e2e1ef9e50cb88a9fe7a69d2d16d6cafb551  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.005622668
0x14b8bb66386af8bdc8389b5d4d19e1dff7da59cffda12f70d6aba4836fa92bda6 days 8 hrs ago0xcf0e9b4746cfb97bae329fe5f696969f6564566a  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.0002872422
0x44ad8718e4b04b81d9a9719e20bf6e81d23a08c1ad0e669f387d42ffd23f14926 days 8 hrs ago0xcf0e9b4746cfb97bae329fe5f696969f6564566a  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.0002869158
0x55cb3a46858fadd522cde32c43989d0e0ede2afb71d4cfebffc31353dac484db6 days 8 hrs ago0xcf0e9b4746cfb97bae329fe5f696969f6564566a  IN   0xa667f7c9f8d9e7f54814f312ae42d08a311548890 Ether0.0002872422
[ 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
0xd19dcfa37b6d5080a0272def9efc70a50bad0fd971bdff1a3ace53961d3507a061495981 day 3 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x1812aef4748f3026c1eb5a52cd3f3bc44d1584d80.000029106 Ether
0x79ef73233da7ecce66901702170f2ddab2787e25598798bcc5218167dfcbf16a61472781 day 12 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xc08192d450d44187e668c774f9a44c0f2953849c0.00002376 Ether
0x4df314fda2f9a93183d52b57428e8d5d19fe015f704572b3f5ccd8145a106cbd61464261 day 16 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x4accf705f3ef5d221131fe2a3cc630968ee634900.099 Ether
0xe2344a2f0922074f78f2c996a9eeadd6980155b8cc19a96ce75cbb3d90daed5461464241 day 16 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xab8e2b05ec42cde3d4921e75ae2cf2363e43f8e70.07425 Ether
0x94fb6540fda3d16956529088bb7f492a2160cc7da6f8d565d4795490b03a09a861464211 day 16 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xa2381223639181689cd6c46d38a1a4884bb6d83c0.01485 Ether
0x8fb5151f1870572d2794686f390e4e2fd55385e04e955dda76ca9b1cfa0852cc61464211 day 16 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xa2381223639181689cd6c46d38a1a4884bb6d83c0.01485 Ether
0x6728259f1c3b9b3a05ba927d5e033fcc00ed44f5a44e2914d467e1fa0f7b9d1f61463701 day 16 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x925d0be616f91c131181e7a00800b68466b5aa9f0.099 Ether
0x40f33f3e3badc84f6e89f8de70f0b3b41f5e79b774182ac6106a18db0f52d2cf61463681 day 16 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x32df6b61764a9b00dc7e81625b941d444bda981e0.0297 Ether
0xdc9db0dcfc6a06b9ce6f0c2e0a12060f6d3fa511033bf1944772d027eab9643c61448461 day 22 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x3589c93f3d2aefdb89035487f2d7130f2808043b0.0891 Ether
0x858255c430cb5da97584024c5cac2d8e0ce748cc7f1b05b4c2f9cf7043775afd61448091 day 22 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x3589c93f3d2aefdb89035487f2d7130f2808043b0.0792 Ether
0x777e6da49928f6efa2c84e5d7a77db6ce4a81a65b4fbe38858455861cf78c2e261427832 days 6 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xcf0e9b4746cfb97bae329fe5f696969f6564566a0.0073755 Ether
0x73f60e1d02755555f4370c30b2718fc2e97377d21b3e69aea8169e2de0affc0961236595 days 12 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x800375ceee48356c12737116645ff4f90f9e9f880.0000051084 Ether
0x5519c7dc00b0cc7e67693b788d69db8385219f508d39cd4159896c9d0bb8e46d61057548 days 13 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xf0333b94f895eb5aab3822da376f9cbcfce8a19c0.152064 Ether
0xbd914d5374b7a764969213fb02eb9c25938768841264d2600d2c92314889dcca61037678 days 21 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xcf0e9b4746cfb97bae329fe5f696969f6564566a0.0594 Ether
0xbf3e1a36e2911eb3eaa2024f86cddae2eb883074932b478f150a52428fbce7cc61036488 days 21 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xf0333b94f895eb5aab3822da376f9cbcfce8a19c0.152064 Ether
0xbd567fb176f58e42327659b61776b5bd64fe56dc754e45c6f6e1be84358dcfe861004289 days 10 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x603506ea4a154b256bcba721c9681afaa2f3fe660.01287 Ether
0x9fff2033b71f72ae1704e6483cf8a93bdcc8f2772bce4895bd69b94d33e55519608612811 days 20 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x343b20f9706ea383832cdce63e5339f6e01c61670.0891 Ether
0xf8f1f9cd86bb6b6c0ab2af20d880d1e54c71f802a10de66e0b7e081f1117efc5608564111 days 22 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xcd692fa206f12f06a8eff7c16d340ca1c5272ca40.0099 Ether
0x8d9627afab9cf07170c92230d2b0eb2f2c9bf09c952acdef31154c2f7c0ebf15608118612 days 16 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x5d6ff7a33cf66e377d684339b492ac73eb78bc460.05643 Ether
0xd93e7af2cb56bc7bac7b0a4ad90c7a4d4563e101cc5a348699a759b2492cdb6e607738913 days 8 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x800375ceee48356c12737116645ff4f90f9e9f880.000001188 Ether
0x3ffaa60f1ed7541dfdb4c8a12d80c87650b35bc06d589f479c2d285606818529606857214 days 19 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xa2381223639181689cd6c46d38a1a4884bb6d83c0.0297 Ether
0xe82f448e226b2ecef537cc80bd0dde935d678962d81f07b73cdc987bdfbea5fc606852114 days 20 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xe00af7a5d91ed0bdfef3725cefa1bdc32f293eb10.46332 Ether
0xffc398a6081bee8859eb5fc1daba170142f4213671a908feb28153259e092963606718515 days 1 hr ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xd47df21207181152dffc749eb3a66d8d91eb204a0.007821 Ether
0x1c018a7d8867217dcad530bb2d5bce6876fb84f8e3d6cadce152276e27f976fd606473915 days 11 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890x343b20f9706ea383832cdce63e5339f6e01c61670.014239667595811052 Ether
0xfe4dc50a20b1ed63f103c51af07e872b4138d30fb3267febffc427e8e2c2666b606334615 days 17 hrs ago0xa667f7c9f8d9e7f54814f312ae42d08a311548890xab8e2b05ec42cde3d4921e75ae2cf2363e43f8e70.02475 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to NestedArrayFunctionCallDecoder (medium-severity) Solidity compiler bugs.

Contract Source Code Verified (Exact match)
Contract Name: ListingsERC20
Compiler Version: 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

-----Decoded View---------------
Found 1 constructor arguments :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c8


   Swarm Source:
bzzr://75bf22a03545a18f035daf9f3d74332eb3f6ef54f5d8048f2e2945f58c973187

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.