ETH Price: $3,221.08 (-3.72%)
 

Overview

ETH Balance

0.249147507908515344 ETH

Eth Value

$802.52 (@ $3,221.08/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake End115074592020-12-23 3:56:091478 days ago1608695769IN
0x7245B0fe...77CE6F789
0 ETH0.0016950656
Stake End114813702020-12-19 3:59:491482 days ago1608350389IN
0x7245B0fe...77CE6F789
0 ETH0.0087535
Xf Lobby Exit114684832020-12-17 4:26:091484 days ago1608179169IN
0x7245B0fe...77CE6F789
0 ETH0.0046136389.13
Xf Lobby Enter114612042020-12-16 1:39:431485 days ago1608082783IN
0x7245B0fe...77CE6F789
0.01 ETH0.0037726942
Xf Lobby Enter114592862020-12-15 18:33:151486 days ago1608057195IN
0x7245B0fe...77CE6F789
0.01 ETH0.0034133838.00000145
Stake Start114489502020-12-14 4:32:121487 days ago1607920332IN
0x7245B0fe...77CE6F789
0 ETH0.0039174938
Xf Lobby Exit114488102020-12-14 4:02:241487 days ago1607918544IN
0x7245B0fe...77CE6F789
0 ETH0.0017599434.00000156
Stake Start114485362020-12-14 3:05:481487 days ago1607915148IN
0x7245B0fe...77CE6F789
0 ETH0.008799852
Transfer114485292020-12-14 3:04:121487 days ago1607915052IN
0x7245B0fe...77CE6F789
0 ETH0.001128153
Xf Lobby Exit114485212020-12-14 3:02:171487 days ago1607914937IN
0x7245B0fe...77CE6F789
0 ETH0.0033381550
Xf Lobby Enter114474292020-12-13 22:50:511488 days ago1607899851IN
0x7245B0fe...77CE6F789
0.03 ETH0.0021400228.6
Stake Start114438102020-12-13 9:24:241488 days ago1607851464IN
0x7245B0fe...77CE6F789
0 ETH0.002061720.001
Xf Lobby Exit114433132020-12-13 7:33:571488 days ago1607844837IN
0x7245B0fe...77CE6F789
0 ETH0.0007764415.00000145
Stake Start114419182020-12-13 2:34:291488 days ago1607826869IN
0x7245B0fe...77CE6F789
0 ETH0.00295225
Xf Lobby Enter114418902020-12-13 2:27:061488 days ago1607826426IN
0x7245B0fe...77CE6F789
0.03 ETH0.0020659923.00000145
Xf Lobby Exit114418332020-12-13 2:12:321488 days ago1607825552IN
0x7245B0fe...77CE6F789
0 ETH0.0014687822
Stake Start114414872020-12-13 0:50:421489 days ago1607820642IN
0x7245B0fe...77CE6F789
0 ETH0.0033845420
Xf Lobby Exit114413622020-12-13 0:23:381489 days ago1607819018IN
0x7245B0fe...77CE6F789
0 ETH0.0010470319.16
Xf Lobby Enter114411802020-12-12 23:47:131489 days ago1607816833IN
0x7245B0fe...77CE6F789
0.015 ETH0.0020340834
Xf Lobby Enter114402562020-12-12 20:15:411489 days ago1607804141IN
0x7245B0fe...77CE6F789
0.015 ETH0.0018706525
Xf Lobby Enter114400122020-12-12 19:23:311489 days ago1607801011IN
0x7245B0fe...77CE6F789
0.02 ETH0.0016461722
Stake Start114364752020-12-12 6:35:121489 days ago1607754912IN
0x7245B0fe...77CE6F789
0 ETH0.0026802326.0015
Xf Lobby Exit114364492020-12-12 6:27:131489 days ago1607754433IN
0x7245B0fe...77CE6F789
0 ETH0.0004778620
Xf Lobby Exit114364482020-12-12 6:27:041489 days ago1607754424IN
0x7245B0fe...77CE6F789
0 ETH0.0010352620
Stake Start114364192020-12-12 6:19:211489 days ago1607753961IN
0x7245B0fe...77CE6F789
0 ETH0.0021254418
View all transactions

Latest 6 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
114364042020-12-12 6:16:481489 days ago1607753808
0x7245B0fe...77CE6F789
0.00403902 ETH
114363482020-12-12 6:05:341489 days ago1607753134
0x7245B0fe...77CE6F789
0.16693876 ETH
114322342020-12-11 14:44:261490 days ago1607697866
0x7245B0fe...77CE6F789
0.024 ETH
114258532020-12-10 15:02:311491 days ago1607612551
0x7245B0fe...77CE6F789
0.92915063 ETH
114201192020-12-09 17:49:361492 days ago1607536176
0x7245B0fe...77CE6F789
0.53667407 ETH
114173812020-12-09 7:41:101492 days ago1607499670
0x7245B0fe...77CE6F789
0.06105 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CSNE

Compiler Version
v0.5.10+commit.5a6ea5b1

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-06
*/

/* CSN projects are truely intended to give community 100% of what they invest. We are happy that our motive encouraged many of our buddies to turn their projects to 100% as we did */


pragma solidity 0.5.10;

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;
    }
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface TRC20 {
    /**
     * @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);
}

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

/**
 * @dev Implementation of the {TRC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20Mintable}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {TRC20-approve}.
 */
contract ERC20 is Context, TRC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    // allocating 30M tokens for liquidity, promotions, airdrops
    uint256 private _totalSupply = 30000000 * (10 ** 8);

    constructor() public {
        _balances[msg.sender] = _totalSupply;
    }

    /**
     * @dev See {TRC20-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {TRC20-balanceOf}.
     */
    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {TRC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {TRC20-allowance}.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {TRC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {TRC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {TRC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {TRC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

     /**
     * @dev External function to destroys `amount` tokens from `account`, reducing the
     * total supply.
     */
    function burn(uint256 amount) external {
        require(_balances[msg.sender] >= amount, "ERC20: not enough balance!");

        _burn(msg.sender, amount);
    }

     /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: burn from the zero address");

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}

contract GlobalsAndUtility is ERC20 {
    /*  XfLobbyEnter
    */
    event XfLobbyEnter(
        uint256 timestamp,
        uint256 enterDay,
        uint256 indexed entryIndex,
        uint256 indexed rawAmount
    );

    /*  XfLobbyExit 
    */
    event XfLobbyExit(
        uint256 timestamp,
        uint256 enterDay,
        uint256 indexed entryIndex,
        uint256 indexed xfAmount,
        address indexed referrerAddr
    );

    /*  DailyDataUpdate
    */
    event DailyDataUpdate(
        address indexed updaterAddr,
        uint256 timestamp,
        uint256 beginDay,
        uint256 endDay
    );

    /*  StakeStart
    */
    event StakeStart(
        uint40 indexed stakeId,
        address indexed stakerAddr,
        uint256 stakedGuns,
        uint256 stakeShares,
        uint256 stakedDays
    );
    
    /*  StakeGoodAccounting
    */
    event StakeGoodAccounting(
        uint40 indexed stakeId,
        address indexed stakerAddr,
        address indexed senderAddr,
        uint256 stakedGuns,
        uint256 stakeShares,
        uint256 payout,
        uint256 penalty
    );

    /*  StakeEnd 
    */
    event StakeEnd(
        uint40 indexed stakeId,
        uint40 prevUnlocked,
        address indexed stakerAddr,
        uint256 lockedDay,
        uint256 servedDays,
        uint256 stakedGuns,
        uint256 stakeShares,
        uint256 dividends,
        uint256 payout,
        uint256 penalty,
        uint256 stakeReturn
    );

    /*  ShareRateChange 
    */
    event ShareRateChange(
        uint40 indexed stakeId,
        uint256 timestamp,
        uint256 newShareRate
    );

    /* 	CSN allocation share address
	*	Used for 5% drip into CSN auction
	*	95% of the first 2 days public auction will be redistributed over the next 30 days to balance auction lobby healthy.
	*/
    address payable internal constant FLUSH_ADDR = 0xcE3D57d817dC3B83899907BFec99C7EF2E2AF35d;

    uint8 internal LAST_FLUSHED_DAY = 1;

    /* ERC20 constants */
    string public constant name = "Community Staking Network in ETH";
    string public constant symbol = "CSNE";
    uint8 public constant decimals = 8;

    /* Suns per Satoshi = 10,000 * 1e8 / 1e8 = 1e4 */
    uint256 private constant SUNS_PER_DIV = 10 ** uint256(decimals); // 1e8

    /* Time of contract launch (Dec 7th, 00:00:00 UTC, Auction Day 1 Starts Dec 8th, 00:00:00 UTC) */
    uint256 internal constant LAUNCH_TIME = 1607299200;

    /* Start of claim phase */
    uint256 internal constant PRE_CLAIM_DAYS = 1;
    /* reduce amount of tokens to 2500000 */
    uint256 internal constant CLAIM_STARTING_AMOUNT = 2500000 * (10 ** 8);
    /* reduce amount of tokens to 1000000 */
    uint256 internal constant CLAIM_LOWEST_AMOUNT = 1000000 * (10 ** 8);
    uint256 internal constant CLAIM_PHASE_START_DAY = PRE_CLAIM_DAYS;

    /* Number of words to hold 1 bit for each transform lobby day */
    uint256 internal constant XF_LOBBY_DAY_WORDS = ((1 + (50 * 7)) + 255) >> 8;

    /* Stake timing parameters */
    uint256 internal constant MIN_STAKE_DAYS = 1;

    uint256 internal constant MAX_STAKE_DAYS = 30; //1 month

    uint256 internal constant EARLY_PENALTY_MIN_DAYS = 90;

    uint256 private constant LATE_PENALTY_GRACE_WEEKS = 2;
    uint256 internal constant LATE_PENALTY_GRACE_DAYS = LATE_PENALTY_GRACE_WEEKS * 7;

    uint256 private constant LATE_PENALTY_SCALE_WEEKS = 100;
    uint256 internal constant LATE_PENALTY_SCALE_DAYS = LATE_PENALTY_SCALE_WEEKS * 7;

    /* Stake shares Longer Pays Better bonus constants used by _stakeStartBonusGuns() */
    uint256 private constant LPB_BONUS_PERCENT = 20;
    uint256 private constant LPB_BONUS_MAX_PERCENT = 200;
    uint256 internal constant LPB = 364 * 100 / LPB_BONUS_PERCENT;
    uint256 internal constant LPB_MAX_DAYS = LPB * LPB_BONUS_MAX_PERCENT / 100;

    uint256 private constant BPB_BONUS_PERCENT = 10;
    uint256 private constant BPB_MAX_DIV = 7 * 1e6;
    uint256 internal constant BPB_MAX_SUNS = BPB_MAX_DIV * SUNS_PER_DIV;
    uint256 internal constant BPB = BPB_MAX_SUNS * 100 / BPB_BONUS_PERCENT;

    /* Share rate is scaled to increase precision */
    uint256 internal constant SHARE_RATE_SCALE = 1e5;	
    /* Share rate max (after scaling) */	
    uint256 internal constant SHARE_RATE_UINT_SIZE = 40;	
    uint256 internal constant SHARE_RATE_MAX = (1 << SHARE_RATE_UINT_SIZE) - 1;	
    /* weekly staking bonus */	
    uint8 internal constant BONUS_DAY_SCALE = 2;	
    /* Globals expanded for memory (except _latestStakeId) and compact for storage */	
    struct GlobalsCache {	
        uint256 _lockedSunsTotal;	
        uint256 _nextStakeSharesTotal;	
        uint256 _shareRate;	
        uint256 _stakePenaltyTotal;	
        uint256 _dailyDataCount;	
        uint256 _stakeSharesTotal;	
        uint40 _latestStakeId;	
        uint256 _currentDay;	
    }	
    struct GlobalsStore {	
        uint72 lockedSunsTotal;	
        uint72 nextStakeSharesTotal;	
        uint40 shareRate;	
        uint72 stakePenaltyTotal;	
        uint16 dailyDataCount;	
        uint72 stakeSharesTotal;	
        uint40 latestStakeId;	
    }	
    GlobalsStore public globals;	
    /* Daily data */	
    struct DailyDataStore {	
        uint72 dayPayoutTotal;	
        uint256 dayDividends;	
        uint72 dayStakeSharesTotal;	
    }	
    mapping(uint256 => DailyDataStore) public dailyData;	
    /* Stake expanded for memory (except _stakeId) and compact for storage */	
    struct StakeCache {	
        uint40 _stakeId;	
        uint256 _stakedSuns;	
        uint256 _stakeShares;	
        uint256 _lockedDay;	
        uint256 _stakedDays;	
        uint256 _unlockedDay;	
    }	
    struct StakeStore {	
        uint40 stakeId;	
        uint72 stakedSuns;	
        uint72 stakeShares;	
        uint16 lockedDay;	
        uint16 stakedDays;	
        uint16 unlockedDay;	
    }	
    mapping(address => StakeStore[]) public stakeLists;	
    /* Temporary state for calculating daily rounds */	
    struct DailyRoundState {	
        uint256 _allocSupplyCached;	
        uint256 _payoutTotal;	
    }	
    struct XfLobbyEntryStore {	
        uint96 rawAmount;	
        address referrerAddr;	
    }	
    struct XfLobbyQueueStore {	
        uint40 headIndex;	
        uint40 tailIndex;	
        mapping(uint256 => XfLobbyEntryStore) entries;	
    }	
    mapping(uint256 => uint256) public xfLobby;	
    mapping(uint256 => mapping(address => XfLobbyQueueStore)) public xfLobbyMembers;	
    /**	
     * @dev PUBLIC FACING: Optionally update daily data for a smaller	
     * range to reduce gas cost for a subsequent operation	
     * @param beforeDay Only update days before this day number (optional; 0 for current day)	
     */	
    function dailyDataUpdate(uint256 beforeDay)	
        external	
    {	
        GlobalsCache memory g;	
        GlobalsCache memory gSnapshot;	
        _globalsLoad(g, gSnapshot);	
        /* Skip pre-claim period */	
        require(g._currentDay > CLAIM_PHASE_START_DAY, "CSNE: Too early");	
        if (beforeDay != 0) {	
            require(beforeDay <= g._currentDay, "CSNE: beforeDay cannot be in the future");	
            _dailyDataUpdate(g, beforeDay, false);	
        } else {	
            /* Default to updating before current day */	
            _dailyDataUpdate(g, g._currentDay, false);	
        }	
        _globalsSync(g, gSnapshot);	
    }	
    /**	
     * @dev PUBLIC FACING: External helper to return multiple values of daily data with	
     * a single call.	
     * @param endDay Last day (non-inclusive) of data range	
     * @param beginDay First day of data range	
     * @return array of day stake shares total	
     * @return array of day payout total	
     */	
    function dailyDataRange(uint256 beginDay, uint256 endDay)	
        external	
        view	
        returns (uint256[] memory _dayStakeSharesTotal, uint256[] memory _dayPayoutTotal, uint256[] memory _dayDividends)	
    {	
        require(beginDay < endDay && endDay <= globals.dailyDataCount, "CSNE: range invalid");	
        _dayStakeSharesTotal = new uint256[](endDay - beginDay);	
        _dayPayoutTotal = new uint256[](endDay - beginDay);	
        _dayDividends = new uint256[](endDay - beginDay);	
        uint256 src = beginDay;	
        uint256 dst = 0;	
        do {	
            _dayStakeSharesTotal[dst] = uint256(dailyData[src].dayStakeSharesTotal);	
            _dayPayoutTotal[dst++] = uint256(dailyData[src].dayPayoutTotal);	
            _dayDividends[dst++] = dailyData[src].dayDividends;	
        } while (++src < endDay);	
        return (_dayStakeSharesTotal, _dayPayoutTotal, _dayDividends);	
    }	
    /**	
     * @dev PUBLIC FACING: External helper to return most global info with a single call.	
     * Ugly implementation due to limitations of the standard ABI encoder.	
     * @return Fixed array of values	
     */	
    function globalInfo()	
        external	
        view	
        returns (uint256[10] memory)	
    {	
        return [	
            globals.lockedSunsTotal,	
            globals.nextStakeSharesTotal,	
            globals.shareRate,	
            globals.stakePenaltyTotal,	
            globals.dailyDataCount,	
            globals.stakeSharesTotal,	
            globals.latestStakeId,	
            block.timestamp,	
            totalSupply(),	
            xfLobby[_currentDay()]	
        ];	
    }	
    /**	
     * @dev PUBLIC FACING: ERC20 totalSupply() is the circulating supply and does not include any	
     * staked Suns. allocatedSupply() includes both.	
     * @return Allocated Supply in Suns	
     */	
    function allocatedSupply()	
        external	
        view	
        returns (uint256)	
    {	
        return totalSupply() + globals.lockedSunsTotal;	
    }	
    /**	
     * @dev PUBLIC FACING: External helper for the current day number since launch time	
     * @return Current day number (zero-based)	
     */	
    function currentDay()	
        external	
        view	
        returns (uint256)	
    {	
        return _currentDay();	
    }	
    function _currentDay()	
        internal	
        view	
        returns (uint256)	
    {	
        if (block.timestamp < LAUNCH_TIME){	
             return 0;	
        }else{	
             return (block.timestamp - LAUNCH_TIME) / 1 days;	
        }	
    }	
    function _dailyDataUpdateAuto(GlobalsCache memory g)	
        internal	
    {	
        _dailyDataUpdate(g, g._currentDay, true);	
    }	
    function _globalsLoad(GlobalsCache memory g, GlobalsCache memory gSnapshot)	
        internal	
        view	
    {	
        g._lockedSunsTotal = globals.lockedSunsTotal;	
        g._nextStakeSharesTotal = globals.nextStakeSharesTotal;	
        g._shareRate = globals.shareRate;	
        g._stakePenaltyTotal = globals.stakePenaltyTotal;	
        g._dailyDataCount = globals.dailyDataCount;	
        g._stakeSharesTotal = globals.stakeSharesTotal;	
        g._latestStakeId = globals.latestStakeId;	
        g._currentDay = _currentDay();	
        _globalsCacheSnapshot(g, gSnapshot);	
    }	
    function _globalsCacheSnapshot(GlobalsCache memory g, GlobalsCache memory gSnapshot)	
        internal	
        pure	
    {	
        gSnapshot._lockedSunsTotal = g._lockedSunsTotal;	
        gSnapshot._nextStakeSharesTotal = g._nextStakeSharesTotal;	
        gSnapshot._shareRate = g._shareRate;	
        gSnapshot._stakePenaltyTotal = g._stakePenaltyTotal;	
        gSnapshot._dailyDataCount = g._dailyDataCount;	
        gSnapshot._stakeSharesTotal = g._stakeSharesTotal;	
        gSnapshot._latestStakeId = g._latestStakeId;	
    }	
    function _globalsSync(GlobalsCache memory g, GlobalsCache memory gSnapshot)	
        internal	
    {	
        if (g._lockedSunsTotal != gSnapshot._lockedSunsTotal	
            || g._nextStakeSharesTotal != gSnapshot._nextStakeSharesTotal	
            || g._shareRate != gSnapshot._shareRate	
            || g._stakePenaltyTotal != gSnapshot._stakePenaltyTotal) {	
            globals.lockedSunsTotal = uint72(g._lockedSunsTotal);	
            globals.nextStakeSharesTotal = uint72(g._nextStakeSharesTotal);	
            globals.shareRate = uint40(g._shareRate);	
            globals.stakePenaltyTotal = uint72(g._stakePenaltyTotal);	
        }	
        if (g._dailyDataCount != gSnapshot._dailyDataCount	
            || g._stakeSharesTotal != gSnapshot._stakeSharesTotal	
            || g._latestStakeId != gSnapshot._latestStakeId) {	
            globals.dailyDataCount = uint16(g._dailyDataCount);	
            globals.stakeSharesTotal = uint72(g._stakeSharesTotal);	
            globals.latestStakeId = g._latestStakeId;	
        }	
    }	
    function _stakeLoad(StakeStore storage stRef, uint40 stakeIdParam, StakeCache memory st)	
        internal	
        view	
    {	
        /* Ensure caller's stakeIndex is still current */	
        require(stakeIdParam == stRef.stakeId, "CSNE: stakeIdParam not in stake");	
        st._stakeId = stRef.stakeId;	
        st._stakedSuns = stRef.stakedSuns;	
        st._stakeShares = stRef.stakeShares;	
        st._lockedDay = stRef.lockedDay;	
        st._stakedDays = stRef.stakedDays;	
        st._unlockedDay = stRef.unlockedDay;	
    }	
    function _stakeUpdate(StakeStore storage stRef, StakeCache memory st)	
        internal	
    {	
        stRef.stakeId = st._stakeId;	
        stRef.stakedSuns = uint72(st._stakedSuns);	
        stRef.stakeShares = uint72(st._stakeShares);	
        stRef.lockedDay = uint16(st._lockedDay);	
        stRef.stakedDays = uint16(st._stakedDays);	
        stRef.unlockedDay = uint16(st._unlockedDay);	
    }	
    function _stakeAdd(	
        StakeStore[] storage stakeListRef,	
        uint40 newStakeId,	
        uint256 newStakedSuns,	
        uint256 newStakeShares,	
        uint256 newLockedDay,	
        uint256 newStakedDays	
    )	
        internal	
    {	
        stakeListRef.push(	
            StakeStore(	
                newStakeId,	
                uint72(newStakedSuns),	
                uint72(newStakeShares),	
                uint16(newLockedDay),	
                uint16(newStakedDays),	
                uint16(0) // unlockedDay	
            )	
        );	
    }	
    /**	
     * @dev Efficiently delete from an unordered array by moving the last element	
     * to the "hole" and reducing the array length. Can change the order of the list	
     * and invalidate previously held indexes.	
     * @notice stakeListRef length and stakeIndex are already ensured valid in stakeEnd()	
     * @param stakeListRef Reference to stakeLists[stakerAddr] array in storage	
     * @param stakeIndex Index of the element to delete	
     */	
    function _stakeRemove(StakeStore[] storage stakeListRef, uint256 stakeIndex)	
        internal	
    {	
        uint256 lastIndex = stakeListRef.length - 1;	
        /* Skip the copy if element to be removed is already the last element */	
        if (stakeIndex != lastIndex) {	
            /* Copy last element to the requested element's "hole" */	
            stakeListRef[stakeIndex] = stakeListRef[lastIndex];	
        }	
        /*	
            Reduce the array length now that the array is contiguous.	
            Surprisingly, 'pop()' uses less gas than 'stakeListRef.length = lastIndex'	
        */	
        stakeListRef.pop();	
    }	
    /**	
     * @dev Estimate the stake payout for an incomplete day	
     * @param g Cache of stored globals	
     * @param stakeSharesParam Param from stake to calculate bonuses for	
     * @param day Day to calculate bonuses for	
     * @return Payout in Suns	
     */	
    function _estimatePayoutRewardsDay(GlobalsCache memory g, uint256 stakeSharesParam, uint256 day)	
        internal	
        view	
        returns (uint256 payout)	
    {	
        /* Prevent updating state for this estimation */	
        GlobalsCache memory gTmp;	
        _globalsCacheSnapshot(g, gTmp);	
        DailyRoundState memory rs;	
        rs._allocSupplyCached = totalSupply() + g._lockedSunsTotal;	
        _dailyRoundCalc(gTmp, rs, day);	
        /* Stake is no longer locked so it must be added to total as if it were */	
        gTmp._stakeSharesTotal += stakeSharesParam;	
        payout = rs._payoutTotal * stakeSharesParam / gTmp._stakeSharesTotal;	
        return payout;	
    }	
    function _dailyRoundCalc(GlobalsCache memory g, DailyRoundState memory rs, uint256 day)	
        private	
        view	
    
        {	
        rs._payoutTotal = (rs._allocSupplyCached * 50000 / 68854153);	
        if (g._stakePenaltyTotal != 0) {	
            rs._payoutTotal += g._stakePenaltyTotal;	
            g._stakePenaltyTotal = 0;	
        }	
    }	
    function _dailyRoundCalcAndStore(GlobalsCache memory g, DailyRoundState memory rs, uint256 day)	
        private	
    {	
        _dailyRoundCalc(g, rs, day);	
        dailyData[day].dayPayoutTotal = uint72(rs._payoutTotal);	
        dailyData[day].dayDividends = xfLobby[day];	
        dailyData[day].dayStakeSharesTotal = uint72(g._stakeSharesTotal);	
    }	
    function _dailyDataUpdate(GlobalsCache memory g, uint256 beforeDay, bool isAutoUpdate)	
        private	
    {	
        if (g._dailyDataCount >= beforeDay) {	
            /* Already up-to-date */	
            return;	
        }	
        DailyRoundState memory rs;	
        rs._allocSupplyCached = totalSupply() + g._lockedSunsTotal;	
        uint256 day = g._dailyDataCount;	
        _dailyRoundCalcAndStore(g, rs, day);	
        /* Stakes started during this day are added to the total the next day */	
        if (g._nextStakeSharesTotal != 0) {	
            g._stakeSharesTotal += g._nextStakeSharesTotal;	
            g._nextStakeSharesTotal = 0;	
        }	
        while (++day < beforeDay) {	
            _dailyRoundCalcAndStore(g, rs, day);	
        }	
        emit DailyDataUpdate(	
            msg.sender,	
            block.timestamp,	
            g._dailyDataCount, 	
            day	
        );	
        	
        g._dailyDataCount = day;	
    }	
}	
contract StakeableToken is GlobalsAndUtility {	
    /**	
     * @dev PUBLIC FACING: Open a stake.	
     * @param newStakedSuns Number of Suns to stake	
     * @param newStakedDays Number of days to stake	
     */	
    function stakeStart(uint256 newStakedSuns, uint256 newStakedDays)	
        external	
    {	
        GlobalsCache memory g;	
        GlobalsCache memory gSnapshot;	
        _globalsLoad(g, gSnapshot);	
        /* Enforce the minimum stake time */	
        require(newStakedDays >= MIN_STAKE_DAYS, "CSNE: newStakedDays lower than minimum");	
        /* Check if log data needs to be updated */	
        _dailyDataUpdateAuto(g);	
        _stakeStart(g, newStakedSuns, newStakedDays);	
        /* Remove staked Suns from balance of staker */	
        _burn(msg.sender, newStakedSuns);	
        _globalsSync(g, gSnapshot);	
    }	
    /**	
     * @dev PUBLIC FACING: Unlocks a completed stake, distributing the proceeds of any penalty	
     * immediately. The staker must still call stakeEnd() to retrieve their stake return (if any).	
     * @param stakerAddr Address of staker	
     * @param stakeIndex Index of stake within stake list	
     * @param stakeIdParam The stake's id	
     */	
    function stakeGoodAccounting(address stakerAddr, uint256 stakeIndex, uint40 stakeIdParam)	
        external	
    {	
        GlobalsCache memory g;	
        GlobalsCache memory gSnapshot;	
        _globalsLoad(g, gSnapshot);	
        /* require() is more informative than the default assert() */	
        require(stakeLists[stakerAddr].length != 0, "CSNE: Empty stake list");	
        require(stakeIndex < stakeLists[stakerAddr].length, "CSNE: stakeIndex invalid");	
        StakeStore storage stRef = stakeLists[stakerAddr][stakeIndex];	
        /* Get stake copy */	
        StakeCache memory st;	
        _stakeLoad(stRef, stakeIdParam, st);	
        /* Stake must have served full term */	
        require(g._currentDay >= st._lockedDay + st._stakedDays, "CSNE: Stake not fully served");	
        /* Stake must still be locked */	
        require(st._unlockedDay == 0, "CSNE: Stake already unlocked");	
        /* Check if log data needs to be updated */	
        _dailyDataUpdateAuto(g);	
        /* Unlock the completed stake */	
        _stakeUnlock(g, st);	
        /* stakeReturn & dividends values are unused here */	
        (, uint256 payout, uint256 dividends, uint256 penalty, uint256 cappedPenalty) = _stakePerformance(	
            g,	
            st,	
            st._stakedDays	
        );	
        emit StakeGoodAccounting(	
            stakeIdParam,	
            stakerAddr,	
            msg.sender,	
            st._stakedSuns,	
            st._stakeShares,	
            payout,	
            penalty	
        );	
        if (cappedPenalty != 0) {	
            g._stakePenaltyTotal += cappedPenalty;	
        }	
        /* st._unlockedDay has changed */	
        _stakeUpdate(stRef, st);	
        _globalsSync(g, gSnapshot);	
    }	
    /**	
     * @dev PUBLIC FACING: Closes a stake. The order of the stake list can change so	
     * a stake id is used to reject stale indexes.	
     * @param stakeIndex Index of stake within stake list	
     * @param stakeIdParam The stake's id	
     */	
    function stakeEnd(uint256 stakeIndex, uint40 stakeIdParam)	
        external	
    {	
        GlobalsCache memory g;	
        GlobalsCache memory gSnapshot;	
        _globalsLoad(g, gSnapshot);	
        StakeStore[] storage stakeListRef = stakeLists[msg.sender];	
        /* require() is more informative than the default assert() */	
        require(stakeListRef.length != 0, "CSNE: Empty stake list");	
        require(stakeIndex < stakeListRef.length, "CSNE: stakeIndex invalid");	
        /* Get stake copy */	
        StakeCache memory st;	
        _stakeLoad(stakeListRef[stakeIndex], stakeIdParam, st);	
        /* Check if log data needs to be updated */	
        _dailyDataUpdateAuto(g);	
        uint256 servedDays = 0;	
        bool prevUnlocked = (st._unlockedDay != 0);	
        uint256 stakeReturn;	
        uint256 payout = 0;	
        uint256 dividends = 0;	
        uint256 penalty = 0;	
        uint256 cappedPenalty = 0;	
        if (g._currentDay >= st._lockedDay) {	
            if (prevUnlocked) {	
                /* Previously unlocked in stakeGoodAccounting(), so must have served full term */	
                servedDays = st._stakedDays;	
            } else {	
                _stakeUnlock(g, st);	
                servedDays = g._currentDay - st._lockedDay;	
                if (servedDays > st._stakedDays) {	
                    servedDays = st._stakedDays;	
                }	
            }	
            (stakeReturn, payout, dividends, penalty, cappedPenalty) = _stakePerformance(g, st, servedDays);	
            msg.sender.transfer(dividends);	
        } else {	
            /* Stake hasn't been added to the total yet, so no penalties or rewards apply */	
            g._nextStakeSharesTotal -= st._stakeShares;	
            stakeReturn = st._stakedSuns;	
        }	
        emit StakeEnd(	
            stakeIdParam, 	
            prevUnlocked ? 1 : 0,	
            msg.sender,	
            st._lockedDay,	
            servedDays, 	
            st._stakedSuns, 	
            st._stakeShares, 	
            dividends,	
            payout, 	
            penalty,	
            stakeReturn	
        );	
        if (cappedPenalty != 0 && !prevUnlocked) {	
            /* Split penalty proceeds only if not previously unlocked by stakeGoodAccounting() */	
            g._stakePenaltyTotal += cappedPenalty;	
        }	
        /* Pay the stake return, if any, to the staker */	
        if (stakeReturn != 0) {	
            _mint(msg.sender, stakeReturn);	
            /* Update the share rate if necessary */	
            _shareRateUpdate(g, st, stakeReturn);	
        }	
        g._lockedSunsTotal -= st._stakedSuns;	
        _stakeRemove(stakeListRef, stakeIndex);	
        _globalsSync(g, gSnapshot);	
    }	
    /**	
     * @dev PUBLIC FACING: Return the current stake count for a staker address	
     * @param stakerAddr Address of staker	
     */	
    function stakeCount(address stakerAddr)	
        external	
        view	
        returns (uint256)	
    {	
        return stakeLists[stakerAddr].length;	
    }	
    /**	
     * @dev Open a stake.	
     * @param g Cache of stored globals	
     * @param newStakedSuns Number of Suns to stake	
     * @param newStakedDays Number of days to stake	
     */	
    function _stakeStart(	
        GlobalsCache memory g,	
        uint256 newStakedSuns,	
        uint256 newStakedDays	
    )	
        internal	
    {	
        /* Enforce the maximum stake time */	
        require(newStakedDays <= MAX_STAKE_DAYS, "CSNE: newStakedDays higher than maximum");	
        uint256 bonusSuns = _stakeStartBonusSuns(newStakedSuns, newStakedDays);	
        uint256 newStakeShares = (newStakedSuns + bonusSuns) * SHARE_RATE_SCALE / g._shareRate;	
        /* Ensure newStakedSuns is enough for at least one stake share */	
        require(newStakeShares != 0, "CSNE: newStakedSuns must be at least minimum shareRate");	
        /*	
            The stakeStart timestamp will always be part-way through the current	
            day, so it needs to be rounded-up to the next day to ensure all	
            stakes align with the same fixed calendar days. The current day is	
            already rounded-down, so rounded-up is current day + 1.	
        */	
        uint256 newLockedDay = g._currentDay + 1;	
        /* Create Stake */	
        uint40 newStakeId = ++g._latestStakeId;	
        _stakeAdd(	
            stakeLists[msg.sender],	
            newStakeId,	
            newStakedSuns,	
            newStakeShares,	
            newLockedDay,	
            newStakedDays	
        );	
        emit StakeStart(	
            newStakeId, 	
            msg.sender,	
            newStakedSuns, 	
            newStakeShares, 	
            newStakedDays	
        );	
        /* Stake is added to total in the next round, not the current round */	
        g._nextStakeSharesTotal += newStakeShares;	
        /* Track total staked Suns for inflation calculations */	
        g._lockedSunsTotal += newStakedSuns;	
    }	
    /**	
     * @dev Calculates total stake payout including rewards for a multi-day range	
     * @param g Cache of stored globals	
     * @param stakeSharesParam Param from stake to calculate bonuses for	
     * @param beginDay First day to calculate bonuses for	
     * @param endDay Last day (non-inclusive) of range to calculate bonuses for	
     * @return Payout in Suns	
     */	
    function _calcPayoutRewards(	
        GlobalsCache memory g,	
        uint256 stakeSharesParam,	
        uint256 beginDay,	
        uint256 endDay	
    )	
        private	
        view	
        returns (uint256 payout)	
    {	
        uint256 counter;	
        for (uint256 day = beginDay; day < endDay; day++) {	
            uint256 dayPayout;	
            dayPayout = dailyData[day].dayPayoutTotal * stakeSharesParam	
                / dailyData[day].dayStakeSharesTotal;	
            if (counter < 4) {	
                counter++;	
            } 	
            /* Eligible to receive bonus */	
            else {	
                dayPayout = (dailyData[day].dayPayoutTotal * stakeSharesParam	
                / dailyData[day].dayStakeSharesTotal) * BONUS_DAY_SCALE;	
                counter = 0;	
            }	
            payout += dayPayout;	
        }	
        return payout;	
    }	
    /**	
     * @dev Calculates user dividends	
     * @param g Cache of stored globals	
     * @param stakeSharesParam Param from stake to calculate bonuses for	
     * @param beginDay First day to calculate bonuses for	
     * @param endDay Last day (non-inclusive) of range to calculate bonuses for	
     * @return Payout in Suns	
     */	
    function _calcPayoutDividendsReward(	
        GlobalsCache memory g,	
        uint256 stakeSharesParam,	
        uint256 beginDay,	
        uint256 endDay	
    )	
        private	
        view	
        returns (uint256 payout)	
    {	
        for (uint256 day = beginDay; day < endDay; day++) {	
            uint256 dayPayout;	
            /* user's share of 95% of the day's dividends */	
            dayPayout += ((dailyData[day].dayDividends * 95) / 100) * stakeSharesParam	
            / dailyData[day].dayStakeSharesTotal;	
            payout += dayPayout;	
        }	
        return payout;	
    }	
    /**	
     * @dev Calculate bonus Suns for a new stake, if any	
     * @param newStakedSuns Number of Suns to stake	
     * @param newStakedDays Number of days to stake	
     */	
    function _stakeStartBonusSuns(uint256 newStakedSuns, uint256 newStakedDays)	
        private	
        pure	
        returns (uint256 bonusSuns)	
    {	
       
        uint256 cappedExtraDays = 0;	
        /* Must be more than 1 day for Longer-Pays-Better */	
        if (newStakedDays > 1) {	
            cappedExtraDays = newStakedDays <= LPB_MAX_DAYS ? newStakedDays - 1 : LPB_MAX_DAYS;	
        }	
        uint256 cappedStakedSuns = newStakedSuns <= BPB_MAX_SUNS	
            ? newStakedSuns	
            : BPB_MAX_SUNS;	
        bonusSuns = cappedExtraDays * BPB + cappedStakedSuns * LPB;	
        bonusSuns = newStakedSuns * bonusSuns / (LPB * BPB);	
        return bonusSuns;	
    }	
    function _stakeUnlock(GlobalsCache memory g, StakeCache memory st)	
        private	
        pure	
    {	
        g._stakeSharesTotal -= st._stakeShares;	
        st._unlockedDay = g._currentDay;	
    }	
    function _stakePerformance(GlobalsCache memory g, StakeCache memory st, uint256 servedDays)	
        private	
        view	
        returns (uint256 stakeReturn, uint256 payout, uint256 dividends, uint256 penalty, uint256 cappedPenalty)	
    {	
        if (servedDays < st._stakedDays) {	
            (payout, penalty) = _calcPayoutAndEarlyPenalty(	
                g,	
                st._lockedDay,	
                st._stakedDays,	
                servedDays,	
                st._stakeShares	
            );	
            stakeReturn = st._stakedSuns + payout;	
            dividends = _calcPayoutDividendsReward(	
                g,	
                st._stakeShares,	
                st._lockedDay,	
                st._lockedDay + servedDays	
            );	
        } else {	
            // servedDays must == stakedDays here	
            payout = _calcPayoutRewards(	
                g,	
                st._stakeShares,	
                st._lockedDay,	
                st._lockedDay + servedDays	
            );	
            dividends = _calcPayoutDividendsReward(	
                g,	
                st._stakeShares,	
                st._lockedDay,	
                st._lockedDay + servedDays	
            );	
            stakeReturn = st._stakedSuns + payout;	
            penalty = _calcLatePenalty(st._lockedDay, st._stakedDays, st._unlockedDay, stakeReturn);	
        }	
        if (penalty != 0) {	
            if (penalty > stakeReturn) {	
                /* Cannot have a negative stake return */	
                cappedPenalty = stakeReturn;	
                stakeReturn = 0;	
            } else {	
                /* Remove penalty from the stake return */	
                cappedPenalty = penalty;	
                stakeReturn -= cappedPenalty;	
            }	
        }	
        return (stakeReturn, payout, dividends, penalty, cappedPenalty);	
    }	
    function _calcPayoutAndEarlyPenalty(	
        GlobalsCache memory g,	
        uint256 lockedDayParam,	
        uint256 stakedDaysParam,	
        uint256 servedDays,	
        uint256 stakeSharesParam	
    )	
        private	
        view	
        returns (uint256 payout, uint256 penalty)	
    {	
        uint256 servedEndDay = lockedDayParam + servedDays;	
        /* 50% of stakedDays (rounded up) with a minimum applied */	
        uint256 penaltyDays = (stakedDaysParam + 1) / 2;	
        if (penaltyDays < EARLY_PENALTY_MIN_DAYS) {	
            penaltyDays = EARLY_PENALTY_MIN_DAYS;	
        }	
        if (servedDays == 0) {	
            /* Fill penalty days with the estimated average payout */	
            uint256 expected = _estimatePayoutRewardsDay(g, stakeSharesParam, lockedDayParam);	
            penalty = expected * penaltyDays;	
            return (payout, penalty); // Actual payout was 0	
        }	
        if (penaltyDays < servedDays) {	
            /*	
                Simplified explanation of intervals where end-day is non-inclusive:	
                penalty:    [lockedDay  ...  penaltyEndDay)	
                delta:                      [penaltyEndDay  ...  servedEndDay)	
                payout:     [lockedDay  .......................  servedEndDay)	
            */	
            uint256 penaltyEndDay = lockedDayParam + penaltyDays;	
            penalty = _calcPayoutRewards(g, stakeSharesParam, lockedDayParam, penaltyEndDay);	
            uint256 delta = _calcPayoutRewards(g, stakeSharesParam, penaltyEndDay, servedEndDay);	
            payout = penalty + delta;	
            return (payout, penalty);	
        }	
        /* penaltyDays >= servedDays  */	
        payout = _calcPayoutRewards(g, stakeSharesParam, lockedDayParam, servedEndDay);	
        if (penaltyDays == servedDays) {	
            penalty = payout;	
        } else {	
            /*	
                (penaltyDays > servedDays) means not enough days served, so fill the	
                penalty days with the average payout from only the days that were served.	
            */	
            penalty = payout * penaltyDays / servedDays;	
        }	
        return (payout, penalty);	
    }	
    function _calcLatePenalty(	
        uint256 lockedDayParam,	
        uint256 stakedDaysParam,	
        uint256 unlockedDayParam,	
        uint256 rawStakeReturn	
    )	
        private	
        pure	
        returns (uint256)	
    {	
        /* Allow grace time before penalties accrue */	
        uint256 maxUnlockedDay = lockedDayParam + stakedDaysParam + LATE_PENALTY_GRACE_DAYS;	
        if (unlockedDayParam <= maxUnlockedDay) {	
            return 0;	
        }	
        /* Calculate penalty as a percentage of stake return based on time */	
        return rawStakeReturn * (unlockedDayParam - maxUnlockedDay) / LATE_PENALTY_SCALE_DAYS;	
    }	
    function _shareRateUpdate(GlobalsCache memory g, StakeCache memory st, uint256 stakeReturn)	
        private	
    {	
        if (stakeReturn > st._stakedSuns) {	
            /*	
                Calculate the new shareRate that would yield the same number of shares if	
                the user re-staked this stakeReturn, factoring in any bonuses they would	
                receive in stakeStart().	
            */	
            uint256 bonusSuns = _stakeStartBonusSuns(stakeReturn, st._stakedDays);	
            uint256 newShareRate = (stakeReturn + bonusSuns) * SHARE_RATE_SCALE / st._stakeShares;	
            if (newShareRate > SHARE_RATE_MAX) {	
                /*	
                    Realistically this can't happen, but there are contrived theoretical	
                    scenarios that can lead to extreme values of newShareRate, so it is	
                    capped to prevent them anyway.	
                */	
                newShareRate = SHARE_RATE_MAX;	
            }	
            if (newShareRate > g._shareRate) {	
                g._shareRate = newShareRate;	
                emit ShareRateChange(	
                    st._stakeId,	
                    block.timestamp,	
                    newShareRate	
                );	
            }	
        }	
    }	
}	
contract TransformableToken is StakeableToken {	
    /**	
     * @dev PUBLIC FACING: Enter the auction lobby for the current round	
     * @param referrerAddr TRX address of referring user (optional; 0x0 for no referrer)	
     */	
    function xfLobbyEnter(address referrerAddr)	
        external	
        payable	
    {	
	require(_currentDay() > 0, "CSNE: Auction has not begun yet");	
        uint256 enterDay = _currentDay();	
        uint256 rawAmount = msg.value;	
        require(rawAmount != 0, "CSNE: Amount required");	
        XfLobbyQueueStore storage qRef = xfLobbyMembers[enterDay][msg.sender];	
        uint256 entryIndex = qRef.tailIndex++;	
        qRef.entries[entryIndex] = XfLobbyEntryStore(uint96(rawAmount), referrerAddr);	
        xfLobby[enterDay] += rawAmount;	
        emit XfLobbyEnter(	
            block.timestamp, 	
            enterDay, 	
            entryIndex, 	
            rawAmount	
        );	
    }	
    /**	
     * @dev PUBLIC FACING: Leave the transform lobby after the round is complete	
     * @param enterDay Day number when the member entered	
     * @param count Number of queued-enters to exit (optional; 0 for all)	
     */	
    function xfLobbyExit(uint256 enterDay, uint256 count)	
        external	
    {	
        require(enterDay < _currentDay(), "CSNE: Round is not complete");	
        XfLobbyQueueStore storage qRef = xfLobbyMembers[enterDay][msg.sender];	
        uint256 headIndex = qRef.headIndex;	
        uint256 endIndex;	
        if (count != 0) {	
            require(count <= qRef.tailIndex - headIndex, "CSNE: count invalid");	
            endIndex = headIndex + count;	
        } else {	
            endIndex = qRef.tailIndex;	
            require(headIndex < endIndex, "CSNE: count invalid");	
        }	
        uint256 waasLobby = _waasLobby(enterDay);	
        uint256 _xfLobby = xfLobby[enterDay];	
        uint256 totalXfAmount = 0;	
        do {	
            uint256 rawAmount = qRef.entries[headIndex].rawAmount;	
            address referrerAddr = qRef.entries[headIndex].referrerAddr;	
            delete qRef.entries[headIndex];	
            uint256 xfAmount = waasLobby * rawAmount / _xfLobby;	
            if (referrerAddr == address(0) || referrerAddr == msg.sender) {	
                /* No referrer or Self-referred */	
                _emitXfLobbyExit(enterDay, headIndex, xfAmount, referrerAddr);	
            } else {	
                /* Referral bonus of 5% of xfAmount to member */	
                uint256 referralBonusSuns = xfAmount / 20;	
                xfAmount += referralBonusSuns;	
                /* Then a cumulative referrer bonus of 10% to referrer */	
                uint256 referrerBonusSuns = xfAmount / 10;	
                _emitXfLobbyExit(enterDay, headIndex, xfAmount, referrerAddr);	
                _mint(referrerAddr, referrerBonusSuns);	
            }	
            totalXfAmount += xfAmount;	
        } while (++headIndex < endIndex);	
        qRef.headIndex = uint40(headIndex);	
        if (totalXfAmount != 0) {	
            _mint(msg.sender, totalXfAmount);	
        }	
    }	
    /**	
     * @dev PUBLIC FACING: External helper to return multiple values of xfLobby[] with	
     * a single call	
     * @param beginDay First day of data range	
     * @param endDay Last day (non-inclusive) of data range	
     * @return Fixed array of values	
     */	
    function xfLobbyRange(uint256 beginDay, uint256 endDay)	
        external	
        view	
        returns (uint256[] memory list)	
    {	
        require(	
            beginDay < endDay && endDay <= _currentDay(),	
            "CSNE: invalid range"	
        );	
        list = new uint256[](endDay - beginDay);	
        uint256 src = beginDay;	
        uint256 dst = 0;	
        do {	
            list[dst++] = uint256(xfLobby[src++]);	
        } while (src < endDay);	
        return list;	
    }	
    /**	
     * @dev PUBLIC FACING: Release 5% share from daily dividends for Website Maintenance and to add liquidity for Tokens in JustSwap Listing to support community	
     */	
    function xfFlush()	
        external	
    {	
        GlobalsCache memory g;	
        GlobalsCache memory gSnapshot;	
        _globalsLoad(g, gSnapshot);	
        	
        require(address(this).balance != 0, "CSNE: No value");	
        require(LAST_FLUSHED_DAY < _currentDay(), "CSNE: Invalid day");	
        _dailyDataUpdateAuto(g);	
        FLUSH_ADDR.transfer((dailyData[LAST_FLUSHED_DAY].dayDividends * 5) / 100);	
        LAST_FLUSHED_DAY++;	
        _globalsSync(g, gSnapshot);	
    }	
    /**	
     * @dev PUBLIC FACING: Return a current lobby member queue entry.	
     * Only needed due to limitations of the standard ABI encoder.	
     * @param entryIndex Entries to index	
     * @param enterDay Day number when the member entered	
     * @param memberAddr TRX address of the lobby member	
     * @return 1: Raw amount that was entered with; 2: Referring TRX addr (optional; 0x0 for no referrer)	
     */	
    function xfLobbyEntry(address memberAddr, uint256 enterDay, uint256 entryIndex)	
        external	
        view	
        returns (uint256 rawAmount, address referrerAddr)	
    {	
        XfLobbyEntryStore storage entry = xfLobbyMembers[enterDay][memberAddr].entries[entryIndex];	
        require(entry.rawAmount != 0, "CSNE: Param invalid");	
        return (entry.rawAmount, entry.referrerAddr);	
    }	
    /**	
     * @dev PUBLIC FACING: Return the lobby days that a user is in with a single call	
     * @param memberAddr TRX address of the user	
     * @return Bit vector of lobby day numbers	
     */	
    function xfLobbyPendingDays(address memberAddr)	
        external	
        view	
        returns (uint256[XF_LOBBY_DAY_WORDS] memory words)	
    {	
        uint256 day = _currentDay() + 1;	
        while (day-- != 0) {	
            if (xfLobbyMembers[day][memberAddr].tailIndex > xfLobbyMembers[day][memberAddr].headIndex) {	
                words[day >> 8] |= 1 << (day & 255);	
            }	
        }	
        return words;	
    }	
    	
    function _waasLobby(uint256 enterDay)	
        private	
        returns (uint256 waasLobby)	
    {
                /* 410958904109  = ~ 1500000 * SUNS_PER_DIV /365  */	
        if (enterDay > 0 && enterDay <= 365) {                                     	
            waasLobby = CLAIM_STARTING_AMOUNT - ((enterDay - 1) * 410958904109);
        } else {
            waasLobby = CLAIM_LOWEST_AMOUNT;
        }

        return waasLobby;
    }

    function _emitXfLobbyExit(
        uint256 enterDay,
        uint256 entryIndex,
        uint256 xfAmount,
        address referrerAddr
    )
        private
    {
        emit XfLobbyExit(
            block.timestamp, 
            enterDay,
            entryIndex,
            xfAmount,
            referrerAddr
        );
    }
}

contract CSNE is TransformableToken {
    constructor()
        public
    {
        /* Initialize global shareRate to 1 */
        globals.shareRate = uint40(1 * SHARE_RATE_SCALE);
    }

    function() external payable {}
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"amount","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"sender","type":"address"},{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"stakeLists","outputs":[{"name":"stakeId","type":"uint40"},{"name":"stakedSuns","type":"uint72"},{"name":"stakeShares","type":"uint72"},{"name":"lockedDay","type":"uint16"},{"name":"stakedDays","type":"uint16"},{"name":"unlockedDay","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"memberAddr","type":"address"},{"name":"enterDay","type":"uint256"},{"name":"entryIndex","type":"uint256"}],"name":"xfLobbyEntry","outputs":[{"name":"rawAmount","type":"uint256"},{"name":"referrerAddr","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"stakerAddr","type":"address"}],"name":"stakeCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"stakeIndex","type":"uint256"},{"name":"stakeIdParam","type":"uint40"}],"name":"stakeEnd","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"allocatedSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"xfLobbyMembers","outputs":[{"name":"headIndex","type":"uint40"},{"name":"tailIndex","type":"uint40"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"memberAddr","type":"address"}],"name":"xfLobbyPendingDays","outputs":[{"name":"words","type":"uint256[2]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newStakedSuns","type":"uint256"},{"name":"newStakedDays","type":"uint256"}],"name":"stakeStart","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"currentDay","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"stakerAddr","type":"address"},{"name":"stakeIndex","type":"uint256"},{"name":"stakeIdParam","type":"uint40"}],"name":"stakeGoodAccounting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"beginDay","type":"uint256"},{"name":"endDay","type":"uint256"}],"name":"dailyDataRange","outputs":[{"name":"_dayStakeSharesTotal","type":"uint256[]"},{"name":"_dayPayoutTotal","type":"uint256[]"},{"name":"_dayDividends","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"xfLobby","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"beforeDay","type":"uint256"}],"name":"dailyDataUpdate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"dailyData","outputs":[{"name":"dayPayoutTotal","type":"uint72"},{"name":"dayDividends","type":"uint256"},{"name":"dayStakeSharesTotal","type":"uint72"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"globals","outputs":[{"name":"lockedSunsTotal","type":"uint72"},{"name":"nextStakeSharesTotal","type":"uint72"},{"name":"shareRate","type":"uint40"},{"name":"stakePenaltyTotal","type":"uint72"},{"name":"dailyDataCount","type":"uint16"},{"name":"stakeSharesTotal","type":"uint72"},{"name":"latestStakeId","type":"uint40"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"enterDay","type":"uint256"},{"name":"count","type":"uint256"}],"name":"xfLobbyExit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"referrerAddr","type":"address"}],"name":"xfLobbyEnter","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"xfFlush","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"globalInfo","outputs":[{"name":"","type":"uint256[10]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"beginDay","type":"uint256"},{"name":"endDay","type":"uint256"}],"name":"xfLobbyRange","outputs":[{"name":"list","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"enterDay","type":"uint256"},{"indexed":true,"name":"entryIndex","type":"uint256"},{"indexed":true,"name":"rawAmount","type":"uint256"}],"name":"XfLobbyEnter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"enterDay","type":"uint256"},{"indexed":true,"name":"entryIndex","type":"uint256"},{"indexed":true,"name":"xfAmount","type":"uint256"},{"indexed":true,"name":"referrerAddr","type":"address"}],"name":"XfLobbyExit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"updaterAddr","type":"address"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"beginDay","type":"uint256"},{"indexed":false,"name":"endDay","type":"uint256"}],"name":"DailyDataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"stakeId","type":"uint40"},{"indexed":true,"name":"stakerAddr","type":"address"},{"indexed":false,"name":"stakedGuns","type":"uint256"},{"indexed":false,"name":"stakeShares","type":"uint256"},{"indexed":false,"name":"stakedDays","type":"uint256"}],"name":"StakeStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"stakeId","type":"uint40"},{"indexed":true,"name":"stakerAddr","type":"address"},{"indexed":true,"name":"senderAddr","type":"address"},{"indexed":false,"name":"stakedGuns","type":"uint256"},{"indexed":false,"name":"stakeShares","type":"uint256"},{"indexed":false,"name":"payout","type":"uint256"},{"indexed":false,"name":"penalty","type":"uint256"}],"name":"StakeGoodAccounting","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"stakeId","type":"uint40"},{"indexed":false,"name":"prevUnlocked","type":"uint40"},{"indexed":true,"name":"stakerAddr","type":"address"},{"indexed":false,"name":"lockedDay","type":"uint256"},{"indexed":false,"name":"servedDays","type":"uint256"},{"indexed":false,"name":"stakedGuns","type":"uint256"},{"indexed":false,"name":"stakeShares","type":"uint256"},{"indexed":false,"name":"dividends","type":"uint256"},{"indexed":false,"name":"payout","type":"uint256"},{"indexed":false,"name":"penalty","type":"uint256"},{"indexed":false,"name":"stakeReturn","type":"uint256"}],"name":"StakeEnd","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"stakeId","type":"uint40"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"newShareRate","type":"uint256"}],"name":"ShareRateChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

