Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xA97C6b7D...2bb2F49Fd The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Owner
Compiler Version
v0.4.15+commit.bbb8e64f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-06-11 */ pragma solidity ^0.4.15; contract Owner { //=================Variables================ bool isInitiated = false; //Addresses address creatorAddress; address ownerAddress; uint idCustomer; //State //Modifiers modifier onlyBy(address _account) { require(msg.sender == _account); _; } //=================Transactions================ //Constructor function Owner(address _ownerAddress, uint _idCustomer) { creatorAddress = msg.sender; ownerAddress = _ownerAddress; idCustomer = _idCustomer; isInitiated = true; } function updateOwner(address _newOwnerAddress) onlyBy(creatorAddress) { ownerAddress = _newOwnerAddress; } //=================Calls================ //Return basic information about the contract function getInfos() constant returns(address, address, uint) { return (creatorAddress, ownerAddress, idCustomer ); } function getInitiated() constant returns(bool) { return isInitiated; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"getInfos","outputs":[{"name":"","type":"address"},{"name":"","type":"address"},{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newOwnerAddress","type":"address"}],"name":"updateOwner","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getInitiated","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"inputs":[{"name":"_ownerAddress","type":"address"},{"name":"_idCustomer","type":"uint256"}],"payable":false,"type":"constructor"}]
Deployed Bytecode
0x606060405263ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663643d6dc08114610053578063880cdc31146100a0578063f9a2916f146100ce575b600080fd5b341561005e57600080fd5b6100666100f5565b60405173ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604080820192909252606001905180910390f35b34156100ab57600080fd5b6100cc73ffffffffffffffffffffffffffffffffffffffff60043516610126565b005b34156100d957600080fd5b6100e161018f565b604051901515815260200160405180910390f35b60005460015460025461010090920473ffffffffffffffffffffffffffffffffffffffff908116929116905b909192565b60005473ffffffffffffffffffffffffffffffffffffffff6101009091048116903316811461015457600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff84161790555b5b5050565b60005460ff165b905600a165627a7a723058203c4b7fc4d44e280ffcb25c69b87117d47e675896128e3340e1d2127d0452eec20029
Swarm Source
bzzr://3c4b7fc4d44e280ffcb25c69b87117d47e675896128e3340e1d2127d0452eec2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.