Skip to content
Verified contractPartial

Executor

Address0xd48171a53360e694ea9df1cf3147e9690ff46858
Balance

0 ETH

 

Transactions

0

 

Compiler

solc 0.4.24

 

Same code

54 more contracts

 

Details

Compiler
solc 0.4.24+commit.e67f0147
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
6,143,004
Creation transaction
0x7eb877624b…df00280a3b

Executor.sol

// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.24;

contract FoMo3D {
    function airDropPot_() public view returns (uint256);
}

contract Bot {
    constructor(address _game, uint256 _affCode, uint256 _times, uint256 _minPot) public payable {
        for (uint256 i = 0; i < _times + 1; i++) {
            if (FoMo3D(_game).airDropPot_() < _minPot) {
                break;
            }
            _game.call.value(msg.value)(0x8f38f309, _affCode, uint256(1));
            _game.call(0x3ccfd60b);
        }
        selfdestruct(tx.origin);
    }
}

contract Executor {
    address owner;

    function () public payable {
    }

    function execute(address _game, uint256 _affCode, uint256 _times, uint256 _minPot) public payable {
        address o = owner;
        assembly {
            jumpi(ok, eq(caller, o))
            revert(0, 0)
            ok:
        }
        (new Bot).value(msg.value)(_game, _affCode, _times, _minPot);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.