Contract
0x0d5550d52428e7e3175bfc9550207e4ad3859b17
6
Contract Overview
Balance:
0 ETH
ETH Value:
$0.00
My Name Tag:
Not Available
[ Download CSV Export ]
Latest 25 internal transaction
[ Download CSV Export ]
Contract Name:
TornadoProxyLight
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Arbiscan on 2022-03-13 */ // SPDX-License-Identifier: MIT // https://tornado.cash /* * d888888P dP a88888b. dP * 88 88 d8' `88 88 * 88 .d8888b. 88d888b. 88d888b. .d8888b. .d888b88 .d8888b. 88 .d8888b. .d8888b. 88d888b. * 88 88' `88 88' `88 88' `88 88' `88 88' `88 88' `88 88 88' `88 Y8ooooo. 88' `88 * 88 88. .88 88 88 88 88. .88 88. .88 88. .88 dP Y8. .88 88. .88 88 88 88 * dP `88888P' dP dP dP `88888P8 `88888P8 `88888P' 88 Y88888P' `88888P8 `88888P' dP dP * ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo */ pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; interface ITornadoInstance { function token() external view returns (address); function denomination() external view returns (uint256); function deposit(bytes32 commitment) external payable; function withdraw( bytes calldata proof, bytes32 root, bytes32 nullifierHash, address payable recipient, address payable relayer, uint256 fee, uint256 refund ) external payable; } contract TornadoProxyLight { event EncryptedNote(address indexed sender, bytes encryptedNote); function deposit( ITornadoInstance _tornado, bytes32 _commitment, bytes calldata _encryptedNote ) external payable { _tornado.deposit{ value: msg.value }(_commitment); emit EncryptedNote(msg.sender, _encryptedNote); } function withdraw( ITornadoInstance _tornado, bytes calldata _proof, bytes32 _root, bytes32 _nullifierHash, address payable _recipient, address payable _relayer, uint256 _fee, uint256 _refund ) external payable { _tornado.withdraw{ value: msg.value }(_proof, _root, _nullifierHash, _recipient, _relayer, _fee, _refund); } function backupNotes(bytes[] calldata _encryptedNotes) external { for (uint256 i = 0; i < _encryptedNotes.length; i++) { emit EncryptedNote(msg.sender, _encryptedNotes[i]); } } }
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"encryptedNote","type":"bytes"}],"name":"EncryptedNote","type":"event"},{"inputs":[{"internalType":"bytes[]","name":"_encryptedNotes","type":"bytes[]"}],"name":"backupNotes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITornadoInstance","name":"_tornado","type":"address"},{"internalType":"bytes32","name":"_commitment","type":"bytes32"},{"internalType":"bytes","name":"_encryptedNote","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract ITornadoInstance","name":"_tornado","type":"address"},{"internalType":"bytes","name":"_proof","type":"bytes"},{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"bytes32","name":"_nullifierHash","type":"bytes32"},{"internalType":"address payable","name":"_recipient","type":"address"},{"internalType":"address payable","name":"_relayer","type":"address"},{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"uint256","name":"_refund","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506104f6806100206000396000f3fe6080604052600436106100345760003560e01c806313d98d13146100395780636485ba2a1461004e578063b438689f1461006e575b600080fd5b61004c6100473660046102c7565b610081565b005b34801561005a57600080fd5b5061004c610069366004610258565b61012a565b61004c61007c366004610321565b610198565b60405163b214faa560e01b81526001600160a01b0385169063b214faa59034906100af9087906004016103ec565b6000604051808303818588803b1580156100c857600080fd5b505af11580156100dc573d6000803e3d6000fd5b5050505050336001600160a01b03167ffa28df43db3553771f7209dcef046f3bdfea15870ab625dcda30ac58b82b4008838360405161011c9291906103f5565b60405180910390a250505050565b60005b8181101561019357337ffa28df43db3553771f7209dcef046f3bdfea15870ab625dcda30ac58b82b400884848481811061016357fe5b90506020028101906101759190610463565b6040516101839291906103f5565b60405180910390a260010161012d565b505050565b6040516310d056db60e11b81526001600160a01b038a16906321a0adb69034906101d4908c908c908c908c908c908c908c908c90600401610411565b6000604051808303818588803b1580156101ed57600080fd5b505af1158015610201573d6000803e3d6000fd5b5050505050505050505050505050565b60008083601f840112610222578182fd5b50813567ffffffffffffffff811115610239578182fd5b60208301915083602082850101111561025157600080fd5b9250929050565b6000806020838503121561026a578182fd5b823567ffffffffffffffff80821115610281578384fd5b818501915085601f830112610294578384fd5b8135818111156102a2578485fd5b86602080830285010111156102b5578485fd5b60209290920196919550909350505050565b600080600080606085870312156102dc578182fd5b84356102e7816104a8565b935060208501359250604085013567ffffffffffffffff811115610309578283fd5b61031587828801610211565b95989497509550505050565b60008060008060008060008060006101008a8c03121561033f578485fd5b893561034a816104a8565b985060208a013567ffffffffffffffff811115610365578586fd5b6103718c828d01610211565b90995097505060408a0135955060608a0135945060808a0135610393816104a8565b935060a08a01356103a3816104a8565b8093505060c08a0135915060e08a013590509295985092959850929598565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b90815260200190565b6000602082526104096020830184866103c2565b949350505050565b600060e0825261042560e083018a8c6103c2565b60208301989098525060408101959095526001600160a01b03938416606086015291909216608084015260a083019190915260c09091015292915050565b6000808335601e19843603018112610479578283fd5b83018035915067ffffffffffffffff821115610493578283fd5b60200191503681900382131561025157600080fd5b6001600160a01b03811681146104bd57600080fd5b5056fea2646970667358221220933a65b015e49cd3afd093e36b796373f0ceea1956cc4c0ea4ca179f3c2fd5cb64736f6c634300060c0033
Deployed ByteCode Sourcemap
1292:934:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1395:248;;;;;;:::i;:::-;;:::i;:::-;;2027:196;;;;;;;;;;-1:-1:-1;2027:196:0;;;;;:::i;:::-;;:::i;1649:372::-;;;;;;:::i;:::-;;:::i;1395:248::-;1535:49;;-1:-1:-1;;;1535:49:0;;-1:-1:-1;;;;;1535:16:0;;;;;1560:9;;1535:49;;1572:11;;1535:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1610:10;-1:-1:-1;;;;;1596:41:0;;1622:14;;1596:41;;;;;;;:::i;:::-;;;;;;;;1395:248;;;;:::o;2027:196::-;2103:9;2098:120;2118:26;;;2098:120;;;2179:10;2165:45;2191:15;;2207:1;2191:18;;;;;;;;;;;;;;;;;;:::i;:::-;2165:45;;;;;;;:::i;:::-;;;;;;;;2146:3;;2098:120;;;;2027:196;;:::o;1649:372::-;1910:105;;-1:-1:-1;;;1910:105:0;;-1:-1:-1;;;;;1910:17:0;;;;;1936:9;;1910:105;;1948:6;;;;1956:5;;1963:14;;1979:10;;1991:8;;2001:4;;2007:7;;1910:105;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1649:372;;;;;;;;;:::o;696:336:-1:-;;;810:3;803:4;795:6;791:17;787:27;777:2;;-1:-1;;818:12;777:2;-1:-1;848:20;;888:18;877:30;;874:2;;;-1:-1;;910:12;874:2;954:4;946:6;942:17;930:29;;1005:3;954:4;985:17;946:6;971:32;;968:41;965:2;;;1022:1;;1012:12;965:2;770:262;;;;;:::o;1360:419::-;;;1510:2;1498:9;1489:7;1485:23;1481:32;1478:2;;;-1:-1;;1516:12;1478:2;1574:17;1561:31;1612:18;;1604:6;1601:30;1598:2;;;-1:-1;;1634:12;1598:2;1746:6;1735:9;1731:22;;;315:3;308:4;300:6;296:17;292:27;282:2;;-1:-1;;323:12;282:2;366:6;353:20;1612:18;385:6;382:30;379:2;;;-1:-1;;415:12;379:2;510:3;1510:2;;494:6;490:17;451:6;476:32;;473:41;470:2;;;-1:-1;;517:12;470:2;1510;447:17;;;;;1654:109;;-1:-1;1472:307;;-1:-1;;;;1472:307::o;1786:661::-;;;;;1966:2;1954:9;1945:7;1941:23;1937:32;1934:2;;;-1:-1;;1972:12;1934:2;1143:6;1130:20;1155:56;1205:5;1155:56;:::i;:::-;2024:86;-1:-1;2147:2;2186:22;;612:20;;-1:-1;2283:2;2268:18;;2255:32;2307:18;2296:30;;2293:2;;;-1:-1;;2329:12;2293:2;2367:64;2423:7;2414:6;2403:9;2399:22;2367:64;:::i;:::-;1928:519;;;;-1:-1;2349:82;-1:-1;;;;1928:519::o;2454:1323::-;;;;;;;;;;2735:3;2723:9;2714:7;2710:23;2706:33;2703:2;;;-1:-1;;2742:12;2703:2;1143:6;1130:20;1155:56;1205:5;1155:56;:::i;:::-;2794:86;-1:-1;2945:2;2930:18;;2917:32;2969:18;2958:30;;2955:2;;;-1:-1;;2991:12;2955:2;3029:64;3085:7;3076:6;3065:9;3061:22;3029:64;:::i;:::-;3011:82;;-1:-1;3011:82;-1:-1;;3130:2;3169:22;;612:20;;-1:-1;3238:2;3277:22;;612:20;;-1:-1;3346:3;3394:22;;80:20;105:41;80:20;105:41;:::i;:::-;3355:71;-1:-1;3463:3;3511:22;;80:20;105:41;80:20;105:41;:::i;:::-;3472:71;;;;3580:3;3624:9;3620:22;1290:20;3589:63;;3689:3;3733:9;3729:22;1290:20;3698:63;;2697:1080;;;;;;;;;;;:::o;4071:297::-;;6753:6;6748:3;6741:19;7502:6;7497:3;6790:4;6785:3;6781:14;7479:30;-1:-1;6790:4;7549:6;6785:3;7540:16;;7533:27;6790:4;7658:7;;7662:2;4354:6;7642:14;7638:28;6785:3;4323:39;;4316:46;;4171:197;;;;;:::o;4496:222::-;3999:37;;;4623:2;4608:18;;4594:124::o;4725:326::-;;4880:2;4901:17;4894:47;4955:86;4880:2;4869:9;4865:18;5027:6;5019;4955:86;:::i;:::-;4947:94;4851:200;-1:-1;;;;4851:200::o;5058:1060::-;;5413:3;5435:17;5428:47;5489:86;5413:3;5402:9;5398:19;5561:6;5553;5489:86;:::i;:::-;5654:2;5639:18;;3999:37;;;;-1:-1;5737:2;5722:18;;3999:37;;;;-1:-1;;;;;7275:54;;;5836:2;5821:18;;3871:45;7275:54;;;;5935:3;5920:19;;3871:45;7286:42;6004:19;;3999:37;;;;6103:3;6088:19;;;3999:37;5481:94;5384:734;-1:-1;;5384:734::o;6125:506::-;;;6260:11;6247:25;6311:48;;6335:8;6319:14;6315:29;6311:48;6291:18;6287:73;6277:2;;-1:-1;;6364:12;6277:2;6391:33;;6445:18;;;-1:-1;6483:18;6472:30;;6469:2;;;-1:-1;;6505:12;6469:2;6350:4;6533:13;;-1:-1;6319:14;6565:38;;;6555:49;;6552:2;;;6617:1;;6607:12;7679:133;-1:-1;;;;;7275:54;;7746:43;;7736:2;;7803:1;;7793:12;7736:2;7730:82;:::o
Swarm Source
ipfs://933a65b015e49cd3afd093e36b796373f0ceea1956cc4c0ea4ca179f3c2fd5cb
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.