ETH Price: $3,479.68 (+0.89%)

Contract

0x3D93064098Bfd596Ec5200Ea4C31f1c51566595D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Send To Blackhol...204069432024-07-28 18:48:35149 days ago1722192515IN
0x3D930640...51566595D
0 ETH0.000153532.71467501
Send To Blackhol...204062152024-07-28 16:22:47149 days ago1722183767IN
0x3D930640...51566595D
0 ETH0.000153512.71202553
Send To Blackhol...204060712024-07-28 15:53:59149 days ago1722182039IN
0x3D930640...51566595D
0 ETH0.000089181.72122818
Send To Blackhol...204060402024-07-28 15:47:47149 days ago1722181667IN
0x3D930640...51566595D
0 ETH0.000087791.69443508
Send To Blackhol...204060022024-07-28 15:40:11149 days ago1722181211IN
0x3D930640...51566595D
0 ETH0.0001031.98842434
Send To Blackhol...204059712024-07-28 15:33:59149 days ago1722180839IN
0x3D930640...51566595D
0 ETH0.000123492.38332722
Send To Blackhol...204059062024-07-28 15:20:47149 days ago1722180047IN
0x3D930640...51566595D
0 ETH0.00010241.97629721
Send To Blackhol...204057872024-07-28 14:56:47149 days ago1722178607IN
0x3D930640...51566595D
0 ETH0.000122062.35568918
Send To Blackhol...204057782024-07-28 14:54:59149 days ago1722178499IN
0x3D930640...51566595D
0 ETH0.000159473.39269486
Send To Blackhol...204056722024-07-28 14:33:47149 days ago1722177227IN
0x3D930640...51566595D
0 ETH0.000219974.67875852
Send To Blackhol...204056042024-07-28 14:20:11149 days ago1722176411IN
0x3D930640...51566595D
0 ETH0.000129372.28564781
Send To Blackhol...204055922024-07-28 14:17:47149 days ago1722176267IN
0x3D930640...51566595D
0 ETH0.000151253.21872477
Send To Blackhol...204055772024-07-28 14:14:47149 days ago1722176087IN
0x3D930640...51566595D
0 ETH0.000159933.0872317
Send To Blackhol...204055682024-07-28 14:12:59149 days ago1722175979IN
0x3D930640...51566595D
0 ETH0.000148083.15205757
Send To Blackhol...204055412024-07-28 14:07:35149 days ago1722175655IN
0x3D930640...51566595D
0 ETH0.000155943.01026986
Send To Blackhol...204055382024-07-28 14:06:59149 days ago1722175619IN
0x3D930640...51566595D
0 ETH0.000136432.9026997
Send To Blackhol...204054392024-07-28 13:47:11150 days ago1722174431IN
0x3D930640...51566595D
0 ETH0.000150853.21024978
Send To Blackhol...204052442024-07-28 13:08:11150 days ago1722172091IN
0x3D930640...51566595D
0 ETH0.000124692.20249216
Send To Blackhol...204051902024-07-28 12:57:11150 days ago1722171431IN
0x3D930640...51566595D
0 ETH0.00010982.33607301
Send To Blackhol...204050972024-07-28 12:38:35150 days ago1722170315IN
0x3D930640...51566595D
0 ETH0.000104552.22445087
Send To Blackhol...204049672024-07-28 12:12:35150 days ago1722168755IN
0x3D930640...51566595D
0 ETH0.000102452.18020708
Send To Blackhol...204049502024-07-28 12:09:11150 days ago1722168551IN
0x3D930640...51566595D
0 ETH0.00010872.3132416
Send To Blackhol...204049042024-07-28 11:59:47150 days ago1722167987IN
0x3D930640...51566595D
0 ETH0.000108772.31481091
Send To Blackhol...204048852024-07-28 11:55:47150 days ago1722167747IN
0x3D930640...51566595D
0 ETH0.000118122.27967223
Send To Blackhol...204048792024-07-28 11:54:35150 days ago1722167675IN
0x3D930640...51566595D
0 ETH0.000103322.19884216
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenToBlackholeRecorder

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2024-06-27
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IERC20 {
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

contract TokenToBlackholeRecorder {
    address public constant BLACKHOLE_ADDRESS = 0x000000000000000000000000000000000000dEaD;
    IERC20 public token;
    uint256 public totalSent;

    event TokenSentToBlackhole(address indexed sender, uint256 indexed amount, string solanaAddress);

    constructor(address _tokenAddress) {
        token = IERC20(_tokenAddress);
    }

    function sendToBlackhole(uint256 amount, string calldata solanaAddress) external {
        require(token.transferFrom(msg.sender, BLACKHOLE_ADDRESS, amount), "Transfer failed");
        totalSent += amount;
        emit TokenSentToBlackhole(msg.sender, amount, solanaAddress);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"string","name":"solanaAddress","type":"string"}],"name":"TokenSentToBlackhole","type":"event"},{"inputs":[],"name":"BLACKHOLE_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"solanaAddress","type":"string"}],"name":"sendToBlackhole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506040516103e53803806103e583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610082565b600060208284031215610065578081fd5b81516001600160a01b038116811461007b578182fd5b9392505050565b610354806100916000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063142bc5d31461005157806346f9906314610066578063d368111414610084578063fc0c546a14610099575b600080fd5b61006461005f3660046101ea565b6100a1565b005b61006e6101a8565b60405161007b91906102f1565b60405180910390f35b61008c6101ae565b60405161007b9190610261565b61008c6101b4565b6000546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906100d790339061dead908890600401610275565b602060405180830381600087803b1580156100f157600080fd5b505af1158015610105573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012991906101c3565b61014e5760405162461bcd60e51b8152600401610145906102c8565b60405180910390fd5b826001600082825461016091906102fa565b9091555050604051839033907fffd6c63d7a6f94d995f0cdeb5e54d3eecfc7d05c02342f4097a880c03e5170129061019b9086908690610299565b60405180910390a3505050565b60015481565b61dead81565b6000546001600160a01b031681565b6000602082840312156101d4578081fd5b815180151581146101e3578182fd5b9392505050565b6000806000604084860312156101fe578182fd5b83359250602084013567ffffffffffffffff8082111561021c578384fd5b818601915086601f83011261022f578384fd5b81358181111561023d578485fd5b87602082850101111561024e578485fd5b6020830194508093505050509250925092565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020825282602083015282846040840137818301604090810191909152601f909201601f19160101919050565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b90815260200190565b6000821982111561031957634e487b7160e01b81526011600452602481fd5b50019056fea2646970667358221220d99ed6680f4fc67370b5a5976cdade1082ec9a12dc08f21c01e81e4ac295509d64736f6c6343000800003300000000000000000000000069b14e8d3cebfdd8196bfe530954a0c226e5008e

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c8063142bc5d31461005157806346f9906314610066578063d368111414610084578063fc0c546a14610099575b600080fd5b61006461005f3660046101ea565b6100a1565b005b61006e6101a8565b60405161007b91906102f1565b60405180910390f35b61008c6101ae565b60405161007b9190610261565b61008c6101b4565b6000546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906100d790339061dead908890600401610275565b602060405180830381600087803b1580156100f157600080fd5b505af1158015610105573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012991906101c3565b61014e5760405162461bcd60e51b8152600401610145906102c8565b60405180910390fd5b826001600082825461016091906102fa565b9091555050604051839033907fffd6c63d7a6f94d995f0cdeb5e54d3eecfc7d05c02342f4097a880c03e5170129061019b9086908690610299565b60405180910390a3505050565b60015481565b61dead81565b6000546001600160a01b031681565b6000602082840312156101d4578081fd5b815180151581146101e3578182fd5b9392505050565b6000806000604084860312156101fe578182fd5b83359250602084013567ffffffffffffffff8082111561021c578384fd5b818601915086601f83011261022f578384fd5b81358181111561023d578485fd5b87602082850101111561024e578485fd5b6020830194508093505050509250925092565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006020825282602083015282846040840137818301604090810191909152601f909201601f19160101919050565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b90815260200190565b6000821982111561031957634e487b7160e01b81526011600452602481fd5b50019056fea2646970667358221220d99ed6680f4fc67370b5a5976cdade1082ec9a12dc08f21c01e81e4ac295509d64736f6c63430008000033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000069b14e8d3cebfdd8196bfe530954a0c226e5008e

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x69b14e8D3CEBfDD8196Bfe530954A0C226E5008E

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000069b14e8d3cebfdd8196bfe530954a0c226e5008e


Deployed Bytecode Sourcemap

179:678:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;568:286;;;;;;:::i;:::-;;:::i;:::-;;339:24;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;220:86;;;:::i;:::-;;;;;;;:::i;313:19::-;;;:::i;568:286::-;668:5;;:57;;-1:-1:-1;;;668:57:0;;-1:-1:-1;;;;;668:5:0;;;;:18;;:57;;687:10;;264:42;;718:6;;668:57;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;660:85;;;;-1:-1:-1;;;660:85:0;;;;;;;:::i;:::-;;;;;;;;;769:6;756:9;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;;791:55:0;;824:6;;812:10;;791:55;;;;832:13;;;;791:55;:::i;:::-;;;;;;;;568:286;;;:::o;339:24::-;;;;:::o;220:86::-;264:42;220:86;:::o;313:19::-;;;-1:-1:-1;;;;;313:19:0;;:::o;14:297:1:-;;134:2;122:9;113:7;109:23;105:32;102:2;;;155:6;147;140:22;102:2;192:9;186:16;245:5;238:13;231:21;224:5;221:32;211:2;;272:6;264;257:22;211:2;300:5;92:219;-1:-1:-1;;;92:219:1:o;316:710::-;;;;465:2;453:9;444:7;440:23;436:32;433:2;;;486:6;478;471:22;433:2;527:9;514:23;504:33;;588:2;577:9;573:18;560:32;611:18;652:2;644:6;641:14;638:2;;;673:6;665;658:22;638:2;716:6;705:9;701:22;691:32;;761:7;754:4;750:2;746:13;742:27;732:2;;788:6;780;773:22;732:2;833;820:16;859:2;851:6;848:14;845:2;;;880:6;872;865:22;845:2;930:7;925:2;916:6;912:2;908:15;904:24;901:37;898:2;;;956:6;948;941:22;898:2;992;988;984:11;974:21;;1014:6;1004:16;;;;;423:603;;;;;:::o;1031:203::-;-1:-1:-1;;;;;1195:32:1;;;;1177:51;;1165:2;1150:18;;1132:102::o;1239:375::-;-1:-1:-1;;;;;1497:15:1;;;1479:34;;1549:15;;;;1544:2;1529:18;;1522:43;1596:2;1581:18;;1574:34;;;;1429:2;1414:18;;1396:218::o;1840:393::-;;1999:2;1988:9;1981:21;2038:6;2033:2;2022:9;2018:18;2011:34;2095:6;2087;2082:2;2071:9;2067:18;2054:48;2122:22;;;2146:2;2118:31;;;2111:45;;;;2217:2;2196:15;;;-1:-1:-1;;2192:29:1;2177:45;2173:54;;1971:262;-1:-1:-1;1971:262:1:o;2238:339::-;2440:2;2422:21;;;2479:2;2459:18;;;2452:30;-1:-1:-1;;;2513:2:1;2498:18;;2491:45;2568:2;2553:18;;2412:165::o;2582:177::-;2728:25;;;2716:2;2701:18;;2683:76::o;2764:229::-;;2835:1;2831:6;2828:1;2825:13;2822:2;;;-1:-1:-1;;;2861:33:1;;2917:4;2914:1;2907:15;2947:4;2868:3;2935:17;2822:2;-1:-1:-1;2978:9:1;;2812:181::o

Swarm Source

ipfs://d99ed6680f4fc67370b5a5976cdade1082ec9a12dc08f21c01e81e4ac295509d

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.