ETH Price: $2,977.65 (+1.97%)
Gas: 2 Gwei

Contract

0x158667fF4B2Be65f40D3Bf39d78fc016397E4eB9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Execute150417202022-06-28 21:36:25738 days ago1656452185IN
DSProxy #204,657
0 ETH0.0190518576.88276755
Execute149849172022-06-18 12:19:49748 days ago1655554789IN
DSProxy #204,657
0 ETH0.0057659923.26837414
Execute149555652022-06-13 10:43:36753 days ago1655117016IN
DSProxy #204,657
0 ETH0.01198727109.29519136
Execute149535742022-06-13 2:32:24754 days ago1655087544IN
DSProxy #204,657
0 ETH0.08732719110.41845946
Execute149479762022-06-12 3:36:40754 days ago1655005000IN
DSProxy #204,657
0 ETH0.0053118128.29906403
Execute149479242022-06-12 3:26:29754 days ago1655004389IN
DSProxy #204,657
0 ETH0.0074524239.70580538
Execute149478912022-06-12 3:17:52754 days ago1655003872IN
DSProxy #204,657
0 ETH0.0082299343.84834411
Execute149478852022-06-12 3:16:55754 days ago1655003815IN
DSProxy #204,657
0 ETH0.0571935348.77127273
Execute149396222022-06-10 17:07:56756 days ago1654880876IN
DSProxy #204,657
0 ETH0.0707380760.32239242
Execute148481342022-05-26 13:12:22771 days ago1653570742IN
DSProxy #204,657
0 ETH0.0121902764.9444948
Execute147594822022-05-12 6:16:32785 days ago1652336192IN
DSProxy #204,657
2.5 ETH0.0791552340.16718937
Execute147444062022-05-09 20:17:04788 days ago1652127424IN
DSProxy #204,657
0 ETH0.2925351119.92475859
Execute147443962022-05-09 20:14:37788 days ago1652127277IN
DSProxy #204,657
0 ETH0.02689821108.52354271
Execute147430482022-05-09 14:58:43788 days ago1652108323IN
DSProxy #204,657
29.6 ETH0.0161016269.19062174
Execute147065702022-05-03 19:39:08794 days ago1651606748IN
DSProxy #204,657
0 ETH0.0190458177.90430844
Execute146796822022-04-29 14:18:12798 days ago1651241892IN
DSProxy #204,657
0 ETH0.0164039566.90957907
Execute146796732022-04-29 14:16:43798 days ago1651241803IN
DSProxy #204,657
9.5 ETH0.022549289.25112305
Execute146617752022-04-26 18:44:35801 days ago1650998675IN
DSProxy #204,657
0 ETH0.014530159.36372348
Execute144831252022-03-29 19:55:15829 days ago1648583715IN
DSProxy #204,657
0 ETH0.0085514735.10906544
Execute143799292022-03-13 18:37:17845 days ago1647196637IN
DSProxy #204,657
0 ETH0.0106591643.50928432
Execute141558762022-02-07 0:57:22880 days ago1644195442IN
DSProxy #204,657
0 ETH0.0251770392.67167021
Execute140778212022-01-25 23:41:55892 days ago1643154115IN
DSProxy #204,657
15 ETH0.03121371123.53159376
Execute140685452022-01-24 13:18:43893 days ago1643030323IN
DSProxy #204,657
9 ETH0.03969488157.09673362
Execute140577222022-01-22 21:06:44895 days ago1642885604IN
DSProxy #204,657
5 ETH0.03696837146.30626257
Execute140576282022-01-22 20:46:12895 days ago1642884372IN
DSProxy #204,657
2 ETH0.03845371152.18465798
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
150417202022-06-28 21:36:25738 days ago1656452185
DSProxy #204,657
10.38 ETH
150417202022-06-28 21:36:25738 days ago1656452185
DSProxy #204,657
10.38 ETH
149849172022-06-18 12:19:49748 days ago1655554789
DSProxy #204,657
3 ETH
149849172022-06-18 12:19:49748 days ago1655554789
DSProxy #204,657
3 ETH
147594822022-05-12 6:16:32785 days ago1652336192
DSProxy #204,657
2.5 ETH
147443962022-05-09 20:14:37788 days ago1652127277
DSProxy #204,657
1 ETH
147443962022-05-09 20:14:37788 days ago1652127277
DSProxy #204,657
1 ETH
147430482022-05-09 14:58:43788 days ago1652108323
DSProxy #204,657
29.6 ETH
146796732022-04-29 14:16:43798 days ago1651241803
DSProxy #204,657
9.5 ETH
141558762022-02-07 0:57:22880 days ago1644195442
DSProxy #204,657
15 ETH
141558762022-02-07 0:57:22880 days ago1644195442
DSProxy #204,657
15 ETH
140778212022-01-25 23:41:55892 days ago1643154115
DSProxy #204,657
15 ETH
140685452022-01-24 13:18:43893 days ago1643030323
DSProxy #204,657
9 ETH
140577222022-01-22 21:06:44895 days ago1642885604
DSProxy #204,657
5 ETH
140576282022-01-22 20:46:12895 days ago1642884372
DSProxy #204,657
2 ETH
140242402022-01-17 16:57:51900 days ago1642438671
DSProxy #204,657
1.1 ETH
139395352022-01-04 14:34:16913 days ago1641306856
DSProxy #204,657
1.5 ETH
129029552021-07-26 16:46:011075 days ago1627317961
DSProxy #204,657
0.87 ETH
128319872021-07-15 14:10:441086 days ago1626358244
DSProxy #204,657
50 ETH
128149192021-07-12 21:35:071089 days ago1626125707
DSProxy #204,657
0.93 ETH
128149042021-07-12 21:32:051089 days ago1626125525
DSProxy #204,657
20 ETH
128148662021-07-12 21:22:561089 days ago1626124976
DSProxy #204,657
23 ETH
127419472021-07-01 13:02:521100 days ago1625144572
DSProxy #204,657
30 ETH
127299392021-06-29 16:09:071102 days ago1624982947
DSProxy #204,657
10 ETH
127299252021-06-29 16:06:211102 days ago1624982781  Contract Creation0 ETH
View All Internal Transactions
Loading...
Loading

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

