Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 423 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Distribute | 16676332 | 706 days ago | IN | 8.75409956 ETH | 0.00484457 | ||||
Distribute | 16649263 | 709 days ago | IN | 1.8244211 ETH | 0.00228558 | ||||
Distribute | 16642162 | 710 days ago | IN | 12.15575624 ETH | 0.0053911 | ||||
Distribute | 16634722 | 711 days ago | IN | 14.67821686 ETH | 0.00394201 | ||||
Distribute | 16627496 | 712 days ago | IN | 71.15902466 ETH | 0.00877764 | ||||
Distribute | 16620942 | 713 days ago | IN | 90.2479388 ETH | 0.00791649 | ||||
Distribute | 16599208 | 716 days ago | IN | 15.56843979 ETH | 0.00345529 | ||||
Distribute | 16592662 | 717 days ago | IN | 30.68580206 ETH | 0.0067897 | ||||
Distribute | 16584846 | 718 days ago | IN | 9.76184255 ETH | 0.00650558 | ||||
Distribute | 16577829 | 719 days ago | IN | 20.02742767 ETH | 0.00870605 | ||||
Distribute | 16570597 | 720 days ago | IN | 166.46519149 ETH | 0.0069197 | ||||
Distribute | 16549333 | 723 days ago | IN | 36.66355006 ETH | 0.0076111 | ||||
Distribute | 16543757 | 724 days ago | IN | 61.19398484 ETH | 0.00334987 | ||||
Distribute | 16534880 | 725 days ago | IN | 9.70133053 ETH | 0.001822 | ||||
Distribute | 16528286 | 726 days ago | IN | 3 ETH | 0.00124322 | ||||
Distribute | 16521280 | 727 days ago | IN | 7.67962906 ETH | 0.00319343 | ||||
Distribute | 16499616 | 730 days ago | IN | 23.72 ETH | 0.00275419 | ||||
Distribute | 16492216 | 731 days ago | IN | 24.28432715 ETH | 0.00345389 | ||||
Distribute | 16485107 | 732 days ago | IN | 24.45 ETH | 0.00463762 | ||||
Distribute | 16478010 | 733 days ago | IN | 56.70314018 ETH | 0.00307897 | ||||
Distribute | 16470178 | 734 days ago | IN | 21.20675958 ETH | 0.00427426 | ||||
Distribute | 16448433 | 737 days ago | IN | 24.64513906 ETH | 0.00192512 | ||||
Distribute | 16442495 | 738 days ago | IN | 43.62080181 ETH | 0.00365682 | ||||
Distribute | 16435273 | 739 days ago | IN | 18.42940599 ETH | 0.00247365 | ||||
Distribute | 16427722 | 740 days ago | IN | 33.14887544 ETH | 0.00407623 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
16676332 | 706 days ago | 3.851 ETH | ||||
16676332 | 706 days ago | 2.28209956 ETH | ||||
16676332 | 706 days ago | 1.16 ETH | ||||
16676332 | 706 days ago | 1 ETH | ||||
16676332 | 706 days ago | 0.3 ETH | ||||
16676332 | 706 days ago | 0.13 ETH | ||||
16676332 | 706 days ago | 0.026 ETH | ||||
16676332 | 706 days ago | 0.005 ETH | ||||
16649263 | 709 days ago | 1.63 ETH | ||||
16649263 | 709 days ago | 0.1304211 ETH | ||||
16649263 | 709 days ago | 0.064 ETH | ||||
16642162 | 710 days ago | 11 ETH | ||||
16642162 | 710 days ago | 0.60575624 ETH | ||||
16642162 | 710 days ago | 0.3 ETH | ||||
16642162 | 710 days ago | 0.25 ETH | ||||
16634722 | 711 days ago | 10 ETH | ||||
16634722 | 711 days ago | 1.89 ETH | ||||
16634722 | 711 days ago | 1.2148036 ETH | ||||
16634722 | 711 days ago | 1.055 ETH | ||||
16634722 | 711 days ago | 0.45 ETH | ||||
16634722 | 711 days ago | 0.06841326 ETH | ||||
16627496 | 712 days ago | 25 ETH | ||||
16627496 | 712 days ago | 12 ETH | ||||
16627496 | 712 days ago | 11 ETH | ||||
16627496 | 712 days ago | 6.57 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
DistributorOwned
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.