Sponsored:   Color - Revolutionizing the Dapp Ecosystem, Bounty & Airdrop, Get 240,000 COL NOW!
Contract Overview
Balance: 0.018014398509481983 Ether
Ether Value: $5.47 (@ $303.67/ETH)
Transactions: 71 txns
 Latest 25 txns from a total Of 71 transactions

TxHash Age From To Value [TxFee]
0x889e3030b321f1b6d7ab71b9b21a6628113b1bb20e82c22d1bc1bcb1a4db7e71218 days 17 hrs ago0x4c47dd64c0b4697bcfef666d68a7278e461f8d31  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.00900719925474 Ether0.002058
0x1757147baa1902d4c69d3a277d7c84c0c6f95325d2218406d989060e9e8f7b96232 days 10 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.00450359962737 Ether0.00082896
0x6b5ca0f1e962a8600c25ad5fd0731345efa06774811b964088a04cb9fbf0a231235 days 4 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.002251799813685 Ether0.00082464
0x8a38c3814a4f185ec4b2cf1c9ea66c8994c16dc97f1563614a7477e683dcec75235 days 4 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.001125899906842 Ether0.00082176
0xa5cf762bed405d1133fe470b4d67717d0f0b18aa5ab1f777207391d941ca653e235 days 4 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000562949953421 Ether0.000862848
0x95d1dac69f00159dc5d9fd985e28dbd731376eaea736b194abde4c2beba4245a235 days 4 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.00028147497671 Ether0.00082176
0xcb69ce49716ebc27a2c331e23fb327595a1cd1db4eda835882c86b05afff74aa235 days 4 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000140737488355 Ether0.00082176
0x15e88e582c5a4b94aacb6c08cdddf1599d4b810c63f64014cab50ae54f5433a6235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000070368744177 Ether0.000862848
0xa5898747b3f6fd0cbeff780ac7d154bdeb1957fc812551bcd0cf05a58182a3bd235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000035184372088 Ether0.00082176
0x736b531ebfc0f41a4825529fdfd2a6a123df8746041b4eb1f981df5c4c151e18235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000017592186044 Ether0.00082176
0x8cdaa947674a7e9eeb17ff0034e3eb9689ddeb44cc9700aef1d3897c175e8fd9235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000008796093022 Ether0.00082176
0x3489bec3a8d627bf4ffe2cc880583d5ca04d38795c3235ad8b05dd73d9b6c1a7235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000004398046511 Ether0.00082176
0x9e4ff7bd921e67453066cb7581c1e2149f1d399d0f395b16b794a41b8614aa63235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000002199023255 Ether0.00082176
0x18dc1aa6a7cc078e46d30eff7e80ec40cc570db577e30602d388c54e7e710373235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000001099511627 Ether0.00082176
0x7060aad053760d67e2435e430110192169446db4667b208a498796e3ac7201ad235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000549755813 Ether0.00045058
0x164dfa559fa9bbe5395a79b00b9f20605f7b850f660580d4b85d43ba3f18383c235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000549755813 Ether0.00082176
0xd093668be18d9b3387c0b47022daaa8cce45cdf38b050914f66b049cc05c1460235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000274877906 Ether0.00045058
0xc5611f043cab69bc8662b08cd73e8ef5a2afb1c08afbadfa2c070d21ddd79dc2235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000274877906 Ether0.00082176
0x3221498277de01593bf9f91962a986674cf8ebfbdbeddb629862efac67fd2a9e235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000137438953 Ether0.00045058
0x04375c696e8fcffc32699a84de396a900027bb1fff14bdd07ef247d25f58d23e235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000137438953 Ether0.00082176
0xbad5e864d29565f9c552a7d85cf6c04499f2d887eab3368d921eb8e6304b7573235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000068719476 Ether0.00045058
0x48c1aa3686716607b2491d89e475dd66435f7403f7d410a85aa9ff9971b4dc47235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000068719476 Ether0.000862848
0x0dfd34fd346502bdafcdb1055b05158abef6e925a12a247e229fdccd44163330235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000034359738 Ether0.0004776148
0x609b40ab8b211cfa5451f6c630cca9c04d13370e9924683a4b302c8545db39eb235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000034359738 Ether0.000870408
0xd57f032767613234db48df6b30d1f4ee3e85ea87cec0c5aa83151296f9828a7b235 days 5 hrs ago0x52ce8b05cc449f9bbb6b95c8b501e3d294869372  IN   0x15d3122103c5c17ed791fd5a3dba847ecfd6037e0.000000017179869 Ether0.00082896
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The compiled contract might be susceptible to EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity compiler bugs.

