ETH Price: $3,312.52 (-5.06%)

Contract

0x42b82b4E88ddedca2ea1Cf89F79Ac9A1af81d2D3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Split Ether169671962023-04-03 8:02:47656 days ago1680508967IN
0x42b82b4E...1af81d2D3
0.35 ETH0.0083772520.51010686
Split Ether147179852022-05-05 15:22:14989 days ago1651764134IN
0x42b82b4E...1af81d2D3
20 ETH0.0107584287.67282836
Split Ether146782462022-04-29 8:54:47995 days ago1651222487IN
0x42b82b4E...1af81d2D3
10 ETH0.0034522128.13292449
Split Ether143003452022-03-01 9:38:401054 days ago1646127520IN
0x42b82b4E...1af81d2D3
4 ETH0.0017031427.29968422
Split Ether142942812022-02-28 11:09:491055 days ago1646046589IN
0x42b82b4E...1af81d2D3
20 ETH0.0063537328.47929474
Split Ether142679672022-02-24 9:15:571059 days ago1645694157IN
0x42b82b4E...1af81d2D3
10 ETH0.005619445.79382812
Split Ether142679232022-02-24 9:06:361059 days ago1645693596IN
0x42b82b4E...1af81d2D3
10 ETH0.0118403253.07180961
Split Ether142036462022-02-14 10:02:431069 days ago1644832963IN
0x42b82b4E...1af81d2D3
20 ETH0.0083822337.57162928
Split Ether141773422022-02-10 8:46:161073 days ago1644482776IN
0x42b82b4E...1af81d2D3
20 ETH0.0059059448.12886272
Split Ether141193042022-02-01 9:20:461082 days ago1643707246IN
0x42b82b4E...1af81d2D3
10 ETH0.01278679104.20249225
Split Ether141192442022-02-01 9:06:451082 days ago1643706405IN
0x42b82b4E...1af81d2D3
20 ETH0.02680773120.16018839
Split Ether140695162022-01-24 16:51:001090 days ago1643043060IN
0x42b82b4E...1af81d2D3
20 ETH0.0372418166.92874815
Split Ether140695072022-01-24 16:49:201090 days ago1643042960IN
0x42b82b4E...1af81d2D3
20 ETH0.02252718183.57918617
Split Ether140553772022-01-22 12:17:401092 days ago1642853860IN
0x42b82b4E...1af81d2D3
20 ETH0.03148679141.13310167
Split Ether140517732022-01-21 23:11:231093 days ago1642806683IN
0x42b82b4E...1af81d2D3
15 ETH0.06785303552.94991433
Split Ether140492002022-01-21 13:33:071093 days ago1642771987IN
0x42b82b4E...1af81d2D3
20 ETH0.0287999129.0896586
Split Ether140367402022-01-19 15:23:061095 days ago1642605786IN
0x42b82b4E...1af81d2D3
10 ETH0.01578616128.64508414
Split Ether140224382022-01-17 10:17:191097 days ago1642414639IN
0x42b82b4E...1af81d2D3
30 ETH0.03505539108.31835816
Split Ether139781722022-01-10 14:01:291104 days ago1641823289IN
0x42b82b4E...1af81d2D3
10 ETH0.03132395255.26604237
Split Ether139781682022-01-10 14:00:191104 days ago1641823219IN
0x42b82b4E...1af81d2D3
30 ETH0.07205085222.63134895
Split Ether139602092022-01-07 19:35:471107 days ago1641584147IN
0x42b82b4E...1af81d2D3
10 ETH0.03291951268.26867578
Split Ether139485052022-01-05 23:43:241109 days ago1641426204IN
0x42b82b4E...1af81d2D3
30 ETH0.04947629152.87777311
Split Ether139141472021-12-31 16:21:431114 days ago1640967703IN
0x42b82b4E...1af81d2D3
30 ETH0.03624022111.9794013
Split Ether138872192021-12-27 12:10:281118 days ago1640607028IN
0x42b82b4E...1af81d2D3
10 ETH0.0061684450.2680904
Split Ether138544182021-12-22 10:20:491123 days ago1640168449IN
0x42b82b4E...1af81d2D3
20 ETH0.0097509643.70671524
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
169671962023-04-03 8:02:47656 days ago1680508967
0x42b82b4E...1af81d2D3
0.03181818 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
147179852022-05-05 15:22:14989 days ago1651764134
0x42b82b4E...1af81d2D3
2 ETH
146782462022-04-29 8:54:47995 days ago1651222487
0x42b82b4E...1af81d2D3
1 ETH
146782462022-04-29 8:54:47995 days ago1651222487
0x42b82b4E...1af81d2D3
1 ETH
146782462022-04-29 8:54:47995 days ago1651222487
0x42b82b4E...1af81d2D3
1 ETH
146782462022-04-29 8:54:47995 days ago1651222487
0x42b82b4E...1af81d2D3
1 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Splitter

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-11-26
*/

pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;

//SPDX-License-Identifier: UNLICENSED

