Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 20 from a total of 20 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Distribute Ether | 18993613 | 188 days ago | IN | 0.25 ETH | 0.00229593 | ||||
Distribute Ether | 18974283 | 191 days ago | IN | 0.14 ETH | 0.0022766 | ||||
Distribute Ether | 18958093 | 193 days ago | IN | 2.21 ETH | 0.00400437 | ||||
Distribute Ether | 18952470 | 194 days ago | IN | 0.04 ETH | 0.0013478 | ||||
Distribute Ether | 18952289 | 194 days ago | IN | 0.55 ETH | 0.0008624 | ||||
Distribute Ether | 18950023 | 194 days ago | IN | 1.8 ETH | 0.00243344 | ||||
Distribute Ether | 18917678 | 199 days ago | IN | 0.37 ETH | 0.00139171 | ||||
Distribute Ether | 18844396 | 209 days ago | IN | 0.045 ETH | 0.00126261 | ||||
Distribute Ether | 18700116 | 229 days ago | IN | 0.02 ETH | 0.00227352 | ||||
Distribute Ether | 18492170 | 258 days ago | IN | 0.09 ETH | 0.00467653 | ||||
Distribute Ether | 18492137 | 258 days ago | IN | 0.03 ETH | 0.00188015 | ||||
Distribute Ether | 18492076 | 258 days ago | IN | 0.06 ETH | 0.00334133 | ||||
Distribute Ether | 18450869 | 264 days ago | IN | 0.44 ETH | 0.00636836 | ||||
Distribute Ether | 18431838 | 267 days ago | IN | 0.12 ETH | 0.00556476 | ||||
Distribute Ether | 18431733 | 267 days ago | IN | 0.12 ETH | 0.00568558 | ||||
Distribute Ether | 18286301 | 287 days ago | IN | 0.096 ETH | 0.00206838 | ||||
Distribute Ether | 17843793 | 349 days ago | IN | 0.07 ETH | 0.00224488 | ||||
Distribute Ether | 17666401 | 374 days ago | IN | 0.06 ETH | 0.00086331 | ||||
Distribute Ether | 16979366 | 471 days ago | IN | 0.03 ETH | 0.00223769 | ||||
Distribute Ether | 16977487 | 471 days ago | IN | 0.08 ETH | 0.00574508 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18993613 | 188 days ago | 0.05 ETH | ||||
18993613 | 188 days ago | 0.05 ETH | ||||
18993613 | 188 days ago | 0.05 ETH | ||||
18993613 | 188 days ago | 0.05 ETH | ||||
18993613 | 188 days ago | 0.05 ETH | ||||
18974283 | 191 days ago | 0.02 ETH | ||||
18974283 | 191 days ago | 0.02 ETH | ||||
18974283 | 191 days ago | 0.02 ETH | ||||
18974283 | 191 days ago | 0.02 ETH | ||||
18974283 | 191 days ago | 0.02 ETH | ||||
18974283 | 191 days ago | 0.02 ETH | ||||
18974283 | 191 days ago | 0.02 ETH | ||||
18958093 | 193 days ago | 0.11 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18958093 | 193 days ago | 0.21 ETH | ||||
18952470 | 194 days ago | 0.01 ETH | ||||
18952470 | 194 days ago | 0.01 ETH |
Loading...
Loading
Contract Name:
SidekickDistributor
Compiler Version
v0.4.26+commit.4563c3fc
Optimization Enabled:
Yes with 300 runs
Other Settings:
constantinople EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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]); } } }
{ "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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
608060405234801561001057600080fd5b5061036b806100206000396000f30060806040526004361061002f5760003560e01c63ffffffff16806368edb2a2146100345780639e7934db1461007c575b600080fd5b34801561004057600080fd5b5061007a6004803573ffffffffffffffffffffffffffffffffffffffff16906024803580820192908101359160443590810191013561009b565b005b61007a6024600480358281019290820135918135918201910135610281565b6000805b848110156100c9578383828181106100b357fe5b905060200201358201915080600101905061009f565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101849052905173ffffffffffffffffffffffffffffffffffffffff8916916323b872dd9160648083019260209291908290030181600087803b15801561014457600080fd5b505af1158015610158573d6000803e3d6000fd5b505050506040513d602081101561016e57600080fd5b505115610278575060005b848110156102785773ffffffffffffffffffffffffffffffffffffffff871663a9059cbb8787848181106101a957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868581811015156101d457fe5b905060200201356040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561024457600080fd5b505af1158015610258573d6000803e3d6000fd5b505050506040513d602081101561026e57600080fd5b5050600101610179565b50505050505050565b60005b838110156103175784848281811061029857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc84848481811015156102dc57fe5b905060200201359081150290604051600060405180830381858888f1935050505015801561030e573d6000803e3d6000fd5b50600101610284565b303160008111156103375760008060008084335af1151561033757600080fd5b5050505050505600a165627a7a72305820028c4d29167f21342808ab27f9f14a3ff968cbd71c06c6042c42d2aa708e2e750029
Deployed Bytecode
0x60806040526004361061002f5760003560e01c63ffffffff16806368edb2a2146100345780639e7934db1461007c575b600080fd5b34801561004057600080fd5b5061007a6004803573ffffffffffffffffffffffffffffffffffffffff16906024803580820192908101359160443590810191013561009b565b005b61007a6024600480358281019290820135918135918201910135610281565b6000805b848110156100c9578383828181106100b357fe5b905060200201358201915080600101905061009f565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101849052905173ffffffffffffffffffffffffffffffffffffffff8916916323b872dd9160648083019260209291908290030181600087803b15801561014457600080fd5b505af1158015610158573d6000803e3d6000fd5b505050506040513d602081101561016e57600080fd5b505115610278575060005b848110156102785773ffffffffffffffffffffffffffffffffffffffff871663a9059cbb8787848181106101a957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868581811015156101d457fe5b905060200201356040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561024457600080fd5b505af1158015610258573d6000803e3d6000fd5b505050506040513d602081101561026e57600080fd5b5050600101610179565b50505050505050565b60005b838110156103175784848281811061029857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc84848481811015156102dc57fe5b905060200201359081150290604051600060405180830381858888f1935050505015801561030e573d6000803e3d6000fd5b50600101610284565b303160008111156103375760008060008084335af1151561033757600080fd5b5050505050505600a165627a7a72305820028c4d29167f21342808ab27f9f14a3ff968cbd71c06c6042c42d2aa708e2e750029
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.