Transaction Hash:
Block:
10599618 at Aug-05-2020 11:58:54 AM +UTC
Transaction Fee:
0.0049117 ETH
$10.07
Gas Used:
49,117 Gas / 100 Gwei
Emitted Events:
| 25 |
Keomyuniti.Multisended( value=150000000000000000, sender=[Sender] 0x9d06647e3c9258c24d5feabad83ca65d820008dc )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
| 0x25F75619...963590feB | 0 Eth | 0.135 Eth | 0.135 | ||
|
0x5A0b54D5...D3E029c4c
Miner
| (Spark Pool) | 70.698784885865065915 Eth | 70.703696585865065915 Eth | 0.0049117 | |
| 0x9d06647E...D820008dc |
0.18635260833989261 Eth
Nonce: 4
|
0.03144090833989261 Eth
Nonce: 5
| 0.1549117 | ||
| 0xba59b8Fd...5F8B0dE18 | 5.44811405 Eth | 5.46311405 Eth | 0.015 |
Execution Trace
ETH 0.15
Keomyuniti.multisendEther( _contributors=[0x25F756192149df68E266ba3Ba93C939963590feB, 0x25F756192149df68E266ba3Ba93C939963590feB, 0xba59b8FdD918A27c1739B7bff6eB0ad5F8B0dE18], _balances=[67500000000000000, 67500000000000000, 15000000000000000] )
- ETH 0.0675
0x25f756192149df68e266ba3ba93c939963590feb.CALL( ) - ETH 0.0675
0x25f756192149df68e266ba3ba93c939963590feb.CALL( ) - ETH 0.015
0xba59b8fdd918a27c1739b7bff6eb0ad5f8b0de18.CALL( )
multisendEther[Keomyuniti (ln:54)]
sub[Keomyuniti (ln:59)]transfer[Keomyuniti (ln:60)]Multisended[Keomyuniti (ln:62)]
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Solidity automatically throws when dividing by 0
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
return a - b;
}
/**
* @dev Adds two numbers, throws on overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}
contract Keomyuniti {
event Multisended(uint256 value , address sender);
using SafeMath for uint256;
function multisendEther(address[] _contributors, uint256[] _balances) public payable {
uint256 total = msg.value;
uint256 i = 0;
for (i; i < _contributors.length; i++) {
require(total >= _balances[i] );
total = total.sub(_balances[i]);
_contributors[i].transfer(_balances[i]);
}
emit Multisended(msg.value, msg.sender);
}
}