ETH Price: $2,910.40 (+3.34%)

Contract

0x3eB9201C62023DB413da3043fe7C81Dd48Bdfb94
 

Overview

ETH Balance

0.000149999999744644 ETH

ETH Value

$0.44 (@ $2,910.40/ETH)

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Withdraw111745372024-11-09 13:28:09443 days ago1731158889IN
0x3eB9201C...d48Bdfb94
0 ETH0.000001090.00190376
Claim My Contrac...111745332024-11-09 13:28:01443 days ago1731158881IN
0x3eB9201C...d48Bdfb94
0 ETH0.000001070.00191021
Spin_erc2093468742024-09-28 6:06:03485 days ago1727503563IN
0x3eB9201C...d48Bdfb94
0 ETH0.000000190.00261395
Spin93320382024-09-27 21:51:31485 days ago1727473891IN
0x3eB9201C...d48Bdfb94
0.0025 ETH0.00000030.00154561
Spin93320182024-09-27 21:50:51485 days ago1727473851IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000290.00149859
Spin93320072024-09-27 21:50:29485 days ago1727473829IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.00000030.00153376
Spin93319972024-09-27 21:50:09485 days ago1727473809IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000290.001514
Spin93319872024-09-27 21:49:49485 days ago1727473789IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.00000030.0015159
Spin93319762024-09-27 21:49:27485 days ago1727473767IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.00000030.0015506
Spin93319662024-09-27 21:49:07485 days ago1727473747IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.00000030.00153344
Spin93319522024-09-27 21:48:39485 days ago1727473719IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.00000030.00155154
Spin93319412024-09-27 21:48:17485 days ago1727473697IN
0x3eB9201C...d48Bdfb94
0.0025 ETH0.00000030.00155301
Spin93319192024-09-27 21:47:33485 days ago1727473653IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.00000030.00155063
Spin93319092024-09-27 21:47:13485 days ago1727473633IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.00000030.00154972
Spin93318872024-09-27 21:46:29485 days ago1727473589IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000280.00143505
Spin93318672024-09-27 21:45:49485 days ago1727473549IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000280.00142362
Spin93318572024-09-27 21:45:29485 days ago1727473529IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000280.00142945
Spin93318462024-09-27 21:45:07485 days ago1727473507IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000280.00141231
Spin93318362024-09-27 21:44:47485 days ago1727473487IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000280.00141612
Spin93318252024-09-27 21:44:25485 days ago1727473465IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000270.00141969
Spin93318142024-09-27 21:44:03485 days ago1727473443IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000270.0013686
Spin93317992024-09-27 21:43:33485 days ago1727473413IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000270.00141167
Spin93317892024-09-27 21:43:13485 days ago1727473393IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000270.00138137
Spin93317632024-09-27 21:42:21485 days ago1727473341IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000270.0013799
Spin93317522024-09-27 21:41:59485 days ago1727473319IN
0x3eB9201C...d48Bdfb94
0.005 ETH0.000000260.00133561
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
111745372024-11-09 13:28:09443 days ago1731158889
0x3eB9201C...d48Bdfb94
0.043 ETH
93320412024-09-27 21:51:37485 days ago1727473897
0x3eB9201C...d48Bdfb94
0.003125 ETH
93320102024-09-27 21:50:35485 days ago1727473835
0x3eB9201C...d48Bdfb94
0.0025 ETH
93319892024-09-27 21:49:53485 days ago1727473793
0x3eB9201C...d48Bdfb94
0.00625 ETH
93319782024-09-27 21:49:31485 days ago1727473771
0x3eB9201C...d48Bdfb94
0.0025 ETH
93319552024-09-27 21:48:45485 days ago1727473725
0x3eB9201C...d48Bdfb94
0.00625 ETH
93319442024-09-27 21:48:23485 days ago1727473703
0x3eB9201C...d48Bdfb94
0.004125 ETH
93319122024-09-27 21:47:19485 days ago1727473639
0x3eB9201C...d48Bdfb94
0.00825 ETH
93318702024-09-27 21:45:55485 days ago1727473555
0x3eB9201C...d48Bdfb94
0.0025 ETH
93318602024-09-27 21:45:35485 days ago1727473535
0x3eB9201C...d48Bdfb94
0.00825 ETH
93318492024-09-27 21:45:13485 days ago1727473513
0x3eB9201C...d48Bdfb94
0.00825 ETH
93318392024-09-27 21:44:53485 days ago1727473493
0x3eB9201C...d48Bdfb94
0.00825 ETH
93318292024-09-27 21:44:33485 days ago1727473473
0x3eB9201C...d48Bdfb94
0.00625 ETH
93318022024-09-27 21:43:39485 days ago1727473419
0x3eB9201C...d48Bdfb94
0.0025 ETH
93317542024-09-27 21:42:03485 days ago1727473323
0x3eB9201C...d48Bdfb94
0.00625 ETH
93317402024-09-27 21:41:35485 days ago1727473295
0x3eB9201C...d48Bdfb94
0.00825 ETH
93317292024-09-27 21:41:13485 days ago1727473273
0x3eB9201C...d48Bdfb94
0.00625 ETH
93317042024-09-27 21:40:23485 days ago1727473223
0x3eB9201C...d48Bdfb94
0.025 ETH
93316812024-09-27 21:39:37485 days ago1727473177
0x3eB9201C...d48Bdfb94
0.0005 ETH
93316262024-09-27 21:37:47485 days ago1727473067
0x3eB9201C...d48Bdfb94
0.00825 ETH
93316142024-09-27 21:37:23486 days ago1727473043
0x3eB9201C...d48Bdfb94
0.00825 ETH
93315872024-09-27 21:36:29486 days ago1727472989
0x3eB9201C...d48Bdfb94
0.00825 ETH
93315402024-09-27 21:34:55486 days ago1727472895
0x3eB9201C...d48Bdfb94
0.00825 ETH
93315292024-09-27 21:34:33486 days ago1727472873
0x3eB9201C...d48Bdfb94
0.00625 ETH
93314982024-09-27 21:33:31486 days ago1727472811
0x3eB9201C...d48Bdfb94
0.00825 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DegenTavernLuckyWheel

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface ISupraRouter {
    function generateRequest(
        string memory _functionSig,
        uint8 _rngCount,
        uint256 _numConfirmations,
        uint256 _clientSeed,
        address _clientWalletAddress
    ) external returns (uint256);

    function generateRequest(
        string memory _functionSig,
        uint8 _rngCount,
        uint256 _numConfirmations,
        address _clientWalletAddress
    ) external returns (uint256);
}

interface IBlastPoints {
    function configurePointsOperator(address operator) external;

    function configurePointsOperatorOnBehalf(
        address contractAddress,
        address operator
    ) external;
}

interface IBlast {
    function configureClaimableGas() external;

    function claimAllGas(
        address contractAddress,
        address recipient
    ) external returns (uint256);
}

