ETH Price: $3,705.54 (+4.03%)

Contract

0x414cd0fd1ae65F5d3f724f62d047364df765364d
 

Overview

ETH Balance

0.028337229095756028 ETH

Eth Value

$105.00 (@ $3,705.54/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Process Pending ...193085452024-02-26 1:43:47278 days ago1708911827IN
0x414cd0fd...df765364d
0 ETH0.0012246823.83172214
Process Pending ...193069452024-02-25 20:20:59278 days ago1708892459IN
0x414cd0fd...df765364d
0 ETH0.0023060244.87383783
Process Pending ...193059562024-02-25 17:01:35278 days ago1708880495IN
0x414cd0fd...df765364d
0 ETH0.0019671238.27917639
Process Pending ...193050022024-02-25 13:49:35278 days ago1708868975IN
0x414cd0fd...df765364d
0 ETH0.001577930.70515042
Process Pending ...193048092024-02-25 13:10:59278 days ago1708866659IN
0x414cd0fd...df765364d
0 ETH0.0017170633.41313749
Process Pending ...193047462024-02-25 12:58:23278 days ago1708865903IN
0x414cd0fd...df765364d
0 ETH0.0014413228.04737238
Process Pending ...193047242024-02-25 12:53:59278 days ago1708865639IN
0x414cd0fd...df765364d
0 ETH0.0013841426.93472968
Process Pending ...193040982024-02-25 10:47:59278 days ago1708858079IN
0x414cd0fd...df765364d
0 ETH0.0013621426.50661927
Process Pending ...193040242024-02-25 10:33:11278 days ago1708857191IN
0x414cd0fd...df765364d
0 ETH0.0013431826.13750572
Process Pending ...193031772024-02-25 7:42:23278 days ago1708846943IN
0x414cd0fd...df765364d
0 ETH0.0012996325.29014443
Process Pending ...193022472024-02-25 4:35:23279 days ago1708835723IN
0x414cd0fd...df765364d
0 ETH0.0013020925.33800518
Process Pending ...193021192024-02-25 4:09:47279 days ago1708834187IN
0x414cd0fd...df765364d
0 ETH0.0011966923.28692844
Process Pending ...193020302024-02-25 3:51:59279 days ago1708833119IN
0x414cd0fd...df765364d
0 ETH0.0013342725.96418868
Process Pending ...193002072024-02-24 21:44:35279 days ago1708811075IN
0x414cd0fd...df765364d
0 ETH0.0013227825.74070757
Process Pending ...192971202024-02-24 11:22:47279 days ago1708773767IN
0x414cd0fd...df765364d
0 ETH0.0014522428.2598377
Process Pending ...192967512024-02-24 10:08:47279 days ago1708769327IN
0x414cd0fd...df765364d
0 ETH0.0013397426.07073725
Process Pending ...192967172024-02-24 10:01:47279 days ago1708768907IN
0x414cd0fd...df765364d
0 ETH0.0134861433.40576412
Process Pending ...192805082024-02-22 3:33:23282 days ago1708572803IN
0x414cd0fd...df765364d
0 ETH0.001792834.88021405
Process Pending ...192800992024-02-22 2:10:35282 days ago1708567835IN
0x414cd0fd...df765364d
0 ETH0.0022471243.71930075
Process Pending ...192792622024-02-21 23:20:47282 days ago1708557647IN
0x414cd0fd...df765364d
0 ETH0.0018324835.6521359
Process Pending ...192785612024-02-21 20:59:23282 days ago1708549163IN
0x414cd0fd...df765364d
0 ETH0.0017787634.60704994
Process Pending ...192785572024-02-21 20:58:35282 days ago1708549115IN
0x414cd0fd...df765364d
0 ETH0.0022247837.36567648
Process Pending ...192775862024-02-21 17:42:23282 days ago1708537343IN
0x414cd0fd...df765364d
0 ETH0.0021681842.1834857
Process Pending ...192768622024-02-21 15:16:11282 days ago1708528571IN
0x414cd0fd...df765364d
0 ETH0.0027058352.64382069
Process Pending ...192767802024-02-21 14:59:23282 days ago1708527563IN
0x414cd0fd...df765364d
0 ETH0.0038793875.47595857
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
193085452024-02-26 1:43:47278 days ago1708911827
0x414cd0fd...df765364d
0.0015 ETH
193085452024-02-26 1:43:47278 days ago1708911827
0x414cd0fd...df765364d
0.00390963 ETH
193085442024-02-26 1:43:35278 days ago1708911815
0x414cd0fd...df765364d
0.00540963 ETH
193069452024-02-25 20:20:59278 days ago1708892459
0x414cd0fd...df765364d
0.0015 ETH
193069452024-02-25 20:20:59278 days ago1708892459
0x414cd0fd...df765364d
0.0179296 ETH
193069442024-02-25 20:20:47278 days ago1708892447
0x414cd0fd...df765364d
0.0194296 ETH
193059562024-02-25 17:01:35278 days ago1708880495
0x414cd0fd...df765364d
0.0015 ETH
193059562024-02-25 17:01:35278 days ago1708880495
0x414cd0fd...df765364d
0.01925778 ETH
193059552024-02-25 17:01:23278 days ago1708880483
0x414cd0fd...df765364d
0.02075778 ETH
193050022024-02-25 13:49:35278 days ago1708868975
0x414cd0fd...df765364d
0.0015 ETH
193050022024-02-25 13:49:35278 days ago1708868975
0x414cd0fd...df765364d
0.00024111 ETH
193050012024-02-25 13:49:23278 days ago1708868963
0x414cd0fd...df765364d
0.00174111 ETH
193048092024-02-25 13:10:59278 days ago1708866659
0x414cd0fd...df765364d
0.0015 ETH
193048092024-02-25 13:10:59278 days ago1708866659
0x414cd0fd...df765364d
0.07189384 ETH
193048082024-02-25 13:10:47278 days ago1708866647
0x414cd0fd...df765364d
0.07339384 ETH
193047462024-02-25 12:58:23278 days ago1708865903
0x414cd0fd...df765364d
0.0015 ETH
193047462024-02-25 12:58:23278 days ago1708865903
0x414cd0fd...df765364d
0.01739021 ETH
193047452024-02-25 12:58:11278 days ago1708865891
0x414cd0fd...df765364d
0.01889021 ETH
193047242024-02-25 12:53:59278 days ago1708865639
0x414cd0fd...df765364d
0.0015 ETH
193047242024-02-25 12:53:59278 days ago1708865639
0x414cd0fd...df765364d
0.00066898 ETH
193047232024-02-25 12:53:47278 days ago1708865627
0x414cd0fd...df765364d
0.00216898 ETH
193040982024-02-25 10:47:59278 days ago1708858079
0x414cd0fd...df765364d
0.0015 ETH
193040982024-02-25 10:47:59278 days ago1708858079
0x414cd0fd...df765364d
0.00565268 ETH
193040972024-02-25 10:47:47278 days ago1708858067
0x414cd0fd...df765364d
0.00715268 ETH
193040242024-02-25 10:33:11278 days ago1708857191
0x414cd0fd...df765364d
0.0015 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LuckyJackpots

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : LuckyJackpots.sol
// SPDX-License-Identifier: NONE

/**
 * LuckyToad v3 Jackpot Manager
 * Holds a list of winners to be dealt with
 */

pragma solidity ^0.8.15;

import "@openzeppelin/contracts/access/Ownable.sol";

contract LuckyJackpots is Ownable {
    event WinPending(address indexed seller, uint256 ethWinnings, uint256 randomNumber);
    event JackpotWin(address indexed winner, uint256 winnings, uint256 randomSeedUsed);
    event ClaimManually(address indexed winner, uint256 winnings);
    struct WinToProcess {
        uint256 randomNumber;
        uint256 ethWinnings;
        address seller;
    }
    struct ManuallyClaimableWin {
        uint256 ethWinnings;
        address winner;
    }

    modifier onlyProcessingBot() {
        require(msg.sender == processingBot, "LuckyJackpot: Only the bot can execute this.");
        _;
    }
    modifier onlyHeadContract() {
        require(msg.sender == topContract, "LuckyJackpot: Only the bot can execute this.");
        _;
    }


    modifier reentrancyGuard() {
        require(!_reentrancySemaphore, "LuckyJackpot: Pls do not rentrancy us.");
        _reentrancySemaphore = true;
        _;
        _reentrancySemaphore = false;
    }
    address private processingBot;
    
    bool private _reentrancySemaphore = false;

    WinToProcess[] private pendingWins;

    ManuallyClaimableWin[] private failedSends;

    address private topContract;

    constructor(address bot) {
        topContract = msg.sender;
        processingBot = bot;
    }
    /// @notice Changes the processing bot address. Only settable by CA owner.
    /// @param newBot the new bot to set
    function changeProcessingBot(address newBot) public onlyOwner {
        processingBot = newBot;
    }
    function changeTopContract(address newContract) public onlyOwner {
        topContract = newContract;
    }

    /// @notice Generates a pseudo-random number - don't rely on for crypto
    function generateNumber() private view returns (uint256 result) {
        result = uint256(keccak256(abi.encode(blockhash(block.number-1))));
    }
    /// @notice Adds a pending win from a sell - only callable by contract and the value of ETH should be sent
    /// @param seller the seller, so we can exclude them

    function addPendingWin(address seller) external payable onlyHeadContract {
        uint256 rng = generateNumber();
        pendingWins.push(WinToProcess(rng, msg.value, seller));
        emit WinPending(seller, msg.value, rng);
    }

    /// @notice Get the lists of pending wins
    function getPendingWins() public view returns (uint256[] memory rngs, uint256[] memory winnings, address[] memory sellers) {
        rngs = new uint256[](pendingWins.length);
        winnings = new uint256[](pendingWins.length);
        sellers = new address[](pendingWins.length);
        for(uint i = 0; i < pendingWins.length; i++) {
            rngs[i] = pendingWins[i].randomNumber;
            winnings[i] = pendingWins[i].ethWinnings;
            sellers[i] = pendingWins[i].seller;
        }
    }


    function processPendingWin(uint256 index, address receipient, uint256 processingCost) public onlyProcessingBot reentrancyGuard {
        processWinInternal(index, receipient, processingCost);
        // Check if it's the very end of the list
        if(index != pendingWins.length-1) {
            // It's not, so move the end to the index we wish to erase
            pendingWins[index] = pendingWins[pendingWins.length-1];
        }
        // Pop the end - if our pending win is the end, it's okay, if not we made a copy of the end
        pendingWins.pop();
    }

    function processWinInternal(uint256 index, address winner, uint256 processingCost) private {
        uint256 winAmount = pendingWins[index].ethWinnings;
        (bool success,) = winner.call{gas: 50000, value: winAmount-processingCost}("");
        payable(msg.sender).transfer(processingCost);
        if(success) {
            emit JackpotWin(winner, winAmount-processingCost, pendingWins[index].randomNumber);
        } else {
            failedSends.push(ManuallyClaimableWin(winAmount-processingCost, winner));
            emit ClaimManually(winner, winAmount-processingCost);
        }
    }
    /// @notice Process a list of indexes and winners. Ensure the indexes are ascending. 
    function processPendingWins(uint256[] calldata indexes, address[] calldata recipients, uint256[] calldata processingCosts) external onlyProcessingBot reentrancyGuard {
        require(indexes.length == recipients.length && indexes.length == processingCosts.length, "LuckyJackpot: Length of arrays must match.");
        for(uint i = 0; i < indexes.length; i++) {
            processWinInternal(indexes[i], recipients[i], processingCosts[i]);
        }
        // Need to be a little more careful here, as we have multiple indexes to remove
        uint indexLen = indexes.length-1;
        for(uint i = 0; i < indexes.length; i++) {
            // i is, from the end, how many
            if(indexes[indexLen-i] != pendingWins.length) {
                // Copy the end to the current index, if necessary
                pendingWins[indexes[indexLen-i]] = pendingWins[pendingWins.length-1];
            }
            // Delete the end
            pendingWins.pop();
        }
    }

    /// @notice Claim the first win for this address
    function manualClaim(address winner) public reentrancyGuard {
        // Find the first win in failedSends
        for(uint i = 0; i < failedSends.length; i++) {
            if(failedSends[i].winner == winner) {
                (bool success,) = winner.call{value: failedSends[i].ethWinnings}("");
                require(success, "LuckyJackpot: Send failed.");
                // Delete the winner
                if(i != failedSends.length-1) {
                    failedSends[i] = failedSends[failedSends.length-1];
                }
                failedSends.pop();
                break;
            }
        }
    }

    function withdrawGas(uint256 amount) public onlyProcessingBot {
        // Withdraw the gas fee to be spent on running a sell
        payable(processingBot).transfer(amount);
    }

    function withdrawFees(uint256 amount) public onlyOwner {
        // Withdraw excess fees for owner
        payable(owner()).transfer(amount);
    }
}

File 2 of 3 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 3 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"bot","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"winnings","type":"uint256"}],"name":"ClaimManually","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"winnings","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"randomSeedUsed","type":"uint256"}],"name":"JackpotWin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethWinnings","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"randomNumber","type":"uint256"}],"name":"WinPending","type":"event"},{"inputs":[{"internalType":"address","name":"seller","type":"address"}],"name":"addPendingWin","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newBot","type":"address"}],"name":"changeProcessingBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newContract","type":"address"}],"name":"changeTopContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPendingWins","outputs":[{"internalType":"uint256[]","name":"rngs","type":"uint256[]"},{"internalType":"uint256[]","name":"winnings","type":"uint256[]"},{"internalType":"address[]","name":"sellers","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"winner","type":"address"}],"name":"manualClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"receipient","type":"address"},{"internalType":"uint256","name":"processingCost","type":"uint256"}],"name":"processPendingWin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"indexes","type":"uint256[]"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"processingCosts","type":"uint256[]"}],"name":"processPendingWins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawGas","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001805460ff60a01b1916905534801561001d57600080fd5b5060405161146538038061146583398101604081905261003c916100c8565b61004533610078565b60048054336001600160a01b031991821617909155600180549091166001600160a01b03929092169190911790556100f8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100da57600080fd5b81516001600160a01b03811681146100f157600080fd5b9392505050565b61135e806101076000396000f3fe6080604052600436106100a75760003560e01c8063916575441161006457806391657544146101785780639bba032a14610198578063d653e9a8146101b8578063de9067ad146101cb578063e026132e146101eb578063f2fde38b1461020b57600080fd5b806331600a63146100ac57806359c0ccc7146100d95780635e318e07146100fb578063715018a61461011b5780638da5cb5b1461013057806391537e2714610158575b600080fd5b3480156100b857600080fd5b506100c161022b565b6040516100d09392919061102a565b60405180910390f35b3480156100e557600080fd5b506100f96100f43660046110b8565b610417565b005b34801561010757600080fd5b506100f96101163660046110da565b610660565b34801561012757600080fd5b506100f96106a5565b34801561013c57600080fd5b506000546040516001600160a01b0390911681526020016100d0565b34801561016457600080fd5b506100f961017336600461113f565b6106b9565b34801561018457600080fd5b506100f96101933660046110da565b610966565b3480156101a457600080fd5b506100f96101b33660046110b8565b6109ca565b6100f96101c63660046110b8565b6109f4565b3480156101d757600080fd5b506100f96101e63660046111d9565b610b2b565b3480156101f757600080fd5b506100f96102063660046110b8565b610c8d565b34801561021757600080fd5b506100f96102263660046110b8565b610cb7565b606080606060028054905067ffffffffffffffff81111561024e5761024e61120e565b604051908082528060200260200182016040528015610277578160200160208202803683370190505b5060025490935067ffffffffffffffff8111156102965761029661120e565b6040519080825280602002602001820160405280156102bf578160200160208202803683370190505b5060025490925067ffffffffffffffff8111156102de576102de61120e565b604051908082528060200260200182016040528015610307578160200160208202803683370190505b50905060005b600254811015610411576002818154811061032a5761032a611224565b90600052602060002090600302016000015484828151811061034e5761034e611224565b6020026020010181815250506002818154811061036d5761036d611224565b90600052602060002090600302016001015483828151811061039157610391611224565b602002602001018181525050600281815481106103b0576103b0611224565b906000526020600020906003020160020160009054906101000a90046001600160a01b03168282815181106103e7576103e7611224565b6001600160a01b03909216602092830291909101909101528061040981611250565b91505061030d565b50909192565b600154600160a01b900460ff161561044a5760405162461bcd60e51b815260040161044190611269565b60405180910390fd5b6001805460ff60a01b1916600160a01b17905560005b60035481101561064f57816001600160a01b03166003828154811061048757610487611224565b60009182526020909120600160029092020101546001600160a01b03160361063d576000826001600160a01b0316600383815481106104c8576104c8611224565b60009182526020822060029091020154604051909181818185875af1925050503d8060008114610514576040519150601f19603f3d011682016040523d82523d6000602084013e610519565b606091505b505090508061056a5760405162461bcd60e51b815260206004820152601a60248201527f4c75636b794a61636b706f743a2053656e64206661696c65642e0000000000006044820152606401610441565b600354610579906001906112af565b82146105fb576003805461058f906001906112af565b8154811061059f5761059f611224565b9060005260206000209060020201600383815481106105c0576105c0611224565b600091825260209091208254600290920201908155600191820154910180546001600160a01b0319166001600160a01b039092169190911790555b600380548061060c5761060c6112c6565b60008281526020812060026000199093019283020190815560010180546001600160a01b031916905590555061064f565b8061064781611250565b915050610460565b50506001805460ff60a01b19169055565b610668610d30565b600080546040516001600160a01b039091169183156108fc02918491818181858888f193505050501580156106a1573d6000803e3d6000fd5b5050565b6106ad610d30565b6106b76000610d8a565b565b6001546001600160a01b031633146106e35760405162461bcd60e51b8152600401610441906112dc565b600154600160a01b900460ff161561070d5760405162461bcd60e51b815260040161044190611269565b6001805460ff60a01b1916600160a01b179055848314801561072e57508481145b61078d5760405162461bcd60e51b815260206004820152602a60248201527f4c75636b794a61636b706f743a204c656e677468206f6620617272617973206d6044820152693ab9ba1036b0ba31b41760b11b6064820152608401610441565b60005b8581101561080b576107f98787838181106107ad576107ad611224565b905060200201358686848181106107c6576107c6611224565b90506020020160208101906107db91906110b8565b8585858181106107ed576107ed611224565b90506020020135610dda565b8061080381611250565b915050610790565b5060006108196001876112af565b905060005b8681101561094f57600254888861083584866112af565b81811061084457610844611224565b90506020020135146108f95760028054610860906001906112af565b8154811061087057610870611224565b906000526020600020906003020160028989848661088e91906112af565b81811061089d5761089d611224565b90506020020135815481106108b4576108b4611224565b60009182526020909120825460039092020190815560018083015490820155600291820154910180546001600160a01b0319166001600160a01b039092169190911790555b600280548061090a5761090a6112c6565b600082815260208120600360001990930192830201818155600181019190915560020180546001600160a01b031916905590558061094781611250565b91505061081e565b50506001805460ff60a01b19169055505050505050565b6001546001600160a01b031633146109905760405162461bcd60e51b8152600401610441906112dc565b6001546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156106a1573d6000803e3d6000fd5b6109d2610d30565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b03163314610a1e5760405162461bcd60e51b8152600401610441906112dc565b6000610a28610fb8565b604080516060810182528281523460208083018281526001600160a01b038881168587018181526002805460018101825560009190915296517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace60039098029788015592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf87015591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad090950180546001600160a01b031916959091169490941790935583519182528101849052929350917f6d418321e3f92c6a489352adfa53b0f97aef60e56d92ce0c2dfdf79970a2dd40910160405180910390a25050565b6001546001600160a01b03163314610b555760405162461bcd60e51b8152600401610441906112dc565b600154600160a01b900460ff1615610b7f5760405162461bcd60e51b815260040161044190611269565b6001805460ff60a01b1916600160a01b179055610b9d838383610dda565b600254610bac906001906112af565b8314610c385760028054610bc2906001906112af565b81548110610bd257610bd2611224565b906000526020600020906003020160028481548110610bf357610bf3611224565b60009182526020909120825460039092020190815560018083015490820155600291820154910180546001600160a01b0319166001600160a01b039092169190911790555b6002805480610c4957610c496112c6565b60008281526020812060036000199093019283020181815560018181019290925560020180546001600160a01b03191690559155805460ff60a01b19169055505050565b610c95610d30565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b610cbf610d30565b6001600160a01b038116610d245760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610441565b610d2d81610d8a565b50565b6000546001600160a01b031633146106b75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610441565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060028481548110610def57610def611224565b6000918252602082206001600390920201015491506001600160a01b03841661c350610e1b85856112af565b6040516000818181858888f193505050503d8060008114610e58576040519150601f19603f3d011682016040523d82523d6000602084013e610e5d565b606091505b5050604051909150339084156108fc029085906000818181858888f19350505050158015610e8f573d6000803e3d6000fd5b508015610f09576001600160a01b0384167fb3c089216f23b7daf9ba89aed51ed7cd7a84a690165388c507a0da320840c29a610ecb85856112af565b60028881548110610ede57610ede611224565b60009182526020918290206003909102015460408051938452918301520160405180910390a2610fb1565b600360405180604001604052808585610f2291906112af565b81526001600160a01b038781166020928301819052845460018082018755600096875295849020855160029092020190815593909201519290930180546001600160a01b03191692909316919091179091557f94865cfe07b56d8fc7d748debc2277d076807d3678da121aa700f3bf2a66df32610f9f85856112af565b60405190815260200160405180910390a25b5050505050565b6000610fc56001436112af565b6040805191406020830152016040516020818303038152906040528051906020012060001c905090565b600081518084526020808501945080840160005b8381101561101f57815187529582019590820190600101611003565b509495945050505050565b60608152600061103d6060830186610fef565b6020838203818501526110508287610fef565b8481036040860152855180825282870193509082019060005b8181101561108e5784516001600160a01b031683529383019391830191600101611069565b509098975050505050505050565b80356001600160a01b03811681146110b357600080fd5b919050565b6000602082840312156110ca57600080fd5b6110d38261109c565b9392505050565b6000602082840312156110ec57600080fd5b5035919050565b60008083601f84011261110557600080fd5b50813567ffffffffffffffff81111561111d57600080fd5b6020830191508360208260051b850101111561113857600080fd5b9250929050565b6000806000806000806060878903121561115857600080fd5b863567ffffffffffffffff8082111561117057600080fd5b61117c8a838b016110f3565b9098509650602089013591508082111561119557600080fd5b6111a18a838b016110f3565b909650945060408901359150808211156111ba57600080fd5b506111c789828a016110f3565b979a9699509497509295939492505050565b6000806000606084860312156111ee57600080fd5b833592506111fe6020850161109c565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016112625761126261123a565b5060010190565b60208082526026908201527f4c75636b794a61636b706f743a20506c7320646f206e6f742072656e7472616e60408201526531bc903ab99760d11b606082015260800190565b6000828210156112c1576112c161123a565b500390565b634e487b7160e01b600052603160045260246000fd5b6020808252602c908201527f4c75636b794a61636b706f743a204f6e6c792074686520626f742063616e206560408201526b3c32b1baba32903a3434b99760a11b60608201526080019056fea26469706673582212203547309530e519ba0d3707944f2f87879e591d259b9da83ccf3848cb1947514764736f6c634300080f00330000000000000000000000007e7cf3d8bfb8669f22f1969f78cf1577c86b3024

