ETH Price: $3,286.35 (-1.90%)

Contract

0xCbF5B2212087C21edCF2FC599A4619250bAd39a2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Borrow118423362021-02-12 14:21:021438 days ago1613139662IN
Artem.Finance: aWBTC Token
0 ETH0.05014842117
Borrow117422142021-01-28 4:36:291454 days ago1611808589IN
Artem.Finance: aWBTC Token
0 ETH0.0124899361
Redeem112982932020-11-21 0:48:471522 days ago1605919727IN
Artem.Finance: aWBTC Token
0 ETH0.0130565446
Redeem112718072020-11-16 23:10:381526 days ago1605568238IN
Artem.Finance: aWBTC Token
0 ETH0.0039234522.1
Repay Borrow112717942020-11-16 23:07:431526 days ago1605568063IN
Artem.Finance: aWBTC Token
0 ETH0.0059314530
Redeem112715982020-11-16 22:25:261526 days ago1605565526IN
Artem.Finance: aWBTC Token
0 ETH0.0025982214.41
Redeem112715662020-11-16 22:18:111526 days ago1605565091IN
Artem.Finance: aWBTC Token
0 ETH0.0032051317.776
Redeem112715362020-11-16 22:13:051526 days ago1605564785IN
Artem.Finance: aWBTC Token
0 ETH0.005472529
Redeem111825322020-11-03 6:20:081540 days ago1604384408IN
Artem.Finance: aWBTC Token
0 ETH0.0167263388
Borrow111690942020-11-01 4:42:191542 days ago1604205739IN
Artem.Finance: aWBTC Token
0 ETH0.0017241114.73208163
Borrow111689752020-11-01 4:15:431542 days ago1604204143IN
Artem.Finance: aWBTC Token
0 ETH0.0018814615
Mint111347982020-10-26 22:36:381547 days ago1603751798IN
Artem.Finance: aWBTC Token
0 ETH0.0022299315.37993142
Mint111195312020-10-24 14:17:271549 days ago1603549047IN
Artem.Finance: aWBTC Token
0 ETH0.0039359220.00000145
Repay Borrow111191962020-10-24 13:03:461549 days ago1603544626IN
Artem.Finance: aWBTC Token
0 ETH0.0032512116.1
Mint110919182020-10-20 8:31:221554 days ago1603182682IN
Artem.Finance: aWBTC Token
0 ETH0.0101436950.46415094
Borrow110768982020-10-18 1:13:051556 days ago1602983585IN
Artem.Finance: aWBTC Token
0 ETH0.009006330
Mint110739272020-10-17 14:08:591556 days ago1602943739IN
Artem.Finance: aWBTC Token
0 ETH0.0047432923
Redeem110228612020-10-09 18:32:101564 days ago1602268330IN
Artem.Finance: aWBTC Token
0 ETH0.0176578495
Redeem110218032020-10-09 14:26:251564 days ago1602253585IN
Artem.Finance: aWBTC Token
0 ETH0.02059343108.34545454
Mint109526882020-09-28 18:58:081575 days ago1601319488IN
Artem.Finance: aWBTC Token
0 ETH0.02108833116
Mint109526592020-09-28 18:50:551575 days ago1601319055IN
Artem.Finance: aWBTC Token
0 ETH0.01931007107
Repay Borrow109452012020-09-27 14:36:591576 days ago1601217419IN
Artem.Finance: aWBTC Token
0 ETH0.0131109574
Repay Borrow109451792020-09-27 14:32:471576 days ago1601217167IN
Artem.Finance: aWBTC Token
0 ETH0.0149541680
Repay Borrow109451582020-09-27 14:29:081576 days ago1601216948IN
Artem.Finance: aWBTC Token
0 ETH0.0124879280
Redeem109447712020-09-27 12:57:311576 days ago1601211451IN
Artem.Finance: aWBTC Token
0 ETH0.0079770954
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AErc20

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, BSD-3-Clause license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-09-20
*/

pragma solidity ^0.5.16;

/**
  * @title Artem ERC-20 Contract
  * @notice Derived from Compound's cERC20 contract
  * https://github.com/compound-finance/compound-protocol/tree/master/contracts
  */

/**
  * @title Careful Math
  * @notice Derived from OpenZeppelin's SafeMath library
  *         https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/math/SafeMath.sol
  */
contract CarefulMath {

    enum MathError {
        NO_ERROR,
        DIVISION_BY_ZERO,
        INTEGER_OVERFLOW,
        INTEGER_UNDERFLOW
    }

    /**
    * @dev Multiplies two numbers, returns an error on overflow.
    */
    function mulUInt(uint a, uint b) internal pure returns (MathError, uint) {
        if (a == 0) {
            return (MathError.NO_ERROR, 0);
        }

        uint c = a * b;

        if (c / a != b) {
            return (MathError.INTEGER_OVERFLOW, 0);
        } else {
            return (MathError.NO_ERROR, c);
        }
    }

    /**
    * @dev Integer division of two numbers, truncating the quotient.
    */
    function divUInt(uint a, uint b) internal pure returns (MathError, uint) {
        if (b == 0) {
            return (MathError.DIVISION_BY_ZERO, 0);
        }

        return (MathError.NO_ERROR, a / b);
    }

    /**
    * @dev Subtracts two numbers, returns an error on overflow (i.e. if subtrahend is greater than minuend).
    */
    function subUInt(uint a, uint b) internal pure returns (MathError, uint) {
        if (b <= a) {
            return (MathError.NO_ERROR, a - b);
        } else {
            return (MathError.INTEGER_UNDERFLOW, 0);
        }
    }

    /**
    * @dev Adds two numbers, returns an error on overflow.
    */
    function addUInt(uint a, uint b) internal pure returns (MathError, uint) {
        uint c = a + b;

        if (c >= a) {
            return (MathError.NO_ERROR, c);
        } else {
            return (MathError.INTEGER_OVERFLOW, 0);
        }
    }

    /**
    * @dev add a and b and then subtract c
    */
    function addThenSubUInt(uint a, uint b, uint c) internal pure returns (MathError, uint) {
        (MathError err0, uint sum) = addUInt(a, b);

        if (err0 != MathError.NO_ERROR) {
            return (err0, 0);
        }

        return subUInt(sum, c);
    }
}

interface ControllerInterface {

    function isController() external view returns (bool);

    function enterMarkets(address[] calldata aTokens) external returns (uint[] memory);
    function exitMarket(address aToken) external returns (uint);

    function mintAllowed(address aToken, address minter, uint mintAmount) external returns (uint);
    function mintVerify(address aToken, address minter, uint mintAmount, uint mintTokens) external;

    function redeemAllowed(address aToken, address redeemer, uint redeemTokens) external returns (uint);
    function redeemVerify(address aToken, address redeemer, uint redeemAmount, uint redeemTokens) external;

    function borrowAllowed(address aToken, address borrower, uint borrowAmount) external returns (uint);
    function borrowVerify(address aToken, address borrower, uint borrowAmount) external;

    function repayBorrowAllowed(
        address aToken,
        address payer,
        address borrower,
        uint repayAmount) external returns (uint);
        
    function repayBorrowVerify(
        address aToken,
        address payer,
        address borrower,
        uint repayAmount,
        uint borrowerIndex) external;

    function liquidateBorrowAllowed(
        address aTokenBorrowed,
        address aTokenCollateral,
        address liquidator,
        address borrower,
        uint repayAmount) external returns (uint);
        
    function liquidateBorrowVerify(
        address aTokenBorrowed,
        address aTokenCollateral,
        address liquidator,
        address borrower,
        uint repayAmount,
        uint seizeTokens) external;

    function seizeAllowed(
        address aTokenCollateral,
        address aTokenBorrowed,
        address liquidator,
        address borrower,
        uint seizeTokens) external returns (uint);
        
    function seizeVerify(
        address aTokenCollateral,
        address aTokenBorrowed,
        address liquidator,
        address borrower,
        uint seizeTokens) external;

    function transferAllowed(address aToken, address src, address dst, uint transferTokens) external returns (uint);
    function transferVerify(address aToken, address src, address dst, uint transferTokens) external;

    /*** Liquidity/Liquidation Calculations ***/

    function liquidateCalculateSeizeTokens(
        address aTokenBorrowed,
        address aTokenCollateral,
        uint repayAmount) external view returns (uint, uint);
}


contract ControllerErrorReporter {

    event Failure(uint error, uint info, uint detail);


    function fail(Error err, FailureInfo info) internal returns (uint) {
        emit Failure(uint(err), uint(info), 0);

        return uint(err);
    }

    function failOpaque(Error err, FailureInfo info, uint opaqueError) internal returns (uint) {
        emit Failure(uint(err), uint(info), opaqueError);

        return uint(err);
    }
    
    enum Error {
        NO_ERROR,
        UNAUTHORIZED,
        CONTROLLER_MISMATCH,
        INSUFFICIENT_SHORTFALL,
        INSUFFICIENT_LIQUIDITY,
        INVALID_CLOSE_FACTOR,
        INVALID_COLLATERAL_FACTOR,
        INVALID_LIQUIDATION_INCENTIVE,
        MARKET_NOT_ENTERED,
        MARKET_NOT_LISTED,
        MARKET_ALREADY_LISTED,
        MATH_ERROR,
        NONZERO_BORROW_BALANCE,
        PRICE_ERROR,
        REJECTION,
        SNAPSHOT_ERROR,
        TOO_MANY_ASSETS,
        TOO_MUCH_REPAY
    }

    enum FailureInfo {
        ACCEPT_ADMIN_PENDING_ADMIN_CHECK,
        ACCEPT_PENDING_IMPLEMENTATION_ADDRESS_CHECK,
        EXIT_MARKET_BALANCE_OWED,
        EXIT_MARKET_REJECTION,
        SET_CLOSE_FACTOR_OWNER_CHECK,
        SET_CLOSE_FACTOR_VALIDATION,
        SET_COLLATERAL_FACTOR_OWNER_CHECK,
        SET_COLLATERAL_FACTOR_NO_EXISTS,
        SET_COLLATERAL_FACTOR_VALIDATION,
        SET_COLLATERAL_FACTOR_WITHOUT_PRICE,
        SET_IMPLEMENTATION_OWNER_CHECK,
        SET_LIQUIDATION_INCENTIVE_OWNER_CHECK,
        SET_LIQUIDATION_INCENTIVE_VALIDATION,
        SET_MAX_ASSETS_OWNER_CHECK,
        SET_PENDING_ADMIN_OWNER_CHECK,
        SET_PENDING_IMPLEMENTATION_OWNER_CHECK,
        SET_PRICE_ORACLE_OWNER_CHECK,
        SUPPORT_MARKET_EXISTS,
        SUPPORT_MARKET_OWNER_CHECK,
        ZUNUSED
    }

    
}

contract TokenErrorReporter {

    event Failure(uint error, uint info, uint detail);

    function fail(Error err, FailureInfo info) internal returns (uint) {
        emit Failure(uint(err), uint(info), 0);

        return uint(err);
    }

    function failOpaque(Error err, FailureInfo info, uint opaqueError) internal returns (uint) {
        emit Failure(uint(err), uint(info), opaqueError);

        return uint(err);
    }
    
    enum Error {
        NO_ERROR,
        UNAUTHORIZED,
        BAD_INPUT,
        CONTROLLER_REJECTION,
        CONTROLLER_CALCULATION_ERROR,
        INTEREST_RATE_MODEL_ERROR,
        INVALID_ACCOUNT_PAIR,
        INVALID_CLOSE_AMOUNT_REQUESTED,
        INVALID_COLLATERAL_FACTOR,
        MATH_ERROR,
        MARKET_NOT_FRESH,
        MARKET_NOT_LISTED,
        TOKEN_INSUFFICIENT_ALLOWANCE,
        TOKEN_INSUFFICIENT_BALANCE,
        TOKEN_INSUFFICIENT_CASH,
        TOKEN_TRANSFER_IN_FAILED,
        TOKEN_TRANSFER_OUT_FAILED
    }


    enum FailureInfo {
        ACCEPT_ADMIN_PENDING_ADMIN_CHECK,
        ACCRUE_INTEREST_ACCUMULATED_INTEREST_CALCULATION_FAILED,
        ACCRUE_INTEREST_BORROW_RATE_CALCULATION_FAILED,
        ACCRUE_INTEREST_NEW_BORROW_INDEX_CALCULATION_FAILED,
        ACCRUE_INTEREST_NEW_TOTAL_BORROWS_CALCULATION_FAILED,
        ACCRUE_INTEREST_NEW_TOTAL_RESERVES_CALCULATION_FAILED,
        ACCRUE_INTEREST_SIMPLE_INTEREST_FACTOR_CALCULATION_FAILED,
        BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED,
        BORROW_ACCRUE_INTEREST_FAILED,
        BORROW_CASH_NOT_AVAILABLE,
        BORROW_FRESHNESS_CHECK,
        BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED,
        BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED,
        BORROW_MARKET_NOT_LISTED,
        BORROW_CONTROLLER_REJECTION,
        LIQUIDATE_ACCRUE_BORROW_INTEREST_FAILED,
        LIQUIDATE_ACCRUE_COLLATERAL_INTEREST_FAILED,
        LIQUIDATE_COLLATERAL_FRESHNESS_CHECK,
        LIQUIDATE_CONTROLLER_REJECTION,
        LIQUIDATE_CONTROLLER_CALCULATE_AMOUNT_SEIZE_FAILED,
        LIQUIDATE_CLOSE_AMOUNT_IS_UINT_MAX,
        LIQUIDATE_CLOSE_AMOUNT_IS_ZERO,
        LIQUIDATE_FRESHNESS_CHECK,
        LIQUIDATE_LIQUIDATOR_IS_BORROWER,
        LIQUIDATE_REPAY_BORROW_FRESH_FAILED,
        LIQUIDATE_SEIZE_BALANCE_INCREMENT_FAILED,
        LIQUIDATE_SEIZE_BALANCE_DECREMENT_FAILED,
        LIQUIDATE_SEIZE_CONTROLLER_REJECTION,
        LIQUIDATE_SEIZE_LIQUIDATOR_IS_BORROWER,
        LIQUIDATE_SEIZE_TOO_MUCH,
        MINT_ACCRUE_INTEREST_FAILED,
        MINT_CONTROLLER_REJECTION,
        MINT_EXCHANGE_CALCULATION_FAILED,
        MINT_EXCHANGE_RATE_READ_FAILED,
        MINT_FRESHNESS_CHECK,
        MINT_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED,
        MINT_NEW_TOTAL_SUPPLY_CALCULATION_FAILED,
        MINT_TRANSFER_IN_FAILED,
        MINT_TRANSFER_IN_NOT_POSSIBLE,
        REDEEM_ACCRUE_INTEREST_FAILED,
        REDEEM_CONTROLLER_REJECTION,
        REDEEM_EXCHANGE_TOKENS_CALCULATION_FAILED,
        REDEEM_EXCHANGE_AMOUNT_CALCULATION_FAILED,
        REDEEM_EXCHANGE_RATE_READ_FAILED,
        REDEEM_FRESHNESS_CHECK,
        REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED,
        REDEEM_NEW_TOTAL_SUPPLY_CALCULATION_FAILED,
        REDEEM_TRANSFER_OUT_NOT_POSSIBLE,
        REDUCE_RESERVES_ACCRUE_INTEREST_FAILED,
        REDUCE_RESERVES_ADMIN_CHECK,
        REDUCE_RESERVES_CASH_NOT_AVAILABLE,
        REDUCE_RESERVES_FRESH_CHECK,
        REDUCE_RESERVES_VALIDATION,
        REPAY_BEHALF_ACCRUE_INTEREST_FAILED,
        REPAY_BORROW_ACCRUE_INTEREST_FAILED,
        REPAY_BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED,
        REPAY_BORROW_CONTROLLER_REJECTION,
        REPAY_BORROW_FRESHNESS_CHECK,
        REPAY_BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED,
        REPAY_BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED,
        REPAY_BORROW_TRANSFER_IN_NOT_POSSIBLE,
        SET_COLLATERAL_FACTOR_OWNER_CHECK,
        SET_COLLATERAL_FACTOR_VALIDATION,
        SET_CONTROLLER_OWNER_CHECK,
        SET_INTEREST_RATE_MODEL_ACCRUE_INTEREST_FAILED,
        SET_INTEREST_RATE_MODEL_FRESH_CHECK,
        SET_INTEREST_RATE_MODEL_OWNER_CHECK,
        SET_MAX_ASSETS_OWNER_CHECK,
        SET_ORACLE_MARKET_NOT_LISTED,
        SET_PENDING_ADMIN_OWNER_CHECK,
        SET_RESERVE_FACTOR_ACCRUE_INTEREST_FAILED,
        SET_RESERVE_FACTOR_ADMIN_CHECK,
        SET_RESERVE_FACTOR_FRESH_CHECK,
        SET_RESERVE_FACTOR_BOUNDS_CHECK,
        TRANSFER_CONTROLLER_REJECTION,
        TRANSFER_NOT_ALLOWED,
        TRANSFER_NOT_ENOUGH,
        TRANSFER_TOO_MUCH
    }


}


contract Exponential is CarefulMath {
    uint constant expScale = 1e18;
    uint constant halfExpScale = expScale/2;
    uint constant mantissaOne = expScale;

    struct Exp {
        uint mantissa;
    }

    function getExp(uint num, uint denom) pure internal returns (MathError, Exp memory) {
        (MathError err0, uint scaledNumerator) = mulUInt(num, expScale);
        if (err0 != MathError.NO_ERROR) {
            return (err0, Exp({mantissa: 0}));
        }

        (MathError err1, uint rational) = divUInt(scaledNumerator, denom);
        if (err1 != MathError.NO_ERROR) {
            return (err1, Exp({mantissa: 0}));
        }

        return (MathError.NO_ERROR, Exp({mantissa: rational}));
    }

    function addExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) {
        (MathError error, uint result) = addUInt(a.mantissa, b.mantissa);

        return (error, Exp({mantissa: result}));
    }

    function subExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) {
        (MathError error, uint result) = subUInt(a.mantissa, b.mantissa);

        return (error, Exp({mantissa: result}));
    }

    function mulScalar(Exp memory a, uint scalar) pure internal returns (MathError, Exp memory) {
        (MathError err0, uint scaledMantissa) = mulUInt(a.mantissa, scalar);
        if (err0 != MathError.NO_ERROR) {
            return (err0, Exp({mantissa: 0}));
        }

        return (MathError.NO_ERROR, Exp({mantissa: scaledMantissa}));
    }

    function mulScalarTruncate(Exp memory a, uint scalar) pure internal returns (MathError, uint) {
        (MathError err, Exp memory product) = mulScalar(a, scalar);
        if (err != MathError.NO_ERROR) {
            return (err, 0);
        }

        return (MathError.NO_ERROR, truncate(product));
    }

    function mulScalarTruncateAddUInt(Exp memory a, uint scalar, uint addend) pure internal returns (MathError, uint) {
        (MathError err, Exp memory product) = mulScalar(a, scalar);
        if (err != MathError.NO_ERROR) {
            return (err, 0);
        }

        return addUInt(truncate(product), addend);
    }

    function divScalar(Exp memory a, uint scalar) pure internal returns (MathError, Exp memory) {
        (MathError err0, uint descaledMantissa) = divUInt(a.mantissa, scalar);
        if (err0 != MathError.NO_ERROR) {
            return (err0, Exp({mantissa: 0}));
        }

        return (MathError.NO_ERROR, Exp({mantissa: descaledMantissa}));
    }

    function divScalarByExp(uint scalar, Exp memory divisor) pure internal returns (MathError, Exp memory) {
        /*
          We are doing this as:
          getExp(mulUInt(expScale, scalar), divisor.mantissa)

          How it works:
          Exp = a / b;
          Scalar = s;
          `s / (a / b)` = `b * s / a` and since for an Exp `a = mantissa, b = expScale`
        */
        (MathError err0, uint numerator) = mulUInt(expScale, scalar);
        if (err0 != MathError.NO_ERROR) {
            return (err0, Exp({mantissa: 0}));
        }
        return getExp(numerator, divisor.mantissa);
    }

    function divScalarByExpTruncate(uint scalar, Exp memory divisor) pure internal returns (MathError, uint) {
        (MathError err, Exp memory fraction) = divScalarByExp(scalar, divisor);
        if (err != MathError.NO_ERROR) {
            return (err, 0);
        }

        return (MathError.NO_ERROR, truncate(fraction));
    }

    function mulExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) {

        (MathError err0, uint doubleScaledProduct) = mulUInt(a.mantissa, b.mantissa);
        if (err0 != MathError.NO_ERROR) {
            return (err0, Exp({mantissa: 0}));
        }

        // We add half the scale before dividing so that we get rounding instead of truncation.
        //  See "Listing 6" and text above it at https://accu.org/index.php/journals/1717
        // Without this change, a result like 6.6...e-19 will be truncated to 0 instead of being rounded to 1e-18.
        (MathError err1, uint doubleScaledProductWithHalfScale) = addUInt(halfExpScale, doubleScaledProduct);
        if (err1 != MathError.NO_ERROR) {
            return (err1, Exp({mantissa: 0}));
        }

        (MathError err2, uint product) = divUInt(doubleScaledProductWithHalfScale, expScale);
        // The only error `div` can return is MathError.DIVISION_BY_ZERO but we control `expScale` and it is not zero.
        assert(err2 == MathError.NO_ERROR);

        return (MathError.NO_ERROR, Exp({mantissa: product}));
    }

    function mulExp(uint a, uint b) pure internal returns (MathError, Exp memory) {
        return mulExp(Exp({mantissa: a}), Exp({mantissa: b}));
    }

    function mulExp3(Exp memory a, Exp memory b, Exp memory c) pure internal returns (MathError, Exp memory) {
        (MathError err, Exp memory ab) = mulExp(a, b);
        if (err != MathError.NO_ERROR) {
            return (err, ab);
        }
        return mulExp(ab, c);
    }

    function divExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) {
        return getExp(a.mantissa, b.mantissa);
    }

    function truncate(Exp memory exp) pure internal returns (uint) {
        // Note: We are not using careful math here as we're performing a division that cannot fail
        return exp.mantissa / expScale;
    }

    function lessThanExp(Exp memory left, Exp memory right) pure internal returns (bool) {
        return left.mantissa < right.mantissa; //TODO: Add some simple tests and this in another PR yo.
    }

    function lessThanOrEqualExp(Exp memory left, Exp memory right) pure internal returns (bool) {
        return left.mantissa <= right.mantissa;
    }

    function isZeroExp(Exp memory value) pure internal returns (bool) {
        return value.mantissa == 0;
    }
}

/**
 * @title ERC 20 Token Standard Interface
 *  https://eips.ethereum.org/EIPS/eip-20
 */
interface EIP20Interface {

    /**
      * @notice Get the total number of tokens in circulation
      * @return The supply of tokens
      */
    function totalSupply() external view returns (uint256);

    /**
     * @notice Gets the balance of the specified address
     * @param owner The address from which the balance will be retrieved
     * @return The balance
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
      * @notice Transfer `amount` tokens from `msg.sender` to `dst`
      * @param dst The address of the destination account
      * @param amount The number of tokens to transfer
      * @return Whether or not the transfer succeeded
      */
    function transfer(address dst, uint256 amount) external returns (bool success);

    /**
      * @notice Transfer `amount` tokens from `src` to `dst`
      * @param src The address of the source account
      * @param dst The address of the destination account
      * @param amount The number of tokens to transfer
      * @return Whether or not the transfer succeeded
      */
    function transferFrom(address src, address dst, uint256 amount) external returns (bool success);

    /**
      * @notice Approve `spender` to transfer up to `amount` from `src`
      * @dev This will overwrite the approval amount for `spender`
      *  and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
      * @param spender The address of the account which may transfer tokens
      * @param amount The number of tokens that are approved (-1 means infinite)
      * @return Whether or not the approval succeeded
      */
    function approve(address spender, uint256 amount) external returns (bool success);

    /**
      * @notice Get the current allowance from `owner` for `spender`
      * @param owner The address of the account which owns the tokens to be spent
      * @param spender The address of the account which may transfer tokens
      * @return The number of tokens allowed to be spent (-1 means infinite)
      */
    function allowance(address owner, address spender) external view returns (uint256 remaining);

    event Transfer(address indexed from, address indexed to, uint256 amount);
    event Approval(address indexed owner, address indexed spender, uint256 amount);
}


/**
 *  @title EIP20NonStandardInterface
 *  notice: Version of ERC20 with no return values for `transfer` and `transferFrom`
 *  See https://medium.com/coinmonks/missing-return-value-bug-at-least-130-tokens-affected-d67bf08521ca
 */
interface EIP20NonStandardInterface {

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256 balance);

    function transfer(address dst, uint256 amount) external;

    function transferFrom(address src, address dst, uint256 amount) external;

    function approve(address spender, uint256 amount) external returns (bool success);

    function allowance(address owner, address spender) external view returns (uint256 remaining);

    event Transfer(address indexed from, address indexed to, uint256 amount);
    event Approval(address indexed owner, address indexed spender, uint256 amount);
}


/**
 * @title Helps contracts guard against reentrancy attacks.
 * @author Remco Bloemen <remco@2π.com>, Eenae <[email protected]>
 * @dev If you mark a function `nonReentrant`, you should also
 * mark it `external`.
 */
contract ReentrancyGuard {
    /// @dev counter to allow mutex lock with only one SSTORE operation
    uint256 private _guardCounter;

    constructor () public {
        // The counter starts at one to prevent changing it from zero to a non-zero
        // value, which is a more expensive operation.
        _guardCounter = 1;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _guardCounter += 1;
        uint256 localCounter = _guardCounter;
        _;
        require(localCounter == _guardCounter, "re-entered");
    }
}


interface InterestRateModel {

    function getBorrowRate(uint cash, uint borrows, uint reserves) external view returns (uint, uint);

    function isInterestRateModel() external view returns (bool);
}


