ETH Price: $3,249.69 (+1.80%)

Contract

0x2AdC584a51185Ac528Db9612fE5F78B9E9C64e1a

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Close Game3850379912025-10-01 19:10:2371 days ago1759345823IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000350.01
Start Game3850372462025-10-01 19:07:1871 days ago1759345638IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001320.01
Close Game3850372312025-10-01 19:07:1471 days ago1759345634IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000350.01
Start Game3850364952025-10-01 19:04:1071 days ago1759345450IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001320.01
Close Game3850364832025-10-01 19:04:0771 days ago1759345447IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000350.01
Start Game3850357392025-10-01 19:01:0271 days ago1759345262IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001330.01
Close Game3850357262025-10-01 19:00:5971 days ago1759345259IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000350.01
Start Game3850349922025-10-01 18:57:5571 days ago1759345075IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001330.01
Close Game3850349792025-10-01 18:57:5271 days ago1759345072IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000350.01
Start Game3850342372025-10-01 18:54:4871 days ago1759344888IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001380.01
Close Game3850342112025-10-01 18:54:4171 days ago1759344881IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000370.01
Start Game3850334792025-10-01 18:51:3871 days ago1759344698IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001380.01
Close Game3850334502025-10-01 18:51:3171 days ago1759344691IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000370.01
Start Game3850327012025-10-01 18:48:2571 days ago1759344505IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001380.01
Close Game3850326772025-10-01 18:48:1971 days ago1759344499IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000370.01
Start Game3850319412025-10-01 18:45:1571 days ago1759344315IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001390.01
Close Game3850319272025-10-01 18:45:1171 days ago1759344311IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000370.01
Start Game3850311812025-10-01 18:42:0771 days ago1759344127IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.00000130.01
Close Game3850311672025-10-01 18:42:0371 days ago1759344123IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000340.01
Start Game3850304302025-10-01 18:38:5871 days ago1759343938IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001560.012023
Close Game3850304222025-10-01 18:38:5671 days ago1759343936IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000410.012074
Start Game3850296952025-10-01 18:35:5671 days ago1759343756IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001510.011641
Close Game3850296512025-10-01 18:35:4571 days ago1759343745IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.00000040.011975
Start Game3850289162025-10-01 18:32:4171 days ago1759343561IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000001320.010166
Close Game3850289002025-10-01 18:32:3771 days ago1759343557IN
(0x2adc584a51185ac528db9612fe5f78b9e9c64e1a)'>XYRO: Bull's Eye Game
0 ETH0.000000340.01014
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x3A0D9B80...8C1532F10
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Bullseye

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

//  SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.24;

import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol";
import {ITreasury} from "./interfaces/ITreasury.sol";
import {IDataStreamsVerifier} from "./interfaces/IDataStreamsVerifier.sol";

