ETH Price: $3,400.40 (-1.29%)
Gas: 5 Gwei

Contract

0x0000000000f13003f579F29831C0c6888903dfF0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Distribute Ether189936132024-01-12 21:51:23188 days ago1705096283IN
0x00000000...88903dfF0
0.25 ETH0.0022959331.65678001
Distribute Ether189742832024-01-10 4:52:35191 days ago1704862355IN
0x00000000...88903dfF0
0.14 ETH0.002276624.53974217
Distribute Ether189580932024-01-07 22:12:59193 days ago1704665579IN
0x00000000...88903dfF0
2.21 ETH0.0040043730.03221538
Distribute Ether189524702024-01-07 3:09:59194 days ago1704596999IN
0x00000000...88903dfF0
0.04 ETH0.001347821.59014609
Distribute Ether189522892024-01-07 2:33:11194 days ago1704594791IN
0x00000000...88903dfF0
0.55 ETH0.000862411.87921393
Distribute Ether189500232024-01-06 18:49:35194 days ago1704566975IN
0x00000000...88903dfF0
1.8 ETH0.0024334421.51553323
Distribute Ether189176782024-01-02 5:38:35199 days ago1704173915IN
0x00000000...88903dfF0
0.37 ETH0.0013917112.318057
Distribute Ether188443962023-12-22 22:36:35209 days ago1703284595IN
0x00000000...88903dfF0
0.045 ETH0.0012626124.11781285
Distribute Ether187001162023-12-02 17:09:11229 days ago1701536951IN
0x00000000...88903dfF0
0.02 ETH0.0022735236.39797714
Distribute Ether184921702023-11-03 14:36:35258 days ago1699022195IN
0x00000000...88903dfF0
0.09 ETH0.0046765341.39185108
Distribute Ether184921372023-11-03 14:29:59258 days ago1699021799IN
0x00000000...88903dfF0
0.03 ETH0.0018801535.94669287
Distribute Ether184920762023-11-03 14:17:35258 days ago1699021055IN
0x00000000...88903dfF0
0.06 ETH0.0033413340.4280356
Distribute Ether184508692023-10-28 19:46:23264 days ago1698522383IN
0x00000000...88903dfF0
0.44 ETH0.0063683613.64169986
Distribute Ether184318382023-10-26 3:53:35267 days ago1698292415IN
0x00000000...88903dfF0
0.12 ETH0.0055647667.32026125
Distribute Ether184317332023-10-26 3:32:35267 days ago1698291155IN
0x00000000...88903dfF0
0.12 ETH0.0056855868.7820072
Distribute Ether182863012023-10-05 19:09:59287 days ago1696532999IN
0x00000000...88903dfF0
0.096 ETH0.0020683814.43240994
Distribute Ether178437932023-08-04 19:46:47349 days ago1691178407IN
0x00000000...88903dfF0
0.07 ETH0.0022448824.2009815
Distribute Ether176664012023-07-10 23:04:35374 days ago1689030275IN
0x00000000...88903dfF0
0.06 ETH0.0008633116.50184063
Distribute Ether169793662023-04-05 1:31:35471 days ago1680658295IN
0x00000000...88903dfF0
0.03 ETH0.0022376942.78245844
Distribute Ether169774872023-04-04 19:09:35471 days ago1680635375IN
0x00000000...88903dfF0
0.08 ETH0.0057450892.02887782

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
189936132024-01-12 21:51:23188 days ago1705096283
0x00000000...88903dfF0
0.05 ETH
189936132024-01-12 21:51:23188 days ago1705096283
0x00000000...88903dfF0
0.05 ETH
189936132024-01-12 21:51:23188 days ago1705096283
0x00000000...88903dfF0
0.05 ETH
189936132024-01-12 21:51:23188 days ago1705096283
0x00000000...88903dfF0
0.05 ETH
189936132024-01-12 21:51:23188 days ago1705096283
0x00000000...88903dfF0
0.05 ETH
189742832024-01-10 4:52:35191 days ago1704862355
0x00000000...88903dfF0
0.02 ETH
189742832024-01-10 4:52:35191 days ago1704862355
0x00000000...88903dfF0
0.02 ETH
189742832024-01-10 4:52:35191 days ago1704862355
0x00000000...88903dfF0
0.02 ETH
189742832024-01-10 4:52:35191 days ago1704862355
0x00000000...88903dfF0
0.02 ETH
189742832024-01-10 4:52:35191 days ago1704862355
0x00000000...88903dfF0
0.02 ETH
189742832024-01-10 4:52:35191 days ago1704862355
0x00000000...88903dfF0
0.02 ETH
189742832024-01-10 4:52:35191 days ago1704862355
0x00000000...88903dfF0
0.02 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.11 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189580932024-01-07 22:12:59193 days ago1704665579
0x00000000...88903dfF0
0.21 ETH
189524702024-01-07 3:09:59194 days ago1704596999
0x00000000...88903dfF0
0.01 ETH
189524702024-01-07 3:09:59194 days ago1704596999
0x00000000...88903dfF0
0.01 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SidekickDistributor

Compiler Version
v0.4.26+commit.4563c3fc

Optimization Enabled:
Yes with 300 runs