contract DegenTavernLuckyWheel is AccessControl, ReentrancyGuard {
    IBlast public constant BLAST =
        IBlast(0x4300000000000000000000000000000000000002);
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");

    bool public isActive;
    uint256[] public numbers;
    uint256[] public probabilities;
    // Supra Config
    address public supraAddr;
    address public clientWalletAddress;

    address public treasuryWallet;
    IERC20 public erc20Token;

    event Result(uint256 drawnNumber, uint256 probability);
    event SpinRequest(uint256 nonceId);
    event SpinResult(
        uint256 nonceId,
        uint256 result,
        address player,
        uint256 multiplier
    );

    mapping(address => uint256) public balances;

    struct SpinStatus {
        uint256 randomWord;
        address player;
        bool fulfilled;
        uint256 entry;
        uint256 chosenNumber;
        uint256 multiplier;
        bool isNative;
    }

    mapping(uint256 => SpinStatus) public spinStatuses;

    constructor(
        address _pointsOperator,
        address supraSC,
        address _clientWalletAddress,
        address _treasuryWallet,
        IERC20 _erc20Token
    ) {
        _grantRole(ADMIN_ROLE, msg.sender);
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        IBlastPoints(0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800)
            .configurePointsOperator(_pointsOperator);
        supraAddr = supraSC;
        clientWalletAddress = _clientWalletAddress;
        treasuryWallet = _treasuryWallet;
        isActive = true;
        erc20Token = _erc20Token;
        BLAST.configureClaimableGas();

        numbers = [
            100,
            1100,
            330,
            2500,
            0,
            1200,
            330,
            10000,
            0,
            1330,
            250,
            1000,
            4000
        ];
        probabilities = [14, 7, 12, 5, 16, 3, 9, 2, 8, 3, 14, 4, 3];

        require(
            sumProbabilities() == 100,
            "The sum of probabilities must be 100"
        );
    }

    function spin(
        uint256 multiplier
    ) external payable nonReentrant returns (uint256) {
        require(isActive, "Disabled");
        require(msg.value > 0, "You dont have funds");

        uint256 nonce = ISupraRouter(supraAddr).generateRequest(
            "myCallbackSpin(uint256,uint256[])",
            1,
            1,
            123,
            clientWalletAddress
        );

        spinStatuses[nonce] = SpinStatus({
            randomWord: 0,
            player: msg.sender,
            fulfilled: false,
            entry: msg.value,
            chosenNumber: 0,
            multiplier: multiplier,
            isNative: true
        });

        emit SpinRequest(nonce);

        return nonce;
    }

    function spin_erc20(
        uint256 multiplier,
        uint256 amount
    ) external payable nonReentrant returns (uint256) {
        require(amount > 0, "Amount must be greater than zero");

        require(isActive, "Disabled");

        uint256 nonce = ISupraRouter(supraAddr).generateRequest(
            "myCallbackSpin(uint256,uint256[])",
            1,
            1,
            123,
            clientWalletAddress
        );

        require(
            erc20Token.transferFrom(msg.sender, address(this), amount),
            "Token transfer for entry failed"
        );

        spinStatuses[nonce] = SpinStatus({
            randomWord: 0,
            player: msg.sender,
            fulfilled: false,
            entry: amount,
            chosenNumber: 0,
            multiplier: multiplier,
            isNative: false
        });

        emit SpinRequest(nonce);

        return nonce;
    }

    function myCallbackSpin(
        uint256 nonce,
        uint256[] calldata rngList
    ) external {
        require(
            msg.sender == supraAddr,
            "only supra router can call this function"
        );

        spinStatuses[nonce].fulfilled = true;
        spinStatuses[nonce].randomWord = rngList[0] % 100;
        uint256 chosenNumber;
        uint256 sum = 0;

        for (uint256 i = 0; i < numbers.length; i++) {
            sum += probabilities[i];
            if (spinStatuses[nonce].randomWord < sum) {
                chosenNumber = numbers[i];
                break;
            }
        }

        spinStatuses[nonce].chosenNumber = chosenNumber;

        uint256 amountMultiplied = (chosenNumber * spinStatuses[nonce].entry) /
            1000;

        uint256 amountToPay = amountMultiplied * spinStatuses[nonce].multiplier;

        if (amountToPay > 0) {
            if (spinStatuses[nonce].isNative == true) {
                payable(spinStatuses[nonce].player).transfer(amountToPay);
            } else {
                require(
                    erc20Token.transfer(
                        spinStatuses[nonce].player,
                        amountToPay
                    ),
                    "Token transfer failed"
                );
            }
        }

        emit SpinResult(
            nonce,
            chosenNumber,
            spinStatuses[nonce].player,
            spinStatuses[nonce].multiplier
        );
    }

    function getSpinStatus(
        uint256 requestId
    ) public view returns (SpinStatus memory) {
        return spinStatuses[requestId];
    }

    function deposit() public payable nonReentrant {
        require(hasRole(ADMIN_ROLE, msg.sender), "Caller is not admin");

        uint256 amount = msg.value;
        require(amount > 0, "need greater than 0");
    }

    function withdrawTokens(uint256 amount) public nonReentrant {
        require(hasRole(ADMIN_ROLE, msg.sender), "Caller is not admin");
        require(
            erc20Token.balanceOf(address(this)) >= amount,
            "Insufficient token balance"
        );

        require(
            erc20Token.transfer(msg.sender, amount),
            "Token transfer failed"
        );
    }

    function withdraw(uint256 amount) public nonReentrant {
        require(hasRole(ADMIN_ROLE, msg.sender), "Caller is not admin");

        payable(msg.sender).transfer(amount);
    }

    function toggleActive() public {
        require(hasRole(ADMIN_ROLE, msg.sender), "Caller is not admin");

        isActive = !isActive;
    }

    function setErc20Address(address _newErc20Address) external {
        require(hasRole(ADMIN_ROLE, msg.sender), "Caller is not admin");
        erc20Token = IERC20(_newErc20Address);
    }

    function setNumbers(uint256[] memory newNumbers) external {
        require(hasRole(ADMIN_ROLE, msg.sender), "Caller is not admin");
        numbers = newNumbers;
    }

    function setProbabilities(uint256[] memory newProbabilities) external {
        require(hasRole(ADMIN_ROLE, msg.sender), "Caller is not admin");
        probabilities = newProbabilities;
        require(
            sumProbabilities() == 100,
            "The sum of probabilities must be 100"
        );
    }

    function sumProbabilities() internal view returns (uint256) {
        uint256 sum = 0;
        for (uint256 i = 0; i < probabilities.length; i++) {
            sum += probabilities[i];
        }
        return sum;
    }

    function claimMyContractsGas() external {
        require(hasRole(ADMIN_ROLE, msg.sender), "Caller is not admin");
        BLAST.claimAllGas(address(this), msg.sender);
    }
}

// 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.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

