Back to Home

Bot

0xc54caa892276...7de2d6dda694
ByzantiumSource VerifiedEdit this contract
Deployed August 10, 2018 (8 years ago)Block 6,123,295

Fomo3D automation with a single entry point: letsGo deploys a throwaway player funded with a tenth of an ether that buys, withdraws and destroys itself in one transaction.

Byzantium EraVerified Source

Historical Significance

Fomo3D paid whoever acted last and most, and the round became a contest between contracts rather than people. This one is the pattern reduced to a single call: anyone can invoke letsGo, the affiliate and team are fixed so the operator collects the referral regardless of who pays the gas, and the child leaves nothing behind. Creating and destroying a contract inside one transaction also earned a gas refund at the time, which made the loop cheaper than it looks.

Key Facts
Deployment Block
6,123,295
Deployment Date
Aug 10, 2018, 04:32 PM
Code Size
895.0 B

Description

The parent has one function. letsGo deploys a child with exactly 0.1 ether and the caller's address, and does nothing else; there is no owner, no storage and no way to configure it.

The child does all the work in its constructor and never has a runtime. It buys keys with its incoming value naming a fixed affiliate and team, immediately calls withdraw to pull back whatever the game credited, then loops: while its balance is still above 0.13 ether and more than two hundred thousand gas remains, it buys and withdraws again. The loop counter is halved each pass rather than being recomputed from the balance, so it is a bounded retry count rather than a real balance check. When it stops, the child selfdestructs to the address that called letsGo.

Every buy in the loop sends msg.value, the amount the constructor received, not the current balance. Combined with the halving counter this makes the number of passes a function of how much was sent, not of how much the game paid out.

Source Verified

Solidityeh_crack_source_verified
Compiler: v0.4.24

Bytecode Overview

Opcodes895
Unique Opcodes137
Jump Instructions35
Storage Operations3

External Links