ETH Price: $3,489.43 (-0.05%)

Token

StormX (STMX)
 

Overview

Max Total Supply

10,000,000,000 STMX

Holders

40,687 ( -0.007%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.37937151313143865 STMX

Value
$0.00
0xa80a6b132759a1204b3a763031f643cf260c48da
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
StormXToken

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-05-11
*/

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

pragma solidity ^0.5.0;

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

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

pragma solidity ^0.5.0;


/**
 * @dev Optional functions from the ERC20 standard.
 */
contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}

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

pragma solidity ^0.5.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

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

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

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

pragma solidity ^0.5.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

pragma solidity ^0.5.0;




/**
 * @dev Implementation of the {IERC20} 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 {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

    /**
     * @dev See {IERC20-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 {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-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 {IERC20-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 {IERC20-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 {IERC20-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 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"));
    }
}

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

pragma solidity ^0.5.0;

/**
 * @dev Base interface for a contract that will be called via the GSN from {IRelayHub}.
 *
 * TIP: You don't need to write an implementation yourself! Inherit from {GSNRecipient} instead.
 */
interface IRelayRecipient {
    /**
     * @dev Returns the address of the {IRelayHub} instance this recipient interacts with.
     */
    function getHubAddr() external view returns (address);

    /**
     * @dev Called by {IRelayHub} to validate if this recipient accepts being charged for a relayed call. Note that the
     * recipient will be charged regardless of the execution result of the relayed call (i.e. if it reverts or not).
     *
     * The relay request was originated by `from` and will be served by `relay`. `encodedFunction` is the relayed call
     * calldata, so its first four bytes are the function selector. The relayed call will be forwarded `gasLimit` gas,
     * and the transaction executed with a gas price of at least `gasPrice`. `relay`'s fee is `transactionFee`, and the
     * recipient will be charged at most `maxPossibleCharge` (in wei). `nonce` is the sender's (`from`) nonce for
     * replay attack protection in {IRelayHub}, and `approvalData` is a optional parameter that can be used to hold a signature
     * over all or some of the previous values.
     *
     * Returns a tuple, where the first value is used to indicate approval (0) or rejection (custom non-zero error code,
     * values 1 to 10 are reserved) and the second one is data to be passed to the other {IRelayRecipient} functions.
     *
     * {acceptRelayedCall} is called with 50k gas: if it runs out during execution, the request will be considered
     * rejected. A regular revert will also trigger a rejection.
     */
    function acceptRelayedCall(
        address relay,
        address from,
        bytes calldata encodedFunction,
        uint256 transactionFee,
        uint256 gasPrice,
        uint256 gasLimit,
        uint256 nonce,
        bytes calldata approvalData,
        uint256 maxPossibleCharge
    )
        external
        view
        returns (uint256, bytes memory);

    /**
     * @dev Called by {IRelayHub} on approved relay call requests, before the relayed call is executed. This allows to e.g.
     * pre-charge the sender of the transaction.
     *
     * `context` is the second value returned in the tuple by {acceptRelayedCall}.
     *
     * Returns a value to be passed to {postRelayedCall}.
     *
     * {preRelayedCall} is called with 100k gas: if it runs out during exection or otherwise reverts, the relayed call
     * will not be executed, but the recipient will still be charged for the transaction's cost.
     */
    function preRelayedCall(bytes calldata context) external returns (bytes32);

    /**
     * @dev Called by {IRelayHub} on approved relay call requests, after the relayed call is executed. This allows to e.g.
     * charge the user for the relayed call costs, return any overcharges from {preRelayedCall}, or perform
     * contract-specific bookkeeping.
     *
     * `context` is the second value returned in the tuple by {acceptRelayedCall}. `success` is the execution status of
     * the relayed call. `actualCharge` is an estimate of how much the recipient will be charged for the transaction,
     * not including any gas used by {postRelayedCall} itself. `preRetVal` is {preRelayedCall}'s return value.
     *
     *
     * {postRelayedCall} is called with 100k gas: if it runs out during execution or otherwise reverts, the relayed call
     * and the call to {preRelayedCall} will be reverted retroactively, but the recipient will still be charged for the
     * transaction's cost.
     */
    function postRelayedCall(bytes calldata context, bool success, uint256 actualCharge, bytes32 preRetVal) external;
}

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

pragma solidity ^0.5.0;

/**
 * @dev Interface for `RelayHub`, the core contract of the GSN. Users should not need to interact with this contract
 * directly.
 *
 * See the https://github.com/OpenZeppelin/openzeppelin-gsn-helpers[OpenZeppelin GSN helpers] for more information on
 * how to deploy an instance of `RelayHub` on your local test network.
 */
interface IRelayHub {
    // Relay management

    /**
     * @dev Adds stake to a relay and sets its `unstakeDelay`. If the relay does not exist, it is created, and the caller
     * of this function becomes its owner. If the relay already exists, only the owner can call this function. A relay
     * cannot be its own owner.
     *
     * All Ether in this function call will be added to the relay's stake.
     * Its unstake delay will be assigned to `unstakeDelay`, but the new value must be greater or equal to the current one.
     *
     * Emits a {Staked} event.
     */
    function stake(address relayaddr, uint256 unstakeDelay) external payable;

    /**
     * @dev Emitted when a relay's stake or unstakeDelay are increased
     */
    event Staked(address indexed relay, uint256 stake, uint256 unstakeDelay);

    /**
     * @dev Registers the caller as a relay.
     * The relay must be staked for, and not be a contract (i.e. this function must be called directly from an EOA).
     *
     * This function can be called multiple times, emitting new {RelayAdded} events. Note that the received
     * `transactionFee` is not enforced by {relayCall}.
     *
     * Emits a {RelayAdded} event.
     */
    function registerRelay(uint256 transactionFee, string calldata url) external;

    /**
     * @dev Emitted when a relay is registered or re-registerd. Looking at these events (and filtering out
     * {RelayRemoved} events) lets a client discover the list of available relays.
     */
    event RelayAdded(address indexed relay, address indexed owner, uint256 transactionFee, uint256 stake, uint256 unstakeDelay, string url);

    /**
     * @dev Removes (deregisters) a relay. Unregistered (but staked for) relays can also be removed.
     *
     * Can only be called by the owner of the relay. After the relay's `unstakeDelay` has elapsed, {unstake} will be
     * callable.
     *
     * Emits a {RelayRemoved} event.
     */
    function removeRelayByOwner(address relay) external;

    /**
     * @dev Emitted when a relay is removed (deregistered). `unstakeTime` is the time when unstake will be callable.
     */
    event RelayRemoved(address indexed relay, uint256 unstakeTime);

    /** Deletes the relay from the system, and gives back its stake to the owner.
     *
     * Can only be called by the relay owner, after `unstakeDelay` has elapsed since {removeRelayByOwner} was called.
     *
     * Emits an {Unstaked} event.
     */
    function unstake(address relay) external;

    /**
     * @dev Emitted when a relay is unstaked for, including the returned stake.
     */
    event Unstaked(address indexed relay, uint256 stake);

    // States a relay can be in
    enum RelayState {
        Unknown, // The relay is unknown to the system: it has never been staked for
        Staked, // The relay has been staked for, but it is not yet active
        Registered, // The relay has registered itself, and is active (can relay calls)
        Removed    // The relay has been removed by its owner and can no longer relay calls. It must wait for its unstakeDelay to elapse before it can unstake
    }

    /**
     * @dev Returns a relay's status. Note that relays can be deleted when unstaked or penalized, causing this function
     * to return an empty entry.
     */
    function getRelay(address relay) external view returns (uint256 totalStake, uint256 unstakeDelay, uint256 unstakeTime, address payable owner, RelayState state);

    // Balance management

    /**
     * @dev Deposits Ether for a contract, so that it can receive (and pay for) relayed transactions.
     *
     * Unused balance can only be withdrawn by the contract itself, by calling {withdraw}.
     *
     * Emits a {Deposited} event.
     */
    function depositFor(address target) external payable;

    /**
     * @dev Emitted when {depositFor} is called, including the amount and account that was funded.
     */
    event Deposited(address indexed recipient, address indexed from, uint256 amount);

    /**
     * @dev Returns an account's deposits. These can be either a contracts's funds, or a relay owner's revenue.
     */
    function balanceOf(address target) external view returns (uint256);

    /**
     * Withdraws from an account's balance, sending it back to it. Relay owners call this to retrieve their revenue, and
     * contracts can use it to reduce their funding.
     *
     * Emits a {Withdrawn} event.
     */
    function withdraw(uint256 amount, address payable dest) external;

    /**
     * @dev Emitted when an account withdraws funds from `RelayHub`.
     */
    event Withdrawn(address indexed account, address indexed dest, uint256 amount);

    // Relaying

    /**
     * @dev Checks if the `RelayHub` will accept a relayed operation.
     * Multiple things must be true for this to happen:
     *  - all arguments must be signed for by the sender (`from`)
     *  - the sender's nonce must be the current one
     *  - the recipient must accept this transaction (via {acceptRelayedCall})
     *
     * Returns a `PreconditionCheck` value (`OK` when the transaction can be relayed), or a recipient-specific error
     * code if it returns one in {acceptRelayedCall}.
     */
    function canRelay(
        address relay,
        address from,
        address to,
        bytes calldata encodedFunction,
        uint256 transactionFee,
        uint256 gasPrice,
        uint256 gasLimit,
        uint256 nonce,
        bytes calldata signature,
        bytes calldata approvalData
    ) external view returns (uint256 status, bytes memory recipientContext);

    // Preconditions for relaying, checked by canRelay and returned as the corresponding numeric values.
    enum PreconditionCheck {
        OK,                         // All checks passed, the call can be relayed
        WrongSignature,             // The transaction to relay is not signed by requested sender
        WrongNonce,                 // The provided nonce has already been used by the sender
        AcceptRelayedCallReverted,  // The recipient rejected this call via acceptRelayedCall
        InvalidRecipientStatusCode  // The recipient returned an invalid (reserved) status code
    }

    /**
     * @dev Relays a transaction.
     *
     * For this to succeed, multiple conditions must be met:
     *  - {canRelay} must `return PreconditionCheck.OK`
     *  - the sender must be a registered relay
     *  - the transaction's gas price must be larger or equal to the one that was requested by the sender
     *  - the transaction must have enough gas to not run out of gas if all internal transactions (calls to the
     * recipient) use all gas available to them
     *  - the recipient must have enough balance to pay the relay for the worst-case scenario (i.e. when all gas is
     * spent)
     *
     * If all conditions are met, the call will be relayed and the recipient charged. {preRelayedCall}, the encoded
     * function and {postRelayedCall} will be called in that order.
     *
     * Parameters:
     *  - `from`: the client originating the request
     *  - `to`: the target {IRelayRecipient} contract
     *  - `encodedFunction`: the function call to relay, including data
     *  - `transactionFee`: fee (%) the relay takes over actual gas cost
     *  - `gasPrice`: gas price the client is willing to pay
     *  - `gasLimit`: gas to forward when calling the encoded function
     *  - `nonce`: client's nonce
     *  - `signature`: client's signature over all previous params, plus the relay and RelayHub addresses
     *  - `approvalData`: dapp-specific data forwared to {acceptRelayedCall}. This value is *not* verified by the
     * `RelayHub`, but it still can be used for e.g. a signature.
     *
     * Emits a {TransactionRelayed} event.
     */
    function relayCall(
        address from,
        address to,
        bytes calldata encodedFunction,
        uint256 transactionFee,
        uint256 gasPrice,
        uint256 gasLimit,
        uint256 nonce,
        bytes calldata signature,
        bytes calldata approvalData
    ) external;

    /**
     * @dev Emitted when an attempt to relay a call failed.
     *
     * This can happen due to incorrect {relayCall} arguments, or the recipient not accepting the relayed call. The
     * actual relayed call was not executed, and the recipient not charged.
     *
     * The `reason` parameter contains an error code: values 1-10 correspond to `PreconditionCheck` entries, and values
     * over 10 are custom recipient error codes returned from {acceptRelayedCall}.
     */
    event CanRelayFailed(address indexed relay, address indexed from, address indexed to, bytes4 selector, uint256 reason);