contract AToken is EIP20Interface, Exponential, TokenErrorReporter, ReentrancyGuard {
    /**
     * @notice Indicator that this is a AToken contract (for inspection)
     */
    bool public constant isAToken = true;

    /**
     * @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
     */
    uint public decimals;

    /**
     * @notice Maximum borrow rate that can ever be applied (.0005% / block)
     */
    uint constant borrowRateMaxMantissa = 5e14;

    /**
     * @notice Maximum fraction of interest that can be set aside for reserves
     */
    uint constant reserveFactorMaxMantissa = 1e18;

    /**
     * @notice Administrator for this contract
     */
    address payable public admin;

    /**
     * @notice Pending administrator for this contract
     */
    address payable public pendingAdmin;

    /**
     * @notice Contract which oversees inter-aToken operations
     */
    ControllerInterface public controller;

    /**
     * @notice Model which tells what the current interest rate should be
     */
    InterestRateModel public interestRateModel;

    /**
     * @notice Initial exchange rate used when minting the first ATokens (used when totalSupply = 0)
     */
    uint public initialExchangeRateMantissa;

    /**
     * @notice Fraction of interest currently set aside for reserves
     */
    uint public reserveFactorMantissa;

    /**
     * @notice Block number that interest was last accrued at
     */
    uint public accrualBlockNumber;

    /**
     * @notice Accumulator of total earned interest since the opening of the market
     */
    uint public borrowIndex;

    /**
     * @notice Total amount of outstanding borrows of the underlying in this market
     */
    uint public totalBorrows;

    /**
     * @notice Total amount of reserves of the underlying held in this market
     */
    uint public totalReserves;

    /**
     * @notice Total number of tokens in circulation
     */
    uint256 public totalSupply;

    /**
     * @notice Official record of token balances for each account
     */
    mapping (address => uint256) accountTokens;

    /**
     * @notice Approved token transfer amounts on behalf of others
     */
    mapping (address => mapping (address => uint256)) transferAllowances;

    /**
     * @notice Container for borrow balance information
     * @member principal Total balance (with accrued interest), after applying the most recent balance-changing action
     * @member interestIndex Global borrowIndex as of the most recent balance-changing action
     */
    struct BorrowSnapshot {
        uint principal;
        uint interestIndex;
    }

    /**
     * @notice Mapping of account addresses to outstanding borrow balances
     */
    mapping(address => BorrowSnapshot) accountBorrows;


    /*** Market Events ***/

    /**
     * @notice Event emitted when interest is accrued
     */
    event AccrueInterest(uint interestAccumulated, uint borrowIndex, uint totalBorrows);

    /**
     * @notice Event emitted when tokens are minted
     */
    event Mint(address minter, uint mintAmount, uint mintTokens);

    /**
     * @notice Event emitted when tokens are redeemed
     */
    event Redeem(address redeemer, uint redeemAmount, uint redeemTokens);

    /**
     * @notice Event emitted when underlying is borrowed
     */
    event Borrow(address borrower, uint borrowAmount, uint accountBorrows, uint totalBorrows);

    /**
     * @notice Event emitted when a borrow is repaid
     */
    event RepayBorrow(address payer, address borrower, uint repayAmount, uint accountBorrows, uint totalBorrows);

    /**
     * @notice Event emitted when a borrow is liquidated
     */
    event LiquidateBorrow(address liquidator, address borrower, uint repayAmount, address aTokenCollateral, uint seizeTokens);


    /*** Admin Events ***/

    /**
     * @notice Event emitted when pendingAdmin is changed
     */
    event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin);

    /**
     * @notice Event emitted when pendingAdmin is accepted, which means admin is updated
     */
    event NewAdmin(address oldAdmin, address newAdmin);

    /**
     * @notice Event emitted when controller is changed
     */
    event NewController(ControllerInterface oldController, ControllerInterface newController);

    /**
     * @notice Event emitted when interestRateModel is changed
     */
    event NewMarketInterestRateModel(InterestRateModel oldInterestRateModel, InterestRateModel newInterestRateModel);

    /**
     * @notice Event emitted when the reserve factor is changed
     */
    event NewReserveFactor(uint oldReserveFactorMantissa, uint newReserveFactorMantissa);

    /**
     * @notice Event emitted when the reserves are reduced
     */
    event ReservesReduced(address admin, uint reduceAmount, uint newTotalReserves);

    constructor( ) public { 
        admin = msg.sender;

        // Set initial exchange rate
        initialExchangeRateMantissa = uint(20000000000000000);

        // Initialize block number and borrow index (block number mocks depend on controller being set)
        accrualBlockNumber = getBlockNumber();
        borrowIndex = mantissaOne;

        name = string("Artem Wrapped BTC");
        symbol = string("aWBTC");
        decimals = uint(8);
    }

    function transferTokens(address spender, address src, address dst, uint tokens) internal returns (uint) {
        /* Fail if transfer not allowed */
        uint allowed = controller.transferAllowed(address(this), src, dst, tokens);
        if (allowed != 0) {
            return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.TRANSFER_CONTROLLER_REJECTION, allowed);
        }

        /* Do not allow self-transfers */
        if (src == dst) {
            return fail(Error.BAD_INPUT, FailureInfo.TRANSFER_NOT_ALLOWED);
        }

        /* Get the allowance, infinite for the account owner */
        uint startingAllowance = 0;
        if (spender == src) {
            startingAllowance = uint(-1);
        } else {
            startingAllowance = transferAllowances[src][spender];
        }

        /* Do the calculations, checking for {under,over}flow */
        MathError mathErr;
        uint allowanceNew;
        uint srcTokensNew;
        uint dstTokensNew;

        (mathErr, allowanceNew) = subUInt(startingAllowance, tokens);
        if (mathErr != MathError.NO_ERROR) {
            return fail(Error.MATH_ERROR, FailureInfo.TRANSFER_NOT_ALLOWED);
        }

        (mathErr, srcTokensNew) = subUInt(accountTokens[src], tokens);
        if (mathErr != MathError.NO_ERROR) {
            return fail(Error.MATH_ERROR, FailureInfo.TRANSFER_NOT_ENOUGH);
        }

        (mathErr, dstTokensNew) = addUInt(accountTokens[dst], tokens);
        if (mathErr != MathError.NO_ERROR) {
            return fail(Error.MATH_ERROR, FailureInfo.TRANSFER_TOO_MUCH);
        }

        /////////////////////////
        // EFFECTS & INTERACTIONS
        // (No safe failures beyond this point)

        accountTokens[src] = srcTokensNew;
        accountTokens[dst] = dstTokensNew;

        /* Eat some of the allowance (if necessary) */
        if (startingAllowance != uint(-1)) {
            transferAllowances[src][spender] = allowanceNew;
        }

        /* We emit a Transfer event */
        emit Transfer(src, dst, tokens);

        /* We call the defense hook (which checks for under-collateralization) */
        controller.transferVerify(address(this), src, dst, tokens);

        return uint(Error.NO_ERROR);
    }

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint256 amount) external nonReentrant returns (bool) {
        return transferTokens(msg.sender, msg.sender, dst, amount) == uint(Error.NO_ERROR);
    }

    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address src, address dst, uint256 amount) external nonReentrant returns (bool) {
        return transferTokens(msg.sender, src, dst, amount) == uint(Error.NO_ERROR);
    }

    /**
     * @notice Approve `spender` to transfer up to `amount` from `src`
     * @dev This will overwrite the approval amount for `spender`
     *  and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
     * @param spender The address of the account which may transfer tokens
     * @param amount The number of tokens that are approved (-1 means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(address spender, uint256 amount) external returns (bool) {
        address src = msg.sender;
        transferAllowances[src][spender] = amount;
        emit Approval(src, spender, amount);
        return true;
    }

    /**
     * @notice Get the current allowance from `owner` for `spender`
     * @param owner The address of the account which owns the tokens to be spent
     * @param spender The address of the account which may transfer tokens
     * @return The number of tokens allowed to be spent (-1 means infinite)
     */
    function allowance(address owner, address spender) external view returns (uint256) {
        return transferAllowances[owner][spender];
    }

    /**
     * @notice Get the token balance of the `owner`
     * @param owner The address of the account to query
     * @return The number of tokens owned by `owner`
     */
    function balanceOf(address owner) external view returns (uint256) {
        return accountTokens[owner];
    }

    /**
     * @notice Get the underlying balance of the `owner`
     * @dev This also accrues interest in a transaction
     * @param owner The address of the account to query
     * @return The amount of underlying owned by `owner`
     */
    function balanceOfUnderlying(address owner) external returns (uint) {
        Exp memory exchangeRate = Exp({mantissa: exchangeRateCurrent()});
        (MathError mErr, uint balance) = mulScalarTruncate(exchangeRate, accountTokens[owner]);
        require(mErr == MathError.NO_ERROR);
        return balance;
    }

    /**
     * @notice Get a snapshot of the account's balances, and the cached exchange rate
     * @dev This is used by controller to more efficiently perform liquidity checks.
     * @param account Address of the account to snapshot
     * @return (possible error, token balance, borrow balance, exchange rate mantissa)
     */
    function getAccountSnapshot(address account) external view returns (uint, uint, uint, uint) {
        uint aTokenBalance = accountTokens[account];
        uint borrowBalance;
        uint exchangeRateMantissa;

        MathError mErr;

        (mErr, borrowBalance) = borrowBalanceStoredInternal(account);
        if (mErr != MathError.NO_ERROR) {
            return (uint(Error.MATH_ERROR), 0, 0, 0);
        }

        (mErr, exchangeRateMantissa) = exchangeRateStoredInternal();
        if (mErr != MathError.NO_ERROR) {
            return (uint(Error.MATH_ERROR), 0, 0, 0);
        }

        return (uint(Error.NO_ERROR), aTokenBalance, borrowBalance, exchangeRateMantissa);
    }

    /**
     * @dev Function to simply retrieve block number
     *  This exists mainly for inheriting test contracts to stub this result.
     */
    function getBlockNumber() internal view returns (uint) {
        return block.number;
    }

    /**
     * @notice Returns the current per-block borrow interest rate for this aToken
     * @return The borrow interest rate per block, scaled by 1e18
     */
    function borrowRatePerBlock() external view returns (uint) {
        (uint opaqueErr, uint borrowRateMantissa) = interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves);
        require(opaqueErr == 0, "borrowRatePerBlock: interestRateModel.borrowRate failed"); // semi-opaque
        return borrowRateMantissa;
    }

    /**
     * @notice Returns the current per-block supply interest rate for this aToken
     * @return The supply interest rate per block, scaled by 1e18
     */
    function supplyRatePerBlock() external view returns (uint) {
        /* We calculate the supply rate:
         *  underlying = totalSupply × exchangeRate
         *  borrowsPer = totalBorrows ÷ underlying
         *  supplyRate = borrowRate × (1-reserveFactor) × borrowsPer
         */
        uint exchangeRateMantissa = exchangeRateStored();

        (uint e0, uint borrowRateMantissa) = interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves);
        require(e0 == 0, "supplyRatePerBlock: calculating borrowRate failed"); // semi-opaque

        (MathError e1, Exp memory underlying) = mulScalar(Exp({mantissa: exchangeRateMantissa}), totalSupply);
        require(e1 == MathError.NO_ERROR, "supplyRatePerBlock: calculating underlying failed");

        (MathError e2, Exp memory borrowsPer) = divScalarByExp(totalBorrows, underlying);
        require(e2 == MathError.NO_ERROR, "supplyRatePerBlock: calculating borrowsPer failed");

        (MathError e3, Exp memory oneMinusReserveFactor) = subExp(Exp({mantissa: mantissaOne}), Exp({mantissa: reserveFactorMantissa}));
        require(e3 == MathError.NO_ERROR, "supplyRatePerBlock: calculating oneMinusReserveFactor failed");

        (MathError e4, Exp memory supplyRate) = mulExp3(Exp({mantissa: borrowRateMantissa}), oneMinusReserveFactor, borrowsPer);
        require(e4 == MathError.NO_ERROR, "supplyRatePerBlock: calculating supplyRate failed");

        return supplyRate.mantissa;
    }

    /**
     * @notice Returns the current total borrows plus accrued interest
     * @return The total borrows with interest
     */
    function totalBorrowsCurrent() external nonReentrant returns (uint) {
        require(accrueInterest() == uint(Error.NO_ERROR), "accrue interest failed");
        return totalBorrows;
    }

    /**
     * @notice Accrue interest to updated borrowIndex and then calculate account's borrow balance using the updated borrowIndex
     * @param account The address whose balance should be calculated after updating borrowIndex
     * @return The calculated balance
     */
    function borrowBalanceCurrent(address account) external nonReentrant returns (uint) {
        require(accrueInterest() == uint(Error.NO_ERROR), "accrue interest failed");
        return borrowBalanceStored(account);
    }

    /**
     * @notice Return the borrow balance of account based on stored data
     * @param account The address whose balance should be calculated
     * @return The calculated balance
     */
    function borrowBalanceStored(address account) public view returns (uint) {
        (MathError err, uint result) = borrowBalanceStoredInternal(account);
        require(err == MathError.NO_ERROR, "borrowBalanceStored: borrowBalanceStoredInternal failed");
        return result;
    }

    /**
     * @notice Return the borrow balance of account based on stored data
     * @param account The address whose balance should be calculated
     * @return (error code, the calculated balance or 0 if error code is non-zero)
     */
    function borrowBalanceStoredInternal(address account) internal view returns (MathError, uint) {
        /* Note: we do not assert that the market is up to date */
        MathError mathErr;
        uint principalTimesIndex;
        uint result;

        /* Get borrowBalance and borrowIndex */
        BorrowSnapshot storage borrowSnapshot = accountBorrows[account];

        /* If borrowBalance = 0 then borrowIndex is likely also 0.
         * Rather than failing the calculation with a division by 0, we immediately return 0 in this case.
         */
        if (borrowSnapshot.principal == 0) {
            return (MathError.NO_ERROR, 0);
        }

        /* Calculate new borrow balance using the interest index:
         *  recentBorrowBalance = borrower.borrowBalance * market.borrowIndex / borrower.borrowIndex
         */
        (mathErr, principalTimesIndex) = mulUInt(borrowSnapshot.principal, borrowIndex);
        if (mathErr != MathError.NO_ERROR) {
            return (mathErr, 0);
        }

        (mathErr, result) = divUInt(principalTimesIndex, borrowSnapshot.interestIndex);
        if (mathErr != MathError.NO_ERROR) {
            return (mathErr, 0);
        }

        return (MathError.NO_ERROR, result);
    }

    /**
     * @notice Accrue interest then return the up-to-date exchange rate
     * @return Calculated exchange rate scaled by 1e18
     */
    function exchangeRateCurrent() public nonReentrant returns (uint) {
        require(accrueInterest() == uint(Error.NO_ERROR), "accrue interest failed");
        return exchangeRateStored();
    }

    /**
     * @notice Calculates the exchange rate from the underlying to the AToken
     * @dev This function does not accrue interest before calculating the exchange rate
     * @return Calculated exchange rate scaled by 1e18
     */
    function exchangeRateStored() public view returns (uint) {
        (MathError err, uint result) = exchangeRateStoredInternal();
        require(err == MathError.NO_ERROR, "exchangeRateStored: exchangeRateStoredInternal failed");
        return result;
    }

    /**
     * @notice Calculates the exchange rate from the underlying to the AToken
     * @dev This function does not accrue interest before calculating the exchange rate
     * @return (error code, calculated exchange rate scaled by 1e18)
     */
    function exchangeRateStoredInternal() internal view returns (MathError, uint) {
        if (totalSupply == 0) {
            /*
             * If there are no tokens minted:
             *  exchangeRate = initialExchangeRate
             */
            return (MathError.NO_ERROR, initialExchangeRateMantissa);
        } else {
            /*
             * Otherwise:
             *  exchangeRate = (totalCash + totalBorrows - totalReserves) / totalSupply
             */
            uint totalCash = getCashPrior();
            uint cashPlusBorrowsMinusReserves;
            Exp memory exchangeRate;
            MathError mathErr;

            (mathErr, cashPlusBorrowsMinusReserves) = addThenSubUInt(totalCash, totalBorrows, totalReserves);
            if (mathErr != MathError.NO_ERROR) {
                return (mathErr, 0);
            }

            (mathErr, exchangeRate) = getExp(cashPlusBorrowsMinusReserves, totalSupply);
            if (mathErr != MathError.NO_ERROR) {
                return (mathErr, 0);
            }

            return (MathError.NO_ERROR, exchangeRate.mantissa);
        }
    }

    /**
     * @notice Get cash balance of this aToken in the underlying asset
     * @return The quantity of underlying asset owned by this contract
     */
    function getCash() external view returns (uint) {
        return getCashPrior();
    }

    struct AccrueInterestLocalVars {
        MathError mathErr;
        uint opaqueErr;
        uint borrowRateMantissa;
        uint currentBlockNumber;
        uint blockDelta;

        Exp simpleInterestFactor;

        uint interestAccumulated;
        uint totalBorrowsNew;
        uint totalReservesNew;
        uint borrowIndexNew;
    }
    
    
    /**
      * @notice Applies accrued interest to total borrows and reserves.
      * @dev This calculates interest accrued from the last checkpointed block
      *      up to the current block and writes new checkpoint to storage.
      */
    function accrueInterest() public returns (uint) {
        AccrueInterestLocalVars memory vars;

        /* Calculate the current borrow interest rate */
        (vars.opaqueErr, vars.borrowRateMantissa) = interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves);

        require(vars.borrowRateMantissa <= borrowRateMaxMantissa, "borrow rate is absurdly high");
        if (vars.opaqueErr != 0) {
            return failOpaque(Error.INTEREST_RATE_MODEL_ERROR, FailureInfo.ACCRUE_INTEREST_BORROW_RATE_CALCULATION_FAILED, vars.opaqueErr);
        }

        /* Remember the initial block number */
        vars.currentBlockNumber = getBlockNumber();

        /* Calculate the number of blocks elapsed since the last accrual */
        (vars.mathErr, vars.blockDelta) = subUInt(vars.currentBlockNumber, accrualBlockNumber);
        assert(vars.mathErr == MathError.NO_ERROR); // Block delta should always succeed and if it doesn't, blow up.

        /*
         * Calculate the interest accumulated into borrows and reserves and the new index:
         *  simpleInterestFactor = borrowRate * blockDelta
         *  interestAccumulated = simpleInterestFactor * totalBorrows
         *  totalBorrowsNew = interestAccumulated + totalBorrows
         *  totalReservesNew = interestAccumulated * reserveFactor + totalReserves
         *  borrowIndexNew = simpleInterestFactor * borrowIndex + borrowIndex
         */
        (vars.mathErr, vars.simpleInterestFactor) = mulScalar(Exp({mantissa: vars.borrowRateMantissa}), vars.blockDelta);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_SIMPLE_INTEREST_FACTOR_CALCULATION_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.interestAccumulated) = mulScalarTruncate(vars.simpleInterestFactor, totalBorrows);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_ACCUMULATED_INTEREST_CALCULATION_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.totalBorrowsNew) = addUInt(vars.interestAccumulated, totalBorrows);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_NEW_TOTAL_BORROWS_CALCULATION_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.totalReservesNew) = mulScalarTruncateAddUInt(Exp({mantissa: reserveFactorMantissa}), vars.interestAccumulated, totalReserves);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_NEW_TOTAL_RESERVES_CALCULATION_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.borrowIndexNew) = mulScalarTruncateAddUInt(vars.simpleInterestFactor, borrowIndex, borrowIndex);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_NEW_BORROW_INDEX_CALCULATION_FAILED, uint(vars.mathErr));
        }

        /////////////////////////
        // EFFECTS & INTERACTIONS
        // (No safe failures beyond this point)

        /* We write the previously calculated values into storage */
        accrualBlockNumber = vars.currentBlockNumber;
        borrowIndex = vars.borrowIndexNew;
        totalBorrows = vars.totalBorrowsNew;
        totalReserves = vars.totalReservesNew;

        /* We emit an AccrueInterest event */
        emit AccrueInterest(vars.interestAccumulated, vars.borrowIndexNew, totalBorrows);

        return uint(Error.NO_ERROR);
    }

    /**
     * @notice Sender supplies assets into the market and receives aTokens in exchange
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param mintAmount The amount of the underlying asset to supply
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function mintInternal(uint mintAmount) internal nonReentrant returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed
            return fail(Error(error), FailureInfo.MINT_ACCRUE_INTEREST_FAILED);
        }
        // mintFresh emits the actual Mint event if successful and logs on errors, so we don't need to
        return mintFresh(msg.sender, mintAmount);
    }

    struct MintLocalVars {
        Error err;
        MathError mathErr;
        uint exchangeRateMantissa;
        uint mintTokens;
        uint totalSupplyNew;
        uint accountTokensNew;
    }
    
    /**
     * @notice User supplies assets into the market and receives aTokens in exchange
     * @dev Assumes interest has already been accrued up to the current block
     * @param minter The address of the account which is supplying the assets
     * @param mintAmount The amount of the underlying asset to supply
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function mintFresh(address minter, uint mintAmount) internal returns (uint) {
        /* Fail if mint not allowed */
        uint allowed = controller.mintAllowed(address(this), minter, mintAmount);
        if (allowed != 0) {
            return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.MINT_CONTROLLER_REJECTION, allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.MINT_FRESHNESS_CHECK);
        }

        MintLocalVars memory vars;

        /* Fail if checkTransferIn fails */
        vars.err = checkTransferIn(minter, mintAmount);
        if (vars.err != Error.NO_ERROR) {
            return fail(vars.err, FailureInfo.MINT_TRANSFER_IN_NOT_POSSIBLE);
        }

        /*
         * We get the current exchange rate and calculate the number of aTokens to be minted:
         *  mintTokens = mintAmount / exchangeRate
         */
        (vars.mathErr, vars.exchangeRateMantissa) = exchangeRateStoredInternal();
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.MINT_EXCHANGE_RATE_READ_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.mintTokens) = divScalarByExpTruncate(mintAmount, Exp({mantissa: vars.exchangeRateMantissa}));
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.MINT_EXCHANGE_CALCULATION_FAILED, uint(vars.mathErr));
        }

        /*
         * We calculate the new total supply of aTokens and minter token balance, checking for overflow:
         *  totalSupplyNew = totalSupply + mintTokens
         *  accountTokensNew = accountTokens[minter] + mintTokens
         */
        (vars.mathErr, vars.totalSupplyNew) = addUInt(totalSupply, vars.mintTokens);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.MINT_NEW_TOTAL_SUPPLY_CALCULATION_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.accountTokensNew) = addUInt(accountTokens[minter], vars.mintTokens);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.MINT_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
        }

        /////////////////////////
        // EFFECTS & INTERACTIONS
        // (No safe failures beyond this point)

        /*
         * We call doTransferIn for the minter and the mintAmount
         *  Note: The aToken must handle variations between ERC-20 and ETH underlying.
         *  On success, the aToken holds an additional mintAmount of cash.
         *  If doTransferIn fails despite the fact we checked pre-conditions,
         *   we revert because we can't be sure if side effects occurred.
         */
        vars.err = doTransferIn(minter, mintAmount);
        if (vars.err != Error.NO_ERROR) {
            return fail(vars.err, FailureInfo.MINT_TRANSFER_IN_FAILED);
        }

        /* We write previously calculated values into storage */
        totalSupply = vars.totalSupplyNew;
        accountTokens[minter] = vars.accountTokensNew;

        /* We emit a Mint event, and a Transfer event */
        emit Mint(minter, mintAmount, vars.mintTokens);
        emit Transfer(address(this), minter, vars.mintTokens);

        /* We call the defense hook */
        controller.mintVerify(address(this), minter, mintAmount, vars.mintTokens);

        return uint(Error.NO_ERROR);
    }

    /**
     * @notice Sender redeems aTokens in exchange for the underlying asset
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param redeemTokens The number of aTokens to redeem into underlying
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function redeemInternal(uint redeemTokens) internal nonReentrant returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but we still want to log the fact that an attempted redeem failed
            return fail(Error(error), FailureInfo.REDEEM_ACCRUE_INTEREST_FAILED);
        }
        // redeemFresh emits redeem-specific logs on errors, so we don't need to
        return redeemFresh(msg.sender, redeemTokens, 0);
    }

    /**
     * @notice Sender redeems aTokens in exchange for a specified amount of underlying asset
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param redeemAmount The amount of underlying to redeem
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function redeemUnderlyingInternal(uint redeemAmount) internal nonReentrant returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but we still want to log the fact that an attempted redeem failed
            return fail(Error(error), FailureInfo.REDEEM_ACCRUE_INTEREST_FAILED);
        }
        // redeemFresh emits redeem-specific logs on errors, so we don't need to
        return redeemFresh(msg.sender, 0, redeemAmount);
    }

    struct RedeemLocalVars {
        Error err;
        MathError mathErr;
        uint exchangeRateMantissa;
        uint redeemTokens;
        uint redeemAmount;
        uint totalSupplyNew;
        uint accountTokensNew;
    }

    /**
     * @notice User redeems aTokens in exchange for the underlying asset
     * @dev Assumes interest has already been accrued up to the current block
     * @param redeemer The address of the account which is redeeming the tokens
     * @param redeemTokensIn The number of aTokens to redeem into underlying (only one of redeemTokensIn or redeemAmountIn may be zero)
     * @param redeemAmountIn The number of aTokens to redeem into underlying (only one of redeemTokensIn or redeemAmountIn may be zero)
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function redeemFresh(address payable redeemer, uint redeemTokensIn, uint redeemAmountIn) internal returns (uint) {
        require(redeemTokensIn == 0 || redeemAmountIn == 0, "one of redeemTokensIn or redeemAmountIn must be zero");

        RedeemLocalVars memory vars;

        /* exchangeRate = invoke Exchange Rate Stored() */
        (vars.mathErr, vars.exchangeRateMantissa) = exchangeRateStoredInternal();
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_EXCHANGE_RATE_READ_FAILED, uint(vars.mathErr));
        }

        /* If redeemTokensIn > 0: */
        if (redeemTokensIn > 0) {
            /*
             * We calculate the exchange rate and the amount of underlying to be redeemed:
             *  redeemTokens = redeemTokensIn
             *  redeemAmount = redeemTokensIn x exchangeRateCurrent
             */
            vars.redeemTokens = redeemTokensIn;

            (vars.mathErr, vars.redeemAmount) = mulScalarTruncate(Exp({mantissa: vars.exchangeRateMantissa}), redeemTokensIn);
            if (vars.mathErr != MathError.NO_ERROR) {
                return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_EXCHANGE_TOKENS_CALCULATION_FAILED, uint(vars.mathErr));
            }
        } else {
            /*
             * We get the current exchange rate and calculate the amount to be redeemed:
             *  redeemTokens = redeemAmountIn / exchangeRate
             *  redeemAmount = redeemAmountIn
             */

            (vars.mathErr, vars.redeemTokens) = divScalarByExpTruncate(redeemAmountIn, Exp({mantissa: vars.exchangeRateMantissa}));
            if (vars.mathErr != MathError.NO_ERROR) {
                return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_EXCHANGE_AMOUNT_CALCULATION_FAILED, uint(vars.mathErr));
            }

            vars.redeemAmount = redeemAmountIn;
        }

        /* Fail if redeem not allowed */
        uint allowed = controller.redeemAllowed(address(this), redeemer, vars.redeemTokens);
        if (allowed != 0) {
            return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.REDEEM_CONTROLLER_REJECTION, allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.REDEEM_FRESHNESS_CHECK);
        }

        /*
         * We calculate the new total supply and redeemer balance, checking for underflow:
         *  totalSupplyNew = totalSupply - redeemTokens
         *  accountTokensNew = accountTokens[redeemer] - redeemTokens
         */
        (vars.mathErr, vars.totalSupplyNew) = subUInt(totalSupply, vars.redeemTokens);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_NEW_TOTAL_SUPPLY_CALCULATION_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.accountTokensNew) = subUInt(accountTokens[redeemer], vars.redeemTokens);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
        }

        /* Fail gracefully if protocol has insufficient cash */
        if (getCashPrior() < vars.redeemAmount) {
            return fail(Error.TOKEN_INSUFFICIENT_CASH, FailureInfo.REDEEM_TRANSFER_OUT_NOT_POSSIBLE);
        }

        /////////////////////////
        // EFFECTS & INTERACTIONS
        // (No safe failures beyond this point)

        /*
         * We invoke doTransferOut for the redeemer and the redeemAmount.
         *  Note: The aToken must handle variations between ERC-20 and ETH underlying.
         *  On success, the aToken has redeemAmount less of cash.
         *  If doTransferOut fails despite the fact we checked pre-conditions,
         *   we revert because we can't be sure if side effects occurred.
         */
        vars.err = doTransferOut(redeemer, vars.redeemAmount);
        require(vars.err == Error.NO_ERROR, "redeem transfer out failed");

        /* We write previously calculated values into storage */
        totalSupply = vars.totalSupplyNew;
        accountTokens[redeemer] = vars.accountTokensNew;

        /* We emit a Transfer event, and a Redeem event */
        emit Transfer(redeemer, address(this), vars.redeemTokens);
        emit Redeem(redeemer, vars.redeemAmount, vars.redeemTokens);

        /* We call the defense hook */
        controller.redeemVerify(address(this), redeemer, vars.redeemAmount, vars.redeemTokens);

        return uint(Error.NO_ERROR);
    }

    /**
      * @notice Sender borrows assets from the protocol to their own address
      * @param borrowAmount The amount of the underlying asset to borrow
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function borrowInternal(uint borrowAmount) internal nonReentrant returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed
            return fail(Error(error), FailureInfo.BORROW_ACCRUE_INTEREST_FAILED);
        }
        // borrowFresh emits borrow-specific logs on errors, so we don't need to
        return borrowFresh(msg.sender, borrowAmount);
    }

    struct BorrowLocalVars {
        Error err;
        MathError mathErr;
        uint accountBorrows;
        uint accountBorrowsNew;
        uint totalBorrowsNew;
    }

    /**
      * @notice Users borrow assets from the protocol to their own address
      * @param borrowAmount The amount of the underlying asset to borrow
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function borrowFresh(address payable borrower, uint borrowAmount) internal returns (uint) {
        /* Fail if borrow not allowed */
        uint allowed = controller.borrowAllowed(address(this), borrower, borrowAmount);
        if (allowed != 0) {
            return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.BORROW_CONTROLLER_REJECTION, allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.BORROW_FRESHNESS_CHECK);
        }

        /* Fail gracefully if protocol has insufficient underlying cash */
        if (getCashPrior() < borrowAmount) {
            return fail(Error.TOKEN_INSUFFICIENT_CASH, FailureInfo.BORROW_CASH_NOT_AVAILABLE);
        }

        BorrowLocalVars memory vars;

        /*
         * We calculate the new borrower and total borrow balances, failing on overflow:
         *  accountBorrowsNew = accountBorrows + borrowAmount
         *  totalBorrowsNew = totalBorrows + borrowAmount
         */
        (vars.mathErr, vars.accountBorrows) = borrowBalanceStoredInternal(borrower);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.accountBorrowsNew) = addUInt(vars.accountBorrows, borrowAmount);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.totalBorrowsNew) = addUInt(totalBorrows, borrowAmount);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
        }

        /////////////////////////
        // EFFECTS & INTERACTIONS
        // (No safe failures beyond this point)

        /*
         * We invoke doTransferOut for the borrower and the borrowAmount.
         *  Note: The aToken must handle variations between ERC-20 and ETH underlying.
         *  On success, the aToken borrowAmount less of cash.
         *  If doTransferOut fails despite the fact we checked pre-conditions,
         *   we revert because we can't be sure if side effects occurred.
         */
        vars.err = doTransferOut(borrower, borrowAmount);
        require(vars.err == Error.NO_ERROR, "borrow transfer out failed");

        /* We write the previously calculated values into storage */
        accountBorrows[borrower].principal = vars.accountBorrowsNew;
        accountBorrows[borrower].interestIndex = borrowIndex;
        totalBorrows = vars.totalBorrowsNew;

        /* We emit a Borrow event */
        emit Borrow(borrower, borrowAmount, vars.accountBorrowsNew, vars.totalBorrowsNew);

        /* We call the defense hook */
        controller.borrowVerify(address(this), borrower, borrowAmount);

        return uint(Error.NO_ERROR);
    }

    /**
     * @notice Sender repays their own borrow
     * @param repayAmount The amount to repay
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function repayBorrowInternal(uint repayAmount) internal nonReentrant returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed
            return fail(Error(error), FailureInfo.REPAY_BORROW_ACCRUE_INTEREST_FAILED);
        }
        // repayBorrowFresh emits repay-borrow-specific logs on errors, so we don't need to
        return repayBorrowFresh(msg.sender, msg.sender, repayAmount);
    }

    /**
     * @notice Sender repays a borrow belonging to borrower
     * @param borrower the account with the debt being payed off
     * @param repayAmount The amount to repay
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function repayBorrowBehalfInternal(address borrower, uint repayAmount) internal nonReentrant returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed
            return fail(Error(error), FailureInfo.REPAY_BEHALF_ACCRUE_INTEREST_FAILED);
        }
        // repayBorrowFresh emits repay-borrow-specific logs on errors, so we don't need to
        return repayBorrowFresh(msg.sender, borrower, repayAmount);
    }

    struct RepayBorrowLocalVars {
        Error err;
        MathError mathErr;
        uint repayAmount;
        uint borrowerIndex;
        uint accountBorrows;
        uint accountBorrowsNew;
        uint totalBorrowsNew;
    }

    /**
     * @notice Borrows are repaid by another user (possibly the borrower).
     * @param payer the account paying off the borrow
     * @param borrower the account with the debt being payed off
     * @param repayAmount the amount of undelrying tokens being returned
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function repayBorrowFresh(address payer, address borrower, uint repayAmount) internal returns (uint) {
        /* Fail if repayBorrow not allowed */
        uint allowed = controller.repayBorrowAllowed(address(this), payer, borrower, repayAmount);
        if (allowed != 0) {
            return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.REPAY_BORROW_CONTROLLER_REJECTION, allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.REPAY_BORROW_FRESHNESS_CHECK);
        }

        RepayBorrowLocalVars memory vars;

        /* We remember the original borrowerIndex for verification purposes */
        vars.borrowerIndex = accountBorrows[borrower].interestIndex;

        /* We fetch the amount the borrower owes, with accumulated interest */
        (vars.mathErr, vars.accountBorrows) = borrowBalanceStoredInternal(borrower);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.REPAY_BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
        }

        /* If repayAmount == -1, repayAmount = accountBorrows */
        if (repayAmount == uint(-1)) {
            vars.repayAmount = vars.accountBorrows;
        } else {
            vars.repayAmount = repayAmount;
        }

        /* Fail if checkTransferIn fails */
        vars.err = checkTransferIn(payer, vars.repayAmount);
        if (vars.err != Error.NO_ERROR) {
            return fail(vars.err, FailureInfo.REPAY_BORROW_TRANSFER_IN_NOT_POSSIBLE);
        }

        /*
         * We calculate the new borrower and total borrow balances, failing on underflow:
         *  accountBorrowsNew = accountBorrows - repayAmount
         *  totalBorrowsNew = totalBorrows - repayAmount
         */
        (vars.mathErr, vars.accountBorrowsNew) = subUInt(vars.accountBorrows, vars.repayAmount);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.REPAY_BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
        }

        (vars.mathErr, vars.totalBorrowsNew) = subUInt(totalBorrows, vars.repayAmount);
        if (vars.mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.REPAY_BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
        }

        /////////////////////////
        // EFFECTS & INTERACTIONS
        // (No safe failures beyond this point)

        /*
         * We call doTransferIn for the payer and the repayAmount
         *  Note: The aToken must handle variations between ERC-20 and ETH underlying.
         *  On success, the aToken holds an additional repayAmount of cash.
         *  If doTransferIn fails despite the fact we checked pre-conditions,
         *   we revert because we can't be sure if side effects occurred.
         */
        vars.err = doTransferIn(payer, vars.repayAmount);
        require(vars.err == Error.NO_ERROR, "repay borrow transfer in failed");

        /* We write the previously calculated values into storage */
        accountBorrows[borrower].principal = vars.accountBorrowsNew;
        accountBorrows[borrower].interestIndex = borrowIndex;
        totalBorrows = vars.totalBorrowsNew;

        /* We emit a RepayBorrow event */
        emit RepayBorrow(payer, borrower, vars.repayAmount, vars.accountBorrowsNew, vars.totalBorrowsNew);

        /* We call the defense hook */
        controller.repayBorrowVerify(address(this), payer, borrower, vars.repayAmount, vars.borrowerIndex);

        return uint(Error.NO_ERROR);
    }

    /**
     * @notice The sender liquidates the borrowers collateral.
     *  The collateral seized is transferred to the liquidator.
     * @param borrower The borrower of this aToken to be liquidated
     * @param aTokenCollateral The market in which to seize collateral from the borrower
     * @param repayAmount The amount of the underlying borrowed asset to repay
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function liquidateBorrowInternal(address borrower, uint repayAmount, AToken aTokenCollateral) internal nonReentrant returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but we still want to log the fact that an attempted liquidation failed
            return fail(Error(error), FailureInfo.LIQUIDATE_ACCRUE_BORROW_INTEREST_FAILED);
        }

        error = aTokenCollateral.accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but we still want to log the fact that an attempted liquidation failed
            return fail(Error(error), FailureInfo.LIQUIDATE_ACCRUE_COLLATERAL_INTEREST_FAILED);
        }

        // liquidateBorrowFresh emits borrow-specific logs on errors, so we don't need to
        return liquidateBorrowFresh(msg.sender, borrower, repayAmount, aTokenCollateral);
    }

    /**
     * @notice The liquidator liquidates the borrowers collateral.
     *  The collateral seized is transferred to the liquidator.
     * @param borrower The borrower of this aToken to be liquidated
     * @param liquidator The address repaying the borrow and seizing collateral
     * @param aTokenCollateral The market in which to seize collateral from the borrower
     * @param repayAmount The amount of the underlying borrowed asset to repay
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function liquidateBorrowFresh(address liquidator, address borrower, uint repayAmount, AToken aTokenCollateral) internal returns (uint) {
        /* Fail if liquidate not allowed */
        uint allowed = controller.liquidateBorrowAllowed(address(this), address(aTokenCollateral), liquidator, borrower, repayAmount);
        if (allowed != 0) {
            return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.LIQUIDATE_CONTROLLER_REJECTION, allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.LIQUIDATE_FRESHNESS_CHECK);
        }

        /* Verify aTokenCollateral market's block number equals current block number */
        if (aTokenCollateral.accrualBlockNumber() != getBlockNumber()) {
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.LIQUIDATE_COLLATERAL_FRESHNESS_CHECK);
        }

        /* Fail if borrower = liquidator */
        if (borrower == liquidator) {
            return fail(Error.INVALID_ACCOUNT_PAIR, FailureInfo.LIQUIDATE_LIQUIDATOR_IS_BORROWER);
        }

        /* Fail if repayAmount = 0 */
        if (repayAmount == 0) {
            return fail(Error.INVALID_CLOSE_AMOUNT_REQUESTED, FailureInfo.LIQUIDATE_CLOSE_AMOUNT_IS_ZERO);
        }

        /* Fail if repayAmount = -1 */
        if (repayAmount == uint(-1)) {
            return fail(Error.INVALID_CLOSE_AMOUNT_REQUESTED, FailureInfo.LIQUIDATE_CLOSE_AMOUNT_IS_UINT_MAX);
        }

        /* We calculate the number of collateral tokens that will be seized */
        (uint amountSeizeError, uint seizeTokens) = controller.liquidateCalculateSeizeTokens(address(this), address(aTokenCollateral), repayAmount);
        if (amountSeizeError != 0) {
            return failOpaque(Error.CONTROLLER_CALCULATION_ERROR, FailureInfo.LIQUIDATE_CONTROLLER_CALCULATE_AMOUNT_SEIZE_FAILED, amountSeizeError);
        }

        /* Fail if seizeTokens > borrower collateral token balance */
        if (seizeTokens > aTokenCollateral.balanceOf(borrower)) {
            return fail(Error.TOKEN_INSUFFICIENT_BALANCE, FailureInfo.LIQUIDATE_SEIZE_TOO_MUCH);
        }

        /* Fail if repayBorrow fails */
        uint repayBorrowError = repayBorrowFresh(liquidator, borrower, repayAmount);
        if (repayBorrowError != uint(Error.NO_ERROR)) {
            return fail(Error(repayBorrowError), FailureInfo.LIQUIDATE_REPAY_BORROW_FRESH_FAILED);
        }

        /* Revert if seize tokens fails (since we cannot be sure of side effects) */
        uint seizeError = aTokenCollateral.seize(liquidator, borrower, seizeTokens);
        require(seizeError == uint(Error.NO_ERROR), "token seizure failed");

        /* We emit a LiquidateBorrow event */
        emit LiquidateBorrow(liquidator, borrower, repayAmount, address(aTokenCollateral), seizeTokens);

        /* We call the defense hook */
        controller.liquidateBorrowVerify(address(this), address(aTokenCollateral), liquidator, borrower, repayAmount, seizeTokens);

        return uint(Error.NO_ERROR);
    }

    /**
     * @notice Transfers collateral tokens (this market) to the liquidator.
     * @dev Will fail unless called by another aToken during the process of liquidation.
     *  Its absolutely critical to use msg.sender as the borrowed aToken and not a parameter.
     * @param liquidator The account receiving seized collateral
     * @param borrower The account having collateral seized
     * @param seizeTokens The number of aTokens to seize
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function seize(address liquidator, address borrower, uint seizeTokens) external nonReentrant returns (uint) {
        /* Fail if seize not allowed */
        uint allowed = controller.seizeAllowed(address(this), msg.sender, liquidator, borrower, seizeTokens);
        if (allowed != 0) {
            return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.LIQUIDATE_SEIZE_CONTROLLER_REJECTION, allowed);
        }

        /* Fail if borrower = liquidator */
        if (borrower == liquidator) {
            return fail(Error.INVALID_ACCOUNT_PAIR, FailureInfo.LIQUIDATE_SEIZE_LIQUIDATOR_IS_BORROWER);
        }

        MathError mathErr;
        uint borrowerTokensNew;
        uint liquidatorTokensNew;

        /*
         * We calculate the new borrower and liquidator token balances, failing on underflow/overflow:
         *  borrowerTokensNew = accountTokens[borrower] - seizeTokens
         *  liquidatorTokensNew = accountTokens[liquidator] + seizeTokens
         */
        (mathErr, borrowerTokensNew) = subUInt(accountTokens[borrower], seizeTokens);
        if (mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.LIQUIDATE_SEIZE_BALANCE_DECREMENT_FAILED, uint(mathErr));
        }

        (mathErr, liquidatorTokensNew) = addUInt(accountTokens[liquidator], seizeTokens);
        if (mathErr != MathError.NO_ERROR) {
            return failOpaque(Error.MATH_ERROR, FailureInfo.LIQUIDATE_SEIZE_BALANCE_INCREMENT_FAILED, uint(mathErr));
        }

        /////////////////////////
        // EFFECTS & INTERACTIONS
        // (No safe failures beyond this point)

        /* We write the previously calculated values into storage */
        accountTokens[borrower] = borrowerTokensNew;
        accountTokens[liquidator] = liquidatorTokensNew;

        /* Emit a Transfer event */
        emit Transfer(borrower, liquidator, seizeTokens);

        /* We call the defense hook */
        controller.seizeVerify(address(this), msg.sender, liquidator, borrower, seizeTokens);

        return uint(Error.NO_ERROR);
    }


    /*** Admin Functions ***/

    /**
      * @notice Begins transfer of admin rights. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer.
      * @dev Admin function to begin change of admin. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer.
      * @param newPendingAdmin New pending admin.
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      *
      * TODO: Should we add a second arg to verify, like a checksum of `newAdmin` address?
      */
    function _setPendingAdmin(address payable newPendingAdmin) external returns (uint) {
        // Check caller = admin
        if (msg.sender != admin) {
            return fail(Error.UNAUTHORIZED, FailureInfo.SET_PENDING_ADMIN_OWNER_CHECK);
        }

        // Save current value, if any, for inclusion in log
        address oldPendingAdmin = pendingAdmin;

        // Store pendingAdmin with value newPendingAdmin
        pendingAdmin = newPendingAdmin;

        // Emit NewPendingAdmin(oldPendingAdmin, newPendingAdmin)
        emit NewPendingAdmin(oldPendingAdmin, newPendingAdmin);

        return uint(Error.NO_ERROR);
    }

    /**
      * @notice Accepts transfer of admin rights. msg.sender must be pendingAdmin
      * @dev Admin function for pending admin to accept role and update admin
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _acceptAdmin() external returns (uint) {
        // Check caller is pendingAdmin and pendingAdmin ≠ address(0)
        if (msg.sender != pendingAdmin || msg.sender == address(0)) {
            return fail(Error.UNAUTHORIZED, FailureInfo.ACCEPT_ADMIN_PENDING_ADMIN_CHECK);
        }

        // Save current values for inclusion in log
        address oldAdmin = admin;
        address oldPendingAdmin = pendingAdmin;

        // Store admin with value pendingAdmin
        admin = pendingAdmin;

        // Clear the pending value
        pendingAdmin = address(0);

        emit NewAdmin(oldAdmin, admin);
        emit NewPendingAdmin(oldPendingAdmin, pendingAdmin);

        return uint(Error.NO_ERROR);
    }

    /**
      * @notice Sets a new controller for the market
      * @dev Admin function to set a new controller
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _setController(ControllerInterface newController) public returns (uint) {
        // Check caller is admin
        if (msg.sender != admin) {
            return fail(Error.UNAUTHORIZED, FailureInfo.SET_CONTROLLER_OWNER_CHECK);
        }

        ControllerInterface oldController = controller;
        
        // Ensure invoke controller.isController() returns true
        require(newController.isController(), "marker method returned false");

        // Set market's controller to newController
        controller = newController;

        // Emit NewControllerr(oldController, newController)
        emit NewController(oldController, newController);

        return uint(Error.NO_ERROR);
    }

    /**
      * @notice accrues interest and sets a new reserve factor for the protocol using _setReserveFactorFresh
      * @dev Admin function to accrue interest and set a new reserve factor
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _setReserveFactor(uint newReserveFactorMantissa) external nonReentrant returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted reserve factor change failed.
            return fail(Error(error), FailureInfo.SET_RESERVE_FACTOR_ACCRUE_INTEREST_FAILED);
        }
        // _setReserveFactorFresh emits reserve-factor-specific logs on errors, so we don't need to.
        return _setReserveFactorFresh(newReserveFactorMantissa);
    }

    /**
      * @notice Sets a new reserve factor for the protocol (*requires fresh interest accrual)
      * @dev Admin function to set a new reserve factor
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _setReserveFactorFresh(uint newReserveFactorMantissa) internal returns (uint) {
        // Check caller is admin
        if (msg.sender != admin) {
            return fail(Error.UNAUTHORIZED, FailureInfo.SET_RESERVE_FACTOR_ADMIN_CHECK);
        }

        // Verify market's block number equals current block number
        if (accrualBlockNumber != getBlockNumber()) {
            // TODO: static_assert + no error code?
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.SET_RESERVE_FACTOR_FRESH_CHECK);
        }

        // Check newReserveFactor ≤ maxReserveFactor
        if (newReserveFactorMantissa > reserveFactorMaxMantissa) {
            return fail(Error.BAD_INPUT, FailureInfo.SET_RESERVE_FACTOR_BOUNDS_CHECK);
        }

        uint oldReserveFactorMantissa = reserveFactorMantissa;
        reserveFactorMantissa = newReserveFactorMantissa;

        emit NewReserveFactor(oldReserveFactorMantissa, newReserveFactorMantissa);

        return uint(Error.NO_ERROR);
    }

    /**
     * @notice Accrues interest and reduces reserves by transferring to admin
     * @param reduceAmount Amount of reduction to reserves
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _reduceReserves(uint reduceAmount) external nonReentrant returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted reduce reserves failed.
            return fail(Error(error), FailureInfo.REDUCE_RESERVES_ACCRUE_INTEREST_FAILED);
        }
        // _reduceReservesFresh emits reserve-reduction-specific logs on errors, so we don't need to.
        return _reduceReservesFresh(reduceAmount);
    }

    /**
     * @notice Reduces reserves by transferring to admin
     * @dev Requires fresh interest accrual
     * @param reduceAmount Amount of reduction to reserves
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _reduceReservesFresh(uint reduceAmount) internal returns (uint) {
        Error err;
        // totalReserves - reduceAmount
        uint totalReservesNew;

        // Check caller is admin
        if (msg.sender != admin) {
            return fail(Error.UNAUTHORIZED, FailureInfo.REDUCE_RESERVES_ADMIN_CHECK);
        }

        // We fail gracefully unless market's block number equals current block number
        if (accrualBlockNumber != getBlockNumber()) {
            // TODO: static_assert + no error code?
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.REDUCE_RESERVES_FRESH_CHECK);
        }

        // Fail gracefully if protocol has insufficient underlying cash
        if (getCashPrior() < reduceAmount) {
            return fail(Error.TOKEN_INSUFFICIENT_CASH, FailureInfo.REDUCE_RESERVES_CASH_NOT_AVAILABLE);
        }

        // Check reduceAmount ≤ reserves[n] (totalReserves)
        // TODO: I'm following the spec literally here but I think we should we just use SafeMath instead and fail on an error (which would be underflow)
        if (reduceAmount > totalReserves) {
            return fail(Error.BAD_INPUT, FailureInfo.REDUCE_RESERVES_VALIDATION);
        }

        /////////////////////////
        // EFFECTS & INTERACTIONS
        // (No safe failures beyond this point)

        totalReservesNew = totalReserves - reduceAmount;
        // We checked reduceAmount <= totalReserves above, so this should never revert.
        require(totalReservesNew <= totalReserves, "reduce reserves unexpected underflow");

        // Store reserves[n+1] = reserves[n] - reduceAmount
        totalReserves = totalReservesNew;

        // invoke doTransferOut(reduceAmount, admin)
        err = doTransferOut(admin, reduceAmount);
        // we revert on the failure of this command
        require(err == Error.NO_ERROR, "reduce reserves transfer out failed");

        emit ReservesReduced(admin, reduceAmount, totalReservesNew);

        return uint(Error.NO_ERROR);
    }

    /**
     * @notice accrues interest and updates the interest rate model using _setInterestRateModelFresh
     * @dev Admin function to accrue interest and update the interest rate model
     * @param newInterestRateModel the new interest rate model to use
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _setInterestRateModel(InterestRateModel newInterestRateModel) public returns (uint) {
        uint error = accrueInterest();
        if (error != uint(Error.NO_ERROR)) {
            // accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted change of interest rate model failed
            return fail(Error(error), FailureInfo.SET_INTEREST_RATE_MODEL_ACCRUE_INTEREST_FAILED);
        }
        // _setInterestRateModelFresh emits interest-rate-model-update-specific logs on errors, so we don't need to.
        return _setInterestRateModelFresh(newInterestRateModel);
    }

    function _setInterestRateModel_init(InterestRateModel newInterestRateModel) public returns (uint) {
        if (msg.sender != admin) {
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.SET_INTEREST_RATE_MODEL_FRESH_CHECK);
        }
        // _setInterestRateModelFresh emits interest-rate-model-update-specific logs on errors, so we don't need to.
        interestRateModel = newInterestRateModel;
        _setInterestRateModelFresh(interestRateModel);
    }
    
    /**
     * @notice updates the interest rate model (*requires fresh interest accrual)
     * @dev Admin function to update the interest rate model
     * @param newInterestRateModel the new interest rate model to use
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _setInterestRateModelFresh(InterestRateModel newInterestRateModel) internal returns (uint) {

        // Used to store old model for use in the event that is emitted on success
        InterestRateModel oldInterestRateModel;

        // Check caller is admin
        if (msg.sender != admin) {
            return fail(Error.UNAUTHORIZED, FailureInfo.SET_INTEREST_RATE_MODEL_OWNER_CHECK);
        }

        // We fail gracefully unless market's block number equals current block number
        if (accrualBlockNumber != getBlockNumber()) {
            // TODO: static_assert + no error code?
            return fail(Error.MARKET_NOT_FRESH, FailureInfo.SET_INTEREST_RATE_MODEL_FRESH_CHECK);
        }

        // Track the market's current interest rate model
        oldInterestRateModel = interestRateModel;

        // Ensure invoke newInterestRateModel.isInterestRateModel() returns true
        require(newInterestRateModel.isInterestRateModel(), "marker method returned false");

        // Set the interest rate model to newInterestRateModel
        interestRateModel = newInterestRateModel;

        // Emit NewMarketInterestRateModel(oldInterestRateModel, newInterestRateModel)
        emit NewMarketInterestRateModel(oldInterestRateModel, newInterestRateModel);

        return uint(Error.NO_ERROR);
    }

    
    /*** Safe Token ***/

    /**
     * @notice Gets balance of this contract in terms of the underlying
     * @dev This excludes the value of the current message, if any
     * @return The quantity of underlying owned by this contract
     */
    function getCashPrior() internal view returns (uint);

    /**
     * @dev Checks whether or not there is sufficient allowance for this contract to move amount from `from` and
     *      whether or not `from` has a balance of at least `amount`. Does NOT do a transfer.
     */
    function checkTransferIn(address from, uint amount) internal view returns (Error);

    /**
     * @dev Performs a transfer in, ideally returning an explanatory error code upon failure rather than reverting.
     *  If caller has not called `checkTransferIn`, this may revert due to insufficient balance or insufficient allowance.
     *  If caller has called `checkTransferIn` successfully, this should not revert in normal conditions.
     */
    function doTransferIn(address from, uint amount) internal returns (Error);

    /**
     * @dev Performs a transfer out, ideally returning an explanatory error code upon failure tather than reverting.
     *  If caller has not called checked protocol's balance, may revert due to insufficient cash held in the contract.
     *  If caller has checked protocol's balance, and verified it is >= amount, this should not revert in normal conditions.
     */
    function doTransferOut(address payable to, uint amount) internal returns (Error);
}