6080604052660aa87bee5380006002556001600360006101000a81548160ff021916908360ff16021790555034801561003757600080fd5b506002546000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550620186a0600102600460000160126101000a81548164ffffffffff021916908364ffffffffff1602179055506152ff806100b86000396000f3fe6080604052600436106101e35760003560e01c806365cf71b211610102578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e14610e5e578063e4df526514610ee3578063f04b5fa014610efa578063f57a1b3c14610f4d576101e3565b8063a9059cbb14610c91578063c312452514610d04578063cbb151d314610dd5578063ce7d1f7714610e1a576101e3565b80638f1c65c0116100d15780638f1c65c014610aca57806390de687114610b0557806395d89b4114610b8e578063a457c2d714610c1e576101e3565b806365cf71b2146108805780636a210a0e146108ec57806370a0823114610a1657806387a0f31c14610a7b576101e3565b8063343009a21161017a57806344203faf1161014957806344203faf146106f157806344f0de751461078357806352a438b8146108105780635c9302c914610855576101e3565b8063343009a2146105cc57806339509351146106185780633a70a5ca1461068b57806342966c68146106b6576101e3565b80632607443b116101b65780632607443b146103a65780632e60d1c41461048a578063313ce5671461053657806333060d9014610567576101e3565b806306fdde03146101e5578063095ea7b31461027557806318160ddd146102e857806323b872dd14610313575b005b3480156101f157600080fd5b506101fa610fe7565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561023a57808201518184015260208101905061021f565b50505050905090810190601f1680156102675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028157600080fd5b506102ce6004803603604081101561029857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611020565b604051808215151515815260200191505060405180910390f35b3480156102f457600080fd5b506102fd61103e565b6040518082815260200191505060405180910390f35b34801561031f57600080fd5b5061038c6004803603606081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611048565b604051808215151515815260200191505060405180910390f35b3480156103b257600080fd5b506103ff600480360360408110156103c957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611121565b604051808764ffffffffff1664ffffffffff1681526020018668ffffffffffffffffff1668ffffffffffffffffff1681526020018568ffffffffffffffffff1668ffffffffffffffffff1681526020018461ffff1661ffff1681526020018361ffff1661ffff1681526020018261ffff1661ffff168152602001965050505050505060405180910390f35b34801561049657600080fd5b506104ed600480360360608110156104ad57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291905050506111d8565b604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b34801561054257600080fd5b5061054b611344565b604051808260ff1660ff16815260200191505060405180910390f35b34801561057357600080fd5b506105b66004803603602081101561058a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611349565b6040518082815260200191505060405180910390f35b3480156105d857600080fd5b50610616600480360360408110156105ef57600080fd5b8101908080359060200190929190803564ffffffffff169060200190929190505050611395565b005b34801561062457600080fd5b506106716004803603604081101561063b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611746565b604051808215151515815260200191505060405180910390f35b34801561069757600080fd5b506106a06117f9565b6040518082815260200191505060405180910390f35b3480156106c257600080fd5b506106ef600480360360208110156106d957600080fd5b810190808035906020019092919050505061182f565b005b3480156106fd57600080fd5b5061074a6004803603604081101561071457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118f0565b604051808364ffffffffff1664ffffffffff1681526020018264ffffffffff1664ffffffffff1681526020019250505060405180910390f35b34801561078f57600080fd5b506107d2600480360360208110156107a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611943565b6040518082600260200280838360005b838110156107fd5780820151818401526020810190506107e2565b5050505090500191505060405180910390f35b34801561081c57600080fd5b506108536004803603604081101561083357600080fd5b810190808035906020019092919080359060200190929190505050611a7e565b005b34801561086157600080fd5b5061086a611b20565b6040518082815260200191505060405180910390f35b34801561088c57600080fd5b506108ea600480360360608110156108a357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803564ffffffffff169060200190929190505050611b2f565b005b3480156108f857600080fd5b5061092f6004803603604081101561090f57600080fd5b810190808035906020019092919080359060200190929190505050611f1a565b60405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561097a57808201518184015260208101905061095f565b50505050905001848103835286818151815260200191508051906020019060200280838360005b838110156109bc5780820151818401526020810190506109a1565b50505050905001848103825285818151815260200191508051906020019060200280838360005b838110156109fe5780820151818401526020810190506109e3565b50505050905001965050505050505060405180910390f35b348015610a2257600080fd5b50610a6560048036036020811015610a3957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612156565b6040518082815260200191505060405180910390f35b348015610a8757600080fd5b50610ab460048036036020811015610a9e57600080fd5b810190808035906020019092919050505061219e565b6040518082815260200191505060405180910390f35b348015610ad657600080fd5b50610b0360048036036020811015610aed57600080fd5b81019080803590602001909291905050506121b6565b005b348015610b1157600080fd5b50610b3e60048036036020811015610b2857600080fd5b81019080803590602001909291905050506122e0565b604051808468ffffffffffffffffff1668ffffffffffffffffff1681526020018381526020018268ffffffffffffffffff1668ffffffffffffffffff168152602001935050505060405180910390f35b348015610b9a57600080fd5b50610ba3612334565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610be3578082015181840152602081019050610bc8565b50505050905090810190601f168015610c105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610c2a57600080fd5b50610c7760048036036040811015610c4157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061236d565b604051808215151515815260200191505060405180910390f35b348015610c9d57600080fd5b50610cea60048036036040811015610cb457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061243a565b604051808215151515815260200191505060405180910390f35b348015610d1057600080fd5b50610d19612458565b604051808868ffffffffffffffffff1668ffffffffffffffffff1681526020018768ffffffffffffffffff1668ffffffffffffffffff1681526020018664ffffffffff1664ffffffffff1681526020018568ffffffffffffffffff1668ffffffffffffffffff1681526020018461ffff1661ffff1681526020018368ffffffffffffffffff1668ffffffffffffffffff1681526020018264ffffffffff1664ffffffffff16815260200197505050505050505060405180910390f35b348015610de157600080fd5b50610e1860048036036040811015610df857600080fd5b81019080803590602001909291908035906020019092919050505061250c565b005b610e5c60048036036020811015610e3057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612961565b005b348015610e6a57600080fd5b50610ecd60048036036040811015610e8157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c3c565b6040518082815260200191505060405180910390f35b348015610eef57600080fd5b50610ef8612cc3565b005b348015610f0657600080fd5b50610f0f612ed2565b6040518082600a60200280838360005b83811015610f3a578082015181840152602081019050610f1f565b5050505090500191505060405180910390f35b348015610f5957600080fd5b50610f9060048036036040811015610f7057600080fd5b81019080803590602001909291908035906020019092919050505061302b565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610fd3578082015181840152602081019050610fb8565b505050509050019250505060405180910390f35b6040518060400160405280602081526020017f436f6d6d756e697479205374616b696e67204e6574776f726b20696e2045544881525081565b600061103461102d61313e565b8484613146565b6001905092915050565b6000600254905090565b600061105584848461333d565b6111168461106161313e565b611111856040518060600160405280602881526020016151ed60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006110c761313e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135f39092919063ffffffff16565b613146565b600190509392505050565b6007602052816000526040600020818154811061113a57fe5b90600052602060002001600091509150508060000160009054906101000a900464ffffffffff16908060000160059054906101000a900468ffffffffffffffffff169080600001600e9054906101000a900468ffffffffffffffffff16908060000160179054906101000a900461ffff16908060000160199054906101000a900461ffff169080600001601b9054906101000a900461ffff16905086565b60008060006009600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016000858152602001908152602001600020905060008160000160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1614156112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a20506172616d20696e76616c69640000000000000000000000000081525060200191505060405180910390fd5b8060000160009054906101000a90046bffffffffffffffffffffffff1681600001600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816bffffffffffffffffffffffff1691509250925050935093915050565b600881565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b61139d614ff4565b6113a5614ff4565b6113af82826136b3565b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008180549050141561146d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43534e453a20456d707479207374616b65206c6973740000000000000000000081525060200191505060405180910390fd5b808054905085106114e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f43534e453a207374616b65496e64657820696e76616c6964000000000000000081525060200191505060405180910390fd5b6114ee615040565b61150e8287815481106114fd57fe5b906000526020600020018683613806565b6115178461398e565b60008090506000808360a00151141590506000806000905060008090506000809050600080905087606001518b60e00151106115f657851561155f578760800151965061158b565b6115698b896139a1565b87606001518b60e00151039650876080015187111561158a57876080015196505b5b6115968b89896139c7565b80955081965082975083985084995050505050503373ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156115f0573d6000803e3d6000fd5b50611612565b87604001518b6020018181510391508181525050876020015194505b3373ffffffffffffffffffffffffffffffffffffffff168c64ffffffffff167f80bb257dd672adb291601517b3f5d31642fccf6d3db7a40983552a9baacbbabd8861165e576000611661565b60015b8b606001518b8d602001518e604001518a8c8b8f604051808a60ff1664ffffffffff168152602001898152602001888152602001878152602001868152602001858152602001848152602001838152602001828152602001995050505050505050505060405180910390a3600081141580156116db575085155b156116f157808b60600181815101915081815250505b6000851461170f576117033386613ac2565b61170e8b8987613c7d565b5b87602001518b600001818151039150818152505061172d898e613d3a565b6117378b8b613f89565b50505050505050505050505050565b60006117ef61175361313e565b846117ea856001600061176461313e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461415e90919063ffffffff16565b613146565b6001905092915050565b6000600460000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff1661182961103e565b01905090565b806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156118e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f45524332303a206e6f7420656e6f7567682062616c616e63652100000000000081525060200191505060405180910390fd5b6118ed33826141e6565b50565b6009602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900464ffffffffff16908060000160059054906101000a900464ffffffffff16905082565b61194b61507d565b6000600161195761439e565b0190505b6000818060019003925014611a75576009600082815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900464ffffffffff1664ffffffffff166009600083815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160059054906101000a900464ffffffffff1664ffffffffff161115611a705760ff81166001901b82600883901c60028110611a6057fe5b6020020181815117915081815250505b61195b565b81915050919050565b611a86614ff4565b611a8e614ff4565b611a9882826136b3565b6001831015611af2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806151c76026913960400191505060405180910390fd5b611afb8261398e565b611b068285856143ce565b611b1033856141e6565b611b1a8282613f89565b50505050565b6000611b2a61439e565b905090565b611b37614ff4565b611b3f614ff4565b611b4982826136b3565b6000600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501415611c02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43534e453a20456d707479207374616b65206c6973740000000000000000000081525060200191505060405180910390fd5b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508410611cb9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f43534e453a207374616b65496e64657820696e76616c6964000000000000000081525060200191505060405180910390fd5b6000600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208581548110611d0557fe5b906000526020600020019050611d19615040565b611d24828683613806565b80608001518160600151018460e001511015611da8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f43534e453a205374616b65206e6f742066756c6c79207365727665640000000081525060200191505060405180910390fd5b60008160a0015114611e22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f43534e453a205374616b6520616c726561647920756e6c6f636b65640000000081525060200191505060405180910390fd5b611e2b8461398e565b611e3584826139a1565b600080600080611e4a888687608001516139c7565b9450945094509450503373ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff168a64ffffffffff167f0bff00790f1231cf0c26911db2d0c4e670b204ebb02d6a73d3fb5c995910705e8860200151896040015189886040518085815260200184815260200183815260200182815260200194505050505060405180910390a460008114611ef957808860600181815101915081815250505b611f0386866145b0565b611f0d8888613f89565b5050505050505050505050565b60608060608385108015611f455750600460010160009054906101000a900461ffff1661ffff168411155b611fb7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a2072616e676520696e76616c69640000000000000000000000000081525060200191505060405180910390fd5b848403604051908082528060200260200182016040528015611fe85781602001602082028038833980820191505090505b50925084840360405190808252806020026020018201604052801561201c5781602001602082028038833980820191505090505b5091508484036040519080825280602002602001820160405280156120505781602001602082028038833980820191505090505b509050600085905060008090505b6006600083815260200190815260200160002060020160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168582815181106120a157fe5b6020026020010181815250506006600083815260200190815260200160002060000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168482806001019350815181106120f657fe5b602002602001018181525050600660008381526020019081526020016000206001015483828060010193508151811061212b57fe5b60200260200101818152505085826001019250821061205e5784848494509450945050509250925092565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60086020528060005260406000206000915090505481565b6121be614ff4565b6121c6614ff4565b6121d082826136b3565b60018260e001511161224a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f43534e453a20546f6f206561726c79000000000000000000000000000000000081525060200191505060405180910390fd5b600083146122c0578160e001518311156122af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806151a06027913960400191505060405180910390fd5b6122bb828460006146a8565b6122d1565b6122d0828360e0015160006146a8565b5b6122db8282613f89565b505050565b60066020528060005260406000206000915090508060000160009054906101000a900468ffffffffffffffffff16908060010154908060020160009054906101000a900468ffffffffffffffffff16905083565b6040518060400160405280600481526020017f43534e450000000000000000000000000000000000000000000000000000000081525081565b600061243061237a61313e565b8461242b856040518060600160405280602581526020016152a660259139600160006123a461313e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135f39092919063ffffffff16565b613146565b6001905092915050565b600061244e61244761313e565b848461333d565b6001905092915050565b60048060000160009054906101000a900468ffffffffffffffffff16908060000160099054906101000a900468ffffffffffffffffff16908060000160129054906101000a900464ffffffffff16908060000160179054906101000a900468ffffffffffffffffff16908060010160009054906101000a900461ffff16908060010160029054906101000a900468ffffffffffffffffff169080600101600b9054906101000a900464ffffffffff16905087565b61251461439e565b8210612588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f43534e453a20526f756e64206973206e6f7420636f6d706c657465000000000081525060200191505060405180910390fd5b60006009600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000160009054906101000a900464ffffffffff1664ffffffffff16905060008084146126a457818360000160059054906101000a900464ffffffffff1664ffffffffff160384111561269a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a20636f756e7420696e76616c69640000000000000000000000000081525060200191505060405180910390fd5b8382019050612739565b8260000160059054906101000a900464ffffffffff1664ffffffffff169050808210612738576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a20636f756e7420696e76616c69640000000000000000000000000081525060200191505060405180910390fd5b5b6000612744866147aa565b905060006008600088815260200190815260200160002054905060008090505b600086600101600087815260200190815260200160002060000160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1690506000876001016000888152602001908152602001600020600001600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050876001016000888152602001908152602001600020600080820160006101000a8154906bffffffffffffffffffffffff021916905560008201600c6101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550506000848387028161284f57fe5b049050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806128b857503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156128ce576128c98b8983856147ee565b61290a565b6000601482816128da57fe5b04905080820191506000600a83816128ee57fe5b0490506128fd8d8b85876147ee565b6129078482613ac2565b50505b808401935050505083856001019550851061276457848660000160006101000a81548164ffffffffff021916908364ffffffffff16021790555060008114612957576129563382613ac2565b5b5050505050505050565b600061296b61439e565b116129de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f43534e453a2041756374696f6e20686173206e6f7420626567756e207965740081525060200191505060405180910390fd5b60006129e861439e565b905060003490506000811415612a66576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f43534e453a20416d6f756e74207265717569726564000000000000000000000081525060200191505060405180910390fd5b60006009600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001600581819054906101000a900464ffffffffff168092919060010191906101000a81548164ffffffffff021916908364ffffffffff16021790555064ffffffffff1690506040518060400160405280846bffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681525082600101600083815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600860008681526020019081526020016000206000828254019250508190555082817f683f950243ca541a09abd8157385ce15a23ac43a47b8d0306de2bdc20d0b9e094287604051808381526020018281526020019250505060405180910390a35050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b612ccb614ff4565b612cd3614ff4565b612cdd82826136b3565b60003073ffffffffffffffffffffffffffffffffffffffff16311415612d6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43534e453a204e6f2076616c756500000000000000000000000000000000000081525060200191505060405180910390fd5b612d7361439e565b600360009054906101000a900460ff1660ff1610612df9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43534e453a20496e76616c69642064617900000000000000000000000000000081525060200191505060405180910390fd5b612e028261398e565b73ce3d57d817dc3b83899907bfec99c7ef2e2af35d73ffffffffffffffffffffffffffffffffffffffff166108fc6064600560066000600360009054906101000a900460ff1660ff168152602001908152602001600020600101540281612e6557fe5b049081150290604051600060405180830381858888f19350505050158015612e91573d6000803e3d6000fd5b506003600081819054906101000a900460ff168092919060010191906101000a81548160ff021916908360ff16021790555050612ece8282613f89565b5050565b612eda61509f565b604051806101400160405280600460000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168152602001600460000160099054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168152602001600460000160129054906101000a900464ffffffffff1664ffffffffff168152602001600460000160179054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168152602001600460010160009054906101000a900461ffff1661ffff168152602001600460010160029054906101000a900468ffffffffffffffffff1668ffffffffffffffffff1681526020016004600101600b9054906101000a900464ffffffffff1664ffffffffff16815260200142815260200161300361103e565b81526020016008600061301461439e565b815260200190815260200160002054815250905090565b60608183108015613043575061303f61439e565b8211155b6130b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a20696e76616c69642072616e67650000000000000000000000000081525060200191505060405180910390fd5b8282036040519080825280602002602001820160405280156130e65781602001602082028038833980820191505090505b509050600083905060008090505b600860008380600101945081526020019081526020016000205483828060010193508151811061312057fe5b6020026020010181815250508382106130f457829250505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806152826024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613252576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806151226022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061525d6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613449576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806150dd6023913960400191505060405180910390fd5b6134b481604051806060016040528060268152602001615144602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135f39092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613547816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461415e90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906136a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561366557808201518184015260208101905061364a565b50505050905090810190601f1680156136925780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600460000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16826000018181525050600460000160099054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16826020018181525050600460000160129054906101000a900464ffffffffff1664ffffffffff16826040018181525050600460000160179054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16826060018181525050600460010160009054906101000a900461ffff1661ffff16826080018181525050600460010160029054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168260a00181815250506004600101600b9054906101000a900464ffffffffff168260c0019064ffffffffff16908164ffffffffff16815250506137ef61439e565b8260e0018181525050613802828261484c565b5050565b8260000160009054906101000a900464ffffffffff1664ffffffffff168264ffffffffff161461389e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f43534e453a207374616b654964506172616d206e6f7420696e207374616b650081525060200191505060405180910390fd5b8260000160009054906101000a900464ffffffffff16816000019064ffffffffff16908164ffffffffff16815250508260000160059054906101000a900468ffffffffffffffffff1668ffffffffffffffffff1681602001818152505082600001600e9054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168160400181815250508260000160179054906101000a900461ffff1661ffff168160600181815250508260000160199054906101000a900461ffff1661ffff1681608001818152505082600001601b9054906101000a900461ffff1661ffff168160a0018181525050505050565b61399e818260e0015160016146a8565b50565b80604001518260a00181815103915081815250508160e001518160a00181815250505050565b60008060008060008660800151861015613a26576139f48888606001518960800151898b604001516148c2565b8093508195505050838760200151019450613a1f8888604001518960600151898b6060015101614998565b9250613a82565b613a408888604001518960600151898b6060015101614a31565b9350613a5c8888604001518960600151898b6060015101614998565b9250838760200151019450613a7f876060015188608001518960a0015188614b79565b91505b60008214613aa85784821115613a9e5784905060009450613aa7565b81905080850394505b5b848484848494509450945094509450939792965093509350565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b613b7a8160025461415e90919063ffffffff16565b600281905550613bd1816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461415e90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b8160200151811115613d35576000613c99828460800151614bb6565b905060008360400151620186a08385010281613cb157fe5b049050600160286001901b03811115613cd057600160286001901b0390505b8460400151811115613d325780856040018181525050836000015164ffffffffff167faf62aa7dadbf7e5e54b91236b109372266fcf681cc74f199a41e14c242a3db3f4283604051808381526020018281526020019250505060405180910390a25b50505b505050565b600060018380549050039050808214613ed657828181548110613d5957fe5b90600052602060002001838381548110613d6f57fe5b906000526020600020016000820160009054906101000a900464ffffffffff168160000160006101000a81548164ffffffffff021916908364ffffffffff1602179055506000820160059054906101000a900468ffffffffffffffffff168160000160056101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff16021790555060008201600e9054906101000a900468ffffffffffffffffff1681600001600e6101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055506000820160179054906101000a900461ffff168160000160176101000a81548161ffff021916908361ffff1602179055506000820160199054906101000a900461ffff168160000160196101000a81548161ffff021916908361ffff16021790555060008201601b9054906101000a900461ffff1681600001601b6101000a81548161ffff021916908361ffff1602179055509050505b82805480613ee057fe5b60019003818190600052602060002001600080820160006101000a81549064ffffffffff02191690556000820160056101000a81549068ffffffffffffffffff021916905560008201600e6101000a81549068ffffffffffffffffff02191690556000820160176101000a81549061ffff02191690556000820160196101000a81549061ffff021916905560008201601b6101000a81549061ffff021916905550509055505050565b80600001518260000151141580613fa857508060200151826020015114155b80613fbb57508060400151826040015114155b80613fce57508060600151826060015114155b15614094578160000151600460000160006101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055508160200151600460000160096101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055508160400151600460000160126101000a81548164ffffffffff021916908364ffffffffff1602179055508160600151600460000160176101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055505b806080015182608001511415806140b357508060a001518260a0015114155b806140d457508060c0015164ffffffffff168260c0015164ffffffffff1614155b1561415a578160800151600460010160006101000a81548161ffff021916908361ffff1602179055508160a00151600460010160026101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055508160c001516004600101600b6101000a81548164ffffffffff021916908364ffffffffff1602179055505b5050565b6000808284019050838110156141dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561426c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806152156021913960400191505060405180910390fd5b6142d781604051806060016040528060228152602001615100602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135f39092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061432e81600254614ca890919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000635fcd70804210156143b557600090506143cb565b62015180635fcd70804203816143c757fe5b0490505b90565b601e811115614428576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806152366027913960400191505060405180910390fd5b60006144348383614bb6565b905060008460400151620186a0838601028161444c57fe5b04905060008114156144a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061516a6036913960400191505060405180910390fd5b600060018660e0015101905060008660c001805160010164ffffffffff16908164ffffffffff168152509050614521600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828886868a614cf2565b3373ffffffffffffffffffffffffffffffffffffffff168164ffffffffff167fa75ea2f0baef0a6cfa36f61bc0cdc9b3a55ce8876892cf96f640208f65c799e988868960405180848152602001838152602001828152602001935050505060405180910390a3828760200181815101915081815250508587600001818151019150818152505050505050505050565b80600001518260000160006101000a81548164ffffffffff021916908364ffffffffff16021790555080602001518260000160056101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550806040015182600001600e6101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff16021790555080606001518260000160176101000a81548161ffff021916908361ffff16021790555080608001518260000160196101000a81548161ffff021916908361ffff1602179055508060a0015182600001601b6101000a81548161ffff021916908361ffff1602179055505050565b818360800151106146b8576147a5565b6146c06150c2565b83600001516146cd61103e565b018160000181815250506000846080015190506146eb858383614e70565b60008560200151146147175784602001518560a001818151019150818152505060008560200181815250505b5b8381600101915081101561473657614731858383614e70565b614718565b3373ffffffffffffffffffffffffffffffffffffffff167fe00f6f1c2b3ba17574be0a8136275368d74f37631cf36525a360b272fe21195b4287608001518460405180848152602001838152602001828152602001935050505060405180910390a28085608001818152505050505b505050565b600080821180156147bd575061016d8211155b156147dc57645faf0f3b2d600183030265e35fa931a0000390506147e6565b655af3107a400090505b809050919050565b8073ffffffffffffffffffffffffffffffffffffffff1682847ff8fa88708321411fd98e823a1eb882047c8dc276ba17a8b81722ed282c4560f74288604051808381526020018281526020019250505060405180910390a450505050565b816000015181600001818152505081602001518160200181815250508160400151816040018181525050816060015181606001818152505081608001518160800181815250508160a001518160a00181815250508160c001518160c0019064ffffffffff16908164ffffffffff16815250505050565b600080600084870190506000600260018801816148db57fe5b049050605a8110156148ec57605a90505b60008614156149175760006149028a878b614f34565b9050818102935084849450945050505061498e565b8581101561495857600081890190506149328a878b84614a31565b935060006149428b888487614a31565b905080850195508585955095505050505061498e565b61496489868a85614a31565b93508581141561497657839250614985565b858185028161498157fe5b0492505b83839350935050505b9550959350505050565b6000808390505b82811015614a255760006006600083815260200190815260200160002060020160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16866064605f60066000878152602001908152602001600020600101540281614a0457fe5b040281614a0d57fe5b0481019050808301925050808060010191505061499f565b50809050949350505050565b60008060008490505b83811015614b6c5760006006600083815260200190815260200160002060020160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16876006600085815260200190815260200160002060000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff160281614abb57fe5b0490506004831015614ad4578280600101935050614b59565b600260ff166006600084815260200190815260200160002060020160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16886006600086815260200190815260200160002060000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff160281614b5057fe5b04029050600092505b8084019350508080600101915050614a3a565b5081915050949350505050565b6000806007600202858701019050808411614b98576000915050614bae565b6007606402818503840281614ba957fe5b049150505b949350505050565b600080600090506001831115614c0e57606460c86014618e3081614bd657fe5b040281614bdf57fe5b04831115614c0657606460c86014618e3081614bf757fe5b040281614c0057fe5b04614c0b565b600183035b90505b6000600860ff16600a0a626acfc002851115614c3657600860ff16600a0a626acfc002614c38565b845b90506014618e3081614c4657fe5b048102600a6064600860ff16600a0a626acfc0020281614c6257fe5b048302019250600a6064600860ff16600a0a626acfc0020281614c8157fe5b046014618e3081614c8e57fe5b040283860281614c9a57fe5b049250829250505092915050565b6000614cea83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506135f3565b905092915050565b856040518060c001604052808764ffffffffff1681526020018668ffffffffffffffffff1681526020018568ffffffffffffffffff1681526020018461ffff1681526020018361ffff168152602001600061ffff1681525090806001815401808255809150509060018203906000526020600020016000909192909190915060008201518160000160006101000a81548164ffffffffff021916908364ffffffffff16021790555060208201518160000160056101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550604082015181600001600e6101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff16021790555060608201518160000160176101000a81548161ffff021916908361ffff16021790555060808201518160000160196101000a81548161ffff021916908361ffff16021790555060a082015181600001601b6101000a81548161ffff021916908361ffff160217905550505050505050505050565b614e7b838383614fa4565b81602001516006600083815260200190815260200160002060000160006101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550600860008281526020019081526020016000205460066000838152602001908152602001600020600101819055508260a001516006600083815260200190815260200160002060020160006101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550505050565b6000614f3e614ff4565b614f48858261484c565b614f506150c2565b8560000151614f5d61103e565b01816000018181525050614f72828286614fa4565b848260a00181815101915081815250508160a001518582602001510281614f9557fe5b04925082925050509392505050565b63041aa18961c35083600001510281614fb957fe5b048260200181815250506000836060015114614fef57826060015182602001818151019150818152505060008360600181815250505b505050565b604051806101000160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600081525090565b6040518060c00160405280600064ffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040518060400160405280600290602082028038833980820191505090505090565b604051806101400160405280600a90602082028038833980820191505090505090565b60405180604001604052806000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636543534e453a206e65775374616b656453756e73206d757374206265206174206c65617374206d696e696d756d2073686172655261746543534e453a206265666f72654461792063616e6e6f7420626520696e207468652066757475726543534e453a206e65775374616b656444617973206c6f776572207468616e206d696e696d756d45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737343534e453a206e65775374616b65644461797320686967686572207468616e206d6178696d756d45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a7230582015b15fb6928768143d29c849842195f59d6c58b81754cc547f6ae35aeec04bef64736f6c634300050a0032