    /**
     * @dev Emitted when a transaction is relayed. 
     * Useful when monitoring a relay's operation and relayed calls to a contract
     *
     * Note that the actual encoded function might be reverted: this is indicated in the `status` parameter.
     *
     * `charge` is the Ether value deducted from the recipient's balance, paid to the relay's owner.
     */
    event TransactionRelayed(address indexed relay, address indexed from, address indexed to, bytes4 selector, RelayCallStatus status, uint256 charge);

    // Reason error codes for the TransactionRelayed event
    enum RelayCallStatus {
        OK,                      // The transaction was successfully relayed and execution successful - never included in the event
        RelayedCallFailed,       // The transaction was relayed, but the relayed call failed
        PreRelayedFailed,        // The transaction was not relayed due to preRelatedCall reverting
        PostRelayedFailed,       // The transaction was relayed and reverted due to postRelatedCall reverting
        RecipientBalanceChanged  // The transaction was relayed and reverted due to the recipient's balance changing
    }

    /**
     * @dev Returns how much gas should be forwarded to a call to {relayCall}, in order to relay a transaction that will
     * spend up to `relayedCallStipend` gas.
     */
    function requiredGas(uint256 relayedCallStipend) external view returns (uint256);

    /**
     * @dev Returns the maximum recipient charge, given the amount of gas forwarded, gas price and relay fee.
     */
    function maxPossibleCharge(uint256 relayedCallStipend, uint256 gasPrice, uint256 transactionFee) external view returns (uint256);

     // Relay penalization. 
     // Any account can penalize relays, removing them from the system immediately, and rewarding the
    // reporter with half of the relay's stake. The other half is burned so that, even if the relay penalizes itself, it
    // still loses half of its stake.

    /**
     * @dev Penalize a relay that signed two transactions using the same nonce (making only the first one valid) and
     * different data (gas price, gas limit, etc. may be different).
     *
     * The (unsigned) transaction data and signature for both transactions must be provided.
     */
    function penalizeRepeatedNonce(bytes calldata unsignedTx1, bytes calldata signature1, bytes calldata unsignedTx2, bytes calldata signature2) external;

    /**
     * @dev Penalize a relay that sent a transaction that didn't target `RelayHub`'s {registerRelay} or {relayCall}.
     */
    function penalizeIllegalTransaction(bytes calldata unsignedTx, bytes calldata signature) external;

    /**
     * @dev Emitted when a relay is penalized.
     */
    event Penalized(address indexed relay, address sender, uint256 amount);

    /**
     * @dev Returns an account's nonce in `RelayHub`.
     */
    function getNonce(address from) external view returns (uint256);
}

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

pragma solidity ^0.5.0;




/**
 * @dev Base GSN recipient contract: includes the {IRelayRecipient} interface
 * and enables GSN support on all contracts in the inheritance tree.
 *
 * TIP: This contract is abstract. The functions {IRelayRecipient-acceptRelayedCall},
 *  {_preRelayedCall}, and {_postRelayedCall} are not implemented and must be
 * provided by derived contracts. See the
 * xref:ROOT:gsn-strategies.adoc#gsn-strategies[GSN strategies] for more
 * information on how to use the pre-built {GSNRecipientSignature} and
 * {GSNRecipientERC20Fee}, or how to write your own.
 */
contract GSNRecipient is IRelayRecipient, Context {
    // Default RelayHub address, deployed on mainnet and all testnets at the same address
    address private _relayHub = 0xD216153c06E857cD7f72665E0aF1d7D82172F494;

    uint256 constant private RELAYED_CALL_ACCEPTED = 0;
    uint256 constant private RELAYED_CALL_REJECTED = 11;

    // How much gas is forwarded to postRelayedCall
    uint256 constant internal POST_RELAYED_CALL_MAX_GAS = 100000;

    /**
     * @dev Emitted when a contract changes its {IRelayHub} contract to a new one.
     */
    event RelayHubChanged(address indexed oldRelayHub, address indexed newRelayHub);

    /**
     * @dev Returns the address of the {IRelayHub} contract for this recipient.
     */
    function getHubAddr() public view returns (address) {
        return _relayHub;
    }

    /**
     * @dev Switches to a new {IRelayHub} instance. This method is added for future-proofing: there's no reason to not
     * use the default instance.
     *
     * IMPORTANT: After upgrading, the {GSNRecipient} will no longer be able to receive relayed calls from the old
     * {IRelayHub} instance. Additionally, all funds should be previously withdrawn via {_withdrawDeposits}.
     */
    function _upgradeRelayHub(address newRelayHub) internal {
        address currentRelayHub = _relayHub;
        require(newRelayHub != address(0), "GSNRecipient: new RelayHub is the zero address");
        require(newRelayHub != currentRelayHub, "GSNRecipient: new RelayHub is the current one");

        emit RelayHubChanged(currentRelayHub, newRelayHub);

        _relayHub = newRelayHub;
    }

    /**
     * @dev Returns the version string of the {IRelayHub} for which this recipient implementation was built. If
     * {_upgradeRelayHub} is used, the new {IRelayHub} instance should be compatible with this version.
     */
    // This function is view for future-proofing, it may require reading from
    // storage in the future.
    function relayHubVersion() public view returns (string memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return "1.0.0";
    }

    /**
     * @dev Withdraws the recipient's deposits in `RelayHub`.
     *
     * Derived contracts should expose this in an external interface with proper access control.
     */
    function _withdrawDeposits(uint256 amount, address payable payee) internal {
        IRelayHub(_relayHub).withdraw(amount, payee);
    }

    // Overrides for Context's functions: when called from RelayHub, sender and
    // data require some pre-processing: the actual sender is stored at the end
    // of the call data, which in turns means it needs to be removed from it
    // when handling said data.

    /**
     * @dev Replacement for msg.sender. Returns the actual sender of a transaction: msg.sender for regular transactions,
     * and the end-user for GSN relayed calls (where msg.sender is actually `RelayHub`).
     *
     * IMPORTANT: Contracts derived from {GSNRecipient} should never use `msg.sender`, and use {_msgSender} instead.
     */
    function _msgSender() internal view returns (address payable) {
        if (msg.sender != _relayHub) {
            return msg.sender;
        } else {
            return _getRelayedCallSender();
        }
    }

    /**
     * @dev Replacement for msg.data. Returns the actual calldata of a transaction: msg.data for regular transactions,
     * and a reduced version for GSN relayed calls (where msg.data contains additional information).
     *
     * IMPORTANT: Contracts derived from {GSNRecipient} should never use `msg.data`, and use {_msgData} instead.
     */
    function _msgData() internal view returns (bytes memory) {
        if (msg.sender != _relayHub) {
            return msg.data;
        } else {
            return _getRelayedCallData();
        }
    }

    // Base implementations for pre and post relayedCall: only RelayHub can invoke them, and data is forwarded to the
    // internal hook.

    /**
     * @dev See `IRelayRecipient.preRelayedCall`.
     *
     * This function should not be overriden directly, use `_preRelayedCall` instead.
     *
     * * Requirements:
     *
     * - the caller must be the `RelayHub` contract.
     */
    function preRelayedCall(bytes calldata context) external returns (bytes32) {
        require(msg.sender == getHubAddr(), "GSNRecipient: caller is not RelayHub");
        return _preRelayedCall(context);
    }

    /**
     * @dev See `IRelayRecipient.preRelayedCall`.
     *
     * Called by `GSNRecipient.preRelayedCall`, which asserts the caller is the `RelayHub` contract. Derived contracts
     * must implement this function with any relayed-call preprocessing they may wish to do.
     *
     */
    function _preRelayedCall(bytes memory context) internal returns (bytes32);

    /**
     * @dev See `IRelayRecipient.postRelayedCall`.
     *
     * This function should not be overriden directly, use `_postRelayedCall` instead.
     *
     * * Requirements:
     *
     * - the caller must be the `RelayHub` contract.
     */
    function postRelayedCall(bytes calldata context, bool success, uint256 actualCharge, bytes32 preRetVal) external {
        require(msg.sender == getHubAddr(), "GSNRecipient: caller is not RelayHub");
        _postRelayedCall(context, success, actualCharge, preRetVal);
    }

    /**
     * @dev See `IRelayRecipient.postRelayedCall`.
     *
     * Called by `GSNRecipient.postRelayedCall`, which asserts the caller is the `RelayHub` contract. Derived contracts
     * must implement this function with any relayed-call postprocessing they may wish to do.
     *
     */
    function _postRelayedCall(bytes memory context, bool success, uint256 actualCharge, bytes32 preRetVal) internal;

    /**
     * @dev Return this in acceptRelayedCall to proceed with the execution of a relayed call. Note that this contract
     * will be charged a fee by RelayHub
     */
    function _approveRelayedCall() internal pure returns (uint256, bytes memory) {
        return _approveRelayedCall("");
    }

    /**
     * @dev See `GSNRecipient._approveRelayedCall`.
     *
     * This overload forwards `context` to _preRelayedCall and _postRelayedCall.
     */
    function _approveRelayedCall(bytes memory context) internal pure returns (uint256, bytes memory) {
        return (RELAYED_CALL_ACCEPTED, context);
    }

    /**
     * @dev Return this in acceptRelayedCall to impede execution of a relayed call. No fees will be charged.
     */
    function _rejectRelayedCall(uint256 errorCode) internal pure returns (uint256, bytes memory) {
        return (RELAYED_CALL_REJECTED + errorCode, "");
    }

    /*
     * @dev Calculates how much RelayHub will charge a recipient for using `gas` at a `gasPrice`, given a relayer's
     * `serviceFee`.
     */
    function _computeCharge(uint256 gas, uint256 gasPrice, uint256 serviceFee) internal pure returns (uint256) {
        // The fee is expressed as a percentage. E.g. a value of 40 stands for a 40% fee, so the recipient will be
        // charged for 1.4 times the spent amount.
        return (gas * gasPrice * (100 + serviceFee)) / 100;
    }

    function _getRelayedCallSender() private pure returns (address payable result) {
        // We need to read 20 bytes (an address) located at array index msg.data.length - 20. In memory, the array
        // is prefixed with a 32-byte length value, so we first add 32 to get the memory read index. However, doing
        // so would leave the address in the upper 20 bytes of the 32-byte word, which is inconvenient and would
        // require bit shifting. We therefore subtract 12 from the read index so the address lands on the lower 20
        // bytes. This can always be done due to the 32-byte prefix.

        // The final memory read index is msg.data.length - 20 + 32 - 12 = msg.data.length. Using inline assembly is the
        // easiest/most-efficient way to perform this operation.

        // These fields are not accessible from assembly
        bytes memory array = msg.data;
        uint256 index = msg.data.length;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
            result := and(mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff)
        }
        return result;
    }

    function _getRelayedCallData() private pure returns (bytes memory) {
        // RelayHub appends the sender address at the end of the calldata, so in order to retrieve the actual msg.data,
        // we must strip the last 20 bytes (length of an address type) from it.

        uint256 actualDataLength = msg.data.length - 20;
        bytes memory actualData = new bytes(actualDataLength);

        for (uint256 i = 0; i < actualDataLength; ++i) {
            actualData[i] = msg.data[i];
        }

        return actualData;
    }
}

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

pragma solidity ^0.5.0;

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

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

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

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

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

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

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

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

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

// File: interface/IStormXToken.sol

pragma solidity 0.5.16;


contract IStormXToken is ERC20 {
  function unlockedBalanceOf(address account) public view returns (uint256);
}

// File: contracts/StormXGSNRecipient.sol

pragma solidity 0.5.16;






