Transaction Hash:
Block:
18283028 at Oct-05-2023 08:10:23 AM +UTC
Transaction Fee:
0.0011214710225532 ETH
$2.69
Gas Used:
162,690 Gas / 6.89330028 Gwei
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x30aBad69...11A82290e |
0 Eth
Nonce: 0
|
0.002 Eth
Nonce: 0
| 0.002 | ||
0x393dc27a...901BaB63d |
0 Eth
Nonce: 0
|
0.002 Eth
Nonce: 0
| 0.002 | ||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 14.513887323617442516 Eth | 14.513903592617442516 Eth | 0.000016269 | |
0xa09592b4...2F7c6124e |
0 Eth
Nonce: 0
|
0.002 Eth
Nonce: 0
| 0.002 | ||
0xf2Fb5f7F...8A8e5fDa0 |
0 Eth
Nonce: 0
|
0.002 Eth
Nonce: 0
| 0.002 | ||
0xFdaD8Ffd...fE8E877aa |
0.00968207827294 Eth
Nonce: 2
|
0.0005606072503868 Eth
Nonce: 3
| 0.0091214710225532 |
Execution Trace
ETH 0.008
Disperse.disperseEther( recipients=[0x30aBad69Fe5261D73DfE77E5989446e11A82290e, 0xf2Fb5f7F61FFD87434EB5d06C2BEf728A8e5fDa0, 0xa09592b49CF6a4d35668bB30840c8Fd2F7c6124e, 0x393dc27a75560Cc46a72D0603d455C4901BaB63d], values=[2000000000000000, 2000000000000000, 2000000000000000, 2000000000000000] )
- ETH 0.002
0x30abad69fe5261d73dfe77e5989446e11a82290e.CALL( )
- ETH 0.002
0xf2fb5f7f61ffd87434eb5d06c2bef728a8e5fda0.CALL( )
- ETH 0.002
0xa09592b49cf6a4d35668bb30840c8fd2f7c6124e.CALL( )
- ETH 0.002
0x393dc27a75560cc46a72d0603d455c4901bab63d.CALL( )
disperseEther[Disperse (ln:11)]
transfer[Disperse (ln:13)]
transfer[Disperse (ln:16)]
pragma solidity ^0.4.25; interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); } contract Disperse { function disperseEther(address[] recipients, uint256[] values) external payable { for (uint256 i = 0; i < recipients.length; i++) recipients[i].transfer(values[i]); uint256 balance = address(this).balance; if (balance > 0) msg.sender.transfer(balance); } function disperseToken(IERC20 token, address[] recipients, uint256[] values) external { uint256 total = 0; for (uint256 i = 0; i < recipients.length; i++) total += values[i]; require(token.transferFrom(msg.sender, address(this), total)); for (i = 0; i < recipients.length; i++) require(token.transfer(recipients[i], values[i])); } function disperseTokenSimple(IERC20 token, address[] recipients, uint256[] values) external { for (uint256 i = 0; i < recipients.length; i++) require(token.transferFrom(msg.sender, recipients[i], values[i])); } }