Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 9 from a total of 9 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Execute | 5767028 | 2345 days ago | IN | 0 ETH | 0.00168891 | ||||
Execute | 5695436 | 2357 days ago | IN | 15 ETH | 0.00280056 | ||||
Execute | 5576870 | 2378 days ago | IN | 0 ETH | 0.00090294 | ||||
Execute | 5576826 | 2378 days ago | IN | 0 ETH | 0.00093826 | ||||
Execute | 5569406 | 2379 days ago | IN | 10 ETH | 0.00077838 | ||||
Execute | 5541510 | 2384 days ago | IN | 2.28060483 ETH | 0.00100698 | ||||
Execute | 5471630 | 2396 days ago | IN | 0 ETH | 0.00062576 | ||||
Execute | 5466037 | 2397 days ago | IN | 10 ETH | 0.00071909 | ||||
Execute | 5447498 | 2401 days ago | IN | 0 ETH | 0.00076024 |
Latest 17 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
5767028 | 2345 days ago | 2.85457696 ETH | ||||
5767028 | 2345 days ago | 2.85457696 ETH | ||||
5695436 | 2357 days ago | 15 ETH | ||||
5576870 | 2378 days ago | 2.62675455 ETH | ||||
5576870 | 2378 days ago | 2.62675455 ETH | ||||
5576826 | 2378 days ago | 2 ETH | ||||
5576826 | 2378 days ago | 2 ETH | ||||
5569406 | 2379 days ago | 10 ETH | ||||
5541510 | 2384 days ago | 0.04471774 ETH | ||||
5541510 | 2384 days ago | 0.04471774 ETH | ||||
5541510 | 2384 days ago | 2.28060483 ETH | ||||
5471630 | 2396 days ago | 10 ETH | ||||
5471630 | 2396 days ago | 10 ETH | ||||
5466037 | 2397 days ago | 10 ETH | ||||
5447498 | 2401 days ago | 9.52380952 ETH | ||||
5447498 | 2401 days ago | 9.52380952 ETH | ||||
5214445 | 2440 days ago | Contract Creation | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xb70F6285...1F3ADFac8 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.20+commit.3155dd80
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-02-19 */ // 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.13; 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; function DSAuth() public { owner = msg.sender; LogSetOwner(msg.sender); } function setOwner(address owner_) public auth { owner = owner_; LogSetOwner(owner); } function setAuthority(DSAuthority authority_) public auth { authority = authority_; 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) } 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 function DSProxy(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; } } // 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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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
0x6060604052600436106100745763ffffffff60e060020a60003504166313af403581146100765780631cff79cd146100955780631f6a1eb9146100fb57806360c7d295146101a55780637a9e5e4b146101d45780638da5cb5b146101f3578063948f507614610206578063bf7e214f14610239575b005b341561008157600080fd5b610074600160a060020a036004351661024c565b6100e960048035600160a060020a03169060446024803590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506102cb95505050505050565b60405190815260200160405180910390f35b61018360046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965061038d95505050505050565b604051600160a060020a03909216825260208201526040908101905180910390f35b34156101b057600080fd5b6101b8610557565b604051600160a060020a03909116815260200160405180910390f35b34156101df57600080fd5b610074600160a060020a0360043516610566565b34156101fe57600080fd5b6101b86105e5565b341561021157600080fd5b610225600160a060020a03600435166105f4565b604051901515815260200160405180910390f35b341561024457600080fd5b6101b86106b7565b61026233600035600160e060020a0319166106c6565b151561026d57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a250565b60006102e333600035600160e060020a0319166106c6565b15156102ee57600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4600160a060020a038516151561035957600080fd5b60206000855160208701886113885a03f4600051935080156001811461037e57610383565b600080fd5b5050505092915050565b6002546000908190600160a060020a0316638bf4515c8583604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156103fb5780820151838201526020016103e3565b50505050905090810190601f1680156104285780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b151561044657600080fd5b6102c65a03f1151561045757600080fd5b5050506040518051925050600160a060020a038216151561054457600254600160a060020a0316637ed0c3b2856000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156104dc5780820151838201526020016104c4565b50505050905090810190601f1680156105095780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b151561052757600080fd5b6102c65a03f1151561053857600080fd5b50505060405180519250505b61054e82846102cb565b90509250929050565b600254600160a060020a031681565b61057c33600035600160e060020a0319166106c6565b151561058757600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada460405160405180910390a250565b600154600160a060020a031681565b600061060c33600035600160e060020a0319166106c6565b151561061757600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4600160a060020a038416151561068257600080fd5b60028054600160a060020a03861673ffffffffffffffffffffffffffffffffffffffff19909116179055600192505050919050565b600054600160a060020a031681565b600030600160a060020a031683600160a060020a031614156106ea575060016107b8565b600154600160a060020a0384811691161415610708575060016107b8565b600054600160a060020a03161515610722575060006107b8565b60008054600160a060020a03169063b7009613908590309086906040516020015260405160e060020a63ffffffff8616028152600160a060020a039384166004820152919092166024820152600160e060020a03199091166044820152606401602060405180830381600087803b151561079b57600080fd5b6102c65a03f115156107ac57600080fd5b50505060405180519150505b929150505600a165627a7a72305820901edca420ef717883bde8fe7b7414ee8d5e8f33fa50e674cb3d9262e05ab6c50029
Swarm Source
bzzr://901edca420ef717883bde8fe7b7414ee8d5e8f33fa50e674cb3d9262e05ab6c5
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.