contract StormXGSNRecipient is GSNRecipient, Ownable {

  using SafeMath for uint256;

  // Variables and constants for supporting GSN
  uint256 constant INSUFFICIENT_BALANCE = 11;
  uint256 public chargeFee;
  address public stormXReserve;

  // importing ``StormXToken.sol`` results in infinite loop
  // using only an interface
  IStormXToken public token;
  
  event StormXReserveSet(address newAddress);
  event ChargeFeeSet(uint256 newFee);

  /**
   * @param tokenAddress address of `StormXToken.sol`
   * @param reserve address that receives GSN charge fee
   */
  constructor(address tokenAddress, address reserve) public {
    require(tokenAddress != address(0), "Invalid token address");
    require(reserve != address(0), "Invalid reserve address");

    token = IStormXToken(tokenAddress);
    stormXReserve = reserve;
    // decimals of StormXToken is 18
    chargeFee = 10 * (10 ** 18);
  }

  /**
   * Note: the documentation is copied from
   * `openzeppelin-contracts/contracts/GSN/IRelayRecipient.sol`
   * @dev Called by {IRelayHub} to validate
   * if this recipient accepts being charged for a relayed call.
   * Note that the recipient will be charged regardless of the execution result of the relayed call
   * (i.e. if it reverts or not).
   *
   * The relay request was originated by `from` and will be served by `relay`.
   * `encodedFunction` is the relayed call calldata,
   * so its first four bytes are the function selector.
   * The relayed call will be forwarded `gasLimit` gas,
   * and the transaction executed with a gas price of at least `gasPrice`.
   * `relay`'s fee is `transactionFee`,
   * and the recipient will be charged at most `maxPossibleCharge` (in wei).
   * `nonce` is the sender's (`from`) nonce for replay attack protection in {IRelayHub},
   * and `approvalData` is a optional parameter that can be used to hold a signature
   * over all or some of the previous values.
   *
   * Returns a tuple, where the first value is used to indicate approval (0)
   * or rejection (custom non-zero error code, values 1 to 10 are reserved)
   * and the second one is data to be passed to the other {IRelayRecipient} functions.
   *
   * {acceptRelayedCall} is called with 50k gas: if it runs out during execution,
   * the request will be considered
   * rejected. A regular revert will also trigger a rejection.
   */
  function acceptRelayedCall(
    address relay,
    address from,
    bytes calldata encodedFunction,
    uint256 transactionFee,
    uint256 gasPrice,
    uint256 gasLimit,
    uint256 nonce,
    bytes calldata approvalData,
    uint256 maxPossibleCharge
  )
    external
    view
    returns (uint256, bytes memory) {
      (bool accept, bool chargeBefore) = _acceptRelayedCall(from, encodedFunction);
      if (accept) {
        return  _approveRelayedCall(abi.encode(from, chargeBefore));
      } else {
        return _rejectRelayedCall(INSUFFICIENT_BALANCE);
      }
    }

  /**
   * @dev Sets the address of StormX's reserve
   * @param newReserve the new address of StormX's reserve
   * @return success status of the setting
   */
  function setStormXReserve(address newReserve) public onlyOwner returns (bool) {
    require(newReserve != address(0), "Invalid reserve address");
    stormXReserve = newReserve;
    emit StormXReserveSet(newReserve);
    return true;
  }

 /**
   * @dev Sets the charge fee for GSN calls
   * @param newFee the new charge fee
   * @return success status of the setting
   */
  function setChargeFee(uint256 newFee) public onlyOwner returns (bool) {
    chargeFee = newFee;
    emit ChargeFeeSet(newFee);
    return true;
  }

  /**
   * @dev Checks whether to accept a GSN relayed call
   * @param from the user originating the GSN relayed call
   * @param encodedFunction the function call to relay, including data
   * @return ``accept`` indicates whether to accept the relayed call
   *         ``chargeBefore`` indicates whether to charge before executing encoded function
   */
  function _acceptRelayedCall(
    address from,
    bytes memory encodedFunction
  ) internal view returns (bool accept, bool chargeBefore);

  function _preRelayedCall(bytes memory context) internal returns (bytes32) {
    (address user, bool chargeBefore) = abi.decode(context, (address, bool));
    // charge the user with specified amount of fee
    // if the user is not calling ``convert()``
    if (chargeBefore) {
      require(
        token.transferFrom(user, stormXReserve, chargeFee),
        "Charging fails before executing the function"
      );
    }
    return "";
  }

  function _postRelayedCall(
    bytes memory context,
    bool success,
    uint256 actualCharge,
    bytes32 preRetVal
  ) internal {
    (address user, bool chargeBefore) = abi.decode(context, (address, bool));
    if (!chargeBefore) {
      require(
        token.transferFrom(user, stormXReserve, chargeFee),
        "Charging fails after executing the function"
      );
    }
  }

  /**
   * @dev Reads a bytes4 value from a position in a byte array.
   * Note: for reference, see source code
   * https://etherscan.io/address/0xD216153c06E857cD7f72665E0aF1d7D82172F494#code
   * @param b Byte array containing a bytes4 value.
   * @param index Index in byte array of bytes4 value.
   * @return bytes4 value from byte array.
   */
  function readBytes4(
    bytes memory b,
    uint256 index
  ) internal
    pure
    returns (bytes4 result)
  {
    require(
      b.length >= index + 4,
      "GREATER_OR_EQUAL_TO_4_LENGTH_REQUIRED"
    );

    // Arrays are prefixed by a 32 byte length field
    index += 32;

    // Read the bytes4 from array memory
    assembly {
      result := mload(add(b, index))
      // Solidity does not require us to clean the trailing bytes.
      // We do it anyway
      result := and(result, 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000)
    }
    return result;
  }

  /**
   * @dev Reads a bytes32 value from a position in a byte array.
   * Note: for reference, see source code
   * https://etherscan.io/address/0xD216153c06E857cD7f72665E0aF1d7D82172F494#code
   * @param b Byte array containing a bytes32 value.
   * @param index Index in byte array of bytes32 value.
   * @return bytes32 value from byte array.
   */
  function readBytes32(
    bytes memory b,
    uint256 index
  )
    internal
    pure
    returns (bytes32 result)
  {
    require(
      b.length >= index + 32,
      "GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED"
    );

    // Arrays are prefixed by a 256 bit length parameter
    index += 32;

    // Read the bytes32 from array memory
    assembly {
      result := mload(add(b, index))
    }
    return result;
  }
  
  /**
   * @dev Reads a uint256 value from a position in a byte array.
   * Note: for reference, see source code
   * https://etherscan.io/address/0xD216153c06E857cD7f72665E0aF1d7D82172F494#code
   * @param b Byte array containing a uint256 value.
   * @param index Index in byte array of uint256 value.
   * @return uint256 value from byte array.
   */
  function readUint256(
    bytes memory b,
    uint256 index
  ) internal
    pure
    returns (uint256 result)
  {
    result = uint256(readBytes32(b, index));
    return result;
  }

 /**
  * @dev extract parameter from encoded-function block.
  * Note: for reference, see source code
  * https://etherscan.io/address/0xD216153c06E857cD7f72665E0aF1d7D82172F494#code
  * https://solidity.readthedocs.io/en/develop/abi-spec.html#formal-specification-of-the-encoding
  * note that the type of the parameter must be static.
  * the return value should be casted to the right type.
  * @param msgData encoded calldata
  * @param index in byte array of bytes memory
  * @return the parameter extracted from call data
  */
  function getParam(bytes memory msgData, uint index) internal pure returns (uint256) {
    return readUint256(msgData, 4 + index * 32);
  }
}

// File: contracts/StormXToken.sol

pragma solidity 0.5.16;






