ETH Price: $3,346.10 (-1.00%)

Contract

0x405d5F5b76c94ebc26A28E56961c63cd9E743Af2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YAMDelegate3

Compiler Version
v0.5.15+commit.6a57276f

Optimization Enabled:
Yes with 50000 runs

Other Settings:
default evmVersion, GNU LGPLv3 license

Contract Source Code (Solidity)

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

pragma solidity 0.5.15;

/* Copyright 2020 Compound Labs, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */


contract YAMGovernanceStorage {
    /// @notice A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;
}

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

// Storage for a YAM token
contract YAMTokenStorage {

    using SafeMath for uint256;

    /**
     * @dev Guard variable for re-entrancy checks. Not currently used
     */
    bool internal _notEntered;

    /**
     * @notice EIP-20 token name for this token
     */
    string public name;

    /**
     * @notice EIP-20 token symbol for this token
     */
    string public symbol;

    /**
     * @notice EIP-20 token decimals for this token
     */
    uint8 public decimals;

    /**
     * @notice Governor for this contract
     */
    address public gov;

    /**
     * @notice Pending governance for this contract
     */
    address public pendingGov;

    /**
     * @notice Approved rebaser for this contract
     */
    address public rebaser;

    /**
     * @notice Approved migrator for this contract
     */
    address public migrator;

    /**
     * @notice Incentivizer address of YAM protocol
     */
    address public incentivizer;

    /**
     * @notice Total supply of YAMs
     */
    uint256 public totalSupply;

    /**
     * @notice Internal decimals used to handle scaling factor
     */
    uint256 public constant internalDecimals = 10**24;

    /**
     * @notice Used for percentage maths
     */
    uint256 public constant BASE = 10**18;

    /**
     * @notice Scaling factor that adjusts everyone's balances
     */
    uint256 public yamsScalingFactor;

    mapping (address => uint256) internal _yamBalances;

    mapping (address => mapping (address => uint256)) internal _allowedFragments;

    uint256 public initSupply;


    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    bytes32 public DOMAIN_SEPARATOR;
}

contract YAMTokenInterface is YAMTokenStorage, YAMGovernanceStorage {

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Event emitted when tokens are rebased
     */
    event Rebase(uint256 epoch, uint256 prevYamsScalingFactor, uint256 newYamsScalingFactor);

    /*** Gov Events ***/

    /**
     * @notice Event emitted when pendingGov is changed
     */
    event NewPendingGov(address oldPendingGov, address newPendingGov);

    /**
     * @notice Event emitted when gov is changed
     */
    event NewGov(address oldGov, address newGov);

    /**
     * @notice Sets the rebaser contract
     */
    event NewRebaser(address oldRebaser, address newRebaser);

    /**
     * @notice Sets the migrator contract
     */
    event NewMigrator(address oldMigrator, address newMigrator);

    /**
     * @notice Sets the incentivizer contract
     */
    event NewIncentivizer(address oldIncentivizer, address newIncentivizer);

    /* - ERC20 Events - */

    /**
     * @notice EIP20 Transfer event
     */
    event Transfer(address indexed from, address indexed to, uint amount);

    /**
     * @notice EIP20 Approval event
     */
    event Approval(address indexed owner, address indexed spender, uint amount);

    /* - Extra Events - */
    /**
     * @notice Tokens minted event
     */
    event Mint(address to, uint256 amount);

    // Public functions
    function transfer(address to, uint256 value) external returns(bool);
    function transferFrom(address from, address to, uint256 value) external returns(bool);
    function balanceOf(address who) external view returns(uint256);
    function balanceOfUnderlying(address who) external view returns(uint256);
    function allowance(address owner_, address spender) external view returns(uint256);
    function approve(address spender, uint256 value) external returns (bool);
    function increaseAllowance(address spender, uint256 addedValue) external returns (bool);
    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
    function maxScalingFactor() external view returns (uint256);
    function yamToFragment(uint256 yam) external view returns (uint256);
    function fragmentToYam(uint256 value) external view returns (uint256);

    /* - Governance Functions - */
    function getPriorVotes(address account, uint blockNumber) external view returns (uint256);
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) external;
    function delegate(address delegatee) external;
    function delegates(address delegator) external view returns (address);
    function getCurrentVotes(address account) external view returns (uint256);

    /* - Permissioned/Governance functions - */
    function mint(address to, uint256 amount) external returns (bool);
    function rebase(uint256 epoch, uint256 indexDelta, bool positive) external returns (uint256);
    function _setRebaser(address rebaser_) external;
    function _setIncentivizer(address incentivizer_) external;
    function _setPendingGov(address pendingGov_) external;
    function _acceptGov() external;
}

/* Copyright 2020 Compound Labs, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */



contract YAMGovernanceToken is YAMTokenInterface {

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Get delegatee for an address delegating
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "YAM::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "YAM::delegateBySig: invalid nonce");
        require(now <= expiry, "YAM::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "YAM::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = _yamBalances[delegator]; // balance of underlying YAMs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "YAM::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

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

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call.value(weiValue)(data);
        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);
            }
        }
    }
}

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