Contract Source Code Verified (Exact match)
Contract Name: SingleMessage
Compiler Version: v0.4.18+commit.9cf6e910
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

// File: contracts/Ownable.sol

contract Ownable {
  address public owner;

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

  function Ownable() public {
    owner = msg.sender;
  }

  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

// File: contracts/SingleMessage.sol

contract SingleMessage is Ownable {
  string public message;
  uint256 public priceInWei;
  uint256 public maxLength;

  event MessageSet(string message, uint256 priceInWei, uint256 newPriceInWei, address payer);

  function SingleMessage(string initialMessage, uint256 initialPriceInWei, uint256 maxLengthArg) public {
    message = initialMessage;
    priceInWei = initialPriceInWei;
    maxLength = maxLengthArg;
  }

  function set(string newMessage) external payable {
    require(msg.value >= priceInWei);
    require(bytes(newMessage).length <= maxLength);

    uint256 newPrice = priceInWei * 2;
    MessageSet(newMessage, priceInWei, newPrice, msg.sender);
    priceInWei = newPrice;
    message = newMessage;
  }

  function withdraw(address destination, uint256 amountInWei) external onlyOwner {
    require(this.balance >= amountInWei);
    require(destination != address(0));
    destination.transfer(amountInWei);
  }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"priceInWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newMessage","type":"string"}],"name":"set","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"message","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"destination","type":"address"},{"name":"amountInWei","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialMessage","type":"string"},{"name":"initialPriceInWei","type":"uint256"},{"name":"maxLengthArg","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"message","type":"string"},{"indexed":false,"name":"priceInWei","type":"uint256"},{"indexed":false,"name":"newPriceInWei","type":"uint256"},{"indexed":false,"name":"payer","type":"address"}],"name":"MessageSet","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
6060604052341561000f57600080fd5b60405161089538038061089583398101604052808051820191906020018051906020019091908051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600190805190602001906100969291906100ad565b508160028190555080600381905550505050610152565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ee57805160ff191683800117855561011c565b8280016001018555821561011c579182015b8281111561011b578251825591602001919060010190610100565b5b509050610129919061012d565b5090565b61014f91905b8082111561014b576000816000905550600101610133565b5090565b90565b610734806101616000396000f300606060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633c8da588146100885780634ed3885e146100b15780638da5cb5b146100d4578063d06a89a414610129578063e21f37ce14610152578063f2fde38b146101e0578063f3fef3a314610219575b600080fd5b341561009357600080fd5b61009b61025b565b6040518082815260200191505060405180910390f35b6100d260048080359060200190820180359060200191909192905050610261565b005b34156100df57600080fd5b6100e7610344565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561013457600080fd5b61013c610369565b6040518082815260200191505060405180910390f35b341561015d57600080fd5b61016561036f565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101a557808201518184015260208101905061018a565b50505050905090810190601f1680156101d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101eb57600080fd5b610217600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061040d565b005b341561022457600080fd5b610259600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610562565b005b60025481565b6000600254341015151561027457600080fd5b600354838390501115151561028857600080fd5b600280540290507fdcdb622b32e702624deefa35e206d468607329da1fd2eace4af76661b6a96dd88383600254843360405180806020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182810382528787828181526020019250808284378201915050965050505050505060405180910390a18060028190555082826001919061033e929190610663565b50505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104055780601f106103da57610100808354040283529160200191610405565b820191906000526020600020905b8154815290600101906020018083116103e857829003601f168201915b505050505081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561046857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156104a457600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105bd57600080fd5b803073ffffffffffffffffffffffffffffffffffffffff1631101515156105e357600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561061f57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561065f57600080fd5b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106106a457803560ff19168380011785556106d2565b828001600101855582156106d2579182015b828111156106d15782358255916020019190600101906106b6565b5b5090506106df91906106e3565b5090565b61070591905b808211156107015760008160009055506001016106e9565b5090565b905600a165627a7a72305820905841e185d75150230f37bb9df764f428eca4fe52fd7e6b7fb01440437ec3cf00290000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000c48656c6c6f20776f726c64210000000000000000000000000000000000000000

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

-----Decoded View---------------
Found 5 constructor arguments :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 48656c6c6f20776f726c64210000000000000000000000000000000000000000


   Swarm Source:
bzzr://905841e185d75150230f37bb9df764f428eca4fe52fd7e6b7fb01440437ec3cf

 

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.