ETH Price: $3,088.65 (-2.01%)

Contract

0xF3505383b740af8C241f1CF6659619A9c38D0281
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw178714482023-08-08 16:39:23469 days ago1691512763IN
0xF3505383...9c38D0281
0.1 ETH0.0028988234.71644154
Approve125038532021-05-25 13:46:371274 days ago1621950397IN
0xF3505383...9c38D0281
0 ETH0.0019015341

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
178714482023-08-08 16:39:23469 days ago1691512763
0xF3505383...9c38D0281
0.1 ETH
125025802021-05-25 9:03:401274 days ago1621933420  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WrappedPiErc20

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-05-25
*/

/*
https://powerpool.finance/

          wrrrw r wrr
         ppwr rrr wppr0       prwwwrp                                 prwwwrp                   wr0
        rr 0rrrwrrprpwp0      pp   pr  prrrr0 pp   0r  prrrr0  0rwrrr pp   pr  prrrr0  prrrr0    r0
        rrp pr   wr00rrp      prwww0  pp   wr pp w00r prwwwpr  0rw    prwww0  pp   wr pp   wr    r0
        r0rprprwrrrp pr0      pp      wr   pr pp rwwr wr       0r     pp      wr   pr wr   pr    r0
         prwr wrr0wpwr        00        www0   0w0ww    www0   0w     00        www0    www0   0www0
          wrr ww0rrrr

*/

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual 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/token/ERC20/IERC20.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
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/math/SafeMath.sol

