false
true
0

Contract Address Details

0x00577459bbb734f36605509A1F3559E727d1523a

Contract Name
Whackers
Creator
0xe568b2–39479e at 0x7e8f72–133dd4
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
Fetching transactions...
Transfers
Fetching transfers...
Gas Used
Fetching gas used...
Last Balance Update
26350314
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been partially verified via Sourcify. View contract in Sourcify repository
Contract name:
Whackers




Optimization enabled
false
Compiler version
v0.5.16+commit.9c3226ce




EVM Version
istanbul




Verified at
2026-04-22T03:09:29.389461Z

Constructor Arguments

000000000000000000000000cf8335727b776d190f9d15a54e6b9b9348439eee

Arg [0] (address) : 0xcf8335727b776d190f9d15a54e6b9b9348439eee

              

Whackers.sol

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: contracts/Utility.sol

pragma solidity ^0.5.16;


library utilities {

    using SafeMath for uint;

    // Utilities

    // basic array sort
    function sort_array(uint[] memory arr) internal pure returns (uint[] memory) {
        uint l = arr.length;
        for (uint i = 0; i < l; i++) {
            for (uint j = i + 1; j < l; j++) {
                if (arr[i] > arr[j]) {
                    uint temp = arr[i];
                    arr[i] = arr[j];
                    arr[j] = temp;
                }
            }
        }
        return arr;
    }

    // converts a string to a uint
    function stringToUint(string memory s) internal pure returns (uint) {
        bytes memory b = bytes(s);
        uint i;
        uint result = 0;
        for (i = 0; i < b.length; i++) {
            uint c = uint(uint8(b[i]));
            if (c >= 48 && c <= 57) {
                result = result * 10 + (c - 48);
            }
        }
        return result;
    }

    // Converts a uint to a string
    function uintToString(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len - 1;
        while (_i != 0) {
            bstr[k--] = byte(uint8(48 + _i % 10));
            _i /= 10;
        }
        return string(bstr);
    }

    // returns a substring but reverses the order of the characters
    function substrReversed(string memory str, uint startIndex, uint endIndex) internal pure returns (string memory) {
        bytes memory strBytes = bytes(str);
        bytes memory result = new bytes(endIndex - startIndex);
        uint j = 0;
        for (uint i = endIndex - 1; i >= startIndex; i--) {
            result[j] = strBytes[i];
            j += 1;
        }
        return string(result);
    }

}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.5.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        _owner = _msgSender();
        emit OwnershipTransferred(address(0), _owner);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _owner;
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/Whackers.sol

pragma solidity ^0.5.16;
// pragma experimental ABIEncoderV2;





//  ██╗    ██╗ ██╗  ██╗  █████╗   ██████╗ ██╗  ██╗ ███████╗ ██████╗  ███████╗
//  ██║    ██║ ██║  ██║ ██╔══██╗ ██╔════╝ ██║ ██╔╝ ██╔════╝ ██╔══██╗ ██╔════╝
//  ██║ █╗ ██║ ███████║ ███████║ ██║      █████╔╝  █████╗   ██████╔╝ ███████╗
//  ██║███╗██║ ██╔══██║ ██╔══██║ ██║      ██╔═██╗  ██╔══╝   ██╔══██╗ ╚════██║
// ╚███╔███╔╝ ██║  ██║ ██║  ██║ ╚██████╗ ██║  ██╗ ███████╗ ██║  ██║ ███████║
// ╚══╝╚══╝  ╚═╝  ╚═╝ ╚═╝  ╚═╝  ╚═════╝ ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ ╚══════╝

// This contract is intended to give the WHACKD token a use case.
// Normally, WHACKD token burns 10% of a given transaction when the
// token is moved. The intent of this contract is to give users an
// opportunity to increase the value of their holding by buying into
// a lottery of WHACKD tokens. It also has the intrinsic use of burning
// tokens and, in the spirit of WHACKD, some participants lose their
// deposits. Here's how it works:

// PLAYING A ROUND
// There is a fixed deposit requirement, which matches the first of
// ten deposits: User 1 deposits 100 WHACKD, next 9 users must deposit
// 100 WHACKD. Once ten deposits are collected, distribution will be as follows:

// WINNERS (AND LOSERS)
// The kitty is the sum of all deposits
//  ** 5 random users will be WHACKD and get nothing. Remaining participants and
//    the house will split what remains on the WHACKERS contract.
//  ** 4 random users will win second place. The payout will be 1/7th of the
//    kitty
//  ** The House will collect a quarter of second prize
//  ** One random user will win first place. The payout will be what remains
//    of the kitty

// FINAL DISTRIBUTION FROM INITIAL DEPOSIT OF 111 WHACKD:
//  Upon completion of the whackers game, the original WHACKERS smart contract will
//  then distribute the winnings - but since WHACKD token burns ten percent of
//  every transaction. WHACKD token takes 10% on deposits and payouts.

// OLD GAMES: AN OLDER INCOMPLETE CHALLENGE
// If a round gets to be a week old a user can call forceRound
//  with the same ante as the others but we populate all the vacant
//  slots with his address thereby increasing his chances of winning,
//  although the payouts will be less, 2nd place winners may incur a net loss

// NOTICE: ONE IN A THOUSAND WHACKD TRANSACTIONS ARE 100% BURNED. Be warned!

