ETH Price: $3,014.67 (+4.29%)
Gas: 10 Gwei

Contract

0x27C5736b49B89d4765d03734a0a51c461F09672d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x60806040132253902021-09-14 18:17:12974 days ago1631643432IN
 Create: YAMDelegate3
0 ETH0.2305356775

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 999 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-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);

    /**
     * @notice Tokens burned event
     */
    event Burn(address from, 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 burn(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 Burns tokens from msg.sender, decreases totalSupply, initSupply, and a users balance.
    */

    function burn(uint256 amount)
        external
        returns (bool)
    {
        _burn(amount);
        return true;
    }

    function _burn(uint256 amount)
        internal
    {
                // decrease totalSupply
        totalSupply = totalSupply.sub(amount);

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

        // decrease initSupply
        initSupply = initSupply.sub(yamValue);

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

        // add delegates to the minter
        _moveDelegates(_delegates[msg.sender], address(0), yamValue);
        emit Burn(msg.sender, amount);
        emit Transfer(msg.sender, address(0), 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":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","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":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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"}]

608060405234801561001057600080fd5b506136ac806100206000396000f3fe608060405234801561001057600080fd5b50600436106103625760003560e01c80636c945221116101c857806398dca21011610104578063d505accf116100a2578063ec342ad01161007c578063ec342ad014610ca4578063f1127ed814610cac578063f18d9b6314610cfe578063fa8f345514610d1b57610362565b8063d505accf14610c1d578063dd62ed3e14610c6e578063e7a324dc14610c9c57610362565b8063b4b5ea57116100de578063b4b5ea5714610b72578063b6fa857614610b98578063c3cda52014610ba0578063cea9d26f14610be757610362565b806398dca21014610af4578063a457c2d714610b1a578063a9059cbb14610b4657610362565b80637af548c1116101715780638ca34cdd1161014b5780638ca34cdd14610a92578063917505f414610ab857806395d89b4114610ae457806397d63f9314610aec57610362565b80637af548c114610a395780637cd07e4714610a645780637ecebe0014610a6c57610362565b806370a08231116101a257806370a08231146109c157806373f03dff146109e7578063782d6fe114610a0d57610362565b80636c945221146108365780636fc6407c1461097a5780636fcfff451461098257610362565b8063313ce567116102a257806347dfe70d11610240578063587cde1e1161021a578063587cde1e146107da5780635c19a95c146108005780635c60da1b1461082657806364dd48f51461082e57610362565b806347dfe70d146107065780634bda2e201461072c57806356e677281461073457610362565b8063395093511161027c578063395093511461066b5780633af9e6691461069757806340c10f19146106bd57806342966c68146106e957610362565b8063313ce56714610619578063336d2692146106375780633644e5151461066357610362565b8063153ab5051161030f57806320606b70116102e957806320606b70146105cb57806323b872dd146105d3578063252408101461060957806330adf81f1461061157610362565b8063153ab505146104875780631624f6c61461049157806318160ddd146105c357610362565b806311d3e6c41161034057806311d3e6c41461045357806311fd8a831461045b57806312d43a511461047f57610362565b806306fdde0314610367578063095ea7b3146103e457806309c8640314610424575b600080fd5b61036f610d41565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103a9578181015183820152602001610391565b50505050905090810190601f1680156103d65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610410600480360360408110156103fa57600080fd5b506001600160a01b038135169060200135610dce565b604080519115158252519081900360200190f35b6104416004803603602081101561043a57600080fd5b5035610e35565b60408051918252519081900360200190f35b610441610e40565b610463610e50565b604080516001600160a01b039092168252519081900360200190f35b610463610e5f565b61048f610e73565b005b61048f600480360360608110156104a757600080fd5b8101906020810181356401000000008111156104c257600080fd5b8201836020820111156104d457600080fd5b803590602001918460018302840111640100000000831117156104f657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561054957600080fd5b82018360208201111561055b57600080fd5b8035906020019184600183028401116401000000008311171561057d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610ec39050565b610441610f58565b610441610f5e565b610410600480360360608110156105e957600080fd5b506001600160a01b03813581169160208101359091169060400135610f79565b6104636110ff565b61044161110e565b610621611132565b6040805160ff9092168252519081900360200190f35b6104106004803603604081101561064d57600080fd5b506001600160a01b03813516906020013561113b565b61044161124c565b6104106004803603604081101561068157600080fd5b506001600160a01b038135169060200135611252565b610441600480360360208110156106ad57600080fd5b50356001600160a01b03166112eb565b610410600480360360408110156106d357600080fd5b506001600160a01b038135169060200135611306565b610410600480360360208110156106ff57600080fd5b50356113ac565b61048f6004803603602081101561071c57600080fd5b50356001600160a01b03166113bf565b61048f611439565b61048f6004803603602081101561074a57600080fd5b81019060208101813564010000000081111561076557600080fd5b82018360208201111561077757600080fd5b8035906020019184600183028401116401000000008311171561079957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611530945050505050565b610463600480360360208110156107f057600080fd5b50356001600160a01b0316611581565b61048f6004803603602081101561081657600080fd5b50356001600160a01b031661159f565b6104636115a9565b6104416115b8565b61048f600480360360a081101561084c57600080fd5b81019060208101813564010000000081111561086757600080fd5b82018360208201111561087957600080fd5b8035906020019184600183028401116401000000008311171561089b57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156108ee57600080fd5b82018360208201111561090057600080fd5b8035906020019184600183028401116401000000008311171561092257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff1692505060208101356001600160a01b031690604001356115c6565b6104636116dc565b6109a86004803603602081101561099857600080fd5b50356001600160a01b03166116eb565b6040805163ffffffff9092168252519081900360200190f35b610441600480360360208110156109d757600080fd5b50356001600160a01b0316611703565b61048f600480360360208110156109fd57600080fd5b50356001600160a01b0316611725565b61044160048036036040811015610a2357600080fd5b506001600160a01b0381351690602001356117a4565b61044160048036036060811015610a4f57600080fd5b508035906020810135906040013515156119ac565b610463611b09565b61044160048036036020811015610a8257600080fd5b50356001600160a01b0316611b18565b61048f60048036036020811015610aa857600080fd5b50356001600160a01b0316611b2a565b61041060048036036040811015610ace57600080fd5b506001600160a01b038135169060200135611bc2565b61036f611c5f565b610441611cb7565b61048f60048036036020811015610b0a57600080fd5b50356001600160a01b0316611cbd565b61041060048036036040811015610b3057600080fd5b506001600160a01b038135169060200135611d3c565b61041060048036036040811015610b5c57600080fd5b506001600160a01b038135169060200135611e2b565b61044160048036036020811015610b8857600080fd5b50356001600160a01b0316611f48565b610441611fab565b61048f600480360360c0811015610bb657600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611fb1565b61041060048036036060811015610bfd57600080fd5b506001600160a01b038135811691602081013590911690604001356121a5565b61048f600480360360e0811015610c3357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356121cf565b61044160048036036040811015610c8457600080fd5b506001600160a01b0381358116916020013516612466565b610441612491565b6104416124ac565b610cde60048036036040811015610cc257600080fd5b5080356001600160a01b0316906020013563ffffffff166124b8565b6040805163ffffffff909316835260208301919091528051918290030190f35b61044160048036036020811015610d1457600080fd5b50356124e5565b61048f60048036036020811015610d3157600080fd5b50356001600160a01b03166124f0565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610dc65780601f10610d9b57610100808354040283529160200191610dc6565b820191906000526020600020905b815481529060010190602001808311610da957829003601f168201915b505050505081565b336000818152600b602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6000610e2f8261256f565b6000610e4a612593565b90505b90565b6005546001600160a01b031681565b60035461010090046001600160a01b031681565b60035461010090046001600160a01b03163314610ec15760405162461bcd60e51b815260040180806020018281038252602b8152602001806134dc602b913960400191505060405180910390fd5b565b60095415610f18576040805162461bcd60e51b815260206004820152601360248201527f616c726561647920696e697469616c697a656400000000000000000000000000604482015290519081900360640190fd5b8251610f2b9060019060208601906133e6565b508151610f3f9060029060208501906133e6565b506003805460ff191660ff929092169190911790555050565b60085481565b60405180604361355882396043019050604051809103902081565b6000826001600160a01b038116610f8f57600080fd5b6001600160a01b038116301415610fa557600080fd5b6001600160a01b0385166000908152600b60209081526040808320338452909152902054610fd9908463ffffffff6125a816565b6001600160a01b0386166000908152600b602090815260408083203384529091528120919091556110098461256f565b6001600160a01b0387166000908152600a6020526040902054909150611035908263ffffffff6125a816565b6001600160a01b038088166000908152600a6020526040808220939093559087168152205461106a908263ffffffff6125ea16565b6001600160a01b038087166000818152600a602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a36001600160a01b038087166000908152600e60205260408082205488841683529120546110f392918216911683612644565b50600195945050505050565b6004546001600160a01b031681565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60035460ff1681565b6000826001600160a01b03811661115157600080fd5b6001600160a01b03811630141561116757600080fd5b336000908152600a6020526040902054611187908463ffffffff6125a816565b336000908152600a6020526040808220929092556001600160a01b038616815220546111b9908463ffffffff6125ea16565b6001600160a01b0385166000818152600a6020526040902091909155337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61120086612792565b60408051918252519081900360200190a3336000908152600e6020526040808220546001600160a01b0387811684529190922054611242928216911685612644565b5060019392505050565b600d5481565b336000908152600b602090815260408083206001600160a01b0386168452909152812054611286908363ffffffff6125ea16565b336000818152600b602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6001600160a01b03166000908152600a602052604090205490565b6005546000906001600160a01b0316331480611331575060035461010090046001600160a01b031633145b8061134657506007546001600160a01b031633145b8061135b57506006546001600160a01b031633145b611399576040805162461bcd60e51b815260206004820152600a6024820152693737ba1036b4b73a32b960b11b604482015290519081900360640190fd5b6113a383836127b7565b50600192915050565b60006113b782612ac9565b506001919050565b60035461010090046001600160a01b031633146113db57600080fd5b600680546001600160a01b0319166001600160a01b038316908117909155604080518281526020810192909252805183927f99b2b7456799067566d467831e63363500739eac62c12ccb8cf9745078f06d2a92908290030190a15050565b6004546001600160a01b03163314611498576040805162461bcd60e51b815260206004820152600860248201527f2170656e64696e67000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60038054600480546001600160a01b038181166101009081027fffffffffffffffffffffff0000000000000000000000000000000000000000ff861617958690556001600160a01b031990921690925560408051938290048316808552919094049091166020830152825190927f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d5523928290030190a150565b60035461010090046001600160a01b0316331461157e5760405162461bcd60e51b815260040180806020018281038252602b81526020018061352d602b913960400191505060405180910390fd5b50565b6001600160a01b039081166000908152600e60205260409020541690565b61157e3382612bce565b6012546001600160a01b031681565b69d3c21bcecceda100000081565b6115d1858585610ec3565b670de0b6b3a76400006009556115e68161256f565b600c81905560088290556001600160a01b0383166000908152600a6020526040908190209190915551806043613558823960430190506040518091039020600160405180828054600181600116156101000203166002900480156116815780601f1061165f576101008083540402835291820191611681565b820191906000526020600020905b81548152906001019060200180831161166d575b50509150506040518091039020611696612c4e565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a090920190528051910120600d555050505050565b6007546001600160a01b031681565b60106020526000908152604090205463ffffffff1681565b6001600160a01b0381166000908152600a6020526040812054610e2f90612792565b60035461010090046001600160a01b0316331461174157600080fd5b600480546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f6163d5b9efd962645dd649e6e48a61bcb0f9df00997a2398b80d135a9ab0c61e929181900390910190a15050565b60004382106117e45760405162461bcd60e51b81526004018080602001828103825260268152602001806135076026913960400191505060405180910390fd5b6001600160a01b03831660009081526010602052604090205463ffffffff1680611812576000915050610e2f565b6001600160a01b0384166000908152600f6020908152604080832063ffffffff600019860181168552925290912054168310611881576001600160a01b0384166000908152600f602090815260408083206000199490940163ffffffff16835292905220600101549050610e2f565b6001600160a01b0384166000908152600f6020908152604080832083805290915290205463ffffffff168310156118bc576000915050610e2f565b600060001982015b8163ffffffff168163ffffffff16111561197557600282820363ffffffff160481036118ee613464565b506001600160a01b0387166000908152600f6020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561195057602001519450610e2f9350505050565b805163ffffffff168711156119675781935061196e565b6001820392505b50506118c4565b506001600160a01b0385166000908152600f6020908152604080832063ffffffff9094168352929052206001015491505092915050565b6005546000906001600160a01b031633146119c657600080fd5b82611a1757600954604080518681526020810183905280820192909252517fc6642d24d84e7f3d36ca39f5cce10e75639d9b158d5193aa350e2f900653e4c09181900360600190a150600854611b02565b60095482611a6157611a59670de0b6b3a7640000611a4d611a3e828863ffffffff6125a816565b6009549063ffffffff612c5216565b9063ffffffff612cab16565b600955611aab565b6000611a82670de0b6b3a7640000611a4d611a3e828963ffffffff6125ea16565b9050611a8c612593565b811015611a9d576009819055611aa9565b611aa5612593565b6009555b505b611ab6600c54612792565b600855600954604080518781526020810184905280820192909252517fc6642d24d84e7f3d36ca39f5cce10e75639d9b158d5193aa350e2f900653e4c09181900360600190a150506008545b9392505050565b6006546001600160a01b031681565b60116020526000908152604090205481565b60035461010090046001600160a01b03163314611b4657600080fd5b6001600160a01b038082166000908152600e6020526040902054168015611bb4576040805162461bcd60e51b815260206004820152600b60248201527f2161646472657373283029000000000000000000000000000000000000000000604482015290519081900360640190fd5b611bbe8283612bce565b5050565b6005546000906001600160a01b0316331480611bed575060035461010090046001600160a01b031633145b80611c0257506007546001600160a01b031633145b80611c1757506006546001600160a01b031633145b611c55576040805162461bcd60e51b815260206004820152600a6024820152693737ba1036b4b73a32b960b11b604482015290519081900360640190fd5b6113a38383612ced565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610dc65780601f10610d9b57610100808354040283529160200191610dc6565b600c5481565b60035461010090046001600160a01b03163314611cd957600080fd5b600780546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f2ee668ca7d17a9122dc00c0bfd73b684f2f7d681f17733cc02b294f69f1b3896929181900390910190a15050565b336000908152600b602090815260408083206001600160a01b0386168452909152812054808310611d9057336000908152600b602090815260408083206001600160a01b0388168452909152812055611dc5565b611da0818463ffffffff6125a816565b336000908152600b602090815260408083206001600160a01b03891684529091529020555b336000818152600b602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b038116611e4157600080fd5b6001600160a01b038116301415611e5757600080fd5b6000611e628461256f565b336000908152600a6020526040902054909150611e85908263ffffffff6125a816565b336000908152600a6020526040808220929092556001600160a01b03871681522054611eb7908263ffffffff6125ea16565b6001600160a01b0386166000818152600a60209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3336000908152600e6020526040808220546001600160a01b0388811684529190922054611f3d928216911683612644565b506001949350505050565b6001600160a01b03811660009081526010602052604081205463ffffffff1680611f73576000611b02565b6001600160a01b0383166000908152600f6020908152604080832063ffffffff60001986011684529091529020600101549392505050565b60095481565b6000604051808061363e603a91396040805191829003603a0182206020808401919091526001600160a01b038b1683830152606083018a905260808084018a90528251808503909101815260a084018352805190820120600d5461190160f01b60c086015260c285015260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8b1661014287015261016286018a90526101828601899052935191965092945091926001926101a28083019392601f198301929081900390910190855afa1580156120a0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166120f25760405162461bcd60e51b81526004018080602001828103825260258152602001806134b76025913960400191505060405180910390fd5b6001600160a01b038116600090815260116020526040902080546001810190915588146121505760405162461bcd60e51b81526004018080602001828103825260218152602001806134966021913960400191505060405180910390fd5b8642111561218f5760405162461bcd60e51b81526004018080602001828103825260258152602001806135bc6025913960400191505060405180910390fd5b612199818a612bce565b5050505b505050505050565b60035460009061010090046001600160a01b031633146121c457600080fd5b611242848484612e6c565b83421115612224576040805162461bcd60e51b815260206004820152601260248201527f59414d2f7065726d69742d657870697265640000000000000000000000000000604482015290519081900360640190fd5b600d546001600160a01b0380891660008181526011602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981840152808401859052948c166060860152608085018b905260a085015260c08085018a90528251808603909101815260e08501835280519082012061190160f01b610100860152610102850195909552610122808501959095528151808503909501855261014290930190528251929091019190912090612339576040805162461bcd60e51b815260206004820152601560248201527f59414d2f696e76616c69642d616464726573732d300000000000000000000000604482015290519081900360640190fd5b6040805160008152602080820180845284905260ff8716828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015612390573d6000803e3d6000fd5b505050602060405103516001600160a01b0316886001600160a01b0316146123ff576040805162461bcd60e51b815260206004820152601260248201527f59414d2f696e76616c69642d7065726d69740000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038089166000818152600b60209081526040808320948c16808452948252918290208a905581518a815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35050505050505050565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205490565b60405180603a61363e8239603a019050604051809103902081565b670de0b6b3a764000081565b600f6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6000610e2f82612792565b60035461010090046001600160a01b0316331461250c57600080fd5b600580546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f51f448520e2183de499e224808a409ee01a1f380edb2e8497572320c15030545929181900390910190a15050565b600954600090610e2f90611a4d8469d3c21bcecceda100000063ffffffff612c5216565b6000600c54600019816125a257fe5b04905090565b6000611b0283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612eec565b600082820183811015611b02576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b816001600160a01b0316836001600160a01b0316141580156126665750600081115b1561278d576001600160a01b038316156126fe576001600160a01b03831660009081526010602052604081205463ffffffff1690816126a65760006126d8565b6001600160a01b0385166000908152600f6020908152604080832063ffffffff60001987011684529091529020600101545b905060006126ec828563ffffffff6125a816565b90506126fa86848484612f83565b5050505b6001600160a01b0382161561278d576001600160a01b03821660009081526010602052604081205463ffffffff16908161273957600061276b565b6001600160a01b0384166000908152600f6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061277f828563ffffffff6125ea16565b905061219d85848484612f83565b505050565b6000610e2f69d3c21bcecceda1000000611a4d60095485612c5290919063ffffffff16565b6006546001600160a01b031633141561294a57600c546127dd908263ffffffff6125ea16565b600c5560006127eb82612792565b600854909150612801908263ffffffff6125ea16565b60085561280c612593565b6009541115612862576040805162461bcd60e51b815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600a602052604090205461288b908363ffffffff6125ea16565b6001600160a01b038085166000908152600a6020908152604080832094909455600e9052918220546128bf92911684612644565b604080516001600160a01b03851681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a16040805182815290516001600160a01b038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350611bbe565b60085461295d908263ffffffff6125ea16565b600855600061296b8261256f565b600c54909150612981908263ffffffff6125ea16565b600c5561298c612593565b60095411156129e2576040805162461bcd60e51b815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600a6020526040902054612a0b908263ffffffff6125ea16565b6001600160a01b038085166000908152600a6020908152604080832094909455600e905291822054612a3f92911683612644565b604080516001600160a01b03851681526020810184905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a16040805183815290516001600160a01b038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050565b600854612adc908263ffffffff6125a816565b6008556000612aea8261256f565b600c54909150612b00908263ffffffff6125a816565b600c55336000908152600a6020526040902054612b23908263ffffffff6125a816565b336000908152600a6020908152604080832093909355600e905290812054612b57916001600160a01b039091169083612644565b604080513381526020810184905281517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5929181900390910190a160408051838152905160009133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038083166000818152600e602081815260408084208054600a845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4612c48828483612644565b50505050565b4690565b600082612c6157506000610e2f565b82820282848281612c6e57fe5b0414611b025760405162461bcd60e51b815260040180806020018281038252602181526020018061359b6021913960400191505060405180910390fd5b6000611b0283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506130e8565b600c54612d00908263ffffffff6125ea16565b600c556000612d0e82612792565b600854909150612d24908263ffffffff6125ea16565b600855612d2f612593565b6009541115612d85576040805162461bcd60e51b815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600a6020526040902054612dae908363ffffffff6125ea16565b6001600160a01b038085166000908152600a6020908152604080832094909455600e905291822054612de292911684612644565b604080516001600160a01b03851681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a16040805182815290516001600160a01b038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261278d90849061314d565b60008184841115612f7b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612f40578181015183820152602001612f28565b50505050905090810190601f168015612f6d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000612fa7436040518060600160405280603381526020016135e1603391396131fe565b905060008463ffffffff16118015612ff057506001600160a01b0385166000908152600f6020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561302d576001600160a01b0385166000908152600f6020908152604080832063ffffffff6000198901168452909152902060010182905561309e565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600f84528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260109092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b600081836131375760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612f40578181015183820152602001612f28565b50600083858161314357fe5b0495945050505050565b60606131a2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661325c9092919063ffffffff16565b80519091501561278d578080602001905160208110156131c157600080fd5b505161278d5760405162461bcd60e51b815260040180806020018281038252602a815260200180613614602a913960400191505060405180910390fd5b60008164010000000084106132545760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612f40578181015183820152602001612f28565b509192915050565b606061326b8484600085613273565b949350505050565b606061327e856133e0565b6132cf576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061330e5780518252601f1990920191602091820191016132ef565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613370576040519150601f19603f3d011682016040523d82523d6000602084013e613375565b606091505b5091509150811561338957915061326b9050565b8051156133995780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612f40578181015183820152602001612f28565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061342757805160ff1916838001178555613454565b82800160010185558215613454579182015b82811115613454578251825591602001919060010190613439565b5061346092915061347b565b5090565b604080518082019091526000808252602082015290565b610e4d91905b80821115613460576000815560010161348156fe59414d3a3a64656c656761746542795369673a20696e76616c6964206e6f6e636559414d3a3a64656c656761746542795369673a20696e76616c6964207369676e61747572656f6e6c792074686520676f76206d61792063616c6c205f72657369676e496d706c656d656e746174696f6e59414d3a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65646f6e6c792074686520676f76206d61792063616c6c205f6265636f6d65496d706c656d656e746174696f6e454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7759414d3a3a64656c656761746542795369673a207369676e6174757265206578706972656459414d3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656444656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a72315820c4bf81555130b46964a6035446c96227eae0c880545c429a908efbdb62b6f00e64736f6c634300050f0032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103625760003560e01c80636c945221116101c857806398dca21011610104578063d505accf116100a2578063ec342ad01161007c578063ec342ad014610ca4578063f1127ed814610cac578063f18d9b6314610cfe578063fa8f345514610d1b57610362565b8063d505accf14610c1d578063dd62ed3e14610c6e578063e7a324dc14610c9c57610362565b8063b4b5ea57116100de578063b4b5ea5714610b72578063b6fa857614610b98578063c3cda52014610ba0578063cea9d26f14610be757610362565b806398dca21014610af4578063a457c2d714610b1a578063a9059cbb14610b4657610362565b80637af548c1116101715780638ca34cdd1161014b5780638ca34cdd14610a92578063917505f414610ab857806395d89b4114610ae457806397d63f9314610aec57610362565b80637af548c114610a395780637cd07e4714610a645780637ecebe0014610a6c57610362565b806370a08231116101a257806370a08231146109c157806373f03dff146109e7578063782d6fe114610a0d57610362565b80636c945221146108365780636fc6407c1461097a5780636fcfff451461098257610362565b8063313ce567116102a257806347dfe70d11610240578063587cde1e1161021a578063587cde1e146107da5780635c19a95c146108005780635c60da1b1461082657806364dd48f51461082e57610362565b806347dfe70d146107065780634bda2e201461072c57806356e677281461073457610362565b8063395093511161027c578063395093511461066b5780633af9e6691461069757806340c10f19146106bd57806342966c68146106e957610362565b8063313ce56714610619578063336d2692146106375780633644e5151461066357610362565b8063153ab5051161030f57806320606b70116102e957806320606b70146105cb57806323b872dd146105d3578063252408101461060957806330adf81f1461061157610362565b8063153ab505146104875780631624f6c61461049157806318160ddd146105c357610362565b806311d3e6c41161034057806311d3e6c41461045357806311fd8a831461045b57806312d43a511461047f57610362565b806306fdde0314610367578063095ea7b3146103e457806309c8640314610424575b600080fd5b61036f610d41565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103a9578181015183820152602001610391565b50505050905090810190601f1680156103d65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610410600480360360408110156103fa57600080fd5b506001600160a01b038135169060200135610dce565b604080519115158252519081900360200190f35b6104416004803603602081101561043a57600080fd5b5035610e35565b60408051918252519081900360200190f35b610441610e40565b610463610e50565b604080516001600160a01b039092168252519081900360200190f35b610463610e5f565b61048f610e73565b005b61048f600480360360608110156104a757600080fd5b8101906020810181356401000000008111156104c257600080fd5b8201836020820111156104d457600080fd5b803590602001918460018302840111640100000000831117156104f657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561054957600080fd5b82018360208201111561055b57600080fd5b8035906020019184600183028401116401000000008311171561057d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610ec39050565b610441610f58565b610441610f5e565b610410600480360360608110156105e957600080fd5b506001600160a01b03813581169160208101359091169060400135610f79565b6104636110ff565b61044161110e565b610621611132565b6040805160ff9092168252519081900360200190f35b6104106004803603604081101561064d57600080fd5b506001600160a01b03813516906020013561113b565b61044161124c565b6104106004803603604081101561068157600080fd5b506001600160a01b038135169060200135611252565b610441600480360360208110156106ad57600080fd5b50356001600160a01b03166112eb565b610410600480360360408110156106d357600080fd5b506001600160a01b038135169060200135611306565b610410600480360360208110156106ff57600080fd5b50356113ac565b61048f6004803603602081101561071c57600080fd5b50356001600160a01b03166113bf565b61048f611439565b61048f6004803603602081101561074a57600080fd5b81019060208101813564010000000081111561076557600080fd5b82018360208201111561077757600080fd5b8035906020019184600183028401116401000000008311171561079957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611530945050505050565b610463600480360360208110156107f057600080fd5b50356001600160a01b0316611581565b61048f6004803603602081101561081657600080fd5b50356001600160a01b031661159f565b6104636115a9565b6104416115b8565b61048f600480360360a081101561084c57600080fd5b81019060208101813564010000000081111561086757600080fd5b82018360208201111561087957600080fd5b8035906020019184600183028401116401000000008311171561089b57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156108ee57600080fd5b82018360208201111561090057600080fd5b8035906020019184600183028401116401000000008311171561092257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff1692505060208101356001600160a01b031690604001356115c6565b6104636116dc565b6109a86004803603602081101561099857600080fd5b50356001600160a01b03166116eb565b6040805163ffffffff9092168252519081900360200190f35b610441600480360360208110156109d757600080fd5b50356001600160a01b0316611703565b61048f600480360360208110156109fd57600080fd5b50356001600160a01b0316611725565b61044160048036036040811015610a2357600080fd5b506001600160a01b0381351690602001356117a4565b61044160048036036060811015610a4f57600080fd5b508035906020810135906040013515156119ac565b610463611b09565b61044160048036036020811015610a8257600080fd5b50356001600160a01b0316611b18565b61048f60048036036020811015610aa857600080fd5b50356001600160a01b0316611b2a565b61041060048036036040811015610ace57600080fd5b506001600160a01b038135169060200135611bc2565b61036f611c5f565b610441611cb7565b61048f60048036036020811015610b0a57600080fd5b50356001600160a01b0316611cbd565b61041060048036036040811015610b3057600080fd5b506001600160a01b038135169060200135611d3c565b61041060048036036040811015610b5c57600080fd5b506001600160a01b038135169060200135611e2b565b61044160048036036020811015610b8857600080fd5b50356001600160a01b0316611f48565b610441611fab565b61048f600480360360c0811015610bb657600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611fb1565b61041060048036036060811015610bfd57600080fd5b506001600160a01b038135811691602081013590911690604001356121a5565b61048f600480360360e0811015610c3357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356121cf565b61044160048036036040811015610c8457600080fd5b506001600160a01b0381358116916020013516612466565b610441612491565b6104416124ac565b610cde60048036036040811015610cc257600080fd5b5080356001600160a01b0316906020013563ffffffff166124b8565b6040805163ffffffff909316835260208301919091528051918290030190f35b61044160048036036020811015610d1457600080fd5b50356124e5565b61048f60048036036020811015610d3157600080fd5b50356001600160a01b03166124f0565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610dc65780601f10610d9b57610100808354040283529160200191610dc6565b820191906000526020600020905b815481529060010190602001808311610da957829003601f168201915b505050505081565b336000818152600b602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6000610e2f8261256f565b6000610e4a612593565b90505b90565b6005546001600160a01b031681565b60035461010090046001600160a01b031681565b60035461010090046001600160a01b03163314610ec15760405162461bcd60e51b815260040180806020018281038252602b8152602001806134dc602b913960400191505060405180910390fd5b565b60095415610f18576040805162461bcd60e51b815260206004820152601360248201527f616c726561647920696e697469616c697a656400000000000000000000000000604482015290519081900360640190fd5b8251610f2b9060019060208601906133e6565b508151610f3f9060029060208501906133e6565b506003805460ff191660ff929092169190911790555050565b60085481565b60405180604361355882396043019050604051809103902081565b6000826001600160a01b038116610f8f57600080fd5b6001600160a01b038116301415610fa557600080fd5b6001600160a01b0385166000908152600b60209081526040808320338452909152902054610fd9908463ffffffff6125a816565b6001600160a01b0386166000908152600b602090815260408083203384529091528120919091556110098461256f565b6001600160a01b0387166000908152600a6020526040902054909150611035908263ffffffff6125a816565b6001600160a01b038088166000908152600a6020526040808220939093559087168152205461106a908263ffffffff6125ea16565b6001600160a01b038087166000818152600a602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a36001600160a01b038087166000908152600e60205260408082205488841683529120546110f392918216911683612644565b50600195945050505050565b6004546001600160a01b031681565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60035460ff1681565b6000826001600160a01b03811661115157600080fd5b6001600160a01b03811630141561116757600080fd5b336000908152600a6020526040902054611187908463ffffffff6125a816565b336000908152600a6020526040808220929092556001600160a01b038616815220546111b9908463ffffffff6125ea16565b6001600160a01b0385166000818152600a6020526040902091909155337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61120086612792565b60408051918252519081900360200190a3336000908152600e6020526040808220546001600160a01b0387811684529190922054611242928216911685612644565b5060019392505050565b600d5481565b336000908152600b602090815260408083206001600160a01b0386168452909152812054611286908363ffffffff6125ea16565b336000818152600b602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6001600160a01b03166000908152600a602052604090205490565b6005546000906001600160a01b0316331480611331575060035461010090046001600160a01b031633145b8061134657506007546001600160a01b031633145b8061135b57506006546001600160a01b031633145b611399576040805162461bcd60e51b815260206004820152600a6024820152693737ba1036b4b73a32b960b11b604482015290519081900360640190fd5b6113a383836127b7565b50600192915050565b60006113b782612ac9565b506001919050565b60035461010090046001600160a01b031633146113db57600080fd5b600680546001600160a01b0319166001600160a01b038316908117909155604080518281526020810192909252805183927f99b2b7456799067566d467831e63363500739eac62c12ccb8cf9745078f06d2a92908290030190a15050565b6004546001600160a01b03163314611498576040805162461bcd60e51b815260206004820152600860248201527f2170656e64696e67000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60038054600480546001600160a01b038181166101009081027fffffffffffffffffffffff0000000000000000000000000000000000000000ff861617958690556001600160a01b031990921690925560408051938290048316808552919094049091166020830152825190927f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d5523928290030190a150565b60035461010090046001600160a01b0316331461157e5760405162461bcd60e51b815260040180806020018281038252602b81526020018061352d602b913960400191505060405180910390fd5b50565b6001600160a01b039081166000908152600e60205260409020541690565b61157e3382612bce565b6012546001600160a01b031681565b69d3c21bcecceda100000081565b6115d1858585610ec3565b670de0b6b3a76400006009556115e68161256f565b600c81905560088290556001600160a01b0383166000908152600a6020526040908190209190915551806043613558823960430190506040518091039020600160405180828054600181600116156101000203166002900480156116815780601f1061165f576101008083540402835291820191611681565b820191906000526020600020905b81548152906001019060200180831161166d575b50509150506040518091039020611696612c4e565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a090920190528051910120600d555050505050565b6007546001600160a01b031681565b60106020526000908152604090205463ffffffff1681565b6001600160a01b0381166000908152600a6020526040812054610e2f90612792565b60035461010090046001600160a01b0316331461174157600080fd5b600480546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f6163d5b9efd962645dd649e6e48a61bcb0f9df00997a2398b80d135a9ab0c61e929181900390910190a15050565b60004382106117e45760405162461bcd60e51b81526004018080602001828103825260268152602001806135076026913960400191505060405180910390fd5b6001600160a01b03831660009081526010602052604090205463ffffffff1680611812576000915050610e2f565b6001600160a01b0384166000908152600f6020908152604080832063ffffffff600019860181168552925290912054168310611881576001600160a01b0384166000908152600f602090815260408083206000199490940163ffffffff16835292905220600101549050610e2f565b6001600160a01b0384166000908152600f6020908152604080832083805290915290205463ffffffff168310156118bc576000915050610e2f565b600060001982015b8163ffffffff168163ffffffff16111561197557600282820363ffffffff160481036118ee613464565b506001600160a01b0387166000908152600f6020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561195057602001519450610e2f9350505050565b805163ffffffff168711156119675781935061196e565b6001820392505b50506118c4565b506001600160a01b0385166000908152600f6020908152604080832063ffffffff9094168352929052206001015491505092915050565b6005546000906001600160a01b031633146119c657600080fd5b82611a1757600954604080518681526020810183905280820192909252517fc6642d24d84e7f3d36ca39f5cce10e75639d9b158d5193aa350e2f900653e4c09181900360600190a150600854611b02565b60095482611a6157611a59670de0b6b3a7640000611a4d611a3e828863ffffffff6125a816565b6009549063ffffffff612c5216565b9063ffffffff612cab16565b600955611aab565b6000611a82670de0b6b3a7640000611a4d611a3e828963ffffffff6125ea16565b9050611a8c612593565b811015611a9d576009819055611aa9565b611aa5612593565b6009555b505b611ab6600c54612792565b600855600954604080518781526020810184905280820192909252517fc6642d24d84e7f3d36ca39f5cce10e75639d9b158d5193aa350e2f900653e4c09181900360600190a150506008545b9392505050565b6006546001600160a01b031681565b60116020526000908152604090205481565b60035461010090046001600160a01b03163314611b4657600080fd5b6001600160a01b038082166000908152600e6020526040902054168015611bb4576040805162461bcd60e51b815260206004820152600b60248201527f2161646472657373283029000000000000000000000000000000000000000000604482015290519081900360640190fd5b611bbe8283612bce565b5050565b6005546000906001600160a01b0316331480611bed575060035461010090046001600160a01b031633145b80611c0257506007546001600160a01b031633145b80611c1757506006546001600160a01b031633145b611c55576040805162461bcd60e51b815260206004820152600a6024820152693737ba1036b4b73a32b960b11b604482015290519081900360640190fd5b6113a38383612ced565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610dc65780601f10610d9b57610100808354040283529160200191610dc6565b600c5481565b60035461010090046001600160a01b03163314611cd957600080fd5b600780546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f2ee668ca7d17a9122dc00c0bfd73b684f2f7d681f17733cc02b294f69f1b3896929181900390910190a15050565b336000908152600b602090815260408083206001600160a01b0386168452909152812054808310611d9057336000908152600b602090815260408083206001600160a01b0388168452909152812055611dc5565b611da0818463ffffffff6125a816565b336000908152600b602090815260408083206001600160a01b03891684529091529020555b336000818152600b602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b038116611e4157600080fd5b6001600160a01b038116301415611e5757600080fd5b6000611e628461256f565b336000908152600a6020526040902054909150611e85908263ffffffff6125a816565b336000908152600a6020526040808220929092556001600160a01b03871681522054611eb7908263ffffffff6125ea16565b6001600160a01b0386166000818152600a60209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3336000908152600e6020526040808220546001600160a01b0388811684529190922054611f3d928216911683612644565b506001949350505050565b6001600160a01b03811660009081526010602052604081205463ffffffff1680611f73576000611b02565b6001600160a01b0383166000908152600f6020908152604080832063ffffffff60001986011684529091529020600101549392505050565b60095481565b6000604051808061363e603a91396040805191829003603a0182206020808401919091526001600160a01b038b1683830152606083018a905260808084018a90528251808503909101815260a084018352805190820120600d5461190160f01b60c086015260c285015260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8b1661014287015261016286018a90526101828601899052935191965092945091926001926101a28083019392601f198301929081900390910190855afa1580156120a0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166120f25760405162461bcd60e51b81526004018080602001828103825260258152602001806134b76025913960400191505060405180910390fd5b6001600160a01b038116600090815260116020526040902080546001810190915588146121505760405162461bcd60e51b81526004018080602001828103825260218152602001806134966021913960400191505060405180910390fd5b8642111561218f5760405162461bcd60e51b81526004018080602001828103825260258152602001806135bc6025913960400191505060405180910390fd5b612199818a612bce565b5050505b505050505050565b60035460009061010090046001600160a01b031633146121c457600080fd5b611242848484612e6c565b83421115612224576040805162461bcd60e51b815260206004820152601260248201527f59414d2f7065726d69742d657870697265640000000000000000000000000000604482015290519081900360640190fd5b600d546001600160a01b0380891660008181526011602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981840152808401859052948c166060860152608085018b905260a085015260c08085018a90528251808603909101815260e08501835280519082012061190160f01b610100860152610102850195909552610122808501959095528151808503909501855261014290930190528251929091019190912090612339576040805162461bcd60e51b815260206004820152601560248201527f59414d2f696e76616c69642d616464726573732d300000000000000000000000604482015290519081900360640190fd5b6040805160008152602080820180845284905260ff8716828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015612390573d6000803e3d6000fd5b505050602060405103516001600160a01b0316886001600160a01b0316146123ff576040805162461bcd60e51b815260206004820152601260248201527f59414d2f696e76616c69642d7065726d69740000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038089166000818152600b60209081526040808320948c16808452948252918290208a905581518a815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35050505050505050565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205490565b60405180603a61363e8239603a019050604051809103902081565b670de0b6b3a764000081565b600f6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6000610e2f82612792565b60035461010090046001600160a01b0316331461250c57600080fd5b600580546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f51f448520e2183de499e224808a409ee01a1f380edb2e8497572320c15030545929181900390910190a15050565b600954600090610e2f90611a4d8469d3c21bcecceda100000063ffffffff612c5216565b6000600c54600019816125a257fe5b04905090565b6000611b0283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612eec565b600082820183811015611b02576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b816001600160a01b0316836001600160a01b0316141580156126665750600081115b1561278d576001600160a01b038316156126fe576001600160a01b03831660009081526010602052604081205463ffffffff1690816126a65760006126d8565b6001600160a01b0385166000908152600f6020908152604080832063ffffffff60001987011684529091529020600101545b905060006126ec828563ffffffff6125a816565b90506126fa86848484612f83565b5050505b6001600160a01b0382161561278d576001600160a01b03821660009081526010602052604081205463ffffffff16908161273957600061276b565b6001600160a01b0384166000908152600f6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061277f828563ffffffff6125ea16565b905061219d85848484612f83565b505050565b6000610e2f69d3c21bcecceda1000000611a4d60095485612c5290919063ffffffff16565b6006546001600160a01b031633141561294a57600c546127dd908263ffffffff6125ea16565b600c5560006127eb82612792565b600854909150612801908263ffffffff6125ea16565b60085561280c612593565b6009541115612862576040805162461bcd60e51b815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600a602052604090205461288b908363ffffffff6125ea16565b6001600160a01b038085166000908152600a6020908152604080832094909455600e9052918220546128bf92911684612644565b604080516001600160a01b03851681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a16040805182815290516001600160a01b038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350611bbe565b60085461295d908263ffffffff6125ea16565b600855600061296b8261256f565b600c54909150612981908263ffffffff6125ea16565b600c5561298c612593565b60095411156129e2576040805162461bcd60e51b815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600a6020526040902054612a0b908263ffffffff6125ea16565b6001600160a01b038085166000908152600a6020908152604080832094909455600e905291822054612a3f92911683612644565b604080516001600160a01b03851681526020810184905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a16040805183815290516001600160a01b038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050565b600854612adc908263ffffffff6125a816565b6008556000612aea8261256f565b600c54909150612b00908263ffffffff6125a816565b600c55336000908152600a6020526040902054612b23908263ffffffff6125a816565b336000908152600a6020908152604080832093909355600e905290812054612b57916001600160a01b039091169083612644565b604080513381526020810184905281517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5929181900390910190a160408051838152905160009133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038083166000818152600e602081815260408084208054600a845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4612c48828483612644565b50505050565b4690565b600082612c6157506000610e2f565b82820282848281612c6e57fe5b0414611b025760405162461bcd60e51b815260040180806020018281038252602181526020018061359b6021913960400191505060405180910390fd5b6000611b0283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506130e8565b600c54612d00908263ffffffff6125ea16565b600c556000612d0e82612792565b600854909150612d24908263ffffffff6125ea16565b600855612d2f612593565b6009541115612d85576040805162461bcd60e51b815260206004820152601a60248201527f6d6178207363616c696e6720666163746f7220746f6f206c6f77000000000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600a6020526040902054612dae908363ffffffff6125ea16565b6001600160a01b038085166000908152600a6020908152604080832094909455600e905291822054612de292911684612644565b604080516001600160a01b03851681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a16040805182815290516001600160a01b038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261278d90849061314d565b60008184841115612f7b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612f40578181015183820152602001612f28565b50505050905090810190601f168015612f6d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000612fa7436040518060600160405280603381526020016135e1603391396131fe565b905060008463ffffffff16118015612ff057506001600160a01b0385166000908152600f6020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561302d576001600160a01b0385166000908152600f6020908152604080832063ffffffff6000198901168452909152902060010182905561309e565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600f84528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260109092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b600081836131375760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612f40578181015183820152602001612f28565b50600083858161314357fe5b0495945050505050565b60606131a2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661325c9092919063ffffffff16565b80519091501561278d578080602001905160208110156131c157600080fd5b505161278d5760405162461bcd60e51b815260040180806020018281038252602a815260200180613614602a913960400191505060405180910390fd5b60008164010000000084106132545760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612f40578181015183820152602001612f28565b509192915050565b606061326b8484600085613273565b949350505050565b606061327e856133e0565b6132cf576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061330e5780518252601f1990920191602091820191016132ef565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613370576040519150601f19603f3d011682016040523d82523d6000602084013e613375565b606091505b5091509150811561338957915061326b9050565b8051156133995780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612f40578181015183820152602001612f28565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061342757805160ff1916838001178555613454565b82800160010185558215613454579182015b82811115613454578251825591602001919060010190613439565b5061346092915061347b565b5090565b604080518082019091526000808252602082015290565b610e4d91905b80821115613460576000815560010161348156fe59414d3a3a64656c656761746542795369673a20696e76616c6964206e6f6e636559414d3a3a64656c656761746542795369673a20696e76616c6964207369676e61747572656f6e6c792074686520676f76206d61792063616c6c205f72657369676e496d706c656d656e746174696f6e59414d3a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65646f6e6c792074686520676f76206d61792063616c6c205f6265636f6d65496d706c656d656e746174696f6e454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7759414d3a3a64656c656761746542795369673a207369676e6174757265206578706972656459414d3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656444656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a72315820c4bf81555130b46964a6035446c96227eae0c880545c429a908efbdb62b6f00e64736f6c634300050f0032

Deployed Bytecode Sourcemap

55595:1054:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55595:1054:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8205: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;8205:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44179:235;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;44179:235:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;50916:149;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50916:149:0;;:::i;:::-;;;;;;;;;;;;;;;;35285:137;;;:::i;8693:22::-;;;:::i;:::-;;;;-1:-1:-1;;;;;8693:22:0;;;;;;;;;;;;;;8492:18;;;:::i;56371:275::-;;;:::i;:::-;;34913:290;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;34913:290:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;34913:290:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;34913: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;34913:290:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;34913:290:0;;;;;;;;-1:-1:-1;34913:290:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;34913:290:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;34913: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;34913:290:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;34913:290:0;;-1:-1:-1;;;34913:290:0;;;;;-1:-1:-1;34913:290:0;;-1:-1:-1;34913:290:0:i;8988:26::-;;;:::i;2155:122::-;;;:::i;41824:641::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;41824:641:0;;;;;;;;;;;;;;;;;:::i;8590:25::-;;;:::i;9677:108::-;;;:::i;8401:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39980:507;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;39980:507:0;;;;;;;;:::i;9792:31::-;;;:::i;44787:345::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;44787:345:0;;;;;;;;:::i;42913:141::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42913:141:0;-1:-1:-1;;;;;42913:141:0;;:::i;35925:167::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;35925:167:0;;;;;;;;:::i;37801:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37801:131:0;;:::i;47540:213::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47540:213:0;-1:-1:-1;;;;;47540:213:0;;:::i;48610:236::-;;;:::i;55916:345::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;55916:345:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;55916:345:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;55916: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;55916:345:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;55916:345:0;;-1:-1:-1;55916:345:0;;-1:-1:-1;;;;;55916:345:0:i;15614:149::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15614:149:0;-1:-1:-1;;;;;15614:149:0;;:::i;15907:104::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15907:104:0;-1:-1:-1;;;;;15907:104:0;;:::i;54299:29::-;;;:::i;9105:49::-;;;:::i;52015:680::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;52015:680:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;52015:680:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;52015: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;52015:680:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;52015:680:0;;;;;;;;-1:-1:-1;52015:680:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;52015:680:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;52015: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;52015:680:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;52015:680:0;;-1:-1:-1;;;52015:680:0;;;;;-1:-1:-1;;52015:680:0;;;;-1:-1:-1;;;;;52015:680:0;;;;;;:::i;8897: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;-1:-1:-1;;;;;2033:49:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;42583:147;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42583:147:0;-1:-1:-1;;;;;42583:147:0;;:::i;48293:230::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48293:230:0;-1:-1:-1;;;;;48293:230:0;;:::i;18269:1252::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18269:1252:0;;;;;;;;:::i;49563:1192::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49563:1192:0;;;;;;;;;;;;;;:::i;8794: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;-1:-1:-1;;;;;2569:39:0;;:::i;48854:321::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48854:321:0;-1:-1:-1;;;;;48854:321:0;;:::i;38762:187::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38762:187:0;;;;;;;;:::i;8301:20::-;;;:::i;9536:25::-;;;:::i;47901:248::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47901:248:0;-1:-1:-1;;;;;47901:248:0;;:::i;45394:514::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;45394:514:0;;;;;;;;:::i;40749:818::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;40749:818:0;;;;;;;;:::i;17583:255::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17583:255:0;-1:-1:-1;;;;;17583:255:0;;:::i;9351:32::-;;;:::i;16445:937::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;16445:937:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;51465:277::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;51465:277:0;;;;;;;;;;;;;;;;;:::i;45955:1065::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;45955:1065:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;43361:176::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;43361:176:0;;;;;;;;;;:::i;2371:117::-;;;:::i;9223: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;;-1:-1:-1;;;;;1894:70:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;50763:145;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50763:145:0;;:::i;47196:203::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47196:203:0;-1:-1:-1;;;;;47196:203:0;;:::i;8205:18::-;;;;;;;;;;;;;;;-1:-1:-1;;8205:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44179:235::-;44304:10;44264:4;44286:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;44286:38:0;;;;;;;;;;;:46;;;44348:36;;;;;;;44264:4;;44286:38;;44304:10;;44348:36;;;;;;;;-1:-1:-1;44402:4:0;44179:235;;;;;:::o;50916:149::-;51004:7;51036:21;51051:5;51036:14;:21::i;35285:137::-;35363:7;35395:19;:17;:19::i;:::-;35388:26;;35285:137;;:::o;8693:22::-;;;-1:-1:-1;;;;;8693:22:0;;:::o;8492:18::-;;;;;;-1:-1:-1;;;;;8492:18:0;;:::o;56371:275::-;56587:3;;;;;-1:-1:-1;;;;;56587:3:0;56573:10;:17;56565:73;;;;-1:-1:-1;;;56565:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56371:275::o;34913:290::-;35068:17;;:22;35060:54;;;;;-1:-1:-1;;;35060:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35125:12;;;;:4;;:12;;;;;:::i;:::-;-1:-1:-1;35148:16:0;;;;:6;;:16;;;;;:::i;:::-;-1:-1:-1;35175:8:0;:20;;-1:-1:-1;;35175:20:0;;;;;;;;;;;;-1:-1:-1;;34913:290:0:o;8988:26::-;;;;:::o;2155:122::-;2197:80;;;;;;;;;;;;;;;;;;2155:122;:::o;41824:641::-;41951:4;41929:2;-1:-1:-1;;;;;34827:18:0;;34819:27;;;;;;-1:-1:-1;;;;;34865:19:0;;34879:4;34865:19;;34857:28;;;;;;-1:-1:-1;;;;;42042:23:0;;;;;;:17;:23;;;;;;;;42066:10;42042:35;;;;;;;;:46;;42082:5;42042:46;:39;:46;:::i;:::-;-1:-1:-1;;;;;42004:23:0;;;;;;:17;:23;;;;;;;;42028:10;42004:35;;;;;;;:84;;;;42150:21;42165:5;42150:14;:21::i;:::-;-1:-1:-1;;;;;42231:18:0;;;;;;:12;:18;;;;;;42131:40;;-1:-1:-1;42231:32:0;;42131:40;42231:32;:22;:32;:::i;:::-;-1:-1:-1;;;;;42210:18:0;;;;;;;:12;:18;;;;;;:53;;;;42293:16;;;;;;;:30;;42314:8;42293:30;:20;:30;:::i;:::-;-1:-1:-1;;;;;42274:16:0;;;;;;;:12;:16;;;;;;;;;:49;;;;42339:25;;;;;;;42274:16;;42339:25;;;;;;;;;;;;;-1:-1:-1;;;;;42392:16:0;;;;;;;:10;:16;;;;;;;42410:14;;;;;;;;42377:58;;42392:16;;;;42410:14;42426:8;42377:14;:58::i;:::-;-1:-1:-1;42453:4:0;;41824:641;-1:-1:-1;;;;;41824:641:0:o;8590:25::-;;;-1:-1:-1;;;;;8590:25:0;;:::o;9677:108::-;9719:66;9677:108;:::o;8401:21::-;;;;;;:::o;39980:507::-;40099:4;40077:2;-1:-1:-1;;;;;34827:18:0;;34819:27;;;;;;-1:-1:-1;;;;;34865:19:0;;34879:4;34865:19;;34857:28;;;;;;40200:10;40187:24;;;;:12;:24;;;;;;:35;;40216:5;40187:35;:28;:35;:::i;:::-;40173:10;40160:24;;;;:12;:24;;;;;;:62;;;;-1:-1:-1;;;;;40293:16:0;;;;;;:27;;40314:5;40293:27;:20;:27;:::i;:::-;-1:-1:-1;;;;;40274:16:0;;;;;;:12;:16;;;;;:46;;;;40345:10;40336:47;40361:21;40376:5;40361:14;:21::i;:::-;40336:47;;;;;;;;;;;;;;;40422:10;40411:22;;;;:10;:22;;;;;;;-1:-1:-1;;;;;40435:14:0;;;;;;;;;;40396:61;;40411:22;;;40435:14;40451:5;40396:14;:61::i;:::-;-1:-1:-1;40475:4:0;;39980:507;-1:-1:-1;;;39980:507:0:o;9792:31::-;;;;:::o;44787:345::-;44981:10;44887:4;44963:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;44963:38:0;;;;;;;;;;:54;;45006:10;44963:54;:42;:54;:::i;:::-;44927:10;44909:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;44909:38:0;;;;;;;;;;;;:108;;;45033:69;;;;;;44909:38;;45033:69;;;;;;;;;;;-1:-1:-1;45120:4:0;44787:345;;;;:::o;42913:141::-;-1:-1:-1;;;;;43029:17:0;42999:7;43029:17;;;:12;:17;;;;;;;42913:141::o;35925:167::-;34583:7;;36023:4;;-1:-1:-1;;;;;34583:7:0;34569:10;:21;;:55;;-1:-1:-1;34621:3:0;;;;;-1:-1:-1;;;;;34621:3:0;34607:10;:17;34569:55;:98;;;-1:-1:-1;34655:12:0;;-1:-1:-1;;;;;34655:12:0;34641:10;:26;34569:98;:137;;;-1:-1:-1;34698:8:0;;-1:-1:-1;;;;;34698:8:0;34684:10;:22;34569:137;34547:197;;;;;-1:-1:-1;;;34547:197:0;;;;;;;;;;;;-1:-1:-1;;;34547:197:0;;;;;;;;;;;;;;;36045:17;36051:2;36055:6;36045:5;:17::i;:::-;-1:-1:-1;36080:4:0;35925:167;;;;:::o;37801:131::-;37867:4;37889:13;37895:6;37889:5;:13::i;:::-;-1:-1:-1;37920:4:0;37801:131;;;:::o;47540:213::-;34390:3;;;;;-1:-1:-1;;;;;34390:3:0;34376:10;:17;34368:26;;;;;;47674:8;:20;;-1:-1:-1;;;;;;47674:20:0;-1:-1:-1;;;;;47674:20:0;;;;;;;;47710:35;;;;;;;;;;;;;;;47674:20;;47710:35;;;;;;;;;34405:1;47540:213;:::o;48610:236::-;48688:10;;-1:-1:-1;;;;;48688:10:0;48674;:24;48666:45;;;;;-1:-1:-1;;;48666:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;48739:3;;;48759:10;;;-1:-1:-1;;;;;48759:10:0;;;48739:3;48753:16;;;;;;;;;;;-1:-1:-1;;;;;;48780:23:0;;;;;;48819:19;;;48739:3;;;;;;48819:19;;;48834:3;;;;;;;48819:19;;;;;;48739:3;;48819:19;;;;;;;;48610:236;:::o;55916:345::-;56202:3;;;;;-1:-1:-1;;;;;56202:3:0;56188:10;:17;56180:73;;;;-1:-1:-1;;;56180:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55916:345;:::o;15614:149::-;-1:-1:-1;;;;;15734:21:0;;;15702:7;15734:21;;;:10;:21;;;;;;;;15614:149::o;15907:104::-;15971:32;15981:10;15993:9;15971;:32::i;54299:29::-;;;-1:-1:-1;;;;;54299:29:0;;:::o;9105:49::-;9148:6;9105:49;:::o;52015:680::-;52229:43;52246:5;52253:7;52262:9;52229:16;:43::i;:::-;9254:6;52285:17;:24;52333:32;52348:16;52333:14;:32::i;:::-;52320:10;:45;;;52376:11;:30;;;-1:-1:-1;;;;;52417:27:0;;-1:-1:-1;52417:27:0;;;:12;:27;;;;;;;:40;;;;2197:80;;;;;;;;;;;;;;;;;52592:4;52576:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52617:12;:10;:12::i;:::-;52513:163;;;;;;;;;;;;;;;;;;;;;;;;;52656:4;52513:163;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;52513:163:0;;;;;;52489:198;;;;;52470:16;:217;-1:-1:-1;;;;;52015:680:0:o;8897:27::-;;;-1:-1:-1;;;;;8897:27:0;;:::o;2033:49::-;;;;;;;;;;;;;;;:::o;42583:147::-;-1:-1:-1;;;;;42704:17:0;;42659:7;42704:17;;;:12;:17;;;;;;42689:33;;:14;:33::i;48293:230::-;34390:3;;;;;-1:-1:-1;;;;;34390:3:0;34376:10;:17;34368:26;;;;;;48413:10;;;-1:-1:-1;;;;;48434:24:0;;;-1:-1:-1;;;;;;48434:24:0;;;;;;;48474:41;;;48413:10;;;;48474:41;;;;;;;;;;;;;;;;;;;;;;;34405:1;48293:230;:::o;18269:1252::-;18377:7;18424:12;18410:11;:26;18402:77;;;;-1:-1:-1;;;18402:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18514:23:0;;18492:19;18514:23;;;:14;:23;;;;;;;;18552:17;18548:58;;18593:1;18586:8;;;;;18548:58;-1:-1:-1;;;;;18666:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;18687:16:0;;18666:38;;;;;;;;;:48;;:63;-1:-1:-1;18662:147:0;;-1:-1:-1;;;;;18753:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;18774:16:0;;;;18753:38;;;;;;;;18789:1;18753:44;;;-1:-1:-1;18746:51:0;;18662:147;-1:-1:-1;;;;;18870:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;18866:88:0;;;18941:1;18934:8;;;;;18866:88;18966:12;-1:-1:-1;;19008:16:0;;19035:428;19050:5;19042:13;;:5;:13;;;19035:428;;;19114:1;19097:13;;;19096:19;;;19088:27;;19157:20;;:::i;:::-;-1:-1:-1;;;;;;19180:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;19157:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19227:27;;19223:229;;;19282:8;;;;-1:-1:-1;19275:15:0;;-1:-1:-1;;;;19275:15:0;19223:229;19316:12;;:26;;;-1:-1:-1;19312:140:0;;;19371:6;19363:14;;19312:140;;;19435:1;19426:6;:10;19418:18;;19312:140;19035:428;;;;;-1:-1:-1;;;;;;19480:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;18269:1252:0;;;;:::o;49563:1192::-;34478:7;;49720;;-1:-1:-1;;;;;34478:7:0;34464:10;:21;34456:30;;;;;;49771:15;49767:133;;49820:17;;49806:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49877:11:0;;49870:18;;49767:133;49967:17;;50004:8;49999:551;;50106:53;9254:6;50106:43;50128:20;9254:6;50137:10;50128:20;:8;:20;:::i;:::-;50106:17;;;:43;:21;:43;:::i;:::-;:47;:53;:47;:53;:::i;:::-;50086:17;:73;49999:551;;;50249:24;50276:53;9254:6;50276:43;50298:20;9254:6;50307:10;50298:20;:8;:20;:::i;50276:53::-;50249:80;;50367:19;:17;:19::i;:::-;50348:16;:38;50344:195;;;50407:17;:36;;;50344:195;;;50504:19;:17;:19::i;:::-;50484:17;:39;50344:195;49999:551;;50619:26;50634:10;;50619:14;:26::i;:::-;50605:11;:40;50700:17;;50663:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50736:11:0;;34497:1;49563:1192;;;;;:::o;8794:23::-;;;-1:-1:-1;;;;;8794:23:0;;:::o;2569:39::-;;;;;;;;;;;;;:::o;48854:321::-;34390:3;;;;;-1:-1:-1;;;;;34390:3:0;34376:10;:17;34368:26;;;;;;-1:-1:-1;;;;;48979:29:0;;;48960:16;48979:29;;;:10;:29;;;;;;;49028:22;;49019:48;;;;;-1:-1:-1;;;49019:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49120:47;49130:17;49149;49120:9;:47::i;:::-;34405:1;48854:321;:::o;38762:187::-;34583:7;;38870:4;;-1:-1:-1;;;;;34583:7:0;34569:10;:21;;:55;;-1:-1:-1;34621:3:0;;;;;-1:-1:-1;;;;;34621:3:0;34607:10;:17;34569:55;:98;;;-1:-1:-1;34655:12:0;;-1:-1:-1;;;;;34655:12:0;34641:10;:26;34569:98;:137;;;-1:-1:-1;34698:8:0;;-1:-1:-1;;;;;34698:8:0;34684:10;:22;34569:137;34547:197;;;;;-1:-1:-1;;;34547:197:0;;;;;;;;;;;;-1:-1:-1;;;34547:197:0;;;;;;;;;;;;;;;38892:27;38908:2;38912:6;38892:15;:27::i;8301:20::-;;;;;;;;;;;;;;-1:-1:-1;;8301:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9536:25;;;;:::o;47901:248::-;34390:3;;;;;-1:-1:-1;;;;;34390:3:0;34376:10;:17;34368:26;;;;;;48027:12;;;-1:-1:-1;;;;;48050:28:0;;;-1:-1:-1;;;;;;48050:28:0;;;;;;;48094:47;;;48027:12;;;;48094:47;;;;;;;;;;;;;;;;;;;;;;;34405:1;47901:248;:::o;45394:514::-;45558:10;45499:4;45540:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;45540:38:0;;;;;;;;;;45593:27;;;45589:205;;45655:10;45678:1;45637:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;45637:38:0;;;;;;;;;:42;45589:205;;;45753:29;:8;45766:15;45753:29;:12;:29;:::i;:::-;45730:10;45712:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;45712:38:0;;;;;;;;;:70;45589:205;45818:10;45839:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;45809:69:0;;45839:38;;;;;;;;;;;45809:69;;;;;;;;;45818:10;45809:69;;;;;;;;;;;-1:-1:-1;45896:4:0;;45394:514;-1:-1:-1;;;45394:514:0:o;40749:818::-;40858:4;40836:2;-1:-1:-1;;;;;34827:18:0;;34819:27;;;;;;-1:-1:-1;;;;;34865:19:0;;34879:4;34865:19;;34857:28;;;;;;41155:16;41174:21;41189:5;41174:14;:21::i;:::-;41287:10;41274:24;;;;:12;:24;;;;;;41155:40;;-1:-1:-1;41274:38:0;;41155:40;41274:38;:28;:38;:::i;:::-;41260:10;41247:24;;;;:12;:24;;;;;;:65;;;;-1:-1:-1;;;;;41383:16:0;;;;;;:30;;41404:8;41383:30;:20;:30;:::i;:::-;-1:-1:-1;;;;;41364:16:0;;;;;;:12;:16;;;;;;;;;:49;;;;41429:31;;;;;;;41364:16;;41438:10;;41429:31;;;;;;;;;;41499:10;41488:22;;;;:10;:22;;;;;;;-1:-1:-1;;;;;41512:14:0;;;;;;;;;;41473:64;;41488:22;;;41512:14;41528:8;41473:14;:64::i;:::-;-1:-1:-1;41555:4:0;;40749:818;-1:-1:-1;;;;40749:818:0:o;17583:255::-;-1:-1:-1;;;;;17722:23:0;;17675:7;17722:23;;;:14;:23;;;;;;;;17763:16;:67;;17829:1;17763:67;;;-1:-1:-1;;;;;17782:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;17803:16:0;;17782:38;;;;;;;;17818:1;17782:44;;17756:74;17583:255;-1:-1:-1;;;17583:255:0:o;9351:32::-;;;;:::o;16445:937::-;16638:18;2417:71;;;;;;;;;;;;;;;;;;;16683:140;;;;;;;;-1:-1:-1;;;;;16683:140:0;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16683:140:0;;;;;16659:175;;;;;;16952:16;;-1:-1:-1;;;16888:124:0;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16888:124:0;;;;;;16864:159;;;;;;;;;-1:-1:-1;17056:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16659:175;;-1:-1:-1;16864:159:0;;-1:-1:-1;;;17056:26:0;;;;;;;16683:140;-1:-1:-1;;17056:26:0;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;17056:26:0;;-1:-1:-1;;17056:26:0;;;-1:-1:-1;;;;;;;17101:23:0;;17093:73;;;;-1:-1:-1;;;17093:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17194:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;17185:28;;17177:74;;;;-1:-1:-1;;;17177:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17277:6;17270:3;:13;;17262:63;;;;-1:-1:-1;;;17262:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17343:31;17353:9;17364;17343;:31::i;:::-;17336:38;;;16445:937;;;;;;;:::o;51465:277::-;34390:3;;51617:4;;34390:3;;;-1:-1:-1;;;;;34390:3:0;34376:10;:17;34368:26;;;;;;51663:49;51693:5;51701:2;51705:6;51663:22;:49::i;45955:1065::-;46186:8;46179:3;:15;;46171:46;;;;;-1:-1:-1;;;46171:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46360:16;;-1:-1:-1;;;;;46632:13:0;;;46230:14;46632:13;;;:6;:13;;;;;;;;;:15;;;;;;;;46435:278;;9719:66;46435:278;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;46435:278:0;;;;;46399:337;;;;;;-1:-1:-1;;;46288:467:0;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;46288:467:0;;;;;;46260:510;;;;;;;;;;;46783:53;;;;;-1:-1:-1;;;46783:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46864:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46864:26:0;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46864:26:0;;;;;;;;-1:-1:-1;;;;;46855:35:0;:5;-1:-1:-1;;;;;46855:35:0;;46847:66;;;;;-1:-1:-1;;;46847:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46924:24:0;;;;;;;:17;:24;;;;;;;;:33;;;;;;;;;;;;;:41;;;46981:31;;;;;;;;;;;;;;;;;45955:1065;;;;;;;;:::o;43361:176::-;-1:-1:-1;;;;;43495:25:0;;;43463:7;43495:25;;;:17;:25;;;;;;;;:34;;;;;;;;;;;;;43361:176::o;2371:117::-;2417:71;;;;;;;;;;;;;;;;;;2371:117;:::o;9223:37::-;9254:6;9223:37;:::o;1894:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50763:145::-;50849:7;50881:19;50896:3;50881:14;:19::i;47196:203::-;34390:3;;;;;-1:-1:-1;;;;;34390:3:0;34376:10;:17;34368:26;;;;;;47307:7;;;-1:-1:-1;;;;;47325:18:0;;;-1:-1:-1;;;;;;47325:18:0;;;;;;;47359:32;;;47307:7;;;;47359:32;;;;;;;;;;;;;;;;;;;;;;;34405:1;47196:203;:::o;51256:179::-;51409:17;;51345:7;;51377:50;;:27;:5;9148:6;51377:27;:9;:27;:::i;35430:337::-;35509:7;35749:10;;-1:-1:-1;;35735:24:0;;;;;;35728:31;;35430: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;;;;;-1:-1:-1;;;3562:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;19977:947;20083:6;-1:-1:-1;;;;;20073:16:0;:6;-1:-1:-1;;;;;20073:16:0;;;:30;;;;;20102:1;20093:6;:10;20073:30;20069:848;;;-1:-1:-1;;;;;20124:20:0;;;20120:385;;-1:-1:-1;;;;;20232:22:0;;20213:16;20232:22;;;:14;:22;;;;;;;;;20293:13;:60;;20352:1;20293:60;;;-1:-1:-1;;;;;20309:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;20329:13:0;;20309:34;;;;;;;;20341:1;20309:40;;20293:60;20273:80;-1:-1:-1;20372:17:0;20392:21;20273:80;20406:6;20392:21;:13;:21;:::i;:::-;20372:41;;20432:57;20449:6;20457:9;20468;20479;20432:16;:57::i;:::-;20120:385;;;;-1:-1:-1;;;;;20525:20:0;;;20521:385;;-1:-1:-1;;;;;20633:22:0;;20614:16;20633:22;;;:14;:22;;;;;;;;;20694:13;:60;;20753:1;20694:60;;;-1:-1:-1;;;;;20710:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;20730:13:0;;20710:34;;;;;;;;20742:1;20710:40;;20694:60;20674:80;-1:-1:-1;20773:17:0;20793:21;20674:80;20807:6;20793:21;:13;:21;:::i;:::-;20773:41;;20833:57;20850:6;20858:9;20869;20880;20833:16;:57::i;20521:385::-;19977:947;;;:::o;51073:175::-;51160:7;51192:48;9148:6;51192:26;51200:17;;51192:3;:7;;:26;;;;:::i;36100:1573::-;36193:8;;-1:-1:-1;;;;;36193:8:0;36179:10;:22;36175:1491;;;36322:10;;:22;;36337:6;36322:22;:14;:22;:::i;:::-;36309:10;:35;36388:20;36411:22;36426:6;36411:14;:22::i;:::-;36493:11;;36388:45;;-1:-1:-1;36493:29:0;;36388:45;36493:29;:15;:29;:::i;:::-;36479:11;:43;36631:19;:17;:19::i;:::-;36610:17;;:40;;36602:79;;;;;-1:-1:-1;;;36602:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36737:16:0;;;;;;:12;:16;;;;;;:28;;36758:6;36737:28;:20;:28;:::i;:::-;-1:-1:-1;;;;;36718:16:0;;;;;;;:12;:16;;;;;;;;:47;;;;36845:10;:14;;;;;;36818:50;;36718:16;36845:14;36861:6;36818:14;:50::i;:::-;36884:22;;;-1:-1:-1;;;;;36884:22:0;;;;;;;;;;;;;;;;;;;;;;;36922:38;;;;;;;;-1:-1:-1;;;;;36922:38:0;;;36939:1;;36922:38;;;;;;;;;36175:1491;;;;37034:11;;:23;;37050:6;37034:23;:15;:23;:::i;:::-;37020:11;:37;37103:16;37122:22;37137:6;37122:14;:22::i;:::-;37202:10;;37103:41;;-1:-1:-1;37202:24:0;;37103:41;37202:24;:14;:24;:::i;:::-;37189:10;:37;37335:19;:17;:19::i;:::-;37314:17;;:40;;37306:79;;;;;-1:-1:-1;;;37306:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37441:16:0;;;;;;:12;:16;;;;;;:30;;37462:8;37441:30;:20;:30;:::i;:::-;-1:-1:-1;;;;;37422:16:0;;;;;;;:12;:16;;;;;;;;:49;;;;37551:10;:14;;;;;;37524:52;;37422:16;37551:14;37567:8;37524:14;:52::i;:::-;37592:16;;;-1:-1:-1;;;;;37592:16:0;;;;;;;;;;;;;;;;;;;;;;;37624:32;;;;;;;;-1:-1:-1;;;;;37624:32:0;;;37641:1;;37624:32;;;;;;;;;36175:1491;36100:1573;;:::o;37940:640::-;38060:11;;:23;;38076:6;38060:23;:15;:23;:::i;:::-;38046:11;:37;38129:16;38148:22;38163:6;38148:14;:22::i;:::-;38228:10;;38129:41;;-1:-1:-1;38228:24:0;;38129:41;38228:24;:14;:24;:::i;:::-;38215:10;:37;38334:10;38321:24;;;;:12;:24;;;;;;:38;;38350:8;38321:38;:28;:38;:::i;:::-;38307:10;38294:24;;;;:12;:24;;;;;;;;:65;;;;38427:10;:22;;;;;;38412:60;;-1:-1:-1;;;;;38427:22:0;;;;38463:8;38412:14;:60::i;:::-;38488:24;;;38493:10;38488:24;;;;;;;;;;;;;;;;;;;;;38528:40;;;;;;;;38557:1;;38537:10;;38528:40;;;;;;;;;37940:640;;:::o;19529:440::-;-1:-1:-1;;;;;19646:21:0;;;19620:23;19646:21;;;:10;:21;;;;;;;;;;19705:12;:23;;;;;;19783:21;;;;:33;;;-1:-1:-1;;;;;;19783:33:0;;;;;;;19834:54;;19646:21;;;;;19705:23;;19783:33;;19646:21;;;19834:54;;19620:23;19834:54;19901:60;19916:15;19933:9;19944:16;19901:14;:60::i;:::-;19529:440;;;;:::o;21812:153::-;21922:9;21812: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;;;;-1:-1:-1;;;5196:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5757:132;5815:7;5842:39;5846:1;5849;5842:39;;;;;;;;;;;;;;;;;:3;:39::i;38957:785::-;39091:10;;:22;;39106:6;39091:22;:14;:22;:::i;:::-;39078:10;:35;39157:20;39180:22;39195:6;39180:14;:22::i;:::-;39262:11;;39157:45;;-1:-1:-1;39262:29:0;;39157:45;39262:29;:15;:29;:::i;:::-;39248:11;:43;39400:19;:17;:19::i;:::-;39379:17;;:40;;39371:79;;;;;-1:-1:-1;;;39371:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39506:16:0;;;;;;:12;:16;;;;;;:28;;39527:6;39506:28;:20;:28;:::i;:::-;-1:-1:-1;;;;;39487:16:0;;;;;;;:12;:16;;;;;;;;:47;;;;39614:10;:14;;;;;;39587:50;;39487:16;39614:14;39630:6;39587:14;:50::i;:::-;39653:22;;;-1:-1:-1;;;;;39653:22:0;;;;;;;;;;;;;;;;;;;;;;;39691:38;;;;;;;;-1:-1:-1;;;;;39691:38:0;;;39708:1;;39691:38;;;;;;;;;38957:785;;;:::o;31200:177::-;31310:58;;;-1:-1:-1;;;;;31310:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;31310:58:0;;;;;;;;25:18:-1;;61:17;;31310:58:0;182:15:-1;31333:23:0;179:29:-1;160:49;;31283:86:0;;31303:5;;31283:19;:86::i;4359:192::-;4445:7;4481:12;4473:6;;;;4465:29;;;;-1:-1:-1;;;4465:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;20932:703::-;21111:18;21132:75;21139:12;21132:75;;;;;;;;;;;;;;;;;:6;:75::i;:::-;21111:96;;21239:1;21224:12;:16;;;:85;;;;-1:-1:-1;;;;;;21244:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;21267:16:0;;21244:40;;;;;;;;;:50;:65;;;:50;;:65;21224:85;21220:339;;;-1:-1:-1;;;;;21326:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;21349:16:0;;21326:40;;;;;;;;21364:1;21326:46;:57;;;21220:339;;;21455:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21416:22:0;;-1:-1:-1;21416:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;21416:72:0;;;;;;;;;;;;;21503:25;;;:14;:25;;;;;;:44;;21531:16;;;21503:44;;;;;;;;;;21220:339;21576:51;;;;;;;;;;;;;;-1:-1:-1;;;;;21576:51:0;;;;;;;;;;;20932:703;;;;;:::o;6385:278::-;6471:7;6506:12;6499:5;6491:28;;;;-1:-1:-1;;;6491:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;33505:761::-;33929:23;33955:69;33983:4;33955:69;;;;;;;;;;;;;;;;;33963:5;-1:-1:-1;;;;;33955:27:0;;;:69;;;;;:::i;:::-;34039:17;;33929:95;;-1:-1:-1;34039:21:0;34035:224;;34181:10;34170:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34170:30:0;34162:85;;;;-1:-1:-1;;;34162:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21643:161;21718:6;21756:12;21749:5;21745:9;;21737:32;;;;-1:-1:-1;;;21737:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;21737:32:0;-1:-1:-1;21794:1:0;;21643:161;-1:-1:-1;;21643:161:0:o;28281:196::-;28384:12;28416:53;28439:6;28447:4;28453:1;28456:12;28416:22;:53::i;:::-;28409:60;28281:196;-1:-1:-1;;;;28281:196:0:o;29658:976::-;29788:12;29821:18;29832:6;29821:10;:18::i;:::-;29813:60;;;;;-1:-1:-1;;;29813:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29947:12;29961:23;29988:6;-1:-1:-1;;;;;29988:11:0;30006:8;30016:4;29988:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;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;;;29988: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;;29946:75:0;;;;30036:7;30032:595;;;30067:10;-1:-1:-1;30060:17:0;;-1:-1:-1;30060:17:0;30032:595;30181:17;;:21;30177:439;;30444:10;30438:17;30505:15;30492:10;30488:2;30484:19;30477:44;30392:148;30580:20;;-1:-1:-1;;;30580:20:0;;;;;;;;;;;;;;;;;30587:12;;30580:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;25366:422:0;25733:20;25772:8;;;25366:422::o;55595:1054::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55595:1054:0;;;-1:-1:-1;55595:1054:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;-1:-1:-1;55595:1054:0;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://c4bf81555130b46964a6035446c96227eae0c880545c429a908efbdb62b6f00e

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.