More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 95 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Upgrade | 9832595 | 1717 days ago | IN | 0 ETH | 0.00104227 | ||||
0x822514f9 | 9832574 | 1717 days ago | IN | 0 ETH | 0.00044272 | ||||
0x3424d1d7 | 9507586 | 1767 days ago | IN | 0 ETH | 0.00006132 | ||||
0x3424d1d7 | 9125051 | 1829 days ago | IN | 0 ETH | 0.00030441 | ||||
0x3424d1d7 | 9125036 | 1829 days ago | IN | 0 ETH | 0.00029486 | ||||
0x3424d1d7 | 9121534 | 1830 days ago | IN | 0 ETH | 0.00076662 | ||||
0xe2db777b | 8297783 | 1963 days ago | IN | 0 ETH | 0.00070621 | ||||
0xadb7085c | 8201232 | 1978 days ago | IN | 0 ETH | 0.00016401 | ||||
Upgrade | 8201222 | 1978 days ago | IN | 0 ETH | 0.00009322 | ||||
0x822514f9 | 8201216 | 1978 days ago | IN | 0 ETH | 0.00013339 | ||||
0xfd69753d | 7950944 | 2017 days ago | IN | 0 ETH | 0.00032137 | ||||
0xfd69753d | 7950940 | 2017 days ago | IN | 0 ETH | 0.00031313 | ||||
0xfd69753d | 7950916 | 2017 days ago | IN | 0 ETH | 0.00032137 | ||||
0xfd69753d | 7950910 | 2017 days ago | IN | 0 ETH | 0.00032137 | ||||
0xfd69753d | 7950905 | 2017 days ago | IN | 0 ETH | 0.00031313 | ||||
0xfd69753d | 7950898 | 2017 days ago | IN | 0 ETH | 0.00027605 | ||||
0xfd69753d | 7950889 | 2017 days ago | IN | 0 ETH | 0.00024721 | ||||
0xfd69753d | 7950884 | 2017 days ago | IN | 0 ETH | 0.00024721 | ||||
0xfd69753d | 7950877 | 2017 days ago | IN | 0 ETH | 0.00024721 | ||||
0xfd69753d | 7950845 | 2017 days ago | IN | 0 ETH | 0.00014832 | ||||
0xfd69753d | 7950715 | 2017 days ago | IN | 0 ETH | 0.00014832 | ||||
0xfd69753d | 7950689 | 2017 days ago | IN | 0 ETH | 0.00020601 | ||||
0xfd69753d | 7950665 | 2017 days ago | IN | 0 ETH | 0.00020601 | ||||
0xfd69753d | 7950651 | 2017 days ago | IN | 0 ETH | 0.00020601 | ||||
0xfd69753d | 7950646 | 2017 days ago | IN | 0 ETH | 0.00020601 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
18714922 | 382 days ago | 1 wei | ||||
12503685 | 1305 days ago | 1 wei | ||||
12211197 | 1350 days ago | 1 wei | ||||
12211150 | 1350 days ago | 1 wei | ||||
11930571 | 1394 days ago | 1 wei | ||||
11920421 | 1395 days ago | 1 wei | ||||
11453933 | 1467 days ago | 1 wei | ||||
11368998 | 1480 days ago | 1 wei | ||||
10952693 | 1544 days ago | 1 wei | ||||
10738180 | 1577 days ago | 1 wei | ||||
10290002 | 1646 days ago | 1 wei | ||||
9961810 | 1697 days ago | 1 wei | ||||
9951932 | 1699 days ago | 1 wei | ||||
9923673 | 1703 days ago | 1 wei | ||||
9873737 | 1711 days ago | 1 wei | ||||
9677023 | 1741 days ago | 1 wei | ||||
9664887 | 1743 days ago | 1 wei | ||||
9619548 | 1750 days ago | 1 wei | ||||
9613461 | 1751 days ago | 1 wei | ||||
9578293 | 1756 days ago | 1 wei | ||||
9574238 | 1757 days ago | 1 wei | ||||
9462534 | 1774 days ago | 0.00002702 ETH | ||||
9438274 | 1778 days ago | 0.0027027 ETH | ||||
9429308 | 1779 days ago | 0.00012972 ETH | ||||
9127035 | 1829 days ago | 0.00085616 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 0x5346D0f8...fc3c3E2Ef The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
EtherRouter
Compiler Version
v0.5.8+commit.23d335f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-03-05 */ pragma solidity ^0.5.8; /* This file is part of The Colony Network. The Colony Network 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. The Colony Network 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 The Colony Network. If not, see <http://www.gnu.org/licenses/>. */ /* This file is part of The Colony Network. The Colony Network 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. The Colony Network 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 The Colony Network. If not, see <http://www.gnu.org/licenses/>. */ // 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/>. 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(address(authority)); } modifier auth { require(isAuthorized(msg.sender, msg.sig), "ds-auth-unauthorized"); _; } 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, address(this), sig); } } } // ignore-file-swc-101 This is due to ConsenSys/truffle-security#245 and the bad-line reporting associated with it // (It's really the abi.encodepacked later) contract Resolver is DSAuth { mapping (bytes4 => address) public pointers; function register(string memory signature, address destination) public auth { pointers[stringToSig(signature)] = destination; } function lookup(bytes4 sig) public view returns(address) { return pointers[sig]; } function stringToSig(string memory signature) public pure returns(bytes4) { return bytes4(keccak256(abi.encodePacked(signature))); } } contract EtherRouter is DSAuth { Resolver public resolver; function() external payable { if (msg.sig == 0) { return; } // Contracts that want to receive Ether with a plain "send" have to implement // a fallback function with the payable modifier. Contracts now throw if no payable // fallback function is defined and no function matches the signature. // However, 'send' only provides 2300 gas, which is not enough for EtherRouter // so we shortcut it here. // // Note that this means we can never have a fallback function that 'does' stuff. // but those only really seem to be ICOs, to date. To be explicit, there is a hard // decision to be made here. Either: // 1. Contracts that use 'send' or 'transfer' cannot send money to Colonies/ColonyNetwork // 2. We commit to never using a fallback function that does anything. // // We have decided on option 2 here. In the future, if we wish to have such a fallback function // for a Colony, it could be in a separate extension contract. // Get routing information for the called function address destination = resolver.lookup(msg.sig); // Make the call assembly { let size := extcodesize(destination) if eq(size, 0) { revert(0,0) } calldatacopy(mload(0x40), 0, calldatasize) let result := delegatecall(gas, destination, mload(0x40), calldatasize, mload(0x40), 0) // ignore-swc-113 // as their addresses are controlled by the Resolver which we trust returndatacopy(mload(0x40), 0, returndatasize) switch result case 1 { return(mload(0x40), returndatasize) } default { revert(mload(0x40), returndatasize) } } } function setResolver(address _resolver) public auth { resolver = Resolver(_resolver); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"resolver","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_resolver","type":"address"}],"name":"setResolver","outputs":[],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[],"name":"authority","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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
0x6080604052600436106100555760003560e01c806304f3bcec1461013157806313af4035146101625780634e543b26146101955780637a9e5e4b146101c85780638da5cb5b146101fb578063bf7e214f14610210575b6001600160e01b03196000351661006b5761012f565b60025460408051600160e11b6337b47469028152600080356001600160e01b0319166004830152915191926001600160a01b031691636f68e8d291602480820192602092909190829003018186803b1580156100c657600080fd5b505afa1580156100da573d6000803e3d6000fd5b505050506040513d60208110156100f057600080fd5b50519050803b8061010057600080fd5b36600060405137600060405136604051855af43d60006040513e8060018114610129573d604051fd5b3d604051f35b005b34801561013d57600080fd5b50610146610225565b604080516001600160a01b039092168252519081900360200190f35b34801561016e57600080fd5b5061012f6004803603602081101561018557600080fd5b50356001600160a01b0316610234565b3480156101a157600080fd5b5061012f600480360360208110156101b857600080fd5b50356001600160a01b03166102e8565b3480156101d457600080fd5b5061012f600480360360208110156101eb57600080fd5b50356001600160a01b031661036e565b34801561020757600080fd5b5061014661041e565b34801561021c57600080fd5b5061014661042d565b6002546001600160a01b031681565b61024a336000356001600160e01b03191661043c565b6102985760408051600160e51b62461bcd0281526020600482015260146024820152600160621b73191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995902604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0383811691909117918290556040519116907fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9490600090a250565b6102fe336000356001600160e01b03191661043c565b61034c5760408051600160e51b62461bcd0281526020600482015260146024820152600160621b73191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995902604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610384336000356001600160e01b03191661043c565b6103d25760408051600160e51b62461bcd0281526020600482015260146024820152600160621b73191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995902604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b03838116919091178083556040519116917f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada491a250565b6001546001600160a01b031681565b6000546001600160a01b031681565b60006001600160a01b03831630141561045757506001610522565b6001546001600160a01b038481169116141561047557506001610522565b6000546001600160a01b031661048d57506000610522565b60005460408051600160e01b63b70096130281526001600160a01b0386811660048301523060248301526001600160e01b0319861660448301529151919092169163b7009613916064808301926020929190829003018186803b1580156104f357600080fd5b505afa158015610507573d6000803e3d6000fd5b505050506040513d602081101561051d57600080fd5b505190505b9291505056fea165627a7a72305820f0149d120d10d800a2426e1be260041fa00e884552016ea0add83f7a8ce33d7c0029
Deployed Bytecode Sourcemap
4085:1858:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4191:7:0;;;4187:41;;4214:7;;4187:41;5250:8;;:24;;;-1:-1:-1;;;;;5250:24:0;;5228:19;5266:7;;-1:-1:-1;;;;;;5266:7:0;5250:24;;;;;;5228:19;;-1:-1:-1;;;;;5250:8:0;;:15;;:24;;;;;;;;;;;;;;;:8;:24;;;5:2:-1;;;;30:1;27;20:12;5:2;5250:24:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5250:24:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5250:24:0;;-1:-1:-1;5335:24:0;;5370:11;5367:2;;5393:1;5391;5384:11;5367:2;5436:12;5433:1;5426:4;5420:11;5407:42;5542:1;5535:4;5529:11;5515:12;5508:4;5502:11;5489;5484:3;5471:73;5676:14;5673:1;5666:4;5660:11;5645:46;5706:6;5725:1;5720:46;;;;5804:14;5797:4;5791:11;5784:35;5720:46;5749:14;5742:4;5736:11;5729:35;5314:514;4085:1858;4121:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4121:24:0;;;:::i;:::-;;;;-1:-1:-1;;;;;4121:24:0;;;;;;;;;;;;;;2614:136;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2614:136:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2614:136:0;-1:-1:-1;;;;;2614:136:0;;:::i;5839:101::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5839:101:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5839:101:0;-1:-1:-1;;;;;5839:101:0;;:::i;2758:173::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2758:173:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2758:173:0;-1:-1:-1;;;;;2758:173:0;;:::i;2474:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2474:26:0;;;:::i;2437:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2437:30:0;;;:::i;4121:24::-;;;-1:-1:-1;;;;;4121:24:0;;:::o;2614:136::-;2972:33;2985:10;2997:7;;-1:-1:-1;;;;;;2997:7:0;2972:12;:33::i;:::-;2964:66;;;;;-1:-1:-1;;;;;2964:66:0;;;;;;;;;;;;-1:-1:-1;;;;;2964:66:0;;;;;;;;;;;;;;;2694:5;:14;;-1:-1:-1;;;;;;2694:14:0;-1:-1:-1;;;;;2694:14:0;;;;;;;;;;;2724:18;;2736:5;;;2724:18;;-1:-1:-1;;2724:18:0;2614:136;:::o;5839:101::-;2972:33;2985:10;2997:7;;-1:-1:-1;;;;;;2997:7:0;2972:12;:33::i;:::-;2964:66;;;;;-1:-1:-1;;;;;2964:66:0;;;;;;;;;;;;-1:-1:-1;;;;;2964:66:0;;;;;;;;;;;;;;;5904:8;:30;;-1:-1:-1;;;;;;5904:30:0;-1:-1:-1;;;;;5904:30:0;;;;;;;;;;5839:101::o;2758:173::-;2972:33;2985:10;2997:7;;-1:-1:-1;;;;;;2997:7:0;2972:12;:33::i;:::-;2964:66;;;;;-1:-1:-1;;;;;2964:66:0;;;;;;;;;;;;-1:-1:-1;;;;;2964:66:0;;;;;;;;;;;;;;;2850:9;:22;;-1:-1:-1;;;;;;2850:22:0;-1:-1:-1;;;;;2850:22:0;;;;;;;;;;2888:35;;2912:9;;;2888:35;;;2758:173;:::o;2474:26::-;;;-1:-1:-1;;;;;2474:26:0;;:::o;2437:30::-;;;-1:-1:-1;;;;;2437:30:0;;:::o;3058:380::-;3128:4;-1:-1:-1;;;;;3149:20:0;;3164:4;3149:20;3145:286;;;-1:-1:-1;3193:4:0;3186:11;;3145:286;3226:5;;-1:-1:-1;;;;;3219:12:0;;;3226:5;;3219:12;3215:216;;;-1:-1:-1;3255:4:0;3248:11;;3215:216;3306:1;3281:9;-1:-1:-1;;;;;3281:9:0;3277:154;;-1:-1:-1;3332:5:0;3325:12;;3277:154;3377:9;;:42;;;-1:-1:-1;;;;;3377:42:0;;-1:-1:-1;;;;;3377:42:0;;;;;;;3408:4;3377:42;;;;-1:-1:-1;;;;;;3377:42:0;;;;;;;;:9;;;;;:17;;:42;;;;;;;;;;;;;;:9;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;3377:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3377:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3377:42:0;;-1:-1:-1;3277:154:0;3058:380;;;;:::o
Swarm Source
bzzr://f0149d120d10d800a2426e1be260041fa00e884552016ea0add83f7a8ce33d7c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,483.6 | 0.0257 | $89.41 |
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.