Contract

0xfDcEea1a3b88Eb151c0a88F999f736afDB0d5dbc

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

-

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Disperse Token5925312024-12-18 17:19:339 hrs ago1734542373IN
0xfDcEea1a...fDB0d5dbc
0 S0.016603281.1
Disperse Token5924202024-12-18 17:18:559 hrs ago1734542335IN
0xfDcEea1a...fDB0d5dbc
0 S0.010999951.1
Disperse Token5923242024-12-18 17:18:239 hrs ago1734542303IN
0xfDcEea1a...fDB0d5dbc
0 S0.002199731.1
Disperse Token S...5739342024-12-18 15:25:3611 hrs ago1734535536IN
0xfDcEea1a...fDB0d5dbc
0 S0.001128131.1
Disperse Token5737812024-12-18 15:24:4711 hrs ago1734535487IN
0xfDcEea1a...fDB0d5dbc
0 S0.000537731.1
Disperse Token5732472024-12-18 15:21:4311 hrs ago1734535303IN
0xfDcEea1a...fDB0d5dbc
0 S0.000532151.1
Disperse Token5724842024-12-18 15:17:2811 hrs ago1734535048IN
0xfDcEea1a...fDB0d5dbc
0 S0.000532151.1
Disperse Token5719392024-12-18 15:14:2712 hrs ago1734534867IN
0xfDcEea1a...fDB0d5dbc
0 S0.000537731.1
Disperse Token5715232024-12-18 15:12:0912 hrs ago1734534729IN
0xfDcEea1a...fDB0d5dbc
0 S0.000537731.1
Disperse Token5709452024-12-18 15:08:3112 hrs ago1734534511IN
0xfDcEea1a...fDB0d5dbc
0 S0.000279391.1
Disperse Token5649702024-12-18 14:35:1012 hrs ago1734532510IN
0xfDcEea1a...fDB0d5dbc
0 S0.000279391.1
Disperse Token5648712024-12-18 14:34:3612 hrs ago1734532476IN
0xfDcEea1a...fDB0d5dbc
0 S0.00031311.1
Disperse Token5644152024-12-18 14:31:5712 hrs ago1734532317IN
0xfDcEea1a...fDB0d5dbc
0 S0.000250151.1
Disperse Token S...5642422024-12-18 14:30:5612 hrs ago1734532256IN
0xfDcEea1a...fDB0d5dbc
0 S0.000249971.1
Disperse Token S...5640972024-12-18 14:30:0712 hrs ago1734532207IN
0xfDcEea1a...fDB0d5dbc
0 S0.000250091.1
Disperse Ether5622282024-12-18 14:19:0512 hrs ago1734531545IN
0xfDcEea1a...fDB0d5dbc
999.78823806 S0.000540531.1

Latest 10 internal transactions

Parent Transaction Hash Block From To
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
100 S
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
100 S
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
100 S
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
100 S
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
100 S
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
100 S
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
100 S
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
100 S
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
99.89100608 S
5622282024-12-18 14:19:0512 hrs ago1734531545
0xfDcEea1a...fDB0d5dbc
99.89723198 S
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Disperse

Compiler Version
v0.4.26+commit.4563c3fc

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at SonicScan.org on 2024-12-18
*/

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]));
    }
}

Contract Security Audit

Contract ABI

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

608060405234801561001057600080fd5b506106f4806100206000396000f300608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806351ba162c1461005c578063c73a2d60146100cf578063e63d38ed14610142575b600080fd5b34801561006857600080fd5b506100cd600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001919091929391929390803590602001908201803590602001919091929391929390505050610188565b005b3480156100db57600080fd5b50610140600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001919091929391929390803590602001908201803590602001919091929391929390505050610309565b005b6101866004803603810190808035906020019082018035906020019190919293919293908035906020019082018035906020019190919293919293905050506105b0565b005b60008090505b84849050811015610301578573ffffffffffffffffffffffffffffffffffffffff166323b872dd3387878581811015156101c457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868681811015156101ef57fe5b905060200201356040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156102ae57600080fd5b505af11580156102c2573d6000803e3d6000fd5b505050506040513d60208110156102d857600080fd5b810190808051906020019092919050505015156102f457600080fd5b808060010191505061018e565b505050505050565b60008060009150600090505b8585905081101561034657838382818110151561032e57fe5b90506020020135820191508080600101915050610315565b8673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561041d57600080fd5b505af1158015610431573d6000803e3d6000fd5b505050506040513d602081101561044757600080fd5b8101908080519060200190929190505050151561046357600080fd5b600090505b858590508110156105a7578673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb878784818110151561049d57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868581811015156104c857fe5b905060200201356040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561055457600080fd5b505af1158015610568573d6000803e3d6000fd5b505050506040513d602081101561057e57600080fd5b8101908080519060200190929190505050151561059a57600080fd5b8080600101915050610468565b50505050505050565b600080600091505b858590508210156106555785858381811015156105d157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc858585818110151561061557fe5b905060200201359081150290604051600060405180830381858888f19350505050158015610647573d6000803e3d6000fd5b5081806001019250506105b8565b3073ffffffffffffffffffffffffffffffffffffffff1631905060008111156106c0573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156106be573d6000803e3d6000fd5b505b5050505050505600a165627a7a723058203e4b37adaa2ebd186bd4cd743beb9f848f9759551dcb600373eccaab73a226090029