/// @author snowkidind (https://github.com/snowkidind/whackers)
/// @title Whackers
contract Whackers is Ownable {

    using SafeMath for uint;

    IERC20 internal whackd;

    uint public ante;          // the amount of deposit required for active round, zero if new round.
    uint public start;         // annotate the date of the first ante
    uint public index;         // Countdown to having ten entrants
    uint public minimumAnte;   // setting for minimum deposit amount
    bool public uniqueWallet;  // setting for whether a single address may register multiple times in a round
    bool internal settling;    // used during settling process
    bool public suspend;       // owner can suspend the contract from accepting deposits

    constructor(IERC20 _whackd) public {
        index = 10;
        ante = 0;
        minimumAnte = 0;
        settling = false;
        uniqueWallet = true;
        whackd = _whackd;
        suspend = false;
    }

    event ReceivedTokens(address from, uint value, address token, bytes extraData);

    Player[10] players;
    address[5] winners;

    struct Player {
        address payable addr;
        string identifier;
    }

    modifier validDeposit(address from, uint amount) {
        if (ante > 0) {
            require(amount == ante, "Ante is set: Must send exact amount");
        } else {
            require(amount > 0, "Must send a deposit, Ante is open.");
        }
        if (uniqueWallet){
            for (uint i = 0; i < players.length; i++) {
                require(from != players[i].addr, "Deposit must be from a unique wallet.");
            }
        }
        require(settling == false, "Cannot accept a deposit during settling process, try again in a moment.");
        _;
    }

    function receiveApproval(address payable from, uint256 amount, address token, bytes memory extraData) public validDeposit(from, amount){

        if (!suspend) {
            require(IERC20(token) == whackd, "This contract only accepts WHACKD.");
            require(amount > minimumAnte, "Deposit must be above minimum ante.");
            require(IERC20(token).transferFrom(from, address(this), amount), "Must Approve transaction first.");

            emit ReceivedTokens(from, amount, token, extraData);

            string memory s = utilities.uintToString(block.timestamp.mul(index));
            string memory id = utilities.substrReversed(s, 8, 10);

            Player memory newPlayer = Player({addr : from, identifier : id});
            index -= 1;
            players[index] = newPlayer;

            if (ante == 0) {
                ante = amount;
                start = now; // overwrite last round start time
            }
            if (index == 0) {
                settle();
            }
        } else {
            revert();
        }
    }

    /// @notice when the amount of entrants reaches ten, or round is forced, payouts are distributed
    function settle() internal {

        settling = true;
        uint kitty = 0;
        uint[] memory list = sortById();

        kitty = whackd.balanceOf(address(this));
        payouts(list, kitty);

        cleanUp();
    }

    /// @notice Calculates second place winners
    /// @param list a sorted list of ID's
    /// @param kitty the latest balance of the smart contract
    function payouts(uint[] memory list, uint kitty) public payable {

        if (settling) {
            Player memory player2;
            Player memory player3;
            Player memory player4;
            Player memory player5;

            for (uint i = 0; i < players.length; i++) {
                if (utilities.stringToUint(players[i].identifier) == list[1]) {
                    player2 = players[i];
                    list[1] = 1000; // clear channel 1 from further winners
                }
                else if (utilities.stringToUint(players[i].identifier) == list[2]) {
                    player3 = players[i];
                    list[2] = 1000;
                }
                else if (utilities.stringToUint(players[i].identifier) == list[3]) {
                    player4 = players[i];
                    list[3] = 1000;
                }
                else if (utilities.stringToUint(players[i].identifier) == list[4]) {
                    player5 = players[i];
                    list[4] = 1000;
                }
            }

            uint payout = kitty.div(7);
            uint house = payout.div(4);

            require(whackd.transfer(player2.addr, payout));
            require(whackd.transfer(player3.addr, payout));
            require(whackd.transfer(player4.addr, payout));
            require(whackd.transfer(player5.addr, payout));
            require(whackd.transfer(owner(), house));

            kitty = kitty.sub(payout.mul(4));
            kitty = kitty.sub(house);

            winners[1] = player2.addr;
            winners[2] = player3.addr;
            winners[3] = player4.addr;
            winners[4] = player5.addr;

            // first place
            uint kitty2 = whackd.balanceOf(address(this)); // refresh balance

            Player memory player;
            for (uint i = 0; i < players.length; i++) {
                if (utilities.stringToUint(players[i].identifier) == list[0]) {
                    for (uint j = 0; j < 4; j++) {
                        if (winners[j] == players[i].addr){
                            // don't assign prize to 2nd place winners
                        } else {
                            player = players[i];
                            break;
                        }
                    }
                }
            }

            winners[0] = player.addr;
            require(whackd.transfer(player.addr, kitty2));

        } else {
            revert('Cannot call function externally');
        }
    }


    /// @notice Generates a list of identifiers from ids struct (global)
    /// @return list of ids to be used in assigning prizes
    function sortById() internal view returns (uint[] memory){
        // generate a list of id's, sort them and compare with mapping, return keys
        uint[] memory identifiers = new uint[](players.length);
        for (uint i = 0; i < players.length; i++) {
            identifiers[i] = utilities.stringToUint(players[i].identifier);
        }
        return utilities.sort_array(identifiers);
    }

    /// @notice Revert to new round
    function cleanUp() internal {
        for (uint i = 0; i < 10; i++) {
            delete players[i];
        }
        index = 10;
        ante = 0;
        settling = false;
    }

    /// @notice Forces a round to complete after time interval is exceeded
    /// @param token In this case, the address of whackd token is required.
    /// @param amount The amount of tokens being sent in wei
    function forceRound(IERC20 token, uint256 amount) external payable validDeposit(msg.sender, amount){
        if (!suspend) {
            require(token == whackd, "This contract only accepts WHACKD.");
            require(amount > minimumAnte, "Deposit must be above minimum ante.");
            require(token.transferFrom(msg.sender, address(this), amount));

            if (now > start + 7 days) {

                string memory s = utilities.uintToString(block.timestamp.mul(index));
                string memory id = utilities.substrReversed(s, 8, 10);
                Player memory newPlayer = Player({addr : msg.sender, identifier : id});
                index -= 1;
                players[index] = newPlayer;

                /// @dev here the empty values in the players array is filled with sender
                uint count = index;
                for (uint i = count; i > 0; i--) {
                    index -= 1;
                    players[index] = newPlayer;
                }

                settle();
            }
        } else {
            revert();
        }
    }

    /// An old round can be forced
    function oldRound() external view returns (bool){
        if (now > start + 7 days) {
          return true;
        }
        return false;
    }

    /// @notice players can be identified from this by index
    /// @param id the id in the array to retrieve
    function currentPlayers(uint id) external view returns (address){
        return players[id].addr;
    }

    // @notice last round of winners can also be retrieved
    /// @param id the id in the array to retrieve
    function lastRound(uint id) external view returns (address){
        return winners[id];
    }

    /// @notice Owner may cancel any given round, issuing refunds. (sans burn amount)
    function refundAll() external payable onlyOwner {

        settling = true;
        uint divisor = 10 - index;
        uint kitty = whackd.balanceOf(address(this));
        uint payout = kitty.div(divisor);
        uint count = 0;
        for (uint i = 10; i > (10 - divisor); i--) {
            require(whackd.transfer(players[i - 1].addr, payout));
            count += 1;
        }
        cleanUp();
    }

    /// @notice Owner may set a minimum ante
    /// @param minAnte the amount to set, in wei, defaults to zero
    function setMinimumAnte(uint minAnte) external onlyOwner {
        require(index == 10, "Currently in a round.");
        minimumAnte = minAnte;
    }

    /// @notice Owner may set wallet requirement to be unique or allows multiple deposits.
    function toggleUniqueWallet() external onlyOwner {
       uniqueWallet = !uniqueWallet;
    }

    /// @notice Fallback function rejects any ether deposits
    function() external payable {
        revert();
    }

    /// @notice owner may suspend use of this smart contract for new version
    function toggleSuspend() external onlyOwner {
        if (index == 10){
            suspend = !suspend;
        }
    }

    /// @notice Owner can remove erroneously sent erc20's
    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {
        return IERC20(tokenAddress).transfer(owner(), tokens);
    }
}
        