Contract Name:
DSProxy

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
Yes with 200 runs

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

// proxy.sol - execute actions atomically through the proxy's identity

// Copyright (C) 2017  DappHub, LLC

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity ^0.4.23;

contract DSAuthority {
    function canCall(
        address src, address dst, bytes4 sig
    ) public view returns (bool);
}

contract DSAuthEvents {
    event LogSetAuthority (address indexed authority);
    event LogSetOwner     (address indexed owner);
}

contract DSAuth is DSAuthEvents {
    DSAuthority  public  authority;
    address      public  owner;

    constructor() public {
        owner = msg.sender;
        emit LogSetOwner(msg.sender);
    }

    function setOwner(address owner_)
        public
        auth
    {
        owner = owner_;
        emit LogSetOwner(owner);
    }

    function setAuthority(DSAuthority authority_)
        public
        auth
    {
        authority = authority_;
        emit LogSetAuthority(authority);
    }

    modifier auth {
        require(isAuthorized(msg.sender, msg.sig));
        _;
    }

    function isAuthorized(address src, bytes4 sig) internal view returns (bool) {
        if (src == address(this)) {
            return true;
        } else if (src == owner) {
            return true;
        } else if (authority == DSAuthority(0)) {
            return false;
        } else {
            return authority.canCall(src, this, sig);
        }
    }
}

contract DSNote {
    event LogNote(
        bytes4   indexed  sig,
        address  indexed  guy,
        bytes32  indexed  foo,
        bytes32  indexed  bar,
        uint              wad,
        bytes             fax
    ) anonymous;

    modifier note {
        bytes32 foo;
        bytes32 bar;

        assembly {
            foo := calldataload(4)
            bar := calldataload(36)
        }

        emit LogNote(msg.sig, msg.sender, foo, bar, msg.value, msg.data);

        _;
    }
}