Deployed Bytecode

0x6080604052600436106101e35760003560e01c806365cf71b211610102578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e14610e5e578063e4df526514610ee3578063f04b5fa014610efa578063f57a1b3c14610f4d576101e3565b8063a9059cbb14610c91578063c312452514610d04578063cbb151d314610dd5578063ce7d1f7714610e1a576101e3565b80638f1c65c0116100d15780638f1c65c014610aca57806390de687114610b0557806395d89b4114610b8e578063a457c2d714610c1e576101e3565b806365cf71b2146108805780636a210a0e146108ec57806370a0823114610a1657806387a0f31c14610a7b576101e3565b8063343009a21161017a57806344203faf1161014957806344203faf146106f157806344f0de751461078357806352a438b8146108105780635c9302c914610855576101e3565b8063343009a2146105cc57806339509351146106185780633a70a5ca1461068b57806342966c68146106b6576101e3565b80632607443b116101b65780632607443b146103a65780632e60d1c41461048a578063313ce5671461053657806333060d9014610567576101e3565b806306fdde03146101e5578063095ea7b31461027557806318160ddd146102e857806323b872dd14610313575b005b3480156101f157600080fd5b506101fa610fe7565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561023a57808201518184015260208101905061021f565b50505050905090810190601f1680156102675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028157600080fd5b506102ce6004803603604081101561029857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611020565b604051808215151515815260200191505060405180910390f35b3480156102f457600080fd5b506102fd61103e565b6040518082815260200191505060405180910390f35b34801561031f57600080fd5b5061038c6004803603606081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611048565b604051808215151515815260200191505060405180910390f35b3480156103b257600080fd5b506103ff600480360360408110156103c957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611121565b604051808764ffffffffff1664ffffffffff1681526020018668ffffffffffffffffff1668ffffffffffffffffff1681526020018568ffffffffffffffffff1668ffffffffffffffffff1681526020018461ffff1661ffff1681526020018361ffff1661ffff1681526020018261ffff1661ffff168152602001965050505050505060405180910390f35b34801561049657600080fd5b506104ed600480360360608110156104ad57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291905050506111d8565b604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b34801561054257600080fd5b5061054b611344565b604051808260ff1660ff16815260200191505060405180910390f35b34801561057357600080fd5b506105b66004803603602081101561058a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611349565b6040518082815260200191505060405180910390f35b3480156105d857600080fd5b50610616600480360360408110156105ef57600080fd5b8101908080359060200190929190803564ffffffffff169060200190929190505050611395565b005b34801561062457600080fd5b506106716004803603604081101561063b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611746565b604051808215151515815260200191505060405180910390f35b34801561069757600080fd5b506106a06117f9565b6040518082815260200191505060405180910390f35b3480156106c257600080fd5b506106ef600480360360208110156106d957600080fd5b810190808035906020019092919050505061182f565b005b3480156106fd57600080fd5b5061074a6004803603604081101561071457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118f0565b604051808364ffffffffff1664ffffffffff1681526020018264ffffffffff1664ffffffffff1681526020019250505060405180910390f35b34801561078f57600080fd5b506107d2600480360360208110156107a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611943565b6040518082600260200280838360005b838110156107fd5780820151818401526020810190506107e2565b5050505090500191505060405180910390f35b34801561081c57600080fd5b506108536004803603604081101561083357600080fd5b810190808035906020019092919080359060200190929190505050611a7e565b005b34801561086157600080fd5b5061086a611b20565b6040518082815260200191505060405180910390f35b34801561088c57600080fd5b506108ea600480360360608110156108a357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803564ffffffffff169060200190929190505050611b2f565b005b3480156108f857600080fd5b5061092f6004803603604081101561090f57600080fd5b810190808035906020019092919080359060200190929190505050611f1a565b60405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561097a57808201518184015260208101905061095f565b50505050905001848103835286818151815260200191508051906020019060200280838360005b838110156109bc5780820151818401526020810190506109a1565b50505050905001848103825285818151815260200191508051906020019060200280838360005b838110156109fe5780820151818401526020810190506109e3565b50505050905001965050505050505060405180910390f35b348015610a2257600080fd5b50610a6560048036036020811015610a3957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612156565b6040518082815260200191505060405180910390f35b348015610a8757600080fd5b50610ab460048036036020811015610a9e57600080fd5b810190808035906020019092919050505061219e565b6040518082815260200191505060405180910390f35b348015610ad657600080fd5b50610b0360048036036020811015610aed57600080fd5b81019080803590602001909291905050506121b6565b005b348015610b1157600080fd5b50610b3e60048036036020811015610b2857600080fd5b81019080803590602001909291905050506122e0565b604051808468ffffffffffffffffff1668ffffffffffffffffff1681526020018381526020018268ffffffffffffffffff1668ffffffffffffffffff168152602001935050505060405180910390f35b348015610b9a57600080fd5b50610ba3612334565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610be3578082015181840152602081019050610bc8565b50505050905090810190601f168015610c105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610c2a57600080fd5b50610c7760048036036040811015610c4157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061236d565b604051808215151515815260200191505060405180910390f35b348015610c9d57600080fd5b50610cea60048036036040811015610cb457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061243a565b604051808215151515815260200191505060405180910390f35b348015610d1057600080fd5b50610d19612458565b604051808868ffffffffffffffffff1668ffffffffffffffffff1681526020018768ffffffffffffffffff1668ffffffffffffffffff1681526020018664ffffffffff1664ffffffffff1681526020018568ffffffffffffffffff1668ffffffffffffffffff1681526020018461ffff1661ffff1681526020018368ffffffffffffffffff1668ffffffffffffffffff1681526020018264ffffffffff1664ffffffffff16815260200197505050505050505060405180910390f35b348015610de157600080fd5b50610e1860048036036040811015610df857600080fd5b81019080803590602001909291908035906020019092919050505061250c565b005b610e5c60048036036020811015610e3057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612961565b005b348015610e6a57600080fd5b50610ecd60048036036040811015610e8157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612c3c565b6040518082815260200191505060405180910390f35b348015610eef57600080fd5b50610ef8612cc3565b005b348015610f0657600080fd5b50610f0f612ed2565b6040518082600a60200280838360005b83811015610f3a578082015181840152602081019050610f1f565b5050505090500191505060405180910390f35b348015610f5957600080fd5b50610f9060048036036040811015610f7057600080fd5b81019080803590602001909291908035906020019092919050505061302b565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610fd3578082015181840152602081019050610fb8565b505050509050019250505060405180910390f35b6040518060400160405280602081526020017f436f6d6d756e697479205374616b696e67204e6574776f726b20696e2045544881525081565b600061103461102d61313e565b8484613146565b6001905092915050565b6000600254905090565b600061105584848461333d565b6111168461106161313e565b611111856040518060600160405280602881526020016151ed60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006110c761313e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135f39092919063ffffffff16565b613146565b600190509392505050565b6007602052816000526040600020818154811061113a57fe5b90600052602060002001600091509150508060000160009054906101000a900464ffffffffff16908060000160059054906101000a900468ffffffffffffffffff169080600001600e9054906101000a900468ffffffffffffffffff16908060000160179054906101000a900461ffff16908060000160199054906101000a900461ffff169080600001601b9054906101000a900461ffff16905086565b60008060006009600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016000858152602001908152602001600020905060008160000160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1614156112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a20506172616d20696e76616c69640000000000000000000000000081525060200191505060405180910390fd5b8060000160009054906101000a90046bffffffffffffffffffffffff1681600001600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816bffffffffffffffffffffffff1691509250925050935093915050565b600881565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b61139d614ff4565b6113a5614ff4565b6113af82826136b3565b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008180549050141561146d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43534e453a20456d707479207374616b65206c6973740000000000000000000081525060200191505060405180910390fd5b808054905085106114e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f43534e453a207374616b65496e64657820696e76616c6964000000000000000081525060200191505060405180910390fd5b6114ee615040565b61150e8287815481106114fd57fe5b906000526020600020018683613806565b6115178461398e565b60008090506000808360a00151141590506000806000905060008090506000809050600080905087606001518b60e00151106115f657851561155f578760800151965061158b565b6115698b896139a1565b87606001518b60e00151039650876080015187111561158a57876080015196505b5b6115968b89896139c7565b80955081965082975083985084995050505050503373ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156115f0573d6000803e3d6000fd5b50611612565b87604001518b6020018181510391508181525050876020015194505b3373ffffffffffffffffffffffffffffffffffffffff168c64ffffffffff167f80bb257dd672adb291601517b3f5d31642fccf6d3db7a40983552a9baacbbabd8861165e576000611661565b60015b8b606001518b8d602001518e604001518a8c8b8f604051808a60ff1664ffffffffff168152602001898152602001888152602001878152602001868152602001858152602001848152602001838152602001828152602001995050505050505050505060405180910390a3600081141580156116db575085155b156116f157808b60600181815101915081815250505b6000851461170f576117033386613ac2565b61170e8b8987613c7d565b5b87602001518b600001818151039150818152505061172d898e613d3a565b6117378b8b613f89565b50505050505050505050505050565b60006117ef61175361313e565b846117ea856001600061176461313e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461415e90919063ffffffff16565b613146565b6001905092915050565b6000600460000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff1661182961103e565b01905090565b806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156118e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f45524332303a206e6f7420656e6f7567682062616c616e63652100000000000081525060200191505060405180910390fd5b6118ed33826141e6565b50565b6009602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900464ffffffffff16908060000160059054906101000a900464ffffffffff16905082565b61194b61507d565b6000600161195761439e565b0190505b6000818060019003925014611a75576009600082815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900464ffffffffff1664ffffffffff166009600083815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160059054906101000a900464ffffffffff1664ffffffffff161115611a705760ff81166001901b82600883901c60028110611a6057fe5b6020020181815117915081815250505b61195b565b81915050919050565b611a86614ff4565b611a8e614ff4565b611a9882826136b3565b6001831015611af2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806151c76026913960400191505060405180910390fd5b611afb8261398e565b611b068285856143ce565b611b1033856141e6565b611b1a8282613f89565b50505050565b6000611b2a61439e565b905090565b611b37614ff4565b611b3f614ff4565b611b4982826136b3565b6000600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501415611c02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43534e453a20456d707479207374616b65206c6973740000000000000000000081525060200191505060405180910390fd5b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508410611cb9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f43534e453a207374616b65496e64657820696e76616c6964000000000000000081525060200191505060405180910390fd5b6000600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208581548110611d0557fe5b906000526020600020019050611d19615040565b611d24828683613806565b80608001518160600151018460e001511015611da8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f43534e453a205374616b65206e6f742066756c6c79207365727665640000000081525060200191505060405180910390fd5b60008160a0015114611e22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f43534e453a205374616b6520616c726561647920756e6c6f636b65640000000081525060200191505060405180910390fd5b611e2b8461398e565b611e3584826139a1565b600080600080611e4a888687608001516139c7565b9450945094509450503373ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff168a64ffffffffff167f0bff00790f1231cf0c26911db2d0c4e670b204ebb02d6a73d3fb5c995910705e8860200151896040015189886040518085815260200184815260200183815260200182815260200194505050505060405180910390a460008114611ef957808860600181815101915081815250505b611f0386866145b0565b611f0d8888613f89565b5050505050505050505050565b60608060608385108015611f455750600460010160009054906101000a900461ffff1661ffff168411155b611fb7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a2072616e676520696e76616c69640000000000000000000000000081525060200191505060405180910390fd5b848403604051908082528060200260200182016040528015611fe85781602001602082028038833980820191505090505b50925084840360405190808252806020026020018201604052801561201c5781602001602082028038833980820191505090505b5091508484036040519080825280602002602001820160405280156120505781602001602082028038833980820191505090505b509050600085905060008090505b6006600083815260200190815260200160002060020160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168582815181106120a157fe5b6020026020010181815250506006600083815260200190815260200160002060000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168482806001019350815181106120f657fe5b602002602001018181525050600660008381526020019081526020016000206001015483828060010193508151811061212b57fe5b60200260200101818152505085826001019250821061205e5784848494509450945050509250925092565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60086020528060005260406000206000915090505481565b6121be614ff4565b6121c6614ff4565b6121d082826136b3565b60018260e001511161224a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f43534e453a20546f6f206561726c79000000000000000000000000000000000081525060200191505060405180910390fd5b600083146122c0578160e001518311156122af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806151a06027913960400191505060405180910390fd5b6122bb828460006146a8565b6122d1565b6122d0828360e0015160006146a8565b5b6122db8282613f89565b505050565b60066020528060005260406000206000915090508060000160009054906101000a900468ffffffffffffffffff16908060010154908060020160009054906101000a900468ffffffffffffffffff16905083565b6040518060400160405280600481526020017f43534e450000000000000000000000000000000000000000000000000000000081525081565b600061243061237a61313e565b8461242b856040518060600160405280602581526020016152a660259139600160006123a461313e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135f39092919063ffffffff16565b613146565b6001905092915050565b600061244e61244761313e565b848461333d565b6001905092915050565b60048060000160009054906101000a900468ffffffffffffffffff16908060000160099054906101000a900468ffffffffffffffffff16908060000160129054906101000a900464ffffffffff16908060000160179054906101000a900468ffffffffffffffffff16908060010160009054906101000a900461ffff16908060010160029054906101000a900468ffffffffffffffffff169080600101600b9054906101000a900464ffffffffff16905087565b61251461439e565b8210612588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f43534e453a20526f756e64206973206e6f7420636f6d706c657465000000000081525060200191505060405180910390fd5b60006009600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000160009054906101000a900464ffffffffff1664ffffffffff16905060008084146126a457818360000160059054906101000a900464ffffffffff1664ffffffffff160384111561269a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a20636f756e7420696e76616c69640000000000000000000000000081525060200191505060405180910390fd5b8382019050612739565b8260000160059054906101000a900464ffffffffff1664ffffffffff169050808210612738576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a20636f756e7420696e76616c69640000000000000000000000000081525060200191505060405180910390fd5b5b6000612744866147aa565b905060006008600088815260200190815260200160002054905060008090505b600086600101600087815260200190815260200160002060000160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1690506000876001016000888152602001908152602001600020600001600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050876001016000888152602001908152602001600020600080820160006101000a8154906bffffffffffffffffffffffff021916905560008201600c6101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550506000848387028161284f57fe5b049050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806128b857503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156128ce576128c98b8983856147ee565b61290a565b6000601482816128da57fe5b04905080820191506000600a83816128ee57fe5b0490506128fd8d8b85876147ee565b6129078482613ac2565b50505b808401935050505083856001019550851061276457848660000160006101000a81548164ffffffffff021916908364ffffffffff16021790555060008114612957576129563382613ac2565b5b5050505050505050565b600061296b61439e565b116129de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f43534e453a2041756374696f6e20686173206e6f7420626567756e207965740081525060200191505060405180910390fd5b60006129e861439e565b905060003490506000811415612a66576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f43534e453a20416d6f756e74207265717569726564000000000000000000000081525060200191505060405180910390fd5b60006009600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001600581819054906101000a900464ffffffffff168092919060010191906101000a81548164ffffffffff021916908364ffffffffff16021790555064ffffffffff1690506040518060400160405280846bffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681525082600101600083815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600860008681526020019081526020016000206000828254019250508190555082817f683f950243ca541a09abd8157385ce15a23ac43a47b8d0306de2bdc20d0b9e094287604051808381526020018281526020019250505060405180910390a35050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b612ccb614ff4565b612cd3614ff4565b612cdd82826136b3565b60003073ffffffffffffffffffffffffffffffffffffffff16311415612d6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43534e453a204e6f2076616c756500000000000000000000000000000000000081525060200191505060405180910390fd5b612d7361439e565b600360009054906101000a900460ff1660ff1610612df9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43534e453a20496e76616c69642064617900000000000000000000000000000081525060200191505060405180910390fd5b612e028261398e565b73ce3d57d817dc3b83899907bfec99c7ef2e2af35d73ffffffffffffffffffffffffffffffffffffffff166108fc6064600560066000600360009054906101000a900460ff1660ff168152602001908152602001600020600101540281612e6557fe5b049081150290604051600060405180830381858888f19350505050158015612e91573d6000803e3d6000fd5b506003600081819054906101000a900460ff168092919060010191906101000a81548160ff021916908360ff16021790555050612ece8282613f89565b5050565b612eda61509f565b604051806101400160405280600460000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168152602001600460000160099054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168152602001600460000160129054906101000a900464ffffffffff1664ffffffffff168152602001600460000160179054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168152602001600460010160009054906101000a900461ffff1661ffff168152602001600460010160029054906101000a900468ffffffffffffffffff1668ffffffffffffffffff1681526020016004600101600b9054906101000a900464ffffffffff1664ffffffffff16815260200142815260200161300361103e565b81526020016008600061301461439e565b815260200190815260200160002054815250905090565b60608183108015613043575061303f61439e565b8211155b6130b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f43534e453a20696e76616c69642072616e67650000000000000000000000000081525060200191505060405180910390fd5b8282036040519080825280602002602001820160405280156130e65781602001602082028038833980820191505090505b509050600083905060008090505b600860008380600101945081526020019081526020016000205483828060010193508151811061312057fe5b6020026020010181815250508382106130f457829250505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806152826024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613252576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806151226022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061525d6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613449576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806150dd6023913960400191505060405180910390fd5b6134b481604051806060016040528060268152602001615144602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135f39092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613547816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461415e90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906136a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561366557808201518184015260208101905061364a565b50505050905090810190601f1680156136925780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600460000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16826000018181525050600460000160099054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16826020018181525050600460000160129054906101000a900464ffffffffff1664ffffffffff16826040018181525050600460000160179054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16826060018181525050600460010160009054906101000a900461ffff1661ffff16826080018181525050600460010160029054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168260a00181815250506004600101600b9054906101000a900464ffffffffff168260c0019064ffffffffff16908164ffffffffff16815250506137ef61439e565b8260e0018181525050613802828261484c565b5050565b8260000160009054906101000a900464ffffffffff1664ffffffffff168264ffffffffff161461389e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f43534e453a207374616b654964506172616d206e6f7420696e207374616b650081525060200191505060405180910390fd5b8260000160009054906101000a900464ffffffffff16816000019064ffffffffff16908164ffffffffff16815250508260000160059054906101000a900468ffffffffffffffffff1668ffffffffffffffffff1681602001818152505082600001600e9054906101000a900468ffffffffffffffffff1668ffffffffffffffffff168160400181815250508260000160179054906101000a900461ffff1661ffff168160600181815250508260000160199054906101000a900461ffff1661ffff1681608001818152505082600001601b9054906101000a900461ffff1661ffff168160a0018181525050505050565b61399e818260e0015160016146a8565b50565b80604001518260a00181815103915081815250508160e001518160a00181815250505050565b60008060008060008660800151861015613a26576139f48888606001518960800151898b604001516148c2565b8093508195505050838760200151019450613a1f8888604001518960600151898b6060015101614998565b9250613a82565b613a408888604001518960600151898b6060015101614a31565b9350613a5c8888604001518960600151898b6060015101614998565b9250838760200151019450613a7f876060015188608001518960a0015188614b79565b91505b60008214613aa85784821115613a9e5784905060009450613aa7565b81905080850394505b5b848484848494509450945094509450939792965093509350565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b613b7a8160025461415e90919063ffffffff16565b600281905550613bd1816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461415e90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b8160200151811115613d35576000613c99828460800151614bb6565b905060008360400151620186a08385010281613cb157fe5b049050600160286001901b03811115613cd057600160286001901b0390505b8460400151811115613d325780856040018181525050836000015164ffffffffff167faf62aa7dadbf7e5e54b91236b109372266fcf681cc74f199a41e14c242a3db3f4283604051808381526020018281526020019250505060405180910390a25b50505b505050565b600060018380549050039050808214613ed657828181548110613d5957fe5b90600052602060002001838381548110613d6f57fe5b906000526020600020016000820160009054906101000a900464ffffffffff168160000160006101000a81548164ffffffffff021916908364ffffffffff1602179055506000820160059054906101000a900468ffffffffffffffffff168160000160056101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff16021790555060008201600e9054906101000a900468ffffffffffffffffff1681600001600e6101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055506000820160179054906101000a900461ffff168160000160176101000a81548161ffff021916908361ffff1602179055506000820160199054906101000a900461ffff168160000160196101000a81548161ffff021916908361ffff16021790555060008201601b9054906101000a900461ffff1681600001601b6101000a81548161ffff021916908361ffff1602179055509050505b82805480613ee057fe5b60019003818190600052602060002001600080820160006101000a81549064ffffffffff02191690556000820160056101000a81549068ffffffffffffffffff021916905560008201600e6101000a81549068ffffffffffffffffff02191690556000820160176101000a81549061ffff02191690556000820160196101000a81549061ffff021916905560008201601b6101000a81549061ffff021916905550509055505050565b80600001518260000151141580613fa857508060200151826020015114155b80613fbb57508060400151826040015114155b80613fce57508060600151826060015114155b15614094578160000151600460000160006101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055508160200151600460000160096101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055508160400151600460000160126101000a81548164ffffffffff021916908364ffffffffff1602179055508160600151600460000160176101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055505b806080015182608001511415806140b357508060a001518260a0015114155b806140d457508060c0015164ffffffffff168260c0015164ffffffffff1614155b1561415a578160800151600460010160006101000a81548161ffff021916908361ffff1602179055508160a00151600460010160026101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff1602179055508160c001516004600101600b6101000a81548164ffffffffff021916908364ffffffffff1602179055505b5050565b6000808284019050838110156141dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561426c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806152156021913960400191505060405180910390fd5b6142d781604051806060016040528060228152602001615100602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135f39092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061432e81600254614ca890919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000635fcd70804210156143b557600090506143cb565b62015180635fcd70804203816143c757fe5b0490505b90565b601e811115614428576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806152366027913960400191505060405180910390fd5b60006144348383614bb6565b905060008460400151620186a0838601028161444c57fe5b04905060008114156144a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061516a6036913960400191505060405180910390fd5b600060018660e0015101905060008660c001805160010164ffffffffff16908164ffffffffff168152509050614521600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828886868a614cf2565b3373ffffffffffffffffffffffffffffffffffffffff168164ffffffffff167fa75ea2f0baef0a6cfa36f61bc0cdc9b3a55ce8876892cf96f640208f65c799e988868960405180848152602001838152602001828152602001935050505060405180910390a3828760200181815101915081815250508587600001818151019150818152505050505050505050565b80600001518260000160006101000a81548164ffffffffff021916908364ffffffffff16021790555080602001518260000160056101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550806040015182600001600e6101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff16021790555080606001518260000160176101000a81548161ffff021916908361ffff16021790555080608001518260000160196101000a81548161ffff021916908361ffff1602179055508060a0015182600001601b6101000a81548161ffff021916908361ffff1602179055505050565b818360800151106146b8576147a5565b6146c06150c2565b83600001516146cd61103e565b018160000181815250506000846080015190506146eb858383614e70565b60008560200151146147175784602001518560a001818151019150818152505060008560200181815250505b5b8381600101915081101561473657614731858383614e70565b614718565b3373ffffffffffffffffffffffffffffffffffffffff167fe00f6f1c2b3ba17574be0a8136275368d74f37631cf36525a360b272fe21195b4287608001518460405180848152602001838152602001828152602001935050505060405180910390a28085608001818152505050505b505050565b600080821180156147bd575061016d8211155b156147dc57645faf0f3b2d600183030265e35fa931a0000390506147e6565b655af3107a400090505b809050919050565b8073ffffffffffffffffffffffffffffffffffffffff1682847ff8fa88708321411fd98e823a1eb882047c8dc276ba17a8b81722ed282c4560f74288604051808381526020018281526020019250505060405180910390a450505050565b816000015181600001818152505081602001518160200181815250508160400151816040018181525050816060015181606001818152505081608001518160800181815250508160a001518160a00181815250508160c001518160c0019064ffffffffff16908164ffffffffff16815250505050565b600080600084870190506000600260018801816148db57fe5b049050605a8110156148ec57605a90505b60008614156149175760006149028a878b614f34565b9050818102935084849450945050505061498e565b8581101561495857600081890190506149328a878b84614a31565b935060006149428b888487614a31565b905080850195508585955095505050505061498e565b61496489868a85614a31565b93508581141561497657839250614985565b858185028161498157fe5b0492505b83839350935050505b9550959350505050565b6000808390505b82811015614a255760006006600083815260200190815260200160002060020160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16866064605f60066000878152602001908152602001600020600101540281614a0457fe5b040281614a0d57fe5b0481019050808301925050808060010191505061499f565b50809050949350505050565b60008060008490505b83811015614b6c5760006006600083815260200190815260200160002060020160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16876006600085815260200190815260200160002060000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff160281614abb57fe5b0490506004831015614ad4578280600101935050614b59565b600260ff166006600084815260200190815260200160002060020160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff16886006600086815260200190815260200160002060000160009054906101000a900468ffffffffffffffffff1668ffffffffffffffffff160281614b5057fe5b04029050600092505b8084019350508080600101915050614a3a565b5081915050949350505050565b6000806007600202858701019050808411614b98576000915050614bae565b6007606402818503840281614ba957fe5b049150505b949350505050565b600080600090506001831115614c0e57606460c86014618e3081614bd657fe5b040281614bdf57fe5b04831115614c0657606460c86014618e3081614bf757fe5b040281614c0057fe5b04614c0b565b600183035b90505b6000600860ff16600a0a626acfc002851115614c3657600860ff16600a0a626acfc002614c38565b845b90506014618e3081614c4657fe5b048102600a6064600860ff16600a0a626acfc0020281614c6257fe5b048302019250600a6064600860ff16600a0a626acfc0020281614c8157fe5b046014618e3081614c8e57fe5b040283860281614c9a57fe5b049250829250505092915050565b6000614cea83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506135f3565b905092915050565b856040518060c001604052808764ffffffffff1681526020018668ffffffffffffffffff1681526020018568ffffffffffffffffff1681526020018461ffff1681526020018361ffff168152602001600061ffff1681525090806001815401808255809150509060018203906000526020600020016000909192909190915060008201518160000160006101000a81548164ffffffffff021916908364ffffffffff16021790555060208201518160000160056101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550604082015181600001600e6101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff16021790555060608201518160000160176101000a81548161ffff021916908361ffff16021790555060808201518160000160196101000a81548161ffff021916908361ffff16021790555060a082015181600001601b6101000a81548161ffff021916908361ffff160217905550505050505050505050565b614e7b838383614fa4565b81602001516006600083815260200190815260200160002060000160006101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550600860008281526020019081526020016000205460066000838152602001908152602001600020600101819055508260a001516006600083815260200190815260200160002060020160006101000a81548168ffffffffffffffffff021916908368ffffffffffffffffff160217905550505050565b6000614f3e614ff4565b614f48858261484c565b614f506150c2565b8560000151614f5d61103e565b01816000018181525050614f72828286614fa4565b848260a00181815101915081815250508160a001518582602001510281614f9557fe5b04925082925050509392505050565b63041aa18961c35083600001510281614fb957fe5b048260200181815250506000836060015114614fef57826060015182602001818151019150818152505060008360600181815250505b505050565b604051806101000160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600081525090565b6040518060c00160405280600064ffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040518060400160405280600290602082028038833980820191505090505090565b604051806101400160405280600a90602082028038833980820191505090505090565b60405180604001604052806000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636543534e453a206e65775374616b656453756e73206d757374206265206174206c65617374206d696e696d756d2073686172655261746543534e453a206265666f72654461792063616e6e6f7420626520696e207468652066757475726543534e453a206e65775374616b656444617973206c6f776572207468616e206d696e696d756d45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737343534e453a206e65775374616b65644461797320686967686572207468616e206d6178696d756d45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a7230582015b15fb6928768143d29c849842195f59d6c58b81754cc547f6ae35aeec04bef64736f6c634300050a0032