contract YAMToken is YAMGovernanceToken {
    // Modifiers
    modifier onlyGov() {
        require(msg.sender == gov);
        _;
    }

    modifier onlyRebaser() {
        require(msg.sender == rebaser);
        _;
    }

    modifier onlyMinter() {
        require(
            msg.sender == rebaser
            || msg.sender == gov
            || msg.sender == incentivizer
            || msg.sender == migrator,
            "not minter"
        );
        _;
    }

    modifier validRecipient(address to) {
        require(to != address(0x0));
        require(to != address(this));
        _;
    }

    function initialize(
        string memory name_,
        string memory symbol_,
        uint8 decimals_
    )
        public
    {
        require(yamsScalingFactor == 0, "already initialized");
        name = name_;
        symbol = symbol_;
        decimals = decimals_;
    }


    /**
    * @notice Computes the current max scaling factor
    */
    function maxScalingFactor()
        external
        view
        returns (uint256)
    {
        return _maxScalingFactor();
    }

    function _maxScalingFactor()
        internal
        view
        returns (uint256)
    {
        // scaling factor can only go up to 2**256-1 = initSupply * yamsScalingFactor
        // this is used to check if yamsScalingFactor will be too high to compute balances when rebasing.
        return uint256(-1) / initSupply;
    }

    /**
    * @notice Mints new tokens, increasing totalSupply, initSupply, and a users balance.
    * @dev Limited to onlyMinter modifier
    */
    function mint(address to, uint256 amount)
        external
        onlyMinter
        returns (bool)
    {
        _mint(to, amount);
        return true;
    }

    function _mint(address to, uint256 amount)
        internal
    {
      if (msg.sender == migrator) {
        // migrator directly uses v2 balance for the amount

        // increase initSupply
        initSupply = initSupply.add(amount);

        // get external value
        uint256 scaledAmount = _yamToFragment(amount);

        // increase totalSupply
        totalSupply = totalSupply.add(scaledAmount);

        // make sure the mint didnt push maxScalingFactor too low
        require(yamsScalingFactor <= _maxScalingFactor(), "max scaling factor too low");

        // add balance
        _yamBalances[to] = _yamBalances[to].add(amount);

        // add delegates to the minter
        _moveDelegates(address(0), _delegates[to], amount);
        emit Mint(to, scaledAmount);
        emit Transfer(address(0), to, scaledAmount);
      } else {
        // increase totalSupply
        totalSupply = totalSupply.add(amount);

        // get underlying value
        uint256 yamValue = _fragmentToYam(amount);

        // increase initSupply
        initSupply = initSupply.add(yamValue);

        // make sure the mint didnt push maxScalingFactor too low
        require(yamsScalingFactor <= _maxScalingFactor(), "max scaling factor too low");

        // add balance
        _yamBalances[to] = _yamBalances[to].add(yamValue);

        // add delegates to the minter
        _moveDelegates(address(0), _delegates[to], yamValue);
        emit Mint(to, amount);
        emit Transfer(address(0), to, amount);
      }
    }

    /**
    * @notice Mints new tokens using underlying amount, increasing totalSupply, initSupply, and a users balance.
    * @dev Limited to onlyMinter modifier
    */
    function mintUnderlying(address to, uint256 amount)
        external
        onlyMinter
        returns (bool)
    {
        _mintUnderlying(to, amount);
        return true;
    }

    function _mintUnderlying(address to, uint256 amount)
        internal
    {

        // increase initSupply
        initSupply = initSupply.add(amount);

        // get external value
        uint256 scaledAmount = _yamToFragment(amount);

        // increase totalSupply
        totalSupply = totalSupply.add(scaledAmount);

        // make sure the mint didnt push maxScalingFactor too low
        require(yamsScalingFactor <= _maxScalingFactor(), "max scaling factor too low");

        // add balance
        _yamBalances[to] = _yamBalances[to].add(amount);

        // add delegates to the minter
        _moveDelegates(address(0), _delegates[to], amount);
        emit Mint(to, scaledAmount);
        emit Transfer(address(0), to, scaledAmount);
   
    }

    /**
     * @dev Transfer underlying balance to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     * @return True on success, false otherwise.
     */
    function transferUnderlying(address to, uint256 value)
        external
        validRecipient(to)
        returns (bool)
    {
        // sub from balance of sender
        _yamBalances[msg.sender] = _yamBalances[msg.sender].sub(value);

        // add to balance of receiver
        _yamBalances[to] = _yamBalances[to].add(value);
        emit Transfer(msg.sender, to, _yamToFragment(value));

        _moveDelegates(_delegates[msg.sender], _delegates[to], value);
        return true;
    }
    
    /* - ERC20 functionality - */

    /**
    * @dev Transfer tokens to a specified address.
    * @param to The address to transfer to.
    * @param value The amount to be transferred.
    * @return True on success, false otherwise.
    */
    function transfer(address to, uint256 value)
        external
        validRecipient(to)
        returns (bool)
    {
        // underlying balance is stored in yams, so divide by current scaling factor

        // note, this means as scaling factor grows, dust will be untransferrable.
        // minimum transfer value == yamsScalingFactor / 1e24;

        // get amount in underlying
        uint256 yamValue = _fragmentToYam(value);

        // sub from balance of sender
        _yamBalances[msg.sender] = _yamBalances[msg.sender].sub(yamValue);

        // add to balance of receiver
        _yamBalances[to] = _yamBalances[to].add(yamValue);
        emit Transfer(msg.sender, to, value);

        _moveDelegates(_delegates[msg.sender], _delegates[to], yamValue);
        return true;
    }

    /**
    * @dev Transfer tokens from one address to another.
    * @param from The address you want to send tokens from.
    * @param to The address you want to transfer to.
    * @param value The amount of tokens to be transferred.
    */
    function transferFrom(address from, address to, uint256 value)
        external
        validRecipient(to)
        returns (bool)
    {
        // decrease allowance
        _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender].sub(value);

        // get value in yams
        uint256 yamValue = _fragmentToYam(value);

        // sub from from
        _yamBalances[from] = _yamBalances[from].sub(yamValue);
        _yamBalances[to] = _yamBalances[to].add(yamValue);
        emit Transfer(from, to, value);

        _moveDelegates(_delegates[from], _delegates[to], yamValue);
        return true;
    }

    /**
    * @param who The address to query.
    * @return The balance of the specified address.
    */
    function balanceOf(address who)
      external
      view
      returns (uint256)
    {
      return _yamToFragment(_yamBalances[who]);
    }

    /** @notice Currently returns the internal storage amount
    * @param who The address to query.
    * @return The underlying balance of the specified address.
    */
    function balanceOfUnderlying(address who)
      external
      view
      returns (uint256)
    {
      return _yamBalances[who];
    }

    /**
     * @dev Function to check the amount of tokens that an owner has allowed to a spender.
     * @param owner_ The address which owns the funds.
     * @param spender The address which will spend the funds.
     * @return The number of tokens still available for the spender.
     */
    function allowance(address owner_, address spender)
        external
        view
        returns (uint256)
    {
        return _allowedFragments[owner_][spender];
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of
     * msg.sender. This method is included for ERC20 compatibility.
     * increaseAllowance and decreaseAllowance should be used instead.
     * Changing an allowance with this method brings the risk that someone may transfer both
     * the old and the new allowance - if they are both greater than zero - if a transfer
     * transaction is mined before the later approve() call is mined.
     *
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value)
        external
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner has allowed to a spender.
     * This method should be used instead of approve() to avoid the double approval vulnerability
     * described above.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        external
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] =
            _allowedFragments[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner has allowed to a spender.
     *
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        external
        returns (bool)
    {
        uint256 oldValue = _allowedFragments[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedFragments[msg.sender][spender] = 0;
        } else {
            _allowedFragments[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }


    // --- Approve by signature ---
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        require(now <= deadline, "YAM/permit-expired");

        bytes32 digest =
            keccak256(
                abi.encodePacked(
                    "\x19\x01",
                    DOMAIN_SEPARATOR,
                    keccak256(
                        abi.encode(
                            PERMIT_TYPEHASH,
                            owner,
                            spender,
                            value,
                            nonces[owner]++,
                            deadline
                        )
                    )
                )
            );

        require(owner != address(0), "YAM/invalid-address-0");
        require(owner == ecrecover(digest, v, r, s), "YAM/invalid-permit");
        _allowedFragments[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    /* - Governance Functions - */

    /** @notice sets the rebaser
     * @param rebaser_ The address of the rebaser contract to use for authentication.
     */
    function _setRebaser(address rebaser_)
        external
        onlyGov
    {
        address oldRebaser = rebaser;
        rebaser = rebaser_;
        emit NewRebaser(oldRebaser, rebaser_);
    }

    /** @notice sets the migrator
     * @param migrator_ The address of the migrator contract to use for authentication.
     */
    function _setMigrator(address migrator_)
        external
        onlyGov
    {
        address oldMigrator = migrator_;
        migrator = migrator_;
        emit NewMigrator(oldMigrator, migrator_);
    }

    /** @notice sets the incentivizer
     * @param incentivizer_ The address of the rebaser contract to use for authentication.
     */
    function _setIncentivizer(address incentivizer_)
        external
        onlyGov
    {
        address oldIncentivizer = incentivizer;
        incentivizer = incentivizer_;
        emit NewIncentivizer(oldIncentivizer, incentivizer_);
    }

    /** @notice sets the pendingGov
     * @param pendingGov_ The address of the rebaser contract to use for authentication.
     */
    function _setPendingGov(address pendingGov_)
        external
        onlyGov
    {
        address oldPendingGov = pendingGov;
        pendingGov = pendingGov_;
        emit NewPendingGov(oldPendingGov, pendingGov_);
    }

    /** @notice allows governance to assign delegate to self
     *
     */
    function _acceptGov()
        external
    {
        require(msg.sender == pendingGov, "!pending");
        address oldGov = gov;
        gov = pendingGov;
        pendingGov = address(0);
        emit NewGov(oldGov, gov);
    }

    function assignSelfDelegate(address nonvotingContract)
        external
        onlyGov
    {
        address delegate = _delegates[nonvotingContract];
        require( delegate == address(0), "!address(0)" );
        // assigns delegate to self only
        _delegate(nonvotingContract, nonvotingContract);
    }

    /* - Extras - */

    /**
    * @notice Initiates a new rebase operation, provided the minimum time period has elapsed.
    *
    * @dev The supply adjustment equals (totalSupply * DeviationFromTargetRate) / rebaseLag
    *      Where DeviationFromTargetRate is (MarketOracleRate - targetRate) / targetRate
    *      and targetRate is CpiOracleRate / baseCpi
    */
    function rebase(
        uint256 epoch,
        uint256 indexDelta,
        bool positive
    )
        external
        onlyRebaser
        returns (uint256)
    {
        // no change
        if (indexDelta == 0) {
          emit Rebase(epoch, yamsScalingFactor, yamsScalingFactor);
          return totalSupply;
        }

        // for events
        uint256 prevYamsScalingFactor = yamsScalingFactor;


        if (!positive) {
            // negative rebase, decrease scaling factor
            yamsScalingFactor = yamsScalingFactor.mul(BASE.sub(indexDelta)).div(BASE);
        } else {
            // positive reabse, increase scaling factor
            uint256 newScalingFactor = yamsScalingFactor.mul(BASE.add(indexDelta)).div(BASE);
            if (newScalingFactor < _maxScalingFactor()) {
                yamsScalingFactor = newScalingFactor;
            } else {
                yamsScalingFactor = _maxScalingFactor();
            }
        }

        // update total supply, correctly
        totalSupply = _yamToFragment(initSupply);

        emit Rebase(epoch, prevYamsScalingFactor, yamsScalingFactor);
        return totalSupply;
    }

    function yamToFragment(uint256 yam)
        external
        view
        returns (uint256)
    {
        return _yamToFragment(yam);
    }

    function fragmentToYam(uint256 value)
        external
        view
        returns (uint256)
    {
        return _fragmentToYam(value);
    }

    function _yamToFragment(uint256 yam)
        internal
        view
        returns (uint256)
    {
        return yam.mul(yamsScalingFactor).div(internalDecimals);
    }

    function _fragmentToYam(uint256 value)
        internal
        view
        returns (uint256)
    {
        return value.mul(internalDecimals).div(yamsScalingFactor);
    }

    // Rescue tokens
    function rescueTokens(
        address token,
        address to,
        uint256 amount
    )
        external
        onlyGov
        returns (bool)
    {
        // transfer to
        SafeERC20.safeTransfer(IERC20(token), to, amount);
        return true;
    }
}

contract YAMLogic3 is YAMToken {
    /**
     * @notice Initialize the new money market
     * @param name_ ERC-20 name of this token
     * @param symbol_ ERC-20 symbol of this token
     * @param decimals_ ERC-20 decimal precision of this token
     */
    function initialize(
        string memory name_,
        string memory symbol_,
        uint8 decimals_,
        address initial_owner,
        uint256 initTotalSupply_
    )
        public
    {
        super.initialize(name_, symbol_, decimals_);

        yamsScalingFactor = BASE;
        initSupply = _fragmentToYam(initTotalSupply_);
        totalSupply = initTotalSupply_;
        _yamBalances[initial_owner] = initSupply;

        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                getChainId(),
                address(this)
            )
        );
    }
}

/* Copyright 2020 Compound Labs, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */


contract YAMDelegationStorage {
    /**
     * @notice Implementation address for this contract
     */
    address public implementation;
}

contract YAMDelegatorInterface is YAMDelegationStorage {
    /**
     * @notice Emitted when implementation is changed
     */
    event NewImplementation(address oldImplementation, address newImplementation);

    /**
     * @notice Called by the gov to update the implementation of the delegator
     * @param implementation_ The address of the new implementation for delegation
     * @param allowResign Flag to indicate whether to call _resignImplementation on the old implementation
     * @param becomeImplementationData The encoded bytes data to be passed to _becomeImplementation
     */
    function _setImplementation(address implementation_, bool allowResign, bytes memory becomeImplementationData) public;
}

contract YAMDelegateInterface is YAMDelegationStorage {
    /**
     * @notice Called by the delegator on a delegate to initialize it for duty
     * @dev Should revert if any issues arise which make it unfit for delegation
     * @param data The encoded bytes data for any initialization
     */
    function _becomeImplementation(bytes memory data) public;

    /**
     * @notice Called by the delegator on a delegate to forfeit its responsibility
     */
    function _resignImplementation() public;
}


contract YAMDelegate3 is YAMLogic3, YAMDelegateInterface {
    /**
     * @notice Construct an empty delegate
     */
    constructor() public {}

    /**
     * @notice Called by the delegator on a delegate to initialize it for duty
     * @param data The encoded bytes data for any initialization
     */
    function _becomeImplementation(bytes memory data) public {
        // Shh -- currently unused
        data;

        // Shh -- we don't ever want this hook to be marked pure
        if (false) {
            implementation = address(0);
        }

        require(msg.sender == gov, "only the gov may call _becomeImplementation");
    }

    /**
     * @notice Called by the delegator on a delegate to forfeit its responsibility
     */
    function _resignImplementation() public {
        // Shh -- we don't ever want this hook to be marked pure
        if (false) {
            implementation = address(0);
        }

        require(msg.sender == gov, "only the gov may call _resignImplementation");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldGov","type":"address"},{"indexed":false,"internalType":"address","name":"newGov","type":"address"}],"name":"NewGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldIncentivizer","type":"address"},{"indexed":false,"internalType":"address","name":"newIncentivizer","type":"address"}],"name":"NewIncentivizer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldMigrator","type":"address"},{"indexed":false,"internalType":"address","name":"newMigrator","type":"address"}],"name":"NewMigrator","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingGov","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingGov","type":"address"}],"name":"NewPendingGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldRebaser","type":"address"},{"indexed":false,"internalType":"address","name":"newRebaser","type":"address"}],"name":"NewRebaser","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"prevYamsScalingFactor","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newYamsScalingFactor","type":"uint256"}],"name":"Rebase","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"_acceptGov","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"_becomeImplementation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"_resignImplementation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"incentivizer_","type":"address"}],"name":"_setIncentivizer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"migrator_","type":"address"}],"name":"_setMigrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"pendingGov_","type":"address"}],"name":"_setPendingGov","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"rebaser_","type":"address"}],"name":"_setRebaser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"nonvotingContract","type":"address"}],"name":"assignSelfDelegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOfUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"fragmentToYam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"incentivizer","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"initSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"address","name":"initial_owner","type":"address"},{"internalType":"uint256","name":"initTotalSupply_","type":"uint256"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"internalDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxScalingFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"migrator","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintUnderlying","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingGov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"indexDelta","type":"uint256"},{"internalType":"bool","name":"positive","type":"bool"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rebaser","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferUnderlying","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"yam","type":"uint256"}],"name":"yamToFragment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"yamsScalingFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50614191806100206000396000f3fe608060405234801561001057600080fd5b50600436106103575760003560e01c80636c945221116101c857806398dca21011610104578063d505accf116100a2578063ec342ad01161007c578063ec342ad014610dce578063f1127ed814610dd6578063f18d9b6314610e35578063fa8f345514610e5257610357565b8063d505accf14610d2d578063dd62ed3e14610d8b578063e7a324dc14610dc657610357565b8063b4b5ea57116100de578063b4b5ea5714610c5b578063b6fa857614610c8e578063c3cda52014610c96578063cea9d26f14610cea57610357565b806398dca21014610bb6578063a457c2d714610be9578063a9059cbb14610c2257610357565b80637af548c1116101715780638ca34cdd1161014b5780638ca34cdd14610b3a578063917505f414610b6d57806395d89b4114610ba657806397d63f9314610bae57610357565b80637af548c114610ad45780637cd07e4714610aff5780637ecebe0014610b0757610357565b806370a08231116101a257806370a0823114610a3557806373f03dff14610a68578063782d6fe114610a9b57610357565b80636c945221146108905780636fc6407c146109e15780636fcfff45146109e957610357565b8063313ce5671161029757806347dfe70d11610240578063587cde1e1161021a578063587cde1e1461081a5780635c19a95c1461084d5780635c60da1b1461088057806364dd48f51461088857610357565b806347dfe70d146107395780634bda2e201461076c57806356e677281461077457610357565b8063395093511161027157806339509351146106945780633af9e669146106cd57806340c10f191461070057610357565b8063313ce56714610635578063336d2692146106535780633644e5151461068c57610357565b8063153ab5051161030457806320606b70116102de57806320606b70146105da57806323b872dd146105e2578063252408101461062557806330adf81f1461062d57610357565b8063153ab505146104965780631624f6c6146104a057806318160ddd146105d257610357565b806311d3e6c41161033557806311d3e6c41461045557806311fd8a831461045d57806312d43a511461048e57610357565b806306fdde031461035c578063095ea7b3146103d957806309c8640314610426575b600080fd5b610364610e85565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561039e578181015183820152602001610386565b50505050905090810190601f1680156103cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610412600480360360408110156103ef57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610f30565b604080519115158252519081900360200190f35b6104436004803603602081101561043c57600080fd5b5035610fa4565b60408051918252519081900360200190f35b610443610faf565b610465610fbf565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610465610fdb565b61049e610ffc565b005b61049e600480360360608110156104b657600080fd5b8101906020810181356401000000008111156104d157600080fd5b8201836020820111156104e357600080fd5b8035906020019184600183028401116401000000008311171561050557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561055857600080fd5b82018360208201111561056a57600080fd5b8035906020019184600183028401116401000000008311171561058c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506110739050565b610443611140565b610443611146565b610412600480360360608110156105f857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135611161565b61046561134f565b61044361136b565b61063d61138f565b6040805160ff9092168252519081900360200190f35b6104126004803603604081101561066957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611398565b6104436114ea565b610412600480360360408110156106aa57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356114f0565b610443600480360360208110156106e357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166115a3565b6104126004803603604081101561071657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356115cb565b61049e6004803603602081101561074f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166116d2565b61049e61177e565b61049e6004803603602081101561078a57600080fd5b8101906020810181356401000000008111156107a557600080fd5b8201836020820111156107b757600080fd5b803590602001918460018302840111640100000000831117156107d957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118c1945050505050565b6104656004803603602081101561083057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611939565b61049e6004803603602081101561086357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611964565b61046561196e565b61044361198a565b61049e600480360360a08110156108a657600080fd5b8101906020810181356401000000008111156108c157600080fd5b8201836020820111156108d357600080fd5b803590602001918460018302840111640100000000831117156108f557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561094857600080fd5b82018360208201111561095a57600080fd5b8035906020019184600183028401116401000000008311171561097c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff16925050602081013573ffffffffffffffffffffffffffffffffffffffff169060400135611998565b610465611abb565b610a1c600480360360208110156109ff57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611ad7565b6040805163ffffffff9092168252519081900360200190f35b61044360048036036020811015610a4b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611aef565b61049e60048036036020811015610a7e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611b1e565b61044360048036036040811015610ab157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611bcf565b61044360048036036060811015610aea57600080fd5b50803590602081013590604001351515611e99565b610465612003565b61044360048036036020811015610b1d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661201f565b61049e60048036036020811015610b5057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612031565b61041260048036036040811015610b8357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356120fd565b6103646121fb565b610443612271565b61049e60048036036020811015610bcc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612277565b61041260048036036040811015610bff57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612328565b61041260048036036040811015610c3857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561244b565b61044360048036036020811015610c7157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166125a9565b610443612644565b61049e600480360360c0811015610cac57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060408101359060ff6060820135169060808101359060a0013561264a565b61041260048036036060811015610d0057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561290a565b61049e600480360360e0811015610d4357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135612941565b61044360048036036040811015610da157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516612c93565b610443612ccb565b610443612ce6565b610e1560048036036040811015610dec57600080fd5b50803573ffffffffffffffffffffffffffffffffffffffff16906020013563ffffffff16612cf2565b6040805163ffffffff909316835260208301919091528051918290030190f35b61044360048036036020811015610e4b57600080fd5b5035612d1f565b61049e60048036036020811015610e6857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612d2a565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610f285780601f10610efd57610100808354040283529160200191610f28565b820191906000526020600020905b815481529060010190602001808311610f0b57829003601f168201915b505050505081565b336000818152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6000610f9e82612ddb565b6000610fb9612dff565b90505b90565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1681565b600354610100900473ffffffffffffffffffffffffffffffffffffffff163314611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613fc1602b913960400191505060405180910390fd5b565b600954156110e257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f616c726561647920696e697469616c697a656400000000000000000000000000604482015290519081900360640190fd5b82516110f5906001906020860190613ecb565b508151611109906002906020850190613ecb565b50600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff929092169190911790555050565b60085481565b60405180604361403d82396043019050604051809103902081565b60008273ffffffffffffffffffffffffffffffffffffffff811661118457600080fd5b73ffffffffffffffffffffffffffffffffffffffff81163014156111a757600080fd5b73ffffffffffffffffffffffffffffffffffffffff85166000908152600b602090815260408083203384529091529020546111e8908463ffffffff612e3216565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600b6020908152604080832033845290915281209190915561122584612ddb565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600a602052604090205490915061125e908263ffffffff612e3216565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600a602052604080822093909355908716815220546112a0908263ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff8087166000818152600a602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a373ffffffffffffffffffffffffffffffffffffffff8087166000908152600e602052604080822054888416835291205461134392918216911683612ee8565b50600195945050505050565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60035460ff1681565b60008273ffffffffffffffffffffffffffffffffffffffff81166113bb57600080fd5b73ffffffffffffffffffffffffffffffffffffffff81163014156113de57600080fd5b336000908152600a60205260409020546113fe908463ffffffff612e3216565b336000908152600a60205260408082209290925573ffffffffffffffffffffffffffffffffffffffff86168152205461143d908463ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff85166000818152600a6020526040902091909155337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611491866130da565b60408051918252519081900360200190a3336000908152600e60205260408082205473ffffffffffffffffffffffffffffffffffffffff878116845291909220546114e0928216911685612ee8565b5060019392505050565b600d5481565b336000908152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054611531908363ffffffff612e7416565b336000818152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205490565b60055460009073ffffffffffffffffffffffffffffffffffffffff163314806116105750600354610100900473ffffffffffffffffffffffffffffffffffffffff1633145b80611632575060075473ffffffffffffffffffffffffffffffffffffffff1633145b80611654575060065473ffffffffffffffffffffffffffffffffffffffff1633145b6116bf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6e6f74206d696e74657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b6116c983836130ff565b50600192915050565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1633146116fb57600080fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604080518281526020810192909252805183927f99b2b7456799067566d467831e63363500739eac62c12ccb8cf9745078f06d2a92908290030190a15050565b60045473ffffffffffffffffffffffffffffffffffffffff16331461180457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f2170656e64696e67000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600380546004805473ffffffffffffffffffffffffffffffffffffffff8181166101009081027fffffffffffffffffffffff0000000000000000000000000000000000000000ff861617958690557fffffffffffffffffffffffff000000000000000000000000000000000000000090921690925560408051938290048316808552919094049091166020830152825190927f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d5523928290030190a150565b600354610100900473ffffffffffffffffffffffffffffffffffffffff163314611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614012602b913960400191505060405180910390fd5b50565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600e60205260409020541690565b61193633826134ba565b60125473ffffffffffffffffffffffffffffffffffffffff1681565b69d3c21bcecceda100000081565b6119a3858585611073565b670de0b6b3a76400006009556119b881612ddb565b600c819055600882905573ffffffffffffffffffffffffffffffffffffffff83166000908152600a602052604090819020919091555180604361403d82396043019050604051809103902060016040518082805460018160011615610100020316600290048015611a605780601f10611a3e576101008083540402835291820191611a60565b820191906000526020600020905b815481529060010190602001808311611a4c575b50509150506040518091039020611a7561355f565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a090920190528051910120600d555050505050565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b60106020526000908152604090205463ffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a6020526040812054610f9e906130da565b600354610100900473ffffffffffffffffffffffffffffffffffffffff163314611b4757600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040805191909216808252602082019390935281517f6163d5b9efd962645dd649e6e48a61bcb0f9df00997a2398b80d135a9ab0c61e929181900390910190a15050565b6000438210611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613fec6026913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526010602052604090205463ffffffff1680611c64576000915050610f9e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff860181168552925290912054168310611d295773ffffffffffffffffffffffffffffffffffffffff84166000908152600f602090815260408083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9490940163ffffffff16835292905220600101549050610f9e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600f6020908152604080832083805290915290205463ffffffff16831015611d71576000915050610f9e565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b8163ffffffff168163ffffffff161115611e5557600282820363ffffffff16048103611dc1613f49565b5073ffffffffffffffffffffffffffffffffffffffff87166000908152600f6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415611e3057602001519450610f9e9350505050565b805163ffffffff16871115611e4757819350611e4e565b6001820392505b5050611d97565b5073ffffffffffffffffffffffffffffffffffffffff85166000908152600f6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60055460009073ffffffffffffffffffffffffffffffffffffffff163314611ec057600080fd5b82611f1157600954604080518681526020810183905280820192909252517fc6642d24d84e7f3d36ca39f5cce10e75639d9b158d5193aa350e2f900653e4c09181900360600190a150600854611ffc565b60095482611f5b57611f53670de0b6b3a7640000611f47611f38828863ffffffff612e3216565b6009549063ffffffff61356316565b9063ffffffff6135d616565b600955611fa5565b6000611f7c670de0b6b3a7640000611f47611f38828963ffffffff612e7416565b9050611f86612dff565b811015611f97576009819055611fa3565b611f9f612dff565b6009555b505b611fb0600c546130da565b600855600954604080518781526020810184905280820192909252517fc6642d24d84e7f3d36ca39f5cce10e75639d9b158d5193aa350e2f900653e4c09181900360600190a150506008545b9392505050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60116020526000908152604090205481565b600354610100900473ffffffffffffffffffffffffffffffffffffffff16331461205a57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8082166000908152600e60205260409020541680156120ef57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f2161646472657373283029000000000000000000000000000000000000000000604482015290519081900360640190fd5b6120f982836134ba565b5050565b60055460009073ffffffffffffffffffffffffffffffffffffffff163314806121425750600354610100900473ffffffffffffffffffffffffffffffffffffffff1633145b80612164575060075473ffffffffffffffffffffffffffffffffffffffff1633145b80612186575060065473ffffffffffffffffffffffffffffffffffffffff1633145b6121f157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6e6f74206d696e74657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b6116c98383613618565b600280546040805160206001841615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909316849004601f81018490048402820184019092528181529291830182828015610f285780601f10610efd57610100808354040283529160200191610f28565b600c5481565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1633146122a057600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040805191909216808252602082019390935281517f2ee668ca7d17a9122dc00c0bfd73b684f2f7d681f17733cc02b294f69f1b3896929181900390910190a15050565b336000908152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205480831061239657336000908152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff881684529091528120556123d8565b6123a6818463ffffffff612e3216565b336000908152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff891684529091529020555b336000818152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b60008273ffffffffffffffffffffffffffffffffffffffff811661246e57600080fd5b73ffffffffffffffffffffffffffffffffffffffff811630141561249157600080fd5b600061249c84612ddb565b336000908152600a60205260409020549091506124bf908263ffffffff612e3216565b336000908152600a60205260408082209290925573ffffffffffffffffffffffffffffffffffffffff8716815220546124fe908263ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff86166000818152600a60209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3336000908152600e60205260408082205473ffffffffffffffffffffffffffffffffffffffff8881168452919092205461259e928216911683612ee8565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526010602052604081205463ffffffff16806125e1576000611ffc565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff86011684529091529020600101549392505050565b60095481565b60006040518080614123603a91396040805191829003603a01822060208084019190915273ffffffffffffffffffffffffffffffffffffffff8b1683830152606083018a905260808084018a90528251808503909101815260a084018352805190820120600d547f190100000000000000000000000000000000000000000000000000000000000060c086015260c285015260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8b1661014287015261016286018a90526101828601899052935191965092945091926001926101a280830193927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08301929081900390910190855afa15801561277f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116612816576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613f9c6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152601160205260409020805460018101909155881461289b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613f7b6021913960400191505060405180910390fd5b864211156128f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806140a16025913960400191505060405180910390fd5b6128fe818a6134ba565b5050505b505050505050565b600354600090610100900473ffffffffffffffffffffffffffffffffffffffff16331461293657600080fd5b6114e08484846137e5565b834211156129b057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f59414d2f7065726d69742d657870697265640000000000000000000000000000604482015290519081900360640190fd5b600d5473ffffffffffffffffffffffffffffffffffffffff80891660008181526011602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981840152808401859052948c166060860152608085018b905260a085015260c08085018a90528251808603909101815260e0850183528051908201207f1901000000000000000000000000000000000000000000000000000000000000610100860152610102850195909552610122808501959095528151808503909501855261014290930190528251929091019190912090612b0757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f59414d2f696e76616c69642d616464726573732d300000000000000000000000604482015290519081900360640190fd5b6040805160008152602080820180845284905260ff8716828401526060820186905260808201859052915160019260a08084019391927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015612b7c573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614612c1f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f59414d2f696e76616c69642d7065726d69740000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600b60209081526040808320948c16808452948252918290208a905581518a815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35050505050505050565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600b6020908152604080832093909416825291909152205490565b60405180603a6141238239603a019050604051809103902081565b670de0b6b3a764000081565b600f6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6000610f9e826130da565b600354610100900473ffffffffffffffffffffffffffffffffffffffff163314612d5357600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040805191909216808252602082019390935281517f51f448520e2183de499e224808a409ee01a1f380edb2e8497572320c15030545929181900390910190a15050565b600954600090610f9e90611f478469d3c21bcecceda100000063ffffffff61356316565b6000600c547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81612e2c57fe5b04905090565b6000611ffc83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613872565b600082820183811015611ffc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612f245750600081115b156130d55773ffffffffffffffffffffffffffffffffffffffff8316156130015773ffffffffffffffffffffffffffffffffffffffff831660009081526010602052604081205463ffffffff169081612f7e576000612fdb565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff87011684529091529020600101545b90506000612fef828563ffffffff612e3216565b9050612ffd86848484613923565b5050505b73ffffffffffffffffffffffffffffffffffffffff8216156130d55773ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081205463ffffffff1690816130565760006130b3565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff87011684529091529020600101545b905060006130c7828563ffffffff612e7416565b905061290285848484613923565b505050565b6000610f9e69d3c21bcecceda1000000611f476009548561356390919063ffffffff16565b60065473ffffffffffffffffffffffffffffffffffffffff163314156132ed57600c54613132908263ffffffff612e7416565b600c556000613140826130da565b600854909150613156908263ffffffff612e7416565b600855613161612dff565b60095411156131d157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a6020526040902054613207908363ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600a6020908152604080832094909455600e90529182205461324892911684612ee8565b6040805173ffffffffffffffffffffffffffffffffffffffff851681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a160408051828152905173ffffffffffffffffffffffffffffffffffffffff8516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3506120f9565b600854613300908263ffffffff612e7416565b600855600061330e82612ddb565b600c54909150613324908263ffffffff612e7416565b600c5561332f612dff565b600954111561339f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a60205260409020546133d5908263ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600a6020908152604080832094909455600e90529182205461341692911683612ee8565b6040805173ffffffffffffffffffffffffffffffffffffffff851681526020810184905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a160408051838152905173ffffffffffffffffffffffffffffffffffffffff8516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8083166000818152600e602081815260408084208054600a845282862054949093528787167fffffffffffffffffffffffff00000000000000000000000000000000000000008416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4613559828483612ee8565b50505050565b4690565b60008261357257506000610f9e565b8282028284828161357f57fe5b0414611ffc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806140806021913960400191505060405180910390fd5b6000611ffc83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613b13565b600c5461362b908263ffffffff612e7416565b600c556000613639826130da565b60085490915061364f908263ffffffff612e7416565b60085561365a612dff565b60095411156136ca57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a6020526040902054613700908363ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600a6020908152604080832094909455600e90529182205461374192911684612ee8565b6040805173ffffffffffffffffffffffffffffffffffffffff851681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a160408051828152905173ffffffffffffffffffffffffffffffffffffffff8516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526130d5908490613b92565b6000818484111561391b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156138e05781810151838201526020016138c8565b50505050905090810190601f16801561390d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000613947436040518060600160405280603381526020016140c660339139613c6a565b905060008463ffffffff161180156139bb575073ffffffffffffffffffffffffffffffffffffffff85166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8901811685529252909120548282169116145b15613a235773ffffffffffffffffffffffffffffffffffffffff85166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff89011684529091529020600101829055613abc565b60408051808201825263ffffffff8084168252602080830186815273ffffffffffffffffffffffffffffffffffffffff8a166000818152600f84528681208b861682528452868120955186549086167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000918216178755925160019687015590815260109092529390208054928801909116919092161790555b6040805184815260208101849052815173ffffffffffffffffffffffffffffffffffffffff8816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60008183613b7c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156138e05781810151838201526020016138c8565b506000838581613b8857fe5b0495945050505050565b6060613bf4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613ce29092919063ffffffff16565b8051909150156130d557808060200190516020811015613c1357600080fd5b50516130d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806140f9602a913960400191505060405180910390fd5b6000816401000000008410613cda576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156138e05781810151838201526020016138c8565b509192915050565b6060613cf18484600085613cf9565b949350505050565b6060613d0485613ec5565b613d6f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613dd957805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613d9c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613e3b576040519150601f19603f3d011682016040523d82523d6000602084013e613e40565b606091505b50915091508115613e54579150613cf19050565b805115613e645780518082602001fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528651602484015286518793919283926044019190850190808383600083156138e05781810151838201526020016138c8565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613f0c57805160ff1916838001178555613f39565b82800160010185558215613f39579182015b82811115613f39578251825591602001919060010190613f1e565b50613f45929150613f60565b5090565b604080518082019091526000808252602082015290565b610fbc91905b80821115613f455760008155600101613f6656fe59414d3a3a64656c656761746542795369673a20696e76616c6964206e6f6e636559414d3a3a64656c656761746542795369673a20696e76616c6964207369676e61747572656f6e6c792074686520676f76206d61792063616c6c205f72657369676e496d706c656d656e746174696f6e59414d3a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65646f6e6c792074686520676f76206d61792063616c6c205f6265636f6d65496d706c656d656e746174696f6e454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7759414d3a3a64656c656761746542795369673a207369676e6174757265206578706972656459414d3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656444656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a7231582074004ec5b5cc2cf9b540ed9c768103c5534cabb0496f102e2cdbd8128fd769c864736f6c634300050f0032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103575760003560e01c80636c945221116101c857806398dca21011610104578063d505accf116100a2578063ec342ad01161007c578063ec342ad014610dce578063f1127ed814610dd6578063f18d9b6314610e35578063fa8f345514610e5257610357565b8063d505accf14610d2d578063dd62ed3e14610d8b578063e7a324dc14610dc657610357565b8063b4b5ea57116100de578063b4b5ea5714610c5b578063b6fa857614610c8e578063c3cda52014610c96578063cea9d26f14610cea57610357565b806398dca21014610bb6578063a457c2d714610be9578063a9059cbb14610c2257610357565b80637af548c1116101715780638ca34cdd1161014b5780638ca34cdd14610b3a578063917505f414610b6d57806395d89b4114610ba657806397d63f9314610bae57610357565b80637af548c114610ad45780637cd07e4714610aff5780637ecebe0014610b0757610357565b806370a08231116101a257806370a0823114610a3557806373f03dff14610a68578063782d6fe114610a9b57610357565b80636c945221146108905780636fc6407c146109e15780636fcfff45146109e957610357565b8063313ce5671161029757806347dfe70d11610240578063587cde1e1161021a578063587cde1e1461081a5780635c19a95c1461084d5780635c60da1b1461088057806364dd48f51461088857610357565b806347dfe70d146107395780634bda2e201461076c57806356e677281461077457610357565b8063395093511161027157806339509351146106945780633af9e669146106cd57806340c10f191461070057610357565b8063313ce56714610635578063336d2692146106535780633644e5151461068c57610357565b8063153ab5051161030457806320606b70116102de57806320606b70146105da57806323b872dd146105e2578063252408101461062557806330adf81f1461062d57610357565b8063153ab505146104965780631624f6c6146104a057806318160ddd146105d257610357565b806311d3e6c41161033557806311d3e6c41461045557806311fd8a831461045d57806312d43a511461048e57610357565b806306fdde031461035c578063095ea7b3146103d957806309c8640314610426575b600080fd5b610364610e85565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561039e578181015183820152602001610386565b50505050905090810190601f1680156103cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610412600480360360408110156103ef57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610f30565b604080519115158252519081900360200190f35b6104436004803603602081101561043c57600080fd5b5035610fa4565b60408051918252519081900360200190f35b610443610faf565b610465610fbf565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610465610fdb565b61049e610ffc565b005b61049e600480360360608110156104b657600080fd5b8101906020810181356401000000008111156104d157600080fd5b8201836020820111156104e357600080fd5b8035906020019184600183028401116401000000008311171561050557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561055857600080fd5b82018360208201111561056a57600080fd5b8035906020019184600183028401116401000000008311171561058c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506110739050565b610443611140565b610443611146565b610412600480360360608110156105f857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135611161565b61046561134f565b61044361136b565b61063d61138f565b6040805160ff9092168252519081900360200190f35b6104126004803603604081101561066957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611398565b6104436114ea565b610412600480360360408110156106aa57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356114f0565b610443600480360360208110156106e357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166115a3565b6104126004803603604081101561071657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356115cb565b61049e6004803603602081101561074f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166116d2565b61049e61177e565b61049e6004803603602081101561078a57600080fd5b8101906020810181356401000000008111156107a557600080fd5b8201836020820111156107b757600080fd5b803590602001918460018302840111640100000000831117156107d957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118c1945050505050565b6104656004803603602081101561083057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611939565b61049e6004803603602081101561086357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611964565b61046561196e565b61044361198a565b61049e600480360360a08110156108a657600080fd5b8101906020810181356401000000008111156108c157600080fd5b8201836020820111156108d357600080fd5b803590602001918460018302840111640100000000831117156108f557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561094857600080fd5b82018360208201111561095a57600080fd5b8035906020019184600183028401116401000000008311171561097c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff16925050602081013573ffffffffffffffffffffffffffffffffffffffff169060400135611998565b610465611abb565b610a1c600480360360208110156109ff57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611ad7565b6040805163ffffffff9092168252519081900360200190f35b61044360048036036020811015610a4b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611aef565b61049e60048036036020811015610a7e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611b1e565b61044360048036036040811015610ab157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611bcf565b61044360048036036060811015610aea57600080fd5b50803590602081013590604001351515611e99565b610465612003565b61044360048036036020811015610b1d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661201f565b61049e60048036036020811015610b5057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612031565b61041260048036036040811015610b8357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356120fd565b6103646121fb565b610443612271565b61049e60048036036020811015610bcc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612277565b61041260048036036040811015610bff57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612328565b61041260048036036040811015610c3857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561244b565b61044360048036036020811015610c7157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166125a9565b610443612644565b61049e600480360360c0811015610cac57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060408101359060ff6060820135169060808101359060a0013561264a565b61041260048036036060811015610d0057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561290a565b61049e600480360360e0811015610d4357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135612941565b61044360048036036040811015610da157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516612c93565b610443612ccb565b610443612ce6565b610e1560048036036040811015610dec57600080fd5b50803573ffffffffffffffffffffffffffffffffffffffff16906020013563ffffffff16612cf2565b6040805163ffffffff909316835260208301919091528051918290030190f35b61044360048036036020811015610e4b57600080fd5b5035612d1f565b61049e60048036036020811015610e6857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612d2a565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610f285780601f10610efd57610100808354040283529160200191610f28565b820191906000526020600020905b815481529060010190602001808311610f0b57829003601f168201915b505050505081565b336000818152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6000610f9e82612ddb565b6000610fb9612dff565b90505b90565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1681565b600354610100900473ffffffffffffffffffffffffffffffffffffffff163314611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613fc1602b913960400191505060405180910390fd5b565b600954156110e257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f616c726561647920696e697469616c697a656400000000000000000000000000604482015290519081900360640190fd5b82516110f5906001906020860190613ecb565b508151611109906002906020850190613ecb565b50600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff929092169190911790555050565b60085481565b60405180604361403d82396043019050604051809103902081565b60008273ffffffffffffffffffffffffffffffffffffffff811661118457600080fd5b73ffffffffffffffffffffffffffffffffffffffff81163014156111a757600080fd5b73ffffffffffffffffffffffffffffffffffffffff85166000908152600b602090815260408083203384529091529020546111e8908463ffffffff612e3216565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600b6020908152604080832033845290915281209190915561122584612ddb565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600a602052604090205490915061125e908263ffffffff612e3216565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600a602052604080822093909355908716815220546112a0908263ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff8087166000818152600a602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a373ffffffffffffffffffffffffffffffffffffffff8087166000908152600e602052604080822054888416835291205461134392918216911683612ee8565b50600195945050505050565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60035460ff1681565b60008273ffffffffffffffffffffffffffffffffffffffff81166113bb57600080fd5b73ffffffffffffffffffffffffffffffffffffffff81163014156113de57600080fd5b336000908152600a60205260409020546113fe908463ffffffff612e3216565b336000908152600a60205260408082209290925573ffffffffffffffffffffffffffffffffffffffff86168152205461143d908463ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff85166000818152600a6020526040902091909155337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611491866130da565b60408051918252519081900360200190a3336000908152600e60205260408082205473ffffffffffffffffffffffffffffffffffffffff878116845291909220546114e0928216911685612ee8565b5060019392505050565b600d5481565b336000908152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054611531908363ffffffff612e7416565b336000818152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205490565b60055460009073ffffffffffffffffffffffffffffffffffffffff163314806116105750600354610100900473ffffffffffffffffffffffffffffffffffffffff1633145b80611632575060075473ffffffffffffffffffffffffffffffffffffffff1633145b80611654575060065473ffffffffffffffffffffffffffffffffffffffff1633145b6116bf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6e6f74206d696e74657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b6116c983836130ff565b50600192915050565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1633146116fb57600080fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117909155604080518281526020810192909252805183927f99b2b7456799067566d467831e63363500739eac62c12ccb8cf9745078f06d2a92908290030190a15050565b60045473ffffffffffffffffffffffffffffffffffffffff16331461180457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f2170656e64696e67000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600380546004805473ffffffffffffffffffffffffffffffffffffffff8181166101009081027fffffffffffffffffffffff0000000000000000000000000000000000000000ff861617958690557fffffffffffffffffffffffff000000000000000000000000000000000000000090921690925560408051938290048316808552919094049091166020830152825190927f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d5523928290030190a150565b600354610100900473ffffffffffffffffffffffffffffffffffffffff163314611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614012602b913960400191505060405180910390fd5b50565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600e60205260409020541690565b61193633826134ba565b60125473ffffffffffffffffffffffffffffffffffffffff1681565b69d3c21bcecceda100000081565b6119a3858585611073565b670de0b6b3a76400006009556119b881612ddb565b600c819055600882905573ffffffffffffffffffffffffffffffffffffffff83166000908152600a602052604090819020919091555180604361403d82396043019050604051809103902060016040518082805460018160011615610100020316600290048015611a605780601f10611a3e576101008083540402835291820191611a60565b820191906000526020600020905b815481529060010190602001808311611a4c575b50509150506040518091039020611a7561355f565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a090920190528051910120600d555050505050565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b60106020526000908152604090205463ffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a6020526040812054610f9e906130da565b600354610100900473ffffffffffffffffffffffffffffffffffffffff163314611b4757600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040805191909216808252602082019390935281517f6163d5b9efd962645dd649e6e48a61bcb0f9df00997a2398b80d135a9ab0c61e929181900390910190a15050565b6000438210611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613fec6026913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526010602052604090205463ffffffff1680611c64576000915050610f9e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff860181168552925290912054168310611d295773ffffffffffffffffffffffffffffffffffffffff84166000908152600f602090815260408083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9490940163ffffffff16835292905220600101549050610f9e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600f6020908152604080832083805290915290205463ffffffff16831015611d71576000915050610f9e565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b8163ffffffff168163ffffffff161115611e5557600282820363ffffffff16048103611dc1613f49565b5073ffffffffffffffffffffffffffffffffffffffff87166000908152600f6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415611e3057602001519450610f9e9350505050565b805163ffffffff16871115611e4757819350611e4e565b6001820392505b5050611d97565b5073ffffffffffffffffffffffffffffffffffffffff85166000908152600f6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60055460009073ffffffffffffffffffffffffffffffffffffffff163314611ec057600080fd5b82611f1157600954604080518681526020810183905280820192909252517fc6642d24d84e7f3d36ca39f5cce10e75639d9b158d5193aa350e2f900653e4c09181900360600190a150600854611ffc565b60095482611f5b57611f53670de0b6b3a7640000611f47611f38828863ffffffff612e3216565b6009549063ffffffff61356316565b9063ffffffff6135d616565b600955611fa5565b6000611f7c670de0b6b3a7640000611f47611f38828963ffffffff612e7416565b9050611f86612dff565b811015611f97576009819055611fa3565b611f9f612dff565b6009555b505b611fb0600c546130da565b600855600954604080518781526020810184905280820192909252517fc6642d24d84e7f3d36ca39f5cce10e75639d9b158d5193aa350e2f900653e4c09181900360600190a150506008545b9392505050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60116020526000908152604090205481565b600354610100900473ffffffffffffffffffffffffffffffffffffffff16331461205a57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8082166000908152600e60205260409020541680156120ef57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f2161646472657373283029000000000000000000000000000000000000000000604482015290519081900360640190fd5b6120f982836134ba565b5050565b60055460009073ffffffffffffffffffffffffffffffffffffffff163314806121425750600354610100900473ffffffffffffffffffffffffffffffffffffffff1633145b80612164575060075473ffffffffffffffffffffffffffffffffffffffff1633145b80612186575060065473ffffffffffffffffffffffffffffffffffffffff1633145b6121f157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6e6f74206d696e74657200000000000000000000000000000000000000000000604482015290519081900360640190fd5b6116c98383613618565b600280546040805160206001841615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909316849004601f81018490048402820184019092528181529291830182828015610f285780601f10610efd57610100808354040283529160200191610f28565b600c5481565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1633146122a057600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040805191909216808252602082019390935281517f2ee668ca7d17a9122dc00c0bfd73b684f2f7d681f17733cc02b294f69f1b3896929181900390910190a15050565b336000908152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205480831061239657336000908152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff881684529091528120556123d8565b6123a6818463ffffffff612e3216565b336000908152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff891684529091529020555b336000818152600b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b60008273ffffffffffffffffffffffffffffffffffffffff811661246e57600080fd5b73ffffffffffffffffffffffffffffffffffffffff811630141561249157600080fd5b600061249c84612ddb565b336000908152600a60205260409020549091506124bf908263ffffffff612e3216565b336000908152600a60205260408082209290925573ffffffffffffffffffffffffffffffffffffffff8716815220546124fe908263ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff86166000818152600a60209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3336000908152600e60205260408082205473ffffffffffffffffffffffffffffffffffffffff8881168452919092205461259e928216911683612ee8565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526010602052604081205463ffffffff16806125e1576000611ffc565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff86011684529091529020600101549392505050565b60095481565b60006040518080614123603a91396040805191829003603a01822060208084019190915273ffffffffffffffffffffffffffffffffffffffff8b1683830152606083018a905260808084018a90528251808503909101815260a084018352805190820120600d547f190100000000000000000000000000000000000000000000000000000000000060c086015260c285015260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8b1661014287015261016286018a90526101828601899052935191965092945091926001926101a280830193927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08301929081900390910190855afa15801561277f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116612816576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613f9c6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152601160205260409020805460018101909155881461289b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613f7b6021913960400191505060405180910390fd5b864211156128f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806140a16025913960400191505060405180910390fd5b6128fe818a6134ba565b5050505b505050505050565b600354600090610100900473ffffffffffffffffffffffffffffffffffffffff16331461293657600080fd5b6114e08484846137e5565b834211156129b057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f59414d2f7065726d69742d657870697265640000000000000000000000000000604482015290519081900360640190fd5b600d5473ffffffffffffffffffffffffffffffffffffffff80891660008181526011602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981840152808401859052948c166060860152608085018b905260a085015260c08085018a90528251808603909101815260e0850183528051908201207f1901000000000000000000000000000000000000000000000000000000000000610100860152610102850195909552610122808501959095528151808503909501855261014290930190528251929091019190912090612b0757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f59414d2f696e76616c69642d616464726573732d300000000000000000000000604482015290519081900360640190fd5b6040805160008152602080820180845284905260ff8716828401526060820186905260808201859052915160019260a08084019391927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015612b7c573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614612c1f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f59414d2f696e76616c69642d7065726d69740000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600b60209081526040808320948c16808452948252918290208a905581518a815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35050505050505050565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600b6020908152604080832093909416825291909152205490565b60405180603a6141238239603a019050604051809103902081565b670de0b6b3a764000081565b600f6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6000610f9e826130da565b600354610100900473ffffffffffffffffffffffffffffffffffffffff163314612d5357600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040805191909216808252602082019390935281517f51f448520e2183de499e224808a409ee01a1f380edb2e8497572320c15030545929181900390910190a15050565b600954600090610f9e90611f478469d3c21bcecceda100000063ffffffff61356316565b6000600c547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81612e2c57fe5b04905090565b6000611ffc83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613872565b600082820183811015611ffc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612f245750600081115b156130d55773ffffffffffffffffffffffffffffffffffffffff8316156130015773ffffffffffffffffffffffffffffffffffffffff831660009081526010602052604081205463ffffffff169081612f7e576000612fdb565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff87011684529091529020600101545b90506000612fef828563ffffffff612e3216565b9050612ffd86848484613923565b5050505b73ffffffffffffffffffffffffffffffffffffffff8216156130d55773ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081205463ffffffff1690816130565760006130b3565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff87011684529091529020600101545b905060006130c7828563ffffffff612e7416565b905061290285848484613923565b505050565b6000610f9e69d3c21bcecceda1000000611f476009548561356390919063ffffffff16565b60065473ffffffffffffffffffffffffffffffffffffffff163314156132ed57600c54613132908263ffffffff612e7416565b600c556000613140826130da565b600854909150613156908263ffffffff612e7416565b600855613161612dff565b60095411156131d157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a6020526040902054613207908363ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600a6020908152604080832094909455600e90529182205461324892911684612ee8565b6040805173ffffffffffffffffffffffffffffffffffffffff851681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a160408051828152905173ffffffffffffffffffffffffffffffffffffffff8516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3506120f9565b600854613300908263ffffffff612e7416565b600855600061330e82612ddb565b600c54909150613324908263ffffffff612e7416565b600c5561332f612dff565b600954111561339f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a60205260409020546133d5908263ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600a6020908152604080832094909455600e90529182205461341692911683612ee8565b6040805173ffffffffffffffffffffffffffffffffffffffff851681526020810184905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a160408051838152905173ffffffffffffffffffffffffffffffffffffffff8516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8083166000818152600e602081815260408084208054600a845282862054949093528787167fffffffffffffffffffffffff00000000000000000000000000000000000000008416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4613559828483612ee8565b50505050565b4690565b60008261357257506000610f9e565b8282028284828161357f57fe5b0414611ffc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806140806021913960400191505060405180910390fd5b6000611ffc83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613b13565b600c5461362b908263ffffffff612e7416565b600c556000613639826130da565b60085490915061364f908263ffffffff612e7416565b60085561365a612dff565b60095411156136ca57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a6020526040902054613700908363ffffffff612e7416565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600a6020908152604080832094909455600e90529182205461374192911684612ee8565b6040805173ffffffffffffffffffffffffffffffffffffffff851681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a160408051828152905173ffffffffffffffffffffffffffffffffffffffff8516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526130d5908490613b92565b6000818484111561391b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156138e05781810151838201526020016138c8565b50505050905090810190601f16801561390d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000613947436040518060600160405280603381526020016140c660339139613c6a565b905060008463ffffffff161180156139bb575073ffffffffffffffffffffffffffffffffffffffff85166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8901811685529252909120548282169116145b15613a235773ffffffffffffffffffffffffffffffffffffffff85166000908152600f6020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff89011684529091529020600101829055613abc565b60408051808201825263ffffffff8084168252602080830186815273ffffffffffffffffffffffffffffffffffffffff8a166000818152600f84528681208b861682528452868120955186549086167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000918216178755925160019687015590815260109092529390208054928801909116919092161790555b6040805184815260208101849052815173ffffffffffffffffffffffffffffffffffffffff8816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60008183613b7c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156138e05781810151838201526020016138c8565b506000838581613b8857fe5b0495945050505050565b6060613bf4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613ce29092919063ffffffff16565b8051909150156130d557808060200190516020811015613c1357600080fd5b50516130d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806140f9602a913960400191505060405180910390fd5b6000816401000000008410613cda576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156138e05781810151838201526020016138c8565b509192915050565b6060613cf18484600085613cf9565b949350505050565b6060613d0485613ec5565b613d6f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613dd957805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613d9c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613e3b576040519150601f19603f3d011682016040523d82523d6000602084013e613e40565b606091505b50915091508115613e54579150613cf19050565b805115613e645780518082602001fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528651602484015286518793919283926044019190850190808383600083156138e05781810151838201526020016138c8565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613f0c57805160ff1916838001178555613f39565b82800160010185558215613f39579182015b82811115613f39578251825591602001919060010190613f1e565b50613f45929150613f60565b5090565b604080518082019091526000808252602082015290565b610fbc91905b80821115613f455760008155600101613f6656fe59414d3a3a64656c656761746542795369673a20696e76616c6964206e6f6e636559414d3a3a64656c656761746542795369673a20696e76616c6964207369676e61747572656f6e6c792074686520676f76206d61792063616c6c205f72657369676e496d706c656d656e746174696f6e59414d3a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65646f6e6c792074686520676f76206d61792063616c6c205f6265636f6d65496d706c656d656e746174696f6e454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7759414d3a3a64656c656761746542795369673a207369676e6174757265206578706972656459414d3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656444656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a7231582074004ec5b5cc2cf9b540ed9c768103c5534cabb0496f102e2cdbd8128fd769c864736f6c634300050f0032