contract Bullseye is AccessControl {
    bytes32 public constant GAME_MASTER_ROLE = keccak256("GAME_MASTER_ROLE");
    uint256 constant DENOMINATOR = 10000;
    uint256 public exactRange = 5 * 1e18;
    uint256 public fee = 1000;
    uint256 public maxPlayers = 100;
    uint256[3][5] public rates = [
        [10000, 0, 0],
        [7500, 2500, 0],
        [9000, 1000, 0],
        [5000, 3500, 1500],
        [7500, 1500, 1000]
    ];
    event NewBullseyeRates(uint256[3] rate, uint256 playersCount, bool isExact);
    event NewMaxPlayers(uint256 newMax);
    event NewTreasury(address newTreasury);
    event NewFee(uint256 newFee);
    event NewExactRange(uint256 newExactRange);
    event BullseyeStart(
        uint256 startTime,
        uint32 stopPredictAt,
        uint32 endTime,
        uint256 depositAmount,
        uint8 feedNumber,
        address token,
        bytes32 gameId
    );
    event BullseyeNewPlayer(
        address player,
        uint256 assetPrice,
        uint256 depositAmount,
        bytes32 gameId,
        uint256 index,
        uint256 rakeback
    );
    event BullseyeFinalized(
        address[3] players,
        uint256[3] topIndexes,
        int192 finalPrice,
        bool isExact,
        bytes32 gameId
    );
    event BullseyeCancelled(bytes32 gameId);

    struct GameInfo {
        uint8 feedNumber;
        uint256 startTime;
        uint256 endTime;
        uint256 stopPredictAt;
        bool isMultiParticipationOn;
    }

    struct GuessStruct {
        address player;
        uint256 assetPrice;
        uint256 timestamp;
        uint256 rakeback;
    }

    GuessStruct[] public playerGuessData;
    uint256 packedData;
    uint8 private pricePrecision;
    uint256 constant timeGap = 30 seconds;
    mapping(address => bool) public isParticipating;
    uint256 public depositAmount;
    uint256 public totalRakeback;
    bytes32 public currentGameId;
    address public treasury;

    constructor() {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    /**
     * Starts bullseye game
     * @param endTime when the game iteration will end
     * @param stopPredictAt time when players can't enter the game
     * @param newDepositAmount amount to enter the game
     * @param feedNumber token position in array of Chainlink DataStreams feed IDs
     * @param token token for game deposits
     * @param isMultiParticipation if it's true then players are able to participate in game multiple times
     */
    function startGame(
        uint32 endTime,
        uint32 stopPredictAt,
        uint256 newDepositAmount,
        uint8 feedNumber,
        address token,
        uint8 precision,
        bool isMultiParticipation
    ) public onlyRole(GAME_MASTER_ROLE) {
        require(packedData == 0, "Finish previous game first");
        require(stopPredictAt - block.timestamp >= timeGap, "Wrong stop time");
        require(
            endTime - stopPredictAt >= timeGap,
            "Timeframe gap must be higher"
        );
        require(
            newDepositAmount >= ITreasury(treasury).minDepositAmount(token),
            "Wrong min deposit amount"
        );
        require(
            IDataStreamsVerifier(ITreasury(treasury).upkeep()).assetId(
                feedNumber
            ) != bytes32(0),
            "Wrong feed number"
        );
        pricePrecision = precision;
        packedData = (block.timestamp |
            (uint256(stopPredictAt) << 32) |
            (uint256(endTime) << 64) |
            (uint256(feedNumber) << 96) |
            (uint256(isMultiParticipation ? 1 : 0) << 104));
        currentGameId = keccak256(
            abi.encodePacked(endTime, block.timestamp, address(this))
        );
        depositAmount = newDepositAmount;
        ITreasury(treasury).setGameToken(currentGameId, token);
        emit BullseyeStart(
            block.timestamp,
            stopPredictAt,
            endTime,
            newDepositAmount,
            feedNumber,
            token,
            currentGameId
        );
    }

    /**
     * Participate in bullseye game and deposit funds
     * @param assetPrice player's picked asset price
     */
    function play(uint256 assetPrice) public {
        GameInfo memory game = decodeData();
        if (pricePrecision != 0) {
            assetPrice =
                (assetPrice / (10 ** pricePrecision)) *
                (10 ** pricePrecision);
        }
        if (!game.isMultiParticipationOn) {
            require(
                isParticipating[msg.sender] == false,
                "Already participating"
            );
            isParticipating[msg.sender] = true;
        }
        require(
            playerGuessData.length + 1 <= maxPlayers,
            "Max player amount reached"
        );
        require(
            game.stopPredictAt >= block.timestamp,
            "Game is closed for new players"
        );
        uint256 rakeback = ITreasury(treasury).depositAndLock(
            depositAmount,
            msg.sender,
            currentGameId,
            playerGuessData.length
        );
        playerGuessData.push(
            GuessStruct({
                player: msg.sender,
                assetPrice: assetPrice,
                timestamp: block.timestamp,
                rakeback: rakeback
            })
        );
        totalRakeback += rakeback;
        emit BullseyeNewPlayer(
            msg.sender,
            assetPrice,
            depositAmount,
            currentGameId,
            playerGuessData.length - 1,
            rakeback
        );
    }

    /**
     * Participate in bullseye game with deposited funds
     * @param assetPrice player's picked asset price
     */
    function playWithDeposit(uint256 assetPrice) public {
        GameInfo memory game = decodeData();
        if (pricePrecision != 0) {
            assetPrice =
                (assetPrice / (10 ** pricePrecision)) *
                (10 ** pricePrecision);
        }
        if (!game.isMultiParticipationOn) {
            require(
                isParticipating[msg.sender] == false,
                "Already participating"
            );
            isParticipating[msg.sender] = true;
        }
        require(
            playerGuessData.length + 1 <= maxPlayers,
            "Max player amount reached"
        );
        require(
            game.stopPredictAt >= block.timestamp,
            "Game is closed for new players"
        );
        uint256 rakeback = ITreasury(treasury).lock(
            depositAmount,
            msg.sender,
            playerGuessData.length,
            currentGameId
        );
        playerGuessData.push(
            GuessStruct({
                player: msg.sender,
                assetPrice: assetPrice,
                timestamp: block.timestamp,
                rakeback: rakeback
            })
        );
        totalRakeback += rakeback;
        emit BullseyeNewPlayer(
            msg.sender,
            assetPrice,
            depositAmount,
            currentGameId,
            playerGuessData.length - 1,
            rakeback
        );
    }

    /**
     * Participate in bullseye game and deposit funds with permit
     * @param assetPrice player's picked asset price
     */
    function playWithPermit(
        uint256 assetPrice,
        ITreasury.PermitData calldata permitData
    ) public {
        GameInfo memory game = decodeData();
        if (pricePrecision != 0) {
            assetPrice =
                (assetPrice / (10 ** pricePrecision)) *
                (10 ** pricePrecision);
        }
        if (!game.isMultiParticipationOn) {
            require(
                isParticipating[msg.sender] == false,
                "Already participating"
            );
            isParticipating[msg.sender] = true;
        }
        require(
            playerGuessData.length + 1 <= maxPlayers,
            "Max player amount reached"
        );
        require(
            game.stopPredictAt >= block.timestamp,
            "Game is closed for new players"
        );
        uint256 rakeback = ITreasury(treasury).depositAndLockWithPermit(
            depositAmount,
            msg.sender,
            currentGameId,
            playerGuessData.length,
            permitData.deadline,
            permitData.v,
            permitData.r,
            permitData.s
        );

        playerGuessData.push(
            GuessStruct({
                player: msg.sender,
                assetPrice: assetPrice,
                timestamp: block.timestamp,
                rakeback: rakeback
            })
        );
        totalRakeback += rakeback;
        emit BullseyeNewPlayer(
            msg.sender,
            assetPrice,
            depositAmount,
            currentGameId,
            playerGuessData.length - 1,
            rakeback
        );
    }

    /**
     * Finalizes bullseye game and distributes rewards to players
     * @param unverifiedReport Chainlink DataStreams report
     */
    function finalizeGame(
        bytes memory unverifiedReport
    ) public onlyRole(GAME_MASTER_ROLE) {
        GameInfo memory game = decodeData();
        require(currentGameId != bytes32(0), "Start the game first");
        require(block.timestamp >= game.endTime, "Too early to finish");
        if (playerGuessData.length < 2) {
            emit BullseyeCancelled(currentGameId);
            if (playerGuessData.length == 1) {
                GuessStruct memory currentGuessData = playerGuessData[0];
                ITreasury(treasury).refund(
                    depositAmount,
                    currentGuessData.player,
                    currentGameId
                );
                isParticipating[currentGuessData.player] = false;
                delete playerGuessData;
            }
            totalRakeback = 0;
            packedData = 0;
            currentGameId = bytes32(0);
            return;
        }

        address upkeep = ITreasury(treasury).upkeep();
        (int192 finalPrice, uint32 priceTimestamp) = IDataStreamsVerifier(
            upkeep
        ).verifyReportWithTimestamp(unverifiedReport, game.feedNumber);

        require(
            priceTimestamp - game.endTime <= 1 minutes,
            "Old chainlink report"
        );
        uint256[3] memory topIndexes;
        address[3] memory topPlayers;
        uint256[3] memory topTimestamps;
        uint256[3] memory topRakeback;
        uint256[3] memory closestDiff = [
            type(uint256).max,
            type(uint256).max,
            type(uint256).max
        ];
        for (uint256 j = 0; j < playerGuessData.length; j++) {
            GuessStruct memory currentGuessData = playerGuessData[j];
            uint256 currentDiff = currentGuessData.assetPrice >
                uint192(finalPrice)
                ? currentGuessData.assetPrice - uint192(finalPrice)
                : uint192(finalPrice) - currentGuessData.assetPrice;
            isParticipating[currentGuessData.player] = false;
            for (uint256 i = 0; i < 3; i++) {
                if (currentDiff < closestDiff[i]) {
                    for (uint256 k = 2; k > i; k--) {
                        closestDiff[k] = closestDiff[k - 1];
                        topPlayers[k] = topPlayers[k - 1];
                        topIndexes[k] = topIndexes[k - 1];
                        topRakeback[k] = topRakeback[k - 1];
                    }
                    closestDiff[i] = currentDiff;
                    topPlayers[i] = currentGuessData.player;
                    topTimestamps[i] = currentGuessData.timestamp;
                    topIndexes[i] = j;
                    topRakeback[i] = currentGuessData.rakeback;
                    break;
                } else if (
                    //write top timestamps
                    currentDiff == closestDiff[i] &&
                    currentGuessData.timestamp < topTimestamps[i]
                ) {
                    for (uint256 k = 2; k > i; k--) {
                        closestDiff[k] = closestDiff[k - 1];
                        topPlayers[k] = topPlayers[k - 1];
                        topIndexes[k] = topIndexes[k - 1];
                        topRakeback[k] = topRakeback[k - 1];
                    }
                    topIndexes[i] = j;
                    topPlayers[i] = currentGuessData.player;
                    topRakeback[i] = currentGuessData.rakeback;
                    topTimestamps[i] = currentGuessData.timestamp;
                    break;
                }
            }
        }
        uint256 totalDeposited = depositAmount * playerGuessData.length;
        uint256[3] memory currentRates;
        if (playerGuessData.length <= 5) {
            ITreasury(treasury).withdrawGameFee(
                totalDeposited - depositAmount,
                fee,
                currentGameId
            );
            currentRates = rates[0];
        } else if (playerGuessData.length <= 10) {
            ITreasury(treasury).withdrawGameFee(
                totalDeposited - 2 * depositAmount,
                fee,
                currentGameId
            );
            currentRates = closestDiff[0] <= exactRange ? rates[2] : rates[1];
        } else {
            ITreasury(treasury).withdrawGameFee(
                totalDeposited - 3 * depositAmount,
                fee,
                currentGameId
            );
            currentRates = closestDiff[0] <= exactRange ? rates[4] : rates[3];
        }

        uint256 winnersRakeback;
        for (uint i = 0; i < 3; i++) {
            if (currentRates[i] != 0) {
                winnersRakeback += ITreasury(treasury).lockedRakeback(
                    currentGameId,
                    topPlayers[i],
                    topIndexes[i]
                );
            }
        }

        for (uint256 i = 0; i < 3; i++) {
            if (topPlayers[i] != address(0)) {
                if (currentRates[i] != 0) {
                    ITreasury(treasury).distributeBullseye(
                        currentRates[i],
                        totalRakeback - winnersRakeback,
                        topPlayers[i],
                        currentGameId,
                        topIndexes[i]
                    );
                }
            }
        }
        ITreasury(treasury).bullseyeResetLockedAmount(currentGameId);
        emit BullseyeFinalized(
            topPlayers,
            topIndexes,
            finalPrice,
            closestDiff[0] <= exactRange,
            currentGameId
        );
        packedData = 0;
        totalRakeback = 0;
        ITreasury(treasury).setGameFinished(currentGameId);
        currentGameId = bytes32(0);
        delete playerGuessData;
    }

    /**
     * Closes game and makes refund
     */
    function closeGame() public onlyRole(GAME_MASTER_ROLE) {
        require(packedData != 0, "Game not started");
        uint256 deposit = depositAmount;
        for (uint i; i < playerGuessData.length; i++) {
            GuessStruct memory currentGuessData = playerGuessData[i];
            ITreasury(treasury).refund(
                deposit,
                currentGuessData.player,
                currentGameId,
                i
            );
            isParticipating[currentGuessData.player] = false;
        }
        emit BullseyeCancelled(currentGameId);
        totalRakeback = 0;
        packedData = 0;
        currentGameId = bytes32(0);
        delete playerGuessData;
    }

    /**
     * Returns decoded game data
     */
    function decodeData() public view returns (GameInfo memory data) {
        data.startTime = uint256(uint32(packedData));
        data.stopPredictAt = uint256(uint32(packedData >> 32));
        data.endTime = uint256(uint32(packedData >> 64));
        data.feedNumber = uint8(packedData >> 96);
        data.isMultiParticipationOn = packedData >> 104 == 1 ? true : false;
    }

    function getTotalPlayers() public view returns (uint256) {
        return playerGuessData.length;
    }

    /**
     * Change maximum players number
     * @param newMax new maximum number
     */
    function setMaxPlayers(uint256 newMax) public onlyRole(DEFAULT_ADMIN_ROLE) {
        maxPlayers = newMax;
        emit NewMaxPlayers(newMax);
    }

    /**
     * Change treasury address
     * @param newTreasury new treasury address
     */
    function setTreasury(
        address newTreasury
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        require(newTreasury != address(0), "Zero address");
        treasury = newTreasury;
        emit NewTreasury(newTreasury);
    }

    /**
     * Change exact range
     * @param newRange new exact range
     */
    function setExactRange(
        uint256 newRange
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        exactRange = newRange;
        emit NewExactRange(newRange);
    }

    /**
     * Change fee
     * @param newFee new fee in bp
     */
    function setFee(uint256 newFee) public onlyRole(DEFAULT_ADMIN_ROLE) {
        require(newFee <= 3000, "Fee exceeds the cap");
        fee = newFee;
        emit NewFee(newFee);
    }

    function getRateIndex(
        uint256 playersCount,
        bool isExact
    ) public pure returns (uint256 index) {
        if (playersCount <= 5) {
            index = 0;
        } else if (playersCount <= 10) {
            index = isExact ? 2 : 1;
        } else {
            index = isExact ? 4 : 3;
        }
    }

    function setRate(
        uint256[3] memory rate,
        uint256 playersCount,
        bool isExact
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        rates[getRateIndex(playersCount, isExact)] = rate;
        emit NewBullseyeRates(rate, playersCount, isExact);
    }
}

interface IERC20 {
    function decimals() external view returns (uint256);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)

pragma solidity ^0.8.20;

import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address account => bool) hasRole;
        bytes32 adminRole;
    }

    mapping(bytes32 role => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with an {AccessControlUnauthorizedAccount} error including the required role.
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual returns (bool) {
        return _roles[role].hasRole[account];
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
     * is missing `role`.
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert AccessControlUnauthorizedAccount(account, role);
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address callerConfirmation) public virtual {
        if (callerConfirmation != _msgSender()) {
            revert AccessControlBadConfirmation();
        }

        _revokeRole(role, callerConfirmation);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
        if (!hasRole(role, account)) {
            _roles[role].hasRole[account] = true;
            emit RoleGranted(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
        if (hasRole(role, account)) {
            _roles[role].hasRole[account] = false;
            emit RoleRevoked(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)

pragma solidity ^0.8.20;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev The `account` is missing a role.
     */
    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);

    /**
     * @dev The caller of a function is not the expected one.
     *
     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
     */
    error AccessControlBadConfirmation();

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     */
    function renounceRole(bytes32 role, address callerConfirmation) external;
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

interface IDataStreamsVerifier {
    function lastRetrievedPrice() external view returns (int192);

    function getPrice() external view returns (int192);

    function verifyReportWithTimestamp(
        bytes memory unverifiedReport,
        uint8 feedNumber
    ) external returns (int192, uint32);

    function assetId(uint8 index) external view returns (bytes32);
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

interface ITreasury {
    struct PermitData {
        uint256 deadline;
        uint8 v;
        bytes32 r;
        bytes32 s;
    }

    function DISTRIBUTOR_ROLE() external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function gameToken(bytes32 gameId) external view returns (address);

    function lockedRakeback(
        bytes32 gameId,
        address player,
        uint256 depositId
    ) external returns (uint256);

    function depositAndLock(
        uint256 amount,
        address from,
        bytes32 gameId,
        uint256 depositId
    ) external returns (uint256);

    function depositAndLock(
        uint256 amount,
        address from,
        bytes32 gameId,
        bool isRakeback
    ) external returns (uint256 rakeback);

    function depositAndLockWithPermit(
        uint256 amount,
        address from,
        bytes32 gameId,
        uint256 depositId,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 rakeback);

    function depositAndLockWithPermit(
        uint256 amount,
        address from,
        bytes32 gameId,
        bool isRakeback,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 rakeback);

    function lock(
        uint256 amount,
        address from,
        uint256 depositId,
        bytes32 gameId
    ) external returns (uint256 rakeback);

    function lock(
        uint256 amount,
        address from,
        bytes32 gameId,
        bool isRakeback
    ) external returns (uint256 rakeback);

    function upkeep() external view returns (address);

    function bullseyeResetLockedAmount(bytes32 gameId) external;

    function distributeBullseye(
        uint256 rate,
        uint256 lostTeamRakeback,
        address to,
        bytes32 gameId,
        uint256 depositId
    ) external;

    function approvedTokens(address token) external returns (bool);

    function refund(uint256 amount, address to, bytes32 gameId) external;

    function refund(
        uint256 amount,
        address to,
        bytes32 gameId,
        uint256 depositId
    ) external;

    function refundWithFees(
        uint256 amount,
        address to,
        uint256 refundFee,
        bytes32 gameId
    ) external;

    function refundWithFees(
        uint256 amount,
        address to,
        uint256 refundFee,
        bytes32 gameId,
        uint256 depositId
    ) external;

    function universalDistribute(
        address to,
        uint256 initialDeposit,
        bytes32 gameId,
        uint256 rate
    ) external;

    function universalDistribute(
        address to,
        uint256 initialDeposit,
        bytes32 gameId,
        uint256 depositId,
        uint256 rate
    ) external;

    function withdrawGameFee(
        uint256 lostTeamDeposits,
        uint256 gameFee,
        bytes32 gameId
    ) external returns (uint256 withdrawnFees);

    function calculateRate(
        uint256 wonTeamTotal,
        uint256 lostTeamRakeback,
        bytes32 gameId
    ) external returns (uint256);

    function withdrawInitiatorFee(
        uint256 lostTeamDeposits,
        uint256 wonTeamDeposits,
        uint256 initiatorFee,
        address initiator,
        bytes32 gameId
    ) external returns (uint256 withdrawnFees);

    function calculateRakebackAmount(
        address target,
        uint256 initialDeposit
    ) external;

    function setGameFinished(bytes32 gameId) external;

    function withdrawRakebackSetup(bytes32 gameId, address target) external;

    function setGameToken(bytes32 gameId, address token) external;

    function minDepositAmount(address token) external returns (uint256 amount);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"gameId","type":"bytes32"}],"name":"BullseyeCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[3]","name":"players","type":"address[3]"},{"indexed":false,"internalType":"uint256[3]","name":"topIndexes","type":"uint256[3]"},{"indexed":false,"internalType":"int192","name":"finalPrice","type":"int192"},{"indexed":false,"internalType":"bool","name":"isExact","type":"bool"},{"indexed":false,"internalType":"bytes32","name":"gameId","type":"bytes32"}],"name":"BullseyeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint256","name":"assetPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositAmount","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"gameId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rakeback","type":"uint256"}],"name":"BullseyeNewPlayer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"stopPredictAt","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"endTime","type":"uint32"},{"indexed":false,"internalType":"uint256","name":"depositAmount","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"feedNumber","type":"uint8"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"bytes32","name":"gameId","type":"bytes32"}],"name":"BullseyeStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[3]","name":"rate","type":"uint256[3]"},{"indexed":false,"internalType":"uint256","name":"playersCount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isExact","type":"bool"}],"name":"NewBullseyeRates","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newExactRange","type":"uint256"}],"name":"NewExactRange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"NewFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"NewMaxPlayers","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"NewTreasury","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GAME_MASTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentGameId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decodeData","outputs":[{"components":[{"internalType":"uint8","name":"feedNumber","type":"uint8"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"stopPredictAt","type":"uint256"},{"internalType":"bool","name":"isMultiParticipationOn","type":"bool"}],"internalType":"struct Bullseye.GameInfo","name":"data","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exactRange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"unverifiedReport","type":"bytes"}],"name":"finalizeGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"playersCount","type":"uint256"},{"internalType":"bool","name":"isExact","type":"bool"}],"name":"getRateIndex","outputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalPlayers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isParticipating","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPlayers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assetPrice","type":"uint256"}],"name":"play","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assetPrice","type":"uint256"}],"name":"playWithDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assetPrice","type":"uint256"},{"components":[{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct ITreasury.PermitData","name":"permitData","type":"tuple"}],"name":"playWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"playerGuessData","outputs":[{"internalType":"address","name":"player","type":"address"},{"internalType":"uint256","name":"assetPrice","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"rakeback","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRange","type":"uint256"}],"name":"setExactRange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxPlayers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[3]","name":"rate","type":"uint256[3]"},{"internalType":"uint256","name":"playersCount","type":"uint256"},{"internalType":"bool","name":"isExact","type":"bool"}],"name":"setRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTreasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"endTime","type":"uint32"},{"internalType":"uint32","name":"stopPredictAt","type":"uint32"},{"internalType":"uint256","name":"newDepositAmount","type":"uint256"},{"internalType":"uint8","name":"feedNumber","type":"uint8"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint8","name":"precision","type":"uint8"},{"internalType":"bool","name":"isMultiParticipation","type":"bool"}],"name":"startGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRakeback","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