contract StormXToken is
  StormXGSNRecipient,
  ERC20,
  ERC20Detailed("StormX", "STMX", 18) {

  using SafeMath for uint256;

  bool public transfersEnabled;
  mapping(address => bool) public autoStakingDisabled;
  bool public initialized = false;
  address public swap;
  address public rewardRole;

  // Variables for staking feature
  mapping(address => uint256) public lockedBalanceOf;

  event TokenLocked(address indexed account, uint256 amount);
  event TokenUnlocked(address indexed account, uint256 amount);
  event TransfersEnabled(bool newStatus);
  event SwapAddressAdded(address swap);
  event RewardRoleAssigned(address rewardRole);
  event AutoStakingSet(address indexed account, bool status);

  modifier transfersAllowed {
    require(transfersEnabled, "Transfers not available");
    _;
  }

  modifier onlyAuthorized {
    require(_msgSender() == owner() || _msgSender() == rewardRole, "Not authorized");
    _;
  }

  /**
   * @param reserve address of the StormX's reserve that receives GSN charge fee
   * GSN charged fees and remaining tokens
   * after the token migration is closed
   */
  constructor(address reserve)
    // solhint-disable-next-line visibility-modifier-order
    StormXGSNRecipient(address(this), reserve) public {
    }

  /**
   * @param account address of the user this function queries unlocked balance for
   * @return the amount of unlocked tokens of the given address
   *         i.e. the amount of manipulable tokens of the given address
   */
  function unlockedBalanceOf(address account) public view returns (uint256) {
    return balanceOf(account).sub(lockedBalanceOf[account]);
  }

  /**
   * @dev Locks specified amount of tokens for the user
   *      Locked tokens are not manipulable until being unlocked
   *      Locked tokens are still reported as owned by the user
   *      when ``balanceOf()`` is called
   * @param amount specified amount of tokens to be locked
   * @return success status of the locking
   */
  function lock(uint256 amount) public returns (bool) {
    address account = _msgSender();
    require(unlockedBalanceOf(account) >= amount, "Not enough unlocked tokens");
    lockedBalanceOf[account] = lockedBalanceOf[account].add(amount);
    emit TokenLocked(account, amount);
    return true;
  }

  /**
   * @dev Unlocks specified amount of tokens for the user
   *      Unlocked tokens are manipulable until being locked
   * @param amount specified amount of tokens to be unlocked
   * @return success status of the unlocking
   */
  function unlock(uint256 amount) public returns (bool) {
    address account = _msgSender();
    require(lockedBalanceOf[account] >= amount, "Not enough locked tokens");
    lockedBalanceOf[account] = lockedBalanceOf[account].sub(amount);
    emit TokenUnlocked(account, amount);
    return true;
  }

  /**
   * @dev The only difference from standard ERC20 ``transferFrom()`` is that
   *     it only succeeds if the sender has enough unlocked tokens
   *     Note: this function is also used by every StormXGSNRecipient
   *           when charging.
   * @param sender address of the sender
   * @param recipient address of the recipient
   * @param amount specified amount of tokens to be transferred
   * @return success status of the transferring
   */
  function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
    require(unlockedBalanceOf(sender) >= amount, "Not enough unlocked token balance of sender");
    // if the msg.sender is charging ``sender`` for a GSN fee
    // allowance does not apply
    // so that no user approval is required for GSN calls
    if (_msgSender() == address(this) || _msgSender() == swap) {
      _transfer(sender, recipient, amount);
      return true;
    } else {
      return super.transferFrom(sender, recipient, amount);
    }
  }

  /**
   * @dev The only difference from standard ERC20 ``transfer()`` is that
   *     it only succeeds if the user has enough unlocked tokens
   * @param recipient address of the recipient
   * @param amount specified amount of tokens to be transferred
   * @return success status of the transferring
   */
  function transfer(address recipient, uint256 amount) public returns (bool) {
    require(unlockedBalanceOf(_msgSender()) >= amount, "Not enough unlocked token balance");
    return super.transfer(recipient, amount);
  }

  /**
   * @dev Transfers tokens in batch
   * @param recipients an array of recipient addresses
   * @param values an array of specified amount of tokens to be transferred
   * @return success status of the batch transferring
   */
  function transfers(
    address[] memory recipients,
    uint256[] memory values
  ) public transfersAllowed returns (bool) {
    require(recipients.length == values.length, "Input lengths do not match");

    for (uint256 i = 0; i < recipients.length; i++) {
      transfer(recipients[i], values[i]);
    }
    return true;
  }

  /**
   * @dev Enables the method ``transfers()`` if ``enable=true``,
   * and disables ``transfers()`` otherwise
   * @param enable the expected new availability of the method ``transfers()``
   */
  function enableTransfers(bool enable) public onlyOwner returns (bool) {
    transfersEnabled = enable;
    emit TransfersEnabled(enable);
    return true;
  }

  function mint(address account, uint256 amount) public {
    require(initialized, "The contract is not initialized yet");
    require(_msgSender() == swap, "not authorized to mint");
    _mint(account, amount);
  }

  /**
   * @dev Initializes this contract
   *      Sets address ``swap`` as the only valid minter for this token
   *      Note: must be called before token migration opens in ``Swap.sol``
   * @param _swap address of the deployed contract ``Swap.sol``
   */
  function initialize(address _swap) public onlyOwner {
    require(!initialized, "cannot initialize twice");
    require(_swap != address(0), "invalid swap address");
    swap = _swap;
    transfersEnabled = true;
    emit TransfersEnabled(true);
    initialized = true;
    emit SwapAddressAdded(_swap);
  }

  /**
   * @dev Assigns `rewardRole` to the specified address
   * @param account address to be assigned as the `rewardRole`
   */
  function assignRewardRole(address account) public onlyOwner {
    rewardRole = account;
    emit RewardRoleAssigned(account);
  }

  /**
   * @dev Transfers tokens to users as rewards
   * @param recipient address that receives the rewarded tokens
   * @param amount amount of rewarded tokens
   */
  function reward(address recipient, uint256 amount) public onlyAuthorized {
    require(recipient != address(0), "Invalid recipient address provided");

    require(transfer(recipient, amount), "Transfer fails when rewarding a user");
    // If `autoStakingDisabled[user] == false`,
    // auto staking is enabled for current user
    if (!autoStakingDisabled[recipient]) {
      lockedBalanceOf[recipient] = lockedBalanceOf[recipient].add(amount);
      emit TokenLocked(recipient, amount);
    }
  }

  /**
   * @dev Rewards users in batch
   * @param recipients an array of recipient address
   * @param values an array of specified amount of tokens to be rewarded
   */
  function rewards(address[] memory recipients, uint256[] memory values) public onlyAuthorized {
    require(recipients.length == values.length, "Input lengths do not match");

    for (uint256 i = 0; i < recipients.length; i++) {
      reward(recipients[i], values[i]);
    }
  }

  /**
   * @dev Sets auto-staking feature status for users
   * If `enabled = true`, rewarded tokens will be automatically staked for the message sender
   * Else, rewarded tokens will not be automatically staked for the message sender.
   * @param enabled expected status of the user's auto-staking feature status
   */
  function setAutoStaking(bool enabled) public {
    // If `enabled == false`, set `autoStakingDisabled[user] = true`
    autoStakingDisabled[_msgSender()] = !enabled;
    emit AutoStakingSet(_msgSender(), enabled);
  }

  /**
   * @dev Checks whether to accept a GSN relayed call
   * @param from the user originating the GSN relayed call
   * @param encodedFunction the function call to relay, including data
   * @return ``accept`` indicates whether to accept the relayed call
   *         ``chargeBefore`` indicates whether to charge before executing encoded function
   */
  function _acceptRelayedCall(
    address from,
    bytes memory encodedFunction
  ) internal view returns (bool accept, bool chargeBefore) {
    bool chargeBefore = true;
    uint256 unlockedBalance = unlockedBalanceOf(from);
    if (unlockedBalance < chargeFee) {
      // charge users after executing the encoded function
      chargeBefore = false;
      bytes4 selector = readBytes4(encodedFunction, 0);
      if (selector == bytes4(keccak256("unlock(uint256)"))) {
        // unlocked token balance for the user if transaction succeeds
        uint256 amount = uint256(getParam(encodedFunction, 0)).add(unlockedBalance);
        return (amount >= chargeFee, chargeBefore);
      } else if (selector == bytes4(keccak256("transferFrom(address,address,uint256)"))) {
        address sender = address(getParam(encodedFunction, 0));
        address recipient = address(getParam(encodedFunction, 1));
        uint256 amount = getParam(encodedFunction, 2);

        bool accept = recipient == from &&
          // no real effect of `transferfrom()` if `sender == recipient`
          sender != recipient &&
          // `from` can have enough unlocked token balance after the transaction
          amount.add(unlockedBalance) >= chargeFee &&
          // check `transferFrom()` can be executed successfully
          unlockedBalanceOf(sender) >= amount &&
          allowance(sender, from) >= amount;
        return (accept, chargeBefore);
      } else {
        // if rejects the call, the value of chargeBefore does not matter
        return (false, chargeBefore);
      }
    } else {
      return (true, chargeBefore);
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"reserve","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"AutoStakingSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"ChargeFeeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldRelayHub","type":"address"},{"indexed":true,"internalType":"address","name":"newRelayHub","type":"address"}],"name":"RelayHubChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"rewardRole","type":"address"}],"name":"RewardRoleAssigned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"StormXReserveSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"swap","type":"address"}],"name":"SwapAddressAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenUnlocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"newStatus","type":"bool"}],"name":"TransfersEnabled","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"relay","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"bytes","name":"encodedFunction","type":"bytes"},{"internalType":"uint256","name":"transactionFee","type":"uint256"},{"internalType":"uint256","name":"gasPrice","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"approvalData","type":"bytes"},{"internalType":"uint256","name":"maxPossibleCharge","type":"uint256"}],"name":"acceptRelayedCall","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"assignRewardRole","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"autoStakingDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"chargeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"enable","type":"bool"}],"name":"enableTransfers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getHubAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_swap","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"lock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockedBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"bool","name":"success","type":"bool"},{"internalType":"uint256","name":"actualCharge","type":"uint256"},{"internalType":"bytes32","name":"preRetVal","type":"bytes32"}],"name":"postRelayedCall","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"context","type":"bytes"}],"name":"preRelayedCall","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"relayHubVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardRole","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"rewards","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setAutoStaking","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setChargeFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newReserve","type":"address"}],"name":"setStormXReserve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stormXReserve","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"swap","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"internalType":"contract IStormXToken","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"transfers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"transfersEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unlock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unlockedBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