Compiler Settings

{"remappings":[],"optimizer":{"runs":200,"enabled":false},"libraries":{},"evmVersion":"istanbul","compilationTarget":{"Whackers.sol":"Whackers"}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","payable":false,"inputs":[{"type":"address","name":"_whackd","internalType":"contract IERC20"}]},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"ReceivedTokens","inputs":[{"type":"address","name":"from","internalType":"address","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"address","name":"token","internalType":"address","indexed":false},{"type":"bytes","name":"extraData","internalType":"bytes","indexed":false}],"anonymous":false},{"type":"fallback","stateMutability":"payable","payable":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"ante","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":"","internalType":"address"}],"name":"currentPlayers","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}],"constant":true},{"type":"function","stateMutability":"payable","payable":true,"outputs":[],"name":"forceRound","inputs":[{"type":"address","name":"token","internalType":"contract IERC20"},{"type":"uint256","name":"amount","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"index","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isOwner","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":"","internalType":"address"}],"name":"lastRound","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minimumAnte","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"oldRound","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[],"constant":true},{"type":"function","stateMutability":"payable","payable":true,"outputs":[],"name":"payouts","inputs":[{"type":"uint256[]","name":"list","internalType":"uint256[]"},{"type":"uint256","name":"kitty","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"receiveApproval","inputs":[{"type":"address","name":"from","internalType":"address payable"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"token","internalType":"address"},{"type":"bytes","name":"extraData","internalType":"bytes"}],"constant":false},{"type":"function","stateMutability":"payable","payable":true,"outputs":[],"name":"refundAll","inputs":[],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"renounceOwnership","inputs":[],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"setMinimumAnte","inputs":[{"type":"uint256","name":"minAnte","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"start","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"suspend","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"toggleSuspend","inputs":[],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"toggleUniqueWallet","inputs":[],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[{"type":"bool","name":"success","internalType":"bool"}],"name":"transferAnyERC20Token","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"tokens","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"uniqueWallet","inputs":[],"constant":true}]
              

Contract Creation Code

Verify & Publish
0x60806040523480156200001157600080fd5b50604051620040a4380380620040a4833981810160405260208110156200003757600080fd5b810190808051906020019092919050505062000058620001c460201b60201c565b6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600a600481905550600060028190555060006005819055506000600660016101000a81548160ff0219169083151502179055506001600660006101000a81548160ff02191690831515021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600660026101000a81548160ff02191690831515021790555050620001cc565b600033905090565b613ec880620001dc6000396000f3fe60806040526004361061012a5760003560e01c80638f32d59b116100ab578063d400d6721161006f578063d400d672146105f0578063dc39d06d1461061f578063e061e7c014610692578063e3f2e4a4146106a9578063e6400bbe146106d4578063f2fde38b146107035761012a565b80638f32d59b146103de5780638f4ffcb11461040d578063be9a65551461051f578063c50e30711461054a578063c659666c146105c55761012a565b80635bd582fa116100f25780635bd582fa1461020457806368d55197146102c6578063703afc87146102f5578063715018a6146103705780638da5cb5b146103875761012a565b80630e41e8b51461012f5780631367a1a31461016a5780632986c0e5146101b85780632ffed7c7146101e357806338e771ab146101fa575b600080fd5b34801561013b57600080fd5b506101686004803603602081101561015257600080fd5b8101908080359060200190929190505050610754565b005b6101b66004803603604081101561018057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610850565b005b3480156101c457600080fd5b506101cd610e51565b6040518082815260200191505060405180910390f35b3480156101ef57600080fd5b506101f8610e57565b005b610202610efd565b005b6102c46004803603604081101561021a57600080fd5b810190808035906020019064010000000081111561023757600080fd5b82018360208201111561024957600080fd5b8035906020019184602083028401116401000000008311171561026b57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291905050506111ef565b005b3480156102d257600080fd5b506102db612632565b604051808215151515815260200191505060405180910390f35b34801561030157600080fd5b5061032e6004803603602081101561031857600080fd5b8101908080359060200190929190505050612654565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561037c57600080fd5b50610385612692565b005b34801561039357600080fd5b5061039c6127cb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103ea57600080fd5b506103f36127f4565b604051808215151515815260200191505060405180910390f35b34801561041957600080fd5b5061051d6004803603608081101561043057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561049757600080fd5b8201836020820111156104a957600080fd5b803590602001918460018302840111640100000000831117156104cb57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612852565b005b34801561052b57600080fd5b50610534612f2e565b6040518082815260200191505060405180910390f35b34801561055657600080fd5b506105836004803603602081101561056d57600080fd5b8101908080359060200190929190505050612f34565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105d157600080fd5b506105da612f6c565b6040518082815260200191505060405180910390f35b3480156105fc57600080fd5b50610605612f72565b604051808215151515815260200191505060405180910390f35b34801561062b57600080fd5b506106786004803603604081101561064257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612f85565b604051808215151515815260200191505060405180910390f35b34801561069e57600080fd5b506106a76130d2565b005b3480156106b557600080fd5b506106be613184565b6040518082815260200191505060405180910390f35b3480156106e057600080fd5b506106e961318a565b604051808215151515815260200191505060405180910390f35b34801561070f57600080fd5b506107526004803603602081101561072657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061319d565b005b61075c6127f4565b6107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600a60045414610846576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f43757272656e746c7920696e206120726f756e642e000000000000000000000081525060200191505060405180910390fd5b8060058190555050565b3381600060025411156108bc5760025481146108b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613d576023913960400191505060405180910390fd5b610916565b60008111610915576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e726022913960400191505060405180910390fd5b5b600660009054906101000a900460ff1615610a025760008090505b600a811015610a0057600781600a811061094757fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613e0a6025913960400191505060405180910390fd5b8080600101915050610931565b505b60001515600660019054906101000a900460ff16151514610a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526047815260200180613dc36047913960600191505060405180910390fd5b600660029054906101000a900460ff16610e4657600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e506022913960400191505060405180910390fd5b6005548311610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613da06023913960400191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610c3d57600080fd5b505af1158015610c51573d6000803e3d6000fd5b505050506040513d6020811015610c6757600080fd5b8101908080519060200190929190505050610c8157600080fd5b62093a8060035401421115610e41576060610caf610caa6004544261322390919063ffffffff16565b6132a9565b90506060610cc0826008600a6133d6565b9050610cca613c39565b60405180604001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506001600460008282540392505081905550806007600454600a8110610d1857fe5b6002020160008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190610d7f929190613c69565b509050506000600454905060008190505b6000811115610e33576001600460008282540392505081905550826007600454600a8110610dba57fe5b6002020160008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190610e21929190613c69565b50905050808060019003915050610d90565b50610e3c61349f565b505050505b610e4b565b600080fd5b50505050565b60045481565b610e5f6127f4565b610ed1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600660009054906101000a900460ff1615600660006101000a81548160ff021916908315150217905550565b610f056127f4565b610f77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6001600660016101000a81548160ff0219169083151502179055506000600454600a0390506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561103d57600080fd5b505afa158015611051573d6000803e3d6000fd5b505050506040513d602081101561106757600080fd5b81019080805190602001909291905050509050600061108f83836135bd90919063ffffffff16565b905060008090506000600a90505b84600a038111156111e057600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600760018403600a81106110f657fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561118857600080fd5b505af115801561119c573d6000803e3d6000fd5b505050506040513d60208110156111b257600080fd5b81019080805190602001909291905050506111cc57600080fd5b60018201915080806001900391505061109d565b506111e9613607565b50505050565b600660019054906101000a900460ff16156125c05761120c613c39565b611214613c39565b61121c613c39565b611224613c39565b60008090505b600a811015611a5b578660018151811061124057fe5b60200260200101516112fd600783600a811061125857fe5b600202016001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156112f35780601f106112c8576101008083540402835291602001916112f3565b820191906000526020600020905b8154815290600101906020018083116112d657829003601f168201915b505050505061369c565b141561143a57600781600a811061131057fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561140e5780601f106113e35761010080835404028352916020019161140e565b820191906000526020600020905b8154815290600101906020018083116113f157829003601f168201915b50505050508152505094506103e88760018151811061142957fe5b602002602001018181525050611a4e565b8660028151811061144757fe5b6020026020010151611504600783600a811061145f57fe5b600202016001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114fa5780601f106114cf576101008083540402835291602001916114fa565b820191906000526020600020905b8154815290600101906020018083116114dd57829003601f168201915b505050505061369c565b141561164157600781600a811061151757fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116155780601f106115ea57610100808354040283529160200191611615565b820191906000526020600020905b8154815290600101906020018083116115f857829003601f168201915b50505050508152505093506103e88760028151811061163057fe5b602002602001018181525050611a4d565b8660038151811061164e57fe5b602002602001015161170b600783600a811061166657fe5b600202016001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156117015780601f106116d657610100808354040283529160200191611701565b820191906000526020600020905b8154815290600101906020018083116116e457829003601f168201915b505050505061369c565b141561184857600781600a811061171e57fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561181c5780601f106117f15761010080835404028352916020019161181c565b820191906000526020600020905b8154815290600101906020018083116117ff57829003601f168201915b50505050508152505092506103e88760038151811061183757fe5b602002602001018181525050611a4c565b8660048151811061185557fe5b6020026020010151611912600783600a811061186d57fe5b600202016001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156119085780601f106118dd57610100808354040283529160200191611908565b820191906000526020600020905b8154815290600101906020018083116118eb57829003601f168201915b505050505061369c565b1415611a4b57600781600a811061192557fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a235780601f106119f857610100808354040283529160200191611a23565b820191906000526020600020905b815481529060010190602001808311611a0657829003601f168201915b50505050508152505091506103e887600481518110611a3e57fe5b6020026020010181815250505b5b5b5b808060010191505061122a565b506000611a726007876135bd90919063ffffffff16565b90506000611a8a6004836135bd90919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8760000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611b3957600080fd5b505af1158015611b4d573d6000803e3d6000fd5b505050506040513d6020811015611b6357600080fd5b8101908080519060200190929190505050611b7d57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8660000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611c2a57600080fd5b505af1158015611c3e573d6000803e3d6000fd5b505050506040513d6020811015611c5457600080fd5b8101908080519060200190929190505050611c6e57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8560000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611d1b57600080fd5b505af1158015611d2f573d6000803e3d6000fd5b505050506040513d6020811015611d4557600080fd5b8101908080519060200190929190505050611d5f57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8460000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611e0c57600080fd5b505af1158015611e20573d6000803e3d6000fd5b505050506040513d6020811015611e3657600080fd5b8101908080519060200190929190505050611e5057600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611e966127cb565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611f0057600080fd5b505af1158015611f14573d6000803e3d6000fd5b505050506040513d6020811015611f2a57600080fd5b8101908080519060200190929190505050611f4457600080fd5b611f6a611f5b60048461322390919063ffffffff16565b8861371590919063ffffffff16565b9650611f7f818861371590919063ffffffff16565b96508560000151601b600160058110611f9457fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460000151601b600260058110611fe657fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360000151601b60036005811061203857fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260000151601b60046005811061208a57fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561216a57600080fd5b505afa15801561217e573d6000803e3d6000fd5b505050506040513d602081101561219457600080fd5b810190808051906020019092919050505090506121af613c39565b60008090505b600a81101561246f578a6000815181106121cb57fe5b6020026020010151612288600783600a81106121e357fe5b600202016001018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561227e5780601f106122535761010080835404028352916020019161227e565b820191906000526020600020905b81548152906001019060200180831161226157829003601f168201915b505050505061369c565b14156124625760008090505b600481101561246057600782600a81106122aa57fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16601b82600581106122f557fe5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561233857612453565b600782600a811061234557fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156124435780601f1061241857610100808354040283529160200191612443565b820191906000526020600020905b81548152906001019060200180831161242657829003601f168201915b5050505050815250509250612460565b8080600101915050612294565b505b80806001019150506121b5565b508060000151601b60006005811061248357fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8260000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561256f57600080fd5b505af1158015612583573d6000803e3d6000fd5b505050506040513d602081101561259957600080fd5b81019080805190602001909291905050506125b357600080fd5b505050505050505061262e565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f43616e6e6f742063616c6c2066756e6374696f6e2065787465726e616c6c790081525060200191505060405180910390fd5b5050565b600062093a806003540142111561264c5760019050612651565b600090505b90565b6000600782600a811061266357fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61269a6127f4565b61270c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661283661375f565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b8383600060025411156128be5760025481146128b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613d576023913960400191505060405180910390fd5b612918565b60008111612917576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e726022913960400191505060405180910390fd5b5b600660009054906101000a900460ff1615612a045760008090505b600a811015612a0257600781600a811061294957fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613e0a6025913960400191505060405180910390fd5b8080600101915050612933565b505b60001515600660019054906101000a900460ff16151514612a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526047815260200180613dc36047913960600191505060405180910390fd5b600660029054906101000a900460ff16612f2157600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e506022913960400191505060405180910390fd5b6005548511612b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613da06023913960400191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd8730886040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015612c3f57600080fd5b505af1158015612c53573d6000803e3d6000fd5b505050506040513d6020811015612c6957600080fd5b8101908080519060200190929190505050612cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4d75737420417070726f7665207472616e73616374696f6e2066697273742e0081525060200191505060405180910390fd5b7fd65b48fd35864b3528d38e44760be5553248f89bf3ff6b06cca57817cc2650bf86868686604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612dbb578082015181840152602081019050612da0565b50505050905090810190601f168015612de85780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a16060612e17612e126004544261322390919063ffffffff16565b6132a9565b90506060612e28826008600a6133d6565b9050612e32613c39565b60405180604001604052808a73ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506001600460008282540392505081905550806007600454600a8110612e8057fe5b6002020160008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190612ee7929190613c69565b5090505060006002541415612f055787600281905550426003819055505b60006004541415612f1957612f1861349f565b5b505050612f26565b600080fd5b505050505050565b60035481565b6000601b8260058110612f4357fe5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60055481565b600660009054906101000a900460ff1681565b6000612f8f6127f4565b613001576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6130256127cb565b846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561308f57600080fd5b505af11580156130a3573d6000803e3d6000fd5b505050506040513d60208110156130b957600080fd5b8101908080519060200190929190505050905092915050565b6130da6127f4565b61314c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600a600454141561318257600660029054906101000a900460ff1615600660026101000a81548160ff0219169083151502179055505b565b60025481565b600660029054906101000a900460ff1681565b6131a56127f4565b613217576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61322081613767565b50565b60008083141561323657600090506132a3565b600082840290508284828161324757fe5b041461329e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613e2f6021913960400191505060405180910390fd5b809150505b92915050565b606060008214156132f1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133d1565b600082905060005b6000821461331b578080600101915050600a828161331357fe5b0491506132f9565b6060816040519080825280601f01601f1916602001820160405280156133505781602001600182028038833980820191505090505b50905060006001830390505b600086146133c957600a868161336e57fe5b0660300160f81b8282806001900393508151811061338857fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a86816133c157fe5b04955061335c565b819450505050505b919050565b60608084905060608484036040519080825280601f01601f1916602001820160405280156134135781602001600182028038833980820191505090505b509050600080905060006001860390505b8681106134915783818151811061343757fe5b602001015160f81c60f81b83838151811061344e57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600182019150808060019003915050613424565b508193505050509392505050565b6001600660016101000a81548160ff021916908315150217905550600080905060606134c96138ab565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561356a57600080fd5b505afa15801561357e573d6000803e3d6000fd5b505050506040513d602081101561359457600080fd5b810190808051906020019092919050505091506135b181836111ef565b6135b9613607565b5050565b60006135ff83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506139da565b905092915050565b60008090505b600a81101561366e57600781600a811061362357fe5b60020201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600061365f9190613ce9565b5050808060010191505061360d565b50600a60048190555060006002819055506000600660016101000a81548160ff021916908315150217905550565b6000606082905060008060009050600091505b825182101561370a5760008383815181106136c657fe5b602001015160f81c60f81b60f81c60ff169050603081101580156136eb575060398111155b156136fc5760308103600a83020191505b5081806001019250506136af565b809350505050919050565b600061375783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613aa0565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156137ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613d7a6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606080600a6040519080825280602002602001820160405280156138de5781602001602082028038833980820191505090505b50905060008090505b600a8110156139ca576139a5600782600a811061390057fe5b600202016001018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561399b5780601f106139705761010080835404028352916020019161399b565b820191906000526020600020905b81548152906001019060200180831161397e57829003601f168201915b505050505061369c565b8282815181106139b157fe5b60200260200101818152505080806001019150506138e7565b506139d481613b60565b91505090565b60008083118290613a86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613a4b578082015181840152602081019050613a30565b50505050905090810190601f168015613a785780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613a9257fe5b049050809150509392505050565b6000838311158290613b4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b12578082015181840152602081019050613af7565b50505050905090810190601f168015613b3f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b606060008251905060008090505b81811015613c2f5760006001820190505b82811015613c2157848181518110613b9357fe5b6020026020010151858381518110613ba757fe5b60200260200101511115613c14576000858381518110613bc357fe5b60200260200101519050858281518110613bd957fe5b6020026020010151868481518110613bed57fe5b60200260200101818152505080868381518110613c0657fe5b602002602001018181525050505b8080600101915050613b7f565b508080600101915050613b6e565b5082915050919050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001606081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613caa57805160ff1916838001178555613cd8565b82800160010185558215613cd8579182015b82811115613cd7578251825591602001919060010190613cbc565b5b509050613ce59190613d31565b5090565b50805460018160011615610100020316600290046000825580601f10613d0f5750613d2e565b601f016020900490600052602060002090810190613d2d9190613d31565b5b50565b613d5391905b80821115613d4f576000816000905550600101613d37565b5090565b9056fe416e7465206973207365743a204d7573742073656e6420657861637420616d6f756e744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734465706f736974206d7573742062652061626f7665206d696e696d756d20616e74652e43616e6e6f74206163636570742061206465706f73697420647572696e6720736574746c696e672070726f636573732c2074727920616761696e20696e2061206d6f6d656e742e4465706f736974206d7573742062652066726f6d206120756e697175652077616c6c65742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320636f6e7472616374206f6e6c79206163636570747320574841434b442e4d7573742073656e642061206465706f7369742c20416e7465206973206f70656e2ea265627a7a72315820ebdc8528033c8a895f78cdd0b25774b95e72a91fcea276e1779139b7e9c2167564736f6c63430005100032000000000000000000000000cf8335727b776d190f9d15a54e6b9b9348439eee

Deployed ByteCode

0x60806040526004361061012a5760003560e01c80638f32d59b116100ab578063d400d6721161006f578063d400d672146105f0578063dc39d06d1461061f578063e061e7c014610692578063e3f2e4a4146106a9578063e6400bbe146106d4578063f2fde38b146107035761012a565b80638f32d59b146103de5780638f4ffcb11461040d578063be9a65551461051f578063c50e30711461054a578063c659666c146105c55761012a565b80635bd582fa116100f25780635bd582fa1461020457806368d55197146102c6578063703afc87146102f5578063715018a6146103705780638da5cb5b146103875761012a565b80630e41e8b51461012f5780631367a1a31461016a5780632986c0e5146101b85780632ffed7c7146101e357806338e771ab146101fa575b600080fd5b34801561013b57600080fd5b506101686004803603602081101561015257600080fd5b8101908080359060200190929190505050610754565b005b6101b66004803603604081101561018057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610850565b005b3480156101c457600080fd5b506101cd610e51565b6040518082815260200191505060405180910390f35b3480156101ef57600080fd5b506101f8610e57565b005b610202610efd565b005b6102c46004803603604081101561021a57600080fd5b810190808035906020019064010000000081111561023757600080fd5b82018360208201111561024957600080fd5b8035906020019184602083028401116401000000008311171561026b57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291905050506111ef565b005b3480156102d257600080fd5b506102db612632565b604051808215151515815260200191505060405180910390f35b34801561030157600080fd5b5061032e6004803603602081101561031857600080fd5b8101908080359060200190929190505050612654565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561037c57600080fd5b50610385612692565b005b34801561039357600080fd5b5061039c6127cb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103ea57600080fd5b506103f36127f4565b604051808215151515815260200191505060405180910390f35b34801561041957600080fd5b5061051d6004803603608081101561043057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561049757600080fd5b8201836020820111156104a957600080fd5b803590602001918460018302840111640100000000831117156104cb57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612852565b005b34801561052b57600080fd5b50610534612f2e565b6040518082815260200191505060405180910390f35b34801561055657600080fd5b506105836004803603602081101561056d57600080fd5b8101908080359060200190929190505050612f34565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105d157600080fd5b506105da612f6c565b6040518082815260200191505060405180910390f35b3480156105fc57600080fd5b50610605612f72565b604051808215151515815260200191505060405180910390f35b34801561062b57600080fd5b506106786004803603604081101561064257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612f85565b604051808215151515815260200191505060405180910390f35b34801561069e57600080fd5b506106a76130d2565b005b3480156106b557600080fd5b506106be613184565b6040518082815260200191505060405180910390f35b3480156106e057600080fd5b506106e961318a565b604051808215151515815260200191505060405180910390f35b34801561070f57600080fd5b506107526004803603602081101561072657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061319d565b005b61075c6127f4565b6107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600a60045414610846576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f43757272656e746c7920696e206120726f756e642e000000000000000000000081525060200191505060405180910390fd5b8060058190555050565b3381600060025411156108bc5760025481146108b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613d576023913960400191505060405180910390fd5b610916565b60008111610915576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e726022913960400191505060405180910390fd5b5b600660009054906101000a900460ff1615610a025760008090505b600a811015610a0057600781600a811061094757fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613e0a6025913960400191505060405180910390fd5b8080600101915050610931565b505b60001515600660019054906101000a900460ff16151514610a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526047815260200180613dc36047913960600191505060405180910390fd5b600660029054906101000a900460ff16610e4657600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e506022913960400191505060405180910390fd5b6005548311610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613da06023913960400191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610c3d57600080fd5b505af1158015610c51573d6000803e3d6000fd5b505050506040513d6020811015610c6757600080fd5b8101908080519060200190929190505050610c8157600080fd5b62093a8060035401421115610e41576060610caf610caa6004544261322390919063ffffffff16565b6132a9565b90506060610cc0826008600a6133d6565b9050610cca613c39565b60405180604001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506001600460008282540392505081905550806007600454600a8110610d1857fe5b6002020160008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190610d7f929190613c69565b509050506000600454905060008190505b6000811115610e33576001600460008282540392505081905550826007600454600a8110610dba57fe5b6002020160008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190610e21929190613c69565b50905050808060019003915050610d90565b50610e3c61349f565b505050505b610e4b565b600080fd5b50505050565b60045481565b610e5f6127f4565b610ed1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600660009054906101000a900460ff1615600660006101000a81548160ff021916908315150217905550565b610f056127f4565b610f77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6001600660016101000a81548160ff0219169083151502179055506000600454600a0390506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561103d57600080fd5b505afa158015611051573d6000803e3d6000fd5b505050506040513d602081101561106757600080fd5b81019080805190602001909291905050509050600061108f83836135bd90919063ffffffff16565b905060008090506000600a90505b84600a038111156111e057600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600760018403600a81106110f657fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561118857600080fd5b505af115801561119c573d6000803e3d6000fd5b505050506040513d60208110156111b257600080fd5b81019080805190602001909291905050506111cc57600080fd5b60018201915080806001900391505061109d565b506111e9613607565b50505050565b600660019054906101000a900460ff16156125c05761120c613c39565b611214613c39565b61121c613c39565b611224613c39565b60008090505b600a811015611a5b578660018151811061124057fe5b60200260200101516112fd600783600a811061125857fe5b600202016001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156112f35780601f106112c8576101008083540402835291602001916112f3565b820191906000526020600020905b8154815290600101906020018083116112d657829003601f168201915b505050505061369c565b141561143a57600781600a811061131057fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561140e5780601f106113e35761010080835404028352916020019161140e565b820191906000526020600020905b8154815290600101906020018083116113f157829003601f168201915b50505050508152505094506103e88760018151811061142957fe5b602002602001018181525050611a4e565b8660028151811061144757fe5b6020026020010151611504600783600a811061145f57fe5b600202016001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114fa5780601f106114cf576101008083540402835291602001916114fa565b820191906000526020600020905b8154815290600101906020018083116114dd57829003601f168201915b505050505061369c565b141561164157600781600a811061151757fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116155780601f106115ea57610100808354040283529160200191611615565b820191906000526020600020905b8154815290600101906020018083116115f857829003601f168201915b50505050508152505093506103e88760028151811061163057fe5b602002602001018181525050611a4d565b8660038151811061164e57fe5b602002602001015161170b600783600a811061166657fe5b600202016001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156117015780601f106116d657610100808354040283529160200191611701565b820191906000526020600020905b8154815290600101906020018083116116e457829003601f168201915b505050505061369c565b141561184857600781600a811061171e57fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561181c5780601f106117f15761010080835404028352916020019161181c565b820191906000526020600020905b8154815290600101906020018083116117ff57829003601f168201915b50505050508152505092506103e88760038151811061183757fe5b602002602001018181525050611a4c565b8660048151811061185557fe5b6020026020010151611912600783600a811061186d57fe5b600202016001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156119085780601f106118dd57610100808354040283529160200191611908565b820191906000526020600020905b8154815290600101906020018083116118eb57829003601f168201915b505050505061369c565b1415611a4b57600781600a811061192557fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a235780601f106119f857610100808354040283529160200191611a23565b820191906000526020600020905b815481529060010190602001808311611a0657829003601f168201915b50505050508152505091506103e887600481518110611a3e57fe5b6020026020010181815250505b5b5b5b808060010191505061122a565b506000611a726007876135bd90919063ffffffff16565b90506000611a8a6004836135bd90919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8760000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611b3957600080fd5b505af1158015611b4d573d6000803e3d6000fd5b505050506040513d6020811015611b6357600080fd5b8101908080519060200190929190505050611b7d57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8660000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611c2a57600080fd5b505af1158015611c3e573d6000803e3d6000fd5b505050506040513d6020811015611c5457600080fd5b8101908080519060200190929190505050611c6e57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8560000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611d1b57600080fd5b505af1158015611d2f573d6000803e3d6000fd5b505050506040513d6020811015611d4557600080fd5b8101908080519060200190929190505050611d5f57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8460000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611e0c57600080fd5b505af1158015611e20573d6000803e3d6000fd5b505050506040513d6020811015611e3657600080fd5b8101908080519060200190929190505050611e5057600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611e966127cb565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611f0057600080fd5b505af1158015611f14573d6000803e3d6000fd5b505050506040513d6020811015611f2a57600080fd5b8101908080519060200190929190505050611f4457600080fd5b611f6a611f5b60048461322390919063ffffffff16565b8861371590919063ffffffff16565b9650611f7f818861371590919063ffffffff16565b96508560000151601b600160058110611f9457fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460000151601b600260058110611fe657fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360000151601b60036005811061203857fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260000151601b60046005811061208a57fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561216a57600080fd5b505afa15801561217e573d6000803e3d6000fd5b505050506040513d602081101561219457600080fd5b810190808051906020019092919050505090506121af613c39565b60008090505b600a81101561246f578a6000815181106121cb57fe5b6020026020010151612288600783600a81106121e357fe5b600202016001018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561227e5780601f106122535761010080835404028352916020019161227e565b820191906000526020600020905b81548152906001019060200180831161226157829003601f168201915b505050505061369c565b14156124625760008090505b600481101561246057600782600a81106122aa57fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16601b82600581106122f557fe5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561233857612453565b600782600a811061234557fe5b600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156124435780601f1061241857610100808354040283529160200191612443565b820191906000526020600020905b81548152906001019060200180831161242657829003601f168201915b5050505050815250509250612460565b8080600101915050612294565b505b80806001019150506121b5565b508060000151601b60006005811061248357fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8260000151846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561256f57600080fd5b505af1158015612583573d6000803e3d6000fd5b505050506040513d602081101561259957600080fd5b81019080805190602001909291905050506125b357600080fd5b505050505050505061262e565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f43616e6e6f742063616c6c2066756e6374696f6e2065787465726e616c6c790081525060200191505060405180910390fd5b5050565b600062093a806003540142111561264c5760019050612651565b600090505b90565b6000600782600a811061266357fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61269a6127f4565b61270c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661283661375f565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b8383600060025411156128be5760025481146128b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613d576023913960400191505060405180910390fd5b612918565b60008111612917576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e726022913960400191505060405180910390fd5b5b600660009054906101000a900460ff1615612a045760008090505b600a811015612a0257600781600a811061294957fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613e0a6025913960400191505060405180910390fd5b8080600101915050612933565b505b60001515600660019054906101000a900460ff16151514612a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526047815260200180613dc36047913960600191505060405180910390fd5b600660029054906101000a900460ff16612f2157600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e506022913960400191505060405180910390fd5b6005548511612b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613da06023913960400191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd8730886040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015612c3f57600080fd5b505af1158015612c53573d6000803e3d6000fd5b505050506040513d6020811015612c6957600080fd5b8101908080519060200190929190505050612cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4d75737420417070726f7665207472616e73616374696f6e2066697273742e0081525060200191505060405180910390fd5b7fd65b48fd35864b3528d38e44760be5553248f89bf3ff6b06cca57817cc2650bf86868686604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612dbb578082015181840152602081019050612da0565b50505050905090810190601f168015612de85780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a16060612e17612e126004544261322390919063ffffffff16565b6132a9565b90506060612e28826008600a6133d6565b9050612e32613c39565b60405180604001604052808a73ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506001600460008282540392505081905550806007600454600a8110612e8057fe5b6002020160008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190612ee7929190613c69565b5090505060006002541415612f055787600281905550426003819055505b60006004541415612f1957612f1861349f565b5b505050612f26565b600080fd5b505050505050565b60035481565b6000601b8260058110612f4357fe5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60055481565b600660009054906101000a900460ff1681565b6000612f8f6127f4565b613001576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6130256127cb565b846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561308f57600080fd5b505af11580156130a3573d6000803e3d6000fd5b505050506040513d60208110156130b957600080fd5b8101908080519060200190929190505050905092915050565b6130da6127f4565b61314c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600a600454141561318257600660029054906101000a900460ff1615600660026101000a81548160ff0219169083151502179055505b565b60025481565b600660029054906101000a900460ff1681565b6131a56127f4565b613217576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61322081613767565b50565b60008083141561323657600090506132a3565b600082840290508284828161324757fe5b041461329e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613e2f6021913960400191505060405180910390fd5b809150505b92915050565b606060008214156132f1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133d1565b600082905060005b6000821461331b578080600101915050600a828161331357fe5b0491506132f9565b6060816040519080825280601f01601f1916602001820160405280156133505781602001600182028038833980820191505090505b50905060006001830390505b600086146133c957600a868161336e57fe5b0660300160f81b8282806001900393508151811061338857fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a86816133c157fe5b04955061335c565b819450505050505b919050565b60608084905060608484036040519080825280601f01601f1916602001820160405280156134135781602001600182028038833980820191505090505b509050600080905060006001860390505b8681106134915783818151811061343757fe5b602001015160f81c60f81b83838151811061344e57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600182019150808060019003915050613424565b508193505050509392505050565b6001600660016101000a81548160ff021916908315150217905550600080905060606134c96138ab565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561356a57600080fd5b505afa15801561357e573d6000803e3d6000fd5b505050506040513d602081101561359457600080fd5b810190808051906020019092919050505091506135b181836111ef565b6135b9613607565b5050565b60006135ff83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506139da565b905092915050565b60008090505b600a81101561366e57600781600a811061362357fe5b60020201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600061365f9190613ce9565b5050808060010191505061360d565b50600a60048190555060006002819055506000600660016101000a81548160ff021916908315150217905550565b6000606082905060008060009050600091505b825182101561370a5760008383815181106136c657fe5b602001015160f81c60f81b60f81c60ff169050603081101580156136eb575060398111155b156136fc5760308103600a83020191505b5081806001019250506136af565b809350505050919050565b600061375783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613aa0565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156137ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613d7a6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606080600a6040519080825280602002602001820160405280156138de5781602001602082028038833980820191505090505b50905060008090505b600a8110156139ca576139a5600782600a811061390057fe5b600202016001018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561399b5780601f106139705761010080835404028352916020019161399b565b820191906000526020600020905b81548152906001019060200180831161397e57829003601f168201915b505050505061369c565b8282815181106139b157fe5b60200260200101818152505080806001019150506138e7565b506139d481613b60565b91505090565b60008083118290613a86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613a4b578082015181840152602081019050613a30565b50505050905090810190601f168015613a785780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613a9257fe5b049050809150509392505050565b6000838311158290613b4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b12578082015181840152602081019050613af7565b50505050905090810190601f168015613b3f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b606060008251905060008090505b81811015613c2f5760006001820190505b82811015613c2157848181518110613b9357fe5b6020026020010151858381518110613ba757fe5b60200260200101511115613c14576000858381518110613bc357fe5b60200260200101519050858281518110613bd957fe5b6020026020010151868481518110613bed57fe5b60200260200101818152505080868381518110613c0657fe5b602002602001018181525050505b8080600101915050613b7f565b508080600101915050613b6e565b5082915050919050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001606081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613caa57805160ff1916838001178555613cd8565b82800160010185558215613cd8579182015b82811115613cd7578251825591602001919060010190613cbc565b5b509050613ce59190613d31565b5090565b50805460018160011615610100020316600290046000825580601f10613d0f5750613d2e565b601f016020900490600052602060002090810190613d2d9190613d31565b5b50565b613d5391905b80821115613d4f576000816000905550600101613d37565b5090565b9056fe416e7465206973207365743a204d7573742073656e6420657861637420616d6f756e744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734465706f736974206d7573742062652061626f7665206d696e696d756d20616e74652e43616e6e6f74206163636570742061206465706f73697420647572696e6720736574746c696e672070726f636573732c2074727920616761696e20696e2061206d6f6d656e742e4465706f736974206d7573742062652066726f6d206120756e697175652077616c6c65742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320636f6e7472616374206f6e6c79206163636570747320574841434b442e4d7573742073656e642061206465706f7369742c20416e7465206973206f70656e2ea265627a7a72315820ebdc8528033c8a895f78cdd0b25774b95e72a91fcea276e1779139b7e9c2167564736f6c63430005100032