// 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
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_pointsOperator","type":"address"},{"internalType":"address","name":"supraSC","type":"address"},{"internalType":"address","name":"_clientWalletAddress","type":"address"},{"internalType":"address","name":"_treasuryWallet","type":"address"},{"internalType":"contract IERC20","name":"_erc20Token","type":"address"}],"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"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"drawnNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"probability","type":"uint256"}],"name":"Result","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nonceId","type":"uint256"}],"name":"SpinRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nonceId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"result","type":"uint256"},{"indexed":false,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint256","name":"multiplier","type":"uint256"}],"name":"SpinResult","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BLAST","outputs":[{"internalType":"contract IBlast","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimMyContractsGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clientWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"erc20Token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"getSpinStatus","outputs":[{"components":[{"internalType":"uint256","name":"randomWord","type":"uint256"},{"internalType":"address","name":"player","type":"address"},{"internalType":"bool","name":"fulfilled","type":"bool"},{"internalType":"uint256","name":"entry","type":"uint256"},{"internalType":"uint256","name":"chosenNumber","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"bool","name":"isNative","type":"bool"}],"internalType":"struct DegenTavernLuckyWheel.SpinStatus","name":"","type":"tuple"}],"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":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256[]","name":"rngList","type":"uint256[]"}],"name":"myCallbackSpin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"numbers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"probabilities","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":"address","name":"_newErc20Address","type":"address"}],"name":"setErc20Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"newNumbers","type":"uint256[]"}],"name":"setNumbers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"newProbabilities","type":"uint256[]"}],"name":"setProbabilities","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"multiplier","type":"uint256"}],"name":"spin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"spinStatuses","outputs":[{"internalType":"uint256","name":"randomWord","type":"uint256"},{"internalType":"address","name":"player","type":"address"},{"internalType":"bool","name":"fulfilled","type":"bool"},{"internalType":"uint256","name":"entry","type":"uint256"},{"internalType":"uint256","name":"chosenNumber","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"bool","name":"isNative","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"spin_erc20","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supraAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162003c4638038062003c468339818101604052810190620000379190620007a4565b60018081905550620000707fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336200045360201b60201c565b50620000866000801b336200045360201b60201c565b50732536fe9ab3f511540f2f9e2ec2a805005c3dd80073ffffffffffffffffffffffffffffffffffffffff166336b91f2b866040518263ffffffff1660e01b8152600401620000d691906200083d565b600060405180830381600087803b158015620000f157600080fd5b505af115801562000106573d6000803e3d6000fd5b5050505083600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600260006101000a81548160ff02191690831515021790555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073430000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff16634e606c476040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156200028657600080fd5b505af11580156200029b573d6000803e3d6000fd5b50505050604051806101a00160405280606461ffff16815260200161044c61ffff16815260200161014a61ffff1681526020016109c461ffff168152602001600061ffff1681526020016104b061ffff16815260200161014a61ffff16815260200161271061ffff168152602001600061ffff16815260200161053261ffff16815260200160fa61ffff1681526020016103e861ffff168152602001610fa061ffff16815250600390600d6200035392919062000627565b50604051806101a00160405280600e60ff168152602001600760ff168152602001600c60ff168152602001600560ff168152602001601060ff168152602001600360ff168152602001600960ff168152602001600260ff168152602001600860ff168152602001600360ff168152602001600e60ff168152602001600460ff168152602001600360ff16815250600490600d620003f29291906200067f565b506064620004056200055660201b60201c565b1462000448576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200043f90620008e1565b60405180910390fd5b5050505050620009a6565b6000620004678383620005b560201b60201c565b6200054b57600160008085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620004e76200061f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905062000550565b600090505b92915050565b6000806000905060005b600480549050811015620005ad576004818154811062000585576200058462000903565b5b9060005260206000200154826200059d91906200096b565b9150808060010191505062000560565b508091505090565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b8280548282559060005260206000209081019282156200066c579160200282015b828111156200066b578251829061ffff1690559160200191906001019062000648565b5b5090506200067b9190620006d6565b5090565b828054828255906000526020600020908101928215620006c3579160200282015b82811115620006c2578251829060ff16905591602001919060010190620006a0565b5b509050620006d29190620006d6565b5090565b5b80821115620006f1576000816000905550600101620006d7565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200072782620006fa565b9050919050565b62000739816200071a565b81146200074557600080fd5b50565b60008151905062000759816200072e565b92915050565b60006200076c826200071a565b9050919050565b6200077e816200075f565b81146200078a57600080fd5b50565b6000815190506200079e8162000773565b92915050565b600080600080600060a08688031215620007c357620007c2620006f5565b5b6000620007d38882890162000748565b9550506020620007e68882890162000748565b9450506040620007f98882890162000748565b93505060606200080c8882890162000748565b92505060806200081f888289016200078d565b9150509295509295909350565b62000837816200071a565b82525050565b60006020820190506200085460008301846200082c565b92915050565b600082825260208201905092915050565b7f5468652073756d206f662070726f626162696c6974696573206d75737420626560008201527f2031303000000000000000000000000000000000000000000000000000000000602082015250565b6000620008c96024836200085a565b9150620008d6826200086b565b604082019050919050565b60006020820190508181036000830152620008fc81620008ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620009788262000932565b9150620009858362000932565b9250828201905080821115620009a0576200099f6200093c565b5b92915050565b61329080620009b66000396000f3fe6080604052600436106101cd5760003560e01c806377d5d2dc116100f7578063d0e30db011610095578063ee5d085711610064578063ee5d08571461064b578063f80a10dd14610676578063f8833efd146106b9578063ff782fec146106f6576101cd565b8063d0e30db0146105b2578063d39fa233146105bc578063d547741f146105f9578063d6117b3e14610622576101cd565b806391d14854116100d157806391d14854146104ef57806397d757761461052c578063a217fddf14610557578063a5b6ea8f14610582576101cd565b806377d5d2dc1461047d5780637f5bd8e3146104945780638a13eea7146104c4576101cd565b80632f2ff15d1161016f5780634626402b1161013e5780634626402b146103d55780634a39fa801461040057806363b806341461042957806375b238fc14610452576101cd565b80632f2ff15d1461031d578063315a095d1461034657806336568abe1461036f5780633af4692f14610398576101cd565b806325427cd4116101ab57806325427cd41461027757806327e235e3146102a057806329c68dc1146102dd5780632e1a7d4d146102f4576101cd565b806301ffc9a7146101d257806322f3e2d41461020f578063248a9ca31461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612246565b610721565b604051610206919061228e565b60405180910390f35b34801561021b57600080fd5b5061022461079b565b604051610231919061228e565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906122df565b6107ae565b60405161026e919061231b565b60405180910390f35b34801561028357600080fd5b5061029e600480360381019061029991906124c5565b6107cd565b005b3480156102ac57600080fd5b506102c760048036038101906102c2919061256c565b610850565b6040516102d491906125a8565b60405180910390f35b3480156102e957600080fd5b506102f2610868565b005b34801561030057600080fd5b5061031b600480360381019061031691906125c3565b6108fd565b005b34801561032957600080fd5b50610344600480360381019061033f91906125f0565b6109c0565b005b34801561035257600080fd5b5061036d600480360381019061036891906125c3565b6109e2565b005b34801561037b57600080fd5b50610396600480360381019061039191906125f0565b610c1b565b005b3480156103a457600080fd5b506103bf60048036038101906103ba91906125c3565b610c96565b6040516103cc91906126eb565b60405180910390f35b3480156103e157600080fd5b506103ea610d77565b6040516103f79190612715565b60405180910390f35b34801561040c57600080fd5b506104276004803603810190610422919061256c565b610d9d565b005b34801561043557600080fd5b50610450600480360381019061044b919061278b565b610e4a565b005b34801561045e57600080fd5b506104676112b6565b604051610474919061231b565b60405180910390f35b34801561048957600080fd5b506104926112da565b005b6104ae60048036038101906104a991906127eb565b6113d8565b6040516104bb91906125a8565b60405180910390f35b3480156104d057600080fd5b506104d9611780565b6040516104e6919061288a565b60405180910390f35b3480156104fb57600080fd5b50610516600480360381019061051191906125f0565b6117a6565b604051610523919061228e565b60405180910390f35b34801561053857600080fd5b50610541611810565b60405161054e91906128c6565b60405180910390f35b34801561056357600080fd5b5061056c611828565b604051610579919061231b565b60405180910390f35b61059c600480360381019061059791906125c3565b61182f565b6040516105a991906125a8565b60405180910390f35b6105ba611af5565b005b3480156105c857600080fd5b506105e360048036038101906105de91906125c3565b611bb9565b6040516105f091906125a8565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b91906125f0565b611bdd565b005b34801561062e57600080fd5b50610649600480360381019061064491906124c5565b611bff565b005b34801561065757600080fd5b50610660611ccc565b60405161066d9190612715565b60405180910390f35b34801561068257600080fd5b5061069d600480360381019061069891906125c3565b611cf2565b6040516106b097969594939291906128e1565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906125c3565b611d6e565b6040516106ed91906125a8565b60405180910390f35b34801561070257600080fd5b5061070b611d92565b6040516107189190612715565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610794575061079382611db8565b5b9050919050565b600260009054906101000a900460ff1681565b6000806000838152602001908152602001600020600101549050919050565b6107f77fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d906129ad565b60405180910390fd5b806003908051906020019061084c929190612119565b5050565b60096020528060005260406000206000915090505481565b6108927fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b6108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c8906129ad565b60405180910390fd5b600260009054906101000a900460ff1615600260006101000a81548160ff021916908315150217905550565b610905611e22565b61092f7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b61096e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610965906129ad565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156109b4573d6000803e3d6000fd5b506109bd611e68565b50565b6109c9826107ae565b6109d281611e71565b6109dc8383611e85565b50505050565b6109ea611e22565b610a147fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a906129ad565b60405180910390fd5b80600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610aaf9190612715565b602060405180830381865afa158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af091906129e2565b1015610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890612a5b565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610b8e929190612a7b565b6020604051808303816000875af1158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd19190612ad0565b610c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0790612b49565b60405180910390fd5b610c18611e68565b50565b610c23611f76565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c87576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c918282611f7e565b505050565b610c9e612166565b600a60008381526020019081526020016000206040518060e0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820160009054906101000a900460ff1615151515815250509050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610dc77fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd906129ad565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190612bdb565b60405180910390fd5b6001600a600085815260200190815260200160002060010160146101000a81548160ff021916908315150217905550606482826000818110610f1f57610f1e612bfb565b5b90506020020135610f309190612c59565b600a6000858152602001908152602001600020600001819055506000806000905060005b600380549050811015610fde5760048181548110610f7557610f74612bfb565b5b906000526020600020015482610f8b9190612cb9565b915081600a6000888152602001908152602001600020600001541015610fd15760038181548110610fbf57610fbe612bfb565b5b90600052602060002001549250610fde565b8080600101915050610f54565b5081600a60008781526020019081526020016000206003018190555060006103e8600a600088815260200190815260200160002060020154846110219190612ced565b61102b9190612d2f565b90506000600a600088815260200190815260200160002060040154826110519190612ced565b905060008111156112245760011515600a600089815260200190815260200160002060050160009054906101000a900460ff1615150361110d57600a600088815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611107573d6000803e3d6000fd5b50611223565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600a60008a815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016111a0929190612a7b565b6020604051808303816000875af11580156111bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e39190612ad0565b611222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121990612b49565b60405180910390fd5b5b5b7f859ac1b9213e9c46b98635e81f973c6c8a96dff88d99f8856f8af7708608df1d8785600a60008b815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a60008c8152602001908152602001600020600401546040516112a59493929190612d60565b60405180910390a150505050505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6113047fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a906129ad565b60405180910390fd5b73430000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff1663954fa5ee30336040518363ffffffff1660e01b8152600401611392929190612da5565b6020604051808303816000875af11580156113b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d591906129e2565b50565b60006113e2611e22565b60008211611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141c90612e1a565b60405180910390fd5b600260009054906101000a900460ff16611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b90612e86565b60405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b7b3243a600180607b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518563ffffffff1660e01b81526004016114fb9493929190612fcc565b6020604051808303816000875af115801561151a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061153e91906129e2565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b815260040161159f93929190613024565b6020604051808303816000875af11580156115be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e29190612ad0565b611621576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611618906130a7565b60405180910390fd5b6040518060e00160405280600081526020013373ffffffffffffffffffffffffffffffffffffffff1681526020016000151581526020018481526020016000815260200185815260200160001515815250600a60008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548160ff021916908315150217905550606082015181600201556080820151816003015560a0820151816004015560c08201518160050160006101000a81548160ff0219169083151502179055509050507f7bd1841d921039d0f9c66c9ad0571861163d4a02d2e01670c9c8a4e6fa0e27e58160405161176691906125a8565b60405180910390a18091505061177a611e68565b92915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b73430000000000000000000000000000000000000281565b6000801b81565b6000611839611e22565b600260009054906101000a900460ff16611888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187f90612e86565b60405180910390fd5b600034116118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c290613113565b60405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b7b3243a600180607b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518563ffffffff1660e01b81526004016119529493929190612fcc565b6020604051808303816000875af1158015611971573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199591906129e2565b90506040518060e00160405280600081526020013373ffffffffffffffffffffffffffffffffffffffff1681526020016000151581526020013481526020016000815260200184815260200160011515815250600a60008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548160ff021916908315150217905550606082015181600201556080820151816003015560a0820151816004015560c08201518160050160006101000a81548160ff0219169083151502179055509050507f7bd1841d921039d0f9c66c9ad0571861163d4a02d2e01670c9c8a4e6fa0e27e581604051611adc91906125a8565b60405180910390a180915050611af0611e68565b919050565b611afd611e22565b611b277fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d906129ad565b60405180910390fd5b600034905060008111611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba59061317f565b60405180910390fd5b50611bb7611e68565b565b60038181548110611bc957600080fd5b906000526020600020016000915090505481565b611be6826107ae565b611bef81611e71565b611bf98383611f7e565b50505050565b611c297fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f906129ad565b60405180910390fd5b8060049080519060200190611c7e929190612119565b506064611c89612070565b14611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc090613211565b60405180910390fd5b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a6020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160149054906101000a900460ff16908060020154908060030154908060040154908060050160009054906101000a900460ff16905087565b60048181548110611d7e57600080fd5b906000526020600020016000915090505481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600260015403611e5e576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018081905550565b611e8281611e7d611f76565b6120c8565b50565b6000611e9183836117a6565b611f6b57600160008085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f08611f76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611f70565b600090505b92915050565b600033905090565b6000611f8a83836117a6565b1561206557600080600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612002611f76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a46001905061206a565b600090505b92915050565b6000806000905060005b6004805490508110156120c0576004818154811061209b5761209a612bfb565b5b9060005260206000200154826120b19190612cb9565b9150808060010191505061207a565b508091505090565b6120d282826117a6565b6121155780826040517fe2517d3f00000000000000000000000000000000000000000000000000000000815260040161210c929190613231565b60405180910390fd5b5050565b828054828255906000526020600020908101928215612155579160200282015b82811115612154578251825591602001919060010190612139565b5b50905061216291906121bd565b5090565b6040518060e0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000151581526020016000815260200160008152602001600081526020016000151581525090565b5b808211156121d65760008160009055506001016121be565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612223816121ee565b811461222e57600080fd5b50565b6000813590506122408161221a565b92915050565b60006020828403121561225c5761225b6121e4565b5b600061226a84828501612231565b91505092915050565b60008115159050919050565b61228881612273565b82525050565b60006020820190506122a3600083018461227f565b92915050565b6000819050919050565b6122bc816122a9565b81146122c757600080fd5b50565b6000813590506122d9816122b3565b92915050565b6000602082840312156122f5576122f46121e4565b5b6000612303848285016122ca565b91505092915050565b612315816122a9565b82525050565b6000602082019050612330600083018461230c565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6123848261233b565b810181811067ffffffffffffffff821117156123a3576123a261234c565b5b80604052505050565b60006123b66121da565b90506123c2828261237b565b919050565b600067ffffffffffffffff8211156123e2576123e161234c565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61240b816123f8565b811461241657600080fd5b50565b60008135905061242881612402565b92915050565b600061244161243c846123c7565b6123ac565b90508083825260208201905060208402830185811115612464576124636123f3565b5b835b8181101561248d57806124798882612419565b845260208401935050602081019050612466565b5050509392505050565b600082601f8301126124ac576124ab612336565b5b81356124bc84826020860161242e565b91505092915050565b6000602082840312156124db576124da6121e4565b5b600082013567ffffffffffffffff8111156124f9576124f86121e9565b5b61250584828501612497565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125398261250e565b9050919050565b6125498161252e565b811461255457600080fd5b50565b60008135905061256681612540565b92915050565b600060208284031215612582576125816121e4565b5b600061259084828501612557565b91505092915050565b6125a2816123f8565b82525050565b60006020820190506125bd6000830184612599565b92915050565b6000602082840312156125d9576125d86121e4565b5b60006125e784828501612419565b91505092915050565b60008060408385031215612607576126066121e4565b5b6000612615858286016122ca565b925050602061262685828601612557565b9150509250929050565b612639816123f8565b82525050565b6126488161252e565b82525050565b61265781612273565b82525050565b60e0820160008201516126736000850182612630565b506020820151612686602085018261263f565b506040820151612699604085018261264e565b5060608201516126ac6060850182612630565b5060808201516126bf6080850182612630565b5060a08201516126d260a0850182612630565b5060c08201516126e560c085018261264e565b50505050565b600060e082019050612700600083018461265d565b92915050565b61270f8161252e565b82525050565b600060208201905061272a6000830184612706565b92915050565b600080fd5b60008083601f84011261274b5761274a612336565b5b8235905067ffffffffffffffff81111561276857612767612730565b5b602083019150836020820283011115612784576127836123f3565b5b9250929050565b6000806000604084860312156127a4576127a36121e4565b5b60006127b286828701612419565b935050602084013567ffffffffffffffff8111156127d3576127d26121e9565b5b6127df86828701612735565b92509250509250925092565b60008060408385031215612802576128016121e4565b5b600061281085828601612419565b925050602061282185828601612419565b9150509250929050565b6000819050919050565b600061285061284b6128468461250e565b61282b565b61250e565b9050919050565b600061286282612835565b9050919050565b600061287482612857565b9050919050565b61288481612869565b82525050565b600060208201905061289f600083018461287b565b92915050565b60006128b082612857565b9050919050565b6128c0816128a5565b82525050565b60006020820190506128db60008301846128b7565b92915050565b600060e0820190506128f6600083018a612599565b6129036020830189612706565b612910604083018861227f565b61291d6060830187612599565b61292a6080830186612599565b61293760a0830185612599565b61294460c083018461227f565b98975050505050505050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061646d696e00000000000000000000000000600082015250565b6000612997601383612950565b91506129a282612961565b602082019050919050565b600060208201905081810360008301526129c68161298a565b9050919050565b6000815190506129dc81612402565b92915050565b6000602082840312156129f8576129f76121e4565b5b6000612a06848285016129cd565b91505092915050565b7f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000600082015250565b6000612a45601a83612950565b9150612a5082612a0f565b602082019050919050565b60006020820190508181036000830152612a7481612a38565b9050919050565b6000604082019050612a906000830185612706565b612a9d6020830184612599565b9392505050565b612aad81612273565b8114612ab857600080fd5b50565b600081519050612aca81612aa4565b92915050565b600060208284031215612ae657612ae56121e4565b5b6000612af484828501612abb565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000612b33601583612950565b9150612b3e82612afd565b602082019050919050565b60006020820190508181036000830152612b6281612b26565b9050919050565b7f6f6e6c7920737570726120726f757465722063616e2063616c6c20746869732060008201527f66756e6374696f6e000000000000000000000000000000000000000000000000602082015250565b6000612bc5602883612950565b9150612bd082612b69565b604082019050919050565b60006020820190508181036000830152612bf481612bb8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612c64826123f8565b9150612c6f836123f8565b925082612c7f57612c7e612c2a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612cc4826123f8565b9150612ccf836123f8565b9250828201905080821115612ce757612ce6612c8a565b5b92915050565b6000612cf8826123f8565b9150612d03836123f8565b9250828202612d11816123f8565b91508282048414831517612d2857612d27612c8a565b5b5092915050565b6000612d3a826123f8565b9150612d45836123f8565b925082612d5557612d54612c2a565b5b828204905092915050565b6000608082019050612d756000830187612599565b612d826020830186612599565b612d8f6040830185612706565b612d9c6060830184612599565b95945050505050565b6000604082019050612dba6000830185612706565b612dc76020830184612706565b9392505050565b7f416d6f756e74206d7573742062652067726561746572207468616e207a65726f600082015250565b6000612e04602083612950565b9150612e0f82612dce565b602082019050919050565b60006020820190508181036000830152612e3381612df7565b9050919050565b7f44697361626c6564000000000000000000000000000000000000000000000000600082015250565b6000612e70600883612950565b9150612e7b82612e3a565b602082019050919050565b60006020820190508181036000830152612e9f81612e63565b9050919050565b7f6d7943616c6c6261636b5370696e2875696e743235362c75696e743235365b5d60008201527f2900000000000000000000000000000000000000000000000000000000000000602082015250565b6000612f02602183612950565b9150612f0d82612ea6565b604082019050919050565b6000819050919050565b600060ff82169050919050565b6000612f4a612f45612f4084612f18565b61282b565b612f22565b9050919050565b612f5a81612f2f565b82525050565b6000612f7b612f76612f7184612f18565b61282b565b6123f8565b9050919050565b612f8b81612f60565b82525050565b6000819050919050565b6000612fb6612fb1612fac84612f91565b61282b565b6123f8565b9050919050565b612fc681612f9b565b82525050565b600060a0820190508181036000830152612fe581612ef5565b9050612ff46020830187612f51565b6130016040830186612f82565b61300e6060830185612fbd565b61301b6080830184612706565b95945050505050565b60006060820190506130396000830186612706565b6130466020830185612706565b6130536040830184612599565b949350505050565b7f546f6b656e207472616e7366657220666f7220656e747279206661696c656400600082015250565b6000613091601f83612950565b915061309c8261305b565b602082019050919050565b600060208201905081810360008301526130c081613084565b9050919050565b7f596f7520646f6e7420686176652066756e647300000000000000000000000000600082015250565b60006130fd601383612950565b9150613108826130c7565b602082019050919050565b6000602082019050818103600083015261312c816130f0565b9050919050565b7f6e6565642067726561746572207468616e203000000000000000000000000000600082015250565b6000613169601383612950565b915061317482613133565b602082019050919050565b600060208201905081810360008301526131988161315c565b9050919050565b7f5468652073756d206f662070726f626162696c6974696573206d75737420626560008201527f2031303000000000000000000000000000000000000000000000000000000000602082015250565b60006131fb602483612950565b91506132068261319f565b604082019050919050565b6000602082019050818103600083015261322a816131ee565b9050919050565b60006040820190506132466000830185612706565b613253602083018461230c565b939250505056fea2646970667358221220525ab50fe225f37d59d3830750ccd6d6c8a10c7ef1ff732c34656cf98e7fc5c464736f6c634300081800330000000000000000000000006b1e372d497b73a6c3da34820420f5dabd200ed300000000000000000000000082a515c2bec5c4be8abbbf0d2f59c19a4547709c0000000000000000000000006b1e372d497b73a6c3da34820420f5dabd200ed30000000000000000000000006b1e372d497b73a6c3da34820420f5dabd200ed3000000000000000000000000699ac77d597650427037f14c900a79241ea308db

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c806377d5d2dc116100f7578063d0e30db011610095578063ee5d085711610064578063ee5d08571461064b578063f80a10dd14610676578063f8833efd146106b9578063ff782fec146106f6576101cd565b8063d0e30db0146105b2578063d39fa233146105bc578063d547741f146105f9578063d6117b3e14610622576101cd565b806391d14854116100d157806391d14854146104ef57806397d757761461052c578063a217fddf14610557578063a5b6ea8f14610582576101cd565b806377d5d2dc1461047d5780637f5bd8e3146104945780638a13eea7146104c4576101cd565b80632f2ff15d1161016f5780634626402b1161013e5780634626402b146103d55780634a39fa801461040057806363b806341461042957806375b238fc14610452576101cd565b80632f2ff15d1461031d578063315a095d1461034657806336568abe1461036f5780633af4692f14610398576101cd565b806325427cd4116101ab57806325427cd41461027757806327e235e3146102a057806329c68dc1146102dd5780632e1a7d4d146102f4576101cd565b806301ffc9a7146101d257806322f3e2d41461020f578063248a9ca31461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612246565b610721565b604051610206919061228e565b60405180910390f35b34801561021b57600080fd5b5061022461079b565b604051610231919061228e565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906122df565b6107ae565b60405161026e919061231b565b60405180910390f35b34801561028357600080fd5b5061029e600480360381019061029991906124c5565b6107cd565b005b3480156102ac57600080fd5b506102c760048036038101906102c2919061256c565b610850565b6040516102d491906125a8565b60405180910390f35b3480156102e957600080fd5b506102f2610868565b005b34801561030057600080fd5b5061031b600480360381019061031691906125c3565b6108fd565b005b34801561032957600080fd5b50610344600480360381019061033f91906125f0565b6109c0565b005b34801561035257600080fd5b5061036d600480360381019061036891906125c3565b6109e2565b005b34801561037b57600080fd5b50610396600480360381019061039191906125f0565b610c1b565b005b3480156103a457600080fd5b506103bf60048036038101906103ba91906125c3565b610c96565b6040516103cc91906126eb565b60405180910390f35b3480156103e157600080fd5b506103ea610d77565b6040516103f79190612715565b60405180910390f35b34801561040c57600080fd5b506104276004803603810190610422919061256c565b610d9d565b005b34801561043557600080fd5b50610450600480360381019061044b919061278b565b610e4a565b005b34801561045e57600080fd5b506104676112b6565b604051610474919061231b565b60405180910390f35b34801561048957600080fd5b506104926112da565b005b6104ae60048036038101906104a991906127eb565b6113d8565b6040516104bb91906125a8565b60405180910390f35b3480156104d057600080fd5b506104d9611780565b6040516104e6919061288a565b60405180910390f35b3480156104fb57600080fd5b50610516600480360381019061051191906125f0565b6117a6565b604051610523919061228e565b60405180910390f35b34801561053857600080fd5b50610541611810565b60405161054e91906128c6565b60405180910390f35b34801561056357600080fd5b5061056c611828565b604051610579919061231b565b60405180910390f35b61059c600480360381019061059791906125c3565b61182f565b6040516105a991906125a8565b60405180910390f35b6105ba611af5565b005b3480156105c857600080fd5b506105e360048036038101906105de91906125c3565b611bb9565b6040516105f091906125a8565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b91906125f0565b611bdd565b005b34801561062e57600080fd5b50610649600480360381019061064491906124c5565b611bff565b005b34801561065757600080fd5b50610660611ccc565b60405161066d9190612715565b60405180910390f35b34801561068257600080fd5b5061069d600480360381019061069891906125c3565b611cf2565b6040516106b097969594939291906128e1565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906125c3565b611d6e565b6040516106ed91906125a8565b60405180910390f35b34801561070257600080fd5b5061070b611d92565b6040516107189190612715565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610794575061079382611db8565b5b9050919050565b600260009054906101000a900460ff1681565b6000806000838152602001908152602001600020600101549050919050565b6107f77fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d906129ad565b60405180910390fd5b806003908051906020019061084c929190612119565b5050565b60096020528060005260406000206000915090505481565b6108927fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b6108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c8906129ad565b60405180910390fd5b600260009054906101000a900460ff1615600260006101000a81548160ff021916908315150217905550565b610905611e22565b61092f7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b61096e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610965906129ad565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156109b4573d6000803e3d6000fd5b506109bd611e68565b50565b6109c9826107ae565b6109d281611e71565b6109dc8383611e85565b50505050565b6109ea611e22565b610a147fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a906129ad565b60405180910390fd5b80600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610aaf9190612715565b602060405180830381865afa158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af091906129e2565b1015610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890612a5b565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610b8e929190612a7b565b6020604051808303816000875af1158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd19190612ad0565b610c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0790612b49565b60405180910390fd5b610c18611e68565b50565b610c23611f76565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c87576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c918282611f7e565b505050565b610c9e612166565b600a60008381526020019081526020016000206040518060e0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820160009054906101000a900460ff1615151515815250509050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610dc77fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd906129ad565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190612bdb565b60405180910390fd5b6001600a600085815260200190815260200160002060010160146101000a81548160ff021916908315150217905550606482826000818110610f1f57610f1e612bfb565b5b90506020020135610f309190612c59565b600a6000858152602001908152602001600020600001819055506000806000905060005b600380549050811015610fde5760048181548110610f7557610f74612bfb565b5b906000526020600020015482610f8b9190612cb9565b915081600a6000888152602001908152602001600020600001541015610fd15760038181548110610fbf57610fbe612bfb565b5b90600052602060002001549250610fde565b8080600101915050610f54565b5081600a60008781526020019081526020016000206003018190555060006103e8600a600088815260200190815260200160002060020154846110219190612ced565b61102b9190612d2f565b90506000600a600088815260200190815260200160002060040154826110519190612ced565b905060008111156112245760011515600a600089815260200190815260200160002060050160009054906101000a900460ff1615150361110d57600a600088815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611107573d6000803e3d6000fd5b50611223565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600a60008a815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016111a0929190612a7b565b6020604051808303816000875af11580156111bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e39190612ad0565b611222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121990612b49565b60405180910390fd5b5b5b7f859ac1b9213e9c46b98635e81f973c6c8a96dff88d99f8856f8af7708608df1d8785600a60008b815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a60008c8152602001908152602001600020600401546040516112a59493929190612d60565b60405180910390a150505050505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6113047fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a906129ad565b60405180910390fd5b73430000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff1663954fa5ee30336040518363ffffffff1660e01b8152600401611392929190612da5565b6020604051808303816000875af11580156113b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d591906129e2565b50565b60006113e2611e22565b60008211611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141c90612e1a565b60405180910390fd5b600260009054906101000a900460ff16611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b90612e86565b60405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b7b3243a600180607b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518563ffffffff1660e01b81526004016114fb9493929190612fcc565b6020604051808303816000875af115801561151a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061153e91906129e2565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b815260040161159f93929190613024565b6020604051808303816000875af11580156115be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e29190612ad0565b611621576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611618906130a7565b60405180910390fd5b6040518060e00160405280600081526020013373ffffffffffffffffffffffffffffffffffffffff1681526020016000151581526020018481526020016000815260200185815260200160001515815250600a60008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548160ff021916908315150217905550606082015181600201556080820151816003015560a0820151816004015560c08201518160050160006101000a81548160ff0219169083151502179055509050507f7bd1841d921039d0f9c66c9ad0571861163d4a02d2e01670c9c8a4e6fa0e27e58160405161176691906125a8565b60405180910390a18091505061177a611e68565b92915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b73430000000000000000000000000000000000000281565b6000801b81565b6000611839611e22565b600260009054906101000a900460ff16611888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187f90612e86565b60405180910390fd5b600034116118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c290613113565b60405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b7b3243a600180607b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518563ffffffff1660e01b81526004016119529493929190612fcc565b6020604051808303816000875af1158015611971573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199591906129e2565b90506040518060e00160405280600081526020013373ffffffffffffffffffffffffffffffffffffffff1681526020016000151581526020013481526020016000815260200184815260200160011515815250600a60008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548160ff021916908315150217905550606082015181600201556080820151816003015560a0820151816004015560c08201518160050160006101000a81548160ff0219169083151502179055509050507f7bd1841d921039d0f9c66c9ad0571861163d4a02d2e01670c9c8a4e6fa0e27e581604051611adc91906125a8565b60405180910390a180915050611af0611e68565b919050565b611afd611e22565b611b277fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d906129ad565b60405180910390fd5b600034905060008111611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba59061317f565b60405180910390fd5b50611bb7611e68565b565b60038181548110611bc957600080fd5b906000526020600020016000915090505481565b611be6826107ae565b611bef81611e71565b611bf98383611f7e565b50505050565b611c297fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336117a6565b611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f906129ad565b60405180910390fd5b8060049080519060200190611c7e929190612119565b506064611c89612070565b14611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc090613211565b60405180910390fd5b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a6020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160149054906101000a900460ff16908060020154908060030154908060040154908060050160009054906101000a900460ff16905087565b60048181548110611d7e57600080fd5b906000526020600020016000915090505481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600260015403611e5e576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018081905550565b611e8281611e7d611f76565b6120c8565b50565b6000611e9183836117a6565b611f6b57600160008085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f08611f76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611f70565b600090505b92915050565b600033905090565b6000611f8a83836117a6565b1561206557600080600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612002611f76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a46001905061206a565b600090505b92915050565b6000806000905060005b6004805490508110156120c0576004818154811061209b5761209a612bfb565b5b9060005260206000200154826120b19190612cb9565b9150808060010191505061207a565b508091505090565b6120d282826117a6565b6121155780826040517fe2517d3f00000000000000000000000000000000000000000000000000000000815260040161210c929190613231565b60405180910390fd5b5050565b828054828255906000526020600020908101928215612155579160200282015b82811115612154578251825591602001919060010190612139565b5b50905061216291906121bd565b5090565b6040518060e0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000151581526020016000815260200160008152602001600081526020016000151581525090565b5b808211156121d65760008160009055506001016121be565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612223816121ee565b811461222e57600080fd5b50565b6000813590506122408161221a565b92915050565b60006020828403121561225c5761225b6121e4565b5b600061226a84828501612231565b91505092915050565b60008115159050919050565b61228881612273565b82525050565b60006020820190506122a3600083018461227f565b92915050565b6000819050919050565b6122bc816122a9565b81146122c757600080fd5b50565b6000813590506122d9816122b3565b92915050565b6000602082840312156122f5576122f46121e4565b5b6000612303848285016122ca565b91505092915050565b612315816122a9565b82525050565b6000602082019050612330600083018461230c565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6123848261233b565b810181811067ffffffffffffffff821117156123a3576123a261234c565b5b80604052505050565b60006123b66121da565b90506123c2828261237b565b919050565b600067ffffffffffffffff8211156123e2576123e161234c565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61240b816123f8565b811461241657600080fd5b50565b60008135905061242881612402565b92915050565b600061244161243c846123c7565b6123ac565b90508083825260208201905060208402830185811115612464576124636123f3565b5b835b8181101561248d57806124798882612419565b845260208401935050602081019050612466565b5050509392505050565b600082601f8301126124ac576124ab612336565b5b81356124bc84826020860161242e565b91505092915050565b6000602082840312156124db576124da6121e4565b5b600082013567ffffffffffffffff8111156124f9576124f86121e9565b5b61250584828501612497565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125398261250e565b9050919050565b6125498161252e565b811461255457600080fd5b50565b60008135905061256681612540565b92915050565b600060208284031215612582576125816121e4565b5b600061259084828501612557565b91505092915050565b6125a2816123f8565b82525050565b60006020820190506125bd6000830184612599565b92915050565b6000602082840312156125d9576125d86121e4565b5b60006125e784828501612419565b91505092915050565b60008060408385031215612607576126066121e4565b5b6000612615858286016122ca565b925050602061262685828601612557565b9150509250929050565b612639816123f8565b82525050565b6126488161252e565b82525050565b61265781612273565b82525050565b60e0820160008201516126736000850182612630565b506020820151612686602085018261263f565b506040820151612699604085018261264e565b5060608201516126ac6060850182612630565b5060808201516126bf6080850182612630565b5060a08201516126d260a0850182612630565b5060c08201516126e560c085018261264e565b50505050565b600060e082019050612700600083018461265d565b92915050565b61270f8161252e565b82525050565b600060208201905061272a6000830184612706565b92915050565b600080fd5b60008083601f84011261274b5761274a612336565b5b8235905067ffffffffffffffff81111561276857612767612730565b5b602083019150836020820283011115612784576127836123f3565b5b9250929050565b6000806000604084860312156127a4576127a36121e4565b5b60006127b286828701612419565b935050602084013567ffffffffffffffff8111156127d3576127d26121e9565b5b6127df86828701612735565b92509250509250925092565b60008060408385031215612802576128016121e4565b5b600061281085828601612419565b925050602061282185828601612419565b9150509250929050565b6000819050919050565b600061285061284b6128468461250e565b61282b565b61250e565b9050919050565b600061286282612835565b9050919050565b600061287482612857565b9050919050565b61288481612869565b82525050565b600060208201905061289f600083018461287b565b92915050565b60006128b082612857565b9050919050565b6128c0816128a5565b82525050565b60006020820190506128db60008301846128b7565b92915050565b600060e0820190506128f6600083018a612599565b6129036020830189612706565b612910604083018861227f565b61291d6060830187612599565b61292a6080830186612599565b61293760a0830185612599565b61294460c083018461227f565b98975050505050505050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061646d696e00000000000000000000000000600082015250565b6000612997601383612950565b91506129a282612961565b602082019050919050565b600060208201905081810360008301526129c68161298a565b9050919050565b6000815190506129dc81612402565b92915050565b6000602082840312156129f8576129f76121e4565b5b6000612a06848285016129cd565b91505092915050565b7f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000600082015250565b6000612a45601a83612950565b9150612a5082612a0f565b602082019050919050565b60006020820190508181036000830152612a7481612a38565b9050919050565b6000604082019050612a906000830185612706565b612a9d6020830184612599565b9392505050565b612aad81612273565b8114612ab857600080fd5b50565b600081519050612aca81612aa4565b92915050565b600060208284031215612ae657612ae56121e4565b5b6000612af484828501612abb565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000612b33601583612950565b9150612b3e82612afd565b602082019050919050565b60006020820190508181036000830152612b6281612b26565b9050919050565b7f6f6e6c7920737570726120726f757465722063616e2063616c6c20746869732060008201527f66756e6374696f6e000000000000000000000000000000000000000000000000602082015250565b6000612bc5602883612950565b9150612bd082612b69565b604082019050919050565b60006020820190508181036000830152612bf481612bb8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612c64826123f8565b9150612c6f836123f8565b925082612c7f57612c7e612c2a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612cc4826123f8565b9150612ccf836123f8565b9250828201905080821115612ce757612ce6612c8a565b5b92915050565b6000612cf8826123f8565b9150612d03836123f8565b9250828202612d11816123f8565b91508282048414831517612d2857612d27612c8a565b5b5092915050565b6000612d3a826123f8565b9150612d45836123f8565b925082612d5557612d54612c2a565b5b828204905092915050565b6000608082019050612d756000830187612599565b612d826020830186612599565b612d8f6040830185612706565b612d9c6060830184612599565b95945050505050565b6000604082019050612dba6000830185612706565b612dc76020830184612706565b9392505050565b7f416d6f756e74206d7573742062652067726561746572207468616e207a65726f600082015250565b6000612e04602083612950565b9150612e0f82612dce565b602082019050919050565b60006020820190508181036000830152612e3381612df7565b9050919050565b7f44697361626c6564000000000000000000000000000000000000000000000000600082015250565b6000612e70600883612950565b9150612e7b82612e3a565b602082019050919050565b60006020820190508181036000830152612e9f81612e63565b9050919050565b7f6d7943616c6c6261636b5370696e2875696e743235362c75696e743235365b5d60008201527f2900000000000000000000000000000000000000000000000000000000000000602082015250565b6000612f02602183612950565b9150612f0d82612ea6565b604082019050919050565b6000819050919050565b600060ff82169050919050565b6000612f4a612f45612f4084612f18565b61282b565b612f22565b9050919050565b612f5a81612f2f565b82525050565b6000612f7b612f76612f7184612f18565b61282b565b6123f8565b9050919050565b612f8b81612f60565b82525050565b6000819050919050565b6000612fb6612fb1612fac84612f91565b61282b565b6123f8565b9050919050565b612fc681612f9b565b82525050565b600060a0820190508181036000830152612fe581612ef5565b9050612ff46020830187612f51565b6130016040830186612f82565b61300e6060830185612fbd565b61301b6080830184612706565b95945050505050565b60006060820190506130396000830186612706565b6130466020830185612706565b6130536040830184612599565b949350505050565b7f546f6b656e207472616e7366657220666f7220656e747279206661696c656400600082015250565b6000613091601f83612950565b915061309c8261305b565b602082019050919050565b600060208201905081810360008301526130c081613084565b9050919050565b7f596f7520646f6e7420686176652066756e647300000000000000000000000000600082015250565b60006130fd601383612950565b9150613108826130c7565b602082019050919050565b6000602082019050818103600083015261312c816130f0565b9050919050565b7f6e6565642067726561746572207468616e203000000000000000000000000000600082015250565b6000613169601383612950565b915061317482613133565b602082019050919050565b600060208201905081810360008301526131988161315c565b9050919050565b7f5468652073756d206f662070726f626162696c6974696573206d75737420626560008201527f2031303000000000000000000000000000000000000000000000000000000000602082015250565b60006131fb602483612950565b91506132068261319f565b604082019050919050565b6000602082019050818103600083015261322a816131ee565b9050919050565b60006040820190506132466000830185612706565b613253602083018461230c565b939250505056fea2646970667358221220525ab50fe225f37d59d3830750ccd6d6c8a10c7ef1ff732c34656cf98e7fc5c464736f6c63430008180033

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

0000000000000000000000006b1e372d497b73a6c3da34820420f5dabd200ed300000000000000000000000082a515c2bec5c4be8abbbf0d2f59c19a4547709c0000000000000000000000006b1e372d497b73a6c3da34820420f5dabd200ed30000000000000000000000006b1e372d497b73a6c3da34820420f5dabd200ed3000000000000000000000000699ac77d597650427037f14c900a79241ea308db

-----Decoded View---------------
Arg [0] : _pointsOperator (address): 0x6B1e372D497b73a6C3dA34820420F5DAbD200Ed3
Arg [1] : supraSC (address): 0x82A515c2BEC5C4be8aBBbF0D2F59C19A4547709c
Arg [2] : _clientWalletAddress (address): 0x6B1e372D497b73a6C3dA34820420F5DAbD200Ed3
Arg [3] : _treasuryWallet (address): 0x6B1e372D497b73a6C3dA34820420F5DAbD200Ed3
Arg [4] : _erc20Token (address): 0x699ac77d597650427037f14C900A79241eA308dB

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000006b1e372d497b73a6c3da34820420f5dabd200ed3
Arg [1] : 00000000000000000000000082a515c2bec5c4be8abbbf0d2f59c19a4547709c
Arg [2] : 0000000000000000000000006b1e372d497b73a6c3da34820420f5dabd200ed3
Arg [3] : 0000000000000000000000006b1e372d497b73a6c3da34820420f5dabd200ed3
Arg [4] : 000000000000000000000000699ac77d597650427037f14c900a79241ea308db


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  ]
[ 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.