Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 7362701 | 2016 days ago | IN | 0 ETH | 0.00112319 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xB1c95ad1...A269F416f The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Proxy
Compiler Version
v0.4.24+commit.e67f0147
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-12-15 */ pragma solidity ^0.4.24; contract Proxy{ address owner; address forwardingAddress; uint cap; address feeAddress; bool public isComplete; event ForwardFunds(address indexed _recipient, uint _amount); event ReceivedFunds(address indexed _sender, uint _amount); event ForwardFee(address indexed _feeAddress, uint _amount); modifier onlyOwner{ require(msg.sender == owner, "Only the owner may edit this contract"); _; } constructor(address _forwardingAddress, address _feeAddress, uint256 _cap) public{ require(_feeAddress != address(0), "Cannot initialise without a fee address"); require(_cap >= 0, "Cap cannot be less that 0"); require(_forwardingAddress != address(0), "Cannot initialise without a forwarding address"); // Check that forwarding address is not a contract uint32 size; assembly { size := extcodesize(_forwardingAddress) } require(size == 0, "Cannot set contract as forwarding address"); owner = msg.sender; forwardingAddress = _forwardingAddress; feeAddress = _feeAddress; cap = _cap; isComplete = false; } // fallback function: function() public payable { require(!isComplete, "This dump has completed!"); // forwardingAddress.transfer(msg.value); emit ReceivedFunds(msg.sender, msg.value); } function complete() public onlyOwner { require(!isComplete, "This dump has already raised the required ether."); // require that the raising isnt complete. uint owedToRecipient = address(this).balance - (address(this).balance / 10); uint fee = address(this).balance / 10; forwardingAddress.transfer(owedToRecipient); feeAddress.transfer(fee); isComplete = true; emit ForwardFunds(forwardingAddress, owedToRecipient); emit ForwardFee(feeAddress, fee); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[],"name":"complete","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isComplete","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_forwardingAddress","type":"address"},{"name":"_feeAddress","type":"address"},{"name":"_cap","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_recipient","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"ForwardFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_sender","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"ReceivedFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_feeAddress","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"ForwardFee","type":"event"}]
Deployed Bytecode
0x60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063522e117714610121578063b2fa1c9e14610138575b600360149054906101000a900460ff161515156100d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f546869732064756d702068617320636f6d706c6574656421000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f5741979df5f3e491501da74d3b0a83dd2496ab1f34929865b3e190a8ad75859a346040518082815260200191505060405180910390a2005b34801561012d57600080fd5b50610136610167565b005b34801561014457600080fd5b5061014d610535565b604051808215151515815260200191505060405180910390f35b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610254576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001807f4f6e6c7920746865206f776e6572206d61792065646974207468697320636f6e81526020017f747261637400000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b600360149054906101000a900460ff161515156102ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001807f546869732064756d702068617320616c7265616479207261697365642074686581526020017f2072657175697265642065746865722e0000000000000000000000000000000081525060400191505060405180910390fd5b600a3073ffffffffffffffffffffffffffffffffffffffff163181151561032257fe5b043073ffffffffffffffffffffffffffffffffffffffff1631039150600a3073ffffffffffffffffffffffffffffffffffffffff163181151561036157fe5b049050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156103cc573d6000803e3d6000fd5b50600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610435573d6000803e3d6000fd5b506001600360146101000a81548160ff021916908315150217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fd75eac1510ea93516b48e33b71bddccbf372019c4a113ca1ee3c47d2eab42a5b836040518082815260200191505060405180910390a2600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167feb6a405dadea49a9df0d781b8075a6a9ccfb90c0d87ff1d8b2677768d8995b81826040518082815260200191505060405180910390a25050565b600360149054906101000a900460ff16815600a165627a7a72305820dec6e8bc4ddb1dd5470f04eac1809d9d2ac5e59156f94a352bcec8f60baa74dc0029
Deployed Bytecode Sourcemap
28:1985:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;1321:10;;;;;;;;;;;1320:11;1312:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1441:10;1427:36;;;1453:9;1427:36;;;;;;;;;;;;;;;;;;28:1985;1479:529;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1479:529:0;;;;;;141:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;141:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1479:529;1653:20;1739:8;423:5;;;;;;;;;;;409:19;;:10;:19;;;401:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1536:10;;;;;;;;;;;1535:11;1527:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1725:2;1709:4;1701:21;;;:26;;;;;;;;1684:4;1676:21;;;:52;1653:75;;1774:2;1758:4;1750:21;;;:26;;;;;;;;1739:37;;1787:17;;;;;;;;;;;:26;;:43;1814:15;1787:43;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1787:43:0;1841:10;;;;;;;;;;;:19;;:24;1861:3;1841:24;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1841:24:0;1889:4;1876:10;;:17;;;;;;;;;;;;;;;;;;1922;;;;;;;;;;;1909:48;;;1941:15;1909:48;;;;;;;;;;;;;;;;;;1984:10;;;;;;;;;;;1973:27;;;1996:3;1973:27;;;;;;;;;;;;;;;;;;1479:529;;:::o;141:22::-;;;;;;;;;;;;;:::o
Swarm Source
bzzr://dec6e8bc4ddb1dd5470f04eac1809d9d2ac5e59156f94a352bcec8f60baa74dc
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.