// DSProxy
// Allows code execution using a persistant identity This can be very
// useful to execute a sequence of atomic actions. Since the owner of
// the proxy can be changed, this allows for dynamic ownership models
// i.e. a multisig
contract DSProxy is DSAuth, DSNote {
    DSProxyCache public cache;  // global cache for contracts

    constructor(address _cacheAddr) public {
        require(setCache(_cacheAddr));
    }

    function() public payable {
    }

    // use the proxy to execute calldata _data on contract _code
    function execute(bytes _code, bytes _data)
        public
        payable
        returns (address target, bytes32 response)
    {
        target = cache.read(_code);
        if (target == 0x0) {
            // deploy contract & store its address in cache
            target = cache.write(_code);
        }

        response = execute(target, _data);
    }

    function execute(address _target, bytes _data)
        public
        auth
        note
        payable
        returns (bytes32 response)
    {
        require(_target != 0x0);

        // call contract in current context
        assembly {
            let succeeded := delegatecall(sub(gas, 5000), _target, add(_data, 0x20), mload(_data), 0, 32)
            response := mload(0)      // load delegatecall output
            switch iszero(succeeded)
            case 1 {
                // throw if delegatecall failed
                revert(0, 0)
            }
        }
    }

    //set new cache
    function setCache(address _cacheAddr)
        public
        auth
        note
        returns (bool)
    {
        require(_cacheAddr != 0x0);        // invalid cache address
        cache = DSProxyCache(_cacheAddr);  // overwrite cache
        return true;
    }
}

// DSProxyFactory
// This factory deploys new proxy instances through build()
// Deployed proxy addresses are logged
contract DSProxyFactory {
    event Created(address indexed sender, address indexed owner, address proxy, address cache);
    mapping(address=>bool) public isProxy;
    DSProxyCache public cache = new DSProxyCache();

    // deploys a new proxy instance
    // sets owner of proxy to caller
    function build() public returns (DSProxy proxy) {
        proxy = build(msg.sender);
    }

    // deploys a new proxy instance
    // sets custom owner of proxy
    function build(address owner) public returns (DSProxy proxy) {
        proxy = new DSProxy(cache);
        emit Created(msg.sender, owner, address(proxy), address(cache));
        proxy.setOwner(owner);
        isProxy[proxy] = true;
    }
}

// DSProxyCache
// This global cache stores addresses of contracts previously deployed
// by a proxy. This saves gas from repeat deployment of the same
// contracts and eliminates blockchain bloat.

