Overview
ETH Balance
0.000525677199872793 ETH
Eth Value
$1.40 (@ $2,661.70/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 137 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Makeprofit | 10259922 | 1716 days ago | IN | 0 ETH | 0.00046785 | ||||
Transfer | 9867752 | 1777 days ago | IN | 0.00875 ETH | 0.00079906 | ||||
Transfer | 9222388 | 1876 days ago | IN | 0.01 ETH | 0.00075942 | ||||
Transfer | 9146362 | 1891 days ago | IN | 0.1036 ETH | 0.00045558 | ||||
Transfer | 9145538 | 1891 days ago | IN | 0.06696166 ETH | 0.00073094 | ||||
Transfer | 9144869 | 1891 days ago | IN | 0.00003558 ETH | 0.00055949 | ||||
Transfer | 9144861 | 1891 days ago | IN | 0.00003558 ETH | 0.00055949 | ||||
Transfer | 9103186 | 1899 days ago | IN | 0.00067072 ETH | 0.00063942 | ||||
Transfer | 9066493 | 1906 days ago | IN | 0.25394468 ETH | 0.00006792 | ||||
Transfer | 9052874 | 1908 days ago | IN | 0.10030619 ETH | 0.00006792 | ||||
Transfer | 9043791 | 1910 days ago | IN | 0.062 ETH | 0.00082928 | ||||
Transfer | 9042468 | 1910 days ago | IN | 0.02000733 ETH | 0.0000231 | ||||
Transfer | 9032528 | 1912 days ago | IN | 1.5 ETH | 0.00101892 | ||||
Transfer | 9028321 | 1912 days ago | IN | 0.15022747 ETH | 0.00006792 | ||||
Transfer | 9026361 | 1913 days ago | IN | 0.99832072 ETH | 0.00067928 | ||||
Transfer | 9026341 | 1913 days ago | IN | 0.09288288 ETH | 0.00067928 | ||||
Transfer | 9016420 | 1915 days ago | IN | 0.08 ETH | 0.00067928 | ||||
Transfer | 9016415 | 1915 days ago | IN | 0.01 ETH | 0.00067928 | ||||
Transfer | 9015694 | 1915 days ago | IN | 0.15059162 ETH | 0.00006792 | ||||
Transfer | 9013138 | 1915 days ago | IN | 0.999 ETH | 0.00067928 | ||||
Transfer | 8997268 | 1918 days ago | IN | 0.004 ETH | 0.00217369 | ||||
Transfer | 8996140 | 1918 days ago | IN | 0.01 ETH | 0.00095099 | ||||
Transfer | 8994166 | 1918 days ago | IN | 0.0508444 ETH | 0.00006792 | ||||
Transfer | 8992548 | 1919 days ago | IN | 0.5 ETH | 0.00067928 | ||||
Transfer | 8991453 | 1919 days ago | IN | 0.04 ETH | 0.00082928 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20761658 | 161 days ago | 0.13089362 ETH | ||||
20761658 | 161 days ago | 0.13141929 ETH | ||||
10259922 | 1716 days ago | 0.09298855 ETH | ||||
9867752 | 1777 days ago | 0.008715 ETH | ||||
9723373 | 1799 days ago | 0.10070611 ETH | ||||
9723373 | 1799 days ago | 0.10111056 ETH | ||||
9650866 | 1811 days ago | 0.37848 ETH | ||||
9650866 | 1811 days ago | 0.38 ETH | ||||
9222388 | 1876 days ago | 0.00996 ETH | ||||
9180662 | 1884 days ago | 0.07087887 ETH | ||||
9180662 | 1884 days ago | 0.07116352 ETH | ||||
9146362 | 1891 days ago | 0.1031856 ETH | ||||
9145538 | 1891 days ago | 0.06669381 ETH | ||||
9144869 | 1891 days ago | 0.00003543 ETH | ||||
9144861 | 1891 days ago | 0.00003543 ETH | ||||
9103186 | 1899 days ago | 0.00066803 ETH | ||||
9089419 | 1902 days ago | 0.10829506 ETH | ||||
9089419 | 1902 days ago | 0.10872998 ETH | ||||
9072858 | 1905 days ago | 0.13430523 ETH | ||||
9072858 | 1905 days ago | 0.13484461 ETH | ||||
9067963 | 1905 days ago | 0.13405872 ETH | ||||
9067963 | 1905 days ago | 0.13459711 ETH | ||||
9066493 | 1906 days ago | 0.2529289 ETH | ||||
9052874 | 1908 days ago | 0.09990496 ETH | ||||
9045462 | 1909 days ago | 0.13588915 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
cDaiGateway
Compiler Version
v0.4.24+commit.e67f0147
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-05-28 */ pragma solidity ^0.4.24; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } } contract Exchange { function ethToTokenTransferInput(uint256 min_tokens, uint256 deadline, address recipient) public payable returns(uint256); } contract cDaiGateway is Ownable { Exchange cDaiEx = Exchange(0x45A2FDfED7F7a2c791fb1bdF6075b83faD821ddE); function () public payable { etherTocDai(msg.sender); } function etherTocDai(address to) public payable returns(uint256) { return cDaiEx.ethToTokenTransferInput.value(msg.value * 996 / 1000)(1, now, to); } function makeprofit() public onlyOwner { owner.transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"to","type":"address"}],"name":"etherTocDai","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"makeprofit","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
608060405260018054600160a060020a03199081167345a2fdfed7f7a2c791fb1bdf6075b83fad821dde1790915560008054909116331790556102e5806100476000396000f3006080604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166329f370cb811461006d578063503011dc146100935780638da5cb5b146100aa578063f2fde38b146100db575b61006a336100fc565b50005b610081600160a060020a03600435166100fc565b60408051918252519081900360200190f35b34801561009f57600080fd5b506100a86101c1565b005b3480156100b657600080fd5b506100bf610216565b60408051600160a060020a039092168252519081900360200190f35b3480156100e757600080fd5b506100a8600160a060020a0360043516610225565b600154600090600160a060020a031663ad65d76d6103e86103e4340204600142866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018084815260200183815260200182600160a060020a0316600160a060020a0316815260200193505050506020604051808303818588803b15801561018e57600080fd5b505af11580156101a2573d6000803e3d6000fd5b50505050506040513d60208110156101b957600080fd5b505192915050565b600054600160a060020a031633146101d857600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610213573d6000803e3d6000fd5b50565b600054600160a060020a031681565b600054600160a060020a0316331461023c57600080fd5b600160a060020a038116151561025157600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058202f191ddb6673478732231d7628268165fdb24c37d4fea5e06484bcd3c526e7460029
Deployed Bytecode
0x6080604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166329f370cb811461006d578063503011dc146100935780638da5cb5b146100aa578063f2fde38b146100db575b61006a336100fc565b50005b610081600160a060020a03600435166100fc565b60408051918252519081900360200190f35b34801561009f57600080fd5b506100a86101c1565b005b3480156100b657600080fd5b506100bf610216565b60408051600160a060020a039092168252519081900360200190f35b3480156100e757600080fd5b506100a8600160a060020a0360043516610225565b600154600090600160a060020a031663ad65d76d6103e86103e4340204600142866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018084815260200183815260200182600160a060020a0316600160a060020a0316815260200193505050506020604051808303818588803b15801561018e57600080fd5b505af11580156101a2573d6000803e3d6000fd5b50505050506040513d60208110156101b957600080fd5b505192915050565b600054600160a060020a031633146101d857600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610213573d6000803e3d6000fd5b50565b600054600160a060020a031681565b600054600160a060020a0316331461023c57600080fd5b600160a060020a038116151561025157600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058202f191ddb6673478732231d7628268165fdb24c37d4fea5e06484bcd3c526e7460029
Deployed Bytecode Sourcemap
1050:433:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1194:23;1206:10;1194:11;:23::i;:::-;;1050:433;1227:160;;-1:-1:-1;;;;;1227:160:0;;;;;;;;;;;;;;;;;;;;;1392:86;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1392:86:0;;;;;;52:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;52:20:0;;;;;;;;-1:-1:-1;;;;;52:20:0;;;;;;;;;;;;;;700:192;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;700:192:0;-1:-1:-1;;;;;700:192:0;;;;;1227:160;1310:6;;1283:7;;-1:-1:-1;;;;;1310:6:0;:30;1365:4;1359:3;1347:9;:15;:22;1371:1;1374:3;1379:2;1310:72;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1310:72:0;-1:-1:-1;;;;;1310:72:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1310:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1310:72:0;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1310:72:0;;1227:160;-1:-1:-1;;1227:160:0:o;1392:86::-;502:5;;-1:-1:-1;;;;;502:5:0;488:10;:19;480:28;;;;;;1436:5;;;:37;;-1:-1:-1;;;;;1436:5:0;;;;1459:4;1451:21;1436:37;;;;;1451:21;;1436:37;:5;:37;1451:21;1436:5;:37;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1436:37:0;1392:86::o;52:20::-;;;-1:-1:-1;;;;;52:20:0;;:::o;700:192::-;502:5;;-1:-1:-1;;;;;502:5:0;488:10;:19;480:28;;;;;;-1:-1:-1;;;;;781:22:0;;;;773:31;;;;;;841:5;;;820:37;;-1:-1:-1;;;;;820:37:0;;;;841:5;;;820:37;;;868:5;:16;;-1:-1:-1;;868:16:0;-1:-1:-1;;;;;868:16:0;;;;;;;;;;700:192::o
Swarm Source
bzzr://2f191ddb6673478732231d7628268165fdb24c37d4fea5e06484bcd3c526e746
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,661.7 | 0.00052568 | $1.4 |
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.