608060405273d216153c06e857cd7f72665e0af1d7d82172f4946000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600c60006101000a81548160ff0219169083151502179055503480156200008057600080fd5b5060405162004d4d38038062004d4d83398181016040526020811015620000a657600080fd5b81019080805190602001909291905050506040518060400160405280600681526020017f53746f726d5800000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f53544d5800000000000000000000000000000000000000000000000000000000815250601230846000620001396200040a60201b60201c565b905080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200027c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f496e76616c696420746f6b656e2061646472657373000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000320576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f496e76616c69642072657365727665206164647265737300000000000000000081525060200191505060405180910390fd5b81600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550678ac7230489e8000060028190555050508260089080519060200190620003cb929190620004f8565b508160099080519060200190620003e4929190620004f8565b5080600a60006101000a81548160ff021916908360ff16021790555050505050620005a7565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146200046a573390506200047d565b6200047a6200048060201b60201c565b90505b90565b600060606000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250829250505090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200053b57805160ff19168380011785556200056c565b828001600101855582156200056c579182015b828111156200056b5782518255916020019190600101906200054e565b5b5090506200057b91906200057f565b5090565b620005a491905b80821115620005a057600081600090555060010162000586565b5090565b90565b61479680620005b76000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c806383947ea011610146578063ad61ccd5116100c3578063dd62ed3e11610087578063dd62ed3e146110d4578063e06e0e221461114c578063ece70b22146111e5578063f2fde38b14611241578063f41e60c514611285578063fc0c546a146112cd5761025e565b8063ad61ccd514610f5b578063bef97c8714610fde578063c4d66de814611000578063dc011e9714611044578063dd4670641461108e5761025e565b806395d89b411161010a57806395d89b4114610c64578063a1a640ce14610ce7578063a3d03fa014610d43578063a457c2d714610e8f578063a9059cbb14610ef55761025e565b806383947ea01461099b57806384955c8814610b5c5780638da5cb5b14610bb45780638f32d59b14610bfe578063910eb0d214610c205761025e565b8063516ae993116101df578063715018a6116101a3578063715018a614610808578063744c8c091461081257806374e861d6146108305780637f1339971461087a57806380274db7146108c45780638119c065146109515761025e565b8063516ae9931461056857806352346412146105ae57806359355736146107125780636198e3391461076a57806370a08231146107b05761025e565b806323b872dd1161022657806323b872dd146103da5780632b45389914610460578063313ce5671461049057806339509351146104b457806340c10f191461051a5761025e565b806306fdde0314610263578063095ea7b3146102e6578063158ef93e1461034c57806318160ddd1461036e57806321670f221461038c575b600080fd5b61026b611317565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102ab578082015181840152602081019050610290565b50505050905090810190601f1680156102d85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610332600480360360408110156102fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113b9565b604051808215151515815260200191505060405180910390f35b6103546113d7565b604051808215151515815260200191505060405180910390f35b6103766113ea565b6040518082815260200191505060405180910390f35b6103d8600480360360408110156103a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113f4565b005b610446600480360360608110156103f057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611720565b604051808215151515815260200191505060405180910390f35b61048e6004803603602081101561047657600080fd5b81019080803515159060200190929190505050611846565b005b610498611901565b604051808260ff1660ff16815260200191505060405180910390f35b610500600480360360408110156104ca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611918565b604051808215151515815260200191505060405180910390f35b6105666004803603604081101561053057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506119cb565b005b6105946004803603602081101561057e57600080fd5b8101908080359060200190929190505050611b08565b604051808215151515815260200191505060405180910390f35b6106f8600480360360408110156105c457600080fd5b81019080803590602001906401000000008111156105e157600080fd5b8201836020820111156105f357600080fd5b8035906020019184602083028401116401000000008311171561061557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561067557600080fd5b82018360208201111561068757600080fd5b803590602001918460208302840111640100000000831117156106a957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050611bcb565b604051808215151515815260200191505060405180910390f35b6107546004803603602081101561072857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d1e565b6040518082815260200191505060405180910390f35b6107966004803603602081101561078057600080fd5b8101908080359060200190929190505050611d36565b604051808215151515815260200191505060405180910390f35b6107f2600480360360208110156107c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ee5565b6040518082815260200191505060405180910390f35b610810611f2e565b005b61081a612069565b6040518082815260200191505060405180910390f35b61083861206f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610882612098565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61093b600480360360208110156108da57600080fd5b81019080803590602001906401000000008111156108f757600080fd5b82018360208201111561090957600080fd5b8035906020019184600183028401116401000000008311171561092b57600080fd5b90919293919293905050506120be565b6040518082815260200191505060405180910390f35b6109596121a0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ada60048036036101208110156109b257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190640100000000811115610a0f57600080fd5b820183602082011115610a2157600080fd5b80359060200191846001830284011164010000000083111715610a4357600080fd5b90919293919293908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610a8c57600080fd5b820183602082011115610a9e57600080fd5b80359060200191846001830284011164010000000083111715610ac057600080fd5b9091929391929390803590602001909291905050506121c6565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b20578082015181840152602081019050610b05565b50505050905090810190601f168015610b4d5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b610b9e60048036036020811015610b7257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122b1565b6040518082815260200191505060405180910390f35b610bbc612314565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610c0661233e565b604051808215151515815260200191505060405180910390f35b610c6260048036036020811015610c3657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061239d565b005b610c6c6124be565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610cac578082015181840152602081019050610c91565b50505050905090810190601f168015610cd95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610d2960048036036020811015610cfd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612560565b604051808215151515815260200191505060405180910390f35b610e8d60048036036040811015610d5957600080fd5b8101908080359060200190640100000000811115610d7657600080fd5b820183602082011115610d8857600080fd5b80359060200191846020830284011164010000000083111715610daa57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190640100000000811115610e0a57600080fd5b820183602082011115610e1c57600080fd5b80359060200191846020830284011164010000000083111715610e3e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050612580565b005b610edb60048036036040811015610ea557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612756565b604051808215151515815260200191505060405180910390f35b610f4160048036036040811015610f0b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612823565b604051808215151515815260200191505060405180910390f35b610f6361289f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610fa3578082015181840152602081019050610f88565b50505050905090810190601f168015610fd05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610fe66128dc565b604051808215151515815260200191505060405180910390f35b6110426004803603602081101561101657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506128ef565b005b61104c612ba8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6110ba600480360360208110156110a457600080fd5b8101908080359060200190929190505050612bce565b604051808215151515815260200191505060405180910390f35b611136600480360360408110156110ea57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612d46565b6040518082815260200191505060405180910390f35b6111e36004803603608081101561116257600080fd5b810190808035906020019064010000000081111561117f57600080fd5b82018360208201111561119157600080fd5b803590602001918460018302840111640100000000831117156111b357600080fd5b90919293919293908035151590602001909291908035906020019092919080359060200190929190505050612dcd565b005b611227600480360360208110156111fb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612eaf565b604051808215151515815260200191505060405180910390f35b6112836004803603602081101561125757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061307b565b005b6112b36004803603602081101561129b57600080fd5b81019080803515159060200190929190505050613101565b604051808215151515815260200191505060405180910390f35b6112d56131db565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b606060088054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113af5780601f10611384576101008083540402835291602001916113af565b820191906000526020600020905b81548152906001019060200180831161139257829003601f168201915b5050505050905090565b60006113cd6113c6613201565b848461326d565b6001905092915050565b600c60009054906101000a900460ff1681565b6000600754905090565b6113fc612314565b73ffffffffffffffffffffffffffffffffffffffff1661141a613201565b73ffffffffffffffffffffffffffffffffffffffff1614806114905750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611478613201565b73ffffffffffffffffffffffffffffffffffffffff16145b611502576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4e6f7420617574686f72697a656400000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611588576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806146196022913960400191505060405180910390fd5b6115928282612823565b6115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806145776024913960400191505060405180910390fd5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661171c5761168a81600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff167ff9626bca62c59d77fa45a204dc096874ee066a5c5e124aa9ce6c438dbdf7387a826040518082815260200191505060405180910390a25b5050565b60008161172c856122b1565b1015611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b81526020018061459b602b913960400191505060405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff166117a2613201565b73ffffffffffffffffffffffffffffffffffffffff1614806118185750600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611800613201565b73ffffffffffffffffffffffffffffffffffffffff16145b15611831576118288484846134ec565b6001905061183f565b61183c8484846137a6565b90505b9392505050565b8015600b6000611854613201565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506118ad613201565b73ffffffffffffffffffffffffffffffffffffffff167f7dfc9d981d371c504560e5ff3ebb43d0c2e0bf396d15f366aeefd547e3038c1782604051808215151515815260200191505060405180910390a250565b6000600a60009054906101000a900460ff16905090565b60006119c1611925613201565b846119bc8560066000611936613201565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b61326d565b6001905092915050565b600c60009054906101000a900460ff16611a30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061465c6023913960400191505060405180910390fd5b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611a71613201565b73ffffffffffffffffffffffffffffffffffffffff1614611afa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6e6f7420617574686f72697a656420746f206d696e740000000000000000000081525060200191505060405180910390fd5b611b04828261387f565b5050565b6000611b1261233e565b611b84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b816002819055507fe43cbc6e431335d3c8bed1088480303872cac29a9dad5607362b82bfa2cd6d24826040518082815260200191505060405180910390a160019050919050565b6000600a60019054906101000a900460ff16611c4f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5472616e7366657273206e6f7420617661696c61626c6500000000000000000081525060200191505060405180910390fd5b8151835114611cc6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f496e707574206c656e6774687320646f206e6f74206d6174636800000000000081525060200191505060405180910390fd5b60008090505b8351811015611d1357611d05848281518110611ce457fe5b6020026020010151848381518110611cf857fe5b6020026020010151612823565b508080600101915050611ccc565b506001905092915050565b600e6020528060005260406000206000915090505481565b600080611d41613201565b905082600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611df8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4e6f7420656e6f756768206c6f636b656420746f6b656e73000000000000000081525060200191505060405180910390fd5b611e4a83600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613a3c90919063ffffffff16565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508073ffffffffffffffffffffffffffffffffffffffff167f613edbda9d1e6bda8af8e869a973f88cccf93854a11f351589038de07e1ab4e3846040518082815260200191505060405180910390a26001915050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f3661233e565b611fa8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60025481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006120c861206f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461214b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806146a46024913960400191505060405180910390fd5b61219883838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613a86565b905092915050565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000606060008061221b8e8e8e8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613c62565b915091508115612290576122858e82604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018215151515815260200192505050604051602081830303815290604052613eb6565b9350935050506122a1565b61229a600b613ec6565b9350935050505b9b509b9950505050505050505050565b600061230d600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122ff84611ee5565b613a3c90919063ffffffff16565b9050919050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612381613201565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6123a561233e565b612417576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f160b41d612cb5a70661603d79f54df385ff2c4bbcd52b2208a42ab8da26ec42e81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156125565780601f1061252b57610100808354040283529160200191612556565b820191906000526020600020905b81548152906001019060200180831161253957829003601f168201915b5050505050905090565b600b6020528060005260406000206000915054906101000a900460ff1681565b612588612314565b73ffffffffffffffffffffffffffffffffffffffff166125a6613201565b73ffffffffffffffffffffffffffffffffffffffff16148061261c5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612604613201565b73ffffffffffffffffffffffffffffffffffffffff16145b61268e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4e6f7420617574686f72697a656400000000000000000000000000000000000081525060200191505060405180910390fd5b8051825114612705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f496e707574206c656e6774687320646f206e6f74206d6174636800000000000081525060200191505060405180910390fd5b60008090505b82518110156127515761274483828151811061272357fe5b602002602001015183838151811061273757fe5b60200260200101516113f4565b808060010191505061270b565b505050565b6000612819612763613201565b846128148560405180606001604052806025815260200161473d602591396006600061278d613201565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613ee79092919063ffffffff16565b61326d565b6001905092915050565b600081612836612831613201565b6122b1565b101561288d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061463b6021913960400191505060405180910390fd5b6128978383613fa7565b905092915050565b60606040518060400160405280600581526020017f312e302e30000000000000000000000000000000000000000000000000000000815250905090565b600a60019054906101000a900460ff1681565b6128f761233e565b612969576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600c60009054906101000a900460ff16156129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f63616e6e6f7420696e697469616c697a6520747769636500000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a8f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c69642073776170206164647265737300000000000000000000000081525060200191505060405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a60016101000a81548160ff0219169083151502179055507f2cac12335272569cae3b5eead61f36da81730100604965d574b896ad69c991536001604051808215151515815260200191505060405180910390a16001600c60006101000a81548160ff0219169083151502179055507f78aeb0bef1108b02c5ce01e4d85d557f8dadb35e6c6b633d539a07d9b832c26a81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080612bd9613201565b905082612be5826122b1565b1015612c59576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4e6f7420656e6f75676820756e6c6f636b656420746f6b656e7300000000000081525060200191505060405180910390fd5b612cab83600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508073ffffffffffffffffffffffffffffffffffffffff167ff9626bca62c59d77fa45a204dc096874ee066a5c5e124aa9ce6c438dbdf7387a846040518082815260200191505060405180910390a26001915050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b612dd561206f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e58576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806146a46024913960400191505060405180910390fd5b612ea885858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050848484613fc5565b5050505050565b6000612eb961233e565b612f2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f496e76616c69642072657365727665206164647265737300000000000000000081525060200191505060405180910390fd5b81600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f2d9c1b8b9564d60efd2f7c8a3742a514dae67760a74c804271e63b17420d100d82604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160019050919050565b61308361233e565b6130f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6130fe8161419b565b50565b600061310b61233e565b61317d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600a60016101000a81548160ff0219169083151502179055507f2cac12335272569cae3b5eead61f36da81730100604965d574b896ad69c9915382604051808215151515815260200191505060405180910390a160019050919050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461325f5733905061326a565b6132676142e1565b90505b90565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806146c86024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613379576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806145096022913960400191505060405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b6000808284019050838110156134e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061467f6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061449b6023913960400191505060405180910390fd5b6136648160405180606001604052806026815260200161455160269139600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613ee79092919063ffffffff16565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506136f981600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60006137b38484846134ec565b613874846137bf613201565b61386f856040518060600160405280602881526020016145f160289139600660008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000613825613201565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613ee79092919063ffffffff16565b61326d565b600190509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6139378160075461346490919063ffffffff16565b60078190555061398f81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000613a7e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613ee7565b905092915050565b6000806000838060200190516040811015613aa057600080fd5b810190808051906020019092919080519060200190929190505050915091508015613c5757600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd83600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015613bc657600080fd5b505af1158015613bda573d6000803e3d6000fd5b505050506040513d6020811015613bf057600080fd5b8101908080519060200190929190505050613c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806146ec602c913960400191505060405180910390fd5b5b600092505050919050565b6000806000600190506000613c76866122b1565b9050600254811015613ea557600091506000613c93866000614359565b905060405180807f756e6c6f636b2875696e74323536290000000000000000000000000000000000815250600f01905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415613d45576000613d2f83613d218960006143f2565b61346490919063ffffffff16565b9050600254811015849550955050505050613eaf565b60405180806144be60259139602501905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415613e96576000613db08760006143f2565b90506000613dbf8860016143f2565b90506000613dce8960026143f2565b905060008a73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015613e3957508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b8015613e595750600254613e56878461346490919063ffffffff16565b10155b8015613e6d575081613e6a856122b1565b10155b8015613e82575081613e7f858d612d46565b10155b905080879850985050505050505050613eaf565b60008394509450505050613eaf565b6001829350935050505b9250929050565b6000606060008391509150915091565b6000606082600b016040518060200160405280600081525091509150915091565b6000838311158290613f94576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f59578082015181840152602081019050613f3e565b50505050905090810190601f168015613f865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000613fbb613fb4613201565b84846134ec565b6001905092915050565b600080858060200190516040811015613fdd57600080fd5b810190808051906020019092919080519060200190929190505050915091508061419357600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd83600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561410257600080fd5b505af1158015614116573d6000803e3d6000fd5b505050506040513d602081101561412c57600080fd5b8101908080519060200190929190505050614192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806145c6602b913960400191505060405180910390fd5b5b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614221576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806144e36026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060606000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250829250505090565b600060048201835110156143b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806147186025913960400191505060405180910390fd5b6020820191508183015190507fffffffff000000000000000000000000000000000000000000000000000000008116905080905092915050565b6000614404836020840260040161440c565b905092915050565b60006144188383614426565b60001c905080905092915050565b60006020820183511015614485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061452b6026913960400191505060405180910390fd5b6020820191508183015190508090509291505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573737472616e7366657246726f6d28616464726573732c616464726573732c75696e74323536294f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373475245415445525f4f525f455155414c5f544f5f33325f4c454e4754485f524551554952454445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655472616e73666572206661696c73207768656e20726577617264696e67206120757365724e6f7420656e6f75676820756e6c6f636b656420746f6b656e2062616c616e6365206f662073656e6465724368617267696e67206661696c7320616674657220657865637574696e67207468652066756e6374696f6e45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365496e76616c696420726563697069656e7420616464726573732070726f76696465644e6f7420656e6f75676820756e6c6f636b656420746f6b656e2062616c616e636554686520636f6e7472616374206973206e6f7420696e697469616c697a65642079657445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737347534e526563697069656e743a2063616c6c6572206973206e6f742052656c617948756245524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734368617267696e67206661696c73206265666f726520657865637574696e67207468652066756e6374696f6e475245415445525f4f525f455155414c5f544f5f345f4c454e4754485f524551554952454445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820cd8028c49c588b126c1f3747de1debe6b1f287ae0aeded1b6b58346d0c05b34164736f6c63430005100032000000000000000000000000b6b3774d98c24e8ef922493ac71c3aa4b2ec83ed

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c806383947ea011610146578063ad61ccd5116100c3578063dd62ed3e11610087578063dd62ed3e146110d4578063e06e0e221461114c578063ece70b22146111e5578063f2fde38b14611241578063f41e60c514611285578063fc0c546a146112cd5761025e565b8063ad61ccd514610f5b578063bef97c8714610fde578063c4d66de814611000578063dc011e9714611044578063dd4670641461108e5761025e565b806395d89b411161010a57806395d89b4114610c64578063a1a640ce14610ce7578063a3d03fa014610d43578063a457c2d714610e8f578063a9059cbb14610ef55761025e565b806383947ea01461099b57806384955c8814610b5c5780638da5cb5b14610bb45780638f32d59b14610bfe578063910eb0d214610c205761025e565b8063516ae993116101df578063715018a6116101a3578063715018a614610808578063744c8c091461081257806374e861d6146108305780637f1339971461087a57806380274db7146108c45780638119c065146109515761025e565b8063516ae9931461056857806352346412146105ae57806359355736146107125780636198e3391461076a57806370a08231146107b05761025e565b806323b872dd1161022657806323b872dd146103da5780632b45389914610460578063313ce5671461049057806339509351146104b457806340c10f191461051a5761025e565b806306fdde0314610263578063095ea7b3146102e6578063158ef93e1461034c57806318160ddd1461036e57806321670f221461038c575b600080fd5b61026b611317565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102ab578082015181840152602081019050610290565b50505050905090810190601f1680156102d85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610332600480360360408110156102fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113b9565b604051808215151515815260200191505060405180910390f35b6103546113d7565b604051808215151515815260200191505060405180910390f35b6103766113ea565b6040518082815260200191505060405180910390f35b6103d8600480360360408110156103a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113f4565b005b610446600480360360608110156103f057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611720565b604051808215151515815260200191505060405180910390f35b61048e6004803603602081101561047657600080fd5b81019080803515159060200190929190505050611846565b005b610498611901565b604051808260ff1660ff16815260200191505060405180910390f35b610500600480360360408110156104ca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611918565b604051808215151515815260200191505060405180910390f35b6105666004803603604081101561053057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506119cb565b005b6105946004803603602081101561057e57600080fd5b8101908080359060200190929190505050611b08565b604051808215151515815260200191505060405180910390f35b6106f8600480360360408110156105c457600080fd5b81019080803590602001906401000000008111156105e157600080fd5b8201836020820111156105f357600080fd5b8035906020019184602083028401116401000000008311171561061557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561067557600080fd5b82018360208201111561068757600080fd5b803590602001918460208302840111640100000000831117156106a957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050611bcb565b604051808215151515815260200191505060405180910390f35b6107546004803603602081101561072857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d1e565b6040518082815260200191505060405180910390f35b6107966004803603602081101561078057600080fd5b8101908080359060200190929190505050611d36565b604051808215151515815260200191505060405180910390f35b6107f2600480360360208110156107c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ee5565b6040518082815260200191505060405180910390f35b610810611f2e565b005b61081a612069565b6040518082815260200191505060405180910390f35b61083861206f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610882612098565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61093b600480360360208110156108da57600080fd5b81019080803590602001906401000000008111156108f757600080fd5b82018360208201111561090957600080fd5b8035906020019184600183028401116401000000008311171561092b57600080fd5b90919293919293905050506120be565b6040518082815260200191505060405180910390f35b6109596121a0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ada60048036036101208110156109b257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190640100000000811115610a0f57600080fd5b820183602082011115610a2157600080fd5b80359060200191846001830284011164010000000083111715610a4357600080fd5b90919293919293908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610a8c57600080fd5b820183602082011115610a9e57600080fd5b80359060200191846001830284011164010000000083111715610ac057600080fd5b9091929391929390803590602001909291905050506121c6565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b20578082015181840152602081019050610b05565b50505050905090810190601f168015610b4d5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b610b9e60048036036020811015610b7257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122b1565b6040518082815260200191505060405180910390f35b610bbc612314565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610c0661233e565b604051808215151515815260200191505060405180910390f35b610c6260048036036020811015610c3657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061239d565b005b610c6c6124be565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610cac578082015181840152602081019050610c91565b50505050905090810190601f168015610cd95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610d2960048036036020811015610cfd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612560565b604051808215151515815260200191505060405180910390f35b610e8d60048036036040811015610d5957600080fd5b8101908080359060200190640100000000811115610d7657600080fd5b820183602082011115610d8857600080fd5b80359060200191846020830284011164010000000083111715610daa57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190640100000000811115610e0a57600080fd5b820183602082011115610e1c57600080fd5b80359060200191846020830284011164010000000083111715610e3e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050612580565b005b610edb60048036036040811015610ea557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612756565b604051808215151515815260200191505060405180910390f35b610f4160048036036040811015610f0b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612823565b604051808215151515815260200191505060405180910390f35b610f6361289f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610fa3578082015181840152602081019050610f88565b50505050905090810190601f168015610fd05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610fe66128dc565b604051808215151515815260200191505060405180910390f35b6110426004803603602081101561101657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506128ef565b005b61104c612ba8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6110ba600480360360208110156110a457600080fd5b8101908080359060200190929190505050612bce565b604051808215151515815260200191505060405180910390f35b611136600480360360408110156110ea57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612d46565b6040518082815260200191505060405180910390f35b6111e36004803603608081101561116257600080fd5b810190808035906020019064010000000081111561117f57600080fd5b82018360208201111561119157600080fd5b803590602001918460018302840111640100000000831117156111b357600080fd5b90919293919293908035151590602001909291908035906020019092919080359060200190929190505050612dcd565b005b611227600480360360208110156111fb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612eaf565b604051808215151515815260200191505060405180910390f35b6112836004803603602081101561125757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061307b565b005b6112b36004803603602081101561129b57600080fd5b81019080803515159060200190929190505050613101565b604051808215151515815260200191505060405180910390f35b6112d56131db565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b606060088054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113af5780601f10611384576101008083540402835291602001916113af565b820191906000526020600020905b81548152906001019060200180831161139257829003601f168201915b5050505050905090565b60006113cd6113c6613201565b848461326d565b6001905092915050565b600c60009054906101000a900460ff1681565b6000600754905090565b6113fc612314565b73ffffffffffffffffffffffffffffffffffffffff1661141a613201565b73ffffffffffffffffffffffffffffffffffffffff1614806114905750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611478613201565b73ffffffffffffffffffffffffffffffffffffffff16145b611502576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4e6f7420617574686f72697a656400000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611588576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806146196022913960400191505060405180910390fd5b6115928282612823565b6115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806145776024913960400191505060405180910390fd5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661171c5761168a81600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff167ff9626bca62c59d77fa45a204dc096874ee066a5c5e124aa9ce6c438dbdf7387a826040518082815260200191505060405180910390a25b5050565b60008161172c856122b1565b1015611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b81526020018061459b602b913960400191505060405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff166117a2613201565b73ffffffffffffffffffffffffffffffffffffffff1614806118185750600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611800613201565b73ffffffffffffffffffffffffffffffffffffffff16145b15611831576118288484846134ec565b6001905061183f565b61183c8484846137a6565b90505b9392505050565b8015600b6000611854613201565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506118ad613201565b73ffffffffffffffffffffffffffffffffffffffff167f7dfc9d981d371c504560e5ff3ebb43d0c2e0bf396d15f366aeefd547e3038c1782604051808215151515815260200191505060405180910390a250565b6000600a60009054906101000a900460ff16905090565b60006119c1611925613201565b846119bc8560066000611936613201565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b61326d565b6001905092915050565b600c60009054906101000a900460ff16611a30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061465c6023913960400191505060405180910390fd5b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611a71613201565b73ffffffffffffffffffffffffffffffffffffffff1614611afa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6e6f7420617574686f72697a656420746f206d696e740000000000000000000081525060200191505060405180910390fd5b611b04828261387f565b5050565b6000611b1261233e565b611b84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b816002819055507fe43cbc6e431335d3c8bed1088480303872cac29a9dad5607362b82bfa2cd6d24826040518082815260200191505060405180910390a160019050919050565b6000600a60019054906101000a900460ff16611c4f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5472616e7366657273206e6f7420617661696c61626c6500000000000000000081525060200191505060405180910390fd5b8151835114611cc6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f496e707574206c656e6774687320646f206e6f74206d6174636800000000000081525060200191505060405180910390fd5b60008090505b8351811015611d1357611d05848281518110611ce457fe5b6020026020010151848381518110611cf857fe5b6020026020010151612823565b508080600101915050611ccc565b506001905092915050565b600e6020528060005260406000206000915090505481565b600080611d41613201565b905082600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611df8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4e6f7420656e6f756768206c6f636b656420746f6b656e73000000000000000081525060200191505060405180910390fd5b611e4a83600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613a3c90919063ffffffff16565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508073ffffffffffffffffffffffffffffffffffffffff167f613edbda9d1e6bda8af8e869a973f88cccf93854a11f351589038de07e1ab4e3846040518082815260200191505060405180910390a26001915050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f3661233e565b611fa8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60025481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006120c861206f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461214b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806146a46024913960400191505060405180910390fd5b61219883838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613a86565b905092915050565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000606060008061221b8e8e8e8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613c62565b915091508115612290576122858e82604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018215151515815260200192505050604051602081830303815290604052613eb6565b9350935050506122a1565b61229a600b613ec6565b9350935050505b9b509b9950505050505050505050565b600061230d600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122ff84611ee5565b613a3c90919063ffffffff16565b9050919050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612381613201565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6123a561233e565b612417576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f160b41d612cb5a70661603d79f54df385ff2c4bbcd52b2208a42ab8da26ec42e81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156125565780601f1061252b57610100808354040283529160200191612556565b820191906000526020600020905b81548152906001019060200180831161253957829003601f168201915b5050505050905090565b600b6020528060005260406000206000915054906101000a900460ff1681565b612588612314565b73ffffffffffffffffffffffffffffffffffffffff166125a6613201565b73ffffffffffffffffffffffffffffffffffffffff16148061261c5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612604613201565b73ffffffffffffffffffffffffffffffffffffffff16145b61268e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4e6f7420617574686f72697a656400000000000000000000000000000000000081525060200191505060405180910390fd5b8051825114612705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f496e707574206c656e6774687320646f206e6f74206d6174636800000000000081525060200191505060405180910390fd5b60008090505b82518110156127515761274483828151811061272357fe5b602002602001015183838151811061273757fe5b60200260200101516113f4565b808060010191505061270b565b505050565b6000612819612763613201565b846128148560405180606001604052806025815260200161473d602591396006600061278d613201565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613ee79092919063ffffffff16565b61326d565b6001905092915050565b600081612836612831613201565b6122b1565b101561288d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061463b6021913960400191505060405180910390fd5b6128978383613fa7565b905092915050565b60606040518060400160405280600581526020017f312e302e30000000000000000000000000000000000000000000000000000000815250905090565b600a60019054906101000a900460ff1681565b6128f761233e565b612969576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600c60009054906101000a900460ff16156129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f63616e6e6f7420696e697469616c697a6520747769636500000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a8f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c69642073776170206164647265737300000000000000000000000081525060200191505060405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a60016101000a81548160ff0219169083151502179055507f2cac12335272569cae3b5eead61f36da81730100604965d574b896ad69c991536001604051808215151515815260200191505060405180910390a16001600c60006101000a81548160ff0219169083151502179055507f78aeb0bef1108b02c5ce01e4d85d557f8dadb35e6c6b633d539a07d9b832c26a81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080612bd9613201565b905082612be5826122b1565b1015612c59576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4e6f7420656e6f75676820756e6c6f636b656420746f6b656e7300000000000081525060200191505060405180910390fd5b612cab83600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508073ffffffffffffffffffffffffffffffffffffffff167ff9626bca62c59d77fa45a204dc096874ee066a5c5e124aa9ce6c438dbdf7387a846040518082815260200191505060405180910390a26001915050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b612dd561206f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e58576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806146a46024913960400191505060405180910390fd5b612ea885858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050848484613fc5565b5050505050565b6000612eb961233e565b612f2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f496e76616c69642072657365727665206164647265737300000000000000000081525060200191505060405180910390fd5b81600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f2d9c1b8b9564d60efd2f7c8a3742a514dae67760a74c804271e63b17420d100d82604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160019050919050565b61308361233e565b6130f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6130fe8161419b565b50565b600061310b61233e565b61317d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600a60016101000a81548160ff0219169083151502179055507f2cac12335272569cae3b5eead61f36da81730100604965d574b896ad69c9915382604051808215151515815260200191505060405180910390a160019050919050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461325f5733905061326a565b6132676142e1565b90505b90565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806146c86024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613379576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806145096022913960400191505060405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b6000808284019050838110156134e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061467f6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061449b6023913960400191505060405180910390fd5b6136648160405180606001604052806026815260200161455160269139600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613ee79092919063ffffffff16565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506136f981600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60006137b38484846134ec565b613874846137bf613201565b61386f856040518060600160405280602881526020016145f160289139600660008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000613825613201565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613ee79092919063ffffffff16565b61326d565b600190509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6139378160075461346490919063ffffffff16565b60078190555061398f81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461346490919063ffffffff16565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000613a7e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613ee7565b905092915050565b6000806000838060200190516040811015613aa057600080fd5b810190808051906020019092919080519060200190929190505050915091508015613c5757600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd83600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015613bc657600080fd5b505af1158015613bda573d6000803e3d6000fd5b505050506040513d6020811015613bf057600080fd5b8101908080519060200190929190505050613c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806146ec602c913960400191505060405180910390fd5b5b600092505050919050565b6000806000600190506000613c76866122b1565b9050600254811015613ea557600091506000613c93866000614359565b905060405180807f756e6c6f636b2875696e74323536290000000000000000000000000000000000815250600f01905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415613d45576000613d2f83613d218960006143f2565b61346490919063ffffffff16565b9050600254811015849550955050505050613eaf565b60405180806144be60259139602501905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415613e96576000613db08760006143f2565b90506000613dbf8860016143f2565b90506000613dce8960026143f2565b905060008a73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015613e3957508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b8015613e595750600254613e56878461346490919063ffffffff16565b10155b8015613e6d575081613e6a856122b1565b10155b8015613e82575081613e7f858d612d46565b10155b905080879850985050505050505050613eaf565b60008394509450505050613eaf565b6001829350935050505b9250929050565b6000606060008391509150915091565b6000606082600b016040518060200160405280600081525091509150915091565b6000838311158290613f94576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f59578082015181840152602081019050613f3e565b50505050905090810190601f168015613f865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000613fbb613fb4613201565b84846134ec565b6001905092915050565b600080858060200190516040811015613fdd57600080fd5b810190808051906020019092919080519060200190929190505050915091508061419357600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd83600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561410257600080fd5b505af1158015614116573d6000803e3d6000fd5b505050506040513d602081101561412c57600080fd5b8101908080519060200190929190505050614192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806145c6602b913960400191505060405180910390fd5b5b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614221576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806144e36026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060606000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250829250505090565b600060048201835110156143b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806147186025913960400191505060405180910390fd5b6020820191508183015190507fffffffff000000000000000000000000000000000000000000000000000000008116905080905092915050565b6000614404836020840260040161440c565b905092915050565b60006144188383614426565b60001c905080905092915050565b60006020820183511015614485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061452b6026913960400191505060405180910390fd5b6020820191508183015190508090509291505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573737472616e7366657246726f6d28616464726573732c616464726573732c75696e74323536294f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373475245415445525f4f525f455155414c5f544f5f33325f4c454e4754485f524551554952454445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655472616e73666572206661696c73207768656e20726577617264696e67206120757365724e6f7420656e6f75676820756e6c6f636b656420746f6b656e2062616c616e6365206f662073656e6465724368617267696e67206661696c7320616674657220657865637574696e67207468652066756e6374696f6e45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365496e76616c696420726563697069656e7420616464726573732070726f76696465644e6f7420656e6f75676820756e6c6f636b656420746f6b656e2062616c616e636554686520636f6e7472616374206973206e6f7420696e697469616c697a65642079657445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737347534e526563697069656e743a2063616c6c6572206973206e6f742052656c617948756245524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734368617267696e67206661696c73206265666f726520657865637574696e67207468652066756e6374696f6e475245415445525f4f525f455155414c5f544f5f345f4c454e4754485f524551554952454445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820cd8028c49c588b126c1f3747de1debe6b1f287ae0aeded1b6b58346d0c05b34164736f6c63430005100032

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

