ETH Price: $3,174.71 (-2.41%)

Contract

0xd3c0E2eCdf891242710442B6bdBb2Ca3b72F4B30
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x6080604063609722018-09-19 14:26:492246 days ago1537367209IN
 Contract Creation
0 ETH0.0027457718

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xE057dB72...bdBEAbC8a
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
ErrorReporter

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
No with 200 runs

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

pragma solidity 0.4.25;

contract RevertReason {
    
    ErrorReporter error;
    
    constructor(address _error) public {
        error = ErrorReporter(_error);
    }
    
    function shouldRevert(bool yes) public {
        if (yes) {
            error.report("Shit it reverted!");
        }
    }
    
    function shouldRevertWithReturn(bool yes) public returns (uint256) {
        require(!yes, "Shit it reverted!");
        return 42;
    }
    
    function shouldRevertPure(bool yes) public pure returns (uint256) {
        require(!yes, "Shit it reverted!");
        return 42;
    }
}


contract ErrorReporter {
    function report(string reason) public pure {
        revert(reason);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"reason","type":"string"}],"name":"report","outputs":[],"payable":false,"stateMutability":"pure","type":"function"}]

Deployed Bytecode

0x608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063f616b7b714610046575b600080fd5b34801561005257600080fd5b506100ad600480360381019080803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506100af565b005b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156101165780820151818401526020810190506100fb565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390fd00a165627a7a72305820295b6837fe1b4f7e0c56f2747bf17bc67faca9ce7e6d9dfa3bb064c5cd9c24fb0029

Swarm Source

bzzr://295b6837fe1b4f7e0c56f2747bf17bc67faca9ce7e6d9dfa3bb064c5cd9c24fb

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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.