contract AErc20 is AToken {

    /**
     * @notice Underlying asset for this AToken
     */
    address public underlying;

    /*** User Interface ***/

    /**
     * @notice Sender supplies assets into the market and receives aTokens in exchange
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param mintAmount The amount of the underlying asset to supply
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function mint(uint mintAmount) external returns (uint) {
        return mintInternal(mintAmount);
    }

    /**
     * @notice Sender redeems aTokens in exchange for the underlying asset
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param redeemTokens The number of aTokens to redeem into underlying
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function redeem(uint redeemTokens) external returns (uint) {
        return redeemInternal(redeemTokens);
    }

    /**
     * @notice Sender redeems aTokens in exchange for a specified amount of underlying asset
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param redeemAmount The amount of underlying to redeem
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function redeemUnderlying(uint redeemAmount) external returns (uint) {
        return redeemUnderlyingInternal(redeemAmount);
    }

    /**
      * @notice Sender borrows assets from the protocol to their own address
      * @param borrowAmount The amount of the underlying asset to borrow
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function borrow(uint borrowAmount) external returns (uint) {
        return borrowInternal(borrowAmount);
    }

    /**
     * @notice Sender repays their own borrow
     * @param repayAmount The amount to repay
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function repayBorrow(uint repayAmount) external returns (uint) {
        return repayBorrowInternal(repayAmount);
    }

    /**
     * @notice Sender repays a borrow belonging to borrower
     * @param borrower the account with the debt being payed off
     * @param repayAmount The amount to repay
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function repayBorrowBehalf(address borrower, uint repayAmount) external returns (uint) {
        return repayBorrowBehalfInternal(borrower, repayAmount);
    }

    /**
     * @notice The sender liquidates the borrowers collateral.
     *  The collateral seized is transferred to the liquidator.
     * @param borrower The borrower of this aToken to be liquidated
     * @param aTokenCollateral The market in which to seize collateral from the borrower
     * @param repayAmount The amount of the underlying borrowed asset to repay
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function liquidateBorrow(address borrower, uint repayAmount, AToken aTokenCollateral) external returns (uint) {
        return liquidateBorrowInternal(borrower, repayAmount, aTokenCollateral);
    }

    /*** Safe Token ***/

    /**
     * @notice Gets balance of this contract in terms of the underlying
     * @dev This excludes the value of the current message, if any
     * @return The quantity of underlying tokens owned by this contract
     */
    function getCashPrior() internal view returns (uint) {
        EIP20Interface token = EIP20Interface(underlying);
        return token.balanceOf(address(this));
    }

    /**
     * @dev Checks whether or not there is sufficient allowance for this contract to move amount from `from` and
     *      whether or not `from` has a balance of at least `amount`. Does NOT do a transfer.
     */
    function checkTransferIn(address from, uint amount) internal view returns (Error) {
        EIP20Interface token = EIP20Interface(underlying);

        if (token.allowance(from, address(this)) < amount) {
            return Error.TOKEN_INSUFFICIENT_ALLOWANCE;
        }

        if (token.balanceOf(from) < amount) {
            return Error.TOKEN_INSUFFICIENT_BALANCE;
        }

        return Error.NO_ERROR;
    }

    /**
     * @dev Similar to EIP20 transfer, except it handles a False result from `transferFrom` and returns an explanatory
     *      error code rather than reverting.  If caller has not called `checkTransferIn`, this may revert due to
     *      insufficient balance or insufficient allowance. If caller has called `checkTransferIn` prior to this call,
     *      and it returned Error.NO_ERROR, this should not revert in normal conditions.
     *
     *      Note: This wrapper safely handles non-standard ERC-20 tokens that do not return a value.
     *            See here: https://medium.com/coinmonks/missing-return-value-bug-at-least-130-tokens-affected-d67bf08521ca
     */
    function doTransferIn(address from, uint amount) internal returns (Error) {
        EIP20NonStandardInterface token = EIP20NonStandardInterface(underlying);
        bool result;

        token.transferFrom(from, address(this), amount);

        // solium-disable-next-line security/no-inline-assembly
        assembly {
            switch returndatasize()
                case 0 {                      // This is a non-standard ERC-20
                    result := not(0)          // set result to true
                }
                case 32 {                     // This is a complaint ERC-20
                    returndatacopy(0, 0, 32)
                    result := mload(0)        // Set `result = returndata` of external call
                }
                default {                     // This is an excessively non-compliant ERC-20, revert.
                    revert(0, 0)
                }
        }

        if (!result) {
            return Error.TOKEN_TRANSFER_IN_FAILED;
        }

        return Error.NO_ERROR;
    }

    /**
     * @dev Similar to EIP20 transfer, except it handles a False result from `transfer` and returns an explanatory
     *      error code rather than reverting. If caller has not called checked protocol's balance, this may revert due to
     *      insufficient cash held in this contract. If caller has checked protocol's balance prior to this call, and verified
     *      it is >= amount, this should not revert in normal conditions.
     *
     *      Note: This wrapper safely handles non-standard ERC-20 tokens that do not return a value.
     *            See here: https://medium.com/coinmonks/missing-return-value-bug-at-least-130-tokens-affected-d67bf08521ca
     */
    function doTransferOut(address payable to, uint amount) internal returns (Error) {
        EIP20NonStandardInterface token = EIP20NonStandardInterface(underlying);
        bool result;

        token.transfer(to, amount);

        // solium-disable-next-line security/no-inline-assembly
        assembly {
            switch returndatasize()
                case 0 {                      // This is a non-standard ERC-20
                    result := not(0)          // set result to true
                }
                case 32 {                     // This is a complaint ERC-20
                    returndatacopy(0, 0, 32)
                    result := mload(0)        // Set `result = returndata` of external call
                }
                default {                     // This is an excessively non-compliant ERC-20, revert.
                    revert(0, 0)
                }
        }

        if (!result) {
            return Error.TOKEN_TRANSFER_OUT_FAILED;
        }

        return Error.NO_ERROR;
    }
    
    function _setUnderlying(address newunderlying) public returns (uint) {
        // Check caller is admin
        if (msg.sender != admin) {
            return fail(Error.UNAUTHORIZED, FailureInfo.SET_CONTROLLER_OWNER_CHECK);
        }

        // Set market's controller to newController
        underlying = newunderlying;
        EIP20Interface(underlying).totalSupply(); // Sanity check the underlying
        
        return uint(Error.NO_ERROR);
    } 
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"interestAccumulated","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"borrowIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"AccrueInterest","type":"event"},{"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":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"borrowAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrows","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"Borrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"error","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"info","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"detail","type":"uint256"}],"name":"Failure","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"liquidator","type":"address"},{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"aTokenCollateral","type":"address"},{"indexed":false,"internalType":"uint256","name":"seizeTokens","type":"uint256"}],"name":"LiquidateBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintTokens","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract ControllerInterface","name":"oldController","type":"address"},{"indexed":false,"internalType":"contract ControllerInterface","name":"newController","type":"address"}],"name":"NewController","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract InterestRateModel","name":"oldInterestRateModel","type":"address"},{"indexed":false,"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"NewMarketInterestRateModel","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"NewPendingAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldReserveFactorMantissa","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newReserveFactorMantissa","type":"uint256"}],"name":"NewReserveFactor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"redeemAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"payer","type":"address"},{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrows","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"RepayBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"uint256","name":"reduceAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalReserves","type":"uint256"}],"name":"ReservesReduced","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":false,"inputs":[],"name":"_acceptAdmin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reduceAmount","type":"uint256"}],"name":"_reduceReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract ControllerInterface","name":"newController","type":"address"}],"name":"_setController","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"_setInterestRateModel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"_setInterestRateModel_init","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newPendingAdmin","type":"address"}],"name":"_setPendingAdmin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newReserveFactorMantissa","type":"uint256"}],"name":"_setReserveFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newunderlying","type":"address"}],"name":"_setUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"accrualBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"accrueInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOfUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"borrowAmount","type":"uint256"}],"name":"borrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"borrowBalanceCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"borrowBalanceStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"internalType":"contract ControllerInterface","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exchangeRateCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"exchangeRateStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountSnapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initialExchangeRateMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"interestRateModel","outputs":[{"internalType":"contract InterestRateModel","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isAToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"},{"internalType":"contract AToken","name":"aTokenCollateral","type":"address"}],"name":"liquidateBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"}],"name":"redeemUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrowBehalf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveFactorMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"liquidator","type":"address"},{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"seizeTokens","type":"uint256"}],"name":"seize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"supplyRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBorrows","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"totalBorrowsCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040526001600055600480546001600160a01b0319163317905566470de4df820000600855620000396001600160e01b03620000bd16565b600a55670de0b6b3a7640000600b5560408051808201909152601180825270417274656d20577261707065642042544360781b60209092019182526200008291600191620000c2565b5060408051808201909152600580825264615742544360d81b6020909201918252620000b191600291620000c2565b50600860035562000164565b435b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200010557805160ff191683800117855562000135565b8280016001018555821562000135579182015b828111156200013557825182559160200191906001019062000118565b506200014392915062000147565b5090565b620000bf91905b808211156200014357600081556001016200014e565b614ab280620001746000396000f3fe608060405234801561001057600080fd5b50600436106102a05760003560e01c806394c393fc11610167578063c5ebeaec116100ce578063f3fdb15a11610087578063f3fdb15a1461076a578063f5e3c46214610772578063f77c4791146107a8578063f851a440146107b0578063f8f9da28146107b8578063fca7820b146107c0576102a0565b8063c5ebeaec146106ae578063db006a75146106cb578063dd62ed3e146106e8578063e9c714f214610716578063ef7c74e41461071e578063f2b3abbd14610744576102a0565b8063aa5af0fd11610120578063aa5af0fd146105ee578063ae9d70b0146105f6578063b2a02ff1146105fe578063b71d1a0c14610634578063bd6d894d1461065a578063c37f68e214610662576102a0565b806394c393fc1461056757806395d89b411461056f57806395dd919314610577578063a0712d681461059d578063a6afed95146105ba578063a9059cbb146105c2576102a0565b80633af9e6691161020b5780636f307dc3116101c45780636f307dc3146104e657806370a08231146104ee57806373acee981461051457806383de424e1461051c578063852a12e3146105425780638f840ddd1461055f576102a0565b80633af9e669146104835780633b1d21a2146104a957806347bd3718146104b1578063601a0bf1146104b9578063675d972c146104d65780636c540baf146104de576102a0565b8063182df0f51161025d578063182df0f5146103c757806323b872dd146103cf5780632608f8181461040557806326782247146104315780632d75635914610455578063313ce5671461047b576102a0565b806306fdde03146102a5578063095ea7b3146103225780630e75270214610362578063173b99041461039157806317bfdfbc1461039957806318160ddd146103bf575b600080fd5b6102ad6107dd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61034e6004803603604081101561033857600080fd5b506001600160a01b03813516906020013561086a565b604080519115158252519081900360200190f35b61037f6004803603602081101561037857600080fd5b50356108d7565b60408051918252519081900360200190f35b61037f6108ea565b61037f600480360360208110156103af57600080fd5b50356001600160a01b03166108f0565b61037f6109a3565b61037f6109a9565b61034e600480360360608110156103e557600080fd5b506001600160a01b03813581169160208101359091169060400135610a0c565b61037f6004803603604081101561041b57600080fd5b506001600160a01b038135169060200135610a72565b610439610a85565b604080516001600160a01b039092168252519081900360200190f35b61037f6004803603602081101561046b57600080fd5b50356001600160a01b0316610a94565b61037f610ae7565b61037f6004803603602081101561049957600080fd5b50356001600160a01b0316610aed565b61037f610b5b565b61037f610b6a565b61037f600480360360208110156104cf57600080fd5b5035610b70565b61037f610bf8565b61037f610bfe565b610439610c04565b61037f6004803603602081101561050457600080fd5b50356001600160a01b0316610c13565b61037f610c2e565b61037f6004803603602081101561053257600080fd5b50356001600160a01b0316610cd8565b61037f6004803603602081101561055857600080fd5b5035610e22565b61037f610e2d565b61034e610e33565b6102ad610e38565b61037f6004803603602081101561058d57600080fd5b50356001600160a01b0316610e90565b61037f600480360360208110156105b357600080fd5b5035610eed565b61037f610ef8565b61034e600480360360408110156105d857600080fd5b506001600160a01b0381351690602001356112f1565b61037f611356565b61037f61135c565b61037f6004803603606081101561061457600080fd5b506001600160a01b03813581169160208101359091169060400135611627565b61037f6004803603602081101561064a57600080fd5b50356001600160a01b03166118d8565b61037f61195f565b6106886004803603602081101561067857600080fd5b50356001600160a01b0316611a0a565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61037f600480360360208110156106c457600080fd5b5035611a9f565b61037f600480360360208110156106e157600080fd5b5035611aaa565b61037f600480360360408110156106fe57600080fd5b506001600160a01b0381358116916020013516611ab5565b61037f611ae0565b61037f6004803603602081101561073457600080fd5b50356001600160a01b0316611bcf565b61037f6004803603602081101561075a57600080fd5b50356001600160a01b0316611c80565b610439611cba565b61037f6004803603606081101561078857600080fd5b506001600160a01b03813581169160208101359160409091013516611cc9565b610439611cd6565b610439611ce5565b61037f611cf4565b61037f600480360360208110156107d657600080fd5b5035611dd0565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108625780601f1061083757610100808354040283529160200191610862565b820191906000526020600020905b81548152906001019060200180831161084557829003601f168201915b505050505081565b3360008181526010602090815260408083206001600160a01b03871680855290835281842086905581518681529151939493909284927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a360019150505b92915050565b60006108e282611e0a565b90505b919050565b60095481565b6000805460010180825581610903610ef8565b1461094e576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b61095783610e90565b91505b600054811461099d576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b50919050565b600e5481565b60008060006109b6611e46565b909250905060008260038111156109c957fe5b14610a055760405162461bcd60e51b81526004018080602001828103825260358152602001806149f16035913960400191505060405180910390fd5b9150505b90565b6000805460010180825581610a2333878787611ef4565b1491505b6000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b509392505050565b6000610a7e8383612202565b9392505050565b6005546001600160a01b031681565b6004546000906001600160a01b03163314610abc57610ab5600a604161228c565b90506108e5565b600780546001600160a01b0319166001600160a01b03848116919091179182905561099d91166122f2565b60035481565b6000610af761474a565b6040518060200160405280610b0a61195f565b90526001600160a01b0384166000908152600f6020526040812054919250908190610b36908490612462565b90925090506000826003811115610b4957fe5b14610b5357600080fd5b949350505050565b6000610b656124b6565b905090565b600c5481565b6000805460010180825581610b83610ef8565b90508015610ba957610ba1816010811115610b9a57fe5b603061228c565b92505061095a565b610bb284612536565b925050600054811461099d576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60085481565b600a5481565b6012546001600160a01b031681565b6001600160a01b03166000908152600f602052604090205490565b6000805460010180825581610c41610ef8565b14610c8c576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b600c5491506000548114610cd4576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5090565b6004546000906001600160a01b03163314610cf957610ab56001603f61228c565b60065460408051634e1647fb60e01b815290516001600160a01b0392831692851691634e1647fb916004808301926020929190829003018186803b158015610d4057600080fd5b505afa158015610d54573d6000803e3d6000fd5b505050506040513d6020811015610d6a57600080fd5b5051610dbd576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517ff9b6a28700579d5c8fab50f0ac2dcaa52109b85c369c4f511fcc873330ab6cbb9281900390910190a160009392505050565b60006108e2826126b4565b600d5481565b600181565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156108625780601f1061083757610100808354040283529160200191610862565b6000806000610e9e846126f1565b90925090506000826003811115610eb157fe5b14610a7e5760405162461bcd60e51b81526004018080602001828103825260378152602001806148c56037913960400191505060405180910390fd5b60006108e2826127a5565b6000610f0261475d565b6007546001600160a01b03166315f24053610f1b6124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b158015610f6257600080fd5b505afa158015610f76573d6000803e3d6000fd5b505050506040513d6040811015610f8c57600080fd5b50805160209182015160408401819052918301526601c6bf526340001015610ffb576040805162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015290519081900360640190fd5b60208101511561101e576110166005600283602001516127e0565b915050610a09565b611026612846565b60608201819052600a5461103a919061284a565b608083018190528282600381111561104e57fe5b600381111561105957fe5b905250600090508151600381111561106d57fe5b1461107457fe5b61109460405180602001604052808360400151815250826080015161286d565b60a08301819052828260038111156110a857fe5b60038111156110b357fe5b90525060009050815160038111156110c757fe5b146110e85761101660096006836000015160038111156110e357fe5b6127e0565b6110f88160a00151600c54612462565b60c083018190528282600381111561110c57fe5b600381111561111757fe5b905250600090508151600381111561112b57fe5b146111475761101660096001836000015160038111156110e357fe5b6111578160c00151600c546128d5565b60e083018190528282600381111561116b57fe5b600381111561117657fe5b905250600090508151600381111561118a57fe5b146111a65761101660096004836000015160038111156110e357fe5b6111c760405180602001604052806009548152508260c00151600d546128fb565b6101008301819052828260038111156111dc57fe5b60038111156111e757fe5b90525060009050815160038111156111fb57fe5b146112175761101660096005836000015160038111156110e357fe5b61122a8160a00151600b54600b546128fb565b61012083018190528282600381111561123f57fe5b600381111561124a57fe5b905250600090508151600381111561125e57fe5b1461127a5761101660096003836000015160038111156110e357fe5b606080820151600a55610120820151600b81905560e0830151600c819055610100840151600d5560c08401516040805191825260208201939093528083019190915290517f875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9929181900390910190a1600091505090565b600080546001018082558161130833338787611ef4565b1491505b600054811461134f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5092915050565b600b5481565b6000806113676109a9565b60075490915060009081906001600160a01b03166315f240536113886124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b1580156113cf57600080fd5b505afa1580156113e3573d6000803e3d6000fd5b505050506040513d60408110156113f957600080fd5b508051602090910151909250905081156114445760405162461bcd60e51b81526004018080602001828103825260318152602001806149646031913960400191505060405180910390fd5b600061144e61474a565b611468604051806020016040528087815250600e5461286d565b9092509050600082600381111561147b57fe5b146114b75760405162461bcd60e51b81526004018080602001828103825260318152602001806148fc6031913960400191505060405180910390fd5b60006114c161474a565b6114cd600c5484612957565b909250905060008260038111156114e057fe5b1461151c5760405162461bcd60e51b81526004018080602001828103825260318152602001806148406031913960400191505060405180910390fd5b600061152661474a565b6115566040518060200160405280670de0b6b3a764000081525060405180602001604052806009548152506129b6565b9092509050600082600381111561156957fe5b146115a55760405162461bcd60e51b815260040180806020018281038252603c8152602001806149b5603c913960400191505060405180910390fd5b60006115af61474a565b6115c860405180602001604052808b81525084876129f0565b909250905060008260038111156115db57fe5b146116175760405162461bcd60e51b81526004018080602001828103825260318152602001806148946031913960400191505060405180910390fd5b519a505050505050505050505090565b600080546001018082556006546040805163d02f735160e01b81523060048201523360248201526001600160a01b03888116604483015287811660648301526084820187905291518593929092169163d02f73519160a48082019260209290919082900301818787803b15801561169d57600080fd5b505af11580156116b1573d6000803e3d6000fd5b505050506040513d60208110156116c757600080fd5b5051905080156116e6576116de6003601b836127e0565b925050610a27565b856001600160a01b0316856001600160a01b0316141561170c576116de6006601c61228c565b6001600160a01b0385166000908152600f602052604081205481908190611733908861284a565b9093509150600083600381111561174657fe5b146117695761175e6009601a8560038111156110e357fe5b955050505050610a27565b6001600160a01b0389166000908152600f602052604090205461178c90886128d5565b9093509050600083600381111561179f57fe5b146117b75761175e600960198560038111156110e357fe5b6001600160a01b038089166000818152600f60209081526040808320879055938d168083529184902085905583518b815293519193600080516020614995833981519152929081900390910190a360065460408051636d35bf9160e01b81523060048201523360248201526001600160a01b038c811660448301528b81166064830152608482018b905291519190921691636d35bf919160a480830192600092919082900301818387803b15801561186e57600080fd5b505af1158015611882573d6000803e3d6000fd5b506000925061188f915050565b9550505050506000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6004546000906001600160a01b031633146118f957610ab56001604561228c565b600580546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9929181900390910190a16000610a7e565b6000805460010180825581611972610ef8565b146119bd576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b6119c56109a9565b91506000548114610cd4576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6001600160a01b0381166000908152600f6020526040812054819081908190818080611a35896126f1565b935090506000816003811115611a4757fe5b14611a655760095b975060009650869550859450611a989350505050565b611a6d611e46565b925090506000816003811115611a7f57fe5b14611a8b576009611a4f565b5060009650919450925090505b9193509193565b60006108e282612a3a565b60006108e282612a75565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b6005546000906001600160a01b031633141580611afb575033155b15611b1357611b0c6001600061228c565b9050610a09565b60048054600580546001600160a01b038082166001600160a01b031980861682179687905590921690925560408051938316808552949092166020840152815190927ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc92908290030190a1600554604080516001600160a01b038085168252909216602083015280517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99281900390910190a160009250505090565b6004546000906001600160a01b03163314611bf057610ab56001603f61228c565b601280546001600160a01b0319166001600160a01b038481169190911791829055604080516318160ddd60e01b8152905192909116916318160ddd91600480820192602092909190829003018186803b158015611c4c57600080fd5b505afa158015611c60573d6000803e3d6000fd5b505050506040513d6020811015611c7657600080fd5b50600090506108e2565b600080611c8b610ef8565b90508015611cb157611ca9816010811115611ca257fe5b604061228c565b9150506108e5565b610a7e836122f2565b6007546001600160a01b031681565b6000610b53848484612aab565b6006546001600160a01b031681565b6004546001600160a01b031681565b600754600090819081906001600160a01b03166315f24053611d146124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b158015611d5b57600080fd5b505afa158015611d6f573d6000803e3d6000fd5b505050506040513d6040811015611d8557600080fd5b50805160209091015190925090508115610a055760405162461bcd60e51b815260040180806020018281038252603781526020018061492d6037913960400191505060405180910390fd5b6000805460010180825581611de3610ef8565b90508015611e0157610ba1816010811115611dfa57fe5b604661228c565b610bb284612bb3565b6000805460010180825581611e1d610ef8565b90508015611e3b57610ba1816010811115611e3457fe5b603661228c565b610bb2333386612c56565b600080600e5460001415611e61575050600854600090611ef0565b6000611e6b6124b6565b90506000611e7761474a565b6000611e8884600c54600d546130a9565b935090506000816003811115611e9a57fe5b14611eae57945060009350611ef092505050565b611eba83600e546130e7565b925090506000816003811115611ecc57fe5b14611ee057945060009350611ef092505050565b5051600094509250611ef0915050565b9091565b600654604080516317b9b84b60e31b81523060048201526001600160a01b03868116602483015285811660448301526064820185905291516000938493169163bdcdc25891608480830192602092919082900301818787803b158015611f5957600080fd5b505af1158015611f6d573d6000803e3d6000fd5b505050506040513d6020811015611f8357600080fd5b505190508015611fa257611f9a6003604a836127e0565b915050610b53565b836001600160a01b0316856001600160a01b03161415611fc857611f9a6002604b61228c565b60006001600160a01b038781169087161415611fe7575060001961200f565b506001600160a01b038086166000908152601060209081526040808320938a16835292905220545b60008060008061201f858961284a565b9094509250600084600381111561203257fe5b14612050576120436009604b61228c565b9650505050505050610b53565b6001600160a01b038a166000908152600f6020526040902054612073908961284a565b9094509150600084600381111561208657fe5b14612097576120436009604c61228c565b6001600160a01b0389166000908152600f60205260409020546120ba90896128d5565b909450905060008460038111156120cd57fe5b146120de576120436009604d61228c565b6001600160a01b03808b166000908152600f6020526040808220859055918b168152208190556000198514612136576001600160a01b03808b166000908152601060209081526040808320938f168352929052208390555b886001600160a01b03168a6001600160a01b03166000805160206149958339815191528a6040518082815260200191505060405180910390a36006546040805163352b4a3f60e11b81523060048201526001600160a01b038d811660248301528c81166044830152606482018c905291519190921691636a56947e91608480830192600092919082900301818387803b1580156121d257600080fd5b505af11580156121e6573d6000803e3d6000fd5b50600092506121f3915050565b9b9a5050505050505050505050565b6000805460010180825581612215610ef8565b9050801561223b5761223381601081111561222c57fe5b603561228c565b92505061130c565b612246338686612c56565b925050600054811461134f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa08360108111156122bb57fe5b83604d8111156122c757fe5b604080519283526020830191909152600082820152519081900360600190a1826010811115610a7e57fe5b60045460009081906001600160a01b0316331461231557611ca96001604261228c565b61231d612846565b600a541461233157611ca9600a604161228c565b600760009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561238257600080fd5b505afa158015612396573d6000803e3d6000fd5b505050506040513d60208110156123ac57600080fd5b50516123ff576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a16000610a7e565b600080600061246f61474a565b612479868661286d565b9092509050600082600381111561248c57fe5b1461249d57509150600090506124af565b60006124a882613197565b9350935050505b9250929050565b601254604080516370a0823160e01b815230600482015290516000926001600160a01b03169182916370a0823191602480820192602092909190829003018186803b15801561250457600080fd5b505afa158015612518573d6000803e3d6000fd5b505050506040513d602081101561252e57600080fd5b505191505090565b600454600090819081906001600160a01b031633146125645761255b6001603161228c565b925050506108e5565b61256c612846565b600a54146125805761255b600a603361228c565b836125896124b6565b101561259b5761255b600e603261228c565b600d548411156125b15761255b6002603461228c565b50600d54838103908111156125f75760405162461bcd60e51b8152600401808060200182810382526024815260200180614a5a6024913960400191505060405180910390fd5b600d819055600454612612906001600160a01b0316856131a6565b9150600082601081111561262257fe5b1461265e5760405162461bcd60e51b81526004018080602001828103825260238152602001806148716023913960400191505060405180910390fd5b600454604080516001600160a01b03909216825260208201869052818101839052517f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e9181900360600190a16000949350505050565b60008054600101808255816126c7610ef8565b905080156126e557610ba18160108111156126de57fe5b602761228c565b610bb233600086613262565b6001600160a01b0381166000908152601160205260408120805482918291829182916127285750600094508493506127a092505050565b6127388160000154600b5461376b565b9094509250600084600381111561274b57fe5b146127605750919350600092506127a0915050565b61276e8382600101546137aa565b9094509150600084600381111561278157fe5b146127965750919350600092506127a0915050565b5060009450925050505b915091565b60008054600101808255816127b8610ef8565b905080156127d657610ba18160108111156127cf57fe5b601e61228c565b610bb233856137d5565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa084601081111561280f57fe5b84604d81111561281b57fe5b604080519283526020830191909152818101859052519081900360600190a1836010811115610b5357fe5b4390565b6000808383116128615750600090508183036124af565b506003905060006124af565b600061287761474a565b60008061288886600001518661376b565b9092509050600082600381111561289b57fe5b146128ba575060408051602081019091526000815290925090506124af565b60408051602081019091529081526000969095509350505050565b6000808383018481106128ed576000925090506124af565b5060029150600090506124af565b600080600061290861474a565b612912878761286d565b9092509050600082600381111561292557fe5b14612936575091506000905061294f565b61294861294282613197565b866128d5565b9350935050505b935093915050565b600061296161474a565b600080612976670de0b6b3a76400008761376b565b9092509050600082600381111561298957fe5b146129a8575060408051602081019091526000815290925090506124af565b6124a88186600001516130e7565b60006129c061474a565b6000806129d58660000151866000015161284a565b60408051602081019091529081529097909650945050505050565b60006129fa61474a565b6000612a0461474a565b612a0e8787613c1d565b90925090506000826003811115612a2157fe5b14612a3057909250905061294f565b6129488186613c1d565b6000805460010180825581612a4d610ef8565b90508015612a6b57610ba1816010811115612a6457fe5b600861228c565b610bb23385613d06565b6000805460010180825581612a88610ef8565b90508015612a9f57610ba18160108111156126de57fe5b610bb233856000613262565b6000805460010180825581612abe610ef8565b90508015612adc576116de816010811115612ad557fe5b600f61228c565b836001600160a01b031663a6afed956040518163ffffffff1660e01b8152600401602060405180830381600087803b158015612b1757600080fd5b505af1158015612b2b573d6000803e3d6000fd5b505050506040513d6020811015612b4157600080fd5b505190508015612b61576116de816010811115612b5a57fe5b601061228c565b612b6d3387878761406c565b9250506000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6004546000906001600160a01b03163314612bd457610ab56001604761228c565b612bdc612846565b600a5414612bf057610ab5600a604861228c565b670de0b6b3a7640000821115612c0c57610ab56002604961228c565b6009805490839055604080518281526020810185905281517faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460929181900390910190a16000610a7e565b60065460408051631200453160e11b81523060048201526001600160a01b0386811660248301528581166044830152606482018590529151600093849316916324008a6291608480830192602092919082900301818787803b158015612cbb57600080fd5b505af1158015612ccf573d6000803e3d6000fd5b505050506040513d6020811015612ce557600080fd5b505190508015612d0457612cfc60036038836127e0565b915050610a7e565b612d0c612846565b600a5414612d2057612cfc600a603961228c565b612d286147b7565b6001600160a01b0385166000908152601160205260409020600101546060820152612d52856126f1565b6080830181905260208301826003811115612d6957fe5b6003811115612d7457fe5b9052506000905081602001516003811115612d8b57fe5b14612db057612da760096037836020015160038111156110e357fe5b92505050610a7e565b600019841415612dc95760808101516040820152612dd1565b604081018490525b612ddf868260400151614548565b81906010811115612dec57fe5b90816010811115612df957fe5b905250600081516010811115612e0b57fe5b14612e1d578051612da790603c61228c565b612e2f8160800151826040015161284a565b60a0830181905260208301826003811115612e4657fe5b6003811115612e5157fe5b9052506000905081602001516003811115612e6857fe5b14612e8457612da76009603a836020015160038111156110e357fe5b612e94600c54826040015161284a565b60c0830181905260208301826003811115612eab57fe5b6003811115612eb657fe5b9052506000905081602001516003811115612ecd57fe5b14612ee957612da76009603b836020015160038111156110e357fe5b612ef786826040015161467c565b81906010811115612f0457fe5b90816010811115612f1157fe5b905250600081516010811115612f2357fe5b14612f75576040805162461bcd60e51b815260206004820152601f60248201527f726570617920626f72726f77207472616e7366657220696e206661696c656400604482015290519081900360640190fd5b60a080820180516001600160a01b03808916600081815260116020908152604091829020948555600b5460019095019490945560c0870151600c8190558188015195518251948e16855294840192909252828101949094526060820192909252608081019190915290517f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1929181900390910190a160065460408083015160608401518251631ededc9160e01b81523060048201526001600160a01b038b811660248301528a81166044830152606482019390935260848101919091529151921691631ededc919160a48082019260009290919082900301818387803b15801561307e57600080fd5b505af1158015613092573d6000803e3d6000fd5b506000925061309f915050565b9695505050505050565b6000806000806130b987876128d5565b909250905060008260038111156130cc57fe5b146130dd575091506000905061294f565b612948818661284a565b60006130f161474a565b60008061310686670de0b6b3a764000061376b565b9092509050600082600381111561311957fe5b14613138575060408051602081019091526000815290925090506124af565b60008061314583886137aa565b9092509050600082600381111561315857fe5b1461317a575060408051602081019091526000815290945092506124af915050565b604080516020810190915290815260009890975095505050505050565b51670de0b6b3a7640000900490565b6012546040805163a9059cbb60e01b81526001600160a01b03858116600483015260248201859052915160009392909216918391839163a9059cbb91604480820192869290919082900301818387803b15801561320257600080fd5b505af1158015613216573d6000803e3d6000fd5b505050503d60008114613230576020811461323a57600080fd5b6000199150613246565b60206000803e60005191505b5080613257576010925050506108d1565b506000949350505050565b600082158061326f575081155b6132aa5760405162461bcd60e51b8152600401808060200182810382526034815260200180614a266034913960400191505060405180910390fd5b6132b26147b7565b6132ba611e46565b60408301819052602083018260038111156132d157fe5b60038111156132dc57fe5b90525060009050816020015160038111156132f357fe5b1461330f57612cfc6009602b836020015160038111156110e357fe5b83156133905760608101849052604080516020810182529082015181526133369085612462565b608083018190526020830182600381111561334d57fe5b600381111561335857fe5b905250600090508160200151600381111561336f57fe5b1461338b57612cfc60096029836020015160038111156110e357fe5b613409565b6133ac8360405180602001604052808460400151815250614733565b60608301819052602083018260038111156133c357fe5b60038111156133ce57fe5b90525060009050816020015160038111156133e557fe5b1461340157612cfc6009602a836020015160038111156110e357fe5b608081018390525b60065460608201516040805163eabe7d9160e01b81523060048201526001600160a01b03898116602483015260448201939093529051600093929092169163eabe7d919160648082019260209290919082900301818787803b15801561346e57600080fd5b505af1158015613482573d6000803e3d6000fd5b505050506040513d602081101561349857600080fd5b5051905080156134af57612da760036028836127e0565b6134b7612846565b600a54146134cb57612da7600a602c61228c565b6134db600e54836060015161284a565b60a08401819052602084018260038111156134f257fe5b60038111156134fd57fe5b905250600090508260200151600381111561351457fe5b1461353057612da76009602e846020015160038111156110e357fe5b6001600160a01b0386166000908152600f60205260409020546060830151613558919061284a565b60c084018190526020840182600381111561356f57fe5b600381111561357a57fe5b905250600090508260200151600381111561359157fe5b146135ad57612da76009602d846020015160038111156110e357fe5b81608001516135ba6124b6565b10156135cc57612da7600e602f61228c565b6135da8683608001516131a6565b829060108111156135e757fe5b908160108111156135f457fe5b90525060008251601081111561360657fe5b14613658576040805162461bcd60e51b815260206004820152601a60248201527f72656465656d207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b60a0820151600e5560c08201516001600160a01b0387166000818152600f6020908152604091829020939093556060850151815190815290513093600080516020614995833981519152928290030190a36080820151606080840151604080516001600160a01b038b168152602081019490945283810191909152517fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9299281900390910190a160065460808301516060840151604080516351dff98960e01b81523060048201526001600160a01b038b81166024830152604482019490945260648101929092525191909216916351dff98991608480830192600092919082900301818387803b15801561307e57600080fd5b6000808361377e575060009050806124af565b8383028385828161378b57fe5b041461379f575060029150600090506124af565b6000925090506124af565b600080826137be57506001905060006124af565b60008385816137c957fe5b04915091509250929050565b60065460408051634ef4c3e160e01b81523060048201526001600160a01b03858116602483015260448201859052915160009384931691634ef4c3e191606480830192602092919082900301818787803b15801561383257600080fd5b505af1158015613846573d6000803e3d6000fd5b505050506040513d602081101561385c57600080fd5b50519050801561387b576138736003601f836127e0565b9150506108d1565b613883612846565b600a541461389757613873600a602261228c565b61389f6147f5565b6138a98585614548565b819060108111156138b657fe5b908160108111156138c357fe5b9052506000815160108111156138d557fe5b146138f05780516138e790602661228c565b925050506108d1565b6138f8611e46565b604083018190526020830182600381111561390f57fe5b600381111561391a57fe5b905250600090508160200151600381111561393157fe5b1461394d576138e760096021836020015160038111156110e357fe5b6139698460405180602001604052808460400151815250614733565b606083018190526020830182600381111561398057fe5b600381111561398b57fe5b90525060009050816020015160038111156139a257fe5b146139be576138e760096020836020015160038111156110e357fe5b6139ce600e5482606001516128d5565b60808301819052602083018260038111156139e557fe5b60038111156139f057fe5b9052506000905081602001516003811115613a0757fe5b14613a23576138e760096024836020015160038111156110e357fe5b6001600160a01b0385166000908152600f60205260409020546060820151613a4b91906128d5565b60a0830181905260208301826003811115613a6257fe5b6003811115613a6d57fe5b9052506000905081602001516003811115613a8457fe5b14613aa0576138e760096023836020015160038111156110e357fe5b613aaa858561467c565b81906010811115613ab757fe5b90816010811115613ac457fe5b905250600081516010811115613ad657fe5b14613ae85780516138e790602561228c565b6080810151600e5560a08101516001600160a01b0386166000818152600f602090815260409182902093909355606080850151825193845293830188905282820193909352517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f929181900390910190a1606081015160408051918252516001600160a01b0387169130916000805160206149958339815191529181900360200190a36006546060820151604080516341c728b960e01b81523060048201526001600160a01b038981166024830152604482018990526064820193909352905191909216916341c728b991608480830192600092919082900301818387803b158015613bf357600080fd5b505af1158015613c07573d6000803e3d6000fd5b5060009250613c14915050565b95945050505050565b6000613c2761474a565b600080613c3c8660000151866000015161376b565b90925090506000826003811115613c4f57fe5b14613c6e575060408051602081019091526000815290925090506124af565b600080613c836706f05b59d3b20000846128d5565b90925090506000826003811115613c9657fe5b14613cb8575060408051602081019091526000815290945092506124af915050565b600080613ccd83670de0b6b3a76400006137aa565b90925090506000826003811115613ce057fe5b14613ce757fe5b604080516020810190915290815260009a909950975050505050505050565b6006546040805163368f515360e21b81523060048201526001600160a01b0385811660248301526044820185905291516000938493169163da3d454c91606480830192602092919082900301818787803b158015613d6357600080fd5b505af1158015613d77573d6000803e3d6000fd5b505050506040513d6020811015613d8d57600080fd5b505190508015613da4576138736003600e836127e0565b613dac612846565b600a5414613dbf57613873600a8061228c565b82613dc86124b6565b1015613dda57613873600e600961228c565b613de261480f565b613deb856126f1565b6040830181905260208301826003811115613e0257fe5b6003811115613e0d57fe5b9052506000905081602001516003811115613e2457fe5b14613e40576138e760096007836020015160038111156110e357fe5b613e4e8160400151856128d5565b6060830181905260208301826003811115613e6557fe5b6003811115613e7057fe5b9052506000905081602001516003811115613e8757fe5b14613ea3576138e76009600c836020015160038111156110e357fe5b613eaf600c54856128d5565b6080830181905260208301826003811115613ec657fe5b6003811115613ed157fe5b9052506000905081602001516003811115613ee857fe5b14613f04576138e76009600b836020015160038111156110e357fe5b613f0e85856131a6565b81906010811115613f1b57fe5b90816010811115613f2857fe5b905250600081516010811115613f3a57fe5b14613f8c576040805162461bcd60e51b815260206004820152601a60248201527f626f72726f77207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b606080820180516001600160a01b038816600081815260116020908152604091829020938455600b54600190940193909355608080870151600c819055945182519384529383018a9052828201939093529381019290925291517f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80929181900390910190a160065460408051635c77860560e01b81523060048201526001600160a01b0388811660248301526044820188905291519190921691635c77860591606480830192600092919082900301818387803b158015613bf357600080fd5b60065460408051632fe3f38f60e11b81523060048201526001600160a01b0384811660248301528781166044830152868116606483015260848201869052915160009384931691635fc7e71e9160a480830192602092919082900301818787803b1580156140d957600080fd5b505af11580156140ed573d6000803e3d6000fd5b505050506040513d602081101561410357600080fd5b50519050801561411a57611f9a60036012836127e0565b614122612846565b600a541461413657611f9a600a601661228c565b61413e612846565b836001600160a01b0316636c540baf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561417757600080fd5b505afa15801561418b573d6000803e3d6000fd5b505050506040513d60208110156141a157600080fd5b5051146141b457611f9a600a601161228c565b856001600160a01b0316856001600160a01b031614156141da57611f9a6006601761228c565b836141eb57611f9a6007601561228c565b60001984141561420157611f9a6007601461228c565b6006546040805163c488847b60e01b81523060048201526001600160a01b038681166024830152604482018890528251600094859492169263c488847b926064808301939192829003018186803b15801561425b57600080fd5b505afa15801561426f573d6000803e3d6000fd5b505050506040513d604081101561428557600080fd5b508051602090910151909250905081156142b0576142a660046013846127e0565b9350505050610b53565b846001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561430657600080fd5b505afa15801561431a573d6000803e3d6000fd5b505050506040513d602081101561433057600080fd5b5051811115614345576142a6600d601d61228c565b6000614352898989612c56565b9050801561437b5761437081601081111561436957fe5b601861228c565b945050505050610b53565b6040805163b2a02ff160e01b81526001600160a01b038b811660048301528a8116602483015260448201859052915160009289169163b2a02ff191606480830192602092919082900301818787803b1580156143d657600080fd5b505af11580156143ea573d6000803e3d6000fd5b505050506040513d602081101561440057600080fd5b50519050801561444e576040805162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b03808d168252808c1660208301528183018b9052891660608201526080810185905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a1600654604080516347ef3b3b60e01b81523060048201526001600160a01b038a811660248301528d811660448301528c81166064830152608482018c905260a48201879052915191909216916347ef3b3b9160c480830192600092919082900301818387803b15801561451957600080fd5b505af115801561452d573d6000803e3d6000fd5b506000925061453a915050565b9a9950505050505050505050565b60125460408051636eb1769f60e11b81526001600160a01b038581166004830152306024830152915160009392909216918491839163dd62ed3e91604480820192602092909190829003018186803b1580156145a357600080fd5b505afa1580156145b7573d6000803e3d6000fd5b505050506040513d60208110156145cd57600080fd5b505110156145df57600c9150506108d1565b82816001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561463657600080fd5b505afa15801561464a573d6000803e3d6000fd5b505050506040513d602081101561466057600080fd5b5051101561467257600d9150506108d1565b5060009392505050565b601254604080516323b872dd60e01b81526001600160a01b0385811660048301523060248301526044820185905291516000939290921691839183916323b872dd91606480820192869290919082900301818387803b1580156146de57600080fd5b505af11580156146f2573d6000803e3d6000fd5b505050503d6000811461470c576020811461471657600080fd5b6000199150614722565b60206000803e60005191505b508061325757600f925050506108d1565b600080600061474061474a565b6124798686612957565b6040518060200160405280600081525090565b60408051610140810190915280600081526020016000815260200160008152602001600081526020016000815260200161479561474a565b8152602001600081526020016000815260200160008152602001600081525090565b6040805160e0810190915280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160c0810190915280600081526020016000614795565b6040805160a08101909152806000815260200160008152602001600081526020016000815260200160008152509056fe737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7773506572206661696c6564726564756365207265736572766573207472616e73666572206f7574206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720737570706c7952617465206661696c6564626f72726f7742616c616e636553746f7265643a20626f72726f7742616c616e636553746f726564496e7465726e616c206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720756e6465726c79696e67206661696c6564626f72726f7752617465506572426c6f636b3a20696e746572657374526174654d6f64656c2e626f72726f7752617465206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7752617465206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef737570706c7952617465506572426c6f636b3a2063616c63756c6174696e67206f6e654d696e757352657365727665466163746f72206661696c656465786368616e67655261746553746f7265643a2065786368616e67655261746553746f726564496e7465726e616c206661696c65646f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416d6f756e74496e206d757374206265207a65726f72656475636520726573657276657320756e657870656374656420756e646572666c6f77a265627a7a7231582009e8b846f6db474f231d7e61c3342f9659c95f1b50979e2e17c6574fdb6dfd1364736f6c63430005100032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102a05760003560e01c806394c393fc11610167578063c5ebeaec116100ce578063f3fdb15a11610087578063f3fdb15a1461076a578063f5e3c46214610772578063f77c4791146107a8578063f851a440146107b0578063f8f9da28146107b8578063fca7820b146107c0576102a0565b8063c5ebeaec146106ae578063db006a75146106cb578063dd62ed3e146106e8578063e9c714f214610716578063ef7c74e41461071e578063f2b3abbd14610744576102a0565b8063aa5af0fd11610120578063aa5af0fd146105ee578063ae9d70b0146105f6578063b2a02ff1146105fe578063b71d1a0c14610634578063bd6d894d1461065a578063c37f68e214610662576102a0565b806394c393fc1461056757806395d89b411461056f57806395dd919314610577578063a0712d681461059d578063a6afed95146105ba578063a9059cbb146105c2576102a0565b80633af9e6691161020b5780636f307dc3116101c45780636f307dc3146104e657806370a08231146104ee57806373acee981461051457806383de424e1461051c578063852a12e3146105425780638f840ddd1461055f576102a0565b80633af9e669146104835780633b1d21a2146104a957806347bd3718146104b1578063601a0bf1146104b9578063675d972c146104d65780636c540baf146104de576102a0565b8063182df0f51161025d578063182df0f5146103c757806323b872dd146103cf5780632608f8181461040557806326782247146104315780632d75635914610455578063313ce5671461047b576102a0565b806306fdde03146102a5578063095ea7b3146103225780630e75270214610362578063173b99041461039157806317bfdfbc1461039957806318160ddd146103bf575b600080fd5b6102ad6107dd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61034e6004803603604081101561033857600080fd5b506001600160a01b03813516906020013561086a565b604080519115158252519081900360200190f35b61037f6004803603602081101561037857600080fd5b50356108d7565b60408051918252519081900360200190f35b61037f6108ea565b61037f600480360360208110156103af57600080fd5b50356001600160a01b03166108f0565b61037f6109a3565b61037f6109a9565b61034e600480360360608110156103e557600080fd5b506001600160a01b03813581169160208101359091169060400135610a0c565b61037f6004803603604081101561041b57600080fd5b506001600160a01b038135169060200135610a72565b610439610a85565b604080516001600160a01b039092168252519081900360200190f35b61037f6004803603602081101561046b57600080fd5b50356001600160a01b0316610a94565b61037f610ae7565b61037f6004803603602081101561049957600080fd5b50356001600160a01b0316610aed565b61037f610b5b565b61037f610b6a565b61037f600480360360208110156104cf57600080fd5b5035610b70565b61037f610bf8565b61037f610bfe565b610439610c04565b61037f6004803603602081101561050457600080fd5b50356001600160a01b0316610c13565b61037f610c2e565b61037f6004803603602081101561053257600080fd5b50356001600160a01b0316610cd8565b61037f6004803603602081101561055857600080fd5b5035610e22565b61037f610e2d565b61034e610e33565b6102ad610e38565b61037f6004803603602081101561058d57600080fd5b50356001600160a01b0316610e90565b61037f600480360360208110156105b357600080fd5b5035610eed565b61037f610ef8565b61034e600480360360408110156105d857600080fd5b506001600160a01b0381351690602001356112f1565b61037f611356565b61037f61135c565b61037f6004803603606081101561061457600080fd5b506001600160a01b03813581169160208101359091169060400135611627565b61037f6004803603602081101561064a57600080fd5b50356001600160a01b03166118d8565b61037f61195f565b6106886004803603602081101561067857600080fd5b50356001600160a01b0316611a0a565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61037f600480360360208110156106c457600080fd5b5035611a9f565b61037f600480360360208110156106e157600080fd5b5035611aaa565b61037f600480360360408110156106fe57600080fd5b506001600160a01b0381358116916020013516611ab5565b61037f611ae0565b61037f6004803603602081101561073457600080fd5b50356001600160a01b0316611bcf565b61037f6004803603602081101561075a57600080fd5b50356001600160a01b0316611c80565b610439611cba565b61037f6004803603606081101561078857600080fd5b506001600160a01b03813581169160208101359160409091013516611cc9565b610439611cd6565b610439611ce5565b61037f611cf4565b61037f600480360360208110156107d657600080fd5b5035611dd0565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108625780601f1061083757610100808354040283529160200191610862565b820191906000526020600020905b81548152906001019060200180831161084557829003601f168201915b505050505081565b3360008181526010602090815260408083206001600160a01b03871680855290835281842086905581518681529151939493909284927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a360019150505b92915050565b60006108e282611e0a565b90505b919050565b60095481565b6000805460010180825581610903610ef8565b1461094e576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b61095783610e90565b91505b600054811461099d576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b50919050565b600e5481565b60008060006109b6611e46565b909250905060008260038111156109c957fe5b14610a055760405162461bcd60e51b81526004018080602001828103825260358152602001806149f16035913960400191505060405180910390fd5b9150505b90565b6000805460010180825581610a2333878787611ef4565b1491505b6000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b509392505050565b6000610a7e8383612202565b9392505050565b6005546001600160a01b031681565b6004546000906001600160a01b03163314610abc57610ab5600a604161228c565b90506108e5565b600780546001600160a01b0319166001600160a01b03848116919091179182905561099d91166122f2565b60035481565b6000610af761474a565b6040518060200160405280610b0a61195f565b90526001600160a01b0384166000908152600f6020526040812054919250908190610b36908490612462565b90925090506000826003811115610b4957fe5b14610b5357600080fd5b949350505050565b6000610b656124b6565b905090565b600c5481565b6000805460010180825581610b83610ef8565b90508015610ba957610ba1816010811115610b9a57fe5b603061228c565b92505061095a565b610bb284612536565b925050600054811461099d576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60085481565b600a5481565b6012546001600160a01b031681565b6001600160a01b03166000908152600f602052604090205490565b6000805460010180825581610c41610ef8565b14610c8c576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b600c5491506000548114610cd4576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5090565b6004546000906001600160a01b03163314610cf957610ab56001603f61228c565b60065460408051634e1647fb60e01b815290516001600160a01b0392831692851691634e1647fb916004808301926020929190829003018186803b158015610d4057600080fd5b505afa158015610d54573d6000803e3d6000fd5b505050506040513d6020811015610d6a57600080fd5b5051610dbd576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517ff9b6a28700579d5c8fab50f0ac2dcaa52109b85c369c4f511fcc873330ab6cbb9281900390910190a160009392505050565b60006108e2826126b4565b600d5481565b600181565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156108625780601f1061083757610100808354040283529160200191610862565b6000806000610e9e846126f1565b90925090506000826003811115610eb157fe5b14610a7e5760405162461bcd60e51b81526004018080602001828103825260378152602001806148c56037913960400191505060405180910390fd5b60006108e2826127a5565b6000610f0261475d565b6007546001600160a01b03166315f24053610f1b6124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b158015610f6257600080fd5b505afa158015610f76573d6000803e3d6000fd5b505050506040513d6040811015610f8c57600080fd5b50805160209182015160408401819052918301526601c6bf526340001015610ffb576040805162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015290519081900360640190fd5b60208101511561101e576110166005600283602001516127e0565b915050610a09565b611026612846565b60608201819052600a5461103a919061284a565b608083018190528282600381111561104e57fe5b600381111561105957fe5b905250600090508151600381111561106d57fe5b1461107457fe5b61109460405180602001604052808360400151815250826080015161286d565b60a08301819052828260038111156110a857fe5b60038111156110b357fe5b90525060009050815160038111156110c757fe5b146110e85761101660096006836000015160038111156110e357fe5b6127e0565b6110f88160a00151600c54612462565b60c083018190528282600381111561110c57fe5b600381111561111757fe5b905250600090508151600381111561112b57fe5b146111475761101660096001836000015160038111156110e357fe5b6111578160c00151600c546128d5565b60e083018190528282600381111561116b57fe5b600381111561117657fe5b905250600090508151600381111561118a57fe5b146111a65761101660096004836000015160038111156110e357fe5b6111c760405180602001604052806009548152508260c00151600d546128fb565b6101008301819052828260038111156111dc57fe5b60038111156111e757fe5b90525060009050815160038111156111fb57fe5b146112175761101660096005836000015160038111156110e357fe5b61122a8160a00151600b54600b546128fb565b61012083018190528282600381111561123f57fe5b600381111561124a57fe5b905250600090508151600381111561125e57fe5b1461127a5761101660096003836000015160038111156110e357fe5b606080820151600a55610120820151600b81905560e0830151600c819055610100840151600d5560c08401516040805191825260208201939093528083019190915290517f875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9929181900390910190a1600091505090565b600080546001018082558161130833338787611ef4565b1491505b600054811461134f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5092915050565b600b5481565b6000806113676109a9565b60075490915060009081906001600160a01b03166315f240536113886124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b1580156113cf57600080fd5b505afa1580156113e3573d6000803e3d6000fd5b505050506040513d60408110156113f957600080fd5b508051602090910151909250905081156114445760405162461bcd60e51b81526004018080602001828103825260318152602001806149646031913960400191505060405180910390fd5b600061144e61474a565b611468604051806020016040528087815250600e5461286d565b9092509050600082600381111561147b57fe5b146114b75760405162461bcd60e51b81526004018080602001828103825260318152602001806148fc6031913960400191505060405180910390fd5b60006114c161474a565b6114cd600c5484612957565b909250905060008260038111156114e057fe5b1461151c5760405162461bcd60e51b81526004018080602001828103825260318152602001806148406031913960400191505060405180910390fd5b600061152661474a565b6115566040518060200160405280670de0b6b3a764000081525060405180602001604052806009548152506129b6565b9092509050600082600381111561156957fe5b146115a55760405162461bcd60e51b815260040180806020018281038252603c8152602001806149b5603c913960400191505060405180910390fd5b60006115af61474a565b6115c860405180602001604052808b81525084876129f0565b909250905060008260038111156115db57fe5b146116175760405162461bcd60e51b81526004018080602001828103825260318152602001806148946031913960400191505060405180910390fd5b519a505050505050505050505090565b600080546001018082556006546040805163d02f735160e01b81523060048201523360248201526001600160a01b03888116604483015287811660648301526084820187905291518593929092169163d02f73519160a48082019260209290919082900301818787803b15801561169d57600080fd5b505af11580156116b1573d6000803e3d6000fd5b505050506040513d60208110156116c757600080fd5b5051905080156116e6576116de6003601b836127e0565b925050610a27565b856001600160a01b0316856001600160a01b0316141561170c576116de6006601c61228c565b6001600160a01b0385166000908152600f602052604081205481908190611733908861284a565b9093509150600083600381111561174657fe5b146117695761175e6009601a8560038111156110e357fe5b955050505050610a27565b6001600160a01b0389166000908152600f602052604090205461178c90886128d5565b9093509050600083600381111561179f57fe5b146117b75761175e600960198560038111156110e357fe5b6001600160a01b038089166000818152600f60209081526040808320879055938d168083529184902085905583518b815293519193600080516020614995833981519152929081900390910190a360065460408051636d35bf9160e01b81523060048201523360248201526001600160a01b038c811660448301528b81166064830152608482018b905291519190921691636d35bf919160a480830192600092919082900301818387803b15801561186e57600080fd5b505af1158015611882573d6000803e3d6000fd5b506000925061188f915050565b9550505050506000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6004546000906001600160a01b031633146118f957610ab56001604561228c565b600580546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9929181900390910190a16000610a7e565b6000805460010180825581611972610ef8565b146119bd576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b6119c56109a9565b91506000548114610cd4576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6001600160a01b0381166000908152600f6020526040812054819081908190818080611a35896126f1565b935090506000816003811115611a4757fe5b14611a655760095b975060009650869550859450611a989350505050565b611a6d611e46565b925090506000816003811115611a7f57fe5b14611a8b576009611a4f565b5060009650919450925090505b9193509193565b60006108e282612a3a565b60006108e282612a75565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b6005546000906001600160a01b031633141580611afb575033155b15611b1357611b0c6001600061228c565b9050610a09565b60048054600580546001600160a01b038082166001600160a01b031980861682179687905590921690925560408051938316808552949092166020840152815190927ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc92908290030190a1600554604080516001600160a01b038085168252909216602083015280517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99281900390910190a160009250505090565b6004546000906001600160a01b03163314611bf057610ab56001603f61228c565b601280546001600160a01b0319166001600160a01b038481169190911791829055604080516318160ddd60e01b8152905192909116916318160ddd91600480820192602092909190829003018186803b158015611c4c57600080fd5b505afa158015611c60573d6000803e3d6000fd5b505050506040513d6020811015611c7657600080fd5b50600090506108e2565b600080611c8b610ef8565b90508015611cb157611ca9816010811115611ca257fe5b604061228c565b9150506108e5565b610a7e836122f2565b6007546001600160a01b031681565b6000610b53848484612aab565b6006546001600160a01b031681565b6004546001600160a01b031681565b600754600090819081906001600160a01b03166315f24053611d146124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b158015611d5b57600080fd5b505afa158015611d6f573d6000803e3d6000fd5b505050506040513d6040811015611d8557600080fd5b50805160209091015190925090508115610a055760405162461bcd60e51b815260040180806020018281038252603781526020018061492d6037913960400191505060405180910390fd5b6000805460010180825581611de3610ef8565b90508015611e0157610ba1816010811115611dfa57fe5b604661228c565b610bb284612bb3565b6000805460010180825581611e1d610ef8565b90508015611e3b57610ba1816010811115611e3457fe5b603661228c565b610bb2333386612c56565b600080600e5460001415611e61575050600854600090611ef0565b6000611e6b6124b6565b90506000611e7761474a565b6000611e8884600c54600d546130a9565b935090506000816003811115611e9a57fe5b14611eae57945060009350611ef092505050565b611eba83600e546130e7565b925090506000816003811115611ecc57fe5b14611ee057945060009350611ef092505050565b5051600094509250611ef0915050565b9091565b600654604080516317b9b84b60e31b81523060048201526001600160a01b03868116602483015285811660448301526064820185905291516000938493169163bdcdc25891608480830192602092919082900301818787803b158015611f5957600080fd5b505af1158015611f6d573d6000803e3d6000fd5b505050506040513d6020811015611f8357600080fd5b505190508015611fa257611f9a6003604a836127e0565b915050610b53565b836001600160a01b0316856001600160a01b03161415611fc857611f9a6002604b61228c565b60006001600160a01b038781169087161415611fe7575060001961200f565b506001600160a01b038086166000908152601060209081526040808320938a16835292905220545b60008060008061201f858961284a565b9094509250600084600381111561203257fe5b14612050576120436009604b61228c565b9650505050505050610b53565b6001600160a01b038a166000908152600f6020526040902054612073908961284a565b9094509150600084600381111561208657fe5b14612097576120436009604c61228c565b6001600160a01b0389166000908152600f60205260409020546120ba90896128d5565b909450905060008460038111156120cd57fe5b146120de576120436009604d61228c565b6001600160a01b03808b166000908152600f6020526040808220859055918b168152208190556000198514612136576001600160a01b03808b166000908152601060209081526040808320938f168352929052208390555b886001600160a01b03168a6001600160a01b03166000805160206149958339815191528a6040518082815260200191505060405180910390a36006546040805163352b4a3f60e11b81523060048201526001600160a01b038d811660248301528c81166044830152606482018c905291519190921691636a56947e91608480830192600092919082900301818387803b1580156121d257600080fd5b505af11580156121e6573d6000803e3d6000fd5b50600092506121f3915050565b9b9a5050505050505050505050565b6000805460010180825581612215610ef8565b9050801561223b5761223381601081111561222c57fe5b603561228c565b92505061130c565b612246338686612c56565b925050600054811461134f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa08360108111156122bb57fe5b83604d8111156122c757fe5b604080519283526020830191909152600082820152519081900360600190a1826010811115610a7e57fe5b60045460009081906001600160a01b0316331461231557611ca96001604261228c565b61231d612846565b600a541461233157611ca9600a604161228c565b600760009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561238257600080fd5b505afa158015612396573d6000803e3d6000fd5b505050506040513d60208110156123ac57600080fd5b50516123ff576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a16000610a7e565b600080600061246f61474a565b612479868661286d565b9092509050600082600381111561248c57fe5b1461249d57509150600090506124af565b60006124a882613197565b9350935050505b9250929050565b601254604080516370a0823160e01b815230600482015290516000926001600160a01b03169182916370a0823191602480820192602092909190829003018186803b15801561250457600080fd5b505afa158015612518573d6000803e3d6000fd5b505050506040513d602081101561252e57600080fd5b505191505090565b600454600090819081906001600160a01b031633146125645761255b6001603161228c565b925050506108e5565b61256c612846565b600a54146125805761255b600a603361228c565b836125896124b6565b101561259b5761255b600e603261228c565b600d548411156125b15761255b6002603461228c565b50600d54838103908111156125f75760405162461bcd60e51b8152600401808060200182810382526024815260200180614a5a6024913960400191505060405180910390fd5b600d819055600454612612906001600160a01b0316856131a6565b9150600082601081111561262257fe5b1461265e5760405162461bcd60e51b81526004018080602001828103825260238152602001806148716023913960400191505060405180910390fd5b600454604080516001600160a01b03909216825260208201869052818101839052517f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e9181900360600190a16000949350505050565b60008054600101808255816126c7610ef8565b905080156126e557610ba18160108111156126de57fe5b602761228c565b610bb233600086613262565b6001600160a01b0381166000908152601160205260408120805482918291829182916127285750600094508493506127a092505050565b6127388160000154600b5461376b565b9094509250600084600381111561274b57fe5b146127605750919350600092506127a0915050565b61276e8382600101546137aa565b9094509150600084600381111561278157fe5b146127965750919350600092506127a0915050565b5060009450925050505b915091565b60008054600101808255816127b8610ef8565b905080156127d657610ba18160108111156127cf57fe5b601e61228c565b610bb233856137d5565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa084601081111561280f57fe5b84604d81111561281b57fe5b604080519283526020830191909152818101859052519081900360600190a1836010811115610b5357fe5b4390565b6000808383116128615750600090508183036124af565b506003905060006124af565b600061287761474a565b60008061288886600001518661376b565b9092509050600082600381111561289b57fe5b146128ba575060408051602081019091526000815290925090506124af565b60408051602081019091529081526000969095509350505050565b6000808383018481106128ed576000925090506124af565b5060029150600090506124af565b600080600061290861474a565b612912878761286d565b9092509050600082600381111561292557fe5b14612936575091506000905061294f565b61294861294282613197565b866128d5565b9350935050505b935093915050565b600061296161474a565b600080612976670de0b6b3a76400008761376b565b9092509050600082600381111561298957fe5b146129a8575060408051602081019091526000815290925090506124af565b6124a88186600001516130e7565b60006129c061474a565b6000806129d58660000151866000015161284a565b60408051602081019091529081529097909650945050505050565b60006129fa61474a565b6000612a0461474a565b612a0e8787613c1d565b90925090506000826003811115612a2157fe5b14612a3057909250905061294f565b6129488186613c1d565b6000805460010180825581612a4d610ef8565b90508015612a6b57610ba1816010811115612a6457fe5b600861228c565b610bb23385613d06565b6000805460010180825581612a88610ef8565b90508015612a9f57610ba18160108111156126de57fe5b610bb233856000613262565b6000805460010180825581612abe610ef8565b90508015612adc576116de816010811115612ad557fe5b600f61228c565b836001600160a01b031663a6afed956040518163ffffffff1660e01b8152600401602060405180830381600087803b158015612b1757600080fd5b505af1158015612b2b573d6000803e3d6000fd5b505050506040513d6020811015612b4157600080fd5b505190508015612b61576116de816010811115612b5a57fe5b601061228c565b612b6d3387878761406c565b9250506000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6004546000906001600160a01b03163314612bd457610ab56001604761228c565b612bdc612846565b600a5414612bf057610ab5600a604861228c565b670de0b6b3a7640000821115612c0c57610ab56002604961228c565b6009805490839055604080518281526020810185905281517faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460929181900390910190a16000610a7e565b60065460408051631200453160e11b81523060048201526001600160a01b0386811660248301528581166044830152606482018590529151600093849316916324008a6291608480830192602092919082900301818787803b158015612cbb57600080fd5b505af1158015612ccf573d6000803e3d6000fd5b505050506040513d6020811015612ce557600080fd5b505190508015612d0457612cfc60036038836127e0565b915050610a7e565b612d0c612846565b600a5414612d2057612cfc600a603961228c565b612d286147b7565b6001600160a01b0385166000908152601160205260409020600101546060820152612d52856126f1565b6080830181905260208301826003811115612d6957fe5b6003811115612d7457fe5b9052506000905081602001516003811115612d8b57fe5b14612db057612da760096037836020015160038111156110e357fe5b92505050610a7e565b600019841415612dc95760808101516040820152612dd1565b604081018490525b612ddf868260400151614548565b81906010811115612dec57fe5b90816010811115612df957fe5b905250600081516010811115612e0b57fe5b14612e1d578051612da790603c61228c565b612e2f8160800151826040015161284a565b60a0830181905260208301826003811115612e4657fe5b6003811115612e5157fe5b9052506000905081602001516003811115612e6857fe5b14612e8457612da76009603a836020015160038111156110e357fe5b612e94600c54826040015161284a565b60c0830181905260208301826003811115612eab57fe5b6003811115612eb657fe5b9052506000905081602001516003811115612ecd57fe5b14612ee957612da76009603b836020015160038111156110e357fe5b612ef786826040015161467c565b81906010811115612f0457fe5b90816010811115612f1157fe5b905250600081516010811115612f2357fe5b14612f75576040805162461bcd60e51b815260206004820152601f60248201527f726570617920626f72726f77207472616e7366657220696e206661696c656400604482015290519081900360640190fd5b60a080820180516001600160a01b03808916600081815260116020908152604091829020948555600b5460019095019490945560c0870151600c8190558188015195518251948e16855294840192909252828101949094526060820192909252608081019190915290517f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1929181900390910190a160065460408083015160608401518251631ededc9160e01b81523060048201526001600160a01b038b811660248301528a81166044830152606482019390935260848101919091529151921691631ededc919160a48082019260009290919082900301818387803b15801561307e57600080fd5b505af1158015613092573d6000803e3d6000fd5b506000925061309f915050565b9695505050505050565b6000806000806130b987876128d5565b909250905060008260038111156130cc57fe5b146130dd575091506000905061294f565b612948818661284a565b60006130f161474a565b60008061310686670de0b6b3a764000061376b565b9092509050600082600381111561311957fe5b14613138575060408051602081019091526000815290925090506124af565b60008061314583886137aa565b9092509050600082600381111561315857fe5b1461317a575060408051602081019091526000815290945092506124af915050565b604080516020810190915290815260009890975095505050505050565b51670de0b6b3a7640000900490565b6012546040805163a9059cbb60e01b81526001600160a01b03858116600483015260248201859052915160009392909216918391839163a9059cbb91604480820192869290919082900301818387803b15801561320257600080fd5b505af1158015613216573d6000803e3d6000fd5b505050503d60008114613230576020811461323a57600080fd5b6000199150613246565b60206000803e60005191505b5080613257576010925050506108d1565b506000949350505050565b600082158061326f575081155b6132aa5760405162461bcd60e51b8152600401808060200182810382526034815260200180614a266034913960400191505060405180910390fd5b6132b26147b7565b6132ba611e46565b60408301819052602083018260038111156132d157fe5b60038111156132dc57fe5b90525060009050816020015160038111156132f357fe5b1461330f57612cfc6009602b836020015160038111156110e357fe5b83156133905760608101849052604080516020810182529082015181526133369085612462565b608083018190526020830182600381111561334d57fe5b600381111561335857fe5b905250600090508160200151600381111561336f57fe5b1461338b57612cfc60096029836020015160038111156110e357fe5b613409565b6133ac8360405180602001604052808460400151815250614733565b60608301819052602083018260038111156133c357fe5b60038111156133ce57fe5b90525060009050816020015160038111156133e557fe5b1461340157612cfc6009602a836020015160038111156110e357fe5b608081018390525b60065460608201516040805163eabe7d9160e01b81523060048201526001600160a01b03898116602483015260448201939093529051600093929092169163eabe7d919160648082019260209290919082900301818787803b15801561346e57600080fd5b505af1158015613482573d6000803e3d6000fd5b505050506040513d602081101561349857600080fd5b5051905080156134af57612da760036028836127e0565b6134b7612846565b600a54146134cb57612da7600a602c61228c565b6134db600e54836060015161284a565b60a08401819052602084018260038111156134f257fe5b60038111156134fd57fe5b905250600090508260200151600381111561351457fe5b1461353057612da76009602e846020015160038111156110e357fe5b6001600160a01b0386166000908152600f60205260409020546060830151613558919061284a565b60c084018190526020840182600381111561356f57fe5b600381111561357a57fe5b905250600090508260200151600381111561359157fe5b146135ad57612da76009602d846020015160038111156110e357fe5b81608001516135ba6124b6565b10156135cc57612da7600e602f61228c565b6135da8683608001516131a6565b829060108111156135e757fe5b908160108111156135f457fe5b90525060008251601081111561360657fe5b14613658576040805162461bcd60e51b815260206004820152601a60248201527f72656465656d207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b60a0820151600e5560c08201516001600160a01b0387166000818152600f6020908152604091829020939093556060850151815190815290513093600080516020614995833981519152928290030190a36080820151606080840151604080516001600160a01b038b168152602081019490945283810191909152517fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9299281900390910190a160065460808301516060840151604080516351dff98960e01b81523060048201526001600160a01b038b81166024830152604482019490945260648101929092525191909216916351dff98991608480830192600092919082900301818387803b15801561307e57600080fd5b6000808361377e575060009050806124af565b8383028385828161378b57fe5b041461379f575060029150600090506124af565b6000925090506124af565b600080826137be57506001905060006124af565b60008385816137c957fe5b04915091509250929050565b60065460408051634ef4c3e160e01b81523060048201526001600160a01b03858116602483015260448201859052915160009384931691634ef4c3e191606480830192602092919082900301818787803b15801561383257600080fd5b505af1158015613846573d6000803e3d6000fd5b505050506040513d602081101561385c57600080fd5b50519050801561387b576138736003601f836127e0565b9150506108d1565b613883612846565b600a541461389757613873600a602261228c565b61389f6147f5565b6138a98585614548565b819060108111156138b657fe5b908160108111156138c357fe5b9052506000815160108111156138d557fe5b146138f05780516138e790602661228c565b925050506108d1565b6138f8611e46565b604083018190526020830182600381111561390f57fe5b600381111561391a57fe5b905250600090508160200151600381111561393157fe5b1461394d576138e760096021836020015160038111156110e357fe5b6139698460405180602001604052808460400151815250614733565b606083018190526020830182600381111561398057fe5b600381111561398b57fe5b90525060009050816020015160038111156139a257fe5b146139be576138e760096020836020015160038111156110e357fe5b6139ce600e5482606001516128d5565b60808301819052602083018260038111156139e557fe5b60038111156139f057fe5b9052506000905081602001516003811115613a0757fe5b14613a23576138e760096024836020015160038111156110e357fe5b6001600160a01b0385166000908152600f60205260409020546060820151613a4b91906128d5565b60a0830181905260208301826003811115613a6257fe5b6003811115613a6d57fe5b9052506000905081602001516003811115613a8457fe5b14613aa0576138e760096023836020015160038111156110e357fe5b613aaa858561467c565b81906010811115613ab757fe5b90816010811115613ac457fe5b905250600081516010811115613ad657fe5b14613ae85780516138e790602561228c565b6080810151600e5560a08101516001600160a01b0386166000818152600f602090815260409182902093909355606080850151825193845293830188905282820193909352517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f929181900390910190a1606081015160408051918252516001600160a01b0387169130916000805160206149958339815191529181900360200190a36006546060820151604080516341c728b960e01b81523060048201526001600160a01b038981166024830152604482018990526064820193909352905191909216916341c728b991608480830192600092919082900301818387803b158015613bf357600080fd5b505af1158015613c07573d6000803e3d6000fd5b5060009250613c14915050565b95945050505050565b6000613c2761474a565b600080613c3c8660000151866000015161376b565b90925090506000826003811115613c4f57fe5b14613c6e575060408051602081019091526000815290925090506124af565b600080613c836706f05b59d3b20000846128d5565b90925090506000826003811115613c9657fe5b14613cb8575060408051602081019091526000815290945092506124af915050565b600080613ccd83670de0b6b3a76400006137aa565b90925090506000826003811115613ce057fe5b14613ce757fe5b604080516020810190915290815260009a909950975050505050505050565b6006546040805163368f515360e21b81523060048201526001600160a01b0385811660248301526044820185905291516000938493169163da3d454c91606480830192602092919082900301818787803b158015613d6357600080fd5b505af1158015613d77573d6000803e3d6000fd5b505050506040513d6020811015613d8d57600080fd5b505190508015613da4576138736003600e836127e0565b613dac612846565b600a5414613dbf57613873600a8061228c565b82613dc86124b6565b1015613dda57613873600e600961228c565b613de261480f565b613deb856126f1565b6040830181905260208301826003811115613e0257fe5b6003811115613e0d57fe5b9052506000905081602001516003811115613e2457fe5b14613e40576138e760096007836020015160038111156110e357fe5b613e4e8160400151856128d5565b6060830181905260208301826003811115613e6557fe5b6003811115613e7057fe5b9052506000905081602001516003811115613e8757fe5b14613ea3576138e76009600c836020015160038111156110e357fe5b613eaf600c54856128d5565b6080830181905260208301826003811115613ec657fe5b6003811115613ed157fe5b9052506000905081602001516003811115613ee857fe5b14613f04576138e76009600b836020015160038111156110e357fe5b613f0e85856131a6565b81906010811115613f1b57fe5b90816010811115613f2857fe5b905250600081516010811115613f3a57fe5b14613f8c576040805162461bcd60e51b815260206004820152601a60248201527f626f72726f77207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b606080820180516001600160a01b038816600081815260116020908152604091829020938455600b54600190940193909355608080870151600c819055945182519384529383018a9052828201939093529381019290925291517f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80929181900390910190a160065460408051635c77860560e01b81523060048201526001600160a01b0388811660248301526044820188905291519190921691635c77860591606480830192600092919082900301818387803b158015613bf357600080fd5b60065460408051632fe3f38f60e11b81523060048201526001600160a01b0384811660248301528781166044830152868116606483015260848201869052915160009384931691635fc7e71e9160a480830192602092919082900301818787803b1580156140d957600080fd5b505af11580156140ed573d6000803e3d6000fd5b505050506040513d602081101561410357600080fd5b50519050801561411a57611f9a60036012836127e0565b614122612846565b600a541461413657611f9a600a601661228c565b61413e612846565b836001600160a01b0316636c540baf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561417757600080fd5b505afa15801561418b573d6000803e3d6000fd5b505050506040513d60208110156141a157600080fd5b5051146141b457611f9a600a601161228c565b856001600160a01b0316856001600160a01b031614156141da57611f9a6006601761228c565b836141eb57611f9a6007601561228c565b60001984141561420157611f9a6007601461228c565b6006546040805163c488847b60e01b81523060048201526001600160a01b038681166024830152604482018890528251600094859492169263c488847b926064808301939192829003018186803b15801561425b57600080fd5b505afa15801561426f573d6000803e3d6000fd5b505050506040513d604081101561428557600080fd5b508051602090910151909250905081156142b0576142a660046013846127e0565b9350505050610b53565b846001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561430657600080fd5b505afa15801561431a573d6000803e3d6000fd5b505050506040513d602081101561433057600080fd5b5051811115614345576142a6600d601d61228c565b6000614352898989612c56565b9050801561437b5761437081601081111561436957fe5b601861228c565b945050505050610b53565b6040805163b2a02ff160e01b81526001600160a01b038b811660048301528a8116602483015260448201859052915160009289169163b2a02ff191606480830192602092919082900301818787803b1580156143d657600080fd5b505af11580156143ea573d6000803e3d6000fd5b505050506040513d602081101561440057600080fd5b50519050801561444e576040805162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b03808d168252808c1660208301528183018b9052891660608201526080810185905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a1600654604080516347ef3b3b60e01b81523060048201526001600160a01b038a811660248301528d811660448301528c81166064830152608482018c905260a48201879052915191909216916347ef3b3b9160c480830192600092919082900301818387803b15801561451957600080fd5b505af115801561452d573d6000803e3d6000fd5b506000925061453a915050565b9a9950505050505050505050565b60125460408051636eb1769f60e11b81526001600160a01b038581166004830152306024830152915160009392909216918491839163dd62ed3e91604480820192602092909190829003018186803b1580156145a357600080fd5b505afa1580156145b7573d6000803e3d6000fd5b505050506040513d60208110156145cd57600080fd5b505110156145df57600c9150506108d1565b82816001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561463657600080fd5b505afa15801561464a573d6000803e3d6000fd5b505050506040513d602081101561466057600080fd5b5051101561467257600d9150506108d1565b5060009392505050565b601254604080516323b872dd60e01b81526001600160a01b0385811660048301523060248301526044820185905291516000939290921691839183916323b872dd91606480820192869290919082900301818387803b1580156146de57600080fd5b505af11580156146f2573d6000803e3d6000fd5b505050503d6000811461470c576020811461471657600080fd5b6000199150614722565b60206000803e60005191505b508061325757600f925050506108d1565b600080600061474061474a565b6124798686612957565b6040518060200160405280600081525090565b60408051610140810190915280600081526020016000815260200160008152602001600081526020016000815260200161479561474a565b8152602001600081526020016000815260200160008152602001600081525090565b6040805160e0810190915280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160c0810190915280600081526020016000614795565b6040805160a08101909152806000815260200160008152602001600081526020016000815260200160008152509056fe737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7773506572206661696c6564726564756365207265736572766573207472616e73666572206f7574206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720737570706c7952617465206661696c6564626f72726f7742616c616e636553746f7265643a20626f72726f7742616c616e636553746f726564496e7465726e616c206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720756e6465726c79696e67206661696c6564626f72726f7752617465506572426c6f636b3a20696e746572657374526174654d6f64656c2e626f72726f7752617465206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7752617465206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef737570706c7952617465506572426c6f636b3a2063616c63756c6174696e67206f6e654d696e757352657365727665466163746f72206661696c656465786368616e67655261746553746f7265643a2065786368616e67655261746553746f726564496e7465726e616c206661696c65646f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416d6f756e74496e206d757374206265207a65726f72656475636520726573657276657320756e657870656374656420756e646572666c6f77a265627a7a7231582009e8b846f6db474f231d7e61c3342f9659c95f1b50979e2e17c6574fdb6dfd1364736f6c63430005100032