pragma solidity >=0.6.0 <0.8.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.
     */
    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.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        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.
     */
    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.6.0 <0.8.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 {ERC20PresetMinterPauser}.
 *
 * 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;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @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. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * 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;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override 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 virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override 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 virtual override 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 virtual 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 virtual 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 virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _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 virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _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 virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _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 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 virtual {
        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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol

pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

// File: contracts/interfaces/PowerIndexNaiveRouterInterface.sol

pragma solidity 0.6.12;

interface PowerIndexNaiveRouterInterface {
  function migrateToNewRouter(
    address _piToken,
    address payable _newRouter,
    address[] memory _tokens
  ) external;

  function piTokenCallback(address sender, uint256 _withdrawAmount) external payable;
}

// File: contracts/interfaces/PowerIndexBasicRouterInterface.sol

pragma solidity 0.6.12;


interface PowerIndexBasicRouterInterface {
  function setVotingAndStaking(address _voting, address _staking) external;

  function setReserveConfig(uint256 _reserveRatio, uint256 _claimRewardsInterval) external;

  function getPiEquivalentForUnderlying(
    uint256 _underlyingAmount,
    IERC20 _underlyingToken,
    uint256 _piTotalSupply
  ) external view returns (uint256);

  function getPiEquivalentForUnderlyingPure(
    uint256 _underlyingAmount,
    uint256 _totalUnderlyingWrapped,
    uint256 _piTotalSupply
  ) external pure returns (uint256);

  function getUnderlyingEquivalentForPi(
    uint256 _piAmount,
    IERC20 _underlyingToken,
    uint256 _piTotalSupply
  ) external view returns (uint256);

  function getUnderlyingEquivalentForPiPure(
    uint256 _piAmount,
    uint256 _totalUnderlyingWrapped,
    uint256 _piTotalSupply
  ) external pure returns (uint256);
}

// File: contracts/interfaces/WrappedPiErc20Interface.sol

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;


interface WrappedPiErc20Interface is IERC20 {
  function deposit(uint256 _amount) external payable returns (uint256);

  function withdraw(uint256 _amount) external payable returns (uint256);

  function changeRouter(address _newRouter) external;

  function setEthFee(uint256 _newEthFee) external;

  function withdrawEthFee(address payable receiver) external;

  function approveUnderlying(address _to, uint256 _amount) external;

  function callExternal(
    address voting,
    bytes4 signature,
    bytes calldata args,
    uint256 value
  ) external;

  struct ExternalCallData {
    address destination;
    bytes4 signature;
    bytes args;
    uint256 value;
  }

  function callExternalMultiple(ExternalCallData[] calldata calls) external;

  function getUnderlyingBalance() external view returns (uint256);
}

// File: contracts/powerindex-router/WrappedPiErc20.sol

pragma solidity 0.6.12;

contract WrappedPiErc20 is ERC20, ReentrancyGuard, WrappedPiErc20Interface {
  using SafeMath for uint256;
  using SafeERC20 for IERC20;

  IERC20 public immutable underlying;
  address public router;
  uint256 public ethFee;

  event Deposit(address indexed account, uint256 undelyingDeposited, uint256 piMinted);
  event Withdraw(address indexed account, uint256 underlyingWithdrawn, uint256 piBurned);
  event Approve(address indexed to, uint256 amount);
  event ChangeRouter(address indexed newRouter);
  event SetEthFee(uint256 newEthFee);
  event WithdrawEthFee(uint256 value);
  event CallExternal(address indexed destination, bytes4 indexed inputSig, bytes inputData, bytes outputData);

  modifier onlyRouter() {
    require(router == msg.sender, "ONLY_ROUTER");
    _;
  }

  constructor(
    address _token,
    address _router,
    string memory _name,
    string memory _symbol
  ) public ERC20(_name, _symbol) {
    underlying = IERC20(_token);
    router = _router;
  }

  /**
   * @notice Deposits underlying token to the piToken
   * @param _depositAmount The amount to deposit in underlying tokens
   */
  function deposit(uint256 _depositAmount) external payable override nonReentrant returns (uint256) {
    require(msg.value >= ethFee, "FEE");
    require(_depositAmount > 0, "ZERO_DEPOSIT");

    uint256 mintAmount = getPiEquivalentForUnderlying(_depositAmount);
    require(mintAmount > 0, "ZERO_PI_FOR_MINT");

    underlying.safeTransferFrom(_msgSender(), address(this), _depositAmount);
    _mint(_msgSender(), mintAmount);

    emit Deposit(_msgSender(), _depositAmount, mintAmount);

    PowerIndexNaiveRouterInterface(router).piTokenCallback{ value: msg.value }(msg.sender, 0);

    return mintAmount;
  }

  /**
   * @notice Withdraws underlying token from the piToken
   * @param _withdrawAmount The amount to withdraw in underlying tokens
   */
  function withdraw(uint256 _withdrawAmount) external payable override nonReentrant returns (uint256) {
    require(msg.value >= ethFee, "FEE");
    require(_withdrawAmount > 0, "ZERO_WITHDRAWAL");

    PowerIndexNaiveRouterInterface(router).piTokenCallback{ value: msg.value }(msg.sender, _withdrawAmount);

    uint256 burnAmount = getPiEquivalentForUnderlying(_withdrawAmount);
    require(burnAmount > 0, "ZERO_PI_FOR_BURN");

    _burn(_msgSender(), burnAmount);
    underlying.safeTransfer(_msgSender(), _withdrawAmount);

    emit Withdraw(_msgSender(), _withdrawAmount, burnAmount);

    return burnAmount;
  }

  function getPiEquivalentForUnderlying(uint256 _underlyingAmount) public view returns (uint256) {
    return
      PowerIndexBasicRouterInterface(router).getPiEquivalentForUnderlying(_underlyingAmount, underlying, totalSupply());
  }

  function getUnderlyingEquivalentForPi(uint256 _piAmount) public view returns (uint256) {
    return PowerIndexBasicRouterInterface(router).getUnderlyingEquivalentForPi(_piAmount, underlying, totalSupply());
  }

  function balanceOfUnderlying(address account) external view returns (uint256) {
    return getUnderlyingEquivalentForPi(balanceOf(account));
  }

  function totalSupplyUnderlying() external view returns (uint256) {
    return getUnderlyingEquivalentForPi(totalSupply());
  }

  function changeRouter(address _newRouter) external override onlyRouter {
    router = _newRouter;
    emit ChangeRouter(router);
  }

  function setEthFee(uint256 _ethFee) external override onlyRouter {
    ethFee = _ethFee;
    emit SetEthFee(_ethFee);
  }

  function withdrawEthFee(address payable _receiver) external override onlyRouter {
    emit WithdrawEthFee(address(this).balance);
    _receiver.transfer(address(this).balance);
  }

  function approveUnderlying(address _to, uint256 _amount) external override onlyRouter {
    underlying.approve(_to, _amount);
    emit Approve(_to, _amount);
  }

  function callExternal(
    address _destination,
    bytes4 _signature,
    bytes calldata _args,
    uint256 _value
  ) external override onlyRouter {
    _callExternal(_destination, _signature, _args, _value);
  }

  function callExternalMultiple(ExternalCallData[] calldata _calls) external override onlyRouter {
    uint256 len = _calls.length;
    for (uint256 i = 0; i < len; i++) {
      _callExternal(_calls[i].destination, _calls[i].signature, _calls[i].args, _calls[i].value);
    }
  }

  function getUnderlyingBalance() external view override returns (uint256) {
    return underlying.balanceOf(address(this));
  }

  function _callExternal(
    address _destination,
    bytes4 _signature,
    bytes calldata _args,
    uint256 _value
  ) internal {
    (bool success, bytes memory data) = _destination.call{ value: _value }(abi.encodePacked(_signature, _args));

    if (!success) {
      assembly {
        let output := mload(0x40)
        let size := returndatasize()
        switch size
          case 0 {
            // If there is no revert reason string, revert with the default `REVERTED_WITH_NO_REASON_STRING`
            mstore(output, 0x08c379a000000000000000000000000000000000000000000000000000000000) // error identifier
            mstore(add(output, 0x04), 0x0000000000000000000000000000000000000000000000000000000000000020) // offset
            mstore(add(output, 0x24), 0x000000000000000000000000000000000000000000000000000000000000001e) // length
            mstore(add(output, 0x44), 0x52455645525445445f574954485f4e4f5f524541534f4e5f535452494e470000) // reason
            revert(output, 100) // 100 = 4 + 3 * 32 (error identifier + 3 words for the ABI encoded error)
          }
          default {
            // If there is a revert reason string hijacked, revert with it
            revert(add(data, 32), size)
          }
      }
    }

    emit CallExternal(_destination, _signature, _args, data);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"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":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approve","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"destination","type":"address"},{"indexed":true,"internalType":"bytes4","name":"inputSig","type":"bytes4"},{"indexed":false,"internalType":"bytes","name":"inputData","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"outputData","type":"bytes"}],"name":"CallExternal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newRouter","type":"address"}],"name":"ChangeRouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"undelyingDeposited","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"piMinted","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newEthFee","type":"uint256"}],"name":"SetEthFee","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":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"underlyingWithdrawn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"piBurned","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"WithdrawEthFee","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approveUnderlying","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_destination","type":"address"},{"internalType":"bytes4","name":"_signature","type":"bytes4"},{"internalType":"bytes","name":"_args","type":"bytes"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"callExternal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"bytes4","name":"signature","type":"bytes4"},{"internalType":"bytes","name":"args","type":"bytes"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct WrappedPiErc20Interface.ExternalCallData[]","name":"_calls","type":"tuple[]"}],"name":"callExternalMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRouter","type":"address"}],"name":"changeRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_depositAmount","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ethFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"}],"name":"getPiEquivalentForUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnderlyingBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_piAmount","type":"uint256"}],"name":"getUnderlyingEquivalentForPi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ethFee","type":"uint256"}],"name":"setEthFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"underlying","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawAmount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_receiver","type":"address"}],"name":"withdrawEthFee","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506040516200236a3803806200236a8339810160408190526200003491620001f7565b8151829082906200004d906003906020850190620000b4565b50805162000063906004906020840190620000b4565b505060058054601260ff19909116179055505060016006555060609190911b6001600160601b031916608052600780546001600160a01b0319166001600160a01b03909216919091179055620002a2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620000f757805160ff191683800117855562000127565b8280016001018555821562000127579182015b82811115620001275782518255916020019190600101906200010a565b506200013592915062000139565b5090565b5b808211156200013557600081556001016200013a565b600082601f83011262000161578081fd5b81516001600160401b038082111562000178578283fd5b6040516020601f8401601f19168201810183811183821017156200019a578586fd5b80604052508194508382528681858801011115620001b757600080fd5b600092505b83831015620001db5785830181015182840182015291820191620001bc565b83831115620001ed5760008185840101525b5050505092915050565b600080600080608085870312156200020d578384fd5b84516200021a8162000289565b60208601519094506200022d8162000289565b60408601519093506001600160401b03808211156200024a578384fd5b620002588883890162000150565b935060608701519150808211156200026e578283fd5b506200027d8782880162000150565b91505092959194509250565b6001600160a01b03811681146200029f57600080fd5b50565b60805160601c61208c620002de6000398061073f528061092752806109be5280610aef5280610bc45280610ecc5280610f97525061208c6000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063ce50c7561161008a578063e2c6743911610064578063e2c6743914610471578063e57ae51714610486578063f887ea40146104a6578063fea61faa146104bb5761019c565b8063ce50c75614610411578063d1e40b5514610431578063dd62ed3e146104515761019c565b8063a9059cbb116100c6578063a9059cbb1461039e578063b54c4753146103be578063b6b55f25146103de578063b85cefc9146103f15761019c565b806370a082311461034957806395d89b4114610369578063a457c2d71461037e5761019c565b8063340ac20f116101595780633f6738a9116101335780633f6738a9146102d25780634cf1115d146102f25780636dd2f37c146103075780636f307dc3146103275761019c565b8063340ac20f1461027057806339509351146102925780633af9e669146102b25761019c565b806306fdde03146101a1578063095ea7b3146101cc57806318160ddd146101f957806323b872dd1461021b5780632e1a7d4d1461023b578063313ce5671461024e575b600080fd5b3480156101ad57600080fd5b506101b66104d0565b6040516101c39190611b0f565b60405180910390f35b3480156101d857600080fd5b506101ec6101e73660046118fa565b610566565b6040516101c39190611abd565b34801561020557600080fd5b5061020e610583565b6040516101c39190611ec2565b34801561022757600080fd5b506101ec610236366004611825565b610589565b61020e6102493660046119d0565b610611565b34801561025a57600080fd5b506102636107bb565b6040516101c39190611ef8565b34801561027c57600080fd5b5061029061028b3660046117d1565b6107c4565b005b34801561029e57600080fd5b506101ec6102ad3660046118fa565b61083e565b3480156102be57600080fd5b5061020e6102cd3660046117d1565b61088c565b3480156102de57600080fd5b506102906102ed3660046119d0565b6108a0565b3480156102fe57600080fd5b5061020e61090a565b34801561031357600080fd5b5061020e6103223660046119d0565b610910565b34801561033357600080fd5b5061033c6109bc565b6040516101c39190611a6c565b34801561035557600080fd5b5061020e6103643660046117d1565b6109e0565b34801561037557600080fd5b506101b66109fb565b34801561038a57600080fd5b506101ec6103993660046118fa565b610a5c565b3480156103aa57600080fd5b506101ec6103b93660046118fa565b610ac4565b3480156103ca57600080fd5b5061020e6103d93660046119d0565b610ad8565b61020e6103ec3660046119d0565b610b16565b3480156103fd57600080fd5b5061029061040c3660046117d1565b610cba565b34801561041d57600080fd5b5061029061042c366004611925565b610d54565b34801561043d57600080fd5b5061029061044c366004611865565b610e49565b34801561045d57600080fd5b5061020e61046c3660046117ed565b610e87565b34801561047d57600080fd5b5061020e610eb2565b34801561049257600080fd5b506102906104a13660046118fa565b610f56565b3480156104b257600080fd5b5061033c611066565b3480156104c757600080fd5b5061020e611075565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055c5780601f106105315761010080835404028352916020019161055c565b820191906000526020600020905b81548152906001019060200180831161053f57829003601f168201915b5050505050905090565b600061057a610573611082565b8484611086565b50600192915050565b60025490565b600061059684848461113a565b610606846105a2611082565b6106018560405180606001604052806028815260200161200a602891396001600160a01b038a166000908152600160205260408120906105e0611082565b6001600160a01b03168152602081019190915260400160002054919061124f565b611086565b5060015b9392505050565b60006002600654141561063f5760405162461bcd60e51b815260040161063690611e2b565b60405180910390fd5b60026006556008543410156106665760405162461bcd60e51b815260040161063690611c9d565b600082116106865760405162461bcd60e51b815260040161063690611e62565b600754604051637d52f48b60e01b81526001600160a01b0390911690637d52f48b9034906106ba9033908790600401611a80565b6000604051808303818588803b1580156106d357600080fd5b505af11580156106e7573d6000803e3d6000fd5b505050505060006106f783610910565b9050600081116107195760405162461bcd60e51b815260040161063690611c08565b61072a610724611082565b8261127b565b610766610735611082565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016908561135d565b61076e611082565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56884836040516107a8929190611eea565b60405180910390a2600160065592915050565b60055460ff1690565b6007546001600160a01b031633146107ee5760405162461bcd60e51b815260040161063690611c32565b600780546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f9dd0d31c5942a38bf92491447ea9a3ca6ac9f7477f4fdb7492346525a78284bd90600090a250565b600061057a61084b611082565b84610601856001600061085c611082565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906113b8565b600061089a6103d9836109e0565b92915050565b6007546001600160a01b031633146108ca5760405162461bcd60e51b815260040161063690611c32565b60088190556040517f33e6be91f228f4ecdac5071e0080def67f51b16bd8c191dfe7e3439cc96bb73f906108ff908390611ec2565b60405180910390a150565b60085481565b6007546000906001600160a01b031663b41cae15837f000000000000000000000000000000000000000000000000000000000000000061094e610583565b6040518463ffffffff1660e01b815260040161096c93929190611ecb565b60206040518083038186803b15801561098457600080fd5b505afa158015610998573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a91906119e8565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055c5780601f106105315761010080835404028352916020019161055c565b600061057a610a69611082565b84610601856040518060600160405280602581526020016120326025913960016000610a93611082565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061124f565b600061057a610ad1611082565b848461113a565b6007546000906001600160a01b03166361bc8e3d837f000000000000000000000000000000000000000000000000000000000000000061094e610583565b600060026006541415610b3b5760405162461bcd60e51b815260040161063690611e2b565b6002600655600854341015610b625760405162461bcd60e51b815260040161063690611c9d565b60008211610b825760405162461bcd60e51b815260040161063690611cba565b6000610b8d83610910565b905060008111610baf5760405162461bcd60e51b815260040161063690611b65565b610bec610bba611082565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169030866113dd565b610bfd610bf7611082565b826113fe565b610c05611082565b6001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a158483604051610c3f929190611eea565b60405180910390a2600754604051637d52f48b60e01b81526001600160a01b0390911690637d52f48b903490610c7c903390600090600401611a80565b6000604051808303818588803b158015610c9557600080fd5b505af1158015610ca9573d6000803e3d6000fd5b505060016006555091949350505050565b6007546001600160a01b03163314610ce45760405162461bcd60e51b815260040161063690611c32565b7f15662c623742fc431ec5e8f5f9043b7c827077b816521eb3a5a7c24473eec19747604051610d139190611ec2565b60405180910390a16040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610d50573d6000803e3d6000fd5b5050565b6007546001600160a01b03163314610d7e5760405162461bcd60e51b815260040161063690611c32565b8060005b81811015610e4357610e3b848483818110610d9957fe5b9050602002810190610dab9190611f52565b610db99060208101906117d1565b858584818110610dc557fe5b9050602002810190610dd79190611f52565b610de89060408101906020016119b4565b868685818110610df457fe5b9050602002810190610e069190611f52565b610e14906040810190611f06565b888887818110610e2057fe5b9050602002810190610e329190611f52565b606001356114b2565b600101610d82565b50505050565b6007546001600160a01b03163314610e735760405162461bcd60e51b815260040161063690611c32565b610e8085858585856114b2565b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610f01903090600401611a6c565b60206040518083038186803b158015610f1957600080fd5b505afa158015610f2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5191906119e8565b905090565b6007546001600160a01b03163314610f805760405162461bcd60e51b815260040161063690611c32565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390610fce9085908590600401611a80565b602060405180830381600087803b158015610fe857600080fd5b505af1158015610ffc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110209190611994565b50816001600160a01b03167f90ec57f18fa7b15c6b8d5e4d1deb90796c74b2ff23d4d0cecad0cb42a96b31288260405161105a9190611ec2565b60405180910390a25050565b6007546001600160a01b031681565b6000610f516103d9610583565b3390565b6001600160a01b0383166110ac5760405162461bcd60e51b815260040161063690611d66565b6001600160a01b0382166110d25760405162461bcd60e51b815260040161063690611b8f565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061112d908590611ec2565b60405180910390a3505050565b6001600160a01b0383166111605760405162461bcd60e51b815260040161063690611d21565b6001600160a01b0382166111865760405162461bcd60e51b815260040161063690611b22565b6111918383836113b3565b6111ce81604051806060016040528060268152602001611fe4602691396001600160a01b038616600090815260208190526040902054919061124f565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546111fd90826113b8565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061112d908590611ec2565b600081848411156112735760405162461bcd60e51b81526004016106369190611b0f565b505050900390565b6001600160a01b0382166112a15760405162461bcd60e51b815260040161063690611ce0565b6112ad826000836113b3565b6112ea81604051806060016040528060228152602001611fc2602291396001600160a01b038516600090815260208190526040902054919061124f565b6001600160a01b03831660009081526020819052604090205560025461131090826115e9565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611351908590611ec2565b60405180910390a35050565b6113b38363a9059cbb60e01b848460405160240161137c929190611a80565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261162b565b505050565b60008282018381101561060a5760405162461bcd60e51b815260040161063690611bd1565b610e43846323b872dd60e01b85858560405160240161137c93929190611a99565b6001600160a01b0382166114245760405162461bcd60e51b815260040161063690611e8b565b611430600083836113b3565b60025461143d90826113b8565b6002556001600160a01b03821660009081526020819052604090205461146390826113b8565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611351908590611ec2565b60006060866001600160a01b0316838787876040516020016114d693929190611a2c565b60408051601f19818403018152908290526114f091611a50565b60006040518083038185875af1925050503d806000811461152d576040519150601f19603f3d011682016040523d82523d6000602084013e611532565b606091505b509150915081611590576040513d80801561154e578160208501fd5b62461bcd60e51b835260206004840152601e60248401527f52455645525445445f574954485f4e4f5f524541534f4e5f535452494e4700006044840152606483fd5b856001600160e01b031916876001600160a01b03167f0f5c7afd652bed619c508171badaca3c2b8c33a010e9eb6152f715203f5c221f8787856040516115d893929190611ac8565b60405180910390a350505050505050565b600061060a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061124f565b6060611680826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116ba9092919063ffffffff16565b8051909150156113b3578080602001905181019061169e9190611994565b6113b35760405162461bcd60e51b815260040161063690611de1565b60606116c984846000856116d1565b949350505050565b6060824710156116f35760405162461bcd60e51b815260040161063690611c57565b6116fc85611792565b6117185760405162461bcd60e51b815260040161063690611daa565b60006060866001600160a01b031685876040516117359190611a50565b60006040518083038185875af1925050503d8060008114611772576040519150601f19603f3d011682016040523d82523d6000602084013e611777565b606091505b5091509150611787828286611798565b979650505050505050565b3b151590565b606083156117a757508161060a565b8251156117b75782518084602001fd5b8160405162461bcd60e51b81526004016106369190611b0f565b6000602082840312156117e2578081fd5b813561060a81611f93565b600080604083850312156117ff578081fd5b823561180a81611f93565b9150602083013561181a81611f93565b809150509250929050565b600080600060608486031215611839578081fd5b833561184481611f93565b9250602084013561185481611f93565b929592945050506040919091013590565b60008060008060006080868803121561187c578081fd5b853561188781611f93565b9450602086013561189781611fab565b9350604086013567ffffffffffffffff808211156118b3578283fd5b818801915088601f8301126118c6578283fd5b8135818111156118d4578384fd5b8960208285010111156118e5578384fd5b96999598505060200195606001359392505050565b6000806040838503121561190c578182fd5b823561191781611f93565b946020939093013593505050565b60008060208385031215611937578182fd5b823567ffffffffffffffff8082111561194e578384fd5b818501915085601f830112611961578384fd5b81358181111561196f578485fd5b8660208083028501011115611982578485fd5b60209290920196919550909350505050565b6000602082840312156119a5578081fd5b8151801515811461060a578182fd5b6000602082840312156119c5578081fd5b813561060a81611fab565b6000602082840312156119e1578081fd5b5035919050565b6000602082840312156119f9578081fd5b5051919050565b60008151808452611a18816020860160208601611f67565b601f01601f19169290920160200192915050565b6001600160e01b031984168152600082846004840137910160040190815292915050565b60008251611a62818460208701611f67565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b901515815260200190565b600060408252836040830152838560608401378060608584010152601f19601f85011682016060838203016020840152611b056060820185611a00565b9695505050505050565b60006020825261060a6020830184611a00565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526010908201526f16915493d7d41257d193d497d352539560821b604082015260600190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526010908201526f2d22a927afa824afa327a92fa12aa92760811b604082015260600190565b6020808252600b908201526a27a7262cafa927aaaa22a960a91b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526003908201526246454560e81b604082015260600190565b6020808252600c908201526b16915493d7d1115413d4d25560a21b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600f908201526e16915493d7d5d2551211149055d053608a1b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9283526001600160a01b03919091166020830152604082015260600190565b918252602082015260400190565b60ff91909116815260200190565b6000808335601e19843603018112611f1c578283fd5b83018035915067ffffffffffffffff821115611f36578283fd5b602001915036819003821315611f4b57600080fd5b9250929050565b60008235607e19833603018112611a62578182fd5b60005b83811015611f82578181015183820152602001611f6a565b83811115610e435750506000910152565b6001600160a01b0381168114611fa857600080fd5b50565b6001600160e01b031981168114611fa857600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200b935c80a7b5814ad8bf20e48dc3de2e5e8c85e74d9564a51fc3eccb2615055a64736f6c634300060c00330000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe200000000000000000000000099655673c57a29518c60775252716c320a9e7d2f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000011506f77657220496e64657820537573686900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000077069537573686900000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061019c5760003560e01c806370a08231116100ec578063ce50c7561161008a578063e2c6743911610064578063e2c6743914610471578063e57ae51714610486578063f887ea40146104a6578063fea61faa146104bb5761019c565b8063ce50c75614610411578063d1e40b5514610431578063dd62ed3e146104515761019c565b8063a9059cbb116100c6578063a9059cbb1461039e578063b54c4753146103be578063b6b55f25146103de578063b85cefc9146103f15761019c565b806370a082311461034957806395d89b4114610369578063a457c2d71461037e5761019c565b8063340ac20f116101595780633f6738a9116101335780633f6738a9146102d25780634cf1115d146102f25780636dd2f37c146103075780636f307dc3146103275761019c565b8063340ac20f1461027057806339509351146102925780633af9e669146102b25761019c565b806306fdde03146101a1578063095ea7b3146101cc57806318160ddd146101f957806323b872dd1461021b5780632e1a7d4d1461023b578063313ce5671461024e575b600080fd5b3480156101ad57600080fd5b506101b66104d0565b6040516101c39190611b0f565b60405180910390f35b3480156101d857600080fd5b506101ec6101e73660046118fa565b610566565b6040516101c39190611abd565b34801561020557600080fd5b5061020e610583565b6040516101c39190611ec2565b34801561022757600080fd5b506101ec610236366004611825565b610589565b61020e6102493660046119d0565b610611565b34801561025a57600080fd5b506102636107bb565b6040516101c39190611ef8565b34801561027c57600080fd5b5061029061028b3660046117d1565b6107c4565b005b34801561029e57600080fd5b506101ec6102ad3660046118fa565b61083e565b3480156102be57600080fd5b5061020e6102cd3660046117d1565b61088c565b3480156102de57600080fd5b506102906102ed3660046119d0565b6108a0565b3480156102fe57600080fd5b5061020e61090a565b34801561031357600080fd5b5061020e6103223660046119d0565b610910565b34801561033357600080fd5b5061033c6109bc565b6040516101c39190611a6c565b34801561035557600080fd5b5061020e6103643660046117d1565b6109e0565b34801561037557600080fd5b506101b66109fb565b34801561038a57600080fd5b506101ec6103993660046118fa565b610a5c565b3480156103aa57600080fd5b506101ec6103b93660046118fa565b610ac4565b3480156103ca57600080fd5b5061020e6103d93660046119d0565b610ad8565b61020e6103ec3660046119d0565b610b16565b3480156103fd57600080fd5b5061029061040c3660046117d1565b610cba565b34801561041d57600080fd5b5061029061042c366004611925565b610d54565b34801561043d57600080fd5b5061029061044c366004611865565b610e49565b34801561045d57600080fd5b5061020e61046c3660046117ed565b610e87565b34801561047d57600080fd5b5061020e610eb2565b34801561049257600080fd5b506102906104a13660046118fa565b610f56565b3480156104b257600080fd5b5061033c611066565b3480156104c757600080fd5b5061020e611075565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055c5780601f106105315761010080835404028352916020019161055c565b820191906000526020600020905b81548152906001019060200180831161053f57829003601f168201915b5050505050905090565b600061057a610573611082565b8484611086565b50600192915050565b60025490565b600061059684848461113a565b610606846105a2611082565b6106018560405180606001604052806028815260200161200a602891396001600160a01b038a166000908152600160205260408120906105e0611082565b6001600160a01b03168152602081019190915260400160002054919061124f565b611086565b5060015b9392505050565b60006002600654141561063f5760405162461bcd60e51b815260040161063690611e2b565b60405180910390fd5b60026006556008543410156106665760405162461bcd60e51b815260040161063690611c9d565b600082116106865760405162461bcd60e51b815260040161063690611e62565b600754604051637d52f48b60e01b81526001600160a01b0390911690637d52f48b9034906106ba9033908790600401611a80565b6000604051808303818588803b1580156106d357600080fd5b505af11580156106e7573d6000803e3d6000fd5b505050505060006106f783610910565b9050600081116107195760405162461bcd60e51b815260040161063690611c08565b61072a610724611082565b8261127b565b610766610735611082565b6001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe216908561135d565b61076e611082565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56884836040516107a8929190611eea565b60405180910390a2600160065592915050565b60055460ff1690565b6007546001600160a01b031633146107ee5760405162461bcd60e51b815260040161063690611c32565b600780546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f9dd0d31c5942a38bf92491447ea9a3ca6ac9f7477f4fdb7492346525a78284bd90600090a250565b600061057a61084b611082565b84610601856001600061085c611082565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906113b8565b600061089a6103d9836109e0565b92915050565b6007546001600160a01b031633146108ca5760405162461bcd60e51b815260040161063690611c32565b60088190556040517f33e6be91f228f4ecdac5071e0080def67f51b16bd8c191dfe7e3439cc96bb73f906108ff908390611ec2565b60405180910390a150565b60085481565b6007546000906001600160a01b031663b41cae15837f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe261094e610583565b6040518463ffffffff1660e01b815260040161096c93929190611ecb565b60206040518083038186803b15801561098457600080fd5b505afa158015610998573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a91906119e8565b7f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe281565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055c5780601f106105315761010080835404028352916020019161055c565b600061057a610a69611082565b84610601856040518060600160405280602581526020016120326025913960016000610a93611082565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061124f565b600061057a610ad1611082565b848461113a565b6007546000906001600160a01b03166361bc8e3d837f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe261094e610583565b600060026006541415610b3b5760405162461bcd60e51b815260040161063690611e2b565b6002600655600854341015610b625760405162461bcd60e51b815260040161063690611c9d565b60008211610b825760405162461bcd60e51b815260040161063690611cba565b6000610b8d83610910565b905060008111610baf5760405162461bcd60e51b815260040161063690611b65565b610bec610bba611082565b6001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2169030866113dd565b610bfd610bf7611082565b826113fe565b610c05611082565b6001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a158483604051610c3f929190611eea565b60405180910390a2600754604051637d52f48b60e01b81526001600160a01b0390911690637d52f48b903490610c7c903390600090600401611a80565b6000604051808303818588803b158015610c9557600080fd5b505af1158015610ca9573d6000803e3d6000fd5b505060016006555091949350505050565b6007546001600160a01b03163314610ce45760405162461bcd60e51b815260040161063690611c32565b7f15662c623742fc431ec5e8f5f9043b7c827077b816521eb3a5a7c24473eec19747604051610d139190611ec2565b60405180910390a16040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610d50573d6000803e3d6000fd5b5050565b6007546001600160a01b03163314610d7e5760405162461bcd60e51b815260040161063690611c32565b8060005b81811015610e4357610e3b848483818110610d9957fe5b9050602002810190610dab9190611f52565b610db99060208101906117d1565b858584818110610dc557fe5b9050602002810190610dd79190611f52565b610de89060408101906020016119b4565b868685818110610df457fe5b9050602002810190610e069190611f52565b610e14906040810190611f06565b888887818110610e2057fe5b9050602002810190610e329190611f52565b606001356114b2565b600101610d82565b50505050565b6007546001600160a01b03163314610e735760405162461bcd60e51b815260040161063690611c32565b610e8085858585856114b2565b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6040516370a0823160e01b81526000906001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe216906370a0823190610f01903090600401611a6c565b60206040518083038186803b158015610f1957600080fd5b505afa158015610f2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5191906119e8565b905090565b6007546001600160a01b03163314610f805760405162461bcd60e51b815260040161063690611c32565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2169063095ea7b390610fce9085908590600401611a80565b602060405180830381600087803b158015610fe857600080fd5b505af1158015610ffc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110209190611994565b50816001600160a01b03167f90ec57f18fa7b15c6b8d5e4d1deb90796c74b2ff23d4d0cecad0cb42a96b31288260405161105a9190611ec2565b60405180910390a25050565b6007546001600160a01b031681565b6000610f516103d9610583565b3390565b6001600160a01b0383166110ac5760405162461bcd60e51b815260040161063690611d66565b6001600160a01b0382166110d25760405162461bcd60e51b815260040161063690611b8f565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061112d908590611ec2565b60405180910390a3505050565b6001600160a01b0383166111605760405162461bcd60e51b815260040161063690611d21565b6001600160a01b0382166111865760405162461bcd60e51b815260040161063690611b22565b6111918383836113b3565b6111ce81604051806060016040528060268152602001611fe4602691396001600160a01b038616600090815260208190526040902054919061124f565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546111fd90826113b8565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061112d908590611ec2565b600081848411156112735760405162461bcd60e51b81526004016106369190611b0f565b505050900390565b6001600160a01b0382166112a15760405162461bcd60e51b815260040161063690611ce0565b6112ad826000836113b3565b6112ea81604051806060016040528060228152602001611fc2602291396001600160a01b038516600090815260208190526040902054919061124f565b6001600160a01b03831660009081526020819052604090205560025461131090826115e9565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611351908590611ec2565b60405180910390a35050565b6113b38363a9059cbb60e01b848460405160240161137c929190611a80565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261162b565b505050565b60008282018381101561060a5760405162461bcd60e51b815260040161063690611bd1565b610e43846323b872dd60e01b85858560405160240161137c93929190611a99565b6001600160a01b0382166114245760405162461bcd60e51b815260040161063690611e8b565b611430600083836113b3565b60025461143d90826113b8565b6002556001600160a01b03821660009081526020819052604090205461146390826113b8565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611351908590611ec2565b60006060866001600160a01b0316838787876040516020016114d693929190611a2c565b60408051601f19818403018152908290526114f091611a50565b60006040518083038185875af1925050503d806000811461152d576040519150601f19603f3d011682016040523d82523d6000602084013e611532565b606091505b509150915081611590576040513d80801561154e578160208501fd5b62461bcd60e51b835260206004840152601e60248401527f52455645525445445f574954485f4e4f5f524541534f4e5f535452494e4700006044840152606483fd5b856001600160e01b031916876001600160a01b03167f0f5c7afd652bed619c508171badaca3c2b8c33a010e9eb6152f715203f5c221f8787856040516115d893929190611ac8565b60405180910390a350505050505050565b600061060a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061124f565b6060611680826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116ba9092919063ffffffff16565b8051909150156113b3578080602001905181019061169e9190611994565b6113b35760405162461bcd60e51b815260040161063690611de1565b60606116c984846000856116d1565b949350505050565b6060824710156116f35760405162461bcd60e51b815260040161063690611c57565b6116fc85611792565b6117185760405162461bcd60e51b815260040161063690611daa565b60006060866001600160a01b031685876040516117359190611a50565b60006040518083038185875af1925050503d8060008114611772576040519150601f19603f3d011682016040523d82523d6000602084013e611777565b606091505b5091509150611787828286611798565b979650505050505050565b3b151590565b606083156117a757508161060a565b8251156117b75782518084602001fd5b8160405162461bcd60e51b81526004016106369190611b0f565b6000602082840312156117e2578081fd5b813561060a81611f93565b600080604083850312156117ff578081fd5b823561180a81611f93565b9150602083013561181a81611f93565b809150509250929050565b600080600060608486031215611839578081fd5b833561184481611f93565b9250602084013561185481611f93565b929592945050506040919091013590565b60008060008060006080868803121561187c578081fd5b853561188781611f93565b9450602086013561189781611fab565b9350604086013567ffffffffffffffff808211156118b3578283fd5b818801915088601f8301126118c6578283fd5b8135818111156118d4578384fd5b8960208285010111156118e5578384fd5b96999598505060200195606001359392505050565b6000806040838503121561190c578182fd5b823561191781611f93565b946020939093013593505050565b60008060208385031215611937578182fd5b823567ffffffffffffffff8082111561194e578384fd5b818501915085601f830112611961578384fd5b81358181111561196f578485fd5b8660208083028501011115611982578485fd5b60209290920196919550909350505050565b6000602082840312156119a5578081fd5b8151801515811461060a578182fd5b6000602082840312156119c5578081fd5b813561060a81611fab565b6000602082840312156119e1578081fd5b5035919050565b6000602082840312156119f9578081fd5b5051919050565b60008151808452611a18816020860160208601611f67565b601f01601f19169290920160200192915050565b6001600160e01b031984168152600082846004840137910160040190815292915050565b60008251611a62818460208701611f67565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b901515815260200190565b600060408252836040830152838560608401378060608584010152601f19601f85011682016060838203016020840152611b056060820185611a00565b9695505050505050565b60006020825261060a6020830184611a00565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526010908201526f16915493d7d41257d193d497d352539560821b604082015260600190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526010908201526f2d22a927afa824afa327a92fa12aa92760811b604082015260600190565b6020808252600b908201526a27a7262cafa927aaaa22a960a91b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526003908201526246454560e81b604082015260600190565b6020808252600c908201526b16915493d7d1115413d4d25560a21b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600f908201526e16915493d7d5d2551211149055d053608a1b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9283526001600160a01b03919091166020830152604082015260600190565b918252602082015260400190565b60ff91909116815260200190565b6000808335601e19843603018112611f1c578283fd5b83018035915067ffffffffffffffff821115611f36578283fd5b602001915036819003821315611f4b57600080fd5b9250929050565b60008235607e19833603018112611a62578182fd5b60005b83811015611f82578181015183820152602001611f6a565b83811115610e435750506000910152565b6001600160a01b0381168114611fa857600080fd5b50565b6001600160e01b031981168114611fa857600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200b935c80a7b5814ad8bf20e48dc3de2e5e8c85e74d9564a51fc3eccb2615055a64736f6c634300060c0033

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

0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe200000000000000000000000099655673c57a29518c60775252716c320a9e7d2f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000011506f77657220496e64657820537573686900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000077069537573686900000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _token (address): 0x6B3595068778DD592e39A122f4f5a5cF09C90fE2
Arg [1] : _router (address): 0x99655673C57A29518c60775252716c320A9E7D2f
Arg [2] : _name (string): Power Index Sushi
Arg [3] : _symbol (string): piSushi

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2
Arg [1] : 00000000000000000000000099655673c57a29518c60775252716c320a9e7d2f
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [5] : 506f77657220496e646578205375736869000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 7069537573686900000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

36693:5942:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11967:83;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14073:169;;;;;;;;;;-1:-1:-1;14073:169:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;13042:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;14724:321::-;;;;;;;;;;-1:-1:-1;14724:321:0;;;;;:::i;:::-;;:::i;38629:631::-;;;;;;:::i;:::-;;:::i;12894:83::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40011:135::-;;;;;;;;;;-1:-1:-1;40011:135:0;;;;;:::i;:::-;;:::i;:::-;;15454:218;;;;;;;;;;-1:-1:-1;15454:218:0;;;;;:::i;:::-;;:::i;39725:146::-;;;;;;;;;;-1:-1:-1;39725:146:0;;;;;:::i;:::-;;:::i;40152:124::-;;;;;;;;;;-1:-1:-1;40152:124:0;;;;;:::i;:::-;;:::i;36902:21::-;;;;;;;;;;;;;:::i;39266:235::-;;;;;;;;;;-1:-1:-1;39266:235:0;;;;;:::i;:::-;;:::i;36837:34::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;13205:119::-;;;;;;;;;;-1:-1:-1;13205:119:0;;;;;:::i;:::-;;:::i;12169:87::-;;;;;;;;;;;;;:::i;16175:269::-;;;;;;;;;;-1:-1:-1;16175:269:0;;;;;:::i;:::-;;:::i;13537:175::-;;;;;;;;;;-1:-1:-1;13537:175:0;;;;;:::i;:::-;;:::i;39507:212::-;;;;;;;;;;-1:-1:-1;39507:212:0;;;;;:::i;:::-;;:::i;37852:626::-;;;;;;:::i;:::-;;:::i;40282:183::-;;;;;;;;;;-1:-1:-1;40282:183:0;;;;;:::i;:::-;;:::i;40869:282::-;;;;;;;;;;-1:-1:-1;40869:282:0;;;;;:::i;:::-;;:::i;40641:222::-;;;;;;;;;;-1:-1:-1;40641:222:0;;;;;:::i;:::-;;:::i;13775:151::-;;;;;;;;;;-1:-1:-1;13775:151:0;;;;;:::i;:::-;;:::i;41157:128::-;;;;;;;;;;;;;:::i;40471:164::-;;;;;;;;;;-1:-1:-1;40471:164:0;;;;;:::i;:::-;;:::i;36876:21::-;;;;;;;;;;;;;:::i;39877:128::-;;;;;;;;;;;;;:::i;11967:83::-;12037:5;12030:12;;;;;;;;-1:-1:-1;;12030:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12004:13;;12030:12;;12037:5;;12030:12;;12037:5;12030:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11967:83;:::o;14073:169::-;14156:4;14173:39;14182:12;:10;:12::i;:::-;14196:7;14205:6;14173:8;:39::i;:::-;-1:-1:-1;14230:4:0;14073:169;;;;:::o;13042:100::-;13122:12;;13042:100;:::o;14724:321::-;14830:4;14847:36;14857:6;14865:9;14876:6;14847:9;:36::i;:::-;14894:121;14903:6;14911:12;:10;:12::i;:::-;14925:89;14963:6;14925:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14925:19:0;;;;;;:11;:19;;;;;;14945:12;:10;:12::i;:::-;-1:-1:-1;;;;;14925:33:0;;;;;;;;;;;;-1:-1:-1;14925:33:0;;;:89;:37;:89::i;:::-;14894:8;:121::i;:::-;-1:-1:-1;15033:4:0;14724:321;;;;;;:::o;38629:631::-;38720:7;33294:1;33900:7;;:19;;33892:63;;;;-1:-1:-1;;;33892:63:0;;;;;;;:::i;:::-;;;;;;;;;33294:1;34033:7;:18;38757:6:::1;::::0;38744:9:::1;:19;;38736:35;;;;-1:-1:-1::0;;;38736:35:0::1;;;;;;;:::i;:::-;38804:1;38786:15;:19;38778:47;;;;-1:-1:-1::0;;;38778:47:0::1;;;;;;;:::i;:::-;38865:6;::::0;38834:103:::1;::::0;-1:-1:-1;;;38834:103:0;;-1:-1:-1;;;;;38865:6:0;;::::1;::::0;38834:54:::1;::::0;38897:9:::1;::::0;38834:103:::1;::::0;38909:10:::1;::::0;38921:15;;38834:103:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;38946:18;38967:45;38996:15;38967:28;:45::i;:::-;38946:66;;39040:1;39027:10;:14;39019:43;;;;-1:-1:-1::0;;;39019:43:0::1;;;;;;;:::i;:::-;39071:31;39077:12;:10;:12::i;:::-;39091:10;39071:5;:31::i;:::-;39109:54;39133:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;39109:10:0::1;:23;::::0;39147:15;39109:23:::1;:54::i;:::-;39186:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;39177:51:0::1;;39200:15;39217:10;39177:51;;;;;;;:::i;:::-;;;;;;;;33250:1:::0;34212:7;:22;39244:10;38629:631;-1:-1:-1;;38629:631:0:o;12894:83::-;12960:9;;;;12894:83;:::o;40011:135::-;37444:6;;-1:-1:-1;;;;;37444:6:0;37454:10;37444:20;37436:44;;;;-1:-1:-1;;;37436:44:0;;;;;;;:::i;:::-;40089:6:::1;:19:::0;;-1:-1:-1;;;;;;40089:19:0::1;-1:-1:-1::0;;;;;40089:19:0;;::::1;::::0;;;::::1;::::0;;;;40120:20:::1;::::0;40133:6;::::1;::::0;40120:20:::1;::::0;-1:-1:-1;;40120:20:0::1;40011:135:::0;:::o;15454:218::-;15542:4;15559:83;15568:12;:10;:12::i;:::-;15582:7;15591:50;15630:10;15591:11;:25;15603:12;:10;:12::i;:::-;-1:-1:-1;;;;;15591:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;15591:25:0;;;:34;;;;;;;;;;;:38;:50::i;39725:146::-;39794:7;39817:48;39846:18;39856:7;39846:9;:18::i;39817:48::-;39810:55;39725:146;-1:-1:-1;;39725:146:0:o;40152:124::-;37444:6;;-1:-1:-1;;;;;37444:6:0;37454:10;37444:20;37436:44;;;;-1:-1:-1;;;37436:44:0;;;;;;;:::i;:::-;40224:6:::1;:16:::0;;;40252:18:::1;::::0;::::1;::::0;::::1;::::0;40233:7;;40252:18:::1;:::i;:::-;;;;;;;;40152:124:::0;:::o;36902:21::-;;;;:::o;39266:235::-;39413:6;;39352:7;;-1:-1:-1;;;;;39413:6:0;39382:67;39450:17;39469:10;39481:13;:11;:13::i;:::-;39382:113;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;36837:34::-;;;:::o;13205:119::-;-1:-1:-1;;;;;13298:18:0;13271:7;13298:18;;;;;;;;;;;;13205:119::o;12169:87::-;12241:7;12234:14;;;;;;;;-1:-1:-1;;12234:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12208:13;;12234:14;;12241:7;;12234:14;;12241:7;12234:14;;;;;;;;;;;;;;;;;;;;;;;;16175:269;16268:4;16285:129;16294:12;:10;:12::i;:::-;16308:7;16317:96;16356:15;16317:96;;;;;;;;;;;;;;;;;:11;:25;16329:12;:10;:12::i;:::-;-1:-1:-1;;;;;16317:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16317:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;13537:175::-;13623:4;13640:42;13650:12;:10;:12::i;:::-;13664:9;13675:6;13640:9;:42::i;39507:212::-;39639:6;;39585:7;;-1:-1:-1;;;;;39639:6:0;39608:67;39676:9;39687:10;39699:13;:11;:13::i;37852:626::-;37941:7;33294:1;33900:7;;:19;;33892:63;;;;-1:-1:-1;;;33892:63:0;;;;;;;:::i;:::-;33294:1;34033:7;:18;37978:6:::1;::::0;37965:9:::1;:19;;37957:35;;;;-1:-1:-1::0;;;37957:35:0::1;;;;;;;:::i;:::-;38024:1;38007:14;:18;37999:43;;;;-1:-1:-1::0;;;37999:43:0::1;;;;;;;:::i;:::-;38051:18;38072:44;38101:14;38072:28;:44::i;:::-;38051:65;;38144:1;38131:10;:14;38123:43;;;;-1:-1:-1::0;;;38123:43:0::1;;;;;;;:::i;:::-;38175:72;38203:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;38175:10:0::1;:27;::::0;38225:4:::1;38232:14:::0;38175:27:::1;:72::i;:::-;38254:31;38260:12;:10;:12::i;:::-;38274:10;38254:5;:31::i;:::-;38307:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;38299:49:0::1;;38321:14;38337:10;38299:49;;;;;;;:::i;:::-;;;;;;;;38388:6;::::0;38357:89:::1;::::0;-1:-1:-1;;;38357:89:0;;-1:-1:-1;;;;;38388:6:0;;::::1;::::0;38357:54:::1;::::0;38420:9:::1;::::0;38357:89:::1;::::0;38432:10:::1;::::0;38388:6:::1;::::0;38357:89:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;33250:1:0;34212:7;:22;-1:-1:-1;38462:10:0;;37852:626;-1:-1:-1;;;;37852:626:0:o;40282:183::-;37444:6;;-1:-1:-1;;;;;37444:6:0;37454:10;37444:20;37436:44;;;;-1:-1:-1;;;37436:44:0;;;;;;;:::i;:::-;40374:37:::1;40389:21;40374:37;;;;;;:::i;:::-;;;;;;;;40418:41;::::0;-1:-1:-1;;;;;40418:18:0;::::1;::::0;40437:21:::1;40418:41:::0;::::1;;;::::0;::::1;::::0;;;40437:21;40418:18;:41;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;40282:183:::0;:::o;40869:282::-;37444:6;;-1:-1:-1;;;;;37444:6:0;37454:10;37444:20;37436:44;;;;-1:-1:-1;;;37436:44:0;;;;;;;:::i;:::-;40985:6;40971:11:::1;41005:141;41029:3;41025:1;:7;41005:141;;;41048:90;41062:6;;41069:1;41062:9;;;;;;;;;;;;;;;;;;:::i;:::-;:21;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;41085:6;;41092:1;41085:9;;;;;;;;;;;;;;;;;;:::i;:::-;:19;::::0;;;;;::::1;;;:::i;:::-;41106:6;;41113:1;41106:9;;;;;;;;;;;;;;;;;;:::i;:::-;:14;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;41122:6;;41129:1;41122:9;;;;;;;;;;;;;;;;;;:::i;:::-;:15;;;41048:13;:90::i;:::-;41034:3;;41005:141;;;;37487:1;40869:282:::0;;:::o;40641:222::-;37444:6;;-1:-1:-1;;;;;37444:6:0;37454:10;37444:20;37436:44;;;;-1:-1:-1;;;37436:44:0;;;;;;;:::i;:::-;40803:54:::1;40817:12;40831:10;40843:5;;40850:6;40803:13;:54::i;:::-;40641:222:::0;;;;;:::o;13775:151::-;-1:-1:-1;;;;;13891:18:0;;;13864:7;13891:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;13775:151::o;41157:128::-;41244:35;;-1:-1:-1;;;41244:35:0;;41221:7;;-1:-1:-1;;;;;41244:10:0;:20;;;;:35;;41273:4;;41244:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;41237:42;;41157:128;:::o;40471:164::-;37444:6;;-1:-1:-1;;;;;37444:6:0;37454:10;37444:20;37436:44;;;;-1:-1:-1;;;37436:44:0;;;;;;;:::i;:::-;40564:32:::1;::::0;-1:-1:-1;;;40564:32:0;;-1:-1:-1;;;;;40564:10:0::1;:18;::::0;::::1;::::0;:32:::1;::::0;40583:3;;40588:7;;40564:32:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;40616:3;-1:-1:-1::0;;;;;40608:21:0::1;;40621:7;40608:21;;;;;;:::i;:::-;;;;;;;;40471:164:::0;;:::o;36876:21::-;;;-1:-1:-1;;;;;36876:21:0;;:::o;39877:128::-;39933:7;39956:43;39985:13;:11;:13::i;1259:106::-;1347:10;1259:106;:::o;19322:346::-;-1:-1:-1;;;;;19424:19:0;;19416:68;;;;-1:-1:-1;;;19416:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19503:21:0;;19495:68;;;;-1:-1:-1;;;19495:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19576:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;19628:32;;;;;19606:6;;19628:32;:::i;:::-;;;;;;;;19322:346;;;:::o;16934:539::-;-1:-1:-1;;;;;17040:20:0;;17032:70;;;;-1:-1:-1;;;17032:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17121:23:0;;17113:71;;;;-1:-1:-1;;;17113:71:0;;;;;;;:::i;:::-;17197:47;17218:6;17226:9;17237:6;17197:20;:47::i;:::-;17277:71;17299:6;17277:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17277:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;17257:17:0;;;:9;:17;;;;;;;;;;;:91;;;;17382:20;;;;;;;:32;;17407:6;17382:24;:32::i;:::-;-1:-1:-1;;;;;17359:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;17430:35;;;;;;;;;;17458:6;;17430:35;:::i;6252:192::-;6338:7;6374:12;6366:6;;;;6358:29;;;;-1:-1:-1;;;6358:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;6410:5:0;;;6252:192::o;18466:418::-;-1:-1:-1;;;;;18550:21:0;;18542:67;;;;-1:-1:-1;;;18542:67:0;;;;;;;:::i;:::-;18622:49;18643:7;18660:1;18664:6;18622:20;:49::i;:::-;18705:68;18728:6;18705:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18705:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;18684:18:0;;:9;:18;;;;;;;;;;:89;18799:12;;:24;;18816:6;18799:16;:24::i;:::-;18784:12;:39;18839:37;;18865:1;;-1:-1:-1;;;;;18839:37:0;;;;;;;18869:6;;18839:37;:::i;:::-;;;;;;;;18466:418;;:::o;28473:177::-;28556:86;28576:5;28606:23;;;28631:2;28635:5;28583:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;28583:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;28583:58:0;-1:-1:-1;;;;;;28583:58:0;;;;;;;;;;28556:19;:86::i;:::-;28473:177;;;:::o;5349:181::-;5407:7;5439:5;;;5463:6;;;;5455:46;;;;-1:-1:-1;;;5455:46:0;;;;;;;:::i;28658:205::-;28759:96;28779:5;28809:27;;;28838:4;28844:2;28848:5;28786:68;;;;;;;;;;:::i;17755:378::-;-1:-1:-1;;;;;17839:21:0;;17831:65;;;;-1:-1:-1;;;17831:65:0;;;;;;;:::i;:::-;17909:49;17938:1;17942:7;17951:6;17909:20;:49::i;:::-;17986:12;;:24;;18003:6;17986:16;:24::i;:::-;17971:12;:39;-1:-1:-1;;;;;18042:18:0;;:9;:18;;;;;;;;;;;:30;;18065:6;18042:22;:30::i;:::-;-1:-1:-1;;;;;18021:18:0;;:9;:18;;;;;;;;;;;:51;;;;18088:37;;18021:18;;:9;18088:37;;;;18118:6;;18088:37;:::i;41291:1341::-;41435:12;41449:17;41470:12;-1:-1:-1;;;;;41470:17:0;41496:6;41522:10;41534:5;;41505:35;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;41505:35:0;;;;;;;;;;41470:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41434:107;;;;41555:7;41550:1012;;41613:4;41607:11;41640:16;;41689:706;;;;42528:4;42523:2;42517:4;42513:13;42506:27;41689:706;-1:-1:-1;;;41828:6:0;41821:82;41963:66;41956:4;41948:6;41944:17;41937:93;42080:66;42073:4;42065:6;42061:17;42054:93;42197:66;42190:4;42182:6;42178:17;42171:93;42303:3;42295:6;42288:19;41582:973;42602:10;-1:-1:-1;;;;;42575:51:0;;42588:12;-1:-1:-1;;;;;42575:51:0;;42614:5;;42621:4;42575:51;;;;;;;;:::i;:::-;;;;;;;;41291:1341;;;;;;;:::o;5813:136::-;5871:7;5898:43;5902:1;5905;5898:43;;;;;;;;;;;;;;;;;:3;:43::i;30778:761::-;31202:23;31228:69;31256:4;31228:69;;;;;;;;;;;;;;;;;31236:5;-1:-1:-1;;;;;31228:27:0;;;:69;;;;;:::i;:::-;31312:17;;31202:95;;-1:-1:-1;31312:21:0;31308:224;;31454:10;31443:30;;;;;;;;;;;;:::i;:::-;31435:85;;;;-1:-1:-1;;;31435:85:0;;;;;;;:::i;24480:195::-;24583:12;24615:52;24637:6;24645:4;24651:1;24654:12;24615:21;:52::i;:::-;24608:59;24480:195;-1:-1:-1;;;;24480:195:0:o;25532:530::-;25659:12;25717:5;25692:21;:30;;25684:81;;;;-1:-1:-1;;;25684:81:0;;;;;;;:::i;:::-;25784:18;25795:6;25784:10;:18::i;:::-;25776:60;;;;-1:-1:-1;;;25776:60:0;;;;;;;:::i;:::-;25910:12;25924:23;25951:6;-1:-1:-1;;;;;25951:11:0;25971:5;25979:4;25951:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25909:75;;;;26002:52;26020:7;26029:10;26041:12;26002:17;:52::i;:::-;25995:59;25532:530;-1:-1:-1;;;;;;;25532:530:0:o;21562:422::-;21929:20;21968:8;;;21562:422::o;27068:742::-;27183:12;27212:7;27208:595;;;-1:-1:-1;27243:10:0;27236:17;;27208:595;27357:17;;:21;27353:439;;27620:10;27614:17;27681:15;27668:10;27664:2;27660:19;27653:44;27568:148;27763:12;27756:20;;-1:-1:-1;;;27756:20:0;;;;;;;;:::i;1655:241:-1:-;;1759:2;1747:9;1738:7;1734:23;1730:32;1727:2;;;-1:-1;;1765:12;1727:2;85:6;72:20;97:33;124:5;97:33;:::i;2167:366::-;;;2288:2;2276:9;2267:7;2263:23;2259:32;2256:2;;;-1:-1;;2294:12;2256:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2346:63;-1:-1;2446:2;2485:22;;72:20;97:33;72:20;97:33;:::i;:::-;2454:63;;;;2250:283;;;;;:::o;2540:491::-;;;;2678:2;2666:9;2657:7;2653:23;2649:32;2646:2;;;-1:-1;;2684:12;2646:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2736:63;-1:-1;2836:2;2875:22;;72:20;97:33;72:20;97:33;:::i;:::-;2640:391;;2844:63;;-1:-1;;;2944:2;2983:22;;;;1444:20;;2640:391::o;3038:739::-;;;;;;3211:3;3199:9;3190:7;3186:23;3182:33;3179:2;;;-1:-1;;3218:12;3179:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3270:63;-1:-1;3370:2;3408:22;;950:20;975:32;950:20;975:32;:::i;:::-;3378:62;-1:-1;3505:2;3490:18;;3477:32;3529:18;3518:30;;;3515:2;;;-1:-1;;3551:12;3515:2;3636:6;3625:9;3621:22;;;1147:3;1140:4;1132:6;1128:17;1124:27;1114:2;;-1:-1;;1155:12;1114:2;1198:6;1185:20;3529:18;1217:6;1214:30;1211:2;;;-1:-1;;1247:12;1211:2;1342:3;3370:2;1322:17;1283:6;1308:32;;1305:41;1302:2;;;-1:-1;;1349:12;1302:2;3173:604;;;;-1:-1;;3370:2;1279:17;;3690:2;3729:22;1444:20;;3173:604;-1:-1;;;3173:604::o;3784:366::-;;;3905:2;3893:9;3884:7;3880:23;3876:32;3873:2;;;-1:-1;;3911:12;3873:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3963:63;4063:2;4102:22;;;;1444:20;;-1:-1;;;3867:283::o;4157:469::-;;;4332:2;4320:9;4311:7;4307:23;4303:32;4300:2;;;-1:-1;;4338:12;4300:2;4396:17;4383:31;4434:18;;4426:6;4423:30;4420:2;;;-1:-1;;4456:12;4420:2;4593:6;4582:9;4578:22;;;519:3;512:4;504:6;500:17;496:27;486:2;;-1:-1;;527:12;486:2;570:6;557:20;4434:18;589:6;586:30;583:2;;;-1:-1;;619:12;583:2;714:3;4332:2;;698:6;694:17;655:6;680:32;;677:41;674:2;;;-1:-1;;721:12;674:2;4332;651:17;;;;;4476:134;;-1:-1;4294:332;;-1:-1;;;;4294:332::o;4633:257::-;;4745:2;4733:9;4724:7;4720:23;4716:32;4713:2;;;-1:-1;;4751:12;4713:2;830:6;824:13;30750:5;28533:13;28526:21;30728:5;30725:32;30715:2;;-1:-1;;30761:12;4897:239;;5000:2;4988:9;4979:7;4975:23;4971:32;4968:2;;;-1:-1;;5006:12;4968:2;963:6;950:20;975:32;1001:5;975:32;:::i;5143:241::-;;5247:2;5235:9;5226:7;5222:23;5218:32;5215:2;;;-1:-1;;5253:12;5215:2;-1:-1;1444:20;;5209:175;-1:-1;5209:175::o;5391:263::-;;5506:2;5494:9;5485:7;5481:23;5477:32;5474:2;;;-1:-1;;5512:12;5474:2;-1:-1;1592:13;;5468:186;-1:-1;5468:186::o;6865:343::-;;7007:5;27597:12;27882:6;27877:3;27870:19;7100:52;7145:6;27919:4;27914:3;27910:14;27919:4;7126:5;7122:16;7100:52;:::i;:::-;30384:7;30368:14;-1:-1;;30364:28;7164:39;;;;27919:4;7164:39;;6955:253;-1:-1;;6955:253::o;14431:425::-;-1:-1;;;;;;28620:78;;6128:56;;14431:425;29871:6;29866:3;14708:1;14699:11;;29848:30;29909:16;;14708:1;29909:16;29902:27;;;29909:16;14601:255;-1:-1;;14601:255::o;14863:271::-;;7375:5;27597:12;7486:52;7531:6;7526:3;7519:4;7512:5;7508:16;7486:52;:::i;:::-;7550:16;;;;;14997:137;-1:-1;;14997:137::o;15141:222::-;-1:-1;;;;;28772:54;;;;5881:37;;15268:2;15253:18;;15239:124::o;15370:365::-;-1:-1;;;;;28772:54;;;;5740:58;;15721:2;15706:18;;7816:58;15541:2;15526:18;;15512:223::o;16098:444::-;-1:-1;;;;;28772:54;;;5881:37;;28772:54;;;;16445:2;16430:18;;5881:37;16528:2;16513:18;;14268:37;;;;16281:2;16266:18;;16252:290::o;16889:210::-;28533:13;;28526:21;5995:34;;17010:2;16995:18;;16981:118::o;17106:521::-;;17307:2;17328:17;17321:47;27882:6;17307:2;17296:9;17292:18;27870:19;29871:6;29866:3;27910:14;17296:9;27910:14;29848:30;-1:-1;27910:14;29918:6;17296:9;29909:16;;29902:27;30384:7;;30388:2;6502:6;30368:14;30364:28;17296:9;6471:39;27910:14;17516:9;6471:39;17506:20;;27919:4;17490:9;17486:18;17479:48;17541:76;27910:14;6471:39;;17603:6;17541:76;:::i;:::-;17533:84;17278:349;-1:-1;;;;;;17278:349::o;17889:310::-;;18036:2;18057:17;18050:47;18111:78;18036:2;18025:9;18021:18;18175:6;18111:78;:::i;18206:416::-;18406:2;18420:47;;;8465:2;18391:18;;;27870:19;8501:34;27910:14;;;8481:55;-1:-1;;;8556:12;;;8549:27;8595:12;;;18377:245::o;18629:416::-;18829:2;18843:47;;;8846:2;18814:18;;;27870:19;-1:-1;;;27910:14;;;8862:39;8920:12;;;18800:245::o;19052:416::-;19252:2;19266:47;;;9171:2;19237:18;;;27870:19;9207:34;27910:14;;;9187:55;-1:-1;;;9262:12;;;9255:26;9300:12;;;19223:245::o;19475:416::-;19675:2;19689:47;;;9551:2;19660:18;;;27870:19;9587:29;27910:14;;;9567:50;9636:12;;;19646:245::o;19898:416::-;20098:2;20112:47;;;9887:2;20083:18;;;27870:19;-1:-1;;;27910:14;;;9903:39;9961:12;;;20069:245::o;20321:416::-;20521:2;20535:47;;;10212:2;20506:18;;;27870:19;-1:-1;;;27910:14;;;10228:34;10281:12;;;20492:245::o;20744:416::-;20944:2;20958:47;;;10532:2;20929:18;;;27870:19;10568:34;27910:14;;;10548:55;-1:-1;;;10623:12;;;10616:30;10665:12;;;20915:245::o;21167:416::-;21367:2;21381:47;;;10916:1;21352:18;;;27870:19;-1:-1;;;27910:14;;;10931:26;10976:12;;;21338:245::o;21590:416::-;21790:2;21804:47;;;11227:2;21775:18;;;27870:19;-1:-1;;;27910:14;;;11243:35;11297:12;;;21761:245::o;22013:416::-;22213:2;22227:47;;;11548:2;22198:18;;;27870:19;11584:34;27910:14;;;11564:55;-1:-1;;;11639:12;;;11632:25;11676:12;;;22184:245::o;22436:416::-;22636:2;22650:47;;;11927:2;22621:18;;;27870:19;11963:34;27910:14;;;11943:55;-1:-1;;;12018:12;;;12011:29;12059:12;;;22607:245::o;22859:416::-;23059:2;23073:47;;;12310:2;23044:18;;;27870:19;12346:34;27910:14;;;12326:55;-1:-1;;;12401:12;;;12394:28;12441:12;;;23030:245::o;23282:416::-;23482:2;23496:47;;;12692:2;23467:18;;;27870:19;12728:31;27910:14;;;12708:52;12779:12;;;23453:245::o;23705:416::-;23905:2;23919:47;;;13030:2;23890:18;;;27870:19;13066:34;27910:14;;;13046:55;-1:-1;;;13121:12;;;13114:34;13167:12;;;23876:245::o;24128:416::-;24328:2;24342:47;;;13418:2;24313:18;;;27870:19;13454:33;27910:14;;;13434:54;13507:12;;;24299:245::o;24551:416::-;24751:2;24765:47;;;13758:2;24736:18;;;27870:19;-1:-1;;;27910:14;;;13774:38;13831:12;;;24722:245::o;24974:416::-;25174:2;25188:47;;;14082:2;25159:18;;;27870:19;14118:33;27910:14;;;14098:54;14171:12;;;25145:245::o;25397:222::-;14268:37;;;25524:2;25509:18;;25495:124::o;25626:470::-;14268:37;;;-1:-1;;;;;28772:54;;;;25999:2;25984:18;;7662:63;26082:2;26067:18;;14268:37;25822:2;25807:18;;25793:303::o;26103:333::-;14268:37;;;26422:2;26407:18;;14268:37;26258:2;26243:18;;26229:207::o;26443:214::-;28988:4;28977:16;;;;14384:35;;26566:2;26551:18;;26537:120::o;26664:506::-;;;26799:11;26786:25;26850:48;;26874:8;26858:14;26854:29;26850:48;26830:18;26826:73;26816:2;;-1:-1;;26903:12;26816:2;26930:33;;26984:18;;;-1:-1;27022:18;27011:30;;27008:2;;;-1:-1;;27044:12;27008:2;26889:4;27072:13;;-1:-1;26858:14;27104:38;;;27094:49;;27091:2;;;27156:1;;27146:12;27091:2;26754:416;;;;;:::o;27177:326::-;;27329:11;27316:25;27380:48;;27404:8;27388:14;27384:29;27380:48;27360:18;27356:73;27346:2;;-1:-1;;27433:12;29944:268;30009:1;30016:101;30030:6;30027:1;30024:13;30016:101;;;30097:11;;;30091:18;30078:11;;;30071:39;30052:2;30045:10;30016:101;;;30132:6;30129:1;30126:13;30123:2;;;-1:-1;;30009:1;30179:16;;30172:27;29993:219::o;30405:117::-;-1:-1;;;;;28772:54;;30464:35;;30454:2;;30513:1;;30503:12;30454:2;30448:74;:::o;30787:115::-;-1:-1;;;;;;28620:78;;30845:34;;30835:2;;30893:1;;30883:12

Swarm Source

ipfs://0b935c80a7b5814ad8bf20e48dc3de2e5e8c85e74d9564a51fc3eccb2615055a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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