// By default, all proxies deployed from the same factory store
// contracts in the same cache. The cache a proxy instance uses can be
// changed.  The cache uses the sha3 hash of a contract's bytecode to
// lookup the address
contract DSProxyCache {
    mapping(bytes32 => address) cache;

    function read(bytes _code) public view returns (address) {
        bytes32 hash = keccak256(_code);
        return cache[hash];
    }

    function write(bytes _code) public returns (address target) {
        assembly {
            target := create(0, add(_code, 0x20), mload(_code))
            switch iszero(extcodesize(target))
            case 1 {
                // throw if contract failed to deploy
                revert(0, 0)
            }
        }
        bytes32 hash = keccak256(_code);
        cache[hash] = target;
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_target","type":"address"},{"name":"_data","type":"bytes"}],"name":"execute","outputs":[{"name":"response","type":"bytes32"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_code","type":"bytes"},{"name":"_data","type":"bytes"}],"name":"execute","outputs":[{"name":"target","type":"address"},{"name":"response","type":"bytes32"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"cache","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"authority_","type":"address"}],"name":"setAuthority","outputs":[],"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":"_cacheAddr","type":"address"}],"name":"setCache","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"authority","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_cacheAddr","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":true,"inputs":[{"indexed":true,"name":"sig","type":"bytes4"},{"indexed":true,"name":"guy","type":"address"},{"indexed":true,"name":"foo","type":"bytes32"},{"indexed":true,"name":"bar","type":"bytes32"},{"indexed":false,"name":"wad","type":"uint256"},{"indexed":false,"name":"fax","type":"bytes"}],"name":"LogNote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"authority","type":"address"}],"name":"LogSetAuthority","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"}],"name":"LogSetOwner","type":"event"}]

Deployed Bytecode

0x60806040526004361061008d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166313af4035811461008f5780631cff79cd146100b05780631f6a1eb91461011c57806360c7d295146101c95780637a9e5e4b146101fa5780638da5cb5b1461021b578063948f507614610230578063bf7e214f14610265575b005b34801561009b57600080fd5b5061008d600160a060020a036004351661027a565b60408051602060046024803582810135601f810185900485028601850190965285855261010a958335600160a060020a03169536956044949193909101919081908401838280828437509497506102f89650505050505050565b60408051918252519081900360200190f35b6040805160206004803580820135601f81018490048402850184019095528484526101a694369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506103be9650505050505050565b60408051600160a060020a03909316835260208301919091528051918290030190f35b3480156101d557600080fd5b506101de6105ce565b60408051600160a060020a039092168252519081900360200190f35b34801561020657600080fd5b5061008d600160a060020a03600435166105dd565b34801561022757600080fd5b506101de610657565b34801561023c57600080fd5b50610251600160a060020a0360043516610666565b604080519115158252519081900360200190f35b34801561027157600080fd5b506101de61072d565b61029033600035600160e060020a03191661073c565b151561029b57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117918290556040519116907fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9490600090a250565b600061031033600035600160e060020a03191661073c565b151561031b57600080fd5b6040805134808252602082018381523693830184905260043593602435938493869333600160a060020a03169360008035600160e060020a031916949092606082018484808284376040519201829003965090945050505050a4600160a060020a038516151561038a57600080fd5b60206000855160208701886113885a03f460005193508015600181146103af576103b4565b600080fd5b5050505092915050565b6002546040517f8bf4515c0000000000000000000000000000000000000000000000000000000081526020600482018181528551602484015285516000948594600160a060020a0390911693638bf4515c93899390928392604490910191908501908083838b5b8381101561043d578181015183820152602001610425565b50505050905090810190601f16801561046a5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561048957600080fd5b505af115801561049d573d6000803e3d6000fd5b505050506040513d60208110156104b357600080fd5b50519150600160a060020a03821615156105bb576002546040517f7ed0c3b2000000000000000000000000000000000000000000000000000000008152602060048201818152875160248401528751600160a060020a0390941693637ed0c3b293899383926044909201919085019080838360005b83811015610540578181015183820152602001610528565b50505050905090810190601f16801561056d5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561058c57600080fd5b505af11580156105a0573d6000803e3d6000fd5b505050506040513d60208110156105b657600080fd5b505191505b6105c582846102f8565b90509250929050565b600254600160a060020a031681565b6105f333600035600160e060020a03191661073c565b15156105fe57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03838116919091178083556040519116917f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada491a250565b600154600160a060020a031681565b600061067e33600035600160e060020a03191661073c565b151561068957600080fd5b6040805134808252602082018381523693830184905260043593602435938493869333600160a060020a03169360008035600160e060020a031916949092606082018484808284376040519201829003965090945050505050a4600160a060020a03841615156106f857600080fd5b60028054600160a060020a03861673ffffffffffffffffffffffffffffffffffffffff19909116179055600192505050919050565b600054600160a060020a031681565b600030600160a060020a031683600160a060020a031614156107605750600161084a565b600154600160a060020a038481169116141561077e5750600161084a565b600054600160a060020a031615156107985750600061084a565b60008054604080517fb7009613000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301523081166024830152600160e060020a0319871660448301529151919092169263b700961392606480820193602093909283900390910190829087803b15801561081b57600080fd5b505af115801561082f573d6000803e3d6000fd5b505050506040513d602081101561084557600080fd5b505190505b929150505600a165627a7a72305820e498874c9ba9e75028e0c84f1b1d83b2dad5de910c59b837b32e5a190794c5e10029

Swarm Source

bzzr://e498874c9ba9e75028e0c84f1b1d83b2dad5de910c59b837b32e5a190794c5e1

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

The proxy contract address for 0x7fe8ec40b7823ab1ba334d34f602c8446ccc67c6.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.