Deployed Bytecode

0x6080604052600436106100a75760003560e01c8063916575441161006457806391657544146101785780639bba032a14610198578063d653e9a8146101b8578063de9067ad146101cb578063e026132e146101eb578063f2fde38b1461020b57600080fd5b806331600a63146100ac57806359c0ccc7146100d95780635e318e07146100fb578063715018a61461011b5780638da5cb5b1461013057806391537e2714610158575b600080fd5b3480156100b857600080fd5b506100c161022b565b6040516100d09392919061102a565b60405180910390f35b3480156100e557600080fd5b506100f96100f43660046110b8565b610417565b005b34801561010757600080fd5b506100f96101163660046110da565b610660565b34801561012757600080fd5b506100f96106a5565b34801561013c57600080fd5b506000546040516001600160a01b0390911681526020016100d0565b34801561016457600080fd5b506100f961017336600461113f565b6106b9565b34801561018457600080fd5b506100f96101933660046110da565b610966565b3480156101a457600080fd5b506100f96101b33660046110b8565b6109ca565b6100f96101c63660046110b8565b6109f4565b3480156101d757600080fd5b506100f96101e63660046111d9565b610b2b565b3480156101f757600080fd5b506100f96102063660046110b8565b610c8d565b34801561021757600080fd5b506100f96102263660046110b8565b610cb7565b606080606060028054905067ffffffffffffffff81111561024e5761024e61120e565b604051908082528060200260200182016040528015610277578160200160208202803683370190505b5060025490935067ffffffffffffffff8111156102965761029661120e565b6040519080825280602002602001820160405280156102bf578160200160208202803683370190505b5060025490925067ffffffffffffffff8111156102de576102de61120e565b604051908082528060200260200182016040528015610307578160200160208202803683370190505b50905060005b600254811015610411576002818154811061032a5761032a611224565b90600052602060002090600302016000015484828151811061034e5761034e611224565b6020026020010181815250506002818154811061036d5761036d611224565b90600052602060002090600302016001015483828151811061039157610391611224565b602002602001018181525050600281815481106103b0576103b0611224565b906000526020600020906003020160020160009054906101000a90046001600160a01b03168282815181106103e7576103e7611224565b6001600160a01b03909216602092830291909101909101528061040981611250565b91505061030d565b50909192565b600154600160a01b900460ff161561044a5760405162461bcd60e51b815260040161044190611269565b60405180910390fd5b6001805460ff60a01b1916600160a01b17905560005b60035481101561064f57816001600160a01b03166003828154811061048757610487611224565b60009182526020909120600160029092020101546001600160a01b03160361063d576000826001600160a01b0316600383815481106104c8576104c8611224565b60009182526020822060029091020154604051909181818185875af1925050503d8060008114610514576040519150601f19603f3d011682016040523d82523d6000602084013e610519565b606091505b505090508061056a5760405162461bcd60e51b815260206004820152601a60248201527f4c75636b794a61636b706f743a2053656e64206661696c65642e0000000000006044820152606401610441565b600354610579906001906112af565b82146105fb576003805461058f906001906112af565b8154811061059f5761059f611224565b9060005260206000209060020201600383815481106105c0576105c0611224565b600091825260209091208254600290920201908155600191820154910180546001600160a01b0319166001600160a01b039092169190911790555b600380548061060c5761060c6112c6565b60008281526020812060026000199093019283020190815560010180546001600160a01b031916905590555061064f565b8061064781611250565b915050610460565b50506001805460ff60a01b19169055565b610668610d30565b600080546040516001600160a01b039091169183156108fc02918491818181858888f193505050501580156106a1573d6000803e3d6000fd5b5050565b6106ad610d30565b6106b76000610d8a565b565b6001546001600160a01b031633146106e35760405162461bcd60e51b8152600401610441906112dc565b600154600160a01b900460ff161561070d5760405162461bcd60e51b815260040161044190611269565b6001805460ff60a01b1916600160a01b179055848314801561072e57508481145b61078d5760405162461bcd60e51b815260206004820152602a60248201527f4c75636b794a61636b706f743a204c656e677468206f6620617272617973206d6044820152693ab9ba1036b0ba31b41760b11b6064820152608401610441565b60005b8581101561080b576107f98787838181106107ad576107ad611224565b905060200201358686848181106107c6576107c6611224565b90506020020160208101906107db91906110b8565b8585858181106107ed576107ed611224565b90506020020135610dda565b8061080381611250565b915050610790565b5060006108196001876112af565b905060005b8681101561094f57600254888861083584866112af565b81811061084457610844611224565b90506020020135146108f95760028054610860906001906112af565b8154811061087057610870611224565b906000526020600020906003020160028989848661088e91906112af565b81811061089d5761089d611224565b90506020020135815481106108b4576108b4611224565b60009182526020909120825460039092020190815560018083015490820155600291820154910180546001600160a01b0319166001600160a01b039092169190911790555b600280548061090a5761090a6112c6565b600082815260208120600360001990930192830201818155600181019190915560020180546001600160a01b031916905590558061094781611250565b91505061081e565b50506001805460ff60a01b19169055505050505050565b6001546001600160a01b031633146109905760405162461bcd60e51b8152600401610441906112dc565b6001546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156106a1573d6000803e3d6000fd5b6109d2610d30565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b03163314610a1e5760405162461bcd60e51b8152600401610441906112dc565b6000610a28610fb8565b604080516060810182528281523460208083018281526001600160a01b038881168587018181526002805460018101825560009190915296517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace60039098029788015592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf87015591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad090950180546001600160a01b031916959091169490941790935583519182528101849052929350917f6d418321e3f92c6a489352adfa53b0f97aef60e56d92ce0c2dfdf79970a2dd40910160405180910390a25050565b6001546001600160a01b03163314610b555760405162461bcd60e51b8152600401610441906112dc565b600154600160a01b900460ff1615610b7f5760405162461bcd60e51b815260040161044190611269565b6001805460ff60a01b1916600160a01b179055610b9d838383610dda565b600254610bac906001906112af565b8314610c385760028054610bc2906001906112af565b81548110610bd257610bd2611224565b906000526020600020906003020160028481548110610bf357610bf3611224565b60009182526020909120825460039092020190815560018083015490820155600291820154910180546001600160a01b0319166001600160a01b039092169190911790555b6002805480610c4957610c496112c6565b60008281526020812060036000199093019283020181815560018181019290925560020180546001600160a01b03191690559155805460ff60a01b19169055505050565b610c95610d30565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b610cbf610d30565b6001600160a01b038116610d245760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610441565b610d2d81610d8a565b50565b6000546001600160a01b031633146106b75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610441565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060028481548110610def57610def611224565b6000918252602082206001600390920201015491506001600160a01b03841661c350610e1b85856112af565b6040516000818181858888f193505050503d8060008114610e58576040519150601f19603f3d011682016040523d82523d6000602084013e610e5d565b606091505b5050604051909150339084156108fc029085906000818181858888f19350505050158015610e8f573d6000803e3d6000fd5b508015610f09576001600160a01b0384167fb3c089216f23b7daf9ba89aed51ed7cd7a84a690165388c507a0da320840c29a610ecb85856112af565b60028881548110610ede57610ede611224565b60009182526020918290206003909102015460408051938452918301520160405180910390a2610fb1565b600360405180604001604052808585610f2291906112af565b81526001600160a01b038781166020928301819052845460018082018755600096875295849020855160029092020190815593909201519290930180546001600160a01b03191692909316919091179091557f94865cfe07b56d8fc7d748debc2277d076807d3678da121aa700f3bf2a66df32610f9f85856112af565b60405190815260200160405180910390a25b5050505050565b6000610fc56001436112af565b6040805191406020830152016040516020818303038152906040528051906020012060001c905090565b600081518084526020808501945080840160005b8381101561101f57815187529582019590820190600101611003565b509495945050505050565b60608152600061103d6060830186610fef565b6020838203818501526110508287610fef565b8481036040860152855180825282870193509082019060005b8181101561108e5784516001600160a01b031683529383019391830191600101611069565b509098975050505050505050565b80356001600160a01b03811681146110b357600080fd5b919050565b6000602082840312156110ca57600080fd5b6110d38261109c565b9392505050565b6000602082840312156110ec57600080fd5b5035919050565b60008083601f84011261110557600080fd5b50813567ffffffffffffffff81111561111d57600080fd5b6020830191508360208260051b850101111561113857600080fd5b9250929050565b6000806000806000806060878903121561115857600080fd5b863567ffffffffffffffff8082111561117057600080fd5b61117c8a838b016110f3565b9098509650602089013591508082111561119557600080fd5b6111a18a838b016110f3565b909650945060408901359150808211156111ba57600080fd5b506111c789828a016110f3565b979a9699509497509295939492505050565b6000806000606084860312156111ee57600080fd5b833592506111fe6020850161109c565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016112625761126261123a565b5060010190565b60208082526026908201527f4c75636b794a61636b706f743a20506c7320646f206e6f742072656e7472616e60408201526531bc903ab99760d11b606082015260800190565b6000828210156112c1576112c161123a565b500390565b634e487b7160e01b600052603160045260246000fd5b6020808252602c908201527f4c75636b794a61636b706f743a204f6e6c792074686520626f742063616e206560408201526b3c32b1baba32903a3434b99760a11b60608201526080019056fea26469706673582212203547309530e519ba0d3707944f2f87879e591d259b9da83ccf3848cb1947514764736f6c634300080f0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000007e7cf3d8bfb8669f22f1969f78cf1577c86b3024

-----Decoded View---------------
Arg [0] : bot (address): 0x7E7cF3d8Bfb8669F22f1969f78CF1577C86b3024

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007e7cf3d8bfb8669f22f1969f78cf1577c86b3024


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.