Deployed Bytecode

0x608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806351ba162c1461005c578063c73a2d60146100cf578063e63d38ed14610142575b600080fd5b34801561006857600080fd5b506100cd600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001919091929391929390803590602001908201803590602001919091929391929390505050610188565b005b3480156100db57600080fd5b50610140600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001919091929391929390803590602001908201803590602001919091929391929390505050610309565b005b6101866004803603810190808035906020019082018035906020019190919293919293908035906020019082018035906020019190919293919293905050506105b0565b005b60008090505b84849050811015610301578573ffffffffffffffffffffffffffffffffffffffff166323b872dd3387878581811015156101c457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868681811015156101ef57fe5b905060200201356040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156102ae57600080fd5b505af11580156102c2573d6000803e3d6000fd5b505050506040513d60208110156102d857600080fd5b810190808051906020019092919050505015156102f457600080fd5b808060010191505061018e565b505050505050565b60008060009150600090505b8585905081101561034657838382818110151561032e57fe5b90506020020135820191508080600101915050610315565b8673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561041d57600080fd5b505af1158015610431573d6000803e3d6000fd5b505050506040513d602081101561044757600080fd5b8101908080519060200190929190505050151561046357600080fd5b600090505b858590508110156105a7578673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb878784818110151561049d57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868581811015156104c857fe5b905060200201356040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561055457600080fd5b505af1158015610568573d6000803e3d6000fd5b505050506040513d602081101561057e57600080fd5b8101908080519060200190929190505050151561059a57600080fd5b8080600101915050610468565b50505050505050565b600080600091505b858590508210156106555785858381811015156105d157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc858585818110151561061557fe5b905060200201359081150290604051600060405180830381858888f19350505050158015610647573d6000803e3d6000fd5b5081806001019250506105b8565b3073ffffffffffffffffffffffffffffffffffffffff1631905060008111156106c0573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156106be573d6000803e3d6000fd5b505b5050505050505600a165627a7a723058203e4b37adaa2ebd186bd4cd743beb9f848f9759551dcb600373eccaab73a226090029

Deployed Bytecode Sourcemap

225:990:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;975:237;;8:9:-1;5:2;;;30:1;27;20:12;5:2;975:237:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;570:397;;8:9:-1;5:2;;;30:1;27;20:12;5:2;570:397:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;250:312;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;975:237;1083:9;1095:1;1083:13;;1078:126;1102:10;;:17;;1098:1;:21;1078:126;;;1147:5;:18;;;1166:10;1178;;1189:1;1178:13;;;;;;;;;;;;;;;;;1193:6;;1200:1;1193:9;;;;;;;;;;;;;;;1147:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1147:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1147:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1147:56:0;;;;;;;;;;;;;;;;1139:65;;;;;;;;1121:3;;;;;;;1078:126;;;975:237;;;;;;:::o;570:397::-;667:13;700:9;683:1;667:17;;712:1;700:13;;695:79;719:10;;:17;;715:1;:21;695:79;;;765:6;;772:1;765:9;;;;;;;;;;;;;;;756:18;;;;738:3;;;;;;;695:79;;;793:5;:18;;;812:10;832:4;839:5;793:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;793:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;793:52:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;793:52:0;;;;;;;;;;;;;;;;785:61;;;;;;;;866:1;862:5;;857:102;873:10;;:17;;869:1;:21;857:102;;;918:5;:14;;;933:10;;944:1;933:13;;;;;;;;;;;;;;;;;948:6;;955:1;948:9;;;;;;;;;;;;;;;918:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;918:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;918:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;918:40:0;;;;;;;;;;;;;;;;910:49;;;;;;;;892:3;;;;;;;857:102;;;570:397;;;;;;;:::o;250:312::-;346:9;446:15;358:1;346:13;;341:94;365:10;;:17;;361:1;:21;341:94;;;402:10;;413:1;402:13;;;;;;;;;;;;;;;;;:22;;:33;425:6;;432:1;425:9;;;;;;;;;;;;;;;402:33;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;402:33:0;384:3;;;;;;;341:94;;;472:4;464:21;;;446:39;;510:1;500:7;:11;496:58;;;526:10;:19;;:28;546:7;526:28;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;526:28:0;496:58;250:312;;;;;;:::o

Swarm Source

bzzr://3e4b37adaa2ebd186bd4cd743beb9f848f9759551dcb600373eccaab73a22609

Block Transaction 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
[ 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.