Address Contract Partially Verified
Address
0x0dE8bf93dA2f7eecb3d9169422413A9bef4ef628
Balance
0 ETH
Nonce
14659464
Code Size
3821 bytes
Creator
0x0Cf83143...66C8 at tx 0x7e50aa33...75a0e1
Indexed Transactions
0
Contract Bytecode
3821 bytes
0x60806040526004361061008f5760003560e01c8063c258080411610056578063c258080414610141578063c40493dc14610154578063d59fe5f414610167578063df8de3e71461017a578063f19c74b01461019a57005b806359635f6f14610098578063725159a6146100ab57806381aafabb146100be578063b1ae2ed114610119578063b4f40c611461012c57005b3661009657005b005b6100966100a63660046109f7565b6101ad565b6100966100b9366004610aed565b610227565b3480156100ca57600080fd5b506101076100d9366004610aed565b6001602090815260009283526040909220815180830184018051928152908401929093019190912091525481565b60405190815260200160405180910390f35b610096610127366004610b3b565b6102bb565b34801561013857600080fd5b5061009661041a565b61009661014f366004610bf0565b610452565b610096610162366004610aed565b6105a8565b6100966101753660046109f7565b61063c565b34801561018657600080fd5b50610096610195366004610c7e565b6106b1565b6100966101a8366004610ca0565b610800565b336001600160a01b037f0000000000000000000000000de8bf93da2f7eecb3d9169422413a9bef4ef62816146101e257600080fd5b6102228383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061097f92505050565b505050565b336001600160a01b037f0000000000000000000000000de8bf93da2f7eecb3d9169422413a9bef4ef628161461025c57600080fd5b816001600160a01b0316816040516102749190610d65565b600060405180830381855af49150503d80600081146102af576040519150601f19603f3d011682016040523d82523d6000602084013e6102b4565b606091505b5033915050ff5b3332146102c757600080fd5b60405160009061030b90733d602d80600a3d3981f3363d3d373d3d3d363d7360601b903060601b906e5af43d82803e903d91602b57fd5bf360881b90602001610d71565b60408051601f198184030181528282523360009081526001602052918220909350909161033b9086908690610da9565b90815260200160405180910390205460016103569190610dcf565b905060006103648288610dcf565b90505b808210156103cc576000858584336040516020016103889493929190610de8565b604051602081830303815290604052805190602001209050808451602086016000f5600080895160208b016000855af1505050816103c590610e0f565b9150610367565b336000908152600160205260409081902090518891906103ef9088908890610da9565b9081526020016040518091039020600082825461040c9190610dcf565b909155505050505050505050565b336001600160a01b037f0000000000000000000000000de8bf93da2f7eecb3d9169422413a9bef4ef628161461044f57600080fd5b33ff5b33321461045e57600080fd5b6040516000906104a290733d602d80600a3d3981f3363d3d373d3d3d363d7360601b903060601b906e5af43d82803e903d91602b57fd5bf360881b90602001610d71565b60408051601f19818403018152908290526104bf91602001610d65565b60405160208183030381529060405280519060200120905060005b848110156105a0576000838787848181106104f7576104f7610e28565b905060200201353360405160200161051193929190610e3e565b60408051601f198184030181529082905280516020918201206001600160f81b0319918301919091526001600160601b03193060601b166021830152603582018190526055820185905291506000906075016040516020818303038152906040528051906020012060001c90506000808751602089016000855af15050508061059990610e0f565b90506104da565b505050505050565b336001600160a01b037f0000000000000000000000000de8bf93da2f7eecb3d9169422413a9bef4ef62816146105dd57600080fd5b816001600160a01b0316816040516105f59190610d65565b600060405180830381855af49150503d8060008114610630576040519150601f19603f3d011682016040523d82523d6000602084013e610635565b606091505b5050505050565b336001600160a01b037f0000000000000000000000000de8bf93da2f7eecb3d9169422413a9bef4ef628161461067157600080fd5b61044f8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061097f92505050565b6000546001600160a01b031633146106c857600080fd5b6001600160a01b03811661071457600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610710573d6000803e3d6000fd5b5050565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561075d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190610e69565b60005460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb906044016020604051808303816000875af11580156107d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fa9190610e82565b50505050565b33321461080c57600080fd5b60405160009061085090733d602d80600a3d3981f3363d3d373d3d3d363d7360601b903060601b906e5af43d82803e903d91602b57fd5bf360881b90602001610d71565b604051602081830303815290604052905060005b858110156108e1576000848489898581811061088257610882610e28565b905060200201353360405160200161089d9493929190610de8565b604051602081830303815290604052805190602001209050808351602085016000f5600080885160208a016000855af1505050806108da90610e0f565b9050610864565b600087876108f0600182610ea4565b8181106108ff576108ff610e28565b33600090815260016020908152604091829020915192029390930135935061092b915087908790610da9565b90815260200160405180910390205481111561097557336000908152600160205260409081902090518291906109649088908890610da9565b908152604051908190036020019020555b5050505050505050565b6000808251602084016000865af1505050565b80356001600160a01b03811681146109a957600080fd5b919050565b60008083601f8401126109c057600080fd5b50813567ffffffffffffffff8111156109d857600080fd5b6020830191508360208285010111156109f057600080fd5b9250929050565b600080600060408486031215610a0c57600080fd5b610a1584610992565b9250602084013567ffffffffffffffff811115610a3157600080fd5b610a3d868287016109ae565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610a7157600080fd5b813567ffffffffffffffff80821115610a8c57610a8c610a4a565b604051601f8301601f19908116603f01168101908282118183101715610ab457610ab4610a4a565b81604052838152866020858801011115610acd57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060408385031215610b0057600080fd5b610b0983610992565b9150602083013567ffffffffffffffff811115610b2557600080fd5b610b3185828601610a60565b9150509250929050565b60008060008060608587031215610b5157600080fd5b84359350602085013567ffffffffffffffff80821115610b7057600080fd5b610b7c88838901610a60565b94506040870135915080821115610b9257600080fd5b50610b9f878288016109ae565b95989497509550505050565b60008083601f840112610bbd57600080fd5b50813567ffffffffffffffff811115610bd557600080fd5b6020830191508360208260051b85010111156109f057600080fd5b60008060008060608587031215610c0657600080fd5b843567ffffffffffffffff80821115610c1e57600080fd5b610c2a88838901610bab565b90965094506020870135915080821115610c4357600080fd5b610c4f88838901610a60565b93506040870135915080821115610c6557600080fd5b50610c7287828801610a60565b91505092959194509250565b600060208284031215610c9057600080fd5b610c9982610992565b9392505050565b600080600080600060608688031215610cb857600080fd5b853567ffffffffffffffff80821115610cd057600080fd5b610cdc89838a01610bab565b90975095506020880135915080821115610cf557600080fd5b610d0189838a01610a60565b94506040880135915080821115610d1757600080fd5b50610d24888289016109ae565b969995985093965092949392505050565b6000815160005b81811015610d565760208185018101518683015201610d3c565b50600093019283525090919050565b6000610c998284610d35565b6001600160601b0319938416815291909216601482015270ffffffffffffffffffffffffffffffffff19909116602882015260370190565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610de257610de2610db9565b92915050565b8385823790920190815260609190911b6001600160601b0319166020820152603401919050565b600060018201610e2157610e21610db9565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000610e4a8286610d35565b938452505060601b6001600160601b0319166020820152603401919050565b600060208284031215610e7b57600080fd5b5051919050565b600060208284031215610e9457600080fd5b81518015158114610c9957600080fd5b81810381811115610de257610de2610db956fea26469706673582212205f297dfed403682a4960b7769600b70af12a513c6536b40fdf7f27534d2504ee64736f6c63430008110033
Verified Source Code Partial Match
Compiler: v0.8.17+commit.8df45f5f
EVM: london
Optimization: Yes (200 runs)
CoinTool_App.sol 165 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
/*
//https://cointool.app web3 basic tools!
//
//
// _____ _ _______ _
// / ____| (_) |__ __| | | /\
//| | ___ _ _ __ | | ___ ___ | | / \ _ __ _ __
//| | / _ \| | '_ \| |/ _ \ / _ \| | / /\ \ | '_ \| '_ \
//| |___| (_) | | | | | | (_) | (_) | |_ / ____ \| |_) | |_) |
// \_____\___/|_|_| |_|_|\___/ \___/|_(_)_/ \_\ .__/| .__/
// | | | |
// |_| |_|
//
*/
interface IERC20 {
function balanceOf(address account) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
}
contract CoinTool_App{
address owner;
address private immutable original;
mapping(address => mapping(bytes =>uint256)) public map;
constructor() payable {
original = address(this);
owner = tx.origin;
}
receive() external payable {}
fallback() external payable{}
function t(uint256 total,bytes memory data,bytes calldata _salt) external payable {
require(msg.sender == tx.origin);
bytes memory bytecode = bytes.concat(bytes20(0x3D602d80600A3D3981F3363d3d373d3D3D363d73), bytes20(address(this)), bytes15(0x5af43d82803e903d91602b57fd5bf3));
uint256 i = map[msg.sender][_salt]+1;
uint256 end = total+i;
for (i; i < end;++i) {
bytes32 salt = keccak256(abi.encodePacked(_salt,i,msg.sender));
assembly {
let proxy := create2(0, add(bytecode, 32), mload(bytecode), salt)
let succeeded := call(
gas(),
proxy,
0,
add(data, 0x20),
mload(data),
0,
0
)
}
}
map[msg.sender][_salt] += total;
}
function t_(uint256[] calldata a,bytes memory data,bytes calldata _salt) external payable {
require(msg.sender == tx.origin);
bytes memory bytecode = bytes.concat(bytes20(0x3D602d80600A3D3981F3363d3d373d3D3D363d73), bytes20(address(this)), bytes15(0x5af43d82803e903d91602b57fd5bf3));
uint256 i = 0;
for (i; i < a.length; ++i) {
bytes32 salt = keccak256(abi.encodePacked(_salt,a[i],msg.sender));
assembly {
let proxy := create2(0, add(bytecode, 32), mload(bytecode), salt)
let succeeded := call(
gas(),
proxy,
0,
add(data, 0x20),
mload(data),
0,
0
)
}
}
uint256 e = a[a.length-1];
if(e>map[msg.sender][_salt]){
map[msg.sender][_salt] = e;
}
}
function f(uint256[] calldata a,bytes memory data,bytes memory _salt) external payable {
require(msg.sender == tx.origin);
bytes32 bytecode = keccak256(abi.encodePacked(bytes.concat(bytes20(0x3D602d80600A3D3981F3363d3d373d3D3D363d73), bytes20(address(this)), bytes15(0x5af43d82803e903d91602b57fd5bf3))));
uint256 i = 0;
for (i; i < a.length; ++i) {
bytes32 salt = keccak256(abi.encodePacked(_salt,a[i],msg.sender));
address proxy = address(uint160(uint(keccak256(abi.encodePacked(
hex'ff',
address(this),
salt,
bytecode
)))));
assembly {
let succeeded := call(
gas(),
proxy,
0,
add(data, 0x20),
mload(data),
0,
0
)
}
}
}
function d(address a,bytes memory data) external payable{
require(msg.sender == original);
a.delegatecall(data);
}
function c(address a,bytes calldata data) external payable {
require(msg.sender == original);
external_call(a,data);
}
function dKill(address a,bytes memory data) external payable{
require(msg.sender == original);
a.delegatecall(data);
selfdestruct(payable(msg.sender));
}
function cKill(address a,bytes calldata data) external payable {
require(msg.sender == original);
external_call(a,data);
selfdestruct(payable(msg.sender));
}
function k() external {
require(msg.sender == original);
selfdestruct(payable(msg.sender));
}
function external_call(address destination,bytes memory data) internal{
assembly {
let succeeded := call(
gas(),
destination,
0,
add(data, 0x20),
mload(data),
0,
0
)
}
}
function claimTokens(address _token) external {
require(owner == msg.sender);
if (_token == address(0x0)) {
payable (owner).transfer(address(this).balance);
return;
}
IERC20 erc20token = IERC20(_token);
uint256 balance = erc20token.balanceOf(address(this));
erc20token.transfer(owner, balance);
}
}
Read Contract
map 0x81aafabb → uint256
Write Contract 9 functions
These functions modify contract state and require a wallet transaction to execute.
c 0x59635f6f
address a
bytes data
cKill 0xd59fe5f4
address a
bytes data
claimTokens 0xdf8de3e7
address _token
d 0xc40493dc
address a
bytes data
dKill 0x725159a6
address a
bytes data
f 0xc2580804
uint256[] a
bytes data
bytes _salt
k 0xb4f40c61
No parameters
t 0xb1ae2ed1
uint256 total
bytes data
bytes _salt
t_ 0xf19c74b0
uint256[] a
bytes data
bytes _salt
Recent Transactions
No transactions found for this address