Verified contractPartialMIT
GMMultisender
Address0x602b1b75e134d8be6d5e6f8a4c52df219d4a3b8b
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.24
- Same code
Only this contract
Details
- Compiler
- solc 0.8.24+commit.e11b9ed9
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- paris
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,501,538
- Creation transaction
- 0x30482ff97f…162c7f491b
.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
/**
* GMMultisender (ETHTokenLaunch, 26 Nov 2026)
*
* Sends one ERC-20 token from the caller to many wallets in one transaction.
*
* - Tokens move straight from msg.sender to each recipient with transferFrom.
* The contract never holds tokens or ETH, so there is nothing in it to steal.
* - It always spends from msg.sender. An approval given to this contract can
* only ever be used by the wallet that gave it.
* - No owner, no admin, no fee logic, no upgrade path. The ETHTokenLaunch
* service fee is a separate payment checked by the website.
*/
contract GMMultisender {
uint256 public constant MAX_RECIPIENTS = 500;
event Multisent(address indexed sender, address indexed token, uint256 recipients, uint256 total);
error LengthMismatch();
error BadRecipientCount();
error ZeroRecipient(uint256 index);
error TransferFailed(uint256 index);
function multisendToken(address token, address[] calldata recipients, uint256[] calldata amounts) external {
uint256 n = recipients.length;
if (n != amounts.length) revert LengthMismatch();
if (n == 0 || n > MAX_RECIPIENTS) revert BadRecipientCount();
uint256 total;
for (uint256 i; i < n; ) {
address to = recipients[i];
if (to == address(0)) revert ZeroRecipient(i);
uint256 amount = amounts[i];
// Low-level call so tokens that return nothing (USDT style) still work,
// and tokens that return false are caught.
(bool ok, bytes memory data) = token.call(
abi.encodeWithSelector(0x23b872dd, msg.sender, to, amount)
);
if (!ok || (data.length != 0 && !abi.decode(data, (bool)))) revert TransferFailed(i);
total += amount;
unchecked { ++i; }
}
emit Multisent(msg.sender, token, n, total);
}
}
Compiler settingsShow
{
"metadata": {
"bytecodeHash": "ipfs"
},
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "paris"
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.