0x674563918244f400006001556103e86002819055606460035561271061012090815260006101408190526101608190526080918252611d4c6101808181526109c46101a0526101c083905260a0526123286101e09081526102008590526102209290925260c091909152611388610240908152610dac610260526105dc61028081905260e0919091526103006040526102a09182526102c0526102e09290925261010091909152620000b690600490600562000188565b50348015620000c457600080fd5b50620000d2600033620000d9565b5062000259565b6000828152602081815260408083206001600160a01b038516845290915281205460ff166200017e576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055620001353390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600162000182565b5060005b92915050565b600f83019183908215620001c8579160200282015b82811115620001c8578251620001b79083906003620001da565b50916020019190600301906200019d565b50620001d69291506200021f565b5090565b826003810192821562000211579160200282015b8281111562000211578251829061ffff16905591602001919060010190620001ee565b50620001d692915062000242565b80821115620001d65760008082556001820181905560028201556003016200021f565b5b80821115620001d6576000815560010162000243565b612f1380620002696000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806369fe0e2d1161010f578063b2c5c876116100a2578063ddca3f4311610071578063ddca3f431461046b578063f0f4426014610474578063f4caee8814610487578063fd979b11146104aa57600080fd5b8063b2c5c876146103ed578063be2779b1146103f6578063ce07b07514610409578063d547741f1461045857600080fd5b8063a217fddf116100de578063a217fddf146103aa578063ab544e86146103b2578063acebb280146103c5578063ad1def1e146103d857600080fd5b806369fe0e2d146103695780636d270b791461037c578063786b844b1461038f57806391d148541461039757600080fd5b80633d7c3f7e11610187578063536a3ddc11610156578063536a3ddc1461030f57806359b31abf1461031857806361d027b31461032b5780636898f82b1461035657600080fd5b80633d7c3f7e146102ec578063419759f5146102f55780634529cae7146102fe5780634c2412a21461030657600080fd5b8063268c418b116101c3578063268c418b14610276578063288dee3b146102b35780632f2ff15d146102c657806336568abe146102d957600080fd5b806301ffc9a7146101f557806305fe36a91461021d5780630f94aa0614610232578063248a9ca314610253575b600080fd5b610208610203366004612797565b6104bd565b60405190151581526020015b60405180910390f35b61023061022b3660046127c8565b6104f4565b005b6102456102403660046127f6565b610807565b604051908152602001610214565b6102456102613660046127c8565b60009081526020819052604090206001015490565b6102896102843660046127c8565b610853565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610214565b6102306102c13660046127c8565b610897565b6102306102d4366004612837565b6108df565b6102306102e7366004612837565b61090a565b61024560185481565b61024560175481565b601354610245565b61024560035481565b61024560195481565b610245610326366004612867565b610942565b601a5461033e906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b6102306103643660046127c8565b61096d565b6102306103773660046127c8565b610ab4565b61023061038a3660046128ac565b610b3c565b610230610fc5565b6102086103a5366004612837565b611197565b610245600081565b6102306103c03660046127c8565b6111c0565b6102306103d3366004612947565b611200565b610245600080516020612ebe83398151915281565b61024560015481565b6102306104043660046129f8565b612078565b6104116123cf565b6040516102149190600060a08201905060ff835116825260208301516020830152604083015160408301526060830151606083015260808301511515608083015292915050565b610230610466366004612837565b61245d565b61024560025481565b610230610482366004612a30565b612482565b610208610495366004612a30565b60166020526000908152604090205460ff1681565b6102306104b8366004612a4d565b612520565b60006001600160e01b03198216637965db0b60e01b14806104ee57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60006104fe6123cf565b60155490915060ff16156105455760155461051d9060ff16600a612bda565b60155461052e9060ff16600a612bda565b6105389084612be9565b6105429190612c0b565b91505b80608001516105a2573360009081526016602052604090205460ff16156105875760405162461bcd60e51b815260040161057e90612c22565b60405180910390fd5b336000908152601660205260409020805460ff191660011790555b6003546013546105b3906001612c51565b11156105d15760405162461bcd60e51b815260040161057e90612c64565b42816060015110156105f55760405162461bcd60e51b815260040161057e90612c9b565b601a546017546013546019546040516317acb94360e11b81526004810193909352336024840152604483019190915260648201526000916001600160a01b031690632f597286906084015b6020604051808303816000875af115801561065f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106839190612cd2565b6040805160808101825233815260208101868152429282019283526060820184815260138054600181018255600091825293517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a090600490950294850180546001600160a01b0319166001600160a01b0390921691909117905591517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09184015592517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09283015591517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09390910155601880549293508392909190610786908490612c51565b90915550506017546019546013547ffe0cc5fef412e95e7f14c3d9139114031680054e22ea3af65f1974c042255d1092339287926107c690600190612ceb565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0810183905260c00160405180910390a1505050565b600060058311610819575060006104ee565b600a831161083a578161082d576001610830565b60025b60ff1690506104ee565b81610846576003610849565b60045b60ff169392505050565b6013818154811061086357600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60006108a28161258e565b60038290556040518281527f3ea9e9d19ca2ee4b79642f3955efd4317eeca6308b8999a86b43ca083cea9141906020015b60405180910390a15050565b6000828152602081905260409020600101546108fa8161258e565b610904838361259b565b50505050565b6001600160a01b03811633146109335760405163334bd91960e11b815260040160405180910390fd5b61093d828261262d565b505050565b6004826005811061095257600080fd5b60030201816003811061096457600080fd5b01549150829050565b60006109776123cf565b60155490915060ff16156109be576015546109969060ff16600a612bda565b6015546109a79060ff16600a612bda565b6109b19084612be9565b6109bb9190612c0b565b91505b8060800151610a12573360009081526016602052604090205460ff16156109f75760405162461bcd60e51b815260040161057e90612c22565b336000908152601660205260409020805460ff191660011790555b600354601354610a23906001612c51565b1115610a415760405162461bcd60e51b815260040161057e90612c64565b4281606001511015610a655760405162461bcd60e51b815260040161057e90612c9b565b601a54601754601954601354604051633a6f4ebd60e21b81526004810193909352336024840152604483019190915260648201526000916001600160a01b03169063e9bd3af490608401610640565b6000610abf8161258e565b610bb8821115610b075760405162461bcd60e51b815260206004820152601360248201527204665652065786365656473207468652063617606c1b604482015260640161057e565b60028290556040518281527f63fe946ed58429ac3c5e64d4356ff92c26d7fa1e73586515df8ba9f059ab54a5906020016108d3565b600080516020612ebe833981519152610b548161258e565b60145415610ba45760405162461bcd60e51b815260206004820152601a60248201527f46696e6973682070726576696f75732067616d65206669727374000000000000604482015260640161057e565b601e610bb64263ffffffff8a16612ceb565b1015610bf65760405162461bcd60e51b815260206004820152600f60248201526e57726f6e672073746f702074696d6560881b604482015260640161057e565b601e610c02888a612cfe565b63ffffffff161015610c565760405162461bcd60e51b815260206004820152601c60248201527f54696d656672616d6520676170206d7573742062652068696768657200000000604482015260640161057e565b601a5460405163722ec76f60e01b81526001600160a01b0386811660048301529091169063722ec76f906024016020604051808303816000875af1158015610ca2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc69190612cd2565b861015610d155760405162461bcd60e51b815260206004820152601860248201527f57726f6e67206d696e206465706f73697420616d6f756e740000000000000000604482015260640161057e565b601a546040805163167a382560e11b815290516000926001600160a01b031691632cf4704a9160048083019260209291908290030181865afa158015610d5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d839190612d22565b60405163ae82b5c960e01b815260ff881660048201526001600160a01b03919091169063ae82b5c990602401602060405180830381865afa158015610dcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df09190612cd2565b03610e315760405162461bcd60e51b81526020600482015260116024820152702bb937b733903332b2b210373ab6b132b960791b604482015260640161057e565b6015805460ff191660ff8516179055606882610e4e576000610e51565b60015b60ff16901b60608660ff16901b60408a63ffffffff16901b60208a63ffffffff16901b4217171717601481905550874230604051602001610ec69392919060e09390931b6001600160e01b0319168352600483019190915260601b6bffffffffffffffffffffffff1916602482015260380190565b60408051808303601f1901815290829052805160209091012060198190556017889055601a5463039279d760e61b835260048301919091526001600160a01b038681166024840152169063e49e75c090604401600060405180830381600087803b158015610f3357600080fd5b505af1158015610f47573d6000803e3d6000fd5b50506019546040805142815263ffffffff8c811660208301528d1681830152606081018b905260ff8a1660808201526001600160a01b03891660a082015260c0810192909252517fe7043616418a598a809fa34b0cfd90a4b4123e2004b5be968024fba991c8b58493509081900360e0019150a15050505050505050565b600080516020612ebe833981519152610fdd8161258e565b6014546000036110225760405162461bcd60e51b815260206004820152601060248201526f11d85b59481b9bdd081cdd185c9d195960821b604482015260640161057e565b60175460005b60135481101561113a5760006013828154811061104757611047612d3f565b600091825260209182902060408051608081018252600493840290920180546001600160a01b039081168085526001830154968501969096526002820154848401526003909101546060840152601a546019549251637da3c4eb60e11b8152939650169363fb4789d6936110df938993918991019384526001600160a01b039290921660208401526040830152606082015260800190565b600060405180830381600087803b1580156110f957600080fd5b505af115801561110d573d6000803e3d6000fd5b505091516001600160a01b03166000908152601660205260409020805460ff191690555050600101611028565b507f712d82a27e9cc8c6f2ecbecd5a732cf15b6b16e38f3b65af9904d0aeba00d81860195460405161116e91815260200190565b60405180910390a16000601881905560148190556019819055611193906013906126d1565b5050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60006111cb8161258e565b60018290556040518281527ff2350a85c47cad6c064e0f0fd6bcdddd758a3e3c997106ccb9479e2669d67b6f906020016108d3565b600080516020612ebe8339815191526112188161258e565b60006112226123cf565b60195490915061126b5760405162461bcd60e51b815260206004820152601460248201527314dd185c9d081d1a194819d85b5948199a5c9cdd60621b604482015260640161057e565b80604001514210156112b55760405162461bcd60e51b81526020600482015260136024820152720a8dede40cac2e4d8f240e8de40ccd2dcd2e6d606b1b604482015260640161057e565b60135460021115611417577f712d82a27e9cc8c6f2ecbecd5a732cf15b6b16e38f3b65af9904d0aeba00d8186019546040516112f391815260200190565b60405180910390a1601354600103611403576000601360008154811061131b5761131b612d3f565b600091825260209182902060408051608081018252600493840290920180546001600160a01b039081168085526001830154968501969096526002820154848401526003909101546060840152601a546017546019549351630506a2ab60e11b815295860152602485019590955260448401919091529093509190911690630a0d455690606401600060405180830381600087803b1580156113bc57600080fd5b505af11580156113d0573d6000803e3d6000fd5b505082516001600160a01b03166000908152601660205260408120805460ff191690556114019250601391506126d1565b505b506000601881905560148190556019555050565b601a546040805163167a382560e11b815290516000926001600160a01b031691632cf4704a9160048083019260209291908290030181865afa158015611461573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114859190612d22565b825160405163d369dc6160e01b815291925060009182916001600160a01b0385169163d369dc61916114bc918a9190600401612d55565b60408051808303816000875af11580156114da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fe9190612dad565b91509150603c84604001518263ffffffff1661151a9190612ceb565b111561155f5760405162461bcd60e51b815260206004820152601460248201527313db190818da185a5b9b1a5b9ac81c995c1bdc9d60621b604482015260640161057e565b6115676126f2565b61156f6126f2565b6115776126f2565b61157f6126f2565b6000604051806060016040528060001981526020016000198152602001600019815250905060005b601354811015611a17576000601382815481106115c6576115c6612d3f565b6000918252602080832060408051608081018252600490940290910180546001600160a01b0316845260018101549284018390526002810154918401919091526003015460608301529092506001600160c01b038b161061163e576020820151611639906001600160c01b038c16612ceb565b611657565b896001600160c01b031682602001516116579190612ceb565b82516001600160a01b03166000908152601660205260408120805460ff191690559091505b6003811015611a0c5784816003811061169757611697612d3f565b60200201518210156118435760025b818111156117ae57856116ba600183612ceb565b600381106116ca576116ca612d3f565b60200201518682600381106116e1576116e1612d3f565b6020020152886116f2600183612ceb565b6003811061170257611702612d3f565b602002015189826003811061171957611719612d3f565b6001600160a01b03909216602092909202015289611738600183612ceb565b6003811061174857611748612d3f565b60200201518a826003811061175f5761175f612d3f565b602002015286611770600183612ceb565b6003811061178057611780612d3f565b602002015187826003811061179757611797612d3f565b6020020152806117a681612de2565b9150506116a6565b50818582600381106117c2576117c2612d3f565b602002015282518882600381106117db576117db612d3f565b6001600160a01b039092166020929092020152604083015187826003811061180557611805612d3f565b60200201528389826003811061181d5761181d612d3f565b6020020152606083015186826003811061183957611839612d3f565b6020020152611a0c565b84816003811061185557611855612d3f565b602002015182148015611881575086816003811061187557611875612d3f565b60200201518360400151105b15611a045760025b81811115611991578561189d600183612ceb565b600381106118ad576118ad612d3f565b60200201518682600381106118c4576118c4612d3f565b6020020152886118d5600183612ceb565b600381106118e5576118e5612d3f565b60200201518982600381106118fc576118fc612d3f565b6001600160a01b0390921660209290920201528961191b600183612ceb565b6003811061192b5761192b612d3f565b60200201518a826003811061194257611942612d3f565b602002015286611953600183612ceb565b6003811061196357611963612d3f565b602002015187826003811061197a5761197a612d3f565b60200201528061198981612de2565b915050611889565b50838982600381106119a5576119a5612d3f565b602002015282518882600381106119be576119be612d3f565b6001600160a01b03909216602092909202015260608301518682600381106119e8576119e8612d3f565b6020020152604083015187826003811061183957611839612d3f565b60010161167c565b5050506001016115a7565b50601354601754600091611a2a91612c0b565b9050611a346126f2565b601354600510611b1257601a546017546001600160a01b039091169063f70a686e90611a609085612ceb565b6002546019546040516001600160e01b031960e086901b1681526004810193909352602483019190915260448201526064016020604051808303816000875af1158015611ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad59190612cd2565b50600460005b60408051606081019182905292600392830201919082845b815481526020019060010190808311611af35750505050509050611cf1565b601354600a10611c0a57601a546017546001600160a01b039091169063f70a686e90611b3f906002612c0b565b611b499085612ceb565b6002546019546040516001600160e01b031960e086901b1681526004810193909352602483019190915260448201526064016020604051808303816000875af1158015611b9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbe9190612cd2565b5060015483511115611bd1576007611bda565b60046002611adb565b6040805160608101918290528254815291906003906001830160208501808311611af35750505050509050611cf1565b601a546017546001600160a01b039091169063f70a686e90611c2d906003612c0b565b611c379085612ceb565b6002546019546040516001600160e01b031960e086901b1681526004810193909352602483019190915260448201526064016020604051808303816000875af1158015611c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cac9190612cd2565b5060015483511115611cbf57600d611cc2565b60105b604080516060810191829052919060039082845b815481526020019060010190808311611cd657505050505090505b6000805b6003811015611dec57828160038110611d1057611d10612d3f565b602002015115611de457601a546019546001600160a01b039091169063f5c291ab908a8460038110611d4457611d44612d3f565b60200201518c8560038110611d5b57611d5b612d3f565b60200201516040516001600160e01b031960e086901b16815260048101939093526001600160a01b03909116602483015260448201526064016020604051808303816000875af1158015611db3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd79190612cd2565b611de19083612c51565b91505b600101611cf5565b5060005b6003811015611f1f576000888260038110611e0d57611e0d612d3f565b60200201516001600160a01b031614611f1757828160038110611e3257611e32612d3f565b602002015115611f1757601a546001600160a01b031663e7a842a2848360038110611e5f57611e5f612d3f565b602002015184601854611e729190612ceb565b8b8560038110611e8457611e84612d3f565b60200201516019548e8760038110611e9e57611e9e612d3f565b60200201516040516001600160e01b031960e088901b168152600481019590955260248501939093526001600160a01b0390911660448401526064830152608482015260a401600060405180830381600087803b158015611efe57600080fd5b505af1158015611f12573d6000803e3d6000fd5b505050505b600101611df0565b50601a54601954604051636ed48b3d60e11b81526001600160a01b039092169163dda9167a91611f559160040190815260200190565b600060405180830381600087803b158015611f6f57600080fd5b505af1158015611f83573d6000803e3d6000fd5b505050507f3672fd56560e49f0f4d041528094fadff7cf68cb7cca887f7cfd6f06b2260f2187898c60015488600060038110611fc157611fc1612d3f565b60200201511115601954604051611fdc959493929190612e1c565b60405180910390a160006014819055601855601a54601954604051634f0644ef60e01b81526001600160a01b0390921691634f0644ef916120239160040190815260200190565b600060405180830381600087803b15801561203d57600080fd5b505af1158015612051573d6000803e3d6000fd5b5050600060198190556120689250601391506126d1565b5050505050505050505050505050565b60006120826123cf565b60155490915060ff16156120c9576015546120a19060ff16600a612bda565b6015546120b29060ff16600a612bda565b6120bc9085612be9565b6120c69190612c0b565b92505b806080015161211d573360009081526016602052604090205460ff16156121025760405162461bcd60e51b815260040161057e90612c22565b336000908152601660205260409020805460ff191660011790555b60035460135461212e906001612c51565b111561214c5760405162461bcd60e51b815260040161057e90612c64565b42816060015110156121705760405162461bcd60e51b815260040161057e90612c9b565b601a546017546019546013546000936001600160a01b031692634efb864992909133919088356121a660408b0160208c01612e7e565b604080516001600160e01b031960e08a901b16815260048101979097526001600160a01b03909516602487015260448601939093526064850191909152608484015260ff1660a483015286013560c4820152606086013560e4820152610104016020604051808303816000875af1158015612225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122499190612cd2565b6040805160808101825233815260208101878152429282019283526060820184815260138054600181018255600091825293517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a090600490950294850180546001600160a01b0319166001600160a01b0390921691909117905591517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09184015592517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09283015591517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0939091015560188054929350839290919061234c908490612c51565b90915550506017546019546013547ffe0cc5fef412e95e7f14c3d9139114031680054e22ea3af65f1974c042255d10923392889261238c90600190612ceb565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0810183905260c0015b60405180910390a150505050565b6124066040518060a00160405280600060ff1681526020016000815260200160008152602001600081526020016000151581525090565b60145463ffffffff80821660208481019190915282901c8116606080850191909152604083811c9092169184019190915281901c60ff16825260681c600114612450576000612453565b60015b1515608082015290565b6000828152602081905260409020600101546124788161258e565b610904838361262d565b600061248d8161258e565b6001600160a01b0382166124d25760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b604482015260640161057e565b601a80546001600160a01b0319166001600160a01b0384169081179091556040519081527fafa147634b29e2c7bd53ce194256b9f41cfb9ba3036f2b822fdd1d965beea086906020016108d3565b600061252b8161258e565b8360046125388585610807565b6005811061254857612548612d3f565b6003020190600361255a929190612710565b507fab9c2c030fa7902af7c116002d515e64069a55d8033e2f5347ca1e809492c6308484846040516123c193929190612e99565b6125988133612698565b50565b60006125a78383611197565b612625576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556125dd3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016104ee565b5060006104ee565b60006126398383611197565b15612625576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016104ee565b6126a28282611197565b6111935760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440161057e565b5080546000825560040290600052602060002090810190612598919061274e565b60405180606001604052806003906020820280368337509192915050565b826003810192821561273e579160200282015b8281111561273e578251825591602001919060010190612723565b5061274a929150612782565b5090565b5b8082111561274a5780546001600160a01b031916815560006001820181905560028201819055600382015560040161274f565b5b8082111561274a5760008155600101612783565b6000602082840312156127a957600080fd5b81356001600160e01b0319811681146127c157600080fd5b9392505050565b6000602082840312156127da57600080fd5b5035919050565b803580151581146127f157600080fd5b919050565b6000806040838503121561280957600080fd5b82359150612819602084016127e1565b90509250929050565b6001600160a01b038116811461259857600080fd5b6000806040838503121561284a57600080fd5b82359150602083013561285c81612822565b809150509250929050565b6000806040838503121561287a57600080fd5b50508035926020909101359150565b63ffffffff8116811461259857600080fd5b803560ff811681146127f157600080fd5b600080600080600080600060e0888a0312156128c757600080fd5b87356128d281612889565b965060208801356128e281612889565b9550604088013594506128f76060890161289b565b9350608088013561290781612822565b925061291560a0890161289b565b915061292360c089016127e1565b905092959891949750929550565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561295957600080fd5b813567ffffffffffffffff8082111561297157600080fd5b818401915084601f83011261298557600080fd5b81358181111561299757612997612931565b604051601f8201601f19908116603f011681019083821181831017156129bf576129bf612931565b816040528281528760208487010111156129d857600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008082840360a0811215612a0c57600080fd5b833592506080601f1982011215612a2257600080fd5b506020830190509250929050565b600060208284031215612a4257600080fd5b81356127c181612822565b600080600060a08486031215612a6257600080fd5b84601f850112612a7157600080fd5b6040516060810181811067ffffffffffffffff82111715612a9457612a94612931565b604052806060860187811115612aa957600080fd5b865b81811015612ac3578035835260209283019201612aab565b5091945050359150612ad7608085016127e1565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115612b31578160001904821115612b1757612b17612ae0565b80851615612b2457918102915b93841c9390800290612afb565b509250929050565b600082612b48575060016104ee565b81612b55575060006104ee565b8160018114612b6b5760028114612b7557612b91565b60019150506104ee565b60ff841115612b8657612b86612ae0565b50506001821b6104ee565b5060208310610133831016604e8410600b8410161715612bb4575081810a6104ee565b612bbe8383612af6565b8060001904821115612bd257612bd2612ae0565b029392505050565b60006127c160ff841683612b39565b600082612c0657634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176104ee576104ee612ae0565b602080825260159082015274416c72656164792070617274696369706174696e6760581b604082015260600190565b808201808211156104ee576104ee612ae0565b60208082526019908201527f4d617820706c6179657220616d6f756e74207265616368656400000000000000604082015260600190565b6020808252601e908201527f47616d6520697320636c6f73656420666f72206e657720706c61796572730000604082015260600190565b600060208284031215612ce457600080fd5b5051919050565b818103818111156104ee576104ee612ae0565b63ffffffff828116828216039080821115612d1b57612d1b612ae0565b5092915050565b600060208284031215612d3457600080fd5b81516127c181612822565b634e487b7160e01b600052603260045260246000fd5b604081526000835180604084015260005b81811015612d835760208187018101516060868401015201612d66565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b60008060408385031215612dc057600080fd5b82518060170b8114612dd157600080fd5b602084015190925061285c81612889565b600081612df157612df1612ae0565b506000190190565b8060005b6003811015610904578151845260209384019390910190600101612dfd565b6101208101818760005b6003811015612e4e5781516001600160a01b0316835260209283019290910190600101612e26565b505050612e5e6060830187612df9565b60179490940b60c082015291151560e08301526101009091015292915050565b600060208284031215612e9057600080fd5b6127c18261289b565b60a08101612ea78286612df9565b836060830152821515608083015294935050505056fe1d93c87416ca7b54f0fb8323167b72760e8e2ec93d48660953897a150f97a8b4a2646970667358221220f19f1e6a714876003e9d25e4531128d607c0e46c97fe8ba3ccb54adf3bbc54b964736f6c63430008180033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c806369fe0e2d1161010f578063b2c5c876116100a2578063ddca3f4311610071578063ddca3f431461046b578063f0f4426014610474578063f4caee8814610487578063fd979b11146104aa57600080fd5b8063b2c5c876146103ed578063be2779b1146103f6578063ce07b07514610409578063d547741f1461045857600080fd5b8063a217fddf116100de578063a217fddf146103aa578063ab544e86146103b2578063acebb280146103c5578063ad1def1e146103d857600080fd5b806369fe0e2d146103695780636d270b791461037c578063786b844b1461038f57806391d148541461039757600080fd5b80633d7c3f7e11610187578063536a3ddc11610156578063536a3ddc1461030f57806359b31abf1461031857806361d027b31461032b5780636898f82b1461035657600080fd5b80633d7c3f7e146102ec578063419759f5146102f55780634529cae7146102fe5780634c2412a21461030657600080fd5b8063268c418b116101c3578063268c418b14610276578063288dee3b146102b35780632f2ff15d146102c657806336568abe146102d957600080fd5b806301ffc9a7146101f557806305fe36a91461021d5780630f94aa0614610232578063248a9ca314610253575b600080fd5b610208610203366004612797565b6104bd565b60405190151581526020015b60405180910390f35b61023061022b3660046127c8565b6104f4565b005b6102456102403660046127f6565b610807565b604051908152602001610214565b6102456102613660046127c8565b60009081526020819052604090206001015490565b6102896102843660046127c8565b610853565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610214565b6102306102c13660046127c8565b610897565b6102306102d4366004612837565b6108df565b6102306102e7366004612837565b61090a565b61024560185481565b61024560175481565b601354610245565b61024560035481565b61024560195481565b610245610326366004612867565b610942565b601a5461033e906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b6102306103643660046127c8565b61096d565b6102306103773660046127c8565b610ab4565b61023061038a3660046128ac565b610b3c565b610230610fc5565b6102086103a5366004612837565b611197565b610245600081565b6102306103c03660046127c8565b6111c0565b6102306103d3366004612947565b611200565b610245600080516020612ebe83398151915281565b61024560015481565b6102306104043660046129f8565b612078565b6104116123cf565b6040516102149190600060a08201905060ff835116825260208301516020830152604083015160408301526060830151606083015260808301511515608083015292915050565b610230610466366004612837565b61245d565b61024560025481565b610230610482366004612a30565b612482565b610208610495366004612a30565b60166020526000908152604090205460ff1681565b6102306104b8366004612a4d565b612520565b60006001600160e01b03198216637965db0b60e01b14806104ee57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60006104fe6123cf565b60155490915060ff16156105455760155461051d9060ff16600a612bda565b60155461052e9060ff16600a612bda565b6105389084612be9565b6105429190612c0b565b91505b80608001516105a2573360009081526016602052604090205460ff16156105875760405162461bcd60e51b815260040161057e90612c22565b60405180910390fd5b336000908152601660205260409020805460ff191660011790555b6003546013546105b3906001612c51565b11156105d15760405162461bcd60e51b815260040161057e90612c64565b42816060015110156105f55760405162461bcd60e51b815260040161057e90612c9b565b601a546017546013546019546040516317acb94360e11b81526004810193909352336024840152604483019190915260648201526000916001600160a01b031690632f597286906084015b6020604051808303816000875af115801561065f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106839190612cd2565b6040805160808101825233815260208101868152429282019283526060820184815260138054600181018255600091825293517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a090600490950294850180546001600160a01b0319166001600160a01b0390921691909117905591517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09184015592517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09283015591517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09390910155601880549293508392909190610786908490612c51565b90915550506017546019546013547ffe0cc5fef412e95e7f14c3d9139114031680054e22ea3af65f1974c042255d1092339287926107c690600190612ceb565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0810183905260c00160405180910390a1505050565b600060058311610819575060006104ee565b600a831161083a578161082d576001610830565b60025b60ff1690506104ee565b81610846576003610849565b60045b60ff169392505050565b6013818154811061086357600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60006108a28161258e565b60038290556040518281527f3ea9e9d19ca2ee4b79642f3955efd4317eeca6308b8999a86b43ca083cea9141906020015b60405180910390a15050565b6000828152602081905260409020600101546108fa8161258e565b610904838361259b565b50505050565b6001600160a01b03811633146109335760405163334bd91960e11b815260040160405180910390fd5b61093d828261262d565b505050565b6004826005811061095257600080fd5b60030201816003811061096457600080fd5b01549150829050565b60006109776123cf565b60155490915060ff16156109be576015546109969060ff16600a612bda565b6015546109a79060ff16600a612bda565b6109b19084612be9565b6109bb9190612c0b565b91505b8060800151610a12573360009081526016602052604090205460ff16156109f75760405162461bcd60e51b815260040161057e90612c22565b336000908152601660205260409020805460ff191660011790555b600354601354610a23906001612c51565b1115610a415760405162461bcd60e51b815260040161057e90612c64565b4281606001511015610a655760405162461bcd60e51b815260040161057e90612c9b565b601a54601754601954601354604051633a6f4ebd60e21b81526004810193909352336024840152604483019190915260648201526000916001600160a01b03169063e9bd3af490608401610640565b6000610abf8161258e565b610bb8821115610b075760405162461bcd60e51b815260206004820152601360248201527204665652065786365656473207468652063617606c1b604482015260640161057e565b60028290556040518281527f63fe946ed58429ac3c5e64d4356ff92c26d7fa1e73586515df8ba9f059ab54a5906020016108d3565b600080516020612ebe833981519152610b548161258e565b60145415610ba45760405162461bcd60e51b815260206004820152601a60248201527f46696e6973682070726576696f75732067616d65206669727374000000000000604482015260640161057e565b601e610bb64263ffffffff8a16612ceb565b1015610bf65760405162461bcd60e51b815260206004820152600f60248201526e57726f6e672073746f702074696d6560881b604482015260640161057e565b601e610c02888a612cfe565b63ffffffff161015610c565760405162461bcd60e51b815260206004820152601c60248201527f54696d656672616d6520676170206d7573742062652068696768657200000000604482015260640161057e565b601a5460405163722ec76f60e01b81526001600160a01b0386811660048301529091169063722ec76f906024016020604051808303816000875af1158015610ca2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc69190612cd2565b861015610d155760405162461bcd60e51b815260206004820152601860248201527f57726f6e67206d696e206465706f73697420616d6f756e740000000000000000604482015260640161057e565b601a546040805163167a382560e11b815290516000926001600160a01b031691632cf4704a9160048083019260209291908290030181865afa158015610d5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d839190612d22565b60405163ae82b5c960e01b815260ff881660048201526001600160a01b03919091169063ae82b5c990602401602060405180830381865afa158015610dcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df09190612cd2565b03610e315760405162461bcd60e51b81526020600482015260116024820152702bb937b733903332b2b210373ab6b132b960791b604482015260640161057e565b6015805460ff191660ff8516179055606882610e4e576000610e51565b60015b60ff16901b60608660ff16901b60408a63ffffffff16901b60208a63ffffffff16901b4217171717601481905550874230604051602001610ec69392919060e09390931b6001600160e01b0319168352600483019190915260601b6bffffffffffffffffffffffff1916602482015260380190565b60408051808303601f1901815290829052805160209091012060198190556017889055601a5463039279d760e61b835260048301919091526001600160a01b038681166024840152169063e49e75c090604401600060405180830381600087803b158015610f3357600080fd5b505af1158015610f47573d6000803e3d6000fd5b50506019546040805142815263ffffffff8c811660208301528d1681830152606081018b905260ff8a1660808201526001600160a01b03891660a082015260c0810192909252517fe7043616418a598a809fa34b0cfd90a4b4123e2004b5be968024fba991c8b58493509081900360e0019150a15050505050505050565b600080516020612ebe833981519152610fdd8161258e565b6014546000036110225760405162461bcd60e51b815260206004820152601060248201526f11d85b59481b9bdd081cdd185c9d195960821b604482015260640161057e565b60175460005b60135481101561113a5760006013828154811061104757611047612d3f565b600091825260209182902060408051608081018252600493840290920180546001600160a01b039081168085526001830154968501969096526002820154848401526003909101546060840152601a546019549251637da3c4eb60e11b8152939650169363fb4789d6936110df938993918991019384526001600160a01b039290921660208401526040830152606082015260800190565b600060405180830381600087803b1580156110f957600080fd5b505af115801561110d573d6000803e3d6000fd5b505091516001600160a01b03166000908152601660205260409020805460ff191690555050600101611028565b507f712d82a27e9cc8c6f2ecbecd5a732cf15b6b16e38f3b65af9904d0aeba00d81860195460405161116e91815260200190565b60405180910390a16000601881905560148190556019819055611193906013906126d1565b5050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60006111cb8161258e565b60018290556040518281527ff2350a85c47cad6c064e0f0fd6bcdddd758a3e3c997106ccb9479e2669d67b6f906020016108d3565b600080516020612ebe8339815191526112188161258e565b60006112226123cf565b60195490915061126b5760405162461bcd60e51b815260206004820152601460248201527314dd185c9d081d1a194819d85b5948199a5c9cdd60621b604482015260640161057e565b80604001514210156112b55760405162461bcd60e51b81526020600482015260136024820152720a8dede40cac2e4d8f240e8de40ccd2dcd2e6d606b1b604482015260640161057e565b60135460021115611417577f712d82a27e9cc8c6f2ecbecd5a732cf15b6b16e38f3b65af9904d0aeba00d8186019546040516112f391815260200190565b60405180910390a1601354600103611403576000601360008154811061131b5761131b612d3f565b600091825260209182902060408051608081018252600493840290920180546001600160a01b039081168085526001830154968501969096526002820154848401526003909101546060840152601a546017546019549351630506a2ab60e11b815295860152602485019590955260448401919091529093509190911690630a0d455690606401600060405180830381600087803b1580156113bc57600080fd5b505af11580156113d0573d6000803e3d6000fd5b505082516001600160a01b03166000908152601660205260408120805460ff191690556114019250601391506126d1565b505b506000601881905560148190556019555050565b601a546040805163167a382560e11b815290516000926001600160a01b031691632cf4704a9160048083019260209291908290030181865afa158015611461573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114859190612d22565b825160405163d369dc6160e01b815291925060009182916001600160a01b0385169163d369dc61916114bc918a9190600401612d55565b60408051808303816000875af11580156114da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fe9190612dad565b91509150603c84604001518263ffffffff1661151a9190612ceb565b111561155f5760405162461bcd60e51b815260206004820152601460248201527313db190818da185a5b9b1a5b9ac81c995c1bdc9d60621b604482015260640161057e565b6115676126f2565b61156f6126f2565b6115776126f2565b61157f6126f2565b6000604051806060016040528060001981526020016000198152602001600019815250905060005b601354811015611a17576000601382815481106115c6576115c6612d3f565b6000918252602080832060408051608081018252600490940290910180546001600160a01b0316845260018101549284018390526002810154918401919091526003015460608301529092506001600160c01b038b161061163e576020820151611639906001600160c01b038c16612ceb565b611657565b896001600160c01b031682602001516116579190612ceb565b82516001600160a01b03166000908152601660205260408120805460ff191690559091505b6003811015611a0c5784816003811061169757611697612d3f565b60200201518210156118435760025b818111156117ae57856116ba600183612ceb565b600381106116ca576116ca612d3f565b60200201518682600381106116e1576116e1612d3f565b6020020152886116f2600183612ceb565b6003811061170257611702612d3f565b602002015189826003811061171957611719612d3f565b6001600160a01b03909216602092909202015289611738600183612ceb565b6003811061174857611748612d3f565b60200201518a826003811061175f5761175f612d3f565b602002015286611770600183612ceb565b6003811061178057611780612d3f565b602002015187826003811061179757611797612d3f565b6020020152806117a681612de2565b9150506116a6565b50818582600381106117c2576117c2612d3f565b602002015282518882600381106117db576117db612d3f565b6001600160a01b039092166020929092020152604083015187826003811061180557611805612d3f565b60200201528389826003811061181d5761181d612d3f565b6020020152606083015186826003811061183957611839612d3f565b6020020152611a0c565b84816003811061185557611855612d3f565b602002015182148015611881575086816003811061187557611875612d3f565b60200201518360400151105b15611a045760025b81811115611991578561189d600183612ceb565b600381106118ad576118ad612d3f565b60200201518682600381106118c4576118c4612d3f565b6020020152886118d5600183612ceb565b600381106118e5576118e5612d3f565b60200201518982600381106118fc576118fc612d3f565b6001600160a01b0390921660209290920201528961191b600183612ceb565b6003811061192b5761192b612d3f565b60200201518a826003811061194257611942612d3f565b602002015286611953600183612ceb565b6003811061196357611963612d3f565b602002015187826003811061197a5761197a612d3f565b60200201528061198981612de2565b915050611889565b50838982600381106119a5576119a5612d3f565b602002015282518882600381106119be576119be612d3f565b6001600160a01b03909216602092909202015260608301518682600381106119e8576119e8612d3f565b6020020152604083015187826003811061183957611839612d3f565b60010161167c565b5050506001016115a7565b50601354601754600091611a2a91612c0b565b9050611a346126f2565b601354600510611b1257601a546017546001600160a01b039091169063f70a686e90611a609085612ceb565b6002546019546040516001600160e01b031960e086901b1681526004810193909352602483019190915260448201526064016020604051808303816000875af1158015611ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad59190612cd2565b50600460005b60408051606081019182905292600392830201919082845b815481526020019060010190808311611af35750505050509050611cf1565b601354600a10611c0a57601a546017546001600160a01b039091169063f70a686e90611b3f906002612c0b565b611b499085612ceb565b6002546019546040516001600160e01b031960e086901b1681526004810193909352602483019190915260448201526064016020604051808303816000875af1158015611b9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbe9190612cd2565b5060015483511115611bd1576007611bda565b60046002611adb565b6040805160608101918290528254815291906003906001830160208501808311611af35750505050509050611cf1565b601a546017546001600160a01b039091169063f70a686e90611c2d906003612c0b565b611c379085612ceb565b6002546019546040516001600160e01b031960e086901b1681526004810193909352602483019190915260448201526064016020604051808303816000875af1158015611c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cac9190612cd2565b5060015483511115611cbf57600d611cc2565b60105b604080516060810191829052919060039082845b815481526020019060010190808311611cd657505050505090505b6000805b6003811015611dec57828160038110611d1057611d10612d3f565b602002015115611de457601a546019546001600160a01b039091169063f5c291ab908a8460038110611d4457611d44612d3f565b60200201518c8560038110611d5b57611d5b612d3f565b60200201516040516001600160e01b031960e086901b16815260048101939093526001600160a01b03909116602483015260448201526064016020604051808303816000875af1158015611db3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd79190612cd2565b611de19083612c51565b91505b600101611cf5565b5060005b6003811015611f1f576000888260038110611e0d57611e0d612d3f565b60200201516001600160a01b031614611f1757828160038110611e3257611e32612d3f565b602002015115611f1757601a546001600160a01b031663e7a842a2848360038110611e5f57611e5f612d3f565b602002015184601854611e729190612ceb565b8b8560038110611e8457611e84612d3f565b60200201516019548e8760038110611e9e57611e9e612d3f565b60200201516040516001600160e01b031960e088901b168152600481019590955260248501939093526001600160a01b0390911660448401526064830152608482015260a401600060405180830381600087803b158015611efe57600080fd5b505af1158015611f12573d6000803e3d6000fd5b505050505b600101611df0565b50601a54601954604051636ed48b3d60e11b81526001600160a01b039092169163dda9167a91611f559160040190815260200190565b600060405180830381600087803b158015611f6f57600080fd5b505af1158015611f83573d6000803e3d6000fd5b505050507f3672fd56560e49f0f4d041528094fadff7cf68cb7cca887f7cfd6f06b2260f2187898c60015488600060038110611fc157611fc1612d3f565b60200201511115601954604051611fdc959493929190612e1c565b60405180910390a160006014819055601855601a54601954604051634f0644ef60e01b81526001600160a01b0390921691634f0644ef916120239160040190815260200190565b600060405180830381600087803b15801561203d57600080fd5b505af1158015612051573d6000803e3d6000fd5b5050600060198190556120689250601391506126d1565b5050505050505050505050505050565b60006120826123cf565b60155490915060ff16156120c9576015546120a19060ff16600a612bda565b6015546120b29060ff16600a612bda565b6120bc9085612be9565b6120c69190612c0b565b92505b806080015161211d573360009081526016602052604090205460ff16156121025760405162461bcd60e51b815260040161057e90612c22565b336000908152601660205260409020805460ff191660011790555b60035460135461212e906001612c51565b111561214c5760405162461bcd60e51b815260040161057e90612c64565b42816060015110156121705760405162461bcd60e51b815260040161057e90612c9b565b601a546017546019546013546000936001600160a01b031692634efb864992909133919088356121a660408b0160208c01612e7e565b604080516001600160e01b031960e08a901b16815260048101979097526001600160a01b03909516602487015260448601939093526064850191909152608484015260ff1660a483015286013560c4820152606086013560e4820152610104016020604051808303816000875af1158015612225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122499190612cd2565b6040805160808101825233815260208101878152429282019283526060820184815260138054600181018255600091825293517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a090600490950294850180546001600160a01b0319166001600160a01b0390921691909117905591517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09184015592517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a09283015591517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0939091015560188054929350839290919061234c908490612c51565b90915550506017546019546013547ffe0cc5fef412e95e7f14c3d9139114031680054e22ea3af65f1974c042255d10923392889261238c90600190612ceb565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0810183905260c0015b60405180910390a150505050565b6124066040518060a00160405280600060ff1681526020016000815260200160008152602001600081526020016000151581525090565b60145463ffffffff80821660208481019190915282901c8116606080850191909152604083811c9092169184019190915281901c60ff16825260681c600114612450576000612453565b60015b1515608082015290565b6000828152602081905260409020600101546124788161258e565b610904838361262d565b600061248d8161258e565b6001600160a01b0382166124d25760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b604482015260640161057e565b601a80546001600160a01b0319166001600160a01b0384169081179091556040519081527fafa147634b29e2c7bd53ce194256b9f41cfb9ba3036f2b822fdd1d965beea086906020016108d3565b600061252b8161258e565b8360046125388585610807565b6005811061254857612548612d3f565b6003020190600361255a929190612710565b507fab9c2c030fa7902af7c116002d515e64069a55d8033e2f5347ca1e809492c6308484846040516123c193929190612e99565b6125988133612698565b50565b60006125a78383611197565b612625576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556125dd3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016104ee565b5060006104ee565b60006126398383611197565b15612625576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016104ee565b6126a28282611197565b6111935760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440161057e565b5080546000825560040290600052602060002090810190612598919061274e565b60405180606001604052806003906020820280368337509192915050565b826003810192821561273e579160200282015b8281111561273e578251825591602001919060010190612723565b5061274a929150612782565b5090565b5b8082111561274a5780546001600160a01b031916815560006001820181905560028201819055600382015560040161274f565b5b8082111561274a5760008155600101612783565b6000602082840312156127a957600080fd5b81356001600160e01b0319811681146127c157600080fd5b9392505050565b6000602082840312156127da57600080fd5b5035919050565b803580151581146127f157600080fd5b919050565b6000806040838503121561280957600080fd5b82359150612819602084016127e1565b90509250929050565b6001600160a01b038116811461259857600080fd5b6000806040838503121561284a57600080fd5b82359150602083013561285c81612822565b809150509250929050565b6000806040838503121561287a57600080fd5b50508035926020909101359150565b63ffffffff8116811461259857600080fd5b803560ff811681146127f157600080fd5b600080600080600080600060e0888a0312156128c757600080fd5b87356128d281612889565b965060208801356128e281612889565b9550604088013594506128f76060890161289b565b9350608088013561290781612822565b925061291560a0890161289b565b915061292360c089016127e1565b905092959891949750929550565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561295957600080fd5b813567ffffffffffffffff8082111561297157600080fd5b818401915084601f83011261298557600080fd5b81358181111561299757612997612931565b604051601f8201601f19908116603f011681019083821181831017156129bf576129bf612931565b816040528281528760208487010111156129d857600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008082840360a0811215612a0c57600080fd5b833592506080601f1982011215612a2257600080fd5b506020830190509250929050565b600060208284031215612a4257600080fd5b81356127c181612822565b600080600060a08486031215612a6257600080fd5b84601f850112612a7157600080fd5b6040516060810181811067ffffffffffffffff82111715612a9457612a94612931565b604052806060860187811115612aa957600080fd5b865b81811015612ac3578035835260209283019201612aab565b5091945050359150612ad7608085016127e1565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115612b31578160001904821115612b1757612b17612ae0565b80851615612b2457918102915b93841c9390800290612afb565b509250929050565b600082612b48575060016104ee565b81612b55575060006104ee565b8160018114612b6b5760028114612b7557612b91565b60019150506104ee565b60ff841115612b8657612b86612ae0565b50506001821b6104ee565b5060208310610133831016604e8410600b8410161715612bb4575081810a6104ee565b612bbe8383612af6565b8060001904821115612bd257612bd2612ae0565b029392505050565b60006127c160ff841683612b39565b600082612c0657634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176104ee576104ee612ae0565b602080825260159082015274416c72656164792070617274696369706174696e6760581b604082015260600190565b808201808211156104ee576104ee612ae0565b60208082526019908201527f4d617820706c6179657220616d6f756e74207265616368656400000000000000604082015260600190565b6020808252601e908201527f47616d6520697320636c6f73656420666f72206e657720706c61796572730000604082015260600190565b600060208284031215612ce457600080fd5b5051919050565b818103818111156104ee576104ee612ae0565b63ffffffff828116828216039080821115612d1b57612d1b612ae0565b5092915050565b600060208284031215612d3457600080fd5b81516127c181612822565b634e487b7160e01b600052603260045260246000fd5b604081526000835180604084015260005b81811015612d835760208187018101516060868401015201612d66565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b60008060408385031215612dc057600080fd5b82518060170b8114612dd157600080fd5b602084015190925061285c81612889565b600081612df157612df1612ae0565b506000190190565b8060005b6003811015610904578151845260209384019390910190600101612dfd565b6101208101818760005b6003811015612e4e5781516001600160a01b0316835260209283019290910190600101612e26565b505050612e5e6060830187612df9565b60179490940b60c082015291151560e08301526101009091015292915050565b600060208284031215612e9057600080fd5b6127c18261289b565b60a08101612ea78286612df9565b836060830152821515608083015294935050505056fe1d93c87416ca7b54f0fb8323167b72760e8e2ec93d48660953897a150f97a8b4a2646970667358221220f19f1e6a714876003e9d25e4531128d607c0e46c97fe8ba3ccb54adf3bbc54b964736f6c63430008180033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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  ]

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.