Deployed Bytecode Sourcemap

54523:1054:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54523:1054:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8203:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8203:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43107:235;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43107:235:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;49844:149;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49844:149:0;;:::i;:::-;;;;;;;;;;;;;;;;35120:137;;;:::i;8691:22::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8490:18;;;:::i;55299:275::-;;;:::i;:::-;;34748:290;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;34748:290:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;34748:290:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;34748:290:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;34748:290:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;34748:290:0;;;;;;;;-1:-1:-1;34748:290:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;34748:290:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;34748:290:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;34748:290:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;34748:290:0;;-1:-1:-1;;;34748:290:0;;;;;-1:-1:-1;34748:290:0;;-1:-1:-1;34748:290:0:i;8986:26::-;;;:::i;2155:122::-;;;:::i;40752:641::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40752:641:0;;;;;;;;;;;;;;;;;;:::i;8588:25::-;;;:::i;9675:108::-;;;:::i;8399:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38908:507;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38908:507:0;;;;;;;;;:::i;9790:31::-;;;:::i;43715:345::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43715:345:0;;;;;;;;;:::i;41841:141::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41841:141:0;;;;:::i;35760:167::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35760:167:0;;;;;;;;;:::i;46468:213::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46468:213:0;;;;:::i;47538:236::-;;;:::i;54844:345::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;54844:345:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;54844:345:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;54844:345:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;54844:345:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;54844:345:0;;-1:-1:-1;54844:345:0;;-1:-1:-1;;;;;54844:345:0:i;15449:149::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15449:149:0;;;;:::i;15742:104::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15742:104:0;;;;:::i;53227:29::-;;;:::i;9103:49::-;;;:::i;50943:680::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;50943:680:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;50943:680:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;50943:680:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;50943:680:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;50943:680:0;;;;;;;;-1:-1:-1;50943:680:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;50943:680:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;50943:680:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;50943:680:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;50943:680:0;;-1:-1:-1;;;50943:680:0;;;;;-1:-1:-1;;50943:680:0;;;;;;;;;;;:::i;8895:27::-;;;:::i;2033:49::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2033:49:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41511:147;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41511:147:0;;;;:::i;47221:230::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47221:230:0;;;;:::i;18104:1252::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18104:1252:0;;;;;;;;;:::i;48491:1192::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48491:1192:0;;;;;;;;;;;;;;:::i;8792:23::-;;;:::i;2569:39::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2569:39:0;;;;:::i;47782:321::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47782:321:0;;;;:::i;37690:187::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37690:187:0;;;;;;;;;:::i;8299:20::-;;;:::i;9534:25::-;;;:::i;46829:248::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46829:248:0;;;;:::i;44322:514::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44322:514:0;;;;;;;;;:::i;39677:818::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39677:818:0;;;;;;;;;:::i;17418:255::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17418:255:0;;;;:::i;9349:32::-;;;:::i;16280:937::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;16280:937:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;50393:277::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50393:277:0;;;;;;;;;;;;;;;;;;:::i;44883:1065::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;44883:1065:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;42289:176::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42289:176:0;;;;;;;;;;;:::i;2371:117::-;;;:::i;9221:37::-;;;:::i;1894:70::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1894:70:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;49691:145;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49691:145:0;;:::i;46124:203::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46124:203:0;;;;:::i;8203:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;43107:235::-;43232:10;43192:4;43214:29;;;:17;:29;;;;;;;;;:38;;;;;;;;;;;:46;;;43276:36;;;;;;;43192:4;;43214:38;;43232:10;;43276:36;;;;;;;;-1:-1:-1;43330:4:0;43107:235;;;;;:::o;49844:149::-;49932:7;49964:21;49979:5;49964:14;:21::i;35120:137::-;35198:7;35230:19;:17;:19::i;:::-;35223:26;;35120:137;;:::o;8691:22::-;;;;;;:::o;8490:18::-;;;;;;;;;:::o;55299:275::-;55515:3;;;;;;;55501:10;:17;55493:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55299:275::o;34748:290::-;34903:17;;:22;34895:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34960:12;;;;:4;;:12;;;;;:::i;:::-;-1:-1:-1;34983:16:0;;;;:6;;:16;;;;;:::i;:::-;-1:-1:-1;35010:8:0;:20;;;;;;;;;;;;;;;-1:-1:-1;;34748:290:0:o;8986:26::-;;;;:::o;2155:122::-;2197:80;;;;;;;;;;;;;;;;;;2155:122;:::o;40752:641::-;40879:4;40857:2;34662:18;;;34654:27;;;;;;34700:19;;;34714:4;34700:19;;34692:28;;;;;;40970:23;;;;;;;:17;:23;;;;;;;;40994:10;40970:35;;;;;;;;:46;;41010:5;40970:46;:39;:46;:::i;:::-;40932:23;;;;;;;:17;:23;;;;;;;;40956:10;40932:35;;;;;;;:84;;;;41078:21;41093:5;41078:14;:21::i;:::-;41159:18;;;;;;;:12;:18;;;;;;41059:40;;-1:-1:-1;41159:32:0;;41059:40;41159:32;:22;:32;:::i;:::-;41138:18;;;;;;;;:12;:18;;;;;;:53;;;;41221:16;;;;;;;:30;;41242:8;41221:30;:20;:30;:::i;:::-;41202:16;;;;;;;;:12;:16;;;;;;;;;:49;;;;41267:25;;;;;;;41202:16;;41267:25;;;;;;;;;;;;;41320:16;;;;;;;;:10;:16;;;;;;;41338:14;;;;;;;;41305:58;;41320:16;;;;41338:14;41354:8;41305:14;:58::i;:::-;-1:-1:-1;41381:4:0;;40752:641;-1:-1:-1;;;;;40752:641:0:o;8588:25::-;;;;;;:::o;9675:108::-;9717:66;9675:108;:::o;8399:21::-;;;;;;:::o;38908:507::-;39027:4;39005:2;34662:18;;;34654:27;;;;;;34700:19;;;34714:4;34700:19;;34692:28;;;;;;39128:10;39115:24;;;;:12;:24;;;;;;:35;;39144:5;39115:35;:28;:35;:::i;:::-;39101:10;39088:24;;;;:12;:24;;;;;;:62;;;;:24;39221:16;;;;;;:27;;39242:5;39221:27;:20;:27;:::i;:::-;39202:16;;;;;;;:12;:16;;;;;:46;;;;39273:10;39264:47;39289:21;39304:5;39289:14;:21::i;:::-;39264:47;;;;;;;;;;;;;;;39350:10;39339:22;;;;:10;:22;;;;;;;;39363:14;;;;;;;;;;39324:61;;39339:22;;;39363:14;39379:5;39324:14;:61::i;:::-;-1:-1:-1;39403:4:0;;38908:507;-1:-1:-1;;;38908:507:0:o;9790:31::-;;;;:::o;43715:345::-;43909:10;43815:4;43891:29;;;:17;:29;;;;;;;;;:38;;;;;;;;;;:54;;43934:10;43891:54;:42;:54;:::i;:::-;43855:10;43837:29;;;;:17;:29;;;;;;;;;:38;;;;;;;;;;;;:108;;;43961:69;;;;;;43837:38;;43961:69;;;;;;;;;;;-1:-1:-1;44048:4:0;43715:345;;;;:::o;41841:141::-;41957:17;;41927:7;41957:17;;;:12;:17;;;;;;;41841:141::o;35760:167::-;34418:7;;35858:4;;34418:7;;34404:10;:21;;:55;;-1:-1:-1;34456:3:0;;;;;;;34442:10;:17;34404:55;:98;;;-1:-1:-1;34490:12:0;;;;34476:10;:26;34404:98;:137;;;-1:-1:-1;34533:8:0;;;;34519:10;:22;34404:137;34382:197;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35880:17;35886:2;35890:6;35880:5;:17::i;:::-;-1:-1:-1;35915:4:0;35760:167;;;;:::o;46468:213::-;34225:3;;;;;;;34211:10;:17;34203:26;;;;;;46602:8;:20;;;;;;;;;;;;;46638:35;;;;;;;;;;;;;;;46602:20;;46638:35;;;;;;;;;34240:1;46468:213;:::o;47538:236::-;47616:10;;;;47602;:24;47594:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47667:3;;;47687:10;;;47667:3;47687:10;;;47667:3;47681:16;;;;;;;;;;;47708:23;;;;;;;47747:19;;;47667:3;;;;;;47747:19;;;47762:3;;;;;;;47747:19;;;;;;47667:3;;47747:19;;;;;;;;47538:236;:::o;54844:345::-;55130:3;;;;;;;55116:10;:17;55108:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54844:345;:::o;15449:149::-;15569:21;;;;15537:7;15569:21;;;:10;:21;;;;;;;;15449:149::o;15742:104::-;15806:32;15816:10;15828:9;15806;:32::i;53227:29::-;;;;;;:::o;9103:49::-;9146:6;9103:49;:::o;50943:680::-;51157:43;51174:5;51181:7;51190:9;51157:16;:43::i;:::-;9252:6;51213:17;:24;51261:32;51276:16;51261:14;:32::i;:::-;51248:10;:45;;;51304:11;:30;;;51345:27;;;-1:-1:-1;51345:27:0;;;:12;:27;;;;;;;:40;;;;2197:80;;;;;;;;;;;;;;;;;51520:4;51504:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51545:12;:10;:12::i;:::-;51441:163;;;;;;;;;;;;;;;;;;;;;;;;;51584:4;51441:163;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;51441:163:0;;;;;;51417:198;;;;;51398:16;:217;-1:-1:-1;;;;;50943:680:0:o;8895:27::-;;;;;;:::o;2033:49::-;;;;;;;;;;;;;;;:::o;41511:147::-;41632:17;;;41587:7;41632:17;;;:12;:17;;;;;;41617:33;;:14;:33::i;47221:230::-;34225:3;;;;;;;34211:10;:17;34203:26;;;;;;47341:10;;;;47362:24;;;;;;;;;;;47402:41;;;47341:10;;;;47402:41;;;;;;;;;;;;;;;;;;;;;;;34240:1;47221:230;:::o;18104:1252::-;18212:7;18259:12;18245:11;:26;18237:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18349:23;;;18327:19;18349:23;;;:14;:23;;;;;;;;18387:17;18383:58;;18428:1;18421:8;;;;;18383:58;18501:20;;;;;;;:11;:20;;;;;;;;:38;18522:16;;;18501:38;;;;;;;;;:48;;:63;-1:-1:-1;18497:147:0;;18588:20;;;;;;;:11;:20;;;;;;;;18609:16;;;;;18588:38;;;;;;;;18624:1;18588:44;;;-1:-1:-1;18581:51:0;;18497:147;18705:20;;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;18701:88:0;;;18776:1;18769:8;;;;;18701:88;18801:12;18843:16;;;18870:428;18885:5;18877:13;;:5;:13;;;18870:428;;;18949:1;18932:13;;;18931:19;;;18923:27;;18992:20;;:::i;:::-;-1:-1:-1;19015:20:0;;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;18992:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19062:27;;19058:229;;;19117:8;;;;-1:-1:-1;19110:15:0;;-1:-1:-1;;;;19110:15:0;19058:229;19151:12;;:26;;;-1:-1:-1;19147:140:0;;;19206:6;19198:14;;19147:140;;;19270:1;19261:6;:10;19253:18;;19147:140;18870:428;;;;;-1:-1:-1;19315:20:0;;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;18104:1252:0;;;;:::o;48491:1192::-;34313:7;;48648;;34313;;34299:10;:21;34291:30;;;;;;48699:15;48695:133;;48748:17;;48734:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48805:11:0;;48798:18;;48695:133;48895:17;;48932:8;48927:551;;49034:53;9252:6;49034:43;49056:20;9252:6;49065:10;49056:20;:8;:20;:::i;:::-;49034:17;;;:43;:21;:43;:::i;:::-;:47;:53;:47;:53;:::i;:::-;49014:17;:73;48927:551;;;49177:24;49204:53;9252:6;49204:43;49226:20;9252:6;49235:10;49226:20;:8;:20;:::i;49204:53::-;49177:80;;49295:19;:17;:19::i;:::-;49276:16;:38;49272:195;;;49335:17;:36;;;49272:195;;;49432:19;:17;:19::i;:::-;49412:17;:39;49272:195;48927:551;;49547:26;49562:10;;49547:14;:26::i;:::-;49533:11;:40;49628:17;;49591:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49664:11:0;;34332:1;48491:1192;;;;;:::o;8792:23::-;;;;;;:::o;2569:39::-;;;;;;;;;;;;;:::o;47782:321::-;34225:3;;;;;;;34211:10;:17;34203:26;;;;;;47907:29;;;;47888:16;47907:29;;;:10;:29;;;;;;;47956:22;;47947:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48048:47;48058:17;48077;48048:9;:47::i;:::-;34240:1;47782:321;:::o;37690:187::-;34418:7;;37798:4;;34418:7;;34404:10;:21;;:55;;-1:-1:-1;34456:3:0;;;;;;;34442:10;:17;34404:55;:98;;;-1:-1:-1;34490:12:0;;;;34476:10;:26;34404:98;:137;;;-1:-1:-1;34533:8:0;;;;34519:10;:22;34404:137;34382:197;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37820:27;37836:2;37840:6;37820:15;:27::i;8299:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9534:25;;;;:::o;46829:248::-;34225:3;;;;;;;34211:10;:17;34203:26;;;;;;46955:12;;;;46978:28;;;;;;;;;;;47022:47;;;46955:12;;;;47022:47;;;;;;;;;;;;;;;;;;;;;;;34240:1;46829:248;:::o;44322:514::-;44486:10;44427:4;44468:29;;;:17;:29;;;;;;;;;:38;;;;;;;;;;44521:27;;;44517:205;;44583:10;44606:1;44565:29;;;:17;:29;;;;;;;;;:38;;;;;;;;;:42;44517:205;;;44681:29;:8;44694:15;44681:29;:12;:29;:::i;:::-;44658:10;44640:29;;;;:17;:29;;;;;;;;;:38;;;;;;;;;:70;44517:205;44746:10;44767:29;;;;:17;:29;;;;;;;;44737:69;;;44767:38;;;;;;;;;;;44737:69;;;;;;;;;44746:10;44737:69;;;;;;;;;;;-1:-1:-1;44824:4:0;;44322:514;-1:-1:-1;;;44322:514:0:o;39677:818::-;39786:4;39764:2;34662:18;;;34654:27;;;;;;34700:19;;;34714:4;34700:19;;34692:28;;;;;;40083:16;40102:21;40117:5;40102:14;:21::i;:::-;40215:10;40202:24;;;;:12;:24;;;;;;40083:40;;-1:-1:-1;40202:38:0;;40083:40;40202:38;:28;:38;:::i;:::-;40188:10;40175:24;;;;:12;:24;;;;;;:65;;;;:24;40311:16;;;;;;:30;;40332:8;40311:30;:20;:30;:::i;:::-;40292:16;;;;;;;:12;:16;;;;;;;;;:49;;;;40357:31;;;;;;;40292:16;;40366:10;;40357:31;;;;;;;;;;40427:10;40416:22;;;;:10;:22;;;;;;;;40440:14;;;;;;;;;;40401:64;;40416:22;;;40440:14;40456:8;40401:14;:64::i;:::-;-1:-1:-1;40483:4:0;;39677:818;-1:-1:-1;;;;39677:818:0:o;17418:255::-;17557:23;;;17510:7;17557:23;;;:14;:23;;;;;;;;17598:16;:67;;17664:1;17598:67;;;17617:20;;;;;;;:11;:20;;;;;;;;:38;17638:16;;;17617:38;;;;;;;;17653:1;17617:44;;17591:74;17418:255;-1:-1:-1;;;17418:255:0:o;9349:32::-;;;;:::o;16280:937::-;16473:18;2417:71;;;;;;;;;;;;;;;;;;;16518:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16518:140:0;;;;;16494:175;;;;;;16787:16;;16723:124;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16723:124:0;;;;;;16699:159;;;;;;;;;-1:-1:-1;16891:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16494:175;;-1:-1:-1;16699:159:0;;-1:-1:-1;;;16891:26:0;;;;;;;16518:140;-1:-1:-1;16891:26:0;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16891:26:0;;;;;;-1:-1:-1;;16936:23:0;;;16928:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17029:17;;;;;;;:6;:17;;;;;:19;;;;;;;;17020:28;;17012:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17112:6;17105:3;:13;;17097:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17178:31;17188:9;17199;17178;:31::i;:::-;17171:38;;;16280:937;;;;;;;:::o;50393:277::-;34225:3;;50545:4;;34225:3;;;;;34211:10;:17;34203:26;;;;;;50591:49;50621:5;50629:2;50633:6;50591:22;:49::i;44883:1065::-;45114:8;45107:3;:15;;45099:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45288:16;;45560:13;;;;45158:14;45560:13;;;:6;:13;;;;;;;;;:15;;;;;;;;45363:278;;9717:66;45363:278;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;45363:278:0;;;;;45327:337;;;;;;45216:467;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;45216:467:0;;;;;;45188:510;;;;;;;;;;;45711:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45792:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45792:26:0;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45792:26:0;;;;;;;;45783:35;;:5;:35;;;45775:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45852:24;;;;;;;;:17;:24;;;;;;;;:33;;;;;;;;;;;;;:41;;;45909:31;;;;;;;;;;;;;;;;;44883:1065;;;;;;;;:::o;42289:176::-;42423:25;;;;42391:7;42423:25;;;:17;:25;;;;;;;;:34;;;;;;;;;;;;;42289:176::o;2371:117::-;2417:71;;;;;;;;;;;;;;;;;;2371:117;:::o;9221:37::-;9252:6;9221:37;:::o;1894:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;49691:145::-;49777:7;49809:19;49824:3;49809:14;:19::i;46124:203::-;34225:3;;;;;;;34211:10;:17;34203:26;;;;;;46235:7;;;;46253:18;;;;;;;;;;;46287:32;;;46235:7;;;;46287:32;;;;;;;;;;;;;;;;;;;;;;;34240:1;46124:203;:::o;50184:179::-;50337:17;;50273:7;;50305:50;;:27;:5;9146:6;50305:27;:9;:27;:::i;35265:337::-;35344:7;35584:10;;35578:2;35570:24;;;;;;35563:31;;35265:337;:::o;3920:136::-;3978:7;4005:43;4009:1;4012;4005:43;;;;;;;;;;;;;;;;;:3;:43::i;3456:181::-;3514:7;3546:5;;;3570:6;;;;3562:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19812:947;19918:6;19908:16;;:6;:16;;;;:30;;;;;19937:1;19928:6;:10;19908:30;19904:848;;;19959:20;;;;19955:385;;20067:22;;;20048:16;20067:22;;;:14;:22;;;;;;;;;20128:13;:60;;20187:1;20128:60;;;20144:19;;;;;;;:11;:19;;;;;;;;:34;20164:13;;;20144:34;;;;;;;;20176:1;20144:40;;20128:60;20108:80;-1:-1:-1;20207:17:0;20227:21;20108:80;20241:6;20227:21;:13;:21;:::i;:::-;20207:41;;20267:57;20284:6;20292:9;20303;20314;20267:16;:57::i;:::-;19955:385;;;;20360:20;;;;20356:385;;20468:22;;;20449:16;20468:22;;;:14;:22;;;;;;;;;20529:13;:60;;20588:1;20529:60;;;20545:19;;;;;;;:11;:19;;;;;;;;:34;20565:13;;;20545:34;;;;;;;;20577:1;20545:40;;20529:60;20509:80;-1:-1:-1;20608:17:0;20628:21;20509:80;20642:6;20628:21;:13;:21;:::i;:::-;20608:41;;20668:57;20685:6;20693:9;20704;20715;20668:16;:57::i;20356:385::-;19812:947;;;:::o;50001:175::-;50088:7;50120:48;9146:6;50120:26;50128:17;;50120:3;:7;;:26;;;;:::i;35935:1573::-;36028:8;;;;36014:10;:22;36010:1491;;;36157:10;;:22;;36172:6;36157:22;:14;:22;:::i;:::-;36144:10;:35;36223:20;36246:22;36261:6;36246:14;:22::i;:::-;36328:11;;36223:45;;-1:-1:-1;36328:29:0;;36223:45;36328:29;:15;:29;:::i;:::-;36314:11;:43;36466:19;:17;:19::i;:::-;36445:17;;:40;;36437:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36572:16;;;;;;;:12;:16;;;;;;:28;;36593:6;36572:28;:20;:28;:::i;:::-;36553:16;;;;;;;;:12;:16;;;;;;;;:47;;;;36680:10;:14;;;;;;36653:50;;36553:16;36680:14;36696:6;36653:14;:50::i;:::-;36719:22;;;;;;;;;;;;;;;;;;;;;;;;;;;36757:38;;;;;;;;;;;;36774:1;;36757:38;;;;;;;;;36010:1491;;;;36869:11;;:23;;36885:6;36869:23;:15;:23;:::i;:::-;36855:11;:37;36938:16;36957:22;36972:6;36957:14;:22::i;:::-;37037:10;;36938:41;;-1:-1:-1;37037:24:0;;36938:41;37037:24;:14;:24;:::i;:::-;37024:10;:37;37170:19;:17;:19::i;:::-;37149:17;;:40;;37141:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37276:16;;;;;;;:12;:16;;;;;;:30;;37297:8;37276:30;:20;:30;:::i;:::-;37257:16;;;;;;;;:12;:16;;;;;;;;:49;;;;37386:10;:14;;;;;;37359:52;;37257:16;37386:14;37402:8;37359:14;:52::i;:::-;37427:16;;;;;;;;;;;;;;;;;;;;;;;;;;;37459:32;;;;;;;;;;;;37476:1;;37459:32;;;;;;;;;36010:1491;35935:1573;;:::o;19364:440::-;19481:21;;;;19455:23;19481:21;;;:10;:21;;;;;;;;;;19540:12;:23;;;;;;19618:21;;;;:33;;;;;;;;;;;19669:54;;19481:21;;;;;19540:23;;19618:33;;19481:21;;;19669:54;;19455:23;19669:54;19736:60;19751:15;19768:9;19779:16;19736:14;:60::i;:::-;19364:440;;;;:::o;21647:153::-;21757:9;21647:153;:::o;4810:471::-;4868:7;5113:6;5109:47;;-1:-1:-1;5143:1:0;5136:8;;5109:47;5180:5;;;5184:1;5180;:5;:1;5204:5;;;;;:10;5196:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5757:132;5815:7;5842:39;5846:1;5849;5842:39;;;;;;;;;;;;;;;;;:3;:39::i;37885:785::-;38019:10;;:22;;38034:6;38019:22;:14;:22;:::i;:::-;38006:10;:35;38085:20;38108:22;38123:6;38108:14;:22::i;:::-;38190:11;;38085:45;;-1:-1:-1;38190:29:0;;38085:45;38190:29;:15;:29;:::i;:::-;38176:11;:43;38328:19;:17;:19::i;:::-;38307:17;;:40;;38299:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38434:16;;;;;;;:12;:16;;;;;;:28;;38455:6;38434:28;:20;:28;:::i;:::-;38415:16;;;;;;;;:12;:16;;;;;;;;:47;;;;38542:10;:14;;;;;;38515:50;;38415:16;38542:14;38558:6;38515:14;:50::i;:::-;38581:22;;;;;;;;;;;;;;;;;;;;;;;;;;;38619:38;;;;;;;;;;;;38636:1;;38619:38;;;;;;;;;37885:785;;;:::o;31035:177::-;31145:58;;;31168:14;31145:58;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;31145:58:0;;;;;;;;25:18:-1;;61:17;;31145:58:0;182:15:-1;31168:23:0;179:29:-1;160:49;;31118:86:0;;31138:5;;31118:19;:86::i;4359:192::-;4445:7;4481:12;4473:6;;;;4465:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4465:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4517:5:0;;;4359:192::o;20767:703::-;20946:18;20967:75;20974:12;20967:75;;;;;;;;;;;;;;;;;:6;:75::i;:::-;20946:96;;21074:1;21059:12;:16;;;:85;;;;-1:-1:-1;21079:22:0;;;;;;;:11;:22;;;;;;;;:65;21102:16;;;21079:40;;;;;;;;;:50;:65;;;:50;;:65;21059:85;21055:339;;;21161:22;;;;;;;:11;:22;;;;;;;;:40;21184:16;;;21161:40;;;;;;;;21199:1;21161:46;:57;;;21055:339;;;21290:33;;;;;;;;;;;;;;;;;;;;;21251:22;;;-1:-1:-1;21251:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;;;;;;;;;;;;;;;21338:25;;;:14;:25;;;;;;:44;;21366:16;;;21338:44;;;;;;;;;;21055:339;21411:51;;;;;;;;;;;;;;;;;;;;;;;;;;20767:703;;;;;:::o;6385:278::-;6471:7;6506:12;6499:5;6491:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6491:28:0;;6530:9;6546:1;6542;:5;;;;;;;6385:278;-1:-1:-1;;;;;6385:278:0:o;33340:761::-;33764:23;33790:69;33818:4;33790:69;;;;;;;;;;;;;;;;;33798:5;33790:27;;;;:69;;;;;:::i;:::-;33874:17;;33764:95;;-1:-1:-1;33874:21:0;33870:224;;34016:10;34005:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34005:30:0;33997:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21478:161;21553:6;21591:12;21584:5;21580:9;;21572:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;21572:32:0;-1:-1:-1;21629:1:0;;21478:161;-1:-1:-1;;21478:161:0:o;28116:196::-;28219:12;28251:53;28274:6;28282:4;28288:1;28291:12;28251:22;:53::i;:::-;28244:60;28116:196;-1:-1:-1;;;;28116:196:0:o;29493:976::-;29623:12;29656:18;29667:6;29656:10;:18::i;:::-;29648:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29782:12;29796:23;29823:6;:11;;29841:8;29851:4;29823:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;29823:33:0;;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;29781:75:0;;;;29871:7;29867:595;;;29902:10;-1:-1:-1;29895:17:0;;-1:-1:-1;29895:17:0;29867:595;30016:17;;:21;30012:439;;30279:10;30273:17;30340:15;30327:10;30323:2;30319:19;30312:44;30227:148;30415:20;;;;;;;;;;;;;;;;;;;;30422:12;;30415:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;25201:422:0;25568:20;25607:8;;;25201:422::o;54523:1054::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54523:1054:0;;;-1:-1:-1;54523:1054:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;-1:-1:-1;54523:1054:0;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://74004ec5b5cc2cf9b540ed9c768103c5534cabb0496f102e2cdbd8128fd769c8

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

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.