contract Splitter {
    address owner = msg.sender;
    
    modifier isOwner() {
        require(msg.sender == owner, "Forbidden.");
        _;
    }
    
    function getEther(uint amount) isOwner external {
       msg.sender.transfer(amount);
    }
    
    function splitEther(address payable[] memory EOAs) external payable {
        uint Count = EOAs.length;
        uint Split = SafeMath.div(msg.value, Count);
        uint Check = SafeMath.mul(Split, Count);
        uint Miettes;
        if (Check < msg.value) {
            Miettes = SafeMath.sub(msg.value, Check);
        }
        for (uint i=0; i<Count; i++) {
            address payable CurrentAddress = EOAs[i];
            if (Miettes > 0 && i == 0) {
                CurrentAddress.transfer(SafeMath.add(Split, Miettes));
            } else {
                CurrentAddress.transfer(Split);
            }
        }
    }
}

library SafeMath {
    function add(uint a, uint b) internal pure returns (uint c) {
        c = a + b;
        require(c >= a); // dev: overflow
    }
    function sub(uint a, uint b) internal pure returns (uint c) {
        require(b <= a); // dev: underflow
        c = a - b;
    }
    function mul(uint a, uint b) internal pure returns (uint c) {
        c = a * b;
        require(a == 0 || c / a == b); // dev: overflow
    }
    function div(uint a, uint b) internal pure returns (uint c) {
        require(b > 0); // dev: divide by zero
        c = a / b;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable[]","name":"EOAs","type":"address[]"}],"name":"splitEther","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052600080546001600160a01b0319163317905534801561002257600080fd5b50610385806100326000396000f3fe6080604052600436106100295760003560e01c806325287cc61461002e578063f04961ba14610043575b600080fd5b61004161003c366004610247565b610063565b005b34801561004f57600080fd5b5061004161005e3660046102ef565b61015c565b8051600061007134836101c0565b9050600061007f82846101df565b9050600034821015610098576100953483610206565b90505b60005b848110156101545760008682815181106100b157fe5b602002602001015190506000831180156100c9575081155b1561011357806001600160a01b03166108fc6100e5878661021b565b6040518115909202916000818181858888f1935050505015801561010d573d6000803e3d6000fd5b5061014b565b6040516001600160a01b0382169086156108fc029087906000818181858888f19350505050158015610149573d6000803e3d6000fd5b505b5060010161009b565b505050505050565b6000546001600160a01b0316331461018f5760405162461bcd60e51b815260040161018690610307565b60405180910390fd5b604051339082156108fc029083906000818181858888f193505050501580156101bc573d6000803e3d6000fd5b5050565b60008082116101ce57600080fd5b8183816101d757fe5b049392505050565b8181028215806101f75750818382816101f457fe5b04145b61020057600080fd5b92915050565b60008282111561021557600080fd5b50900390565b8181018281101561020057600080fd5b80356001600160a01b038116811461024257600080fd5b919050565b60006020808385031215610259578182fd5b823567ffffffffffffffff80821115610270578384fd5b818501915085601f830112610283578384fd5b81358181111561028f57fe5b838102915061029f84830161032b565b8181528481019084860184860187018a10156102b9578788fd5b8795505b838610156102e2576102ce8161022b565b8352600195909501949186019186016102bd565b5098975050505050505050565b600060208284031215610300578081fd5b5035919050565b6020808252600a90820152692337b93134b23232b71760b11b604082015260600190565b60405181810167ffffffffffffffff8111828210171561034757fe5b60405291905056fea2646970667358221220e9e94e1b42ddeb27ca6f52e26438a29818720ac0478f264cbabc56b926bbaf4064736f6c63430007040033

Deployed Bytecode

0x6080604052600436106100295760003560e01c806325287cc61461002e578063f04961ba14610043575b600080fd5b61004161003c366004610247565b610063565b005b34801561004f57600080fd5b5061004161005e3660046102ef565b61015c565b8051600061007134836101c0565b9050600061007f82846101df565b9050600034821015610098576100953483610206565b90505b60005b848110156101545760008682815181106100b157fe5b602002602001015190506000831180156100c9575081155b1561011357806001600160a01b03166108fc6100e5878661021b565b6040518115909202916000818181858888f1935050505015801561010d573d6000803e3d6000fd5b5061014b565b6040516001600160a01b0382169086156108fc029087906000818181858888f19350505050158015610149573d6000803e3d6000fd5b505b5060010161009b565b505050505050565b6000546001600160a01b0316331461018f5760405162461bcd60e51b815260040161018690610307565b60405180910390fd5b604051339082156108fc029083906000818181858888f193505050501580156101bc573d6000803e3d6000fd5b5050565b60008082116101ce57600080fd5b8183816101d757fe5b049392505050565b8181028215806101f75750818382816101f457fe5b04145b61020057600080fd5b92915050565b60008282111561021557600080fd5b50900390565b8181018281101561020057600080fd5b80356001600160a01b038116811461024257600080fd5b919050565b60006020808385031215610259578182fd5b823567ffffffffffffffff80821115610270578384fd5b818501915085601f830112610283578384fd5b81358181111561028f57fe5b838102915061029f84830161032b565b8181528481019084860184860187018a10156102b9578788fd5b8795505b838610156102e2576102ce8161022b565b8352600195909501949186019186016102bd565b5098975050505050505050565b600060208284031215610300578081fd5b5035919050565b6020808252600a90820152692337b93134b23232b71760b11b604082015260600190565b60405181810167ffffffffffffffff8111828210171561034757fe5b60405291905056fea2646970667358221220e9e94e1b42ddeb27ca6f52e26438a29818720ac0478f264cbabc56b926bbaf4064736f6c63430007040033

Deployed Bytecode Sourcemap

103:920:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;376:644;;;;;;:::i;:::-;;:::i;:::-;;271:93;;;;;;;;;;-1:-1:-1;271:93:0;;;;;:::i;:::-;;:::i;376:644::-;468:11;;455:10;503:30;516:9;468:11;503:12;:30::i;:::-;490:43;;544:10;557:26;570:5;577;557:12;:26::i;:::-;544:39;;594:12;629:9;621:5;:17;617:90;;;665:30;678:9;689:5;665:12;:30::i;:::-;655:40;;617:90;722:6;717:296;734:5;732:1;:7;717:296;;;761:30;794:4;799:1;794:7;;;;;;;;;;;;;;761:40;;830:1;820:7;:11;:21;;;;-1:-1:-1;835:6:0;;820:21;816:186;;;862:14;-1:-1:-1;;;;;862:23:0;:53;886:28;899:5;906:7;886:12;:28::i;:::-;862:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;816:186;;;956:30;;-1:-1:-1;;;;;956:23:0;;;:30;;;;;980:5;;956:30;;;;980:5;956:23;:30;;;;;;;;;;;;;;;;;;;;;816:186;-1:-1:-1;741:3:0;;717:296;;;;376:644;;;;;:::o;271:93::-;219:5;;-1:-1:-1;;;;;219:5:0;205:10;:19;197:42;;;;-1:-1:-1;;;197:42:0;;;;;;;:::i;:::-;;;;;;;;;329:27:::1;::::0;:10:::1;::::0;:27;::::1;;;::::0;349:6;;329:27:::1;::::0;;;349:6;329:10;:27;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;271:93:::0;:::o;1477:136::-;1529:6;1560:1;1556;:5;1548:14;;;;;;1604:1;1600;:5;;;;;;;1477:136;-1:-1:-1;;;1477:136:0:o;1326:145::-;1401:5;;;1425:6;;;:20;;;1444:1;1439;1435;:5;;;;;;:10;1425:20;1417:29;;;;;;1326:145;;;;:::o;1188:132::-;1240:6;1272:1;1267;:6;;1259:15;;;;;;-1:-1:-1;1307:5:0;;;1188:132::o;1051:131::-;1126:5;;;1150:6;;;;1142:15;;;;;14:183:1;92:20;;-1:-1:-1;;;;;141:31:1;;131:42;;121:2;;187:1;184;177:12;121:2;73:124;;;:::o;202:1037::-;;325:2;368;356:9;347:7;343:23;339:32;336:2;;;389:6;381;374:22;336:2;434:9;421:23;463:18;504:2;496:6;493:14;490:2;;;525:6;517;510:22;490:2;568:6;557:9;553:22;543:32;;613:7;606:4;602:2;598:13;594:27;584:2;;640:6;632;625:22;584:2;685;672:16;711:2;703:6;700:14;697:2;;;717:9;697:2;759;751:6;747:15;737:25;;782:27;805:2;801;797:11;782:27;:::i;:::-;843:19;;;878:12;;;;910:11;;;940;;;936:20;;933:33;-1:-1:-1;930:2:1;;;984:6;976;969:22;930:2;1011:6;1002:15;;1026:183;1040:6;1037:1;1034:13;1026:183;;;1101:33;1130:3;1101:33;:::i;:::-;1089:46;;1062:1;1055:9;;;;;1155:12;;;;1187;;1026:183;;;-1:-1:-1;1228:5:1;305:934;-1:-1:-1;;;;;;;;305:934:1:o;1244:190::-;;1356:2;1344:9;1335:7;1331:23;1327:32;1324:2;;;1377:6;1369;1362:22;1324:2;-1:-1:-1;1405:23:1;;1314:120;-1:-1:-1;1314:120:1:o;1439:334::-;1641:2;1623:21;;;1680:2;1660:18;;;1653:30;-1:-1:-1;;;1714:2:1;1699:18;;1692:40;1764:2;1749:18;;1613:160::o;1778:242::-;1848:2;1842:9;1878:17;;;1925:18;1910:34;;1946:22;;;1907:62;1904:2;;;1972:9;1904:2;1999;1992:22;1822:198;;-1:-1:-1;1822:198:1:o

Swarm Source

ipfs://e9e94e1b42ddeb27ca6f52e26438a29818720ac0478f264cbabc56b926bbaf40

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  ]
[ 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.