Skip to content

Instantly share code, notes, and snippets.

@lee-citizen
lee-citizen / .deps....raw_paths.json
Created April 25, 2026 20:25
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.34+commit.80d5c536.js&optimize=undefined&runs=200&gist=
{
"contracts@0.4.0/SuperBatcher.sol": ".deps/npm/contracts@0.4.0/SuperBatcher.sol"
}
@lee-citizen
lee-citizen / .deps....raw_paths.json
Created April 25, 2026 20:24
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.34+commit.80d5c536.js&optimize=undefined&runs=200&gist=
{
"contracts@0.4.0/SuperBatcher.sol": ".deps/npm/contracts@0.4.0/SuperBatcher.sol"
}
@lee-citizen
lee-citizen / .deps...npm....resolution-index.json
Created April 25, 2026 20:21
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.34+commit.80d5c536.js&optimize=undefined&runs=200&gist=
{
"contracts/SuperBatcher.sol": {
"__sources__": {
"contracts/SuperBatcher.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\n/**\n * @title SuperBatcher\n * @dev 工业级批量转账工具:支持 ERC20 (USDT) 授权转账与原生代币 (BNB) 转账\n * 针对 200+ 笔转账进行了 Gas 优化,并具备应急提取功能\n */\ninterface IERC20 {\n function transferFrom(\n address sender,\n address recipient,\n uint256 amount\n ) external returns (bool);\n function balanceOf(address account) external view returns (uint256);\n function approve(address spender, uint256 amount) external returns (bool);\n}\n\ncontract SuperBatcher {\n address public owner;\n\n // 事件:用于前端追踪批量转账结果\n event BatchTokenTransferred(\n address indexed token,\n uint256 totalRecipients,\n uint256 totalAmount\n );\n event BatchBNBTransferred(uint256 totalRecipients, uint256 totalAmount);\n event EmergencyWithdraw(address indexed token, uint256 amount);\n\n constructor() {\n owner = msg.sen
@lee-citizen
lee-citizen / .deps...npm....resolution-index.json
Created April 25, 2026 20:20
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.34+commit.80d5c536.js&optimize=undefined&runs=200&gist=
{
"contracts/SuperBatcher.sol": {
"__sources__": {
"contracts/SuperBatcher.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\n/**\n * @title SuperBatcher\n * @dev 工业级批量转账工具:支持 ERC20 (USDT) 授权转账与原生代币 (BNB) 转账\n * 针对 200+ 笔转账进行了 Gas 优化,并具备应急提取功能\n */\ninterface IERC20 {\n function transferFrom(\n address sender,\n address recipient,\n uint256 amount\n ) external returns (bool);\n function balanceOf(address account) external view returns (uint256);\n function approve(address spender, uint256 amount) external returns (bool);\n}\n\ncontract SuperBatcher {\n address public owner;\n\n // 事件:用于前端追踪批量转账结果\n event BatchTokenTransferred(\n address indexed token,\n uint256 totalRecipients,\n uint256 totalAmount\n );\n event BatchBNBTransferred(uint256 totalRecipients, uint256 totalAmount);\n event EmergencyWithdraw(address indexed token, uint256 amount);\n\n constructor() {\n owner = msg.sen