Other Settings:
constantinople EvmVersion
File 1 of 1 : SidekickDistributor.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.4.26;

//SidekickDistributor is a slightly more gas optimized version of Disperse.sol from Disperse.app
//
//@author: @sec0ndstate
//
// Made for getsidekick.xyz


//  ..._____._....._......_...._......_...._____.._....._........_._..........._.............
//  ../.____(_)...|.|....|.|..(_)....|.|..|..__.\(_)...|.|......(_).|.........|.|............
//  .|.(___.._..__|.|.___|.|.___..___|.|._|.|..|.|_.___|.|_._.__._|.|__.._..._|.|_.___.._.__.
//  ..\___.\|.|/._`.|/._.\.|/./.|/.__|.|/./.|..|.|./.__|.__|.'__|.|.'_.\|.|.|.|.__/._.\|.'__|
//  ..____).|.|.(_|.|..__/...<|.|.(__|...<|.|__|.|.\__.\.|_|.|..|.|.|_).|.|_|.|.||.(_).|.|...
//  .|_____/|_|\__,_|\___|_|\_\_|\___|_|\_\_____/|_|___/\__|_|..|_|_.__/.\__,_|\__\___/|_|...
//  .........................................................................................
//  .........................................................................................
//  .........................................................................................

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

contract SidekickDistributor {
    function distributeEther(address[] recipients, uint256[] values) external payable {
        for (uint256 i = 0; i < recipients.length; ++i)
            recipients[i].transfer(values[i]);
        assembly{
            let bal := balance(address())
            if gt(bal, 0) {
                if iszero(call(gas(), caller(), bal, 0, 0, 0, 0)) {
                    revert(0, 0)
                }
            }
        }
    }


    function distributeToken(IERC20 token, address[] recipients, uint256[] values) external {
        uint256 total = 0;
        for (uint256 i = 0; i < recipients.length; ++i)
            total += values[i];
            if (token.transferFrom(msg.sender, address(this), total)) {
                for (i = 0; i < recipients.length; ++i)
                    token.transfer(recipients[i], values[i]);
            }
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 300
  },
  "metadata": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "constantinople",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"recipients","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"distributeToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"recipients","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"distributeEther","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]

608060405234801561001057600080fd5b5061036b806100206000396000f30060806040526004361061002f5760003560e01c63ffffffff16806368edb2a2146100345780639e7934db1461007c575b600080fd5b34801561004057600080fd5b5061007a6004803573ffffffffffffffffffffffffffffffffffffffff16906024803580820192908101359160443590810191013561009b565b005b61007a6024600480358281019290820135918135918201910135610281565b6000805b848110156100c9578383828181106100b357fe5b905060200201358201915080600101905061009f565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101849052905173ffffffffffffffffffffffffffffffffffffffff8916916323b872dd9160648083019260209291908290030181600087803b15801561014457600080fd5b505af1158015610158573d6000803e3d6000fd5b505050506040513d602081101561016e57600080fd5b505115610278575060005b848110156102785773ffffffffffffffffffffffffffffffffffffffff871663a9059cbb8787848181106101a957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868581811015156101d457fe5b905060200201356040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561024457600080fd5b505af1158015610258573d6000803e3d6000fd5b505050506040513d602081101561026e57600080fd5b5050600101610179565b50505050505050565b60005b838110156103175784848281811061029857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc84848481811015156102dc57fe5b905060200201359081150290604051600060405180830381858888f1935050505015801561030e573d6000803e3d6000fd5b50600101610284565b303160008111156103375760008060008084335af1151561033757600080fd5b5050505050505600a165627a7a72305820028c4d29167f21342808ab27f9f14a3ff968cbd71c06c6042c42d2aa708e2e750029

Deployed Bytecode

0x60806040526004361061002f5760003560e01c63ffffffff16806368edb2a2146100345780639e7934db1461007c575b600080fd5b34801561004057600080fd5b5061007a6004803573ffffffffffffffffffffffffffffffffffffffff16906024803580820192908101359160443590810191013561009b565b005b61007a6024600480358281019290820135918135918201910135610281565b6000805b848110156100c9578383828181106100b357fe5b905060200201358201915080600101905061009f565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101849052905173ffffffffffffffffffffffffffffffffffffffff8916916323b872dd9160648083019260209291908290030181600087803b15801561014457600080fd5b505af1158015610158573d6000803e3d6000fd5b505050506040513d602081101561016e57600080fd5b505115610278575060005b848110156102785773ffffffffffffffffffffffffffffffffffffffff871663a9059cbb8787848181106101a957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868581811015156101d457fe5b905060200201356040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561024457600080fd5b505af1158015610258573d6000803e3d6000fd5b505050506040513d602081101561026e57600080fd5b5050600101610179565b50505050505050565b60005b838110156103175784848281811061029857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc84848481811015156102dc57fe5b905060200201359081150290604051600060405180830381858888f1935050505015801561030e573d6000803e3d6000fd5b50600101610284565b303160008111156103375760008060008084335af1151561033757600080fd5b5050505050505600a165627a7a72305820028c4d29167f21342808ab27f9f14a3ff968cbd71c06c6042c42d2aa708e2e750029

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.