Contract Overview
Balance:
0 Ether
More Info
My Name Tag:
Not Available
[ Download CSV Export ]
Contract Name:
Unstoppable
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-11-20 */ pragma solidity ^0.4.16; contract Unstoppable { struct UnstoppableStatus { address author; string description; } mapping (address => UnstoppableStatus) private statuses; event Log(address author, string text); function setMyStatus (string text) public { statuses[msg.sender] = UnstoppableStatus(msg.sender, text); emit Log(msg.sender, text); } function getFriendStatus (address friend) public view returns (string) { return statuses[friend].description; } }
[{"constant":false,"inputs":[{"name":"text","type":"string"}],"name":"setMyStatus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"friend","type":"address"}],"name":"getFriendStatus","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"author","type":"address"},{"indexed":false,"name":"text","type":"string"}],"name":"Log","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b5061043a806100206000396000f30060806040526004361061004b5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663c176873d8114610050578063c5f5c23f146100ab575b600080fd5b34801561005c57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100a994369492936024939284019190819084018382808284375094975061014e9650505050505050565b005b3480156100b757600080fd5b506100d973ffffffffffffffffffffffffffffffffffffffff60043516610290565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101135781810151838201526020016100fb565b50505050905090810190601f1680156101405780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6040805180820182523380825260208083018581526000928352828252939091208251815473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff909116178155925180519293926101bc9260018501920190610373565b509050507f0738f4da267a110d810e6e89fc59e46be6de0c37b1d5cd559b267dc3688e74e03382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561025257818101518382015260200161023a565b50505050905090810190601f16801561027f5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150565b60606000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103675780601f1061033c57610100808354040283529160200191610367565b820191906000526020600020905b81548152906001019060200180831161034a57829003601f168201915b50505050509050919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106103b457805160ff19168380011785556103e1565b828001600101855582156103e1579182015b828111156103e15782518255916020019190600101906103c6565b506103ed9291506103f1565b5090565b61040b91905b808211156103ed57600081556001016103f7565b905600a165627a7a7230582026eef31ae46fc0bc75b06ed350ac4eabce785b9714a2c2f95ce7c3341cca77cf0029
Swarm Source
bzzr://26eef31ae46fc0bc75b06ed350ac4eabce785b9714a2c2f95ce7c3341cca77cf
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.