ETH Price: $2,258.86 (-0.93%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DZariusz

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-07-24
*/

pragma solidity 0.4.24;


//base on //import 'openzeppelin-solidity/contracts/ownership/Ownable.sol';

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



/**
* @dev This is my personal contract
*/
contract DZariusz is Ownable {


    string public name;
    string public contact;

    event LogSetName(address indexed executor, string newName);
    event LogSetContact(address indexed executor, string newContact);


    constructor(string _name, string _contact) public {

        setName(_name);
        setContact(_contact);

    }



    function setName(string _name)
    public
    onlyOwner
    returns (bool)
    {
        name = _name;
        emit LogSetName(msg.sender, _name);

        return true;
    }



    function setContact(string _contact)
    public
    onlyOwner
    returns (bool)
    {
        contact = _contact;
        emit LogSetContact(msg.sender, _contact);

        return true;
    }



}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"contact","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_contact","type":"string"}],"name":"setContact","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_contact","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"executor","type":"address"},{"indexed":false,"name":"newName","type":"string"}],"name":"LogSetName","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"executor","type":"address"},{"indexed":false,"name":"newContact","type":"string"}],"name":"LogSetContact","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

608060405234801561001057600080fd5b50604051610857380380610857833981016040528051602082015160008054600160a060020a0319163317905590820191016100548264010000000061006f810204565b506100678164010000000061013c810204565b505050610261565b60008054600160a060020a0316331461008757600080fd5b815161009a9060019060208501906101c6565b50604080516020808252845181830152845133937f8f6283331688b1419f3c6b20ea5011b9f3448a89551d0b514a7709c8702752fd9387939092839283019185019080838360005b838110156100fa5781810151838201526020016100e2565b50505050905090810190601f1680156101275780820380516001836020036101000a031916815260200191505b509250505060405180910390a2506001919050565b60008054600160a060020a0316331461015457600080fd5b81516101679060029060208501906101c6565b50604080516020808252845181830152845133937fafdf2da66414357cf90a3a46c7d28f672af8d37eeddc4ad6790fdd43f6c8965f938793909283928301918501908083836000838110156100fa5781810151838201526020016100e2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061020757805160ff1916838001178555610234565b82800160010185558215610234579182015b82811115610234578251825591602001919060010190610219565b50610240929150610244565b5090565b61025e91905b80821115610240576000815560010161024a565b90565b6105e7806102706000396000f3006080604052600436106100775763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461007c57806333a8c45a146101065780638140d0dc1461011b5780638da5cb5b14610188578063c47f0027146101b9578063f2fde38b14610212575b600080fd5b34801561008857600080fd5b50610091610235565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100cb5781810151838201526020016100b3565b50505050905090810190601f1680156100f85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561011257600080fd5b506100916102c2565b34801561012757600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261017494369492936024939284019190819084018382808284375094975061031a9650505050505050565b604080519115158252519081900360200190f35b34801561019457600080fd5b5061019d6103e7565b60408051600160a060020a039092168252519081900360200190f35b3480156101c557600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526101749436949293602493928401919081908401838280828437509497506103f69650505050505050565b34801561021e57600080fd5b50610233600160a060020a0360043516610480565b005b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ba5780601f1061028f576101008083540402835291602001916102ba565b820191906000526020600020905b81548152906001019060200180831161029d57829003601f168201915b505050505081565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102ba5780601f1061028f576101008083540402835291602001916102ba565b60008054600160a060020a0316331461033257600080fd5b8151610345906002906020850190610520565b50604080516020808252845181830152845133937fafdf2da66414357cf90a3a46c7d28f672af8d37eeddc4ad6790fdd43f6c8965f9387939092839283019185019080838360005b838110156103a557818101518382015260200161038d565b50505050905090810190601f1680156103d25780820380516001836020036101000a031916815260200191505b509250505060405180910390a2506001919050565b600054600160a060020a031681565b60008054600160a060020a0316331461040e57600080fd5b8151610421906001906020850190610520565b50604080516020808252845181830152845133937f8f6283331688b1419f3c6b20ea5011b9f3448a89551d0b514a7709c8702752fd938793909283928301918501908083836000838110156103a557818101518382015260200161038d565b600054600160a060020a0316331461049757600080fd5b6104a0816104a3565b50565b600160a060020a03811615156104b857600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061056157805160ff191683800117855561058e565b8280016001018555821561058e579182015b8281111561058e578251825591602001919060010190610573565b5061059a92915061059e565b5090565b6105b891905b8082111561059a57600081556001016105a4565b905600a165627a7a72305820832256b27e625f4406b75c60db710b8e33b717cfa3b5ab1104dcbe4bd524bfb200290000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000124461726975737a205a6163686172637a756b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013687474703a2f2f647a61726975737a2e636f6d00000000000000000000000000

Deployed Bytecode

0x6080604052600436106100775763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461007c57806333a8c45a146101065780638140d0dc1461011b5780638da5cb5b14610188578063c47f0027146101b9578063f2fde38b14610212575b600080fd5b34801561008857600080fd5b50610091610235565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100cb5781810151838201526020016100b3565b50505050905090810190601f1680156100f85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561011257600080fd5b506100916102c2565b34801561012757600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261017494369492936024939284019190819084018382808284375094975061031a9650505050505050565b604080519115158252519081900360200190f35b34801561019457600080fd5b5061019d6103e7565b60408051600160a060020a039092168252519081900360200190f35b3480156101c557600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526101749436949293602493928401919081908401838280828437509497506103f69650505050505050565b34801561021e57600080fd5b50610233600160a060020a0360043516610480565b005b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ba5780601f1061028f576101008083540402835291602001916102ba565b820191906000526020600020905b81548152906001019060200180831161029d57829003601f168201915b505050505081565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102ba5780601f1061028f576101008083540402835291602001916102ba565b60008054600160a060020a0316331461033257600080fd5b8151610345906002906020850190610520565b50604080516020808252845181830152845133937fafdf2da66414357cf90a3a46c7d28f672af8d37eeddc4ad6790fdd43f6c8965f9387939092839283019185019080838360005b838110156103a557818101518382015260200161038d565b50505050905090810190601f1680156103d25780820380516001836020036101000a031916815260200191505b509250505060405180910390a2506001919050565b600054600160a060020a031681565b60008054600160a060020a0316331461040e57600080fd5b8151610421906001906020850190610520565b50604080516020808252845181830152845133937f8f6283331688b1419f3c6b20ea5011b9f3448a89551d0b514a7709c8702752fd938793909283928301918501908083836000838110156103a557818101518382015260200161038d565b600054600160a060020a0316331461049757600080fd5b6104a0816104a3565b50565b600160a060020a03811615156104b857600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061056157805160ff191683800117855561058e565b8280016001018555821561058e579182015b8281111561058e578251825591602001919060010190610573565b5061059a92915061059e565b5090565b6105b891905b8082111561059a57600081556001016105a4565b905600a165627a7a72305820832256b27e625f4406b75c60db710b8e33b717cfa3b5ab1104dcbe4bd524bfb20029

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000124461726975737a205a6163686172637a756b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013687474703a2f2f647a61726975737a2e636f6d00000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Dariusz Zacharczuk
Arg [1] : _contact (string): http://dzariusz.com

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 4461726975737a205a6163686172637a756b0000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [5] : 687474703a2f2f647a61726975737a2e636f6d00000000000000000000000000


Swarm Source

bzzr://832256b27e625f4406b75c60db710b8e33b717cfa3b5ab1104dcbe4bd524bfb2

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

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.