000000000000000000000000b6b3774d98c24e8ef922493ac71c3aa4b2ec83ed

-----Decoded View---------------
Arg [0] : reserve (address): 0xB6b3774D98c24E8Ef922493Ac71c3Aa4B2EC83ed

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b6b3774d98c24e8ef922493ac71c3aa4b2ec83ed


Deployed Bytecode Sourcemap

56757:10272:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;56757:10272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3592:83;;;:::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;3592:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13790:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13790:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;56982:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12811:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;63461:510;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63461:510:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60132:567;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;60132:567:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;64770:221;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;64770:221:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;4444:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;15127:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15127:210:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;62205:217;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;62205:217:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52121:151;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;52121:151:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;61488:338;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;61488:338:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;61488:338:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;61488:338:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;61488:338:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;61488:338:0;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;61488:338:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;61488:338:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;61488:338:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;61488:338:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;57110:50;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;57110:50:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;59355:305;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;59355:305:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12965:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12965:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47529:140;;;:::i;:::-;;48731:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37264:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;48760:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;40927:211;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40927:211:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;40927:211:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40927:211:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;40927:211:0;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57018:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;50963:597;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;50963:597:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;50963:597:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;50963:597:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;50963:597:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;50963:597:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;50963:597:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;50963:597: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;50963:597:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58305:142;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;58305:142:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46718:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;47084:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;63150:132;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63150:132:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;3794:87;;;:::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;3794:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56926:51;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;56926:51:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;64153:284;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;64153:284:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;64153:284:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;64153:284:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;64153:284:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;64153:284:0;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;64153:284:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;64153:284:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;64153:284:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;64153:284:0;;;;;;;;;;;;;;;:::i;:::-;;15840:261;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15840:261:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;61021:222;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;61021:222:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;38522:230;;;:::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;38522:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56893:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;62694:315;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;62694:315:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;57042:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;58801:305;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;58801:305:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;13509:134;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13509:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41787:277;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;41787:277:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;41787:277:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41787:277:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;41787:277:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51732:242;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;51732:242:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;47824:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;47824:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;62037:162;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;62037:162:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;48886:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3592:83;3629:13;3662:5;3655:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3592:83;:::o;13790:152::-;13856:4;13873:39;13882:12;:10;:12::i;:::-;13896:7;13905:6;13873:8;:39::i;:::-;13930:4;13923:11;;13790:152;;;;:::o;56982:31::-;;;;;;;;;;;;;:::o;12811:91::-;12855:7;12882:12;;12875:19;;12811:91;:::o;63461:510::-;57653:7;:5;:7::i;:::-;57637:23;;:12;:10;:12::i;:::-;:23;;;:53;;;;57680:10;;;;;;;;;;;57664:26;;:12;:10;:12::i;:::-;:26;;;57637:53;57629:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63570:1;63549:23;;:9;:23;;;;63541:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63628:27;63637:9;63648:6;63628:8;:27::i;:::-;63620:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63806:19;:30;63826:9;63806:30;;;;;;;;;;;;;;;;;;;;;;;;;63801:165;;63876:38;63907:6;63876:15;:26;63892:9;63876:26;;;;;;;;;;;;;;;;:30;;:38;;;;:::i;:::-;63847:15;:26;63863:9;63847:26;;;;;;;;;;;;;;;:67;;;;63940:9;63928:30;;;63951:6;63928:30;;;;;;;;;;;;;;;;;;63801:165;63461:510;;:::o;60132:567::-;60221:4;60271:6;60242:25;60260:6;60242:17;:25::i;:::-;:35;;60234:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60515:4;60491:29;;:12;:10;:12::i;:::-;:29;;;:53;;;;60540:4;;;;;;;;;;;60524:20;;:12;:10;:12::i;:::-;:20;;;60491:53;60487:207;;;60555:36;60565:6;60573:9;60584:6;60555:9;:36::i;:::-;60607:4;60600:11;;;;60487:207;60641:45;60660:6;60668:9;60679:6;60641:18;:45::i;:::-;60634:52;;60132:567;;;;;;:::o;64770:221::-;64929:7;64928:8;64892:19;:33;64912:12;:10;:12::i;:::-;64892:33;;;;;;;;;;;;;;;;:44;;;;;;;;;;;;;;;;;;64963:12;:10;:12::i;:::-;64948:37;;;64977:7;64948:37;;;;;;;;;;;;;;;;;;;;;;64770:221;:::o;4444:83::-;4485:5;4510:9;;;;;;;;;;;4503:16;;4444:83;:::o;15127:210::-;15207:4;15224:83;15233:12;:10;:12::i;:::-;15247:7;15256:50;15295:10;15256:11;:25;15268:12;:10;:12::i;:::-;15256:25;;;;;;;;;;;;;;;:34;15282:7;15256:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;15224:8;:83::i;:::-;15325:4;15318:11;;15127:210;;;;:::o;62205:217::-;62274:11;;;;;;;;;;;62266:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62356:4;;;;;;;;;;;62340:20;;:12;:10;:12::i;:::-;:20;;;62332:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62394:22;62400:7;62409:6;62394:5;:22::i;:::-;62205:217;;:::o;52121:151::-;52185:4;46930:9;:7;:9::i;:::-;46922:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52210:6;52198:9;:18;;;;52228:20;52241:6;52228:20;;;;;;;;;;;;;;;;;;52262:4;52255:11;;52121:151;;;:::o;61488:338::-;61609:4;57534:16;;;;;;;;;;;57526:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61651:6;:13;61630:10;:17;:34;61622:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61709:9;61721:1;61709:13;;61704:99;61728:10;:17;61724:1;:21;61704:99;;;61761:34;61770:10;61781:1;61770:13;;;;;;;;;;;;;;61785:6;61792:1;61785:9;;;;;;;;;;;;;;61761:8;:34::i;:::-;;61747:3;;;;;;;61704:99;;;;61816:4;61809:11;;61488:338;;;;:::o;57110:50::-;;;;;;;;;;;;;;;;;:::o;59355:305::-;59403:4;59416:15;59434:12;:10;:12::i;:::-;59416:30;;59489:6;59461:15;:24;59477:7;59461:24;;;;;;;;;;;;;;;;:34;;59453:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59558:36;59587:6;59558:15;:24;59574:7;59558:24;;;;;;;;;;;;;;;;:28;;:36;;;;:::i;:::-;59531:15;:24;59547:7;59531:24;;;;;;;;;;;;;;;:63;;;;59620:7;59606:30;;;59629:6;59606:30;;;;;;;;;;;;;;;;;;59650:4;59643:11;;;59355:305;;;:::o;12965:110::-;13022:7;13049:9;:18;13059:7;13049:18;;;;;;;;;;;;;;;;13042:25;;12965:110;;;:::o;47529:140::-;46930:9;:7;:9::i;:::-;46922:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47628:1;47591:40;;47612:6;;;;;;;;;;;47591:40;;;;;;;;;;;;47659:1;47642:6;;:19;;;;;;;;;;;;;;;;;;47529:140::o;48731:24::-;;;;:::o;37264:87::-;37307:7;37334:9;;;;;;;;;;;37327:16;;37264:87;:::o;48760:28::-;;;;;;;;;;;;;:::o;40927:211::-;40993:7;41035:12;:10;:12::i;:::-;41021:26;;:10;:26;;;41013:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41106:24;41122:7;;41106:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;41106:24:0;;;;;;:15;:24::i;:::-;41099:31;;40927:211;;;;:::o;57018:19::-;;;;;;;;;;;;;:::o;50963:597::-;51270:7;51279:12;51303:11;51316:17;51337:41;51356:4;51362:15;;51337:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;51337:41:0;;;;;;:18;:41::i;:::-;51302:76;;;;51391:6;51387:166;;;51418:51;51449:4;51455:12;51438:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;51438:30:0;;;51418:19;:51::i;:::-;51410:59;;;;;;;;51387:166;51503:40;48724:2;51503:18;:40::i;:::-;51496:47;;;;;;50963:597;;;;;;;;;;;;;;;:::o;58305:142::-;58370:7;58393:48;58416:15;:24;58432:7;58416:24;;;;;;;;;;;;;;;;58393:18;58403:7;58393:9;:18::i;:::-;:22;;:48;;;;:::i;:::-;58386:55;;58305:142;;;:::o;46718:79::-;46756:7;46783:6;;;;;;;;;;;46776:13;;46718:79;:::o;47084:94::-;47124:4;47164:6;;;;;;;;;;;47148:22;;:12;:10;:12::i;:::-;:22;;;47141:29;;47084:94;:::o;63150:132::-;46930:9;:7;:9::i;:::-;46922:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63230:7;63217:10;;:20;;;;;;;;;;;;;;;;;;63249:27;63268:7;63249:27;;;;;;;;;;;;;;;;;;;;;;63150:132;:::o;3794:87::-;3833:13;3866:7;3859:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3794:87;:::o;56926:51::-;;;;;;;;;;;;;;;;;;;;;;:::o;64153:284::-;57653:7;:5;:7::i;:::-;57637:23;;:12;:10;:12::i;:::-;:23;;;:53;;;;57680:10;;;;;;;;;;;57664:26;;:12;:10;:12::i;:::-;:26;;;57637:53;57629:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64282:6;:13;64261:10;:17;:34;64253:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64340:9;64352:1;64340:13;;64335:97;64359:10;:17;64355:1;:21;64335:97;;;64392:32;64399:10;64410:1;64399:13;;;;;;;;;;;;;;64414:6;64421:1;64414:9;;;;;;;;;;;;;;64392:6;:32::i;:::-;64378:3;;;;;;;64335:97;;;;64153:284;;:::o;15840:261::-;15925:4;15942:129;15951:12;:10;:12::i;:::-;15965:7;15974:96;16013:15;15974:96;;;;;;;;;;;;;;;;;:11;:25;15986:12;:10;:12::i;:::-;15974:25;;;;;;;;;;;;;;;:34;16000:7;15974:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;15942:8;:129::i;:::-;16089:4;16082:11;;15840:261;;;;:::o;61021:222::-;61090:4;61146:6;61111:31;61129:12;:10;:12::i;:::-;61111:17;:31::i;:::-;:41;;61103:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61204:33;61219:9;61230:6;61204:14;:33::i;:::-;61197:40;;61021:222;;;;:::o;38522:230::-;38570:13;38730:14;;;;;;;;;;;;;;;;;;;38522:230;:::o;56893:28::-;;;;;;;;;;;;;:::o;62694:315::-;46930:9;:7;:9::i;:::-;46922:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62762:11;;;;;;;;;;;62761:12;62753:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62833:1;62816:19;;:5;:19;;;;62808:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62874:5;62867:4;;:12;;;;;;;;;;;;;;;;;;62905:4;62886:16;;:23;;;;;;;;;;;;;;;;;;62921:22;62938:4;62921:22;;;;;;;;;;;;;;;;;;;;;;62964:4;62950:11;;:18;;;;;;;;;;;;;;;;;;62980:23;62997:5;62980:23;;;;;;;;;;;;;;;;;;;;;;62694:315;:::o;57042:25::-;;;;;;;;;;;;;:::o;58801:305::-;58847:4;58860:15;58878:12;:10;:12::i;:::-;58860:30;;58935:6;58905:26;58923:7;58905:17;:26::i;:::-;:36;;58897:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59006:36;59035:6;59006:15;:24;59022:7;59006:24;;;;;;;;;;;;;;;;:28;;:36;;;;:::i;:::-;58979:15;:24;58995:7;58979:24;;;;;;;;;;;;;;;:63;;;;59066:7;59054:28;;;59075:6;59054:28;;;;;;;;;;;;;;;;;;59096:4;59089:11;;;58801:305;;;:::o;13509:134::-;13581:7;13608:11;:18;13620:5;13608:18;;;;;;;;;;;;;;;:27;13627:7;13608:27;;;;;;;;;;;;;;;;13601:34;;13509:134;;;;:::o;41787:277::-;41933:12;:10;:12::i;:::-;41919:26;;:10;:26;;;41911:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41997:59;42014:7;;41997:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;41997:59:0;;;;;;42023:7;42032:12;42046:9;41997:16;:59::i;:::-;41787:277;;;;;:::o;51732:242::-;51804:4;46930:9;:7;:9::i;:::-;46922:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51847:1;51825:24;;:10;:24;;;;51817:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51900:10;51884:13;;:26;;;;;;;;;;;;;;;;;;51922:28;51939:10;51922:28;;;;;;;;;;;;;;;;;;;;;;51964:4;51957:11;;51732:242;;;:::o;47824:109::-;46930:9;:7;:9::i;:::-;46922:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47897:28;47916:8;47897:18;:28::i;:::-;47824:109;:::o;62037:162::-;62101:4;46930:9;:7;:9::i;:::-;46922:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62133:6;62114:16;;:25;;;;;;;;;;;;;;;;;;62151:24;62168:6;62151:24;;;;;;;;;;;;;;;;;;;;;;62189:4;62182:11;;62037:162;;;:::o;48886:25::-;;;;;;;;;;;;;:::o;39724:216::-;39769:15;39815:9;;;;;;;;;;;39801:23;;:10;:23;;;39797:136;;39848:10;39841:17;;;;39797:136;39898:23;:21;:23::i;:::-;39891:30;;39724:216;;:::o;18771:338::-;18882:1;18865:19;;:5;:19;;;;18857:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18963:1;18944:21;;:7;:21;;;;18936:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19047:6;19017:11;:18;19029:5;19017:18;;;;;;;;;;;;;;;:27;19036:7;19017:27;;;;;;;;;;;;;;;:36;;;;19085:7;19069:32;;19078:5;19069:32;;;19094:6;19069:32;;;;;;;;;;;;;;;;;;18771:338;;;:::o;6643:181::-;6701:7;6721:9;6737:1;6733;:5;6721:17;;6762:1;6757;:6;;6749:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6815:1;6808:8;;;6643:181;;;;:::o;16591:471::-;16707:1;16689:20;;:6;:20;;;;16681:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16791:1;16770:23;;:9;:23;;;;16762:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16866;16888:6;16866:71;;;;;;;;;;;;;;;;;:9;:17;16876:6;16866:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;16846:9;:17;16856:6;16846:17;;;;;;;;;;;;;;;:91;;;;16971:32;16996:6;16971:9;:20;16981:9;16971:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;16948:9;:20;16958:9;16948:20;;;;;;;;;;;;;;;:55;;;;17036:9;17019:35;;17028:6;17019:35;;;17047:6;17019:35;;;;;;;;;;;;;;;;;;16591:471;;;:::o;14414:304::-;14503:4;14520:36;14530:6;14538:9;14549:6;14520:9;:36::i;:::-;14567:121;14576:6;14584:12;:10;:12::i;:::-;14598:89;14636:6;14598:89;;;;;;;;;;;;;;;;;:11;:19;14610:6;14598:19;;;;;;;;;;;;;;;:33;14618:12;:10;:12::i;:::-;14598:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;14567:8;:121::i;:::-;14706:4;14699:11;;14414:304;;;;;:::o;17343:308::-;17438:1;17419:21;;:7;:21;;;;17411:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17504:24;17521:6;17504:12;;:16;;:24;;;;:::i;:::-;17489:12;:39;;;;17560:30;17583:6;17560:9;:18;17570:7;17560:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;17539:9;:18;17549:7;17539:18;;;;;;;;;;;;;;;:51;;;;17627:7;17606:37;;17623:1;17606:37;;;17636:6;17606:37;;;;;;;;;;;;;;;;;;17343:308;;:::o;7099:136::-;7157:7;7184:43;7188:1;7191;7184:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;7177:50;;7099:136;;;;:::o;52790:452::-;52855:7;52872:12;52886:17;52918:7;52907:36;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;52907:36:0;;;;;;;;;;;;;;;;;;;;;;;;;52871:72;;;;53056:12;53052:169;;;53097:5;;;;;;;;;;;:18;;;53116:4;53122:13;;;;;;;;;;;53137:9;;53097:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53097:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53097:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;53097:50:0;;;;;;;;;;;;;;;;53079:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53052:169;53227:9;;;;;52790:452;;;:::o;65361:1665::-;65471:11;65484:17;65510;65530:4;65510:24;;65541:23;65567;65585:4;65567:17;:23::i;:::-;65541:49;;65619:9;;65601:15;:27;65597:1424;;;65714:5;65699:20;;65728:15;65746:30;65757:15;65774:1;65746:10;:30::i;:::-;65728:48;;65808:28;;;;;;;;;;;;;;;;;;;65789:48;;;:8;:48;;;;65785:1179;;;65922:14;65939:58;65981:15;65947:28;65956:15;65973:1;65947:8;:28::i;:::-;65939:41;;:58;;;;:::i;:::-;65922:75;;66026:9;;66016:6;:19;;66037:12;66008:42;;;;;;;;;;65785:1179;66089:50;;;;;;;;;;;;;;;;;;;66070:70;;;:8;:70;;;;66066:898;;;66153:14;66178:28;66187:15;66204:1;66178:8;:28::i;:::-;66153:54;;66218:17;66246:28;66255:15;66272:1;66246:8;:28::i;:::-;66218:57;;66286:14;66303:28;66312:15;66329:1;66303:8;:28::i;:::-;66286:45;;66344:11;66371:4;66358:17;;:9;:17;;;:125;;;;;66474:9;66464:19;;:6;:19;;;;66358:125;:262;;;;;66611:9;;66580:27;66591:15;66580:6;:10;;:27;;;;:::i;:::-;:40;;66358:262;:378;;;;;66730:6;66701:25;66719:6;66701:17;:25::i;:::-;:35;;66358:378;:426;;;;;66778:6;66751:23;66761:6;66769:4;66751:9;:23::i;:::-;:33;;66358:426;66344:440;;66803:6;66811:12;66795:29;;;;;;;;;;;;;66066:898;66934:5;66941:12;66926:28;;;;;;;;;65597:1424;66994:4;67000:12;66986:27;;;;;;65361:1665;;;;;;:::o;42968:155::-;43042:7;43051:12;36785:1;43107:7;43076:39;;;;42968:155;;;:::o;43259:158::-;43329:7;43338:12;43395:9;36842:2;43371:33;43363:46;;;;;;;;;;;;;;;;43259:158;;;:::o;7572:192::-;7658:7;7691:1;7686;:6;;7694:12;7678: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;7678:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7718:9;7734:1;7730;:5;7718:17;;7755:1;7748:8;;;7572:192;;;;;:::o;13288:158::-;13357:4;13374:42;13384:12;:10;:12::i;:::-;13398:9;13409:6;13374:9;:42::i;:::-;13434:4;13427:11;;13288:158;;;;:::o;53248:397::-;53393:12;53407:17;53439:7;53428:36;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;53428:36:0;;;;;;;;;;;;;;;;;;;;;;;;;53392:72;;;;53476:12;53471:169;;53517:5;;;;;;;;;;;:18;;;53536:4;53542:13;;;;;;;;;;;53557:9;;53517:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53517:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53517:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;53517:50:0;;;;;;;;;;;;;;;;53499:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53471:169;53248:397;;;;;;:::o;48039:229::-;48133:1;48113:22;;:8;:22;;;;48105:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48223:8;48194:38;;48215:6;;;;;;;;;;;48194:38;;;;;;;;;;;;48252:8;48243:6;;:17;;;;;;;;;;;;;;;;;;48039:229;:::o;43933:1270::-;43988:22;44806:18;44827:8;;44806:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;44806:29:0;;;;;;;;44846:13;44862:8;;:15;;44846:31;;45118:42;45109:5;45102;45098:17;45092:24;45088:73;45078:83;;45189:6;45182:13;;;;43933:1270;:::o;54009:612::-;54108:13;54169:1;54161:5;:9;54149:1;:8;:21;;54133:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54297:2;54288:11;;;;54391:5;54388:1;54384:13;54378:20;54368:30;;54522:66;54514:6;54510:79;54500:89;;54609:6;54602:13;;54009:612;;;;:::o;56535:140::-;56610:7;56633:36;56645:7;56666:2;56658:5;:10;56654:1;:14;56633:11;:36::i;:::-;56626:43;;56535:140;;;;:::o;55794:191::-;55894:14;55937:21;55949:1;55952:5;55937:11;:21::i;:::-;55929:30;;55920:39;;55973:6;55966:13;;55794:191;;;;:::o;54989:435::-;55094:14;55156:2;55148:5;:10;55136:1;:8;:22;;55120:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55290:2;55281:11;;;;55385:5;55382:1;55378:13;55372:20;55362:30;;55412:6;55405:13;;54989:435;;;;:::o

Swarm Source

bzzr://cd8028c49c588b126c1f3747de1debe6b1f287ae0aeded1b6b58346d0c05b341
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.