More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,764 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Free Cash | 20901072 | 105 days ago | IN | 0 ETH | 0.00207246 | ||||
Free Cash | 20870281 | 109 days ago | IN | 0 ETH | 0.00171845 | ||||
Free Cash | 20596525 | 147 days ago | IN | 0 ETH | 0.00011009 | ||||
Free Cash | 20560480 | 152 days ago | IN | 0 ETH | 0.00010473 | ||||
Free Cash | 20345451 | 182 days ago | IN | 0 ETH | 0.00062969 | ||||
Free Cash | 19940748 | 239 days ago | IN | 0 ETH | 0.00165807 | ||||
Free Cash | 19891246 | 246 days ago | IN | 0 ETH | 0.0007686 | ||||
Free Cash | 19770947 | 262 days ago | IN | 0 ETH | 0.001333 | ||||
Free Cash | 19738037 | 267 days ago | IN | 0 ETH | 0.00100774 | ||||
Free Cash | 19669910 | 277 days ago | IN | 0 ETH | 0.00167607 | ||||
Free Cash | 19594811 | 287 days ago | IN | 0 ETH | 0.0012868 | ||||
Free Cash | 19546705 | 294 days ago | IN | 0 ETH | 0.00291103 | ||||
Free Cash | 19540558 | 295 days ago | IN | 0 ETH | 0.00521939 | ||||
Free Cash | 19515354 | 298 days ago | IN | 0 ETH | 0.00295116 | ||||
Free Cash | 19508345 | 299 days ago | IN | 0 ETH | 0.00210771 | ||||
Free Cash | 19508259 | 299 days ago | IN | 0 ETH | 0.00250742 | ||||
Free Cash | 19506689 | 299 days ago | IN | 0 ETH | 0.00288108 | ||||
Free Cash | 19488973 | 302 days ago | IN | 0 ETH | 0.00293091 | ||||
Free Cash | 19479848 | 303 days ago | IN | 0 ETH | 0.00469495 | ||||
Free Cash | 19457784 | 306 days ago | IN | 0 ETH | 0.00404824 | ||||
Free Cash | 19420685 | 312 days ago | IN | 0 ETH | 0.00832092 | ||||
Free Cash | 19417842 | 312 days ago | IN | 0 ETH | 0.00743328 | ||||
Free Cash | 19352450 | 321 days ago | IN | 0 ETH | 0.0053391 | ||||
Free Cash | 19293631 | 329 days ago | IN | 0 ETH | 0.00349448 | ||||
Free Cash | 19218195 | 340 days ago | IN | 0 ETH | 0.00279199 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21227697 | 59 days ago | 1.625368 ETH | ||||
21227697 | 59 days ago | 1.625368 ETH | ||||
21181558 | 65 days ago | 0.52525311 ETH | ||||
21181558 | 65 days ago | 0.52525311 ETH | ||||
20901072 | 105 days ago | 2.85918761 ETH | ||||
20901072 | 105 days ago | 2.85918761 ETH | ||||
20870281 | 109 days ago | 0.25899204 ETH | ||||
20870281 | 109 days ago | 0.25899204 ETH | ||||
20766733 | 123 days ago | 0.06439402 ETH | ||||
20766733 | 123 days ago | 0.06439402 ETH | ||||
20738188 | 127 days ago | 0.11017173 ETH | ||||
20738188 | 127 days ago | 0.11017173 ETH | ||||
20596525 | 147 days ago | 0.00031713 ETH | ||||
20596525 | 147 days ago | 0.00031713 ETH | ||||
20560480 | 152 days ago | 0.00031713 ETH | ||||
20560480 | 152 days ago | 0.00031713 ETH | ||||
20393879 | 175 days ago | 0.05526416 ETH | ||||
20393879 | 175 days ago | 0.05526416 ETH | ||||
20345451 | 182 days ago | 0.07657718 ETH | ||||
20345451 | 182 days ago | 0.07657718 ETH | ||||
19940748 | 239 days ago | 0.10343722 ETH | ||||
19940748 | 239 days ago | 0.10343722 ETH | ||||
19906447 | 243 days ago | 0.08222508 ETH | ||||
19906447 | 243 days ago | 0.08222508 ETH | ||||
19891246 | 246 days ago | 0.05945675 ETH |
Loading...
Loading
Contract Name:
CageFree
Compiler Version
v0.5.15+commit.6a57276f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-04-06 */ pragma solidity 0.5.15; // https://github.com/makerdao/sai/blob/master/src/tap.sol contract SaiTapInterface { function sai() public view returns (address); function cash(uint256) public; } contract TokenInterface { function approve(address, uint256) public; function transferFrom(address, address, uint256) public returns (bool); function withdraw(uint256) public; function balanceOf(address) public view returns (uint256); } // User must approve() this contract on Sai prior to calling. contract CageFree { address public tap; address public sai; address public weth; event FreeCash(address sender, uint256 amount); constructor(address _tap, address _weth) public { tap = _tap; sai = SaiTapInterface(tap).sai(); weth = _weth; TokenInterface(sai).approve(tap, uint256(-1)); } function freeCash(uint256 wad) public returns (uint256 cashoutBalance) { TokenInterface(sai).transferFrom(msg.sender, address(this), wad); SaiTapInterface(tap).cash(wad); cashoutBalance = TokenInterface(weth).balanceOf(address(this)); require(cashoutBalance > 0, "Zero ETH value"); TokenInterface(weth).withdraw(cashoutBalance); msg.sender.transfer(cashoutBalance); emit FreeCash(msg.sender, cashoutBalance); } function() external payable { require(msg.sender == weth, "Only WETH can send ETH"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tap","type":"address"},{"internalType":"address","name":"_weth","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FreeCash","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"freeCash","outputs":[{"internalType":"uint256","name":"cashoutBalance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sai","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tap","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516109ff3803806109ff8339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639166cba46040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f557600080fd5b505afa158015610109573d6000803e3d6000fd5b505050506040513d602081101561011f57600080fd5b8101908080519060200190929190505050600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b36000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561029b57600080fd5b505af11580156102af573d6000803e3d6000fd5b50505050505061073b806102c46000396000f3fe60806040526004361061003f5760003560e01c80633fc8cef3146101045780639166cba41461015b57806395e5308b146101b2578063fd22103114610201575b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4f6e6c7920574554482063616e2073656e64204554480000000000000000000081525060200191505060405180910390fd5b005b34801561011057600080fd5b50610119610258565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561016757600080fd5b5061017061027e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101be57600080fd5b506101eb600480360360208110156101d557600080fd5b81019080803590602001909291905050506102a4565b6040518082815260200191505060405180910390f35b34801561020d57600080fd5b506102166106e1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561038357600080fd5b505af1158015610397573d6000803e3d6000fd5b505050506040513d60208110156103ad57600080fd5b8101908080519060200190929190505050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166317dc92f5836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561043357600080fd5b505af1158015610447573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156104ea57600080fd5b505afa1580156104fe573d6000803e3d6000fd5b505050506040513d602081101561051457600080fd5b810190808051906020019092919050505090506000811161059d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f5a65726f204554482076616c756500000000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561061257600080fd5b505af1158015610626573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610670573d6000803e3d6000fd5b507f269481b642c8f13b094f2c06b05a19524d0a6f250df0fa303d04b3fda5cf10663382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea265627a7a72315820f59a08911359926a76cfa3c2423912b0854703974e3eb73aefbba2640ac98ee064736f6c634300050f0032000000000000000000000000bda109309f9fafa6dd6a9cb9f1df4085b27ee8ef000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x60806040526004361061003f5760003560e01c80633fc8cef3146101045780639166cba41461015b57806395e5308b146101b2578063fd22103114610201575b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4f6e6c7920574554482063616e2073656e64204554480000000000000000000081525060200191505060405180910390fd5b005b34801561011057600080fd5b50610119610258565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561016757600080fd5b5061017061027e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101be57600080fd5b506101eb600480360360208110156101d557600080fd5b81019080803590602001909291905050506102a4565b6040518082815260200191505060405180910390f35b34801561020d57600080fd5b506102166106e1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561038357600080fd5b505af1158015610397573d6000803e3d6000fd5b505050506040513d60208110156103ad57600080fd5b8101908080519060200190929190505050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166317dc92f5836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561043357600080fd5b505af1158015610447573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156104ea57600080fd5b505afa1580156104fe573d6000803e3d6000fd5b505050506040513d602081101561051457600080fd5b810190808051906020019092919050505090506000811161059d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f5a65726f204554482076616c756500000000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561061257600080fd5b505af1158015610626573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610670573d6000803e3d6000fd5b507f269481b642c8f13b094f2c06b05a19524d0a6f250df0fa303d04b3fda5cf10663382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea265627a7a72315820f59a08911359926a76cfa3c2423912b0854703974e3eb73aefbba2640ac98ee064736f6c634300050f0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000bda109309f9fafa6dd6a9cb9f1df4085b27ee8ef000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : _tap (address): 0xBda109309f9FafA6Dd6A9CB9f1Df4085B27Ee8eF
Arg [1] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000bda109309f9fafa6dd6a9cb9f1df4085b27ee8ef
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode Sourcemap
531:958:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1447:4;;;;;;;;;;;1433:18;;:10;:18;;;1425:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;531:958;608:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;608:19:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;583:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;583:18:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;900:478;;8:9:-1;5:2;;;30:1;27;20:12;5:2;900:478:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;900:478:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;558:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;558:18:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;608:19;;;;;;;;;;;;;:::o;583:18::-;;;;;;;;;;;;;:::o;900:478::-;947:22;997:3;;;;;;;;;;;982:32;;;1015:10;1035:4;1042:3;982:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;982:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;982:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;982:64:0;;;;;;;;;;;;;;;;;1073:3;;;;;;;;;;;1057:25;;;1083:3;1057:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1057:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1057:30:0;;;;1130:4;;;;;;;;;;;1115:30;;;1154:4;1115:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1115:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1115:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1115:45:0;;;;;;;;;;;;;;;;1098:62;;1196:1;1179:14;:18;1171:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1242:4;;;;;;;;;;;1227:29;;;1257:14;1227:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1227:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1227:45:0;;;;1283:10;:19;;:35;1303:14;1283:35;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1283:35:0;1334:36;1343:10;1355:14;1334:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;900:478;;;:::o;558:18::-;;;;;;;;;;;;;:::o
Swarm Source
bzzr://f59a08911359926a76cfa3c2423912b0854703974e3eb73aefbba2640ac98ee0
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
BSC | 100.00% | <$0.000001 | 714,385,955.4043 | $0.1428 |
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.