Deployed Bytecode Sourcemap

61038:234:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19799:64;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19799:64:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;19799:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11669:152;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11669:152:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11669:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;10694:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10694:91:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12292:304;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12292:304:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12292:304:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23750:50;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23750:50:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23750:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59142:411;;8:9:-1;5:2;;;30:1;27;20:12;5:2;59142:411:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;59142:411:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19915:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19915:34:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;42340:165;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42340:165:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;42340:165:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39384:2803;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39384:2803:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39384:2803:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13004:210;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13004:210:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13004:210:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;27532:162;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27532:162:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15664:166;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15664:166:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15664:166:0;;;;;;;;;;;;;;;;;:::i;:::-;;24279:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24279:79:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24279:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59768:446;;8:9:-1;5:2;;;30:1;27;20:12;5:2;59768:446:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;59768:446:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;59768:446:0;;;;;;;;;;;;;;;;36309:638;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36309:638:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;36309:638:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27860:131;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27860:131:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37321:1792;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37321:1792:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;37321:1792:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25628:934;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25628:934:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25628:934:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;25628:934:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;25628:934:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;25628:934:0;;;;;;;;;;;;;;;;;;;;;10847:110;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10847:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;10847:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24229:42;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24229:42:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24229:42:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24615:669;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24615:669:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24615:669:0;;;;;;;;;;;;;;;;;:::i;:::-;;23188:51;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23188:51:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23188:51:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19870:38;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19870:38:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;19870:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13716:261;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13716:261:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13716:261:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11169:158;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11169:158:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11169:158:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22989:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22989:27:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55254:1954;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55254:1954:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;55254:1954:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54290:718;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;54290:718:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;11389:134;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11389:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11389:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;58200:503;;8:9:-1;5:2;;;30:1;27;20:12;5:2;58200:503:0;;;:::i;:::-;;26797:511;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26797:511:0;;;:::i;:::-;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;26797:511:0;;;;;;;;;;;;;;;;57497:512;;8:9:-1;5:2;;;30:1;27;20:12;5:2;57497:512:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;57497:512:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;57497:512:0;;;;;;;;;;;;;;;;;19799:64;;;;;;;;;;;;;;;;;;;:::o;11669:152::-;11735:4;11752:39;11761:12;:10;:12::i;:::-;11775:7;11784:6;11752:8;:39::i;:::-;11809:4;11802:11;;11669:152;;;;:::o;10694:91::-;10738:7;10765:12;;10758:19;;10694:91;:::o;12292:304::-;12381:4;12398:36;12408:6;12416:9;12427:6;12398:9;:36::i;:::-;12445:121;12454:6;12462:12;:10;:12::i;:::-;12476:89;12514:6;12476:89;;;;;;;;;;;;;;;;;:11;:19;12488:6;12476:19;;;;;;;;;;;;;;;:33;12496:12;:10;:12::i;:::-;12476:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;12445:8;:121::i;:::-;12584:4;12577:11;;12292:304;;;;;:::o;23750:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;59142:411::-;59275:17;59294:20;59334:31;59368:14;:24;59383:8;59368:24;;;;;;;;;;;:36;59393:10;59368:36;;;;;;;;;;;;;;;:44;;:56;59413:10;59368:56;;;;;;;;;;;59334:90;;59463:1;59444:5;:15;;;;;;;;;;;;:20;;;;59436:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59508:5;:15;;;;;;;;;;;;59525:5;:18;;;;;;;;;;;;59500:44;;;;;;;;;;59142:411;;;;;;:::o;19915:34::-;19948:1;19915:34;:::o;42340:165::-;42433:7;42467:10;:22;42478:10;42467:22;;;;;;;;;;;;;;;:29;;;;42460:36;;42340:165;;;:::o;39384:2803::-;39480:21;;:::i;:::-;39513:29;;:::i;:::-;39554:26;39567:1;39570:9;39554:12;:26::i;:::-;39592:33;39628:10;:22;39639:10;39628:22;;;;;;;;;;;;;;;39592:58;;39765:1;39742:12;:19;;;;:24;;39734:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39826:12;:19;;;;39813:10;:32;39805:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39917:20;;:::i;:::-;39949:54;39960:12;39973:10;39960:24;;;;;;;;;;;;;;;39986:12;40000:2;39949:10;:54::i;:::-;40069:23;40090:1;40069:20;:23::i;:::-;40104:18;40125:1;40104:22;;40138:17;40178:1;40159:2;:15;;;:20;;40138:42;;40192:19;40223:14;40240:1;40223:18;;40253:17;40273:1;40253:21;;40286:15;40304:1;40286:19;;40317:21;40341:1;40317:25;;40375:2;:13;;;40358:1;:13;;;:30;40354:867;;40410:12;40406:430;;;40557:2;:14;;;40544:27;;40406:430;;;40614:19;40627:1;40630:2;40614:12;:19::i;:::-;40682:2;:13;;;40666:1;:13;;;:29;40653:42;;40732:2;:14;;;40719:10;:27;40715:105;;;40785:2;:14;;;40772:27;;40715:105;40406:430;40910:36;40928:1;40931:2;40935:10;40910:17;:36::i;:::-;40851:95;;;;;;;;;;;;;;;;;;;;40962:10;:19;;:30;40982:9;40962:30;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40962:30:0;40354:867;;;41149:2;:15;;;41122:1;:23;;:42;;;;;;;;;;;41194:2;:14;;;41180:28;;40354:867;41326:10;41237:328;;41261:12;41237:328;;;41290:12;:20;;41309:1;41290:20;;;41305:1;41290:20;41352:2;:13;;;41381:10;41408:2;:14;;;41439:2;:15;;;41471:9;41496:6;41519:7;41542:11;41237:328;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41598:1;41581:13;:18;;:35;;;;;41604:12;41603:13;41581:35;41577:207;;;41758:13;41734:1;:20;;:37;;;;;;;;;;;41577:207;41874:1;41859:11;:16;41855:188;;41893:30;41899:10;41911:11;41893:5;:30::i;:::-;41994:36;42011:1;42014:2;42018:11;41994:16;:36::i;:::-;41855:188;42076:2;:14;;;42054:1;:18;;:36;;;;;;;;;;;42102:38;42115:12;42129:10;42102:12;:38::i;:::-;42152:26;42165:1;42168:9;42152:12;:26::i;:::-;39384:2803;;;;;;;;;;;;;:::o;13004:210::-;13084:4;13101:83;13110:12;:10;:12::i;:::-;13124:7;13133:50;13172:10;13133:11;:25;13145:12;:10;:12::i;:::-;13133:25;;;;;;;;;;;;;;;:34;13159:7;13133:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;13101:8;:83::i;:::-;13202:4;13195:11;;13004:210;;;;:::o;27532:162::-;27612:7;27662;:23;;;;;;;;;;;;27646:39;;:13;:11;:13::i;:::-;:39;27639:46;;27532:162;:::o;15664:166::-;15747:6;15722:9;:21;15732:10;15722:21;;;;;;;;;;;;;;;;:31;;15714:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15797:25;15803:10;15815:6;15797:5;:25::i;:::-;15664:166;:::o;24279:79::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;59768:446::-;59869:40;;:::i;:::-;59929:11;59959:1;59943:13;:11;:13::i;:::-;:17;59929:31;;59972:210;59988:1;59979:5;;;;;;;:10;59972:210;;60055:14;:19;60070:3;60055:19;;;;;;;;;;;:31;60075:10;60055:31;;;;;;;;;;;;;;;:41;;;;;;;;;;;;60011:85;;:14;:19;60026:3;60011:19;;;;;;;;;;;:31;60031:10;60011:31;;;;;;;;;;;;;;;:41;;;;;;;;;;;;:85;;;60007:163;;;60149:3;60143;:9;60137:1;:16;;60118:5;60131:1;60124:3;:8;;60118:15;;;;;;;;;;:35;;;;;;;;;;;60007:163;59972:210;;;60200:5;60193:12;;;59768:446;;;:::o;36309:638::-;36412:21;;:::i;:::-;36445:29;;:::i;:::-;36486:26;36499:1;36502:9;36486:12;:26::i;:::-;20883:1;36579:13;:31;;36571:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36719:23;36740:1;36719:20;:23::i;:::-;36754:44;36766:1;36769:13;36784;36754:11;:44::i;:::-;36868:32;36874:10;36886:13;36868:5;:32::i;:::-;36912:26;36925:1;36928:9;36912:12;:26::i;:::-;36309:638;;;;:::o;27860:131::-;27935:7;27969:13;:11;:13::i;:::-;27962:20;;27860:131;:::o;37321:1792::-;37448:21;;:::i;:::-;37481:29;;:::i;:::-;37522:26;37535:1;37538:9;37522:12;:26::i;:::-;37673:1;37640:10;:22;37651:10;37640:22;;;;;;;;;;;;;;;:29;;;;:34;;37632:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37734:10;:22;37745:10;37734:22;;;;;;;;;;;;;;;:29;;;;37721:10;:42;37713:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37804:24;37831:10;:22;37842:10;37831:22;;;;;;;;;;;;;;;37854:10;37831:34;;;;;;;;;;;;;;;37804:61;;37908:20;;:::i;:::-;37940:35;37951:5;37958:12;37972:2;37940:10;:35::i;:::-;38077:2;:14;;;38061:2;:13;;;:30;38044:1;:13;;;:47;;38036:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38206:1;38187:2;:15;;;:20;38179:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38306:23;38327:1;38306:20;:23::i;:::-;38384:19;38397:1;38400:2;38384:12;:19::i;:::-;38481:14;38497:17;38516:15;38533:21;38558:94;38591:1;38608:2;38626;:14;;;38558:17;:94::i;:::-;38478:174;;;;;;;;;38758:10;38669:217;;38732:10;38669:217;;38704:12;38669:217;;;38784:2;:14;;;38814:2;:15;;;38845:6;38867:7;38669:217;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38919:1;38902:13;:18;38898:90;;38962:13;38938:1;:20;;:37;;;;;;;;;;;38898:90;39043:23;39056:5;39063:2;39043:12;:23::i;:::-;39078:26;39091:1;39094:9;39078:12;:26::i;:::-;37321:1792;;;;;;;;;;;:::o;25628:934::-;25739:37;25778:32;25812:30;25881:6;25870:8;:17;:53;;;;;25901:7;:22;;;;;;;;;;;;25891:32;;:6;:32;;25870:53;25862:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26005:8;25996:6;:17;25982:32;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;25982:32:0;;;;25959:55;;26067:8;26058:6;:17;26044:32;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;26044:32:0;;;;26026:50;;26127:8;26118:6;:17;26104:32;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;26104:32:0;;;;26088:48;;26148:11;26162:8;26148:22;;26182:11;26196:1;26182:15;;26209:272;26264:9;:14;26274:3;26264:14;;;;;;;;;;;:34;;;;;;;;;;;;26256:43;;26228:20;26249:3;26228:25;;;;;;;;;;;;;:71;;;;;26348:9;:14;26358:3;26348:14;;;;;;;;;;;:29;;;;;;;;;;;;26340:38;;26315:15;26331:5;;;;;;26315:22;;;;;;;;;;;;;:63;;;;;26417:9;:14;26427:3;26417:14;;;;;;;;;;;:27;;;26394:13;26408:5;;;;;;26394:20;;;;;;;;;;;;;:50;;;;;26473:6;26465:5;;;;;;:14;26209:272;;26500:20;26522:15;26539:13;26492:61;;;;;;;;25628:934;;;;;:::o;10847:110::-;10904:7;10931:9;:18;10941:7;10931:18;;;;;;;;;;;;;;;;10924:25;;10847:110;;;:::o;24229:42::-;;;;;;;;;;;;;;;;;:::o;24615:669::-;24696:21;;:::i;:::-;24729:29;;:::i;:::-;24770:26;24783:1;24786:9;24770:12;:26::i;:::-;20329:1;24854;:13;;;:37;24846:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24940:1;24927:9;:14;24923:315;;24980:1;:13;;;24967:9;:26;;24959:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25053:37;25070:1;25073:9;25084:5;25053:16;:37::i;:::-;24923:315;;;25184:41;25201:1;25204;:13;;;25219:5;25184:16;:41::i;:::-;24923:315;25249:26;25262:1;25265:9;25249:12;:26::i;:::-;24615:669;;;:::o;23188:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;19870:38::-;;;;;;;;;;;;;;;;;;;:::o;13716:261::-;13801:4;13818:129;13827:12;:10;:12::i;:::-;13841:7;13850:96;13889:15;13850:96;;;;;;;;;;;;;;;;;:11;:25;13862:12;:10;:12::i;:::-;13850:25;;;;;;;;;;;;;;;:34;13876:7;13850:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;13818:8;:129::i;:::-;13965:4;13958:11;;13716:261;;;;:::o;11169:158::-;11238:4;11255:42;11265:12;:10;:12::i;:::-;11279:9;11290:6;11255:9;:42::i;:::-;11315:4;11308:11;;11169:158;;;;:::o;22989:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;55254:1954::-;55364:13;:11;:13::i;:::-;55353:8;:24;55345:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55421:30;55454:14;:24;55469:8;55454:24;;;;;;;;;;;:36;55479:10;55454:36;;;;;;;;;;;;;;;55421:69;;55502:17;55522:4;:14;;;;;;;;;;;;55502:34;;;;55548:16;55589:1;55580:5;:10;55576:284;;55642:9;55625:4;:14;;;;;;;;;;;;:26;;;55616:5;:35;;55608:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55714:5;55702:9;:17;55691:28;;55576:284;;;55765:4;:14;;;;;;;;;;;;55754:25;;;;55815:8;55803:9;:20;55795:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55576:284;55871:17;55891:20;55902:8;55891:10;:20::i;:::-;55871:40;;55923:16;55942:7;:17;55950:8;55942:17;;;;;;;;;;;;55923:36;;55971:21;55995:1;55971:25;;56008:1050;56027:17;56047:4;:12;;:23;56060:9;56047:23;;;;;;;;;;;:33;;;;;;;;;;;;56027:53;;;;56096:20;56119:4;:12;;:23;56132:9;56119:23;;;;;;;;;;;:36;;;;;;;;;;;;56096:59;;56178:4;:12;;:23;56191:9;56178:23;;;;;;;;;;;;56171:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56217:16;56260:8;56248:9;56236;:21;:32;;;;;;56217:51;;56312:1;56288:26;;:12;:26;;;:56;;;;56334:10;56318:26;;:12;:26;;;56288:56;56284:689;;;56419:61;56436:8;56446:9;56457:8;56467:12;56419:16;:61::i;:::-;56284:689;;;56590:25;56629:2;56618:8;:13;;;;;;56590:41;;56663:17;56651:29;;;;56776:25;56815:2;56804:8;:13;;;;;;56776:41;;56837:61;56854:8;56864:9;56875:8;56885:12;56837:16;:61::i;:::-;56918:38;56924:12;56938:17;56918:5;:38::i;:::-;56284:689;;;57005:8;56988:25;;;;56008:1050;;;57048:8;57034:11;;;;;;:22;56008:1050;;57093:9;57069:4;:14;;;:34;;;;;;;;;;;;;;;;;;57136:1;57119:13;:18;57115:85;;57155:32;57161:10;57173:13;57155:5;:32::i;:::-;57115:85;55254:1954;;;;;;;;:::o;54290:718::-;54406:1;54390:13;:11;:13::i;:::-;:17;54382:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54455:16;54474:13;:11;:13::i;:::-;54455:32;;54499:17;54519:9;54499:29;;54561:1;54548:9;:14;;54540:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54600:30;54633:14;:24;54648:8;54633:24;;;;;;;;;;;:36;54658:10;54633:36;;;;;;;;;;;;;;;54600:69;;54681:18;54702:4;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54681:37;;;;54757:50;;;;;;;;54782:9;54757:50;;;;;;54794:12;54757:50;;;;;54730:4;:12;;:24;54743:10;54730:24;;;;;;;;;;;:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54840:9;54819:7;:17;54827:8;54819:17;;;;;;;;;;;;:30;;;;;;;;;;;54978:9;54951:10;54866:133;54894:15;54926:8;54866:133;;;;;;;;;;;;;;;;;;;;;;;;54290:718;;;;;:::o;11389:134::-;11461:7;11488:11;:18;11500:5;11488:18;;;;;;;;;;;;;;;:27;11507:7;11488:27;;;;;;;;;;;;;;;;11481:34;;11389:134;;;;:::o;58200:503::-;58256:21;;:::i;:::-;58289:29;;:::i;:::-;58330:26;58343:1;58346:9;58330:12;:26::i;:::-;58412:1;58395:4;58387:21;;;:26;;58379:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58471:13;:11;:13::i;:::-;58452:16;;;;;;;;;;;:32;;;58444:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58518:23;58539:1;58518:20;:23::i;:::-;19677:42;58553:19;;:73;58622:3;58617:1;58574:9;:27;58584:16;;;;;;;;;;;58574:27;;;;;;;;;;;;;:40;;;:44;58573:52;;;;;;58553:73;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;58553:73:0;58638:16;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58668:26;58681:1;58684:9;58668:12;:26::i;:::-;58200:503;;:::o;26797:511::-;26872:18;;:::i;:::-;26910:389;;;;;;;;26933:7;:23;;;;;;;;;;;;26910:389;;;;;;26972:7;:28;;;;;;;;;;;;26910:389;;;;;;27016:7;:17;;;;;;;;;;;;26910:389;;;;;;27049:7;:25;;;;;;;;;;;;26910:389;;;;;;27090:7;:22;;;;;;;;;;;;26910:389;;;;;;27128:7;:24;;;;;;;;;;;;26910:389;;;;;;27168:7;:21;;;;;;;;;;;;26910:389;;;;;;27205:15;26910:389;;;;27236:13;:11;:13::i;:::-;26910:389;;;;27265:7;:22;27273:13;:11;:13::i;:::-;27265:22;;;;;;;;;;;;26910:389;;;;;26797:511;:::o;57497:512::-;57606:21;57681:6;57670:8;:17;:44;;;;;57701:13;:11;:13::i;:::-;57691:6;:23;;57670:44;57647:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57805:8;57796:6;:17;57782:32;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;57782:32:0;;;;57775:39;;57826:11;57840:8;57826:22;;57860:11;57874:1;57860:15;;57887:91;57928:7;:14;57936:5;;;;;;57928:14;;;;;;;;;;;;57906:4;57911:5;;;;;;57906:11;;;;;;;;;;;;;:37;;;;;57970:6;57964:3;:12;57887:91;;57996:4;57989:11;;;;57497:512;;;;:::o;485:98::-;530:15;565:10;558:17;;485:98;:::o;16951:338::-;17062:1;17045:19;;:5;:19;;;;17037:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17143:1;17124:21;;:7;:21;;;;17116:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17227:6;17197:11;:18;17209:5;17197:18;;;;;;;;;;;;;;;:27;17216:7;17197:27;;;;;;;;;;;;;;;:36;;;;17265:7;17249:32;;17258:5;17249:32;;;17274:6;17249:32;;;;;;;;;;;;;;;;;;16951:338;;;:::o;14467:471::-;14583:1;14565:20;;:6;:20;;;;14557:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14667:1;14646:23;;:9;:23;;;;14638:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14742;14764:6;14742:71;;;;;;;;;;;;;;;;;:9;:17;14752:6;14742:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;14722:9;:17;14732:6;14722:17;;;;;;;;;;;;;;;:91;;;;14847:32;14872:6;14847:9;:20;14857:9;14847:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;14824:9;:20;14834:9;14824:20;;;;;;;;;;;;;;;:55;;;;14912:9;14895:35;;14904:6;14895:35;;;14923:6;14895:35;;;;;;;;;;;;;;;;;;14467:471;;;:::o;5377:192::-;5463:7;5496:1;5491;:6;;5499:12;5483:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;5483:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5523:9;5539:1;5535;:5;5523:17;;5560:1;5553:8;;;5377:192;;;;;:::o;28415:603::-;28564:7;:23;;;;;;;;;;;;28543:44;;:1;:18;;:44;;;;;28625:7;:28;;;;;;;;;;;;28599:54;;:1;:23;;:54;;;;;28680:7;:17;;;;;;;;;;;;28665:32;;:1;:12;;:32;;;;;28732:7;:25;;;;;;;;;;;;28709:48;;:1;:20;;:48;;;;;28789:7;:22;;;;;;;;;;;;28769:42;;:1;:17;;:42;;;;;28845:7;:24;;;;;;;;;;;;28823:46;;:1;:19;;:46;;;;;28900:7;:21;;;;;;;;;;;;28881:1;:16;;:40;;;;;;;;;;;28949:13;:11;:13::i;:::-;28933:1;:13;;:29;;;;;28974:35;28996:1;28999:9;28974:21;:35::i;:::-;28415:603;;:::o;30644:549::-;30869:5;:13;;;;;;;;;;;;30853:29;;:12;:29;;;30845:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30944:5;:13;;;;;;;;;;;;30930:2;:11;;:27;;;;;;;;;;;30986:5;:16;;;;;;;;;;;;30969:33;;:2;:14;;:33;;;;;31032:5;:17;;;;;;;;;;;;31014:35;;:2;:15;;:35;;;;;31077:5;:15;;;;;;;;;;;;31061:31;;:2;:13;;:31;;;;;31121:5;:16;;;;;;;;;;;;31104:33;;:2;:14;;:33;;;;;31167:5;:17;;;;;;;;;;;;31149:35;;:2;:15;;:35;;;;;30644:549;;;:::o;28269:139::-;28359:40;28376:1;28379;:13;;;28394:4;28359:16;:40::i;:::-;28269:139;:::o;47683:208::-;47824:2;:15;;;47801:1;:19;;:38;;;;;;;;;;;47869:1;:13;;;47851:2;:15;;:31;;;;;47683:208;;:::o;47898:1920::-;48042:19;48063:14;48079:17;48098:15;48115:21;48173:2;:14;;;48160:10;:27;48156:1161;;;48225:195;48271:1;48292:2;:13;;;48325:2;:14;;;48359:10;48389:2;:15;;;48225:26;:195::i;:::-;48205:215;;;;;;;;48467:6;48450:2;:14;;;:23;48436:37;;48501:177;48547:1;48568:2;:15;;;48603:2;:13;;;48652:10;48636:2;:13;;;:26;48501;:177::i;:::-;48489:189;;48156:1161;;;48774:169;48812:1;48833:2;:15;;;48868:2;:13;;;48917:10;48901:2;:13;;;:26;48774:18;:169::i;:::-;48765:178;;48971:177;49017:1;49038:2;:15;;;49073:2;:13;;;49122:10;49106:2;:13;;;:26;48971;:177::i;:::-;48959:189;;49195:6;49178:2;:14;;;:23;49164:37;;49227:77;49244:2;:13;;;49259:2;:14;;;49275:2;:15;;;49292:11;49227:16;:77::i;:::-;49217:87;;48156:1161;49343:1;49332:7;:12;49328:407;;49376:11;49366:7;:21;49362:361;;;49485:11;49469:27;;49530:1;49516:15;;49362:361;;;49651:7;49635:23;;49693:13;49678:28;;;;49362:361;49328:407;49754:11;49767:6;49775:9;49786:7;49795:13;49746:63;;;;;;;;;;47898:1920;;;;;;;;;:::o;15219:308::-;15314:1;15295:21;;:7;:21;;;;15287:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15380:24;15397:6;15380:12;;:16;;:24;;;;:::i;:::-;15365:12;:39;;;;15436:30;15459:6;15436:9;:18;15446:7;15436:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;15415:9;:18;15425:7;15415:18;;;;;;;;;;;;;;;:51;;;;15503:7;15482:37;;15499:1;15482:37;;;15512:6;15482:37;;;;;;;;;;;;;;;;;;15219:308;;:::o;52740:1303::-;52886:2;:14;;;52872:11;:28;52868:1167;;;53178:17;53198:49;53219:11;53232:2;:14;;;53198:20;:49::i;:::-;53178:69;;53263:20;53333:2;:15;;;22032:3;53301:9;53287:11;:23;53286:44;:62;;;;;;53263:85;;22218:1;22135:2;22189:1;:25;;22188:31;53368:12;:29;53364:377;;;22218:1;22135:2;22189:1;:25;;22188:31;53695:29;;53364:377;53775:1;:12;;;53760;:27;53756:267;;;53824:12;53809:1;:12;;:27;;;;;53900:2;:11;;;53861:145;;;53935:15;53974:12;53861:145;;;;;;;;;;;;;;;;;;;;;;;;53756:267;52868:1167;;;52740:1303;;;:::o;32684:657::-;32798:17;32840:1;32818:12;:19;;;;:23;32798:43;;32954:9;32940:10;:23;32936:180;;33080:12;33093:9;33080:23;;;;;;;;;;;;;;;33053:12;33066:10;33053:24;;;;;;;;;;;;;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32936:180;33314:12;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32684:657;;;:::o;29577:1060::-;29716:9;:26;;;29694:1;:18;;;:48;;:124;;;;29787:9;:31;;;29760:1;:23;;;:58;;29694:124;:178;;;;29852:9;:20;;;29836:1;:12;;;:36;;29694:178;:248;;;;29914:9;:28;;;29890:1;:20;;;:52;;29694:248;29690:541;;;29993:1;:18;;;29960:7;:23;;;:52;;;;;;;;;;;;;;;;;;30066:1;:23;;;30028:7;:28;;;:62;;;;;;;;;;;;;;;;;;30133:1;:12;;;30106:7;:17;;;:40;;;;;;;;;;;;;;;;;;30197:1;:20;;;30162:7;:25;;;:56;;;;;;;;;;;;;;;;;;29690:541;30267:9;:25;;;30246:1;:17;;;:46;;:114;;;;30333:9;:27;;;30310:1;:19;;;:50;;30246:114;:176;;;;30398:9;:24;;;30378:44;;:1;:16;;;:44;;;;30246:176;30242:387;;;30472:1;:17;;;30440:7;:22;;;:50;;;;;;;;;;;;;;;;;;30540:1;:19;;;30506:7;:24;;;:54;;;;;;;;;;;;;;;;;;30600:1;:16;;;30576:7;:21;;;:40;;;;;;;;;;;;;;;;;;30242:387;29577:1060;;:::o;4448:181::-;4506:7;4526:9;4542:1;4538;:5;4526:17;;4567:1;4562;:6;;4554:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4620:1;4613:8;;;4448:181;;;;:::o;16163:348::-;16258:1;16239:21;;:7;:21;;;;16231:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16332:68;16355:6;16332:68;;;;;;;;;;;;;;;;;:9;:18;16342:7;16332:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;16311:9;:18;16321:7;16311:18;;;;;;;;;;;;;;;:89;;;;16426:24;16443:6;16426:12;;:16;;:24;;;;:::i;:::-;16411:12;:39;;;;16492:1;16466:37;;16475:7;16466:37;;;16496:6;16466:37;;;;;;;;;;;;;;;;;;16163:348;;:::o;27998:264::-;28074:7;20235:10;28105:15;:29;28101:153;;;28159:1;28152:8;;;;28101:153;28235:6;20235:10;28202:15;:29;28201:40;;;;;;28194:47;;27998:264;;:::o;42710:1770::-;20936:2;42930:13;:31;;42922:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43017:17;43037:50;43058:13;43073;43037:20;:50::i;:::-;43017:70;;43099:22;43173:1;:12;;;22032:3;43141:9;43125:13;:25;43124:46;:61;;;;;;43099:86;;43299:1;43281:14;:19;;43273:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43709:20;43748:1;43732;:13;;;:17;43709:40;;43790:17;43812:1;:16;;43810:18;;;;;;;;;;;;;43790:38;;43840:201;43865:10;:22;43876:10;43865:22;;;;;;;;;;;;;;;43903:10;43929:13;43958:14;43988:12;44016:13;43840:9;:201::i;:::-;44111:10;44058:165;;44084:10;44058:165;;;44137:13;44167:14;44198:13;44058:165;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44343:14;44316:1;:23;;:41;;;;;;;;;;;44458:13;44436:1;:18;;:35;;;;;;;;;;;42710:1770;;;;;;;:::o;31200:410::-;31323:2;:11;;;31307:5;:13;;;:27;;;;;;;;;;;;;;;;;;31372:2;:14;;;31346:5;:16;;;:41;;;;;;;;;;;;;;;;;;31426:2;:15;;;31399:5;:17;;;:43;;;;;;;;;;;;;;;;;;31479:2;:13;;;31454:5;:15;;;:39;;;;;;;;;;;;;;;;;;31531:2;:14;;;31505:5;:16;;;:41;;;;;;;;;;;;;;;;;;31585:2;:15;;;31558:5;:17;;;:43;;;;;;;;;;;;;;;;;;31200:410;;:::o;35093:985::-;35241:9;35220:1;:17;;;:30;35216:110;;35307:7;;35216:110;35337:25;;:::i;:::-;35414:1;:18;;;35398:13;:11;:13::i;:::-;:34;35374:2;:21;;:58;;;;;35444:11;35458:1;:17;;;35444:31;;35487:35;35511:1;35514:2;35518:3;35487:23;:35::i;:::-;35648:1;35621;:23;;;:28;35617:152;;35690:1;:23;;;35667:1;:19;;:46;;;;;;;;;;;35755:1;35729;:23;;:27;;;;;35617:152;35780:90;35795:9;35787:5;;;;;;:17;35780:90;;;35822:35;35846:1;35849:2;35853:3;35822:23;:35::i;:::-;35780:90;;;35917:10;35886:137;;;35943:15;35974:1;:17;;;36008:3;35886:137;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36066:3;36046:1;:17;;:23;;;;;35093:985;;;;;;:::o;60228:451::-;60303:17;60425:1;60414:8;:12;:31;;;;;60442:3;60430:8;:15;;60414:31;60410:233;;;60554:12;60549:1;60538:8;:12;60537:29;20433:19;60512:55;60500:67;;60410:233;;;20553:19;60600:31;;60410:233;60662:9;60655:16;;60228:451;;;:::o;60687:344::-;61000:12;60872:151;;60977:8;60952:10;60872:151;60898:15;60929:8;60872:151;;;;;;;;;;;;;;;;;;;;;;;;60687:344;;;;:::o;29025:545::-;29191:1;:18;;;29162:9;:26;;:47;;;;;29255:1;:23;;;29221:9;:31;;:57;;;;;29313:1;:12;;;29290:9;:20;;:35;;;;;29368:1;:20;;;29337:9;:28;;:51;;;;;29428:1;:17;;;29400:9;:25;;:45;;;;;29487:1;:19;;;29457:9;:27;;:49;;;;;29545:1;:16;;;29518:9;:24;;:43;;;;;;;;;;;29025:545;;:::o;49825:2235::-;50089:14;50105:15;50140:20;50180:10;50163:14;:27;50140:50;;50272:19;50318:1;50313;50295:15;:19;50294:25;;;;;;50272:47;;21008:2;50335:11;:36;50331:107;;;21008:2;50389:36;;50331:107;50467:1;50453:10;:15;50449:314;;;50558:16;50577:62;50603:1;50606:16;50624:14;50577:25;:62::i;:::-;50558:81;;50676:11;50665:8;:22;50655:32;;50711:6;50719:7;50703:24;;;;;;;;;50449:314;50792:10;50778:11;:24;50774:731;;;51164:21;51205:11;51188:14;:28;51164:52;;51242:70;51261:1;51264:16;51282:14;51298:13;51242:18;:70::i;:::-;51232:80;;51328:13;51344:68;51363:1;51366:16;51384:13;51399:12;51344:18;:68::i;:::-;51328:84;;51447:5;51437:7;:15;51428:24;;51476:6;51484:7;51468:24;;;;;;;;;;50774:731;51568:69;51587:1;51590:16;51608:14;51624:12;51568:18;:69::i;:::-;51559:78;;51668:10;51653:11;:25;51649:367;;;51706:6;51696:16;;51649:367;;;51993:10;51979:11;51970:6;:20;:33;;;;;;51960:43;;51649:367;52035:6;52043:7;52027:24;;;;;;49825:2235;;;;;;;;;:::o;46155:621::-;46374:14;46413:11;46427:8;46413:22;;46408:335;46443:6;46437:3;:12;46408:335;;;46474:17;46661:9;:14;46671:3;46661:14;;;;;;;;;;;:34;;;;;;;;;;;;46583:112;;46628:16;46621:3;46615:2;46585:9;:14;46595:3;46585:14;;;;;;;;;;;:27;;;:32;46584:40;;;;;;46583:61;:112;;;;;;46570:125;;;;46721:9;46711:19;;;;46408:335;46451:5;;;;;;;46408:335;;;;46761:6;46754:13;;46155:621;;;;;;:::o;44882:915::-;45093:14;45127:15;45159:11;45173:8;45159:22;;45154:610;45189:6;45183:3;:12;45154:610;;;45220:17;45334:9;:14;45344:3;45334:14;;;;;;;;;;;:34;;;;;;;;;;;;45265:103;;45297:16;45265:9;:14;45275:3;45265:14;;;;;;;;;;;:29;;;;;;;;;;;;:48;;;:103;;;;;;45253:115;;45398:1;45388:7;:11;45384:333;;;45421:9;;;;;;;45384:333;;;22302:1;45546:123;;45616:9;:14;45626:3;45616:14;;;;;;;;;;;:34;;;;;;;;;;;;45547:103;;45579:16;45547:9;:14;45557:3;45547:14;;;;;;;;;;;:29;;;;;;;;;;;;:48;;;:103;;;;;;45546:123;45534:135;;45699:1;45689:11;;45384:333;45742:9;45732:19;;;;45154:610;45197:5;;;;;;;45154:610;;;;45782:6;45775:13;;;44882:915;;;;;;:::o;52067:666::-;52292:7;52376:22;21158:1;21071;21131:28;52418:15;52401:14;:32;:58;52376:83;;52495:14;52475:16;:34;52471:77;;52534:1;52527:8;;;;;52471:77;21309:1;21220:3;21282:28;52683:14;52664:16;:33;52646:14;:52;:78;;;;;;52639:85;;;52067:666;;;;;;;:::o;46970:706::-;47098:17;47144:23;47170:1;47144:27;;47266:1;47250:13;:17;47246:134;;;21661:3;21512;21454:2;21554:9;:29;;;;;;21631:27;:33;;;;;;47303:13;:29;;:64;;21661:3;21512;21454:2;21554:9;:29;;;;;;21631:27;:33;;;;;;47303:64;;;47351:1;47335:13;:17;47303:64;47285:82;;47246:134;47391:24;19948:1;20059:17;;20053:2;:23;21766:7;21821:26;47418:13;:29;;:88;;19948:1;20059:17;;20053:2;:23;21766:7;21821:26;47418:88;;;47464:13;47418:88;47391:115;;21454:2;21554:9;:29;;;;;;47554:16;:22;21718:2;21901:3;19948:1;20059:17;;20053:2;:23;21766:7;21821:26;21886:18;:38;;;;;;47530:15;:21;:46;47518:58;;21718:2;21901:3;19948:1;20059:17;;20053:2;:23;21766:7;21821:26;21886:18;:38;;;;;;21454:2;21554:9;:29;;;;;;47629:9;47616;47600:13;:25;:39;;;;;;47588:51;;47658:9;47651:16;;;;46970:706;;;;:::o;4904:136::-;4962:7;4989:43;4993:1;4996;4989:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4982:50;;4904:136;;;;:::o;31617:588::-;31887:12;31920:264;;;;;;;;31950:10;31920:264;;;;;;31987:13;31920:264;;;;;;32028:14;31920:264;;;;;;32070:12;31920:264;;;;;;32110:13;31920:264;;;;;;32151:1;31920:264;;;;;31887:309;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;31887:309:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31617:588;;;;;;:::o;34721:365::-;34853:27;34869:1;34872:2;34876:3;34853:15;:27::i;:::-;34931:2;:15;;;34892:9;:14;34902:3;34892:14;;;;;;;;;;;:29;;;:55;;;;;;;;;;;;;;;;;;34989:7;:12;34997:3;34989:12;;;;;;;;;;;;34959:9;:14;34969:3;34959:14;;;;;;;;;;;:27;;:42;;;;35057:1;:19;;;35013:9;:14;35023:3;35013:14;;;;;;;;;;;:34;;;:64;;;;;;;;;;;;;;;;;;34721:365;;;:::o;33628:711::-;33778:14;33871:24;;:::i;:::-;33907:30;33929:1;33932:4;33907:21;:30::i;:::-;33949:25;;:::i;:::-;34026:1;:18;;;34010:13;:11;:13::i;:::-;:34;33986:2;:21;;:58;;;;;34056:30;34072:4;34078:2;34082:3;34056:15;:30::i;:::-;34209:16;34183:4;:22;;:42;;;;;;;;;;;34283:4;:22;;;34264:16;34246:2;:15;;;:34;:59;;;;;;34237:68;;34324:6;34317:13;;;;33628:711;;;;;:::o;34346:368::-;34546:8;34538:5;34514:2;:21;;;:29;:40;;;;;;34495:2;:15;;:60;;;;;34595:1;34571;:20;;;:25;34567:139;;34633:1;:20;;;34614:2;:15;;:39;;;;;;;;;;;34692:1;34669;:20;;:24;;;;;34567:139;34346:368;;;:::o;61038:234::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;61038:234:0;;;;:::o;:::-;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;61038:234:0;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://15b15fb6928768143d29c849842195f59d6c58b81754cc547f6ae35aeec04bef

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.