Deployed Bytecode Sourcemap

90418:8522:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;90418:8522:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22441: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;22441:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31535:237;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;31535:237:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;92583:121;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;92583:121:0;;:::i;:::-;;;;;;;;;;;;;;;;23714:33;;;:::i;37243:224::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37243:224:0;-1:-1:-1;;;;;37243:224:0;;:::i;24350:26::-;;;:::i;40088:261::-;;;:::i;30870:195::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30870:195:0;;;;;;;;;;;;;;;;;:::i;92992:161::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;92992:161:0;;;;;;;;:::i;23142:35::-;;;:::i;:::-;;;;-1:-1:-1;;;;;23142:35:0;;;;;;;;;;;;;;86688:477;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;86688:477:0;-1:-1:-1;;;;;86688:477:0;;:::i;22637:20::-;;;:::i;32803:319::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32803:319:0;-1:-1:-1;;;;;32803:319:0;;:::i;41925:88::-;;;:::i;24114:24::-;;;:::i;82769:571::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;82769:571:0;;:::i;23578:39::-;;;:::i;23837:30::-;;;:::i;90520:25::-;;;:::i;32435:112::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32435:112:0;-1:-1:-1;;;;;32435:112:0;;:::i;36760:192::-;;;:::i;79587:725::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;79587:725:0;-1:-1:-1;;;;;79587:725:0;;:::i;91861:133::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;91861:133:0;;:::i;24244:25::-;;;:::i;22329:36::-;;;:::i;22537:20::-;;;:::i;37676:287::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37676:287:0;-1:-1:-1;;;;;37676:287:0;;:::i;90936:105::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;90936:105:0;;:::i;42640:3646::-;;;:::i;30378:185::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30378:185:0;;;;;;;;:::i;23979:23::-;;;:::i;35116:1498::-;;;:::i;75030:2117::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;75030:2117:0;;;;;;;;;;;;;;;;;:::i;77697:647::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;77697:647:0;-1:-1:-1;;;;;77697:647:0;;:::i;39640:198::-;;;:::i;33467:703::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33467:703:0;-1:-1:-1;;;;;33467:703:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92262:113;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;92262:113:0;;:::i;91392:::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;91392:113:0;;:::i;32102:143::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;32102:143:0;;;;;;;;;;:::i;78622:742::-;;;:::i;98470:466::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;98470:466:0;-1:-1:-1;;;;;98470:466:0;;:::i;86047:633::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;86047:633:0;-1:-1:-1;;;;;86047:633:0;;:::i;23407:42::-;;;:::i;93635:200::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;93635:200:0;;;;;;;;;;;;;;;;;:::i;23268:37::-;;;:::i;23031:28::-;;;:::i;34598:342::-;;;:::i;80615:607::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;80615:607:0;;:::i;22441:18::-;;;;;;;;;;;;;;;-1:-1:-1;;22441:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31535:237::-;31634:10;31603:4;31655:23;;;:18;:23;;;;;;;;-1:-1:-1;;;;;31655:32:0;;;;;;;;;;;:41;;;31712:30;;;;;;;31603:4;;31634:10;31655:32;;31634:10;;31712:30;;;;;;;;;;;31760:4;31753:11;;;31535:237;;;;;:::o;92583:121::-;92640:4;92664:32;92684:11;92664:19;:32::i;:::-;92657:39;;92583:121;;;;:::o;23714:33::-;;;;:::o;37243:224::-;37321:4;21777:18;;21794:1;21777:18;;;;37321:4;37346:16;:14;:16::i;:::-;:40;37338:75;;;;;-1:-1:-1;;;37338:75:0;;;;;;;;;;;;-1:-1:-1;;;37338:75:0;;;;;;;;;;;;;;;37431:28;37451:7;37431:19;:28::i;:::-;37424:35;;21853:1;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;;37243:224;;;;:::o;24350:26::-;;;;:::o;40088:261::-;40139:4;40157:13;40172:11;40187:28;:26;:28::i;:::-;40156:59;;-1:-1:-1;40156:59:0;-1:-1:-1;40241:18:0;40234:3;:25;;;;;;;;;40226:91;;;;-1:-1:-1;;;40226:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40335:6;-1:-1:-1;;40088:261:0;;:::o;30870:195::-;30965:4;21777:18;;21794:1;21777:18;;;;30965:4;30989:44;31004:10;31016:3;31021;31026:6;30989:14;:44::i;:::-;:68;30982:75;;21853:1;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;;30870:195;;;;;;:::o;92992:161::-;93073:4;93097:48;93123:8;93133:11;93097:25;:48::i;:::-;93090:55;92992:161;-1:-1:-1;;;92992:161:0:o;23142:35::-;;;-1:-1:-1;;;;;23142:35:0;;:::o;86688:477::-;86815:5;;86780:4;;-1:-1:-1;;;;;86815:5:0;86801:10;:19;86797:136;;86844:77;86849:22;86873:47;86844:4;:77::i;:::-;86837:84;;;;86797:136;87061:17;:40;;-1:-1:-1;;;;;;87061:40:0;-1:-1:-1;;;;;87061:40:0;;;;;;;;;;;87112:45;;87139:17;87112:26;:45::i;22637:20::-;;;;:::o;32803:319::-;32865:4;32882:23;;:::i;:::-;32908:38;;;;;;;;32923:21;:19;:21::i;:::-;32908:38;;-1:-1:-1;;;;;33022:20:0;;32958:14;33022:20;;;:13;:20;;;;;;32882:64;;-1:-1:-1;32958:14:0;;;32990:53;;32882:64;;32990:17;:53::i;:::-;32957:86;;-1:-1:-1;32957:86:0;-1:-1:-1;33070:18:0;33062:4;:26;;;;;;;;;33054:35;;;;;;33107:7;32803:319;-1:-1:-1;;;;32803:319:0:o;41925:88::-;41967:4;41991:14;:12;:14::i;:::-;41984:21;;41925:88;:::o;24114:24::-;;;;:::o;82769:571::-;82844:4;21777:18;;21794:1;21777:18;;;;82844:4;82874:16;:14;:16::i;:::-;82861:29;-1:-1:-1;82905:29:0;;82901:277;;83096:70;83107:5;83101:12;;;;;;;;83115:50;83096:4;:70::i;:::-;83089:77;;;;;82901:277;83298:34;83319:12;83298:20;:34::i;:::-;83291:41;;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;23578:39;;;;:::o;23837:30::-;;;;:::o;90520:25::-;;;-1:-1:-1;;;;;90520:25:0;;:::o;32435:112::-;-1:-1:-1;;;;;32519:20:0;32492:7;32519:20;;;:13;:20;;;;;;;32435:112::o;36760:192::-;36822:4;21777:18;;21794:1;21777:18;;;;36822:4;36847:16;:14;:16::i;:::-;:40;36839:75;;;;;-1:-1:-1;;;36839:75:0;;;;;;;;;;;;-1:-1:-1;;;36839:75:0;;;;;;;;;;;;;;;36932:12;;36925:19;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;;36760:192;;:::o;79587:725::-;79731:5;;79662:4;;-1:-1:-1;;;;;79731:5:0;79717:10;:19;79713:123;;79760:64;79765:18;79785:38;79760:4;:64::i;79713:123::-;79884:10;;79988:28;;;-1:-1:-1;;;79988:28:0;;;;-1:-1:-1;;;;;79884:10:0;;;;79988:26;;;;;:28;;;;;;;;;;;;;;:26;:28;;;5:2:-1;;;;30:1;27;20:12;5:2;79988:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;79988:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;79988:28:0;79980:69;;;;;-1:-1:-1;;;79980:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;80115:10;:26;;-1:-1:-1;;;;;;80115:26:0;-1:-1:-1;;;;;80115:26:0;;;;;;;;;80221:43;;;;;;;;;;;;;;;;;;;;;;;;;;;80289:14;80277:27;79587:725;-1:-1:-1;;;79587:725:0:o;91861:133::-;91924:4;91948:38;91973:12;91948:24;:38::i;24244:25::-;;;;:::o;22329:36::-;22361:4;22329:36;:::o;22537:20::-;;;;;;;;;;;;;;-1:-1:-1;;22537:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37676:287;37743:4;37761:13;37776:11;37791:36;37819:7;37791:27;:36::i;:::-;37760:67;;-1:-1:-1;37760:67:0;-1:-1:-1;37853:18:0;37846:3;:25;;;;;;;;;37838:93;;;;-1:-1:-1;;;37838:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90936:105;90985:4;91009:24;91022:10;91009:12;:24::i;42640:3646::-;42682:4;42699:35;;:::i;:::-;42849:17;;-1:-1:-1;;;;;42849:17:0;:31;42881:14;:12;:14::i;:::-;42897:12;;42911:13;;42849:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42849:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42849:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42849:76:0;;;;;;;;42822:23;;42805:120;;;42806:14;;;42805:120;22800:4;-1:-1:-1;42946:48:0;42938:89;;;;;-1:-1:-1;;;42938:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43042:14;;;;:19;43038:178;;43085:119;43096:31;43129:58;43189:4;:14;;;43085:10;:119::i;:::-;43078:126;;;;;43038:178;43303:16;:14;:16::i;:::-;43277:23;;;:42;;;43476:18;;43443:52;;43277:42;43443:7;:52::i;:::-;43424:15;;;43409:86;;;43410:4;43409:86;;;;;;;;;;;;;;;;;;;-1:-1:-1;43529:18:0;;-1:-1:-1;43513:12:0;;:34;;;;;;;;;43506:42;;;;44147:68;44157:40;;;;;;;;44172:4;:23;;;44157:40;;;44199:4;:15;;;44147:9;:68::i;:::-;44118:25;;;44103:112;;;44104:4;44103:112;;;;;;;;;;;;;;;;;;;-1:-1:-1;44246:18:0;;-1:-1:-1;44230:12:0;;:34;;;;;;;;;44226:193;;44288:119;44299:16;44317:69;44393:4;:12;;;44388:18;;;;;;;;44288:10;:119::i;44226:193::-;44474:58;44492:4;:25;;;44519:12;;44474:17;:58::i;:::-;44446:24;;;44431:101;;;44432:4;44431:101;;;;;;;;;;;;;;;;;;;-1:-1:-1;44563:18:0;;-1:-1:-1;44547:12:0;;:34;;;;;;;;;44543:191;;44605:117;44616:16;44634:67;44708:4;:12;;;44703:18;;;;;;;44543:191;44785:47;44793:4;:24;;;44819:12;;44785:7;:47::i;:::-;44761:20;;;44746:86;;;44747:4;44746:86;;;;;;;;;;;;;;;;;;;-1:-1:-1;44863:18:0;;-1:-1:-1;44847:12:0;;:34;;;;;;;;;44843:188;;44905:114;44916:16;44934:64;45005:4;:12;;;45000:18;;;;;;;44843:188;45083:105;45108:38;;;;;;;;45123:21;;45108:38;;;45148:4;:24;;;45174:13;;45083:24;:105::i;:::-;45058:21;;;45043:145;;;45044:4;45043:145;;;;;;;;;;;;;;;;;;;-1:-1:-1;45219:18:0;;-1:-1:-1;45203:12:0;;:34;;;;;;;;;45199:189;;45261:115;45272:16;45290:65;45362:4;:12;;;45357:18;;;;;;;45199:189;45438:77;45463:4;:25;;;45490:11;;45503;;45438:24;:77::i;:::-;45415:19;;;45400:115;;;45401:4;45400:115;;;;;;;;;;;;;;;;;;;-1:-1:-1;45546:18:0;;-1:-1:-1;45530:12:0;;:34;;;;;;;;;45526:187;;45588:113;45599:16;45617:63;45687:4;:12;;;45682:18;;;;;;;45526:187;45937:23;;;;;45916:18;:44;45985:19;;;;45971:11;:33;;;46030:20;;;;46015:12;:35;;;46077:21;;;;46061:13;:37;46178:24;;;;46163:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46263:14;46251:27;;;42640:3646;:::o;30378:185::-;30456:4;21777:18;;21794:1;21777:18;;;;30456:4;30480:51;30495:10;30507;30519:3;30524:6;30480:14;:51::i;:::-;:75;30473:82;;21853:1;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;;30378:185;;;;;:::o;23979:23::-;;;;:::o;35116:1498::-;35169:4;35420:25;35448:20;:18;:20::i;:::-;35518:17;;35420:48;;-1:-1:-1;35482:7:0;;;;-1:-1:-1;;;;;35518:17:0;:31;35550:14;:12;:14::i;:::-;35566:12;;35580:13;;35518:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35518:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35518:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35518:76:0;;;;;;;;;-1:-1:-1;35518:76:0;-1:-1:-1;35613:7:0;;35605:69;;;;-1:-1:-1;;;35605:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35703:12;35717:21;;:::i;:::-;35742:61;35752:37;;;;;;;;35767:20;35752:37;;;35791:11;;35742:9;:61::i;:::-;35702:101;;-1:-1:-1;35702:101:0;-1:-1:-1;35828:18:0;35822:2;:24;;;;;;;;;35814:86;;;;-1:-1:-1;;;35814:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35914:12;35928:21;;:::i;:::-;35953:40;35968:12;;35982:10;35953:14;:40::i;:::-;35913:80;;-1:-1:-1;35913:80:0;-1:-1:-1;36018:18:0;36012:2;:24;;;;;;;;;36004:86;;;;-1:-1:-1;;;36004:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36104:12;36118:32;;:::i;:::-;36154:76;36161:28;;;;;;;;11426:4;36161:28;;;36191:38;;;;;;;;36206:21;;36191:38;;;36154:6;:76::i;:::-;36103:127;;-1:-1:-1;36103:127:0;-1:-1:-1;36255:18:0;36249:2;:24;;;;;;;;;36241:97;;;;-1:-1:-1;;;36241:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36352:12;36366:21;;:::i;:::-;36391:79;36399:35;;;;;;;;36414:18;36399:35;;;36436:21;36459:10;36391:7;:79::i;:::-;36351:119;;-1:-1:-1;36351:119:0;-1:-1:-1;36495:18:0;36489:2;:24;;;;;;;;;36481:86;;;;-1:-1:-1;;;36481:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36587:19;;-1:-1:-1;;;;;;;;;;;35116:1498:0;:::o;75030:2117::-;75132:4;21777:18;;21794:1;21777:18;;;;75205:10;;:85;;;-1:-1:-1;;;75205:85:0;;75237:4;75205:85;;;;75244:10;75205:85;;;;-1:-1:-1;;;;;75205:85:0;;;;;;;;;;;;;;;;;;;;;;75132:4;;75205:10;;;;;:23;;:85;;;;;;;;;;;;;;;75132:4;75205:10;:85;;;5:2:-1;;;;30:1;27;20:12;5:2;75205:85:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;75205:85:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;75205:85:0;;-1:-1:-1;75305:12:0;;75301:149;;75341:97;75352:26;75380:48;75430:7;75341:10;:97::i;:::-;75334:104;;;;;75301:149;75523:10;-1:-1:-1;;;;;75511:22:0;:8;-1:-1:-1;;;;;75511:22:0;;75507:146;;;75557:84;75562:26;75590:50;75557:4;:84::i;75507:146::-;-1:-1:-1;;;;;76077:23:0;;75665:17;76077:23;;;:13;:23;;;;;;75665:17;;;;76069:45;;76102:11;76069:7;:45::i;:::-;76038:76;;-1:-1:-1;76038:76:0;-1:-1:-1;76140:18:0;76129:7;:29;;;;;;;;;76125:166;;76182:97;76193:16;76211:52;76270:7;76265:13;;;;;;;76182:97;76175:104;;;;;;;;76125:166;-1:-1:-1;;;;;76344:25:0;;;;;;:13;:25;;;;;;76336:47;;76371:11;76336:7;:47::i;:::-;76303:80;;-1:-1:-1;76303:80:0;-1:-1:-1;76409:18:0;76398:7;:29;;;;;;;;;76394:166;;76451:97;76462:16;76480:52;76539:7;76534:13;;;;;;;76394:166;-1:-1:-1;;;;;76763:23:0;;;;;;;:13;:23;;;;;;;;:43;;;76817:25;;;;;;;;;;:47;;;76919:43;;;;;;;76817:25;;-1:-1:-1;;;;;;;;;;;76919:43:0;;;;;;;;;;77015:10;;:84;;;-1:-1:-1;;;77015:84:0;;77046:4;77015:84;;;;77053:10;77015:84;;;;-1:-1:-1;;;;;77015:84:0;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:22;;:84;;;;;:10;;:84;;;;;;;:10;;:84;;;5:2:-1;;;;30:1;27;20:12;5:2;77015:84:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;77124:14:0;;-1:-1:-1;77119:20:0;;-1:-1:-1;;77119:20:0;;77112:27;;;;;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;77697:647;77842:5;;77774:4;;-1:-1:-1;;;;;77842:5:0;77828:10;:19;77824:126;;77871:67;77876:18;77896:41;77871:4;:67::i;77824:126::-;78049:12;;;-1:-1:-1;;;;;78132:30:0;;;-1:-1:-1;;;;;;78132:30:0;;;;;;;78247:49;;;78049:12;;;;78247:49;;;;;;;;;;;;;;;;;;;;;;;78321:14;78316:20;;39640:198;39700:4;21777:18;;21794:1;21777:18;;;;39700:4;39725:16;:14;:16::i;:::-;:40;39717:75;;;;;-1:-1:-1;;;39717:75:0;;;;;;;;;;;;-1:-1:-1;;;39717:75:0;;;;;;;;;;;;;;;39810:20;:18;:20::i;:::-;39803:27;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;33467:703;-1:-1:-1;;;;;33591:22:0;;33535:4;33591:22;;;:13;:22;;;;;;33535:4;;;;;;;;;33742:36;33605:7;33742:27;:36::i;:::-;33718:60;-1:-1:-1;33718:60:0;-1:-1:-1;33801:18:0;33793:4;:26;;;;;;;;;33789:99;;33849:16;33844:22;33836:40;-1:-1:-1;33868:1:0;;-1:-1:-1;33868:1:0;;-1:-1:-1;33868:1:0;;-1:-1:-1;33836:40:0;;-1:-1:-1;;;;33836:40:0;33789:99;33931:28;:26;:28::i;:::-;33900:59;-1:-1:-1;33900:59:0;-1:-1:-1;33982:18:0;33974:4;:26;;;;;;;;;33970:99;;34030:16;34025:22;;33970:99;-1:-1:-1;34094:14:0;;-1:-1:-1;34111:13:0;;-1:-1:-1;34126:13:0;-1:-1:-1;34126:13:0;-1:-1:-1;33467:703:0;;;;;;:::o;92262:113::-;92315:4;92339:28;92354:12;92339:14;:28::i;91392:113::-;91445:4;91469:28;91484:12;91469:14;:28::i;32102:143::-;-1:-1:-1;;;;;32203:25:0;;;32176:7;32203:25;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;;32102:143::o;78622:742::-;78772:12;;78664:4;;-1:-1:-1;;;;;78772:12:0;78758:10;:26;;;:54;;-1:-1:-1;78788:10:0;:24;78758:54;78754:164;;;78836:70;78841:18;78861:44;78836:4;:70::i;:::-;78829:77;;;;78754:164;79002:5;;;79044:12;;;-1:-1:-1;;;;;79044:12:0;;;-1:-1:-1;;;;;;79117:20:0;;;;;;;;;79186:25;;;;;;79229;;;79002:5;;;79229:25;;;79248:5;;;;79229:25;;;;;;79044:12;;79229:25;;;;;;;;;79303:12;;79270:46;;;-1:-1:-1;;;;;79270:46:0;;;;;79303:12;;;79270:46;;;;;;;;;;;;;;;;79341:14;79329:27;;;;78622:742;:::o;98470:466::-;98602:5;;98533:4;;-1:-1:-1;;;;;98602:5:0;98588:10;:19;98584:123;;98631:64;98636:18;98656:38;98631:4;:64::i;98584:123::-;98772:10;:26;;-1:-1:-1;;;;;;98772:26:0;-1:-1:-1;;;;;98772:26:0;;;;;;;;;;;98809:40;;;-1:-1:-1;;;98809:40:0;;;;98824:10;;;;;98809:38;;:40;;;;;;;;;;;;;;;98824:10;98809:40;;;5:2:-1;;;;30:1;27;20:12;5:2;98809:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;98809:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;98913:14:0;;-1:-1:-1;98908:20:0;;86047:633;86134:4;86151:10;86164:16;:14;:16::i;:::-;86151:29;-1:-1:-1;86195:29:0;;86191:298;;86399:78;86410:5;86404:12;;;;;;;;86418:58;86399:4;:78::i;:::-;86392:85;;;;;86191:298;86624:48;86651:20;86624:26;:48::i;23407:42::-;;;-1:-1:-1;;;;;23407:42:0;;:::o;93635:200::-;93739:4;93763:64;93787:8;93797:11;93810:16;93763:23;:64::i;23268:37::-;;;-1:-1:-1;;;;;23268:37:0;;:::o;23031:28::-;;;-1:-1:-1;;;;;23031:28:0;;:::o;34598:342::-;34712:17;;34651:4;;;;;;-1:-1:-1;;;;;34712:17:0;:31;34744:14;:12;:14::i;:::-;34760:12;;34774:13;;34712:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34712:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34712:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34712:76:0;;;;;;;;;-1:-1:-1;34712:76:0;-1:-1:-1;34807:14:0;;34799:82;;;;-1:-1:-1;;;34799:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80615:607;80704:4;21777:18;;21794:1;21777:18;;;;80704:4;80734:16;:14;:16::i;:::-;80721:29;-1:-1:-1;80765:29:0;;80761:286;;80962:73;80973:5;80967:12;;;;;;;;80981:53;80962:4;:73::i;80761:286::-;81166:48;81189:24;81166:22;:48::i;63430:561::-;63508:4;21777:18;;21794:1;21777:18;;;;63508:4;63538:16;:14;:16::i;:::-;63525:29;-1:-1:-1;63569:29:0;;63565:255;;63741:67;63752:5;63746:12;;;;;;;;63760:47;63741:4;:67::i;63565:255::-;63930:53;63947:10;63959;63971:11;63930:16;:53::i;40613:1142::-;40674:9;40685:4;40706:11;;40721:1;40706:16;40702:1046;;;-1:-1:-1;;40899:27:0;;40879:18;;40871:56;;40702:1046;41109:14;41126;:12;:14::i;:::-;41109:31;;41155:33;41203:23;;:::i;:::-;41241:17;41317:54;41332:9;41343:12;;41357:13;;41317:14;:54::i;:::-;41275:96;-1:-1:-1;41275:96:0;-1:-1:-1;41401:18:0;41390:7;:29;;;;;;;;;41386:89;;41448:7;-1:-1:-1;41457:1:0;;-1:-1:-1;41440:19:0;;-1:-1:-1;;;41440:19:0;41386:89;41517:49;41524:28;41554:11;;41517:6;:49::i;:::-;41491:75;-1:-1:-1;41491:75:0;-1:-1:-1;41596:18:0;41585:7;:29;;;;;;;;;41581:89;;41643:7;-1:-1:-1;41652:1:0;;-1:-1:-1;41635:19:0;;-1:-1:-1;;;41635:19:0;41581:89;-1:-1:-1;41714:21:0;41694:18;;-1:-1:-1;41714:21:0;-1:-1:-1;41686:50:0;;-1:-1:-1;;41686:50:0;40702:1046;40613:1142;;:::o;27822:2295::-;27996:10;;:59;;;-1:-1:-1;;;27996:59:0;;28031:4;27996:59;;;;-1:-1:-1;;;;;27996:59:0;;;;;;;;;;;;;;;;;;;;;;27920:4;;;;27996:10;;:26;;:59;;;;;;;;;;;;;;27920:4;27996:10;:59;;;5:2:-1;;;;30:1;27;20:12;5:2;27996:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27996:59:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27996:59:0;;-1:-1:-1;28070:12:0;;28066:142;;28106:90;28117:26;28145:41;28188:7;28106:10;:90::i;:::-;28099:97;;;;;28066:142;28274:3;-1:-1:-1;;;;;28267:10:0;:3;-1:-1:-1;;;;;28267:10:0;;28263:105;;;28301:55;28306:15;28323:32;28301:4;:55::i;28263:105::-;28445:22;-1:-1:-1;;;;;28486:14:0;;;;;;;28482:160;;;-1:-1:-1;;;28482:160:0;;;-1:-1:-1;;;;;;28598:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;;28482:160;28720:17;28748;28776;28804;28860:34;28868:17;28887:6;28860:7;:34::i;:::-;28834:60;;-1:-1:-1;28834:60:0;-1:-1:-1;28920:18:0;28909:7;:29;;;;;;;;;28905:125;;28962:56;28967:16;28985:32;28962:4;:56::i;:::-;28955:63;;;;;;;;;;28905:125;-1:-1:-1;;;;;29076:18:0;;;;;;:13;:18;;;;;;29068:35;;29096:6;29068:7;:35::i;:::-;29042:61;;-1:-1:-1;29042:61:0;-1:-1:-1;29129:18:0;29118:7;:29;;;;;;;;;29114:124;;29171:55;29176:16;29194:31;29171:4;:55::i;29114:124::-;-1:-1:-1;;;;;29284:18:0;;;;;;:13;:18;;;;;;29276:35;;29304:6;29276:7;:35::i;:::-;29250:61;;-1:-1:-1;29250:61:0;-1:-1:-1;29337:18:0;29326:7;:29;;;;;;;;;29322:122;;29379:53;29384:16;29402:29;29379:4;:53::i;29322:122::-;-1:-1:-1;;;;;29577:18:0;;;;;;;:13;:18;;;;;;:33;;;29621:18;;;;;;:33;;;-1:-1:-1;;29727:29:0;;29723:109;;-1:-1:-1;;;;;29773:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;:47;;;29723:109;29903:3;-1:-1:-1;;;;;29889:26:0;29898:3;-1:-1:-1;;;;;29889:26:0;-1:-1:-1;;;;;;;;;;;29908:6:0;29889:26;;;;;;;;;;;;;;;;;;30011:10;;:58;;;-1:-1:-1;;;30011:58:0;;30045:4;30011:58;;;;-1:-1:-1;;;;;30011:58:0;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:25;;:58;;;;;:10;;:58;;;;;;;:10;;:58;;;5:2:-1;;;;30:1;27;20:12;5:2;30011:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;30094:14:0;;-1:-1:-1;30089:20:0;;-1:-1:-1;;30089:20:0;;30082:27;27822:2295;-1:-1:-1;;;;;;;;;;;27822:2295:0:o;64279:583::-;64381:4;21777:18;;21794:1;21777:18;;;;64381:4;64411:16;:14;:16::i;:::-;64398:29;-1:-1:-1;64442:29:0;;64438:255;;64614:67;64625:5;64619:12;;;;;;;;64633:47;64614:4;:67::i;:::-;64607:74;;;;;64438:255;64803:51;64820:10;64832:8;64842:11;64803:16;:51::i;:::-;64796:58;;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;6832:153;6893:4;6915:33;6928:3;6923:9;;;;;;;;6939:4;6934:10;;;;;;;;6915:33;;;;;;;;;;;;;6946:1;6915:33;;;;;;;;;;;;;6973:3;6968:9;;;;;;;87499:1352;87799:5;;87593:4;;;;-1:-1:-1;;;;;87799:5:0;87785:10;:19;87781:132;;87828:73;87833:18;87853:47;87828:4;:73::i;87781:132::-;88039:16;:14;:16::i;:::-;88017:18;;:38;88013:208;;88132:77;88137:22;88161:47;88132:4;:77::i;88013:208::-;88315:17;;;;;;;;;-1:-1:-1;;;;;88315:17:0;88292:40;;88435:20;-1:-1:-1;;;;;88435:40:0;;:42;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;88435:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;88435:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;88435:42:0;88427:83;;;;;-1:-1:-1;;;88427:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;88587:17;:40;;-1:-1:-1;;;;;;88587:40:0;-1:-1:-1;;;;;88587:40:0;;;;;;;;;88733:70;;;;;;;;;;;;;;;;;;;;;;;;;;;88828:14;88823:20;;12929:313;13006:9;13017:4;13035:13;13050:18;;:::i;:::-;13072:20;13082:1;13085:6;13072:9;:20::i;:::-;13034:58;;-1:-1:-1;13034:58:0;-1:-1:-1;13114:18:0;13107:3;:25;;;;;;;;;13103:73;;-1:-1:-1;13157:3:0;-1:-1:-1;13162:1:0;;-1:-1:-1;13149:15:0;;13103:73;13196:18;13216:17;13225:7;13216:8;:17::i;:::-;13188:46;;;;;;12929:313;;;;;;:::o;94103:169::-;94205:10;;94234:30;;;-1:-1:-1;;;94234:30:0;;94258:4;94234:30;;;;;;94150:4;;-1:-1:-1;;;;;94205:10:0;;;;94234:15;;:30;;;;;;;;;;;;;;;94205:10;94234:30;;;5:2:-1;;;;30:1;27;20:12;5:2;94234:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94234:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;94234:30:0;;-1:-1:-1;;94103:169:0;:::o;83617:2061::-;83848:5;;83684:4;;;;;;-1:-1:-1;;;;;83848:5:0;83834:10;:19;83830:124;;83877:65;83882:18;83902:39;83877:4;:65::i;:::-;83870:72;;;;;;83830:124;84080:16;:14;:16::i;:::-;84058:18;;:38;84054:200;;84173:69;84178:22;84202:39;84173:4;:69::i;84054:200::-;84360:12;84343:14;:12;:14::i;:::-;:29;84339:152;;;84396:83;84401:29;84432:46;84396:4;:83::i;84339:152::-;84740:13;;84725:12;:28;84721:129;;;84777:61;84782:15;84799:38;84777:4;:61::i;84721:129::-;-1:-1:-1;85002:13:0;;:28;;;;85138:33;;;85130:82;;;;-1:-1:-1;;;85130:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85286:13;:32;;;85405:5;;85391:34;;-1:-1:-1;;;;;85405:5:0;85412:12;85391:13;:34::i;:::-;85385:40;-1:-1:-1;85504:14:0;85497:3;:21;;;;;;;;;85489:69;;;;-1:-1:-1;;;85489:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85592:5;;85576:54;;;-1:-1:-1;;;;;85592:5:0;;;85576:54;;;;;;;;;;;;;;;;;;;;;;;;85655:14;85643:27;83617:2061;-1:-1:-1;;;;83617:2061:0:o;52691:537::-;52775:4;21777:18;;21794:1;21777:18;;;;52775:4;52805:16;:14;:16::i;:::-;52792:29;-1:-1:-1;52836:29:0;;52832:249;;53008:61;53019:5;53013:12;;;;;;;;53027:41;53008:4;:61::i;52832:249::-;53180:40;53192:10;53204:1;53207:12;53180:11;:40::i;38217:1268::-;-1:-1:-1;;;;;38566:23:0;;38294:9;38566:23;;;:14;:23;;;;;38795:24;;38294:9;;;;;;;;38791:92;;-1:-1:-1;38849:18:0;;-1:-1:-1;38849:18:0;;-1:-1:-1;38841:30:0;;-1:-1:-1;;;38841:30:0;38791:92;39110:46;39118:14;:24;;;39144:11;;39110:7;:46::i;:::-;39077:79;;-1:-1:-1;39077:79:0;-1:-1:-1;39182:18:0;39171:7;:29;;;;;;;;;39167:81;;-1:-1:-1;39225:7:0;;-1:-1:-1;39234:1:0;;-1:-1:-1;39217:19:0;;-1:-1:-1;;39217:19:0;39167:81;39280:58;39288:19;39309:14;:28;;;39280:7;:58::i;:::-;39260:78;;-1:-1:-1;39260:78:0;-1:-1:-1;39364:18:0;39353:7;:29;;;;;;;;;39349:81;;-1:-1:-1;39407:7:0;;-1:-1:-1;39416:1:0;;-1:-1:-1;39399:19:0;;-1:-1:-1;;39399:19:0;39349:81;-1:-1:-1;39450:18:0;;-1:-1:-1;39470:6:0;-1:-1:-1;;;38217:1268:0;;;;:::o;46644:536::-;46714:4;21777:18;;21794:1;21777:18;;;;46714:4;46744:16;:14;:16::i;:::-;46731:29;-1:-1:-1;46775:29:0;;46771:247;;46947:59;46958:5;46952:12;;;;;;;;46966:39;46947:4;:59::i;46771:247::-;47139:33;47149:10;47161;47139:9;:33::i;6993:187::-;7078:4;7100:43;7113:3;7108:9;;;;;;;;7124:4;7119:10;;;;;;;;7100:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;7168:3;7163:9;;;;;;;34329:93;34402:12;34329:93;:::o;1442:236::-;1498:9;1509:4;1535:1;1530;:6;1526:145;;-1:-1:-1;1561:18:0;;-1:-1:-1;1581:5:0;;;1553:34;;1526:145;-1:-1:-1;1628:27:0;;-1:-1:-1;1657:1:0;1620:39;;12568:353;12637:9;12648:10;;:::i;:::-;12672:14;12688:19;12711:27;12719:1;:10;;;12731:6;12711:7;:27::i;:::-;12671:67;;-1:-1:-1;12671:67:0;-1:-1:-1;12761:18:0;12753:4;:26;;;;;;;;;12749:92;;-1:-1:-1;12810:18:0;;;;;;;;;-1:-1:-1;12810:18:0;;12804:4;;-1:-1:-1;12810:18:0;-1:-1:-1;12796:33:0;;12749:92;12881:31;;;;;;;;;;;;-1:-1:-1;;12881:31:0;;-1:-1:-1;12568:353:0;-1:-1:-1;;;;12568:353:0:o;1763:258::-;1819:9;;1856:5;;;1878:6;;;1874:140;;1909:18;;-1:-1:-1;1929:1:0;-1:-1:-1;1901:30:0;;1874:140;-1:-1:-1;1972:26:0;;-1:-1:-1;2000:1:0;;-1:-1:-1;1964:38:0;;13250:328;13347:9;13358:4;13376:13;13391:18;;:::i;:::-;13413:20;13423:1;13426:6;13413:9;:20::i;:::-;13375:58;;-1:-1:-1;13375:58:0;-1:-1:-1;13455:18:0;13448:3;:25;;;;;;;;;13444:73;;-1:-1:-1;13498:3:0;-1:-1:-1;13503:1:0;;-1:-1:-1;13490:15:0;;13444:73;13536:34;13544:17;13553:7;13544:8;:17::i;:::-;13563:6;13536:7;:34::i;:::-;13529:41;;;;;;13250:328;;;;;;;:::o;13951:620::-;14031:9;14042:10;;:::i;:::-;14349:14;14365;14383:25;11426:4;14401:6;14383:7;:25::i;:::-;14348:60;;-1:-1:-1;14348:60:0;-1:-1:-1;14431:18:0;14423:4;:26;;;;;;;;;14419:92;;-1:-1:-1;14480:18:0;;;;;;;;;-1:-1:-1;14480:18:0;;14474:4;;-1:-1:-1;14480:18:0;-1:-1:-1;14466:33:0;;14419:92;14528:35;14535:9;14546:7;:16;;;14528:6;:35::i;12335:225::-;12402:9;12413:10;;:::i;:::-;12437:15;12454:11;12469:31;12477:1;:10;;;12489:1;:10;;;12469:7;:31::i;:::-;12528:23;;;;;;;;;;;;12436:64;;12528:23;;-1:-1:-1;12335:225:0;-1:-1:-1;;;;;12335:225:0:o;16226:284::-;16308:9;16319:10;;:::i;:::-;16343:13;16358;;:::i;:::-;16375:12;16382:1;16385;16375:6;:12::i;:::-;16342:45;;-1:-1:-1;16342:45:0;-1:-1:-1;16409:18:0;16402:3;:25;;;;;;;;;16398:74;;16452:3;;-1:-1:-1;16457:2:0;-1:-1:-1;16444:16:0;;16398:74;16489:13;16496:2;16500:1;16489:6;:13::i;59087:524::-;59161:4;21777:18;;21794:1;21777:18;;;;59161:4;59191:16;:14;:16::i;:::-;59178:29;-1:-1:-1;59222:29:0;;59218:249;;59394:61;59405:5;59399:12;;;;;;;;59413:41;59394:4;:61::i;59218:249::-;59566:37;59578:10;59590:12;59566:11;:37::i;51808:527::-;51882:4;21777:18;;21794:1;21777:18;;;;51882:4;51912:16;:14;:16::i;:::-;51899:29;-1:-1:-1;51943:29:0;;51939:249;;52115:61;52126:5;52120:12;;;;;;;51939:249;52287:40;52299:10;52311:12;52325:1;52287:11;:40::i;69757:969::-;69882:4;21777:18;;21794:1;21777:18;;;;69882:4;69912:16;:14;:16::i;:::-;69899:29;-1:-1:-1;69943:29:0;;69939:264;;70120:71;70131:5;70125:12;;;;;;;;70139:51;70120:4;:71::i;69939:264::-;70223:16;-1:-1:-1;;;;;70223:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;70223:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;70223:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;70223:33:0;;-1:-1:-1;70271:29:0;;70267:268;;70448:75;70459:5;70453:12;;;;;;;;70467:55;70448:4;:75::i;70267:268::-;70645:73;70666:10;70678:8;70688:11;70701:16;70645:20;:73::i;:::-;70638:80;;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;81490:1026;81640:5;;81571:4;;-1:-1:-1;;;;;81640:5:0;81626:10;:19;81622:127;;81669:68;81674:18;81694:42;81669:4;:68::i;81622:127::-;81856:16;:14;:16::i;:::-;81834:18;;:38;81830:203;;81949:72;81954:22;81978:42;81949:4;:72::i;81830:203::-;22952:4;82105:24;:51;82101:157;;;82180:66;82185:15;82202:43;82180:4;:66::i;82101:157::-;82302:21;;;82334:48;;;;82400:68;;;;;;;;;;;;;;;;;;;;;;;;;82493:14;82488:20;;65489:3786;65663:10;;:74;;;-1:-1:-1;;;65663:74:0;;65701:4;65663:74;;;;-1:-1:-1;;;;;65663:74:0;;;;;;;;;;;;;;;;;;;;;;65584:4;;;;65663:10;;:29;;:74;;;;;;;;;;;;;;65584:4;65663:10;:74;;;5:2:-1;;;;30:1;27;20:12;5:2;65663:74:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;65663:74:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;65663:74:0;;-1:-1:-1;65752:12:0;;65748:146;;65788:94;65799:26;65827:45;65874:7;65788:10;:94::i;:::-;65781:101;;;;;65748:146;66004:16;:14;:16::i;:::-;65982:18;;:38;65978:148;;66044:70;66049:22;66073:40;66044:4;:70::i;65978:148::-;66138:32;;:::i;:::-;-1:-1:-1;;;;;66284:24:0;;;;;;:14;:24;;;;;:38;;;66263:18;;;:59;66453:37;66299:8;66453:27;:37::i;:::-;66430:19;;;66415:75;;;66416:12;;;66415:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;66521:18:0;;-1:-1:-1;66505:4:0;:12;;;:34;;;;;;;;;66501:187;;66563:113;66574:16;66592:63;66662:4;:12;;;66657:18;;;;;;;66563:113;66556:120;;;;;;66501:187;-1:-1:-1;;66770:11:0;:23;66766:157;;;66829:19;;;;66810:16;;;:38;66766:157;;;66881:16;;;:30;;;66766:157;66991:40;67007:5;67014:4;:16;;;66991:15;:40::i;:::-;66980:4;;:51;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67058:14:0;67046:8;;:26;;;;;;;;;67042:131;;67101:8;;67096:65;;67111:49;67096:4;:65::i;67042:131::-;67462:46;67470:4;:19;;;67491:4;:16;;;67462:7;:46::i;:::-;67436:22;;;67421:87;;;67422:12;;;67421:87;;;;;;;;;;;;;;;;;;;-1:-1:-1;67539:18:0;;-1:-1:-1;67523:4:0;:12;;;:34;;;;;;;;;67519:194;;67581:120;67592:16;67610:70;67687:4;:12;;;67682:18;;;;;;;67519:194;67764:39;67772:12;;67786:4;:16;;;67764:7;:39::i;:::-;67740:20;;;67725:78;;;67726:12;;;67725:78;;;;;;;;;;;;;;;;;;;-1:-1:-1;67834:18:0;;-1:-1:-1;67818:4:0;:12;;;:34;;;;;;;;;67814:185;;67876:111;67887:16;67905:61;67973:4;:12;;;67968:18;;;;;;;67814:185;68554:37;68567:5;68574:4;:16;;;68554:12;:37::i;:::-;68543:4;;:48;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68622:14:0;68610:8;;:26;;;;;;;;;68602:70;;;;;-1:-1:-1;;;68602:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;68792:22;;;;;;-1:-1:-1;;;;;68755:24:0;;;;;;;:14;:24;;;;;;;;;:59;;;68866:11;;68825:38;;;;:52;;;;68903:20;;;;68888:12;:35;;;69013:16;;;;69031:22;;68984:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69129:10;;69190:16;;;;;69208:18;;;;69129:98;;-1:-1:-1;;;69129:98:0;;69166:4;69129:98;;;;-1:-1:-1;;;;;69129:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:10;;;:28;;:98;;;;;:10;;:98;;;;;;;;:10;;:98;;;5:2:-1;;;;30:1;27;20:12;5:2;69129:98:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;69252:14:0;;-1:-1:-1;69247:20:0;;-1:-1:-1;;69247:20:0;;69240:27;65489:3786;-1:-1:-1;;;;;;65489:3786:0:o;2090:271::-;2161:9;2172:4;2190:14;2206:8;2218:13;2226:1;2229;2218:7;:13::i;:::-;2189:42;;-1:-1:-1;2189:42:0;-1:-1:-1;2256:18:0;2248:4;:26;;;;;;;;;2244:75;;-1:-1:-1;2299:4:0;-1:-1:-1;2305:1:0;;-1:-1:-1;2291:16:0;;2244:75;2338:15;2346:3;2351:1;2338:7;:15::i;11579:515::-;11640:9;11651:10;;:::i;:::-;11675:14;11691:20;11715:22;11723:3;11426:4;11715:7;:22::i;:::-;11674:63;;-1:-1:-1;11674:63:0;-1:-1:-1;11760:18:0;11752:4;:26;;;;;;;;;11748:92;;-1:-1:-1;11809:18:0;;;;;;;;;-1:-1:-1;11809:18:0;;11803:4;;-1:-1:-1;11809:18:0;-1:-1:-1;11795:33:0;;11748:92;11853:14;11869:13;11886:31;11894:15;11911:5;11886:7;:31::i;:::-;11852:65;;-1:-1:-1;11852:65:0;-1:-1:-1;11940:18:0;11932:4;:26;;;;;;;;;11928:92;;-1:-1:-1;11989:18:0;;;;;;;;;-1:-1:-1;11989:18:0;;11983:4;;-1:-1:-1;11989:18:0;-1:-1:-1;11975:33:0;;-1:-1:-1;;11975:33:0;11928:92;12060:25;;;;;;;;;;;;-1:-1:-1;;12060:25:0;;-1:-1:-1;11579:515:0;-1:-1:-1;;;;;;11579:515:0:o;16672:213::-;16854:12;11426:4;16854:23;;;16672:213::o;97408:1050::-;97560:10;;97606:26;;;-1:-1:-1;;;97606:26:0;;-1:-1:-1;;;;;97606:26:0;;;;;;;;;;;;;;;97482:5;;97560:10;;;;;97482:5;;97560:10;;97606:14;;:26;;;;;97482:5;;97606:26;;;;;;;;97482:5;97560:10;97606:26;;;5:2:-1;;;;30:1;27;20:12;5:2;97606:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;97606:26:0;;;;97741:16;97780:1;97775:150;;;;97948:2;97943:217;;;;98295:1;98292;98285:12;97775:150;-1:-1:-1;;97869:6:0;-1:-1:-1;97775:150:0;;97943:217;98045:2;98042:1;98039;98024:24;98086:1;98080:8;98070:18;;97734:582;;98344:6;98339:78;;98374:31;98367:38;;;;;;98339:78;-1:-1:-1;98436:14:0;;97408:1050;-1:-1:-1;;;;97408:1050:0:o;54091:4728::-;54198:4;54223:19;;;:42;;-1:-1:-1;54246:19:0;;54223:42;54215:107;;;;-1:-1:-1;;;54215:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54335:27;;:::i;:::-;54479:28;:26;:28::i;:::-;54450:25;;;54435:72;;;54436:12;;;54435:72;;;;;;;;;;;;;;;;;;;-1:-1:-1;54538:18:0;;-1:-1:-1;54522:4:0;:12;;;:34;;;;;;;;;54518:168;;54580:94;54591:16;54609:44;54660:4;:12;;;54655:18;;;;;;;54518:168;54740:18;;54736:1290;;55016:17;;;:34;;;55121:42;;;;;;;;55136:25;;;;55121:42;;55103:77;;55036:14;55103:17;:77::i;:::-;55082:17;;;55067:113;;;55068:12;;;55067:113;;;;;;;;;;;;;;;;;;;-1:-1:-1;55215:18:0;;-1:-1:-1;55199:4:0;:12;;;:34;;;;;;;;;55195:185;;55261:103;55272:16;55290:53;55350:4;:12;;;55345:18;;;;;;;55195:185;54736:1290;;;55682:82;55705:14;55721:42;;;;;;;;55736:4;:25;;;55721:42;;;55682:22;:82::i;:::-;55661:17;;;55646:118;;;55647:12;;;55646:118;;;;;;;;;;;;;;;;;;;-1:-1:-1;55799:18:0;;-1:-1:-1;55783:4:0;:12;;;:34;;;;;;;;;55779:185;;55845:103;55856:16;55874:53;55934:4;:12;;;55929:18;;;;;;;55779:185;55980:17;;;:34;;;54736:1290;56095:10;;56145:17;;;;56095:68;;;-1:-1:-1;;;56095:68:0;;56128:4;56095:68;;;;-1:-1:-1;;;;;56095:68:0;;;;;;;;;;;;;;;;56080:12;;56095:10;;;;;:24;;:68;;;;;;;;;;;;;;;56080:12;56095:10;:68;;;5:2:-1;;;;30:1;27;20:12;5:2;56095:68:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;56095:68:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;56095:68:0;;-1:-1:-1;56178:12:0;;56174:140;;56214:88;56225:26;56253:39;56294:7;56214:10;:88::i;56174:140::-;56424:16;:14;:16::i;:::-;56402:18;;:38;56398:142;;56464:64;56469:22;56493:34;56464:4;:64::i;56398:142::-;56835:39;56843:11;;56856:4;:17;;;56835:7;:39::i;:::-;56812:19;;;56797:77;;;56798:12;;;56797:77;;;;;;;;;;;;;;;;;;;-1:-1:-1;56905:18:0;;-1:-1:-1;56889:4:0;:12;;;:34;;;;;;;;;56885:178;;56947:104;56958:16;56976:54;57037:4;:12;;;57032:18;;;;;;;56885:178;-1:-1:-1;;;;;57123:23:0;;;;;;:13;:23;;;;;;57148:17;;;;57115:51;;57123:23;57115:7;:51::i;:::-;57090:21;;;57075:91;;;57076:12;;;57075:91;;;;;;;;;;;;;;;;;;;-1:-1:-1;57197:18:0;;-1:-1:-1;57181:4:0;:12;;;:34;;;;;;;;;57177:181;;57239:107;57250:16;57268:57;57332:4;:12;;;57327:18;;;;;;;57177:181;57456:4;:17;;;57439:14;:12;:14::i;:::-;:34;57435:155;;;57497:81;57502:29;57533:44;57497:4;:81::i;57435:155::-;58144:42;58158:8;58168:4;:17;;;58144:13;:42::i;:::-;58133:4;;:53;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58217:14:0;58205:8;;:26;;;;;;;;;58197:65;;;;;-1:-1:-1;;;58197:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;58355:19;;;;58341:11;:33;58411:21;;;;-1:-1:-1;;;;;58385:23:0;;;;;;:13;:23;;;;;;;;;:47;;;;58544:17;;;;58510:52;;;;;;;58537:4;;-1:-1:-1;;;;;;;;;;;58510:52:0;;;;;;;58595:17;;;;58614;;;;;58578:54;;;-1:-1:-1;;;;;58578:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58685:10;;58734:17;;;;58753;;;;58685:86;;;-1:-1:-1;;;58685:86:0;;58717:4;58685:86;;;;-1:-1:-1;;;;;58685:86:0;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:23;;:86;;;;;:10;;:86;;;;;;;:10;;:86;;;5:2:-1;;;;30:1;27;20:12;654:343:0;710:9;;742:6;738:69;;-1:-1:-1;773:18:0;;-1:-1:-1;773:18:0;765:30;;738:69;828:5;;;832:1;828;:5;:1;850:5;;;;;:10;846:144;;-1:-1:-1;885:26:0;;-1:-1:-1;913:1:0;;-1:-1:-1;877:38:0;;846:144;956:18;;-1:-1:-1;976:1:0;-1:-1:-1;948:30:0;;1092:215;1148:9;;1180:6;1176:77;;-1:-1:-1;1211:26:0;;-1:-1:-1;1239:1:0;1203:38;;1176:77;1273:18;1297:1;1293;:5;;;;;;1265:34;;;;1092:215;;;;;:::o;47822:3635::-;47964:10;;:57;;;-1:-1:-1;;;47964:57:0;;47995:4;47964:57;;;;-1:-1:-1;;;;;47964:57:0;;;;;;;;;;;;;;;47892:4;;;;47964:10;;:22;;:57;;;;;;;;;;;;;;47892:4;47964:10;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;47964:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47964:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47964:57:0;;-1:-1:-1;48036:12:0;;48032:138;;48072:86;48083:26;48111:37;48150:7;48072:10;:86::i;:::-;48065:93;;;;;48032:138;48280:16;:14;:16::i;:::-;48258:18;;:38;48254:140;;48320:62;48325:22;48349:32;48320:4;:62::i;48254:140::-;48406:25;;:::i;:::-;48500:35;48516:6;48524:10;48500:15;:35::i;:::-;48489:4;;:46;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48562:14:0;48550:8;;:26;;;;;;;;;48546:123;;48605:8;;48600:57;;48615:41;48600:4;:57::i;:::-;48593:64;;;;;;48546:123;48897:28;:26;:28::i;:::-;48868:25;;;48853:72;;;48854:12;;;48853:72;;;;;;;;;;;;;;;;;;;-1:-1:-1;48956:18:0;;-1:-1:-1;48940:4:0;:12;;;:34;;;;;;;;;48936:166;;48998:92;49009:16;49027:42;49076:4;:12;;;49071:18;;;;;;;48936:166;49148:78;49171:10;49183:42;;;;;;;;49198:4;:25;;;49183:42;;;49148:22;:78::i;:::-;49129:15;;;49114:112;;;49115:12;;;49114:112;;;;;;;;;;;;;;;;;;;-1:-1:-1;49257:18:0;;-1:-1:-1;49241:4:0;:12;;;:34;;;;;;;;;49237:168;;49299:94;49310:16;49328:44;49379:4;:12;;;49374:18;;;;;;;49237:168;49708:37;49716:11;;49729:4;:15;;;49708:7;:37::i;:::-;49685:19;;;49670:75;;;49671:12;;;49670:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;49776:18:0;;-1:-1:-1;49760:4:0;:12;;;:34;;;;;;;;;49756:176;;49818:102;49829:16;49847:52;49906:4;:12;;;49901:18;;;;;;;49756:176;-1:-1:-1;;;;;49992:21:0;;;;;;:13;:21;;;;;;50015:15;;;;49984:47;;49992:21;49984:7;:47::i;:::-;49959:21;;;49944:87;;;49945:12;;;49944:87;;;;;;;;;;;;;;;;;;;-1:-1:-1;50062:18:0;;-1:-1:-1;50046:4:0;:12;;;:34;;;;;;;;;50042:179;;50104:105;50115:16;50133:55;50195:4;:12;;;50190:18;;;;;;;50042:179;50775:32;50788:6;50796:10;50775:12;:32::i;:::-;50764:4;;:43;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50834:14:0;50822:8;;:26;;;;;;;;;50818:117;;50877:8;;50872:51;;50887:35;50872:4;:51::i;50818:117::-;51027:19;;;;51013:11;:33;51081:21;;;;-1:-1:-1;;;;;51057:21:0;;;;;;:13;:21;;;;;;;;;:45;;;;51203:15;;;;;51178:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51267:15;;;;51235:48;;;;;;;-1:-1:-1;;;;;51235:48:0;;;51252:4;;-1:-1:-1;;;;;;;;;;;51235:48:0;;;;;;;;51336:10;;51393:15;;;;51336:73;;;-1:-1:-1;;;51336:73:0;;51366:4;51336:73;;;;-1:-1:-1;;;;;51336:73:0;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:21;;:73;;;;;:10;;:73;;;;;;;:10;;:73;;;5:2:-1;;;;30:1;27;20:12;5:2;51336:73:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;51434:14:0;;-1:-1:-1;51429:20:0;;-1:-1:-1;;51429:20:0;;51422:27;47822:3635;-1:-1:-1;;;;;47822:3635:0:o;14924:1136::-;14991:9;15002:10;;:::i;:::-;15028:14;15044:24;15072:31;15080:1;:10;;;15092:1;:10;;;15072:7;:31::i;:::-;15027:76;;-1:-1:-1;15027:76:0;-1:-1:-1;15126:18:0;15118:4;:26;;;;;;;;;15114:92;;-1:-1:-1;15175:18:0;;;;;;;;;-1:-1:-1;15175:18:0;;15169:4;;-1:-1:-1;15175:18:0;-1:-1:-1;15161:33:0;;15114:92;15523:14;;15580:42;11466:10;15602:19;15580:7;:42::i;:::-;15522:100;;-1:-1:-1;15522:100:0;-1:-1:-1;15645:18:0;15637:4;:26;;;;;;;;;15633:92;;-1:-1:-1;15694:18:0;;;;;;;;;-1:-1:-1;15694:18:0;;15688:4;;-1:-1:-1;15694:18:0;-1:-1:-1;15680:33:0;;-1:-1:-1;;15680:33:0;15633:92;15738:14;15754:12;15770:51;15778:32;11426:4;15770:7;:51::i;:::-;15737:84;;-1:-1:-1;15737:84:0;-1:-1:-1;15967:18:0;15959:4;:26;;;;;;;;;15952:34;;;;16027:24;;;;;;;;;;;;-1:-1:-1;;16027:24:0;;-1:-1:-1;14924:1136:0;-1:-1:-1;;;;;;;;14924:1136:0:o;60058:3164::-;60216:10;;:63;;;-1:-1:-1;;;60216:63:0;;60249:4;60216:63;;;;-1:-1:-1;;;;;60216:63:0;;;;;;;;;;;;;;;60142:4;;;;60216:10;;:24;;:63;;;;;;;;;;;;;;60142:4;60216:10;:63;;;5:2:-1;;;;30:1;27;20:12;5:2;60216:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60216:63:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60216:63:0;;-1:-1:-1;60294:12:0;;60290:140;;60330:88;60341:26;60369:39;60410:7;60330:10;:88::i;60290:140::-;60540:16;:14;:16::i;:::-;60518:18;;:38;60514:142;;60580:64;60585:22;60609:34;60580:4;:64::i;60514:142::-;60765:12;60748:14;:12;:14::i;:::-;:29;60744:143;;;60801:74;60806:29;60837:37;60801:4;:74::i;60744:143::-;60899:27;;:::i;:::-;61214:37;61242:8;61214:27;:37::i;:::-;61191:19;;;61176:75;;;61177:12;;;61176:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;61282:18:0;;-1:-1:-1;61266:4:0;:12;;;:34;;;;;;;;;61262:181;;61324:107;61335:16;61353:57;61417:4;:12;;;61412:18;;;;;;;61262:181;61496:42;61504:4;:19;;;61525:12;61496:7;:42::i;:::-;61470:22;;;61455:83;;;61456:12;;;61455:83;;;;;;;;;;;;;;;;;;;-1:-1:-1;61569:18:0;;-1:-1:-1;61553:4:0;:12;;;:34;;;;;;;;;61549:188;;61611:114;61622:16;61640:64;61711:4;:12;;;61706:18;;;;;;;61549:188;61788:35;61796:12;;61810;61788:7;:35::i;:::-;61764:20;;;61749:74;;;61750:12;;;61749:74;;;;;;;;;;;;;;;;;;;-1:-1:-1;61854:18:0;;-1:-1:-1;61838:4:0;:12;;;:34;;;;;;;;;61834:179;;61896:105;61907:16;61925:55;61987:4;:12;;;61982:18;;;;;;;61834:179;62563:37;62577:8;62587:12;62563:13;:37::i;:::-;62552:4;;:48;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62631:14:0;62619:8;;:26;;;;;;;;;62611:65;;;;;-1:-1:-1;;;62611:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;62796:22;;;;;;-1:-1:-1;;;;;62759:24:0;;;;;;:14;:24;;;;;;;;;:59;;;62870:11;;62829:38;;;;:52;;;;62907:20;;;;;62892:12;:35;;;63014:22;;62983:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63112:10;;:62;;;-1:-1:-1;;;63112:62:0;;63144:4;63112:62;;;;-1:-1:-1;;;;;63112:62:0;;;;;;;;;;;;;;;:10;;;;;:23;;:62;;;;;:10;;:62;;;;;;;:10;;:62;;;5:2:-1;;;;30:1;27;20:12;71293:3176:0;71499:10;;:110;;;-1:-1:-1;;;71499:110:0;;71541:4;71499:110;;;;-1:-1:-1;;;;;71499:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71422:4;;;;71499:10;;:33;;:110;;;;;;;;;;;;;;71422:4;71499:10;:110;;;5:2:-1;;;;30:1;27;20:12;5:2;71499:110:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;71499:110:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;71499:110:0;;-1:-1:-1;71624:12:0;;71620:143;;71660:91;71671:26;71699:42;71743:7;71660:10;:91::i;71620:143::-;71873:16;:14;:16::i;:::-;71851:18;;:38;71847:145;;71913:67;71918:22;71942:37;71913:4;:67::i;71847:145::-;72138:16;:14;:16::i;:::-;72097;-1:-1:-1;;;;;72097:35:0;;:37;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;72097:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;72097:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;72097:37:0;:57;72093:175;;72178:78;72183:22;72207:48;72178:4;:78::i;72093:175::-;72341:10;-1:-1:-1;;;;;72329:22:0;:8;-1:-1:-1;;;;;72329:22:0;;72325:140;;;72375:78;72380:26;72408:44;72375:4;:78::i;72325:140::-;72520:16;72516:142;;72560:86;72565:36;72603:42;72560:4;:86::i;72516:142::-;-1:-1:-1;;72714:11:0;:23;72710:153;;;72761:90;72766:36;72804:46;72761:4;:90::i;72710:153::-;72999:10;;:95;;;-1:-1:-1;;;72999:95:0;;73048:4;72999:95;;;;-1:-1:-1;;;;;72999:95:0;;;;;;;;;;;;;;;72956:21;;;;72999:10;;;:40;;:95;;;;;;;;;;;;:10;:95;;;5:2:-1;;;;30:1;27;20:12;5:2;72999:95:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;72999:95:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;72999:95:0;;;;;;;;;-1:-1:-1;72999:95:0;-1:-1:-1;73109:21:0;;73105:189;;73154:128;73165:34;73201:62;73265:16;73154:10;:128::i;:::-;73147:135;;;;;;;73105:189;73395:16;-1:-1:-1;;;;;73395:26:0;;73422:8;73395:36;;;;;;;;;;;;;-1:-1:-1;;;;;73395:36:0;-1:-1:-1;;;;;73395:36:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;73395:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73395:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;73395:36:0;73381:50;;73377:166;;;73455:76;73460:32;73494:36;73455:4;:76::i;73377:166::-;73596:21;73620:51;73637:10;73649:8;73659:11;73620:16;:51::i;:::-;73596:75;-1:-1:-1;73686:40:0;;73682:158;;73750:78;73761:16;73755:23;;;;;;;;73780:47;73750:4;:78::i;:::-;73743:85;;;;;;;;73682:158;73956:57;;;-1:-1:-1;;;73956:57:0;;-1:-1:-1;;;;;73956:57:0;;;;;;;;;;;;;;;;;;;;;;73938:15;;73956:22;;;;;:57;;;;;;;;;;;;;;73938:15;73956:22;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;73956:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73956:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;73956:57:0;;-1:-1:-1;74032:34:0;;74024:67;;;;;-1:-1:-1;;;74024:67:0;;;;;;;;;;;;-1:-1:-1;;;74024:67:0;;;;;;;;;;;;;;;74156:90;;;-1:-1:-1;;;;;74156:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74299:10;;:122;;;-1:-1:-1;;;74299:122:0;;74340:4;74299:122;;;;-1:-1:-1;;;;;74299:122:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:32;;:122;;;;;:10;;:122;;;;;;;:10;;:122;;;5:2:-1;;;;30:1;27;20:12;5:2;74299:122:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;74446:14:0;;-1:-1:-1;74441:20:0;;-1:-1:-1;;74441:20:0;;74434:27;71293:3176;-1:-1:-1;;;;;;;;;;71293:3176:0:o;94507:429::-;94638:10;;94666:36;;;-1:-1:-1;;;94666:36:0;;-1:-1:-1;;;;;94666:36:0;;;;;;;94696:4;94666:36;;;;;;94582:5;;94638:10;;;;;94705:6;;94638:10;;94666:15;;:36;;;;;;;;;;;;;;;94638:10;94666:36;;;5:2:-1;;;;30:1;27;20:12;5:2;94666:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94666:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;94666:36:0;:45;94662:119;;;94735:34;94728:41;;;;;94662:119;94821:6;94797:5;-1:-1:-1;;;;;94797:15:0;;94813:4;94797:21;;;;;;;;;;;;;-1:-1:-1;;;;;94797:21:0;-1:-1:-1;;;;;94797:21:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94797:21:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94797:21:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;94797:21:0;:30;94793:102;;;94851:32;94844:39;;;;;94793:102;-1:-1:-1;94914:14:0;;94507:429;-1:-1:-1;;;94507:429:0:o;95642:1063::-;95787:10;;95833:47;;;-1:-1:-1;;;95833:47:0;;-1:-1:-1;;;;;95833:47:0;;;;;;;95866:4;95833:47;;;;;;;;;;;;95709:5;;95787:10;;;;;95709:5;;95787:10;;95833:18;;:47;;;;;95709:5;;95833:47;;;;;;;;95709:5;95787:10;95833:47;;;5:2:-1;;;;30:1;27;20:12;5:2;95833:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;95833:47:0;;;;95989:16;96028:1;96023:150;;;;96196:2;96191:217;;;;96543:1;96540;96533:12;96023:150;-1:-1:-1;;96117:6:0;-1:-1:-1;96023:150:0;;96191:217;96293:2;96290:1;96287;96272:24;96334:1;96328:8;96318:18;;95982:582;;96592:6;96587:77;;96622:30;96615:37;;;;;;14579:337;14667:9;14678:4;14696:13;14711:19;;:::i;:::-;14734:31;14749:6;14757:7;14734:14;:31::i;90418:8522::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;90418:8522:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;90418:8522:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;90418:8522:0;;;;;;;;;;;;;;;;;;-1:-1:-1;90418:8522:0;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://09e8b846f6db474f231d7e61c3342f9659c95f1b50979e2e17c6574fdb6dfd13

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Artem is a Compound derived Defi protocol that features liquidity for cryptocurrencies and Real-World Assets (RWA). It empowers community governance and adopts 0 pre-farming, 0 distribution, and 0 fundraisings.

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.