ETH Price: $3,064.22 (-7.48%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Distribute166763322023-02-21 10:38:59706 days ago1676975939IN
0x27aBc67E...78f8BC1Cb
8.75409956 ETH0.0048445739.92822475
Distribute166492632023-02-17 15:18:11709 days ago1676647091IN
0x27aBc67E...78f8BC1Cb
1.8244211 ETH0.0022855837.60861971
Distribute166421622023-02-16 15:23:35710 days ago1676561015IN
0x27aBc67E...78f8BC1Cb
12.15575624 ETH0.005391173.96013634
Distribute166347222023-02-15 14:25:11711 days ago1676471111IN
0x27aBc67E...78f8BC1Cb
14.67821686 ETH0.0039420140.58997969
Distribute166274962023-02-14 14:10:47712 days ago1676383847IN
0x27aBc67E...78f8BC1Cb
71.15902466 ETH0.0087776449.62178648
Distribute166209422023-02-13 16:10:47713 days ago1676304647IN
0x27aBc67E...78f8BC1Cb
90.2479388 ETH0.0079164940.79952327
Distribute165992082023-02-10 15:19:11716 days ago1676042351IN
0x27aBc67E...78f8BC1Cb
15.56843979 ETH0.0034552935.57387646
Distribute165926622023-02-09 17:23:35717 days ago1675963415IN
0x27aBc67E...78f8BC1Cb
30.68580206 ETH0.006789740.57918443
Distribute165848462023-02-08 15:06:47718 days ago1675868807IN
0x27aBc67E...78f8BC1Cb
9.76184255 ETH0.0065055876.51559856
Distribute165778292023-02-07 15:35:11719 days ago1675784111IN
0x27aBc67E...78f8BC1Cb
20.02742767 ETH0.0087060565.23782455
Distribute165705972023-02-06 15:19:35720 days ago1675696775IN
0x27aBc67E...78f8BC1Cb
166.46519149 ETH0.006919738.04566068
Distribute165493332023-02-03 16:04:47723 days ago1675440287IN
0x27aBc67E...78f8BC1Cb
36.66355006 ETH0.007611169.67516107
Distribute165437572023-02-02 21:20:59724 days ago1675372859IN
0x27aBc67E...78f8BC1Cb
61.19398484 ETH0.0033498725.581139
Distribute165348802023-02-01 15:32:35725 days ago1675265555IN
0x27aBc67E...78f8BC1Cb
9.70133053 ETH0.00182224.99591615
Distribute165282862023-01-31 17:25:23726 days ago1675185923IN
0x27aBc67E...78f8BC1Cb
3 ETH0.0012432225.54600884
Distribute165212802023-01-30 17:57:47727 days ago1675101467IN
0x27aBc67E...78f8BC1Cb
7.67962906 ETH0.0031934323.92321966
Distribute164996162023-01-27 17:23:11730 days ago1674840191IN
0x27aBc67E...78f8BC1Cb
23.72 ETH0.0027541929.89852065
Distribute164922162023-01-26 16:34:47731 days ago1674750887IN
0x27aBc67E...78f8BC1Cb
24.28432715 ETH0.0034538940.6230127
Distribute164851072023-01-25 16:44:23732 days ago1674665063IN
0x27aBc67E...78f8BC1Cb
24.45 ETH0.0046376254.56863424
Distribute164780102023-01-24 16:57:47733 days ago1674579467IN
0x27aBc67E...78f8BC1Cb
56.70314018 ETH0.0030789737.3213471
Distribute164701782023-01-23 14:43:35734 days ago1674485015IN
0x27aBc67E...78f8BC1Cb
21.20675958 ETH0.0042742625.17116458
Distribute164484332023-01-20 13:51:47737 days ago1674222707IN
0x27aBc67E...78f8BC1Cb
24.64513906 ETH0.0019251222.64876937
Distribute164424952023-01-19 17:58:47738 days ago1674151127IN
0x27aBc67E...78f8BC1Cb
43.62080181 ETH0.0036568233.47605235
Distribute164352732023-01-18 17:46:23739 days ago1674063983IN
0x27aBc67E...78f8BC1Cb
18.42940599 ETH0.0024736533.93587304
Distribute164277222023-01-17 16:29:35740 days ago1673972975IN
0x27aBc67E...78f8BC1Cb
33.14887544 ETH0.0040762330.54481287
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
166763322023-02-21 10:38:59706 days ago1676975939
0x27aBc67E...78f8BC1Cb
3.851 ETH
166763322023-02-21 10:38:59706 days ago1676975939
0x27aBc67E...78f8BC1Cb
2.28209956 ETH
166763322023-02-21 10:38:59706 days ago1676975939
0x27aBc67E...78f8BC1Cb
1.16 ETH
166763322023-02-21 10:38:59706 days ago1676975939
0x27aBc67E...78f8BC1Cb
1 ETH
166763322023-02-21 10:38:59706 days ago1676975939
0x27aBc67E...78f8BC1Cb
0.3 ETH
166763322023-02-21 10:38:59706 days ago1676975939
0x27aBc67E...78f8BC1Cb
0.13 ETH
166763322023-02-21 10:38:59706 days ago1676975939
0x27aBc67E...78f8BC1Cb
0.026 ETH
166763322023-02-21 10:38:59706 days ago1676975939
0x27aBc67E...78f8BC1Cb
0.005 ETH
166492632023-02-17 15:18:11709 days ago1676647091
0x27aBc67E...78f8BC1Cb
1.63 ETH
166492632023-02-17 15:18:11709 days ago1676647091
0x27aBc67E...78f8BC1Cb
0.1304211 ETH
166492632023-02-17 15:18:11709 days ago1676647091
0x27aBc67E...78f8BC1Cb
0.064 ETH
166421622023-02-16 15:23:35710 days ago1676561015
0x27aBc67E...78f8BC1Cb
11 ETH
166421622023-02-16 15:23:35710 days ago1676561015
0x27aBc67E...78f8BC1Cb
0.60575624 ETH
166421622023-02-16 15:23:35710 days ago1676561015
0x27aBc67E...78f8BC1Cb
0.3 ETH
166421622023-02-16 15:23:35710 days ago1676561015
0x27aBc67E...78f8BC1Cb
0.25 ETH
166347222023-02-15 14:25:11711 days ago1676471111
0x27aBc67E...78f8BC1Cb
10 ETH
166347222023-02-15 14:25:11711 days ago1676471111
0x27aBc67E...78f8BC1Cb
1.89 ETH
166347222023-02-15 14:25:11711 days ago1676471111
0x27aBc67E...78f8BC1Cb
1.2148036 ETH
166347222023-02-15 14:25:11711 days ago1676471111
0x27aBc67E...78f8BC1Cb
1.055 ETH
166347222023-02-15 14:25:11711 days ago1676471111
0x27aBc67E...78f8BC1Cb
0.45 ETH
166347222023-02-15 14:25:11711 days ago1676471111
0x27aBc67E...78f8BC1Cb
0.06841326 ETH
166274962023-02-14 14:10:47712 days ago1676383847
0x27aBc67E...78f8BC1Cb
25 ETH
166274962023-02-14 14:10:47712 days ago1676383847
0x27aBc67E...78f8BC1Cb
12 ETH
166274962023-02-14 14:10:47712 days ago1676383847
0x27aBc67E...78f8BC1Cb
11 ETH
166274962023-02-14 14:10:47712 days ago1676383847
0x27aBc67E...78f8BC1Cb
6.57 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DistributorOwned

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2021-08-17
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

abstract contract DistributorBase {
    event Distribute(address indexed from, address indexed to, uint256 amount);

    function _distribute(
        address payable[] calldata addresses,
        uint256[] calldata amounts
    ) internal {
        require(
            addresses.length == amounts.length,
            "Address array and amount array must have the same length"
        );
        uint256 n = addresses.length;
        for (uint256 i = 0; i < n; i++) {
            addresses[i].transfer(amounts[i]);
            emit Distribute(msg.sender, addresses[i], amounts[i]);
        }
        require(
            address(this).balance == 0,
            "Ether input must equal the sum of outputs"
        );
    }
}

contract DistributorOwned is DistributorBase {
    address owner = msg.sender;
    mapping(address => bool) public whitelisted;
    bool public initialized = false;

    modifier onlyWhitelisted() {
        require(whitelisted[msg.sender], "Only whitelisted addresses");
        _;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Only owner");
        _;
    }

    function initialize(address[] calldata addresses) public onlyOwner {
        require(!initialized, "Already initialized");
        uint256 n = addresses.length;
        for (uint256 i = 0; i < n; i++) {
            whitelisted[addresses[i]] = true;
        }
        initialized = true;
    }

    function distribute(
        address payable[] calldata addresses,
        uint256[] calldata amounts
    ) public payable onlyWhitelisted {
        // A check on initialized is not necessary since `onlyWhitelisted`
        // is guaranteed to fail if the contract is not initialized
        _distribute(addresses, amounts);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Distribute","type":"event"},{"inputs":[{"internalType":"address payable[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"distribute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6080604052600080546001600160a01b031916331790556002805460ff1916905534801561002c57600080fd5b506105858061003c6000396000f3fe60806040526004361061003f5760003560e01c8063158ef93e146100445780632929abe61461006d578063a224cee714610131578063d936547e146101ae575b600080fd5b34801561005057600080fd5b506100596101e1565b604080519115158252519081900360200190f35b61012f6004803603604081101561008357600080fd5b81019060208101813564010000000081111561009e57600080fd5b8201836020820111156100b057600080fd5b803590602001918460208302840111640100000000831117156100d257600080fd5b9193909290916020810190356401000000008111156100f057600080fd5b82018360208201111561010257600080fd5b8035906020019184602083028401116401000000008311171561012457600080fd5b5090925090506101ea565b005b34801561013d57600080fd5b5061012f6004803603602081101561015457600080fd5b81019060208101813564010000000081111561016f57600080fd5b82018360208201111561018157600080fd5b803590602001918460208302840111640100000000831117156101a357600080fd5b509092509050610260565b3480156101ba57600080fd5b50610059600480360360208110156101d157600080fd5b50356001600160a01b0316610363565b60025460ff1681565b3360009081526001602052604090205460ff1661024e576040805162461bcd60e51b815260206004820152601a60248201527f4f6e6c792077686974656c697374656420616464726573736573000000000000604482015290519081900360640190fd5b61025a84848484610378565b50505050565b6000546001600160a01b031633146102ac576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b60025460ff16156102fa576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b8060005b8181101561035057600180600086868581811061031757fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff19169115159190911790556001016102fe565b50506002805460ff191660011790555050565b60016020526000908152604090205460ff1681565b8281146103b65760405162461bcd60e51b81526004018080602001828103825260388152602001806105186038913960400191505060405180910390fd5b8260005b818110156104a9578585828181106103ce57fe5b905060200201356001600160a01b03166001600160a01b03166108fc8585848181106103f657fe5b905060200201359081150290604051600060405180830381858888f19350505050158015610428573d6000803e3d6000fd5b5085858281811061043557fe5b905060200201356001600160a01b03166001600160a01b0316336001600160a01b03167fafdc1eb311d58306e249917b5ca0044a827a66f0ec535c334d63372c4055d36486868581811061048557fe5b905060200201356040518082815260200191505060405180910390a36001016103ba565b5047156104e75760405162461bcd60e51b81526004018080602001828103825260298152602001806104ef6029913960400191505060405180910390fd5b505050505056fe457468657220696e707574206d75737420657175616c207468652073756d206f66206f7574707574734164647265737320617272617920616e6420616d6f756e74206172726179206d7573742068617665207468652073616d65206c656e677468a264697066735822122059159de8d2000a7b74ea1ff6f92c60190169ba3e046c2fa5d913847b095cf2f764736f6c63430007060033

Deployed Bytecode

0x60806040526004361061003f5760003560e01c8063158ef93e146100445780632929abe61461006d578063a224cee714610131578063d936547e146101ae575b600080fd5b34801561005057600080fd5b506100596101e1565b604080519115158252519081900360200190f35b61012f6004803603604081101561008357600080fd5b81019060208101813564010000000081111561009e57600080fd5b8201836020820111156100b057600080fd5b803590602001918460208302840111640100000000831117156100d257600080fd5b9193909290916020810190356401000000008111156100f057600080fd5b82018360208201111561010257600080fd5b8035906020019184602083028401116401000000008311171561012457600080fd5b5090925090506101ea565b005b34801561013d57600080fd5b5061012f6004803603602081101561015457600080fd5b81019060208101813564010000000081111561016f57600080fd5b82018360208201111561018157600080fd5b803590602001918460208302840111640100000000831117156101a357600080fd5b509092509050610260565b3480156101ba57600080fd5b50610059600480360360208110156101d157600080fd5b50356001600160a01b0316610363565b60025460ff1681565b3360009081526001602052604090205460ff1661024e576040805162461bcd60e51b815260206004820152601a60248201527f4f6e6c792077686974656c697374656420616464726573736573000000000000604482015290519081900360640190fd5b61025a84848484610378565b50505050565b6000546001600160a01b031633146102ac576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b60025460ff16156102fa576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b8060005b8181101561035057600180600086868581811061031757fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff19169115159190911790556001016102fe565b50506002805460ff191660011790555050565b60016020526000908152604090205460ff1681565b8281146103b65760405162461bcd60e51b81526004018080602001828103825260388152602001806105186038913960400191505060405180910390fd5b8260005b818110156104a9578585828181106103ce57fe5b905060200201356001600160a01b03166001600160a01b03166108fc8585848181106103f657fe5b905060200201359081150290604051600060405180830381858888f19350505050158015610428573d6000803e3d6000fd5b5085858281811061043557fe5b905060200201356001600160a01b03166001600160a01b0316336001600160a01b03167fafdc1eb311d58306e249917b5ca0044a827a66f0ec535c334d63372c4055d36486868581811061048557fe5b905060200201356040518082815260200191505060405180910390a36001016103ba565b5047156104e75760405162461bcd60e51b81526004018080602001828103825260298152602001806104ef6029913960400191505060405180910390fd5b505050505056fe457468657220696e707574206d75737420657175616c207468652073756d206f66206f7574707574734164647265737320617272617920616e6420616d6f756e74206172726179206d7573742068617665207468652073616d65206c656e677468a264697066735822122059159de8d2000a7b74ea1ff6f92c60190169ba3e046c2fa5d913847b095cf2f764736f6c63430007060033

Deployed Bytecode Sourcemap

814:1052:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;949:31;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1526:337;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1526:337:0;;-1:-1:-1;1526:337:0;-1:-1:-1;1526:337:0;:::i;:::-;;1219:299;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1219:299:0;;-1:-1:-1;1219:299:0;-1:-1:-1;1219:299:0;:::i;899:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;899:43:0;-1:-1:-1;;;;;899:43:0;;:::i;949:31::-;;;;;;:::o;1526:337::-;1047:10;1035:23;;;;:11;:23;;;;;;;;1027:62;;;;;-1:-1:-1;;;1027:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1824:31:::1;1836:9;;1847:7;;1824:11;:31::i;:::-;1526:337:::0;;;;:::o;1219:299::-;1171:5;;-1:-1:-1;;;;;1171:5:0;1157:10;:19;1149:42;;;;;-1:-1:-1;;;1149:42:0;;;;;;;;;;;;-1:-1:-1;;;1149:42:0;;;;;;;;;;;;;;;1306:11:::1;::::0;::::1;;1305:12;1297:44;;;::::0;;-1:-1:-1;;;1297:44:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;1297:44:0;;;;;;;;;;;;;::::1;;1364:9:::0;1352::::1;1391:91;1415:1;1411;:5;1391:91;;;1466:4;1438:11:::0;:25:::1;1450:9;;1460:1;1450:12;;;;;;;;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;;;;1450:12:0::1;1438:25:::0;;-1:-1:-1;1438:25:0;::::1;::::0;;;;;;-1:-1:-1;1438:25:0;:32;;-1:-1:-1;;1438:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;1418:3:0::1;1391:91;;;-1:-1:-1::0;;1492:11:0::1;:18:::0;;-1:-1:-1;;1492:18:0::1;1506:4;1492:18;::::0;;-1:-1:-1;;1219:299:0:o;899:43::-;;;;;;;;;;;;;;;:::o;190:617::-;344:34;;;322:140;;;;-1:-1:-1;;;322:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;485:9;473;512:160;536:1;532;:5;512:160;;;559:9;;569:1;559:12;;;;;;;;;;;;;-1:-1:-1;;;;;559:12:0;-1:-1:-1;;;;;559:21:0;:33;581:7;;589:1;581:10;;;;;;;;;;;;;559:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;635:9;;645:1;635:12;;;;;;;;;;;;;-1:-1:-1;;;;;635:12:0;-1:-1:-1;;;;;612:48:0;623:10;-1:-1:-1;;;;;612:48:0;;649:7;;657:1;649:10;;;;;;;;;;;;;612:48;;;;;;;;;;;;;;;;;;539:3;;512:160;;;-1:-1:-1;704:21:0;:26;682:117;;;;-1:-1:-1;;;682:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;190:617;;;;;:::o

Swarm Source

ipfs://59159de8d2000a7b74ea1ff6f92c60190169ba3e046c2fa5d913847b095cf2f7

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.