ETH Price: $2,432.28 (+0.12%)
Gas: 0.07 GWei

Token

ERC20 ***

Overview

Max Total Supply

117.76124056 ERC20 ***

Holders

1,880

Total Transfers

-

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
CErc20

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

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

Contract Source Code (Solidity)

/**
 *Submitted for verification at scrollscan.com on 2023-10-18
*/

// Sources flattened with hardhat v2.14.0 https://hardhat.org

// File contracts/ComptrollerInterface.sol

// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.10;

abstract contract ComptrollerInterface {
    /// @notice Indicator that this is a Comptroller contract (for inspection)
    bool public constant isComptroller = true;

    /*** Assets You Are In ***/

    function enterMarkets(address[] calldata cTokens) virtual external returns (uint[] memory);
    function exitMarket(address cToken) virtual external returns (uint);

    /*** Policy Hooks ***/

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

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

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

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

    function liquidateBorrowAllowed(
        address cTokenBorrowed,
        address cTokenCollateral,
        address liquidator,
        address borrower,
        uint repayAmount) virtual external returns (uint);
    function liquidateBorrowVerify(
        address cTokenBorrowed,
        address cTokenCollateral,
        address liquidator,
        address borrower,
        uint repayAmount,
        uint seizeTokens) virtual external;

    function seizeAllowed(
        address cTokenCollateral,
        address cTokenBorrowed,
        address liquidator,
        address borrower,
        uint seizeTokens) virtual external returns (uint);
    function seizeVerify(
        address cTokenCollateral,
        address cTokenBorrowed,
        address liquidator,
        address borrower,
        uint seizeTokens) virtual external;

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

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

    function liquidateCalculateSeizeTokens(
        address cTokenBorrowed,
        address cTokenCollateral,
        uint repayAmount) virtual external view returns (uint, uint);
}


// File contracts/EIP20NonStandardInterface.sol


pragma solidity ^0.8.10;

/**
 * @title EIP20NonStandardInterface
 * @dev 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 {

    /**
     * @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 balance The balance
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    ///
    /// !!!!!!!!!!!!!!
    /// !!! NOTICE !!! `transfer` does not return a value, in violation of the ERC-20 specification
    /// !!!!!!!!!!!!!!
    ///

    /**
      * @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
      */
    function transfer(address dst, uint256 amount) external;

    ///
    /// !!!!!!!!!!!!!!
    /// !!! NOTICE !!! `transferFrom` does not return a value, in violation of the ERC-20 specification
    /// !!!!!!!!!!!!!!
    ///

    /**
      * @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
      */
    function transferFrom(address src, address dst, uint256 amount) external;

    /**
      * @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
      * @return success 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 remaining The number of tokens allowed to be spent
      */
    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);
}


// File contracts/ErrorReporter.sol


pragma solidity ^0.8.10;

contract ComptrollerErrorReporter {
    enum Error {
        NO_ERROR,
        UNAUTHORIZED,
        COMPTROLLER_MISMATCH,
        INSUFFICIENT_SHORTFALL,
        INSUFFICIENT_LIQUIDITY,
        INVALID_CLOSE_FACTOR,
        INVALID_COLLATERAL_FACTOR,
        INVALID_LIQUIDATION_INCENTIVE,
        MARKET_NOT_ENTERED, // no longer possible
        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,
        SET_PAUSE_GUARDIAN_OWNER_CHECK
    }

    /**
      * @dev `error` corresponds to enum Error; `info` corresponds to enum FailureInfo, and `detail` is an arbitrary
      * contract-specific code that enables us to report opaque error codes from upgradeable contracts.
      **/
    event Failure(uint error, uint info, uint detail);

    /**
      * @dev use this when reporting a known error from the money market or a non-upgradeable collaborator
      */
    function fail(Error err, FailureInfo info) internal returns (uint) {
        emit Failure(uint(err), uint(info), 0);

        return uint(err);
    }

    /**
      * @dev use this when reporting an opaque error from an upgradeable collaborator contract
      */
    function failOpaque(Error err, FailureInfo info, uint opaqueError) internal returns (uint) {
        emit Failure(uint(err), uint(info), opaqueError);

        return uint(err);
    }
}

contract TokenErrorReporter {
    uint public constant NO_ERROR = 0; // support legacy return codes

    error TransferComptrollerRejection(uint256 errorCode);
    error TransferNotAllowed();
    error TransferNotEnough();
    error TransferTooMuch();

    error MintComptrollerRejection(uint256 errorCode);
    error MintFreshnessCheck();

    error RedeemComptrollerRejection(uint256 errorCode);
    error RedeemFreshnessCheck();
    error RedeemTransferOutNotPossible();

    error BorrowComptrollerRejection(uint256 errorCode);
    error BorrowFreshnessCheck();
    error BorrowCashNotAvailable();

    error RepayBorrowComptrollerRejection(uint256 errorCode);
    error RepayBorrowFreshnessCheck();

    error LiquidateComptrollerRejection(uint256 errorCode);
    error LiquidateFreshnessCheck();
    error LiquidateCollateralFreshnessCheck();
    error LiquidateAccrueBorrowInterestFailed(uint256 errorCode);
    error LiquidateAccrueCollateralInterestFailed(uint256 errorCode);
    error LiquidateLiquidatorIsBorrower();
    error LiquidateCloseAmountIsZero();
    error LiquidateCloseAmountIsUintMax();
    error LiquidateRepayBorrowFreshFailed(uint256 errorCode);

    error LiquidateSeizeComptrollerRejection(uint256 errorCode);
    error LiquidateSeizeLiquidatorIsBorrower();

    error AcceptAdminPendingAdminCheck();

    error SetComptrollerOwnerCheck();
    error SetPendingAdminOwnerCheck();

    error SetReserveFactorAdminCheck();
    error SetReserveFactorFreshCheck();
    error SetReserveFactorBoundsCheck();

    error AddReservesFactorFreshCheck(uint256 actualAddAmount);

    error ReduceReservesAdminCheck();
    error ReduceReservesFreshCheck();
    error ReduceReservesCashNotAvailable();
    error ReduceReservesCashValidation();

    error SetInterestRateModelOwnerCheck();
    error SetInterestRateModelFreshCheck();
}


// File contracts/InterestRateModel.sol


pragma solidity ^0.8.10;

/**
  * @title Loanshark's InterestRateModel Interface
  * @author Loanshark
  */
abstract contract InterestRateModel {
    /// @notice Indicator that this is an InterestRateModel contract (for inspection)
    bool public constant isInterestRateModel = true;

    /**
      * @notice Calculates the current borrow interest rate per block
      * @param cash The total amount of cash the market has
      * @param borrows The total amount of borrows the market has outstanding
      * @param reserves The total amount of reserves the market has
      * @return The borrow rate per block (as a percentage, and scaled by 1e18)
      */
    function getBorrowRate(uint cash, uint borrows, uint reserves) virtual external view returns (uint);

    /**
      * @notice Calculates the current supply interest rate per block
      * @param cash The total amount of cash the market has
      * @param borrows The total amount of borrows the market has outstanding
      * @param reserves The total amount of reserves the market has
      * @param reserveFactorMantissa The current reserve factor the market has
      * @return The supply rate per block (as a percentage, and scaled by 1e18)
      */
    function getSupplyRate(uint cash, uint borrows, uint reserves, uint reserveFactorMantissa) virtual external view returns (uint);
}


// File contracts/CTokenInterfaces.sol


pragma solidity ^0.8.10;




contract CTokenStorage {
    /**
     * @dev Guard variable for re-entrancy checks
     */
    bool internal _notEntered;

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

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

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

    // Maximum borrow rate that can ever be applied (.0005% / block)
    uint internal constant borrowRateMaxMantissa = 0.0005e16;

    // Maximum fraction of interest that can be set aside for reserves
    uint internal 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-cToken operations
     */
    ComptrollerInterface public comptroller;

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

    // Initial exchange rate used when minting the first CTokens (used when totalSupply = 0)
    uint internal 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 the total earned interest rate 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
     */
    uint public totalSupply;

    // Official record of token balances for each account
    mapping (address => uint) internal accountTokens;

    // Approved token transfer amounts on behalf of others
    mapping (address => mapping (address => uint)) internal 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;
    }

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

    /**
     * @notice Share of seized collateral that is added to reserves
     */
    uint public constant protocolSeizeShareMantissa = 2.8e16; //2.8%
}

abstract contract CTokenInterface is CTokenStorage {
    /**
     * @notice Indicator that this is a CToken contract (for inspection)
     */
    bool public constant isCToken = true;


    /*** Market Events ***/

    /**
     * @notice Event emitted when interest is accrued
     */
    event AccrueInterest(uint cashPrior, 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 cTokenCollateral, 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 comptroller is changed
     */
    event NewComptroller(ComptrollerInterface oldComptroller, ComptrollerInterface newComptroller);

    /**
     * @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 added
     */
    event ReservesAdded(address benefactor, uint addAmount, uint newTotalReserves);

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

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

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


    /*** User Interface ***/

    function transfer(address dst, uint amount) virtual external returns (bool);
    function transferFrom(address src, address dst, uint amount) virtual external returns (bool);
    function approve(address spender, uint amount) virtual external returns (bool);
    function allowance(address owner, address spender) virtual external view returns (uint);
    function balanceOf(address owner) virtual external view returns (uint);
    function balanceOfUnderlying(address owner) virtual external returns (uint);
    function getAccountSnapshot(address account) virtual external view returns (uint, uint, uint, uint);
    function borrowRatePerBlock() virtual external view returns (uint);
    function supplyRatePerBlock() virtual external view returns (uint);
    function totalBorrowsCurrent() virtual external returns (uint);
    function borrowBalanceCurrent(address account) virtual external returns (uint);
    function borrowBalanceStored(address account) virtual external view returns (uint);
    function exchangeRateCurrent() virtual external returns (uint);
    function exchangeRateStored() virtual external view returns (uint);
    function getCash() virtual external view returns (uint);
    function accrueInterest() virtual external returns (uint);
    function seize(address liquidator, address borrower, uint seizeTokens) virtual external returns (uint);


    /*** Admin Functions ***/

    function _setPendingAdmin(address payable newPendingAdmin) virtual external returns (uint);
    function _acceptAdmin() virtual external returns (uint);
    function _setComptroller(ComptrollerInterface newComptroller) virtual external returns (uint);
    function _setReserveFactor(uint newReserveFactorMantissa) virtual external returns (uint);
    function _reduceReserves(uint reduceAmount) virtual external returns (uint);
    function _setInterestRateModel(InterestRateModel newInterestRateModel) virtual external returns (uint);
}

contract CErc20Storage {
    /**
     * @notice Underlying asset for this CToken
     */
    address public underlying;
}

abstract contract CErc20Interface is CErc20Storage {

    /*** User Interface ***/

    function mint(uint mintAmount) virtual external returns (uint);
    function redeem(uint redeemTokens) virtual external returns (uint);
    function redeemUnderlying(uint redeemAmount) virtual external returns (uint);
    function borrow(uint borrowAmount) virtual external returns (uint);
    function repayBorrow(uint repayAmount) virtual external returns (uint);
    function repayBorrowBehalf(address borrower, uint repayAmount) virtual external returns (uint);
    function liquidateBorrow(address borrower, uint repayAmount, CTokenInterface cTokenCollateral) virtual external returns (uint);
    function sweepToken(EIP20NonStandardInterface token) virtual external;


    /*** Admin Functions ***/

    function _addReserves(uint addAmount) virtual external returns (uint);
}

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

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

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

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

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


// File contracts/EIP20Interface.sol


pragma solidity ^0.8.10;

/**
 * @title ERC 20 Token Standard Interface
 *  https://eips.ethereum.org/EIPS/eip-20
 */
interface EIP20Interface {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);

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


// File contracts/ExponentialNoError.sol


pragma solidity ^0.8.10;

/**
 * @title Exponential module for storing fixed-precision decimals
 * @author Loanshark
 * @notice Exp is a struct which stores decimals with a fixed precision of 18 decimal places.
 *         Thus, if we wanted to store the 5.1, mantissa would store 5.1e18. That is:
 *         `Exp({mantissa: 5100000000000000000})`.
 */
contract ExponentialNoError {
    uint constant expScale = 1e18;
    uint constant doubleScale = 1e36;
    uint constant halfExpScale = expScale/2;
    uint constant mantissaOne = expScale;

    struct Exp {
        uint mantissa;
    }

    struct Double {
        uint mantissa;
    }

    /**
     * @dev Truncates the given exp to a whole number value.
     *      For example, truncate(Exp{mantissa: 15 * expScale}) = 15
     */
    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;
    }

    /**
     * @dev Multiply an Exp by a scalar, then truncate to return an unsigned integer.
     */
    function mul_ScalarTruncate(Exp memory a, uint scalar) pure internal returns (uint) {
        Exp memory product = mul_(a, scalar);
        return truncate(product);
    }

    /**
     * @dev Multiply an Exp by a scalar, truncate, then add an to an unsigned integer, returning an unsigned integer.
     */
    function mul_ScalarTruncateAddUInt(Exp memory a, uint scalar, uint addend) pure internal returns (uint) {
        Exp memory product = mul_(a, scalar);
        return add_(truncate(product), addend);
    }

    /**
     * @dev Checks if first Exp is less than second Exp.
     */
    function lessThanExp(Exp memory left, Exp memory right) pure internal returns (bool) {
        return left.mantissa < right.mantissa;
    }

    /**
     * @dev Checks if left Exp <= right Exp.
     */
    function lessThanOrEqualExp(Exp memory left, Exp memory right) pure internal returns (bool) {
        return left.mantissa <= right.mantissa;
    }

    /**
     * @dev Checks if left Exp > right Exp.
     */
    function greaterThanExp(Exp memory left, Exp memory right) pure internal returns (bool) {
        return left.mantissa > right.mantissa;
    }

    /**
     * @dev returns true if Exp is exactly zero
     */
    function isZeroExp(Exp memory value) pure internal returns (bool) {
        return value.mantissa == 0;
    }

    function safe224(uint n, string memory errorMessage) pure internal returns (uint224) {
        require(n < 2**224, errorMessage);
        return uint224(n);
    }

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

    function add_(Exp memory a, Exp memory b) pure internal returns (Exp memory) {
        return Exp({mantissa: add_(a.mantissa, b.mantissa)});
    }

    function add_(Double memory a, Double memory b) pure internal returns (Double memory) {
        return Double({mantissa: add_(a.mantissa, b.mantissa)});
    }

    function add_(uint a, uint b) pure internal returns (uint) {
        return a + b;
    }

    function sub_(Exp memory a, Exp memory b) pure internal returns (Exp memory) {
        return Exp({mantissa: sub_(a.mantissa, b.mantissa)});
    }

    function sub_(Double memory a, Double memory b) pure internal returns (Double memory) {
        return Double({mantissa: sub_(a.mantissa, b.mantissa)});
    }

    function sub_(uint a, uint b) pure internal returns (uint) {
        return a - b;
    }

    function mul_(Exp memory a, Exp memory b) pure internal returns (Exp memory) {
        return Exp({mantissa: mul_(a.mantissa, b.mantissa) / expScale});
    }

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

    function mul_(uint a, Exp memory b) pure internal returns (uint) {
        return mul_(a, b.mantissa) / expScale;
    }

    function mul_(Double memory a, Double memory b) pure internal returns (Double memory) {
        return Double({mantissa: mul_(a.mantissa, b.mantissa) / doubleScale});
    }

    function mul_(Double memory a, uint b) pure internal returns (Double memory) {
        return Double({mantissa: mul_(a.mantissa, b)});
    }

    function mul_(uint a, Double memory b) pure internal returns (uint) {
        return mul_(a, b.mantissa) / doubleScale;
    }

    function mul_(uint a, uint b) pure internal returns (uint) {
        return a * b;
    }

    function div_(Exp memory a, Exp memory b) pure internal returns (Exp memory) {
        return Exp({mantissa: div_(mul_(a.mantissa, expScale), b.mantissa)});
    }

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

    function div_(uint a, Exp memory b) pure internal returns (uint) {
        return div_(mul_(a, expScale), b.mantissa);
    }

    function div_(Double memory a, Double memory b) pure internal returns (Double memory) {
        return Double({mantissa: div_(mul_(a.mantissa, doubleScale), b.mantissa)});
    }

    function div_(Double memory a, uint b) pure internal returns (Double memory) {
        return Double({mantissa: div_(a.mantissa, b)});
    }

    function div_(uint a, Double memory b) pure internal returns (uint) {
        return div_(mul_(a, doubleScale), b.mantissa);
    }

    function div_(uint a, uint b) pure internal returns (uint) {
        return a / b;
    }

    function fraction(uint a, uint b) pure internal returns (Double memory) {
        return Double({mantissa: div_(mul_(a, doubleScale), b)});
    }
}


// File contracts/CToken.sol


pragma solidity ^0.8.10;






/**
 * @title The base contract with helpful constants
 * @author The Redstone Oracles team
 * @dev It mainly contains redstone-related values, which improve readability
 * of other contracts (e.g. CalldataExtractor and RedstoneConsumerBase)
 */
contract RedstoneConstants {
  // === Abbreviations ===
  // BS - Bytes size
  // PTR - Pointer (memory location)
  // SIG - Signature

  // Solidity and YUL constants
  uint256 internal constant STANDARD_SLOT_BS = 32;
  uint256 internal constant FREE_MEMORY_PTR = 0x40;
  uint256 internal constant BYTES_ARR_LEN_VAR_BS = 32;
  uint256 internal constant FUNCTION_SIGNATURE_BS = 4;
  uint256 internal constant REVERT_MSG_OFFSET = 68; // Revert message structure described here: https://ethereum.stackexchange.com/a/66173/106364
  uint256 internal constant STRING_ERR_MESSAGE_MASK = 0x08c379a000000000000000000000000000000000000000000000000000000000;

  // RedStone protocol consts
  uint256 internal constant SIG_BS = 65;
  uint256 internal constant TIMESTAMP_BS = 6;
  uint256 internal constant DATA_PACKAGES_COUNT_BS = 2;
  uint256 internal constant DATA_POINTS_COUNT_BS = 3;
  uint256 internal constant DATA_POINT_VALUE_BYTE_SIZE_BS = 4;
  uint256 internal constant DATA_POINT_SYMBOL_BS = 32;
  uint256 internal constant DEFAULT_DATA_POINT_VALUE_BS = 32;
  uint256 internal constant UNSIGNED_METADATA_BYTE_SIZE_BS = 3;
  uint256 internal constant REDSTONE_MARKER_BS = 9; // byte size of 0x000002ed57011e0000
  uint256 internal constant REDSTONE_MARKER_MASK = 0x0000000000000000000000000000000000000000000000000002ed57011e0000;

  // Derived values (based on consts)
  uint256 internal constant TIMESTAMP_NEGATIVE_OFFSET_IN_DATA_PACKAGE_WITH_STANDARD_SLOT_BS = 104; // SIG_BS + DATA_POINTS_COUNT_BS + DATA_POINT_VALUE_BYTE_SIZE_BS + STANDARD_SLOT_BS
  uint256 internal constant DATA_PACKAGE_WITHOUT_DATA_POINTS_BS = 78; // DATA_POINT_VALUE_BYTE_SIZE_BS + TIMESTAMP_BS + DATA_POINTS_COUNT_BS + SIG_BS
  uint256 internal constant DATA_PACKAGE_WITHOUT_DATA_POINTS_AND_SIG_BS = 13; // DATA_POINT_VALUE_BYTE_SIZE_BS + TIMESTAMP_BS + DATA_POINTS_COUNT_BS
  uint256 internal constant REDSTONE_MARKER_BS_PLUS_STANDARD_SLOT_BS = 41; // REDSTONE_MARKER_BS + STANDARD_SLOT_BS

  // Error messages
  error CalldataOverOrUnderFlow();
  error IncorrectUnsignedMetadataSize();
  error InsufficientNumberOfUniqueSigners(uint256 receivedSignersCount, uint256 requiredSignersCount);
  error EachSignerMustProvideTheSameValue();
  error EmptyCalldataPointersArr();
  error InvalidCalldataPointer();
  error CalldataMustHaveValidPayload();
  error SignerNotAuthorised(address receivedSigner);
}



library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

/**
 * @title The base contract with the main logic of data extraction from calldata
 * @author The Redstone Oracles team
 * @dev This contract was created to reuse the same logic in the RedstoneConsumerBase
 * and the ProxyConnector contracts
 */
contract CalldataExtractor is RedstoneConstants {
  using SafeMath for uint256;

  error DataPackageTimestampMustNotBeZero();
  error DataPackageTimestampsMustBeEqual();
  error RedstonePayloadMustHaveAtLeastOneDataPackage();

  function extractTimestampsAndAssertAllAreEqual() public pure returns (uint256 extractedTimestamp) {
    uint256 calldataNegativeOffset = _extractByteSizeOfUnsignedMetadata();
    uint256 dataPackagesCount = _extractDataPackagesCountFromCalldata(calldataNegativeOffset);

    if (dataPackagesCount == 0) {
      revert RedstonePayloadMustHaveAtLeastOneDataPackage();
    }

    calldataNegativeOffset += DATA_PACKAGES_COUNT_BS;
    for (uint256 dataPackageIndex = 0; dataPackageIndex < dataPackagesCount; dataPackageIndex++) {
      uint256 dataPackageByteSize = _getDataPackageByteSize(calldataNegativeOffset);

      // Extracting timestamp for the current data package
      uint48 dataPackageTimestamp; // uint48, because timestamp uses 6 bytes
      uint256 timestampNegativeOffset = (calldataNegativeOffset + TIMESTAMP_NEGATIVE_OFFSET_IN_DATA_PACKAGE_WITH_STANDARD_SLOT_BS);
      uint256 timestampOffset = msg.data.length - timestampNegativeOffset;
      assembly {
        dataPackageTimestamp := calldataload(timestampOffset)
      }

      if (dataPackageTimestamp == 0) {
        revert DataPackageTimestampMustNotBeZero();
      }

      if (extractedTimestamp == 0) {
        extractedTimestamp = dataPackageTimestamp;
      } else if (dataPackageTimestamp != extractedTimestamp) {
        revert DataPackageTimestampsMustBeEqual();
      }

      calldataNegativeOffset += dataPackageByteSize;
    }
  }

  function _getDataPackageByteSize(uint256 calldataNegativeOffset) internal pure returns (uint256) {
    (
      uint256 dataPointsCount,
      uint256 eachDataPointValueByteSize
    ) = _extractDataPointsDetailsForDataPackage(calldataNegativeOffset);

    return
      dataPointsCount *
      (DATA_POINT_SYMBOL_BS + eachDataPointValueByteSize) +
      DATA_PACKAGE_WITHOUT_DATA_POINTS_BS;
  }

  function _extractByteSizeOfUnsignedMetadata() internal pure returns (uint256) {
    // Checking if the calldata ends with the RedStone marker
    bool hasValidRedstoneMarker;
    assembly {
      let calldataLast32Bytes := calldataload(sub(calldatasize(), STANDARD_SLOT_BS))
      hasValidRedstoneMarker := eq(
        REDSTONE_MARKER_MASK,
        and(calldataLast32Bytes, REDSTONE_MARKER_MASK)
      )
    }
    if (!hasValidRedstoneMarker) {
      revert CalldataMustHaveValidPayload();
    }

    // Using uint24, because unsigned metadata byte size number has 3 bytes
    uint24 unsignedMetadataByteSize;
    if (REDSTONE_MARKER_BS_PLUS_STANDARD_SLOT_BS > msg.data.length) {
      revert CalldataOverOrUnderFlow();
    }
    assembly {
      unsignedMetadataByteSize := calldataload(
        sub(calldatasize(), REDSTONE_MARKER_BS_PLUS_STANDARD_SLOT_BS)
      )
    }
    uint256 calldataNegativeOffset = unsignedMetadataByteSize
      + UNSIGNED_METADATA_BYTE_SIZE_BS
      + REDSTONE_MARKER_BS;
    if (calldataNegativeOffset + DATA_PACKAGES_COUNT_BS > msg.data.length) {
      revert IncorrectUnsignedMetadataSize();
    }
    return calldataNegativeOffset;
  }

  // We return uint16, because unsigned metadata byte size number has 2 bytes
  function _extractDataPackagesCountFromCalldata(uint256 calldataNegativeOffset)
    internal
    pure
    returns (uint16 dataPackagesCount)
  {
    uint256 calldataNegativeOffsetWithStandardSlot = calldataNegativeOffset + STANDARD_SLOT_BS;
    if (calldataNegativeOffsetWithStandardSlot > msg.data.length) {
      revert CalldataOverOrUnderFlow();
    }
    assembly {
      dataPackagesCount := calldataload(
        sub(calldatasize(), calldataNegativeOffsetWithStandardSlot)
      )
    }
    return dataPackagesCount;
  }

  function _extractDataPointValueAndDataFeedId(
    uint256 calldataNegativeOffsetForDataPackage,
    uint256 defaultDataPointValueByteSize,
    uint256 dataPointIndex
  ) internal pure virtual returns (bytes32 dataPointDataFeedId, uint256 dataPointValue) {
    uint256 negativeOffsetToDataPoints = calldataNegativeOffsetForDataPackage + DATA_PACKAGE_WITHOUT_DATA_POINTS_BS;
    uint256 dataPointNegativeOffset = negativeOffsetToDataPoints.add(
      (1 + dataPointIndex).mul((defaultDataPointValueByteSize + DATA_POINT_SYMBOL_BS))
    );
    uint256 dataPointCalldataOffset = msg.data.length.sub(dataPointNegativeOffset);
    assembly {
      dataPointDataFeedId := calldataload(dataPointCalldataOffset)
      dataPointValue := calldataload(add(dataPointCalldataOffset, DATA_POINT_SYMBOL_BS))
    }
  }

  function _extractDataPointsDetailsForDataPackage(uint256 calldataNegativeOffsetForDataPackage)
    internal
    pure
    returns (uint256 dataPointsCount, uint256 eachDataPointValueByteSize)
  {
    // Using uint24, because data points count byte size number has 3 bytes
    uint24 dataPointsCount_;

    // Using uint32, because data point value byte size has 4 bytes
    uint32 eachDataPointValueByteSize_;

    // Extract data points count
    uint256 negativeCalldataOffset = calldataNegativeOffsetForDataPackage + SIG_BS;
    uint256 calldataOffset = msg.data.length.sub(negativeCalldataOffset + STANDARD_SLOT_BS);
    assembly {
      dataPointsCount_ := calldataload(calldataOffset)
    }

    // Extract each data point value size
    calldataOffset = calldataOffset.sub(DATA_POINTS_COUNT_BS);
    assembly {
      eachDataPointValueByteSize_ := calldataload(calldataOffset)
    }

    // Prepare returned values
    dataPointsCount = dataPointsCount_;
    eachDataPointValueByteSize = eachDataPointValueByteSize_;
  }
}

/**
 * @title The base contract for forwarding redstone payload to other contracts
 * @author The Redstone Oracles team
 */
contract ProxyConnector is RedstoneConstants, CalldataExtractor {
  error ProxyCalldataFailedWithoutErrMsg();
  error ProxyCalldataFailedWithStringMessage(string message);
  error ProxyCalldataFailedWithCustomError(bytes result);

  function proxyCalldata(
    address contractAddress,
    bytes memory encodedFunction,
    bool forwardValue
  ) internal returns (bytes memory) {
    bytes memory message = _prepareMessage(encodedFunction);

    (bool success, bytes memory result) =
      contractAddress.call{value: forwardValue ? msg.value : 0}(message);

    return _prepareReturnValue(success, result);
  }

  function proxyDelegateCalldata(address contractAddress, bytes memory encodedFunction)
    internal
    returns (bytes memory)
  {
    bytes memory message = _prepareMessage(encodedFunction);
    (bool success, bytes memory result) = contractAddress.delegatecall(message);
    return _prepareReturnValue(success, result);
  }

  function proxyCalldataView(address contractAddress, bytes memory encodedFunction)
    internal
    view
    returns (bytes memory)
  {
    bytes memory message = _prepareMessage(encodedFunction);
    (bool success, bytes memory result) = contractAddress.staticcall(message);
    return _prepareReturnValue(success, result);
  }

  function _prepareMessage(bytes memory encodedFunction) private pure returns (bytes memory) {
    uint256 encodedFunctionBytesCount = encodedFunction.length;
    uint256 redstonePayloadByteSize = _getRedstonePayloadByteSize();
    uint256 resultMessageByteSize = encodedFunctionBytesCount + redstonePayloadByteSize;

    if (redstonePayloadByteSize > msg.data.length) {
      revert CalldataOverOrUnderFlow();
    }

    bytes memory message;

    assembly {
      message := mload(FREE_MEMORY_PTR) // sets message pointer to first free place in memory

      // Saving the byte size of the result message (it's a standard in EVM)
      mstore(message, resultMessageByteSize)

      // Copying function and its arguments
      for {
        let from := add(BYTES_ARR_LEN_VAR_BS, encodedFunction)
        let fromEnd := add(from, encodedFunctionBytesCount)
        let to := add(BYTES_ARR_LEN_VAR_BS, message)
      } lt (from, fromEnd) {
        from := add(from, STANDARD_SLOT_BS)
        to := add(to, STANDARD_SLOT_BS)
      } {
        // Copying data from encodedFunction to message (32 bytes at a time)
        mstore(to, mload(from))
      }

      // Copying redstone payload to the message bytes
      calldatacopy(
        add(message, add(BYTES_ARR_LEN_VAR_BS, encodedFunctionBytesCount)), // address
        sub(calldatasize(), redstonePayloadByteSize), // offset
        redstonePayloadByteSize // bytes length to copy
      )

      // Updating free memory pointer
      mstore(
        FREE_MEMORY_PTR,
        add(
          add(message, add(redstonePayloadByteSize, encodedFunctionBytesCount)),
          BYTES_ARR_LEN_VAR_BS
        )
      )
    }

    return message;
  }

  function _getRedstonePayloadByteSize() private pure returns (uint256) {
    uint256 calldataNegativeOffset = _extractByteSizeOfUnsignedMetadata();
    uint256 dataPackagesCount = _extractDataPackagesCountFromCalldata(calldataNegativeOffset);
    calldataNegativeOffset += DATA_PACKAGES_COUNT_BS;
    for (uint256 dataPackageIndex = 0; dataPackageIndex < dataPackagesCount; dataPackageIndex++) {
      uint256 dataPackageByteSize = _getDataPackageByteSize(calldataNegativeOffset);
      calldataNegativeOffset += dataPackageByteSize;
    }

    return calldataNegativeOffset;
  }

  function _prepareReturnValue(bool success, bytes memory result)
    internal
    pure
    returns (bytes memory)
  {
    if (!success) {

      if (result.length == 0) {
        revert ProxyCalldataFailedWithoutErrMsg();
      } else {
        bool isStringErrorMessage;
        assembly {
          let first32BytesOfResult := mload(add(result, BYTES_ARR_LEN_VAR_BS))
          isStringErrorMessage := eq(first32BytesOfResult, STRING_ERR_MESSAGE_MASK)
        }

        if (isStringErrorMessage) {
          string memory receivedErrMsg;
          assembly {
            receivedErrMsg := add(result, REVERT_MSG_OFFSET)
          }
          revert ProxyCalldataFailedWithStringMessage(receivedErrMsg);
        } else {
          revert ProxyCalldataFailedWithCustomError(result);
        }
      }
    }

    return result;
  }
}

/**
 * @title Loanshark's CToken Contract
 * @notice Abstract base for CTokens
 * @author Loanshark
 */
abstract contract CToken is CTokenInterface, ExponentialNoError, TokenErrorReporter, ProxyConnector {
    constructor() {
       admin = payable(msg.sender);   
    }
    /**
     * @notice Initialize the money market
     * @param comptroller_ The address of the Comptroller
     * @param interestRateModel_ The address of the interest rate model
     * @param initialExchangeRateMantissa_ The initial exchange rate, scaled by 1e18
     * @param name_ EIP-20 name of this token
     * @param symbol_ EIP-20 symbol of this token
     * @param decimals_ EIP-20 decimal precision of this token
     */
    function initialize(ComptrollerInterface comptroller_,
                        InterestRateModel interestRateModel_,
                        uint initialExchangeRateMantissa_,
                        string memory name_,
                        string memory symbol_,
                        uint8 decimals_) public {
        require(msg.sender == admin, "only admin may initialize the market");
        require(accrualBlockNumber == 0 && borrowIndex == 0, "market may only be initialized once");

        // Set initial exchange rate
        initialExchangeRateMantissa = initialExchangeRateMantissa_;
        require(initialExchangeRateMantissa > 0, "initial exchange rate must be greater than zero.");

        // Set the comptroller
        uint err = _setComptroller(comptroller_);
        require(err == NO_ERROR, "setting comptroller failed");

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

        // Set the interest rate model (depends on block number / borrow index)
        err = _setInterestRateModelFresh(interestRateModel_);
        require(err == NO_ERROR, "setting interest rate model failed");

        name = name_;
        symbol = symbol_;
        decimals = decimals_;

        // The counter starts true to prevent changing it from zero to non-zero (i.e. smaller cost/refund)
        _notEntered = true;
    }

    /**
     * @notice Transfer `tokens` tokens from `src` to `dst` by `spender`
     * @dev Called by both `transfer` and `transferFrom` internally
     * @param spender The address of the account performing the transfer
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param tokens The number of tokens to transfer
     * @return 0 if the transfer succeeded, else revert
     */
    function transferTokens(address spender, address src, address dst, uint tokens) internal returns (uint) {
        /* Fail if transfer not allowed */
        uint allowed = comptroller.transferAllowed(address(this), src, dst, tokens);
        if (allowed != 0) {
            revert TransferComptrollerRejection(allowed);
        }

        /* Do not allow self-transfers */
        if (src == dst) {
            revert TransferNotAllowed();
        }

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

        /* Do the calculations, checking for {under,over}flow */
        uint allowanceNew = startingAllowance - tokens;
        uint srcTokensNew = accountTokens[src] - tokens;
        uint dstTokensNew = accountTokens[dst] + tokens;

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

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

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

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

        // unused function
        // comptroller.transferVerify(address(this), src, dst, tokens);

        return 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) override external nonReentrant returns (bool) {
        return transferTokens(msg.sender, msg.sender, dst, amount) == 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) override external nonReentrant returns (bool) {
        return transferTokens(msg.sender, src, dst, amount) == 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 (uint256.max means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(address spender, uint256 amount) override 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) override 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) override 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) override external returns (uint) {
        Exp memory exchangeRate = Exp({mantissa: exchangeRateCurrent()});
        return mul_ScalarTruncate(exchangeRate, accountTokens[owner]);
    }

    /**
     * @notice Get a snapshot of the account's balances, and the cached exchange rate
     * @dev This is used by comptroller 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) override external view returns (uint, uint, uint, uint) {
        return (
            NO_ERROR,
            accountTokens[account],
            borrowBalanceStoredInternal(account),
            exchangeRateStoredInternal()
        );
    }

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

    /**
     * @notice Returns the current per-block borrow interest rate for this cToken
     * @return The borrow interest rate per block, scaled by 1e18
     */
    function borrowRatePerBlock() override external view returns (uint) {
        return interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves);
    }

    /**
     * @notice Returns the current per-block supply interest rate for this cToken
     * @return The supply interest rate per block, scaled by 1e18
     */
    function supplyRatePerBlock() override external view returns (uint) {
        return interestRateModel.getSupplyRate(getCashPrior(), totalBorrows, totalReserves, reserveFactorMantissa);
    }

    /**
     * @notice Returns the current total borrows plus accrued interest
     * @return The total borrows with interest
     */
    function totalBorrowsCurrent() override external nonReentrant returns (uint) {
        accrueInterest();
        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) override external nonReentrant returns (uint) {
        accrueInterest();
        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) override public view returns (uint) {
        return borrowBalanceStoredInternal(account);
    }

    /**
     * @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 (uint) {
        /* 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 0;
        }

        /* Calculate new borrow balance using the interest index:
         *  recentBorrowBalance = borrower.borrowBalance * market.borrowIndex / borrower.borrowIndex
         */
        uint principalTimesIndex = borrowSnapshot.principal * borrowIndex;
        return principalTimesIndex / borrowSnapshot.interestIndex;
    }

    /**
     * @notice Accrue interest then return the up-to-date exchange rate
     * @return Calculated exchange rate scaled by 1e18
     */
    function exchangeRateCurrent() override public nonReentrant returns (uint) {
        accrueInterest();
        return exchangeRateStored();
    }

    /**
     * @notice Calculates the exchange rate from the underlying to the CToken
     * @dev This function does not accrue interest before calculating the exchange rate
     * @return Calculated exchange rate scaled by 1e18
     */
    function exchangeRateStored() override public view returns (uint) {
        return exchangeRateStoredInternal();
    }

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

            return exchangeRate;
        }
    }

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

    /**
     * @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() virtual override public returns (uint) {
        /* Remember the initial block number */
        uint currentBlockNumber = getBlockNumber();
        uint accrualBlockNumberPrior = accrualBlockNumber;

        /* Short-circuit accumulating 0 interest */
        if (accrualBlockNumberPrior == currentBlockNumber) {
            return NO_ERROR;
        }

        /* Read the previous values out of storage */
        uint cashPrior = getCashPrior();
        uint borrowsPrior = totalBorrows;
        uint reservesPrior = totalReserves;
        uint borrowIndexPrior = borrowIndex;

        /* Calculate the current borrow interest rate */
        uint borrowRateMantissa = interestRateModel.getBorrowRate(cashPrior, borrowsPrior, reservesPrior);
        require(borrowRateMantissa <= borrowRateMaxMantissa, "borrow rate is absurdly high");

        /* Calculate the number of blocks elapsed since the last accrual */
        uint blockDelta = currentBlockNumber - accrualBlockNumberPrior;

        /*
         * 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
         */

        Exp memory simpleInterestFactor = mul_(Exp({mantissa: borrowRateMantissa}), blockDelta);
        uint interestAccumulated = mul_ScalarTruncate(simpleInterestFactor, borrowsPrior);
        uint totalBorrowsNew = interestAccumulated + borrowsPrior;
        uint totalReservesNew = mul_ScalarTruncateAddUInt(Exp({mantissa: reserveFactorMantissa}), interestAccumulated, reservesPrior);
        uint borrowIndexNew = mul_ScalarTruncateAddUInt(simpleInterestFactor, borrowIndexPrior, borrowIndexPrior);

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

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

        /* We emit an AccrueInterest event */
        emit AccrueInterest(cashPrior, interestAccumulated, borrowIndexNew, totalBorrowsNew);

        return NO_ERROR;
    }

    /**
     * @notice Sender supplies assets into the market and receives cTokens in exchange
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param mintAmount The amount of the underlying asset to supply
     */
    function mintInternal(uint mintAmount) internal nonReentrant {
        accrueInterest();
        // mintFresh emits the actual Mint event if successful and logs on errors, so we don't need to
        mintFresh(msg.sender, mintAmount);
    }

    /**
     * @notice User supplies assets into the market and receives cTokens 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
     */
    function mintFresh(address minter, uint mintAmount) internal {
        /* Fail if mint not allowed */
        uint allowed = comptroller.mintAllowed(address(this), minter, mintAmount);
        if (allowed != 0) {
            revert MintComptrollerRejection(allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            revert MintFreshnessCheck();
        }

        Exp memory exchangeRate = Exp({mantissa: exchangeRateStoredInternal()});

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

        /*
         *  We call `doTransferIn` for the minter and the mintAmount.
         *  Note: The cToken must handle variations between ERC-20 and ETH underlying.
         *  `doTransferIn` reverts if anything goes wrong, since we can't be sure if
         *  side-effects occurred. The function returns the amount actually transferred,
         *  in case of a fee. On success, the cToken holds an additional `actualMintAmount`
         *  of cash.
         */
        uint actualMintAmount = doTransferIn(minter, mintAmount);

        /*
         * We get the current exchange rate and calculate the number of cTokens to be minted:
         *  mintTokens = actualMintAmount / exchangeRate
         */

        uint mintTokens = div_(actualMintAmount, exchangeRate);

        /*
         * We calculate the new total supply of cTokens and minter token balance, checking for overflow:
         *  totalSupplyNew = totalSupply + mintTokens
         *  accountTokensNew = accountTokens[minter] + mintTokens
         * And write them into storage
         */
        totalSupply = totalSupply + mintTokens;
        accountTokens[minter] = accountTokens[minter] + mintTokens;

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

        /* We call the defense hook */
        // unused function
        // comptroller.mintVerify(address(this), minter, actualMintAmount, mintTokens);
    }

    /**
     * @notice Sender redeems cTokens in exchange for the underlying asset
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param redeemTokens The number of cTokens to redeem into underlying
     */
    function redeemInternal(uint redeemTokens) internal nonReentrant {
        accrueInterest();
        // redeemFresh emits redeem-specific logs on errors, so we don't need to
        redeemFresh(payable(msg.sender), redeemTokens, 0);
    }

    /**
     * @notice Sender redeems cTokens 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 receive from redeeming cTokens
     */
    function redeemUnderlyingInternal(uint redeemAmount) internal nonReentrant {
        accrueInterest();
        // redeemFresh emits redeem-specific logs on errors, so we don't need to
        redeemFresh(payable(msg.sender), 0, redeemAmount);
    }

    /**
     * @notice User redeems cTokens 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 cTokens to redeem into underlying (only one of redeemTokensIn or redeemAmountIn may be non-zero)
     * @param redeemAmountIn The number of underlying tokens to receive from redeeming cTokens (only one of redeemTokensIn or redeemAmountIn may be non-zero)
     */
    function redeemFresh(address payable redeemer, uint redeemTokensIn, uint redeemAmountIn) internal {
        require(redeemTokensIn == 0 || redeemAmountIn == 0, "one of redeemTokensIn or redeemAmountIn must be zero");

        /* exchangeRate = invoke Exchange Rate Stored() */
        Exp memory exchangeRate = Exp({mantissa: exchangeRateStoredInternal() });

        uint redeemTokens;
        uint redeemAmount;
        /* 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
             */
            redeemTokens = redeemTokensIn;
            redeemAmount = mul_ScalarTruncate(exchangeRate, redeemTokensIn);
        } else {
            /*
             * We get the current exchange rate and calculate the amount to be redeemed:
             *  redeemTokens = redeemAmountIn / exchangeRate
             *  redeemAmount = redeemAmountIn
             */
            redeemTokens = div_(redeemAmountIn, exchangeRate);
            redeemAmount = redeemAmountIn;
        }

        /* Fail if redeem not allowed */
        /* USE REDSTONE */
        //uint allowed = comptroller.redeemAllowed(address(this), redeemer, redeemTokens);
        bytes memory encodedFunction = abi.encodeWithSelector(
            ComptrollerInterface.redeemAllowed.selector,
            address(this), 
            redeemer, 
            redeemTokens
        );

        bytes memory encodedResult = proxyCalldata(
            address(comptroller),
            encodedFunction,
            true
        );

        uint allowed = abi.decode(encodedResult, (uint256));
        if (allowed != 0) {
            revert RedeemComptrollerRejection(allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            revert RedeemFreshnessCheck();
        }

        /* Fail gracefully if protocol has insufficient cash */
        if (getCashPrior() < redeemAmount) {
            revert RedeemTransferOutNotPossible();
        }

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


        /*
         * We write the previously calculated values into storage.
         *  Note: Avoid token reentrancy attacks by writing reduced supply before external transfer.
         */
        totalSupply = totalSupply - redeemTokens;
        accountTokens[redeemer] = accountTokens[redeemer] - redeemTokens;

        /*
         * We invoke doTransferOut for the redeemer and the redeemAmount.
         *  Note: The cToken must handle variations between ERC-20 and ETH underlying.
         *  On success, the cToken has redeemAmount less of cash.
         *  doTransferOut reverts if anything goes wrong, since we can't be sure if side effects occurred.
         */
        doTransferOut(redeemer, redeemAmount);

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

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

    /**
      * @notice Sender borrows assets from the protocol to their own address
      * @param borrowAmount The amount of the underlying asset to borrow
      */
    function borrowInternal(uint borrowAmount) internal nonReentrant {
        accrueInterest();
        // borrowFresh emits borrow-specific logs on errors, so we don't need to
        borrowFresh(payable(msg.sender), borrowAmount);
    }

    /**
      * @notice Users borrow assets from the protocol to their own address
      * @param borrowAmount The amount of the underlying asset to borrow
      */
    function borrowFresh(address payable borrower, uint borrowAmount) internal {
        /* Fail if borrow not allowed */
        /* USE REDSTONE */
        //uint allowed = comptroller.borrowAllowed(address(this), borrower, borrowAmount);
        bytes memory encodedFunction = abi.encodeWithSelector(
            ComptrollerInterface.borrowAllowed.selector,
            address(this), 
            borrower, 
            borrowAmount
        );

        bytes memory encodedResult = proxyCalldata(
            address(comptroller),
            encodedFunction,
            true
        );

        uint allowed = abi.decode(encodedResult, (uint256));

        if (allowed != 0) {
            revert BorrowComptrollerRejection(allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            revert BorrowFreshnessCheck();
        }

        /* Fail gracefully if protocol has insufficient underlying cash */
        if (getCashPrior() < borrowAmount) {
            revert BorrowCashNotAvailable();
        }

        /*
         * We calculate the new borrower and total borrow balances, failing on overflow:
         *  accountBorrowNew = accountBorrow + borrowAmount
         *  totalBorrowsNew = totalBorrows + borrowAmount
         */
        uint accountBorrowsPrev = borrowBalanceStoredInternal(borrower);
        uint accountBorrowsNew = accountBorrowsPrev + borrowAmount;
        uint totalBorrowsNew = totalBorrows + borrowAmount;

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

        /*
         * We write the previously calculated values into storage.
         *  Note: Avoid token reentrancy attacks by writing increased borrow before external transfer.
        `*/
        accountBorrows[borrower].principal = accountBorrowsNew;
        accountBorrows[borrower].interestIndex = borrowIndex;
        totalBorrows = totalBorrowsNew;

        /*
         * We invoke doTransferOut for the borrower and the borrowAmount.
         *  Note: The cToken must handle variations between ERC-20 and ETH underlying.
         *  On success, the cToken borrowAmount less of cash.
         *  doTransferOut reverts if anything goes wrong, since we can't be sure if side effects occurred.
         */
        doTransferOut(borrower, borrowAmount);

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

    /**
     * @notice Sender repays their own borrow
     * @param repayAmount The amount to repay, or -1 for the full outstanding amount
     */
    function repayBorrowInternal(uint repayAmount) internal nonReentrant {
        accrueInterest();
        // repayBorrowFresh emits repay-borrow-specific logs on errors, so we don't need to
        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, or -1 for the full outstanding amount
     */
    function repayBorrowBehalfInternal(address borrower, uint repayAmount) internal nonReentrant {
        accrueInterest();
        // repayBorrowFresh emits repay-borrow-specific logs on errors, so we don't need to
        repayBorrowFresh(msg.sender, borrower, repayAmount);
    }

    /**
     * @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 underlying tokens being returned, or -1 for the full outstanding amount
     * @return (uint) the actual repayment amount.
     */
    function repayBorrowFresh(address payer, address borrower, uint repayAmount) internal returns (uint) {
        /* Fail if repayBorrow not allowed */
        uint allowed = comptroller.repayBorrowAllowed(address(this), payer, borrower, repayAmount);
        if (allowed != 0) {
            revert RepayBorrowComptrollerRejection(allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            revert RepayBorrowFreshnessCheck();
        }

        /* We fetch the amount the borrower owes, with accumulated interest */
        uint accountBorrowsPrev = borrowBalanceStoredInternal(borrower);

        /* If repayAmount == -1, repayAmount = accountBorrows */
        uint repayAmountFinal = repayAmount == type(uint).max ? accountBorrowsPrev : repayAmount;

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

        /*
         * We call doTransferIn for the payer and the repayAmount
         *  Note: The cToken must handle variations between ERC-20 and ETH underlying.
         *  On success, the cToken holds an additional repayAmount of cash.
         *  doTransferIn reverts if anything goes wrong, since we can't be sure if side effects occurred.
         *   it returns the amount actually transferred, in case of a fee.
         */
        uint actualRepayAmount = doTransferIn(payer, repayAmountFinal);

        /*
         * We calculate the new borrower and total borrow balances, failing on underflow:
         *  accountBorrowsNew = accountBorrows - actualRepayAmount
         *  totalBorrowsNew = totalBorrows - actualRepayAmount
         */
        uint accountBorrowsNew = accountBorrowsPrev - actualRepayAmount;
        uint totalBorrowsNew = totalBorrows - actualRepayAmount;

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

        /* We emit a RepayBorrow event */
        emit RepayBorrow(payer, borrower, actualRepayAmount, accountBorrowsNew, totalBorrowsNew);

        return actualRepayAmount;
    }

    /**
     * @notice The sender liquidates the borrowers collateral.
     *  The collateral seized is transferred to the liquidator.
     * @param borrower The borrower of this cToken to be liquidated
     * @param cTokenCollateral The market in which to seize collateral from the borrower
     * @param repayAmount The amount of the underlying borrowed asset to repay
     */
    function liquidateBorrowInternal(address borrower, uint repayAmount, CTokenInterface cTokenCollateral) internal nonReentrant {
        accrueInterest();

        uint error = cTokenCollateral.accrueInterest();
        if (error != NO_ERROR) {
            // accrueInterest emits logs on errors, but we still want to log the fact that an attempted liquidation failed
            revert LiquidateAccrueCollateralInterestFailed(error);
        }

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

    /**
     * @notice The liquidator liquidates the borrowers collateral.
     *  The collateral seized is transferred to the liquidator.
     * @param borrower The borrower of this cToken to be liquidated
     * @param liquidator The address repaying the borrow and seizing collateral
     * @param cTokenCollateral The market in which to seize collateral from the borrower
     * @param repayAmount The amount of the underlying borrowed asset to repay
     */
    function liquidateBorrowFresh(address liquidator, address borrower, uint repayAmount, CTokenInterface cTokenCollateral) internal {
        /* Fail if liquidate not allowed */
        /* Use redstone */
       // uint allowed = comptroller.liquidateBorrowAllowed(address(this), address(cTokenCollateral), liquidator, borrower, repayAmount);
        bytes memory encodedFunction = abi.encodeWithSelector(
            ComptrollerInterface.liquidateBorrowAllowed.selector,
            address(this), 
            address(cTokenCollateral), 
            liquidator,
            borrower,
            repayAmount
        );

        bytes memory encodedResult = proxyCalldata(
            address(comptroller),
            encodedFunction,
            true
        );

        uint allowed = abi.decode(encodedResult, (uint));

        if (allowed != 0) {
            revert LiquidateComptrollerRejection(allowed);
        }

        /* Verify market's block number equals current block number */
        if (accrualBlockNumber != getBlockNumber()) {
            revert LiquidateFreshnessCheck();
        }

        /* Verify cTokenCollateral market's block number equals current block number */
        if (cTokenCollateral.accrualBlockNumber() != getBlockNumber()) {
            revert LiquidateCollateralFreshnessCheck();
        }

        /* Fail if borrower = liquidator */
        if (borrower == liquidator) {
            revert LiquidateLiquidatorIsBorrower();
        }

        /* Fail if repayAmount = 0 */
        if (repayAmount == 0) {
            revert LiquidateCloseAmountIsZero();
        }

        /* Fail if repayAmount = -1 */
        if (repayAmount == type(uint).max) {
            revert LiquidateCloseAmountIsUintMax();
        }

        /* Fail if repayBorrow fails */
        uint actualRepayAmount = repayBorrowFresh(liquidator, borrower, repayAmount);

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

        /* We calculate the number of collateral tokens that will be seized */
        /* use redstone */
        //(uint amountSeizeError, uint seizeTokens) = comptroller.liquidateCalculateSeizeTokens(address(this), address(cTokenCollateral), actualRepayAmount);
         bytes memory encodedFunction2 = abi.encodeWithSelector(
            ComptrollerInterface.liquidateCalculateSeizeTokens.selector,
            address(this), 
            address(cTokenCollateral), 
            actualRepayAmount
        );

        bytes memory encodedResult2 = proxyCalldataView(
            address(comptroller),
            encodedFunction2
        );

        (uint amountSeizeError, uint seizeTokens) = abi.decode(encodedResult2, (uint, uint));


        require(amountSeizeError == NO_ERROR, "LIQUIDATE_COMPTROLLER_CALCULATE_AMOUNT_SEIZE_FAILED");

        /* Revert if borrower collateral token balance < seizeTokens */
        require(cTokenCollateral.balanceOf(borrower) >= seizeTokens, "LIQUIDATE_SEIZE_TOO_MUCH");

        // If this is also the collateral, run seizeInternal to avoid re-entrancy, otherwise make an external call
        if (address(cTokenCollateral) == address(this)) {
            seizeInternal(address(this), liquidator, borrower, seizeTokens);
        } else {
            require(cTokenCollateral.seize(liquidator, borrower, seizeTokens) == NO_ERROR, "token seizure failed");
        }

        /* We emit a LiquidateBorrow event */
        emit LiquidateBorrow(liquidator, borrower, actualRepayAmount, address(cTokenCollateral), seizeTokens);
    }

    /**
     * @notice Transfers collateral tokens (this market) to the liquidator.
     * @dev Will fail unless called by another cToken during the process of liquidation.
     *  Its absolutely critical to use msg.sender as the borrowed cToken and not a parameter.
     * @param liquidator The account receiving seized collateral
     * @param borrower The account having collateral seized
     * @param seizeTokens The number of cTokens to seize
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function seize(address liquidator, address borrower, uint seizeTokens) override external nonReentrant returns (uint) {
        seizeInternal(msg.sender, liquidator, borrower, seizeTokens);

        return NO_ERROR;
    }

    /**
     * @notice Transfers collateral tokens (this market) to the liquidator.
     * @dev Called only during an in-kind liquidation, or by liquidateBorrow during the liquidation of another CToken.
     *  Its absolutely critical to use msg.sender as the seizer cToken and not a parameter.
     * @param seizerToken The contract seizing the collateral (i.e. borrowed cToken)
     * @param liquidator The account receiving seized collateral
     * @param borrower The account having collateral seized
     * @param seizeTokens The number of cTokens to seize
     */
    function seizeInternal(address seizerToken, address liquidator, address borrower, uint seizeTokens) internal {
        /* Fail if seize not allowed */
        uint allowed = comptroller.seizeAllowed(address(this), seizerToken, liquidator, borrower, seizeTokens);
        if (allowed != 0) {
            revert LiquidateSeizeComptrollerRejection(allowed);
        }

        /* Fail if borrower = liquidator */
        if (borrower == liquidator) {
            revert LiquidateSeizeLiquidatorIsBorrower();
        }

        /*
         * We calculate the new borrower and liquidator token balances, failing on underflow/overflow:
         *  borrowerTokensNew = accountTokens[borrower] - seizeTokens
         *  liquidatorTokensNew = accountTokens[liquidator] + seizeTokens
         */
        uint protocolSeizeTokens = mul_(seizeTokens, Exp({mantissa: protocolSeizeShareMantissa}));
        uint liquidatorSeizeTokens = seizeTokens - protocolSeizeTokens;
        Exp memory exchangeRate = Exp({mantissa: exchangeRateStoredInternal()});
        uint protocolSeizeAmount = mul_ScalarTruncate(exchangeRate, protocolSeizeTokens);
        uint totalReservesNew = totalReserves + protocolSeizeAmount;


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

        /* We write the calculated values into storage */
        totalReserves = totalReservesNew;
        totalSupply = totalSupply - protocolSeizeTokens;
        accountTokens[borrower] = accountTokens[borrower] - seizeTokens;
        accountTokens[liquidator] = accountTokens[liquidator] + liquidatorSeizeTokens;

        /* Emit a Transfer event */
        emit Transfer(borrower, liquidator, liquidatorSeizeTokens);
        emit Transfer(borrower, address(this), protocolSeizeTokens);
        emit ReservesAdded(address(this), protocolSeizeAmount, totalReservesNew);
    }


    /*** 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)
      */
    function _setPendingAdmin(address payable newPendingAdmin) override external returns (uint) {
        // Check caller = admin
        if (msg.sender != admin) {
            revert SetPendingAdminOwnerCheck();
        }

        // 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 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() override external returns (uint) {
        // Check caller is pendingAdmin and pendingAdmin ??address(0)
        if (msg.sender != pendingAdmin || msg.sender == address(0)) {
            revert AcceptAdminPendingAdminCheck();
        }

        // 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 = payable(address(0));

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

        return NO_ERROR;
    }

    /**
      * @notice Sets a new comptroller for the market
      * @dev Admin function to set a new comptroller
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _setComptroller(ComptrollerInterface newComptroller) override public returns (uint) {
        // Check caller is admin
        if (msg.sender != admin) {
            revert SetComptrollerOwnerCheck();
        }

        ComptrollerInterface oldComptroller = comptroller;
        // Ensure invoke comptroller.isComptroller() returns true
        require(newComptroller.isComptroller(), "marker method returned false");

        // Set market's comptroller to newComptroller
        comptroller = newComptroller;

        // Emit NewComptroller(oldComptroller, newComptroller)
        emit NewComptroller(oldComptroller, newComptroller);

        return 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) override external nonReentrant returns (uint) {
        accrueInterest();
        // _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) {
            revert SetReserveFactorAdminCheck();
        }

        // Verify market's block number equals current block number
        if (accrualBlockNumber != getBlockNumber()) {
            revert SetReserveFactorFreshCheck();
        }

        // Check newReserveFactor ??maxReserveFactor
        if (newReserveFactorMantissa > reserveFactorMaxMantissa) {
            revert SetReserveFactorBoundsCheck();
        }

        uint oldReserveFactorMantissa = reserveFactorMantissa;
        reserveFactorMantissa = newReserveFactorMantissa;

        emit NewReserveFactor(oldReserveFactorMantissa, newReserveFactorMantissa);

        return NO_ERROR;
    }

    /**
     * @notice Accrues interest and reduces reserves by transferring from msg.sender
     * @param addAmount Amount of addition to reserves
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _addReservesInternal(uint addAmount) internal nonReentrant returns (uint) {
        accrueInterest();

        // _addReservesFresh emits reserve-addition-specific logs on errors, so we don't need to.
        _addReservesFresh(addAmount);
        return NO_ERROR;
    }

    /**
     * @notice Add reserves by transferring from caller
     * @dev Requires fresh interest accrual
     * @param addAmount Amount of addition to reserves
     * @return (uint, uint) An error code (0=success, otherwise a failure (see ErrorReporter.sol for details)) and the actual amount added, net token fees
     */
    function _addReservesFresh(uint addAmount) internal returns (uint, uint) {
        // totalReserves + actualAddAmount
        uint totalReservesNew;
        uint actualAddAmount;

        // We fail gracefully unless market's block number equals current block number
        if (accrualBlockNumber != getBlockNumber()) {
            revert AddReservesFactorFreshCheck(actualAddAmount);
        }

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

        /*
         * We call doTransferIn for the caller and the addAmount
         *  Note: The cToken must handle variations between ERC-20 and ETH underlying.
         *  On success, the cToken holds an additional addAmount of cash.
         *  doTransferIn reverts if anything goes wrong, since we can't be sure if side effects occurred.
         *  it returns the amount actually transferred, in case of a fee.
         */

        actualAddAmount = doTransferIn(msg.sender, addAmount);

        totalReservesNew = totalReserves + actualAddAmount;

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

        /* Emit NewReserves(admin, actualAddAmount, reserves[n+1]) */
        emit ReservesAdded(msg.sender, actualAddAmount, totalReservesNew);

        /* Return (NO_ERROR, actualAddAmount) */
        return (NO_ERROR, actualAddAmount);
    }


    /**
     * @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) override external nonReentrant returns (uint) {
        accrueInterest();
        // _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) {
        // totalReserves - reduceAmount
        uint totalReservesNew;

        // Check caller is admin
        if (msg.sender != admin) {
            revert ReduceReservesAdminCheck();
        }

        // We fail gracefully unless market's block number equals current block number
        if (accrualBlockNumber != getBlockNumber()) {
            revert ReduceReservesFreshCheck();
        }

        // Fail gracefully if protocol has insufficient underlying cash
        if (getCashPrior() < reduceAmount) {
            revert ReduceReservesCashNotAvailable();
        }

        // Check reduceAmount ??reserves[n] (totalReserves)
        if (reduceAmount > totalReserves) {
            revert ReduceReservesCashValidation();
        }

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

        totalReservesNew = totalReserves - reduceAmount;

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

        // doTransferOut reverts if anything goes wrong, since we can't be sure if side effects occurred.
        doTransferOut(admin, reduceAmount);

        emit ReservesReduced(admin, reduceAmount, totalReservesNew);

        return 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) override public returns (uint) {
        accrueInterest();
        // _setInterestRateModelFresh emits interest-rate-model-update-specific logs on errors, so we don't need to.
        return _setInterestRateModelFresh(newInterestRateModel);
    }

    /**
     * @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) {
            revert SetInterestRateModelOwnerCheck();
        }

        // We fail gracefully unless market's block number equals current block number
        if (accrualBlockNumber != getBlockNumber()) {
            revert SetInterestRateModelFreshCheck();
        }

        // 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 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() virtual internal view returns (uint);

    /**
     * @dev Performs a transfer in, reverting upon failure. Returns the amount actually transferred to the protocol, in case of a fee.
     *  This may revert due to insufficient balance or insufficient allowance.
     */
    function doTransferIn(address from, uint amount) virtual internal returns (uint);

    /**
     * @dev Performs a transfer out, ideally returning an explanatory error code upon failure rather 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) virtual internal;


    /*** Reentrancy Guard ***/

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     */
    modifier nonReentrant() {
        require(_notEntered, "re-entered");
        _notEntered = false;
        _;
        _notEntered = true; // get a gas-refund post-Istanbul
    }
}


// File contracts/CErc20.sol


pragma solidity ^0.8.10;

interface CompLike {
    function delegate(address delegatee) external;
}

/**
 * @title Loanshark's CErc20 Contract
 * @notice CTokens which wrap an EIP-20 underlying
 * @author Loanshark
 */
contract CErc20 is CToken, CErc20Interface {
    /**
     * @notice Initialize the new money market
     * @param underlying_ The address of the underlying asset
     * @param comptroller_ The address of the Comptroller
     * @param interestRateModel_ The address of the interest rate model
     * @param initialExchangeRateMantissa_ The initial exchange rate, scaled by 1e18
     * @param name_ ERC-20 name of this token
     * @param symbol_ ERC-20 symbol of this token
     * @param decimals_ ERC-20 decimal precision of this token
     */
    function initialize(address underlying_,
                        ComptrollerInterface comptroller_,
                        InterestRateModel interestRateModel_,
                        uint initialExchangeRateMantissa_,
                        string memory name_,
                        string memory symbol_,
                        uint8 decimals_) public {
        // Creator of the contract is admin during initialization
        admin = payable(msg.sender);
        
        // CToken initialize does the bulk of the work
        super.initialize(comptroller_, interestRateModel_, initialExchangeRateMantissa_, name_, symbol_, decimals_);

        // Set underlying and sanity check it
        underlying = underlying_;
        EIP20Interface(underlying).totalSupply();
    }

    /*** User Interface ***/

    /**
     * @notice Sender supplies assets into the market and receives cTokens 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) override external returns (uint) {
        mintInternal(mintAmount);
        return NO_ERROR;
    }

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

    /**
     * @notice Sender redeems cTokens 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) override external returns (uint) {
        redeemUnderlyingInternal(redeemAmount);
        return 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 borrow(uint borrowAmount) override external returns (uint) {
        borrowInternal(borrowAmount);
        return NO_ERROR;
    }

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

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

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

    /**
     * @notice A public function to sweep accidental ERC-20 transfers to this contract. Tokens are sent to admin (timelock)
     * @param token The address of the ERC-20 token to sweep
     */
    function sweepToken(EIP20NonStandardInterface token) override external {
        require(msg.sender == admin, "CErc20::sweepToken: only admin can sweep tokens");
        require(address(token) != underlying, "CErc20::sweepToken: can not sweep underlying token");
        uint256 balance = token.balanceOf(address(this));
        token.transfer(admin, balance);
    }

    /**
     * @notice The sender adds to reserves.
     * @param addAmount The amount fo underlying token to add as reserves
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _addReserves(uint addAmount) override external returns (uint) {
        return _addReservesInternal(addAmount);
    }

    /*** 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() virtual override internal view returns (uint) {
        EIP20Interface token = EIP20Interface(underlying);
        return token.balanceOf(address(this));
    }

    /**
     * @dev Similar to EIP20 transfer, except it handles a False result from `transferFrom` and reverts in that case.
     *      This will revert due to insufficient balance or insufficient allowance.
     *      This function returns the actual amount received,
     *      which may be less than `amount` if there is a fee attached to the transfer.
     *
     *      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) virtual override internal returns (uint) {
        // Read from storage once
        address underlying_ = underlying;
        EIP20NonStandardInterface token = EIP20NonStandardInterface(underlying_);
        uint balanceBefore = EIP20Interface(underlying_).balanceOf(address(this));
        token.transferFrom(from, address(this), amount);

        bool success;
        assembly {
            switch returndatasize()
                case 0 {                       // This is a non-standard ERC-20
                    success := not(0)          // set success to true
                }
                case 32 {                      // This is a compliant ERC-20
                    returndatacopy(0, 0, 32)
                    success := mload(0)        // Set `success = returndata` of override external call
                }
                default {                      // This is an excessively non-compliant ERC-20, revert.
                    revert(0, 0)
                }
        }
        require(success, "TOKEN_TRANSFER_IN_FAILED");

        // Calculate the amount that was *actually* transferred
        uint balanceAfter = EIP20Interface(underlying_).balanceOf(address(this));
        return balanceAfter - balanceBefore;   // underflow already checked above, just subtract
    }

    /**
     * @dev Similar to EIP20 transfer, except it handles a False success 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) virtual override internal {
        EIP20NonStandardInterface token = EIP20NonStandardInterface(underlying);
        token.transfer(to, amount);

        bool success;
        assembly {
            switch returndatasize()
                case 0 {                      // This is a non-standard ERC-20
                    success := not(0)          // set success to true
                }
                case 32 {                     // This is a compliant ERC-20
                    returndatacopy(0, 0, 32)
                    success := mload(0)        // Set `success = returndata` of override external call
                }
                default {                     // This is an excessively non-compliant ERC-20, revert.
                    revert(0, 0)
                }
        }
        require(success, "TOKEN_TRANSFER_OUT_FAILED");
    }

    /**
    * @notice Admin call to delegate the votes of the COMP-like underlying
    * @param compLikeDelegatee The address to delegate votes to
    * @dev CTokens whose underlying are not CompLike should revert here
    */
    function _delegateCompLikeTo(address compLikeDelegatee) external {
        require(msg.sender == admin, "only the admin may set the comp-like delegate");
        CompLike(underlying).delegate(compLikeDelegatee);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"AcceptAdminPendingAdminCheck","type":"error"},{"inputs":[{"internalType":"uint256","name":"actualAddAmount","type":"uint256"}],"name":"AddReservesFactorFreshCheck","type":"error"},{"inputs":[],"name":"BorrowCashNotAvailable","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"BorrowComptrollerRejection","type":"error"},{"inputs":[],"name":"BorrowFreshnessCheck","type":"error"},{"inputs":[],"name":"CalldataMustHaveValidPayload","type":"error"},{"inputs":[],"name":"CalldataOverOrUnderFlow","type":"error"},{"inputs":[],"name":"DataPackageTimestampMustNotBeZero","type":"error"},{"inputs":[],"name":"DataPackageTimestampsMustBeEqual","type":"error"},{"inputs":[],"name":"EachSignerMustProvideTheSameValue","type":"error"},{"inputs":[],"name":"EmptyCalldataPointersArr","type":"error"},{"inputs":[],"name":"IncorrectUnsignedMetadataSize","type":"error"},{"inputs":[{"internalType":"uint256","name":"receivedSignersCount","type":"uint256"},{"internalType":"uint256","name":"requiredSignersCount","type":"uint256"}],"name":"InsufficientNumberOfUniqueSigners","type":"error"},{"inputs":[],"name":"InvalidCalldataPointer","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"LiquidateAccrueBorrowInterestFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"LiquidateAccrueCollateralInterestFailed","type":"error"},{"inputs":[],"name":"LiquidateCloseAmountIsUintMax","type":"error"},{"inputs":[],"name":"LiquidateCloseAmountIsZero","type":"error"},{"inputs":[],"name":"LiquidateCollateralFreshnessCheck","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"LiquidateComptrollerRejection","type":"error"},{"inputs":[],"name":"LiquidateFreshnessCheck","type":"error"},{"inputs":[],"name":"LiquidateLiquidatorIsBorrower","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"LiquidateRepayBorrowFreshFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"LiquidateSeizeComptrollerRejection","type":"error"},{"inputs":[],"name":"LiquidateSeizeLiquidatorIsBorrower","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"MintComptrollerRejection","type":"error"},{"inputs":[],"name":"MintFreshnessCheck","type":"error"},{"inputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"name":"ProxyCalldataFailedWithCustomError","type":"error"},{"inputs":[{"internalType":"string","name":"message","type":"string"}],"name":"ProxyCalldataFailedWithStringMessage","type":"error"},{"inputs":[],"name":"ProxyCalldataFailedWithoutErrMsg","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"RedeemComptrollerRejection","type":"error"},{"inputs":[],"name":"RedeemFreshnessCheck","type":"error"},{"inputs":[],"name":"RedeemTransferOutNotPossible","type":"error"},{"inputs":[],"name":"RedstonePayloadMustHaveAtLeastOneDataPackage","type":"error"},{"inputs":[],"name":"ReduceReservesAdminCheck","type":"error"},{"inputs":[],"name":"ReduceReservesCashNotAvailable","type":"error"},{"inputs":[],"name":"ReduceReservesCashValidation","type":"error"},{"inputs":[],"name":"ReduceReservesFreshCheck","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"RepayBorrowComptrollerRejection","type":"error"},{"inputs":[],"name":"RepayBorrowFreshnessCheck","type":"error"},{"inputs":[],"name":"SetComptrollerOwnerCheck","type":"error"},{"inputs":[],"name":"SetInterestRateModelFreshCheck","type":"error"},{"inputs":[],"name":"SetInterestRateModelOwnerCheck","type":"error"},{"inputs":[],"name":"SetPendingAdminOwnerCheck","type":"error"},{"inputs":[],"name":"SetReserveFactorAdminCheck","type":"error"},{"inputs":[],"name":"SetReserveFactorBoundsCheck","type":"error"},{"inputs":[],"name":"SetReserveFactorFreshCheck","type":"error"},{"inputs":[{"internalType":"address","name":"receivedSigner","type":"address"}],"name":"SignerNotAuthorised","type":"error"},{"inputs":[{"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"TransferComptrollerRejection","type":"error"},{"inputs":[],"name":"TransferNotAllowed","type":"error"},{"inputs":[],"name":"TransferNotEnough","type":"error"},{"inputs":[],"name":"TransferTooMuch","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"cashPrior","type":"uint256"},{"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":"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":"cTokenCollateral","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 ComptrollerInterface","name":"oldComptroller","type":"address"},{"indexed":false,"internalType":"contract ComptrollerInterface","name":"newComptroller","type":"address"}],"name":"NewComptroller","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":"benefactor","type":"address"},{"indexed":false,"internalType":"uint256","name":"addAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalReserves","type":"uint256"}],"name":"ReservesAdded","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"},{"inputs":[],"name":"NO_ERROR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_acceptAdmin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"addAmount","type":"uint256"}],"name":"_addReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"compLikeDelegatee","type":"address"}],"name":"_delegateCompLikeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reduceAmount","type":"uint256"}],"name":"_reduceReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ComptrollerInterface","name":"newComptroller","type":"address"}],"name":"_setComptroller","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"_setInterestRateModel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newPendingAdmin","type":"address"}],"name":"_setPendingAdmin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newReserveFactorMantissa","type":"uint256"}],"name":"_setReserveFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"accrualBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accrueInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOfUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"borrowAmount","type":"uint256"}],"name":"borrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"borrowBalanceCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"borrowBalanceStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"borrowIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"borrowRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"comptroller","outputs":[{"internalType":"contract ComptrollerInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exchangeRateCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exchangeRateStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"extractTimestampsAndAssertAllAreEqual","outputs":[{"internalType":"uint256","name":"extractedTimestamp","type":"uint256"}],"stateMutability":"pure","type":"function"},{"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"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"underlying_","type":"address"},{"internalType":"contract ComptrollerInterface","name":"comptroller_","type":"address"},{"internalType":"contract InterestRateModel","name":"interestRateModel_","type":"address"},{"internalType":"uint256","name":"initialExchangeRateMantissa_","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ComptrollerInterface","name":"comptroller_","type":"address"},{"internalType":"contract InterestRateModel","name":"interestRateModel_","type":"address"},{"internalType":"uint256","name":"initialExchangeRateMantissa_","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"interestRateModel","outputs":[{"internalType":"contract InterestRateModel","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"},{"internalType":"contract CTokenInterface","name":"cTokenCollateral","type":"address"}],"name":"liquidateBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolSeizeShareMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"}],"name":"redeemUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrowBehalf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveFactorMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract EIP20NonStandardInterface","name":"token","type":"address"}],"name":"sweepToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBorrows","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBorrowsCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060038054610100600160a81b0319163361010002179055613fdb806100376000396000f3fe608060405234801561001057600080fd5b50600436106103275760003560e01c806373acee98116101b8578063b71d1a0c11610104578063f2b3abbd116100a2578063f851a4401161007c578063f851a440146106cb578063f8f9da28146106e3578063fca7820b146106eb578063fe9c44ae146106fe57600080fd5b8063f2b3abbd14610692578063f3fdb15a146106a5578063f5e3c462146106b857600080fd5b8063c5ebeaec116100de578063c5ebeaec1461062b578063db006a751461063e578063dd62ed3e14610651578063e9c714f21461068a57600080fd5b8063b71d1a0c146105dd578063bd6d894d146105f0578063c37f68e2146105f857600080fd5b806399d8c1b411610171578063a9059cbb1161014b578063a9059cbb146105a6578063aa5af0fd146105b9578063ae9d70b0146105c2578063b2a02ff1146105ca57600080fd5b806399d8c1b414610578578063a0712d681461058b578063a6afed951461059e57600080fd5b806373acee98146105265780637f1e06be1461052e578063852a12e3146105415780638f840ddd1461055457806395d89b411461055d57806395dd91931461056557600080fd5b80633af9e669116102775780635fe3b5671161023057806369ab32501161020a57806369ab3250146104d95780636c540baf146104e15780636f307dc3146104ea57806370a08231146104fd57600080fd5b80635fe3b567146104a5578063601a0bf1146104b85780636752e702146104cb57600080fd5b80633af9e669146104535780633b1d21a2146104665780633e9410101461046e5780634576b5db1461048157806347bd37181461049457806355a547d51461049d57600080fd5b8063182df0f5116102e457806323b872dd116102be57806323b872dd146103e35780632608f818146103f65780632678224714610409578063313ce5671461043457600080fd5b8063182df0f5146103b35780631a31d465146103bb5780631be19560146103d057600080fd5b806306fdde031461032c578063095ea7b31461034a5780630e7527021461036d578063173b99041461038e57806317bfdfbc1461039757806318160ddd146103aa575b600080fd5b610334610706565b604051610341919061397a565b60405180910390f35b61035d6103583660046139a5565b610794565b6040519015158152602001610341565b61038061037b3660046139d1565b610804565b604051908152602001610341565b61038060085481565b6103806103a53660046139ea565b610817565b610380600d5481565b610380610873565b6103ce6103c9366004613ac0565b610882565b005b6103ce6103de3660046139ea565b61092e565b61035d6103f1366004613b76565b610afa565b6103806104043660046139a5565b610b4a565b60045461041c906001600160a01b031681565b6040516001600160a01b039091168152602001610341565b6003546104419060ff1681565b60405160ff9091168152602001610341565b6103806104613660046139ea565b610b5f565b610380610ba5565b61038061047c3660046139d1565b610baf565b61038061048f3660046139ea565b610bba565b610380600b5481565b610380610d0c565b60055461041c906001600160a01b031681565b6103806104c63660046139d1565b610e24565b610380666379da05b6000081565b610380600081565b61038060095481565b60115461041c906001600160a01b031681565b61038061050b3660046139ea565b6001600160a01b03166000908152600e602052604090205490565b610380610e63565b6103ce61053c3660046139ea565b610ead565b61038061054f3660046139d1565b610f84565b610380600c5481565b610334610f8f565b6103806105733660046139ea565b610f9c565b6103ce610586366004613bb7565b610fa7565b6103806105993660046139d1565b6111f4565b6103806111ff565b61035d6105b43660046139a5565b6113ec565b610380600a5481565b61038061143b565b6103806105d8366004613b76565b6114d3565b6103806105eb3660046139ea565b611522565b6103806115af565b61060b6106063660046139ea565b6115ff565b604080519485526020850193909352918301526060820152608001610341565b6103806106393660046139d1565b611640565b61038061064c3660046139d1565b61164b565b61038061065f366004613c59565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b610380611656565b6103806106a03660046139ea565b61175d565b60065461041c906001600160a01b031681565b6103806106c6366004613c92565b611771565b60035461041c9061010090046001600160a01b031681565b610380611788565b6103806106f93660046139d1565b6117db565b61035d600181565b6001805461071390613cd4565b80601f016020809104026020016040519081016040528092919081815260200182805461073f90613cd4565b801561078c5780601f106107615761010080835404028352916020019161078c565b820191906000526020600020905b81548152906001019060200180831161076f57829003601f168201915b505050505081565b336000818152600f602090815260408083206001600160a01b03871680855292528083208590555191929182907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107f09087815260200190565b60405180910390a360019150505b92915050565b600061080f8261181a565b506000919050565b6000805460ff166108435760405162461bcd60e51b815260040161083a90613d08565b60405180910390fd5b6000805460ff191690556108556111ff565b5061085f82610f9c565b90506000805460ff19166001179055919050565b600061087d61186b565b905090565b60038054610100600160a81b03191633610100021790556108a7868686868686610fa7565b601180546001600160a01b0319166001600160a01b038916908117909155604080516318160ddd60e01b815290516318160ddd916004808201926020929091908290030181865afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109249190613d2c565b5050505050505050565b60035461010090046001600160a01b031633146109a55760405162461bcd60e51b815260206004820152602f60248201527f4345726332303a3a7377656570546f6b656e3a206f6e6c792061646d696e206360448201526e616e20737765657020746f6b656e7360881b606482015260840161083a565b6011546001600160a01b0390811690821603610a1e5760405162461bcd60e51b815260206004820152603260248201527f4345726332303a3a7377656570546f6b656e3a2063616e206e6f74207377656560448201527138103ab73232b9363cb4b733903a37b5b2b760711b606482015260840161083a565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610a65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a899190613d2c565b60035460405163a9059cbb60e01b81526001600160a01b03610100909204821660048201526024810183905291925083169063a9059cbb90604401600060405180830381600087803b158015610ade57600080fd5b505af1158015610af2573d6000803e3d6000fd5b505050505050565b6000805460ff16610b1d5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19168155610b33338686866118d3565b1490506000805460ff191660011790559392505050565b6000610b568383611aff565b50600092915050565b6000806040518060200160405280610b756115af565b90526001600160a01b0384166000908152600e6020526040902054909150610b9e908290611b51565b9392505050565b600061087d611b71565b60006107fe82611be6565b60035460009061010090046001600160a01b03163314610bed5760405163d219dc1f60e01b815260040160405180910390fd5b60055460408051623f1ee960e11b815290516001600160a01b0392831692851691627e3dd29160048083019260209291908290030181865afa158015610c37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5b9190613d45565b610ca75760405162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015260640161083a565b600580546001600160a01b0319166001600160a01b0385811691821790925560408051928416835260208301919091527f7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d91015b60405180910390a150600092915050565b600080610d17611c3d565b90506000610d2482611ce4565b61ffff16905080600003610d4b57604051632154bfcf60e21b815260040160405180910390fd5b610d56600283613d7d565b915060005b81811015610e1e576000610d6e84611d1e565b9050600080610d7e606887613d7d565b90506000610d8c8236613d90565b9050803592508265ffffffffffff16600003610dbb57604051630336dc9d60e41b815260040160405180910390fd5b87600003610dd3578265ffffffffffff169750610dfb565b878365ffffffffffff1614610dfb5760405163d9d1f46560e01b815260040160405180910390fd5b610e058488613d7d565b9650505050508080610e1690613da3565b915050610d5b565b50505090565b6000805460ff16610e475760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055610e596111ff565b5061085f82611d52565b6000805460ff16610e865760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055610e986111ff565b5050600b546000805460ff1916600117905590565b60035461010090046001600160a01b03163314610f225760405162461bcd60e51b815260206004820152602d60248201527f6f6e6c79207468652061646d696e206d6179207365742074686520636f6d702d60448201526c6c696b652064656c656761746560981b606482015260840161083a565b6011546040516317066a5760e21b81526001600160a01b03838116600483015290911690635c19a95c90602401600060405180830381600087803b158015610f6957600080fd5b505af1158015610f7d573d6000803e3d6000fd5b5050505050565b600061080f82611e6d565b6002805461071390613cd4565b60006107fe82611ebe565b60035461010090046001600160a01b031633146110125760405162461bcd60e51b8152602060048201526024808201527f6f6e6c792061646d696e206d617920696e697469616c697a6520746865206d616044820152631c9ad95d60e21b606482015260840161083a565b6009541580156110225750600a54155b61107a5760405162461bcd60e51b815260206004820152602360248201527f6d61726b6574206d6179206f6e6c7920626520696e697469616c697a6564206f6044820152626e636560e81b606482015260840161083a565b6007849055836110e55760405162461bcd60e51b815260206004820152603060248201527f696e697469616c2065786368616e67652072617465206d75737420626520677260448201526f32b0ba32b9103a3430b7103d32b9379760811b606482015260840161083a565b60006110f087610bba565b905080156111405760405162461bcd60e51b815260206004820152601a60248201527f73657474696e6720636f6d7074726f6c6c6572206661696c6564000000000000604482015260640161083a565b43600955670de0b6b3a7640000600a5561115986611f0a565b905080156111b45760405162461bcd60e51b815260206004820152602260248201527f73657474696e6720696e7465726573742072617465206d6f64656c206661696c604482015261195960f21b606482015260840161083a565b60016111c08582613e07565b5060026111cd8482613e07565b50506003805460ff90921660ff199283161790556000805490911660011790555050505050565b600061080f8261207f565b60095460009043908181036112175760009250505090565b6000611221611b71565b600b54600c54600a546006546040516315f2405360e01b81526004810186905260248101859052604481018490529495509293919290916000916001600160a01b0316906315f2405390606401602060405180830381865afa15801561128b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112af9190613d2c565b905065048c273950008111156113075760405162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015260640161083a565b60006113138789613d90565b9050600061132f604051806020016040528085815250836120be565b9050600061133d8288611b51565b9050600061134b8883613d7d565b9050600061136a6040518060200160405280600854815250848a6120ef565b9050600061137985898a6120ef565b60098e9055600a819055600b849055600c839055604080518d815260208101879052908101829052606081018590529091507f4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc049060800160405180910390a160009d505050505050505050505050505090565b6000805460ff1661140f5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19168155611425338086866118d3565b1490506000805460ff1916600117905592915050565b6006546000906001600160a01b031663b8168816611457611b71565b600b54600c546008546040516001600160e01b031960e087901b16815260048101949094526024840192909252604483015260648201526084015b602060405180830381865afa1580156114af573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087d9190613d2c565b6000805460ff166114f65760405162461bcd60e51b815260040161083a90613d08565b6000805460ff1916905561150c33858585612110565b50600080805460ff191660011790559392505050565b60035460009061010090046001600160a01b0316331461155557604051635cb56c2b60e01b815260040160405180910390fd5b600480546001600160a01b038481166001600160a01b031983168117909355604080519190921680825260208201939093527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99101610cfb565b6000805460ff166115d25760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556115e46111ff565b506115ed610873565b90506000805460ff1916600117905590565b6001600160a01b0381166000908152600e6020526040812054819081908190819061162987611ebe565b61163161186b565b93509350935093509193509193565b600061080f82612388565b600061080f826123c7565b6004546000906001600160a01b031633141580611671575033155b1561168f57604051631ba24f2960e21b815260040160405180910390fd5b60038054600480546001600160a01b03808216610100818102610100600160a81b0319871617968790556001600160a01b031990931690935560408051948390048216808652929095041660208401529290917ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc910160405180910390a1600454604080516001600160a01b03808516825290921660208301527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9910160405180910390a160009250505090565b60006117676111ff565b506107fe82611f0a565b600061177e848484612408565b5060009392505050565b6006546000906001600160a01b03166315f240536117a4611b71565b600b54600c546040516001600160e01b031960e086901b168152600481019390935260248301919091526044820152606401611492565b6000805460ff166117fe5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556118106111ff565b5061085f826124e6565b60005460ff1661183c5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff1916905561184e6111ff565b5061185a3333836125a2565b50506000805460ff19166001179055565b600d5460009080820361188057505060075490565b600061188a611b71565b90506000600c54600b548361189f9190613d7d565b6118a99190613d90565b90506000836118c0670de0b6b3a764000084613ec7565b6118ca9190613ede565b95945050505050565b6005546040516317b9b84b60e31b81523060048201526001600160a01b038581166024830152848116604483015260648201849052600092839291169063bdcdc258906084016020604051808303816000875af1158015611938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195c9190613d2c565b905080156119805760405163089d427760e11b81526004810182905260240161083a565b836001600160a01b0316856001600160a01b0316036119b257604051638cd22d1960e01b815260040160405180910390fd5b6000856001600160a01b0316876001600160a01b0316036119d657506000196119fe565b506001600160a01b038086166000908152600f60209081526040808320938a16835292905220545b6000611a0a8583613d90565b6001600160a01b0388166000908152600e602052604081205491925090611a32908790613d90565b6001600160a01b0388166000908152600e602052604081205491925090611a5a908890613d7d565b6001600160a01b03808b166000908152600e6020526040808220869055918b1681522081905590506000198414611ab4576001600160a01b03808a166000908152600f60209081526040808320938e168352929052208390555b876001600160a01b0316896001600160a01b0316600080516020613f8683398151915289604051611ae791815260200190565b60405180910390a35060009998505050505050505050565b60005460ff16611b215760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055611b336111ff565b50611b3f3383836125a2565b50506000805460ff1916600117905550565b600080611b5e84846120be565b9050611b698161274b565b949350505050565b6011546040516370a0823160e01b81523060048201526000916001600160a01b03169081906370a0823190602401602060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be09190613d2c565b91505090565b6000805460ff16611c095760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055611c1b6111ff565b50611c2582612763565b5050600090506000805460ff19166001179055919050565b60006602ed57011e0000601f1936013581161480611c6e576040516373bb264f60e11b815260040160405180910390fd5b60003660291115611c9257604051632bcb7bc560e11b815260040160405180910390fd5b5060281936013560006009611cad600362ffffff8516613d7d565b611cb79190613d7d565b905036611cc5600283613d7d565b1115610b9e5760405163c30a7bd760e01b815260040160405180910390fd5b600080611cf2602084613d7d565b905036811115611d1557604051632bcb7bc560e11b815260040160405180910390fd5b36033592915050565b6000806000611d2c846127f7565b9092509050604e611d3e826020613d7d565b611d489084613ec7565b611b699190613d7d565b600354600090819061010090046001600160a01b03163314611d8757604051630f7e5e6d60e41b815260040160405180910390fd5b4360095414611da957604051630dff50cb60e41b815260040160405180910390fd5b82611db2611b71565b1015611dd157604051633345e99960e01b815260040160405180910390fd5b600c54831115611df4576040516378d2980560e11b815260040160405180910390fd5b82600c54611e029190613d90565b600c819055600354909150611e259061010090046001600160a01b03168461284e565b7f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e600360019054906101000a90046001600160a01b03168483604051610cfb93929190613f00565b60005460ff16611e8f5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055611ea16111ff565b50611eae33600083612938565b506000805460ff19166001179055565b6001600160a01b038116600090815260106020526040812080548203611ee75750600092915050565b600a548154600091611ef891613ec7565b9050816001015481611b699190613ede565b600354600090819061010090046001600160a01b03163314611f3f5760405163407fded560e01b815260040160405180910390fd5b4360095414611f6157604051630be2a5cb60e11b815260040160405180910390fd5b600660009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fdb9190613d45565b6120275760405162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015260640161083a565b600680546001600160a01b0319166001600160a01b0385811691821790925560408051928416835260208301919091527fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269101610cfb565b60005460ff166120a15760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556120b36111ff565b50611eae3382612c26565b60408051602081019091526000815260405180602001604052806120e6856000015185612ddc565b90529392505050565b6000806120fc85856120be565b90506118ca61210a8261274b565b84612de8565b60055460405163d02f735160e01b81523060048201526001600160a01b0386811660248301528581166044830152848116606483015260848201849052600092169063d02f73519060a4016020604051808303816000875af115801561217a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219e9190613d2c565b905080156121c2576040516363e00e3360e11b81526004810182905260240161083a565b836001600160a01b0316836001600160a01b0316036121f457604051633a94626760e11b815260040160405180910390fd5b6000612215836040518060200160405280666379da05b60000815250612df4565b905060006122238285613d90565b90506000604051806020016040528061223a61186b565b90529050600061224a8285611b51565b9050600081600c5461225c9190613d7d565b600c819055600d54909150612272908690613d90565b600d556001600160a01b0388166000908152600e6020526040902054612299908890613d90565b6001600160a01b03808a166000908152600e602052604080822093909355908b16815220546122c9908590613d7d565b6001600160a01b03808b166000818152600e602052604090819020939093559151908a1690600080516020613f868339815191529061230b9088815260200190565b60405180910390a360405185815230906001600160a01b038a1690600080516020613f868339815191529060200160405180910390a37fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc530838360405161237493929190613f00565b60405180910390a150505050505050505050565b60005460ff166123aa5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556123bc6111ff565b50611eae3382612e17565b60005460ff166123e95760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556123fb6111ff565b50611eae33826000612938565b60005460ff1661242a5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff1916905561243c6111ff565b506000816001600160a01b031663a6afed956040518163ffffffff1660e01b81526004016020604051808303816000875af115801561247f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a39190613d2c565b905080156124c757604051633eea49b760e11b81526004810182905260240161083a565b6124d333858585612fc7565b50506000805460ff191660011790555050565b60035460009061010090046001600160a01b0316331461251957604051631205b57b60e11b815260040160405180910390fd5b436009541461253b57604051637dfca6b760e11b815260040160405180910390fd5b670de0b6b3a76400008211156125645760405163717220f360e11b815260040160405180910390fd5b600880549083905560408051828152602081018590527faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f8214609101610cfb565b600554604051631200453160e11b81523060048201526001600160a01b03858116602483015284811660448301526064820184905260009283929116906324008a62906084016020604051808303816000875af1158015612607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262b9190613d2c565b9050801561264f57604051638c81362d60e01b81526004810182905260240161083a565b43600954146126715760405163c9021e2f60e01b815260040160405180910390fd5b600061267c85611ebe565b90506000600019851461268f5784612691565b815b9050600061269f888361348f565b905060006126ad8285613d90565b9050600082600b546126bf9190613d90565b6001600160a01b038a8116600081815260106020908152604091829020878155600a54600190910155600b8590558151938f168452830191909152810185905260608101849052608081018290529091507f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a19060a00160405180910390a1509098975050505050505050565b80516000906107fe90670de0b6b3a764000090613ede565b6000808080436009541461278d576040516338acf79960e01b81526004810182905260240161083a565b612797338661348f565b905080600c546127a79190613d7d565b915081600c819055507fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc53382846040516127e393929190613f00565b60405180910390a160009590945092505050565b600080808080612808604187613d7d565b9050600061282161281a602084613d7d565b3690613666565b803594509050612832816003613666565b62ffffff9490941697933563ffffffff16965092945050505050565b60115460405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905290911690819063a9059cbb90604401600060405180830381600087803b15801561289e57600080fd5b505af11580156128b2573d6000803e3d6000fd5b5050505060003d600081146128ce57602081146128d857600080fd5b60001991506128e4565b60206000803e60005191505b50806129325760405162461bcd60e51b815260206004820152601960248201527f544f4b454e5f5452414e534645525f4f55545f4641494c454400000000000000604482015260640161083a565b50505050565b811580612943575080155b6129ac5760405162461bcd60e51b815260206004820152603460248201527f6f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416044820152736d6f756e74496e206d757374206265207a65726f60601b606482015260840161083a565b600060405180602001604052806129c161186b565b9052905060008084156129e2578491506129db8386611b51565b90506129f2565b6129ec8484613672565b91508390505b600063eabe7d9160e01b308885604051602401612a1193929190613f21565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152600554909150600090612a61906001600160a01b0316836001613690565b9050600081806020019051810190612a799190613d2c565b90508015612a9d5760405163480f424760e01b81526004810182905260240161083a565b4360095414612abf576040516397b5cfcd60e01b815260040160405180910390fd5b83612ac8611b71565b1015612ae7576040516391240a1b60e01b815260040160405180910390fd5b84600d54612af59190613d90565b600d556001600160a01b0389166000908152600e6020526040902054612b1c908690613d90565b6001600160a01b038a166000908152600e6020526040902055612b3f898561284e565b60405185815230906001600160a01b038b1690600080516020613f868339815191529060200160405180910390a37fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929898587604051612ba093929190613f00565b60405180910390a16005546040516351dff98960e01b81523060048201526001600160a01b038b811660248301526044820187905260648201889052909116906351dff98990608401600060405180830381600087803b158015612c0357600080fd5b505af1158015612c17573d6000803e3d6000fd5b50505050505050505050505050565b600554604051634ef4c3e160e01b81526000916001600160a01b031690634ef4c3e190612c5b90309087908790600401613f21565b6020604051808303816000875af1158015612c7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9e9190613d2c565b90508015612cc2576040516349abd4fd60e01b81526004810182905260240161083a565b4360095414612ce4576040516338d8859760e01b815260040160405180910390fd5b60006040518060200160405280612cf961186b565b905290506000612d09858561348f565b90506000612d178284613672565b905080600d54612d279190613d7d565b600d556001600160a01b0386166000908152600e6020526040902054612d4e908290613d7d565b6001600160a01b0387166000908152600e60205260409081902091909155517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f90612d9e90889085908590613f00565b60405180910390a16040518181526001600160a01b038716903090600080516020613f868339815191529060200160405180910390a3505050505050565b6000610b9e8284613ec7565b6000610b9e8284613d7d565b6000670de0b6b3a7640000612e0d848460000151612ddc565b610b9e9190613ede565b600063da3d454c60e01b308484604051602401612e3693929190613f21565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152600554909150600090612e86906001600160a01b0316836001613690565b9050600081806020019051810190612e9e9190613d2c565b90508015612ec25760405163918db40f60e01b81526004810182905260240161083a565b4360095414612ee457604051630e8d8c6160e21b815260040160405180910390fd5b83612eed611b71565b1015612f0c576040516348c2588160e01b815260040160405180910390fd5b6000612f1786611ebe565b90506000612f258683613d7d565b9050600086600b54612f379190613d7d565b6001600160a01b0389166000908152601060205260409020838155600a54600190910155600b8190559050612f6c888861284e565b604080516001600160a01b038a16815260208101899052908101839052606081018290527f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab809060800160405180910390a15050505050505050565b604080513060248201526001600160a01b0383811660448301528681166064830152858116608483015260a48083018690528351808403909101815260c49092019092526020810180516001600160e01b0316632fe3f38f60e11b179052600554909160009161303a9116836001613690565b90506000818060200190518101906130529190613d2c565b9050801561307657604051630a14d17960e11b81526004810182905260240161083a565b4360095414613098576040516380965b1b60e01b815260040160405180910390fd5b43846001600160a01b0316636c540baf6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130fb9190613d2c565b1461311957604051631046f38d60e31b815260040160405180910390fd5b866001600160a01b0316866001600160a01b03160361314b57604051631bd1a62160e21b815260040160405180910390fd5b8460000361316c5760405163d29da7ef60e01b815260040160405180910390fd5b600019850361318e57604051635982c5bb60e11b815260040160405180910390fd5b600061319b8888886125a2565b9050600063c488847b60e01b3087846040516024016131bc93929190613f21565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915260055490915060009061320a906001600160a01b031683613724565b9050600080828060200190518101906132239190613f45565b91509150600082146132935760405162461bcd60e51b815260206004820152603360248201527f4c49515549444154455f434f4d5054524f4c4c45525f43414c43554c4154455f604482015272105353d5539517d4d152569157d19052531151606a1b606482015260840161083a565b6040516370a0823160e01b81526001600160a01b038c811660048301528291908b16906370a0823190602401602060405180830381865afa1580156132dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133009190613d2c565b101561334e5760405162461bcd60e51b815260206004820152601860248201527f4c49515549444154455f5345495a455f544f4f5f4d5543480000000000000000604482015260640161083a565b306001600160a01b038a160361336f5761336a308d8d84612110565b613428565b6000896001600160a01b031663b2a02ff18e8e856040518463ffffffff1660e01b81526004016133a193929190613f21565b6020604051808303816000875af11580156133c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133e49190613d2c565b146134285760405162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015260640161083a565b604080516001600160a01b038e811682528d811660208301528183018890528b1660608201526080810183905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a1505050505050505050505050565b6011546040516370a0823160e01b81523060048201526000916001600160a01b0316908190839082906370a0823190602401602060405180830381865afa1580156134de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135029190613d2c565b6040516323b872dd60e01b81529091506001600160a01b038316906323b872dd9061353590899030908a90600401613f21565b600060405180830381600087803b15801561354f57600080fd5b505af1158015613563573d6000803e3d6000fd5b5050505060003d6000811461357f576020811461358957600080fd5b6000199150613595565b60206000803e60005191505b50806135e35760405162461bcd60e51b815260206004820152601860248201527f544f4b454e5f5452414e534645525f494e5f4641494c45440000000000000000604482015260640161083a565b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a0823190602401602060405180830381865afa15801561362a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061364e9190613d2c565b905061365a8382613d90565b98975050505050505050565b6000610b9e8284613d90565b6000610b9e61368984670de0b6b3a7640000612ddc565b83516137a7565b6060600061369d846137b3565b9050600080866001600160a01b0316856136b85760006136ba565b345b846040516136c89190613f69565b60006040518083038185875af1925050503d8060008114613705576040519150601f19603f3d011682016040523d82523d6000602084013e61370a565b606091505b50915091506137198282613842565b979650505050505050565b60606000613731836137b3565b9050600080856001600160a01b03168360405161374e9190613f69565b600060405180830381855afa9150503d8060008114613789576040519150601f19603f3d011682016040523d82523d6000602084013e61378e565b606091505b509150915061379d8282613842565b9695505050505050565b6000610b9e8284613ede565b805160609060006137c26138bf565b905060006137d08284613d7d565b9050368211156137f357604051632bcb7bc560e11b815260040160405180910390fd5b6060604051905081815285602001848101826020015b81831015613821578251815260209283019201613809565b50505082833603856020018301379190920181016020016040529392505050565b6060826138b957815160000361386b57604051632b3ff13d60e11b815260040160405180910390fd5b602082015162461bcd60e51b14801561389e576040516301efd04f60e31b8152604484019061083a90829060040161397a565b8260405163fd36fde360e01b815260040161083a919061397a565b50919050565b6000806138ca611c3d565b905060006138d782611ce4565b61ffff1690506138e8600283613d7d565b915060005b8181101561392257600061390084611d1e565b905061390c8185613d7d565b935050808061391a90613da3565b9150506138ed565b509092915050565b60005b8381101561394557818101518382015260200161392d565b50506000910152565b6000815180845261396681602086016020860161392a565b601f01601f19169290920160200192915050565b602081526000610b9e602083018461394e565b6001600160a01b03811681146139a257600080fd5b50565b600080604083850312156139b857600080fd5b82356139c38161398d565b946020939093013593505050565b6000602082840312156139e357600080fd5b5035919050565b6000602082840312156139fc57600080fd5b8135610b9e8161398d565b634e487b7160e01b600052604160045260246000fd5b600082601f830112613a2e57600080fd5b813567ffffffffffffffff80821115613a4957613a49613a07565b604051601f8301601f19908116603f01168101908282118183101715613a7157613a71613a07565b81604052838152866020858801011115613a8a57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803560ff81168114613abb57600080fd5b919050565b600080600080600080600060e0888a031215613adb57600080fd5b8735613ae68161398d565b96506020880135613af68161398d565b95506040880135613b068161398d565b945060608801359350608088013567ffffffffffffffff80821115613b2a57600080fd5b613b368b838c01613a1d565b945060a08a0135915080821115613b4c57600080fd5b50613b598a828b01613a1d565b925050613b6860c08901613aaa565b905092959891949750929550565b600080600060608486031215613b8b57600080fd5b8335613b968161398d565b92506020840135613ba68161398d565b929592945050506040919091013590565b60008060008060008060c08789031215613bd057600080fd5b8635613bdb8161398d565b95506020870135613beb8161398d565b945060408701359350606087013567ffffffffffffffff80821115613c0f57600080fd5b613c1b8a838b01613a1d565b94506080890135915080821115613c3157600080fd5b50613c3e89828a01613a1d565b925050613c4d60a08801613aaa565b90509295509295509295565b60008060408385031215613c6c57600080fd5b8235613c778161398d565b91506020830135613c878161398d565b809150509250929050565b600080600060608486031215613ca757600080fd5b8335613cb28161398d565b9250602084013591506040840135613cc98161398d565b809150509250925092565b600181811c90821680613ce857607f821691505b6020821081036138b957634e487b7160e01b600052602260045260246000fd5b6020808252600a90820152691c994b595b9d195c995960b21b604082015260600190565b600060208284031215613d3e57600080fd5b5051919050565b600060208284031215613d5757600080fd5b81518015158114610b9e57600080fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107fe576107fe613d67565b818103818111156107fe576107fe613d67565b600060018201613db557613db5613d67565b5060010190565b601f821115613e0257600081815260208120601f850160051c81016020861015613de35750805b601f850160051c820191505b81811015610af257828155600101613def565b505050565b815167ffffffffffffffff811115613e2157613e21613a07565b613e3581613e2f8454613cd4565b84613dbc565b602080601f831160018114613e6a5760008415613e525750858301515b600019600386901b1c1916600185901b178555610af2565b600085815260208120601f198616915b82811015613e9957888601518255948401946001909101908401613e7a565b5085821015613eb75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820281158282048414176107fe576107fe613d67565b600082613efb57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60008060408385031215613f5857600080fd5b505080516020909101519092909150565b60008251613f7b81846020870161392a565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220c5433a877091e6936ffb0b6094f3db5ecba7c1a60e6875ef3c261bdf63e56dfe64736f6c63430008120033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103275760003560e01c806373acee98116101b8578063b71d1a0c11610104578063f2b3abbd116100a2578063f851a4401161007c578063f851a440146106cb578063f8f9da28146106e3578063fca7820b146106eb578063fe9c44ae146106fe57600080fd5b8063f2b3abbd14610692578063f3fdb15a146106a5578063f5e3c462146106b857600080fd5b8063c5ebeaec116100de578063c5ebeaec1461062b578063db006a751461063e578063dd62ed3e14610651578063e9c714f21461068a57600080fd5b8063b71d1a0c146105dd578063bd6d894d146105f0578063c37f68e2146105f857600080fd5b806399d8c1b411610171578063a9059cbb1161014b578063a9059cbb146105a6578063aa5af0fd146105b9578063ae9d70b0146105c2578063b2a02ff1146105ca57600080fd5b806399d8c1b414610578578063a0712d681461058b578063a6afed951461059e57600080fd5b806373acee98146105265780637f1e06be1461052e578063852a12e3146105415780638f840ddd1461055457806395d89b411461055d57806395dd91931461056557600080fd5b80633af9e669116102775780635fe3b5671161023057806369ab32501161020a57806369ab3250146104d95780636c540baf146104e15780636f307dc3146104ea57806370a08231146104fd57600080fd5b80635fe3b567146104a5578063601a0bf1146104b85780636752e702146104cb57600080fd5b80633af9e669146104535780633b1d21a2146104665780633e9410101461046e5780634576b5db1461048157806347bd37181461049457806355a547d51461049d57600080fd5b8063182df0f5116102e457806323b872dd116102be57806323b872dd146103e35780632608f818146103f65780632678224714610409578063313ce5671461043457600080fd5b8063182df0f5146103b35780631a31d465146103bb5780631be19560146103d057600080fd5b806306fdde031461032c578063095ea7b31461034a5780630e7527021461036d578063173b99041461038e57806317bfdfbc1461039757806318160ddd146103aa575b600080fd5b610334610706565b604051610341919061397a565b60405180910390f35b61035d6103583660046139a5565b610794565b6040519015158152602001610341565b61038061037b3660046139d1565b610804565b604051908152602001610341565b61038060085481565b6103806103a53660046139ea565b610817565b610380600d5481565b610380610873565b6103ce6103c9366004613ac0565b610882565b005b6103ce6103de3660046139ea565b61092e565b61035d6103f1366004613b76565b610afa565b6103806104043660046139a5565b610b4a565b60045461041c906001600160a01b031681565b6040516001600160a01b039091168152602001610341565b6003546104419060ff1681565b60405160ff9091168152602001610341565b6103806104613660046139ea565b610b5f565b610380610ba5565b61038061047c3660046139d1565b610baf565b61038061048f3660046139ea565b610bba565b610380600b5481565b610380610d0c565b60055461041c906001600160a01b031681565b6103806104c63660046139d1565b610e24565b610380666379da05b6000081565b610380600081565b61038060095481565b60115461041c906001600160a01b031681565b61038061050b3660046139ea565b6001600160a01b03166000908152600e602052604090205490565b610380610e63565b6103ce61053c3660046139ea565b610ead565b61038061054f3660046139d1565b610f84565b610380600c5481565b610334610f8f565b6103806105733660046139ea565b610f9c565b6103ce610586366004613bb7565b610fa7565b6103806105993660046139d1565b6111f4565b6103806111ff565b61035d6105b43660046139a5565b6113ec565b610380600a5481565b61038061143b565b6103806105d8366004613b76565b6114d3565b6103806105eb3660046139ea565b611522565b6103806115af565b61060b6106063660046139ea565b6115ff565b604080519485526020850193909352918301526060820152608001610341565b6103806106393660046139d1565b611640565b61038061064c3660046139d1565b61164b565b61038061065f366004613c59565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b610380611656565b6103806106a03660046139ea565b61175d565b60065461041c906001600160a01b031681565b6103806106c6366004613c92565b611771565b60035461041c9061010090046001600160a01b031681565b610380611788565b6103806106f93660046139d1565b6117db565b61035d600181565b6001805461071390613cd4565b80601f016020809104026020016040519081016040528092919081815260200182805461073f90613cd4565b801561078c5780601f106107615761010080835404028352916020019161078c565b820191906000526020600020905b81548152906001019060200180831161076f57829003601f168201915b505050505081565b336000818152600f602090815260408083206001600160a01b03871680855292528083208590555191929182907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107f09087815260200190565b60405180910390a360019150505b92915050565b600061080f8261181a565b506000919050565b6000805460ff166108435760405162461bcd60e51b815260040161083a90613d08565b60405180910390fd5b6000805460ff191690556108556111ff565b5061085f82610f9c565b90506000805460ff19166001179055919050565b600061087d61186b565b905090565b60038054610100600160a81b03191633610100021790556108a7868686868686610fa7565b601180546001600160a01b0319166001600160a01b038916908117909155604080516318160ddd60e01b815290516318160ddd916004808201926020929091908290030181865afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109249190613d2c565b5050505050505050565b60035461010090046001600160a01b031633146109a55760405162461bcd60e51b815260206004820152602f60248201527f4345726332303a3a7377656570546f6b656e3a206f6e6c792061646d696e206360448201526e616e20737765657020746f6b656e7360881b606482015260840161083a565b6011546001600160a01b0390811690821603610a1e5760405162461bcd60e51b815260206004820152603260248201527f4345726332303a3a7377656570546f6b656e3a2063616e206e6f74207377656560448201527138103ab73232b9363cb4b733903a37b5b2b760711b606482015260840161083a565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610a65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a899190613d2c565b60035460405163a9059cbb60e01b81526001600160a01b03610100909204821660048201526024810183905291925083169063a9059cbb90604401600060405180830381600087803b158015610ade57600080fd5b505af1158015610af2573d6000803e3d6000fd5b505050505050565b6000805460ff16610b1d5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19168155610b33338686866118d3565b1490506000805460ff191660011790559392505050565b6000610b568383611aff565b50600092915050565b6000806040518060200160405280610b756115af565b90526001600160a01b0384166000908152600e6020526040902054909150610b9e908290611b51565b9392505050565b600061087d611b71565b60006107fe82611be6565b60035460009061010090046001600160a01b03163314610bed5760405163d219dc1f60e01b815260040160405180910390fd5b60055460408051623f1ee960e11b815290516001600160a01b0392831692851691627e3dd29160048083019260209291908290030181865afa158015610c37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5b9190613d45565b610ca75760405162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015260640161083a565b600580546001600160a01b0319166001600160a01b0385811691821790925560408051928416835260208301919091527f7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d91015b60405180910390a150600092915050565b600080610d17611c3d565b90506000610d2482611ce4565b61ffff16905080600003610d4b57604051632154bfcf60e21b815260040160405180910390fd5b610d56600283613d7d565b915060005b81811015610e1e576000610d6e84611d1e565b9050600080610d7e606887613d7d565b90506000610d8c8236613d90565b9050803592508265ffffffffffff16600003610dbb57604051630336dc9d60e41b815260040160405180910390fd5b87600003610dd3578265ffffffffffff169750610dfb565b878365ffffffffffff1614610dfb5760405163d9d1f46560e01b815260040160405180910390fd5b610e058488613d7d565b9650505050508080610e1690613da3565b915050610d5b565b50505090565b6000805460ff16610e475760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055610e596111ff565b5061085f82611d52565b6000805460ff16610e865760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055610e986111ff565b5050600b546000805460ff1916600117905590565b60035461010090046001600160a01b03163314610f225760405162461bcd60e51b815260206004820152602d60248201527f6f6e6c79207468652061646d696e206d6179207365742074686520636f6d702d60448201526c6c696b652064656c656761746560981b606482015260840161083a565b6011546040516317066a5760e21b81526001600160a01b03838116600483015290911690635c19a95c90602401600060405180830381600087803b158015610f6957600080fd5b505af1158015610f7d573d6000803e3d6000fd5b5050505050565b600061080f82611e6d565b6002805461071390613cd4565b60006107fe82611ebe565b60035461010090046001600160a01b031633146110125760405162461bcd60e51b8152602060048201526024808201527f6f6e6c792061646d696e206d617920696e697469616c697a6520746865206d616044820152631c9ad95d60e21b606482015260840161083a565b6009541580156110225750600a54155b61107a5760405162461bcd60e51b815260206004820152602360248201527f6d61726b6574206d6179206f6e6c7920626520696e697469616c697a6564206f6044820152626e636560e81b606482015260840161083a565b6007849055836110e55760405162461bcd60e51b815260206004820152603060248201527f696e697469616c2065786368616e67652072617465206d75737420626520677260448201526f32b0ba32b9103a3430b7103d32b9379760811b606482015260840161083a565b60006110f087610bba565b905080156111405760405162461bcd60e51b815260206004820152601a60248201527f73657474696e6720636f6d7074726f6c6c6572206661696c6564000000000000604482015260640161083a565b43600955670de0b6b3a7640000600a5561115986611f0a565b905080156111b45760405162461bcd60e51b815260206004820152602260248201527f73657474696e6720696e7465726573742072617465206d6f64656c206661696c604482015261195960f21b606482015260840161083a565b60016111c08582613e07565b5060026111cd8482613e07565b50506003805460ff90921660ff199283161790556000805490911660011790555050505050565b600061080f8261207f565b60095460009043908181036112175760009250505090565b6000611221611b71565b600b54600c54600a546006546040516315f2405360e01b81526004810186905260248101859052604481018490529495509293919290916000916001600160a01b0316906315f2405390606401602060405180830381865afa15801561128b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112af9190613d2c565b905065048c273950008111156113075760405162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015260640161083a565b60006113138789613d90565b9050600061132f604051806020016040528085815250836120be565b9050600061133d8288611b51565b9050600061134b8883613d7d565b9050600061136a6040518060200160405280600854815250848a6120ef565b9050600061137985898a6120ef565b60098e9055600a819055600b849055600c839055604080518d815260208101879052908101829052606081018590529091507f4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc049060800160405180910390a160009d505050505050505050505050505090565b6000805460ff1661140f5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19168155611425338086866118d3565b1490506000805460ff1916600117905592915050565b6006546000906001600160a01b031663b8168816611457611b71565b600b54600c546008546040516001600160e01b031960e087901b16815260048101949094526024840192909252604483015260648201526084015b602060405180830381865afa1580156114af573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087d9190613d2c565b6000805460ff166114f65760405162461bcd60e51b815260040161083a90613d08565b6000805460ff1916905561150c33858585612110565b50600080805460ff191660011790559392505050565b60035460009061010090046001600160a01b0316331461155557604051635cb56c2b60e01b815260040160405180910390fd5b600480546001600160a01b038481166001600160a01b031983168117909355604080519190921680825260208201939093527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99101610cfb565b6000805460ff166115d25760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556115e46111ff565b506115ed610873565b90506000805460ff1916600117905590565b6001600160a01b0381166000908152600e6020526040812054819081908190819061162987611ebe565b61163161186b565b93509350935093509193509193565b600061080f82612388565b600061080f826123c7565b6004546000906001600160a01b031633141580611671575033155b1561168f57604051631ba24f2960e21b815260040160405180910390fd5b60038054600480546001600160a01b03808216610100818102610100600160a81b0319871617968790556001600160a01b031990931690935560408051948390048216808652929095041660208401529290917ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc910160405180910390a1600454604080516001600160a01b03808516825290921660208301527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9910160405180910390a160009250505090565b60006117676111ff565b506107fe82611f0a565b600061177e848484612408565b5060009392505050565b6006546000906001600160a01b03166315f240536117a4611b71565b600b54600c546040516001600160e01b031960e086901b168152600481019390935260248301919091526044820152606401611492565b6000805460ff166117fe5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556118106111ff565b5061085f826124e6565b60005460ff1661183c5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff1916905561184e6111ff565b5061185a3333836125a2565b50506000805460ff19166001179055565b600d5460009080820361188057505060075490565b600061188a611b71565b90506000600c54600b548361189f9190613d7d565b6118a99190613d90565b90506000836118c0670de0b6b3a764000084613ec7565b6118ca9190613ede565b95945050505050565b6005546040516317b9b84b60e31b81523060048201526001600160a01b038581166024830152848116604483015260648201849052600092839291169063bdcdc258906084016020604051808303816000875af1158015611938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195c9190613d2c565b905080156119805760405163089d427760e11b81526004810182905260240161083a565b836001600160a01b0316856001600160a01b0316036119b257604051638cd22d1960e01b815260040160405180910390fd5b6000856001600160a01b0316876001600160a01b0316036119d657506000196119fe565b506001600160a01b038086166000908152600f60209081526040808320938a16835292905220545b6000611a0a8583613d90565b6001600160a01b0388166000908152600e602052604081205491925090611a32908790613d90565b6001600160a01b0388166000908152600e602052604081205491925090611a5a908890613d7d565b6001600160a01b03808b166000908152600e6020526040808220869055918b1681522081905590506000198414611ab4576001600160a01b03808a166000908152600f60209081526040808320938e168352929052208390555b876001600160a01b0316896001600160a01b0316600080516020613f8683398151915289604051611ae791815260200190565b60405180910390a35060009998505050505050505050565b60005460ff16611b215760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055611b336111ff565b50611b3f3383836125a2565b50506000805460ff1916600117905550565b600080611b5e84846120be565b9050611b698161274b565b949350505050565b6011546040516370a0823160e01b81523060048201526000916001600160a01b03169081906370a0823190602401602060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be09190613d2c565b91505090565b6000805460ff16611c095760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055611c1b6111ff565b50611c2582612763565b5050600090506000805460ff19166001179055919050565b60006602ed57011e0000601f1936013581161480611c6e576040516373bb264f60e11b815260040160405180910390fd5b60003660291115611c9257604051632bcb7bc560e11b815260040160405180910390fd5b5060281936013560006009611cad600362ffffff8516613d7d565b611cb79190613d7d565b905036611cc5600283613d7d565b1115610b9e5760405163c30a7bd760e01b815260040160405180910390fd5b600080611cf2602084613d7d565b905036811115611d1557604051632bcb7bc560e11b815260040160405180910390fd5b36033592915050565b6000806000611d2c846127f7565b9092509050604e611d3e826020613d7d565b611d489084613ec7565b611b699190613d7d565b600354600090819061010090046001600160a01b03163314611d8757604051630f7e5e6d60e41b815260040160405180910390fd5b4360095414611da957604051630dff50cb60e41b815260040160405180910390fd5b82611db2611b71565b1015611dd157604051633345e99960e01b815260040160405180910390fd5b600c54831115611df4576040516378d2980560e11b815260040160405180910390fd5b82600c54611e029190613d90565b600c819055600354909150611e259061010090046001600160a01b03168461284e565b7f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e600360019054906101000a90046001600160a01b03168483604051610cfb93929190613f00565b60005460ff16611e8f5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff19169055611ea16111ff565b50611eae33600083612938565b506000805460ff19166001179055565b6001600160a01b038116600090815260106020526040812080548203611ee75750600092915050565b600a548154600091611ef891613ec7565b9050816001015481611b699190613ede565b600354600090819061010090046001600160a01b03163314611f3f5760405163407fded560e01b815260040160405180910390fd5b4360095414611f6157604051630be2a5cb60e11b815260040160405180910390fd5b600660009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fdb9190613d45565b6120275760405162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015260640161083a565b600680546001600160a01b0319166001600160a01b0385811691821790925560408051928416835260208301919091527fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269101610cfb565b60005460ff166120a15760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556120b36111ff565b50611eae3382612c26565b60408051602081019091526000815260405180602001604052806120e6856000015185612ddc565b90529392505050565b6000806120fc85856120be565b90506118ca61210a8261274b565b84612de8565b60055460405163d02f735160e01b81523060048201526001600160a01b0386811660248301528581166044830152848116606483015260848201849052600092169063d02f73519060a4016020604051808303816000875af115801561217a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219e9190613d2c565b905080156121c2576040516363e00e3360e11b81526004810182905260240161083a565b836001600160a01b0316836001600160a01b0316036121f457604051633a94626760e11b815260040160405180910390fd5b6000612215836040518060200160405280666379da05b60000815250612df4565b905060006122238285613d90565b90506000604051806020016040528061223a61186b565b90529050600061224a8285611b51565b9050600081600c5461225c9190613d7d565b600c819055600d54909150612272908690613d90565b600d556001600160a01b0388166000908152600e6020526040902054612299908890613d90565b6001600160a01b03808a166000908152600e602052604080822093909355908b16815220546122c9908590613d7d565b6001600160a01b03808b166000818152600e602052604090819020939093559151908a1690600080516020613f868339815191529061230b9088815260200190565b60405180910390a360405185815230906001600160a01b038a1690600080516020613f868339815191529060200160405180910390a37fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc530838360405161237493929190613f00565b60405180910390a150505050505050505050565b60005460ff166123aa5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556123bc6111ff565b50611eae3382612e17565b60005460ff166123e95760405162461bcd60e51b815260040161083a90613d08565b6000805460ff191690556123fb6111ff565b50611eae33826000612938565b60005460ff1661242a5760405162461bcd60e51b815260040161083a90613d08565b6000805460ff1916905561243c6111ff565b506000816001600160a01b031663a6afed956040518163ffffffff1660e01b81526004016020604051808303816000875af115801561247f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a39190613d2c565b905080156124c757604051633eea49b760e11b81526004810182905260240161083a565b6124d333858585612fc7565b50506000805460ff191660011790555050565b60035460009061010090046001600160a01b0316331461251957604051631205b57b60e11b815260040160405180910390fd5b436009541461253b57604051637dfca6b760e11b815260040160405180910390fd5b670de0b6b3a76400008211156125645760405163717220f360e11b815260040160405180910390fd5b600880549083905560408051828152602081018590527faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f8214609101610cfb565b600554604051631200453160e11b81523060048201526001600160a01b03858116602483015284811660448301526064820184905260009283929116906324008a62906084016020604051808303816000875af1158015612607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262b9190613d2c565b9050801561264f57604051638c81362d60e01b81526004810182905260240161083a565b43600954146126715760405163c9021e2f60e01b815260040160405180910390fd5b600061267c85611ebe565b90506000600019851461268f5784612691565b815b9050600061269f888361348f565b905060006126ad8285613d90565b9050600082600b546126bf9190613d90565b6001600160a01b038a8116600081815260106020908152604091829020878155600a54600190910155600b8590558151938f168452830191909152810185905260608101849052608081018290529091507f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a19060a00160405180910390a1509098975050505050505050565b80516000906107fe90670de0b6b3a764000090613ede565b6000808080436009541461278d576040516338acf79960e01b81526004810182905260240161083a565b612797338661348f565b905080600c546127a79190613d7d565b915081600c819055507fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc53382846040516127e393929190613f00565b60405180910390a160009590945092505050565b600080808080612808604187613d7d565b9050600061282161281a602084613d7d565b3690613666565b803594509050612832816003613666565b62ffffff9490941697933563ffffffff16965092945050505050565b60115460405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905290911690819063a9059cbb90604401600060405180830381600087803b15801561289e57600080fd5b505af11580156128b2573d6000803e3d6000fd5b5050505060003d600081146128ce57602081146128d857600080fd5b60001991506128e4565b60206000803e60005191505b50806129325760405162461bcd60e51b815260206004820152601960248201527f544f4b454e5f5452414e534645525f4f55545f4641494c454400000000000000604482015260640161083a565b50505050565b811580612943575080155b6129ac5760405162461bcd60e51b815260206004820152603460248201527f6f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416044820152736d6f756e74496e206d757374206265207a65726f60601b606482015260840161083a565b600060405180602001604052806129c161186b565b9052905060008084156129e2578491506129db8386611b51565b90506129f2565b6129ec8484613672565b91508390505b600063eabe7d9160e01b308885604051602401612a1193929190613f21565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152600554909150600090612a61906001600160a01b0316836001613690565b9050600081806020019051810190612a799190613d2c565b90508015612a9d5760405163480f424760e01b81526004810182905260240161083a565b4360095414612abf576040516397b5cfcd60e01b815260040160405180910390fd5b83612ac8611b71565b1015612ae7576040516391240a1b60e01b815260040160405180910390fd5b84600d54612af59190613d90565b600d556001600160a01b0389166000908152600e6020526040902054612b1c908690613d90565b6001600160a01b038a166000908152600e6020526040902055612b3f898561284e565b60405185815230906001600160a01b038b1690600080516020613f868339815191529060200160405180910390a37fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929898587604051612ba093929190613f00565b60405180910390a16005546040516351dff98960e01b81523060048201526001600160a01b038b811660248301526044820187905260648201889052909116906351dff98990608401600060405180830381600087803b158015612c0357600080fd5b505af1158015612c17573d6000803e3d6000fd5b50505050505050505050505050565b600554604051634ef4c3e160e01b81526000916001600160a01b031690634ef4c3e190612c5b90309087908790600401613f21565b6020604051808303816000875af1158015612c7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9e9190613d2c565b90508015612cc2576040516349abd4fd60e01b81526004810182905260240161083a565b4360095414612ce4576040516338d8859760e01b815260040160405180910390fd5b60006040518060200160405280612cf961186b565b905290506000612d09858561348f565b90506000612d178284613672565b905080600d54612d279190613d7d565b600d556001600160a01b0386166000908152600e6020526040902054612d4e908290613d7d565b6001600160a01b0387166000908152600e60205260409081902091909155517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f90612d9e90889085908590613f00565b60405180910390a16040518181526001600160a01b038716903090600080516020613f868339815191529060200160405180910390a3505050505050565b6000610b9e8284613ec7565b6000610b9e8284613d7d565b6000670de0b6b3a7640000612e0d848460000151612ddc565b610b9e9190613ede565b600063da3d454c60e01b308484604051602401612e3693929190613f21565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152600554909150600090612e86906001600160a01b0316836001613690565b9050600081806020019051810190612e9e9190613d2c565b90508015612ec25760405163918db40f60e01b81526004810182905260240161083a565b4360095414612ee457604051630e8d8c6160e21b815260040160405180910390fd5b83612eed611b71565b1015612f0c576040516348c2588160e01b815260040160405180910390fd5b6000612f1786611ebe565b90506000612f258683613d7d565b9050600086600b54612f379190613d7d565b6001600160a01b0389166000908152601060205260409020838155600a54600190910155600b8190559050612f6c888861284e565b604080516001600160a01b038a16815260208101899052908101839052606081018290527f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab809060800160405180910390a15050505050505050565b604080513060248201526001600160a01b0383811660448301528681166064830152858116608483015260a48083018690528351808403909101815260c49092019092526020810180516001600160e01b0316632fe3f38f60e11b179052600554909160009161303a9116836001613690565b90506000818060200190518101906130529190613d2c565b9050801561307657604051630a14d17960e11b81526004810182905260240161083a565b4360095414613098576040516380965b1b60e01b815260040160405180910390fd5b43846001600160a01b0316636c540baf6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130fb9190613d2c565b1461311957604051631046f38d60e31b815260040160405180910390fd5b866001600160a01b0316866001600160a01b03160361314b57604051631bd1a62160e21b815260040160405180910390fd5b8460000361316c5760405163d29da7ef60e01b815260040160405180910390fd5b600019850361318e57604051635982c5bb60e11b815260040160405180910390fd5b600061319b8888886125a2565b9050600063c488847b60e01b3087846040516024016131bc93929190613f21565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915260055490915060009061320a906001600160a01b031683613724565b9050600080828060200190518101906132239190613f45565b91509150600082146132935760405162461bcd60e51b815260206004820152603360248201527f4c49515549444154455f434f4d5054524f4c4c45525f43414c43554c4154455f604482015272105353d5539517d4d152569157d19052531151606a1b606482015260840161083a565b6040516370a0823160e01b81526001600160a01b038c811660048301528291908b16906370a0823190602401602060405180830381865afa1580156132dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133009190613d2c565b101561334e5760405162461bcd60e51b815260206004820152601860248201527f4c49515549444154455f5345495a455f544f4f5f4d5543480000000000000000604482015260640161083a565b306001600160a01b038a160361336f5761336a308d8d84612110565b613428565b6000896001600160a01b031663b2a02ff18e8e856040518463ffffffff1660e01b81526004016133a193929190613f21565b6020604051808303816000875af11580156133c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133e49190613d2c565b146134285760405162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015260640161083a565b604080516001600160a01b038e811682528d811660208301528183018890528b1660608201526080810183905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a1505050505050505050505050565b6011546040516370a0823160e01b81523060048201526000916001600160a01b0316908190839082906370a0823190602401602060405180830381865afa1580156134de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135029190613d2c565b6040516323b872dd60e01b81529091506001600160a01b038316906323b872dd9061353590899030908a90600401613f21565b600060405180830381600087803b15801561354f57600080fd5b505af1158015613563573d6000803e3d6000fd5b5050505060003d6000811461357f576020811461358957600080fd5b6000199150613595565b60206000803e60005191505b50806135e35760405162461bcd60e51b815260206004820152601860248201527f544f4b454e5f5452414e534645525f494e5f4641494c45440000000000000000604482015260640161083a565b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a0823190602401602060405180830381865afa15801561362a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061364e9190613d2c565b905061365a8382613d90565b98975050505050505050565b6000610b9e8284613d90565b6000610b9e61368984670de0b6b3a7640000612ddc565b83516137a7565b6060600061369d846137b3565b9050600080866001600160a01b0316856136b85760006136ba565b345b846040516136c89190613f69565b60006040518083038185875af1925050503d8060008114613705576040519150601f19603f3d011682016040523d82523d6000602084013e61370a565b606091505b50915091506137198282613842565b979650505050505050565b60606000613731836137b3565b9050600080856001600160a01b03168360405161374e9190613f69565b600060405180830381855afa9150503d8060008114613789576040519150601f19603f3d011682016040523d82523d6000602084013e61378e565b606091505b509150915061379d8282613842565b9695505050505050565b6000610b9e8284613ede565b805160609060006137c26138bf565b905060006137d08284613d7d565b9050368211156137f357604051632bcb7bc560e11b815260040160405180910390fd5b6060604051905081815285602001848101826020015b81831015613821578251815260209283019201613809565b50505082833603856020018301379190920181016020016040529392505050565b6060826138b957815160000361386b57604051632b3ff13d60e11b815260040160405180910390fd5b602082015162461bcd60e51b14801561389e576040516301efd04f60e31b8152604484019061083a90829060040161397a565b8260405163fd36fde360e01b815260040161083a919061397a565b50919050565b6000806138ca611c3d565b905060006138d782611ce4565b61ffff1690506138e8600283613d7d565b915060005b8181101561392257600061390084611d1e565b905061390c8185613d7d565b935050808061391a90613da3565b9150506138ed565b509092915050565b60005b8381101561394557818101518382015260200161392d565b50506000910152565b6000815180845261396681602086016020860161392a565b601f01601f19169290920160200192915050565b602081526000610b9e602083018461394e565b6001600160a01b03811681146139a257600080fd5b50565b600080604083850312156139b857600080fd5b82356139c38161398d565b946020939093013593505050565b6000602082840312156139e357600080fd5b5035919050565b6000602082840312156139fc57600080fd5b8135610b9e8161398d565b634e487b7160e01b600052604160045260246000fd5b600082601f830112613a2e57600080fd5b813567ffffffffffffffff80821115613a4957613a49613a07565b604051601f8301601f19908116603f01168101908282118183101715613a7157613a71613a07565b81604052838152866020858801011115613a8a57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803560ff81168114613abb57600080fd5b919050565b600080600080600080600060e0888a031215613adb57600080fd5b8735613ae68161398d565b96506020880135613af68161398d565b95506040880135613b068161398d565b945060608801359350608088013567ffffffffffffffff80821115613b2a57600080fd5b613b368b838c01613a1d565b945060a08a0135915080821115613b4c57600080fd5b50613b598a828b01613a1d565b925050613b6860c08901613aaa565b905092959891949750929550565b600080600060608486031215613b8b57600080fd5b8335613b968161398d565b92506020840135613ba68161398d565b929592945050506040919091013590565b60008060008060008060c08789031215613bd057600080fd5b8635613bdb8161398d565b95506020870135613beb8161398d565b945060408701359350606087013567ffffffffffffffff80821115613c0f57600080fd5b613c1b8a838b01613a1d565b94506080890135915080821115613c3157600080fd5b50613c3e89828a01613a1d565b925050613c4d60a08801613aaa565b90509295509295509295565b60008060408385031215613c6c57600080fd5b8235613c778161398d565b91506020830135613c878161398d565b809150509250929050565b600080600060608486031215613ca757600080fd5b8335613cb28161398d565b9250602084013591506040840135613cc98161398d565b809150509250925092565b600181811c90821680613ce857607f821691505b6020821081036138b957634e487b7160e01b600052602260045260246000fd5b6020808252600a90820152691c994b595b9d195c995960b21b604082015260600190565b600060208284031215613d3e57600080fd5b5051919050565b600060208284031215613d5757600080fd5b81518015158114610b9e57600080fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107fe576107fe613d67565b818103818111156107fe576107fe613d67565b600060018201613db557613db5613d67565b5060010190565b601f821115613e0257600081815260208120601f850160051c81016020861015613de35750805b601f850160051c820191505b81811015610af257828155600101613def565b505050565b815167ffffffffffffffff811115613e2157613e21613a07565b613e3581613e2f8454613cd4565b84613dbc565b602080601f831160018114613e6a5760008415613e525750858301515b600019600386901b1c1916600185901b178555610af2565b600085815260208120601f198616915b82811015613e9957888601518255948401946001909101908401613e7a565b5085821015613eb75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820281158282048414176107fe576107fe613d67565b600082613efb57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60008060408385031215613f5857600080fd5b505080516020909101519092909150565b60008251613f7b81846020870161392a565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220c5433a877091e6936ffb0b6094f3db5ecba7c1a60e6875ef3c261bdf63e56dfe64736f6c63430008120033

Deployed Bytecode Sourcemap

103032:10415:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11879:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56365:246;;;;;;:::i;:::-;;:::i;:::-;;;1391:14:1;;1384:22;1366:41;;1354:2;1339:18;56365:246:0;1226:187:1;106578:149:0;;;;;;:::i;:::-;;:::i;:::-;;;1749:25:1;;;1737:2;1722:18;106578:149:0;1603:177:1;13102:33:0;;;;;;60084:174;;;;;;:::i;:::-;;:::i;13747:23::-;;;;;;62231:120;;;:::i;103591:799::-;;;;;;:::i;:::-;;:::i;:::-;;108175:371;;;;;;:::i;:::-;;:::i;55694:192::-;;;;;;:::i;:::-;;:::i;107054:189::-;;;;;;:::i;:::-;;:::i;12552:35::-;;;;;-1:-1:-1;;;;;12552:35:0;;;;;;-1:-1:-1;;;;;5140:32:1;;;5122:51;;5110:2;5095:18;12552:35:0;4960:219:1;12075:21:0;;;;;;;;;;;;5356:4:1;5344:17;;;5326:36;;5314:2;5299:18;12075:21:0;5184:184:1;57660:232:0;;;;;;:::i;:::-;;:::i;63551:97::-;;;:::i;108780:128::-;;;;;;:::i;:::-;;:::i;92167:693::-;;;;;;:::i;:::-;;:::i;13511:24::-;;;;;;40434:1448;;;:::i;12678:39::-;;;;;-1:-1:-1;;;;;12678:39:0;;;97164:280;;;;;;:::i;:::-;;:::i;14642:56::-;;14692:6;14642:56;;8299:33;;8331:1;8299:33;;13225:30;;;;;;19601:25;;;;;-1:-1:-1;;;;;19601:25:0;;;57283:121;;;;;;:::i;:::-;-1:-1:-1;;;;;57376:20:0;57349:7;57376:20;;;:13;:20;;;;;;;57283:121;59651:142;;;:::i;113224:220::-;;;;;;:::i;:::-;;:::i;105761:161::-;;;;;;:::i;:::-;;:::i;13641:25::-;;;;;;11975:20;;;:::i;60467:144::-;;;;;;:::i;:::-;;:::i;51377:1505::-;;;;;;:::i;:::-;;:::i;104780:133::-;;;;;;:::i;:::-;;:::i;63896:2570::-;;;:::i;55205:182::-;;;;;;:::i;:::-;;:::i;13376:23::-;;;;;;59312:193;;;:::i;87162:224::-;;;;;;:::i;:::-;;:::i;90354:604::-;;;;;;:::i;:::-;;:::i;61833:148::-;;;:::i;58238:292::-;;;;;;:::i;:::-;;:::i;:::-;;;;7606:25:1;;;7662:2;7647:18;;7640:34;;;;7690:18;;;7683:34;7748:2;7733:18;;7726:34;7593:3;7578:19;58238:292:0;7375:391:1;106190:141:0;;;;;;:::i;:::-;;:::i;105264:::-;;;;;;:::i;:::-;;:::i;56941:152::-;;;;;;:::i;:::-;-1:-1:-1;;;;;57051:25:0;;;57024:7;57051:25;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;;56941:152;91236:706;;;:::i;99477:321::-;;;;;;:::i;:::-;;:::i;12819:42::-;;;;;-1:-1:-1;;;;;12819:42:0;;;107725:237;;;;;;:::i;:::-;;:::i;12441:28::-;;;;;;;;-1:-1:-1;;;;;12441:28:0;;;58966:170;;;:::i;93163:307::-;;;;;;:::i;:::-;;:::i;14863:36::-;;14895:4;14863:36;;11879:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;56365:246::-;56473:10;56442:4;56494:23;;;:18;:23;;;;;;;;-1:-1:-1;;;;;56494:32:0;;;;;;;;;;:41;;;56551:30;56442:4;;56473:10;;;56551:30;;;;56529:6;1749:25:1;;1737:2;1722:18;;1603:177;56551:30:0;;;;;;;;56599:4;56592:11;;;56365:246;;;;;:::o;106578:149::-;106644:4;106661:32;106681:11;106661:19;:32::i;:::-;-1:-1:-1;8331:1:0;;106578:149;-1:-1:-1;106578:149:0:o;60084:174::-;60171:4;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;;;;;;;;;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;60188:16:::1;:14;:16::i;:::-;;60222:28;60242:7;60222:19;:28::i;:::-;60215:35;;102699:11:::0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;60084:174;;-1:-1:-1;60084:174:0:o;62231:120::-;62291:4;62315:28;:26;:28::i;:::-;62308:35;;62231:120;:::o;103591:799::-;104036:5;:27;;-1:-1:-1;;;;;;104036:27:0;104052:10;104036:27;;;;;104140:107;104157:12;104171:18;104191:28;104221:5;104228:7;104237:9;104140:16;:107::i;:::-;104307:10;:24;;-1:-1:-1;;;;;;104307:24:0;-1:-1:-1;;;;;104307:24:0;;;;;;;;104342:40;;;-1:-1:-1;;;104342:40:0;;;;:38;;:40;;;;;;;;;;;;;;;104307:24;104342:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;103591:799;;;;;;;:::o;108175:371::-;108279:5;;;;;-1:-1:-1;;;;;108279:5:0;108265:10;:19;108257:79;;;;-1:-1:-1;;;108257:79:0;;10273:2:1;108257:79:0;;;10255:21:1;10312:2;10292:18;;;10285:30;10351:34;10331:18;;;10324:62;-1:-1:-1;;;10402:18:1;;;10395:45;10457:19;;108257:79:0;10071:411:1;108257:79:0;108373:10;;-1:-1:-1;;;;;108373:10:0;;;108355:28;;;;108347:91;;;;-1:-1:-1;;;108347:91:0;;10689:2:1;108347:91:0;;;10671:21:1;10728:2;10708:18;;;10701:30;10767:34;10747:18;;;10740:62;-1:-1:-1;;;10818:18:1;;;10811:48;10876:19;;108347:91:0;10487:414:1;108347:91:0;108467:30;;-1:-1:-1;;;108467:30:0;;108491:4;108467:30;;;5122:51:1;108449:15:0;;-1:-1:-1;;;;;108467:15:0;;;;;5095:18:1;;108467:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;108523:5;;108508:30;;-1:-1:-1;;;108508:30:0;;-1:-1:-1;;;;;108523:5:0;;;;;;108508:30;;;11088:51:1;11155:18;;;11148:34;;;;;-1:-1:-1;108508:14:0;;;;;11061:18:1;;108508:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108246:300;108175:371;:::o;55694:192::-;55798:4;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;55822:44:::1;55837:10;55849:3:::0;55854;55859:6;55822:14:::1;:44::i;:::-;:56;55815:63;;102699:11:::0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;55694:192;;-1:-1:-1;;;55694:192:0:o;107054:189::-;107144:4;107161:48;107187:8;107197:11;107161:25;:48::i;:::-;-1:-1:-1;8331:1:0;107054:189;;;;:::o;57660:232::-;57731:4;57748:23;57774:38;;;;;;;;57789:21;:19;:21::i;:::-;57774:38;;-1:-1:-1;;;;;57863:20:0;;;;;;:13;:20;;;;;;57748:64;;-1:-1:-1;57830:54:0;;57748:64;;57830:18;:54::i;:::-;57823:61;57660:232;-1:-1:-1;;;57660:232:0:o;63551:97::-;63602:4;63626:14;:12;:14::i;108780:128::-;108845:4;108869:31;108890:9;108869:20;:31::i;92167:693::-;92323:5;;92254:4;;92323:5;;;-1:-1:-1;;;;;92323:5:0;92309:10;:19;92305:85;;92352:26;;-1:-1:-1;;;92352:26:0;;;;;;;;;;;92305:85;92440:11;;92537:30;;;-1:-1:-1;;;92537:30:0;;;;-1:-1:-1;;;;;92440:11:0;;;;92537:28;;;;;:30;;;;;;;;;;;;;;:28;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;92529:71;;;;-1:-1:-1;;;92529:71:0;;11677:2:1;92529:71:0;;;11659:21:1;11716:2;11696:18;;;11689:30;11755;11735:18;;;11728:58;11803:18;;92529:71:0;11475:352:1;92529:71:0;92668:11;:28;;-1:-1:-1;;;;;;92668:28:0;-1:-1:-1;;;;;92668:28:0;;;;;;;;;92778:46;;;12118:15:1;;;12100:34;;12165:2;12150:18;;12143:43;;;;92778:46:0;;12035:18:1;92778:46:0;;;;;;;;-1:-1:-1;8331:1:0;;92167:693;-1:-1:-1;;92167:693:0:o;40434:1448::-;40504:26;40539:30;40572:36;:34;:36::i;:::-;40539:69;;40615:25;40643:61;40681:22;40643:37;:61::i;:::-;40615:89;;;;40717:17;40738:1;40717:22;40713:98;;40757:46;;-1:-1:-1;;;40757:46:0;;;;;;;;;;;40713:98;40819:48;31842:1;40819:48;;:::i;:::-;;;40879:24;40874:1003;40928:17;40909:16;:36;40874:1003;;;40976:27;41006:47;41030:22;41006:23;:47::i;:::-;40976:77;-1:-1:-1;41124:27:0;;41237:88;32494:3;41237:22;:88;:::i;:::-;41202:124;-1:-1:-1;41335:23:0;41361:41;41202:124;41361:8;:41;:::i;:::-;41335:67;;41468:15;41455:29;41431:53;;41507:20;:25;;41531:1;41507:25;41503:94;;41552:35;;-1:-1:-1;;;41552:35:0;;;;;;;;;;;41503:94;41611:18;41633:1;41611:23;41607:207;;41668:20;41647:41;;;;41607:207;;;41732:18;41708:20;:42;;;41704:110;;41770:34;;-1:-1:-1;;;41770:34:0;;;;;;;;;;;41704:110;41824:45;41850:19;41824:45;;:::i;:::-;;;40967:910;;;;40947:18;;;;;:::i;:::-;;;;40874:1003;;;;40532:1350;;40434:1448;:::o;97164:280::-;97248:4;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;97265:16:::1;:14;:16::i;:::-;;97402:34;97423:12;97402:20;:34::i;59651:142::-:0;59722:4;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;59739:16:::1;:14;:16::i;:::-;-1:-1:-1::0;;59773:12:0::1;::::0;102699:11;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;59651:142;:::o;113224:220::-;113322:5;;;;;-1:-1:-1;;;;;113322:5:0;113308:10;:19;113300:77;;;;-1:-1:-1;;;113300:77:0;;12934:2:1;113300:77:0;;;12916:21:1;12973:2;12953:18;;;12946:30;13012:34;12992:18;;;12985:62;-1:-1:-1;;;13063:18:1;;;13056:43;13116:19;;113300:77:0;12732:409:1;113300:77:0;113397:10;;113388:48;;-1:-1:-1;;;113388:48:0;;-1:-1:-1;;;;;5140:32:1;;;113388:48:0;;;5122:51:1;113397:10:0;;;;113388:29;;5095:18:1;;113388:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;113224:220;:::o;105761:161::-;105833:4;105850:38;105875:12;105850:24;:38::i;11975:20::-;;;;;;;:::i;60467:144::-;60543:4;60567:36;60595:7;60567:27;:36::i;51377:1505::-;51731:5;;;;;-1:-1:-1;;;;;51731:5:0;51717:10;:19;51709:68;;;;-1:-1:-1;;;51709:68:0;;13348:2:1;51709:68:0;;;13330:21:1;13387:2;13367:18;;;13360:30;13426:34;13406:18;;;13399:62;-1:-1:-1;;;13477:18:1;;;13470:34;13521:19;;51709:68:0;13146:400:1;51709:68:0;51796:18;;:23;:43;;;;-1:-1:-1;51823:11:0;;:16;51796:43;51788:91;;;;-1:-1:-1;;;51788:91:0;;13753:2:1;51788:91:0;;;13735:21:1;13792:2;13772:18;;;13765:30;13831:34;13811:18;;;13804:62;-1:-1:-1;;;13882:18:1;;;13875:33;13925:19;;51788:91:0;13551:399:1;51788:91:0;51930:27;:58;;;52007:31;51999:92;;;;-1:-1:-1;;;51999:92:0;;14157:2:1;51999:92:0;;;14139:21:1;14196:2;14176:18;;;14169:30;14235:34;14215:18;;;14208:62;-1:-1:-1;;;14286:18:1;;;14279:46;14342:19;;51999:92:0;13955:412:1;51999:92:0;52136:8;52147:29;52163:12;52147:15;:29::i;:::-;52136:40;-1:-1:-1;52195:15:0;;52187:54;;;;-1:-1:-1;;;52187:54:0;;14574:2:1;52187:54:0;;;14556:21:1;14613:2;14593:18;;;14586:30;14652:28;14632:18;;;14625:56;14698:18;;52187:54:0;14372:350:1;52187:54:0;58770:12;52360:18;:37;25211:4;52408:11;:25;52533:46;52560:18;52533:26;:46::i;:::-;52527:52;-1:-1:-1;52598:15:0;;52590:62;;;;-1:-1:-1;;;52590:62:0;;14929:2:1;52590:62:0;;;14911:21:1;14968:2;14948:18;;;14941:30;15007:34;14987:18;;;14980:62;-1:-1:-1;;;15058:18:1;;;15051:32;15100:19;;52590:62:0;14727:398:1;52590:62:0;52665:4;:12;52672:5;52665:4;:12;:::i;:::-;-1:-1:-1;52688:6:0;:16;52697:7;52688:6;:16;:::i;:::-;-1:-1:-1;;52715:8:0;:20;;;;;;-1:-1:-1;;52715:20:0;;;;;;:8;52856:18;;;;;52715:20;52856:18;;;-1:-1:-1;;;;;51377:1505:0:o;104780:133::-;104838:4;104855:24;104868:10;104855:12;:24::i;63896:2570::-;64105:18;;63955:4;;58770:12;;64193:45;;;64189:93;;8331:1;64255:15;;;;63896:2570;:::o;64189:93::-;64349:14;64366;:12;:14::i;:::-;64411:12;;64455:13;;64503:11;;64611:17;;:71;;-1:-1:-1;;;64611:71:0;;;;;17536:25:1;;;17577:18;;;17570:34;;;17620:18;;;17613:34;;;64349:31:0;;-1:-1:-1;64411:12:0;;64455:13;;64503:11;;64391:17;;-1:-1:-1;;;;;64611:17:0;;:31;;17509:18:1;;64611:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64585:97;;12222:9;64701:18;:43;;64693:84;;;;-1:-1:-1;;;64693:84:0;;17860:2:1;64693:84:0;;;17842:21:1;17899:2;17879:18;;;17872:30;17938;17918:18;;;17911:58;17986:18;;64693:84:0;17658:352:1;64693:84:0;64867:15;64885:44;64906:23;64885:18;:44;:::i;:::-;64867:62;;65421:31;65455:53;65460:35;;;;;;;;65475:18;65460:35;;;65497:10;65455:4;:53::i;:::-;65421:87;;65519:24;65546:54;65565:20;65587:12;65546:18;:54::i;:::-;65519:81;-1:-1:-1;65611:20:0;65634:34;65656:12;65519:81;65634:34;:::i;:::-;65611:57;;65679:21;65703:101;65729:38;;;;;;;;65744:21;;65729:38;;;65769:19;65790:13;65703:25;:101::i;:::-;65679:125;;65815:19;65837:83;65863:20;65885:16;65903;65837:25;:83::i;:::-;66124:18;:39;;;66174:11;:28;;;66213:12;:30;;;66254:13;:32;;;66351:79;;;7606:25:1;;;7662:2;7647:18;;7640:34;;;7690:18;;;7683:34;;;7748:2;7733:18;;7726:34;;;66174:28:0;;-1:-1:-1;66351:79:0;;7593:3:1;7578:19;66351:79:0;;;;;;;8331:1;66443:15;;;;;;;;;;;;;;;63896:2570;:::o;55205:182::-;55292:4;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;55316:51:::1;55331:10;::::0;55355:3;55360:6;55316:14:::1;:51::i;:::-;:63;55309:70;;102699:11:::0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;55205:182;;-1:-1:-1;;55205:182:0:o;59312:193::-;59398:17;;59374:4;;-1:-1:-1;;;;;59398:17:0;:31;59430:14;:12;:14::i;:::-;59446:12;;59460:13;;59475:21;;59398:99;;-1:-1:-1;;;;;;59398:99:0;;;;;;;;;;7606:25:1;;;;7647:18;;;7640:34;;;;7690:18;;;7683:34;7733:18;;;7726:34;7578:19;;59398:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;87162:224::-;87273:4;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;87290:60:::1;87304:10;87316::::0;87328:8;87338:11;87290:13:::1;:60::i;:::-;-1:-1:-1::0;8331:1:0::1;102699:11:::0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;87162:224;;-1:-1:-1;;;87162:224:0:o;90354:604::-;90508:5;;90440:4;;90508:5;;;-1:-1:-1;;;;;90508:5:0;90494:10;:19;90490:86;;90537:27;;-1:-1:-1;;;90537:27:0;;;;;;;;;;;90490:86;90675:12;;;-1:-1:-1;;;;;90758:30:0;;;-1:-1:-1;;;;;;90758:30:0;;;;;;;90873:49;;;90675:12;;;;12100:34:1;;;12165:2;12150:18;;12143:43;;;;90873:49:0;;12035:18:1;90873:49:0;11832:360:1;61833:148:0;61902:4;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;61919:16:::1;:14;:16::i;:::-;;61953:20;:18;:20::i;:::-;61946:27;;102699:11:::0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;61833:148;:::o;58238:292::-;-1:-1:-1;;;;;58395:22:0;;58315:4;58395:22;;;:13;:22;;;;;;58315:4;;;;;;;;58432:36;58409:7;58432:27;:36::i;:::-;58483:28;:26;:28::i;:::-;58350:172;;;;;;;;58238:292;;;;;:::o;106190:141::-;106252:4;106269:28;106284:12;106269:14;:28::i;105264:141::-;105326:4;105343:28;105358:12;105343:14;:28::i;91236:706::-;91393:12;;91287:4;;-1:-1:-1;;;;;91393:12:0;91379:10;:26;;;:54;;-1:-1:-1;91409:10:0;:24;91379:54;91375:124;;;91457:30;;-1:-1:-1;;;91457:30:0;;;;;;;;;;;91375:124;91583:5;;;91625:12;;;-1:-1:-1;;;;;91625:12:0;;;91583:5;91698:20;;;-1:-1:-1;;;;;;91698:20:0;;;;;;;-1:-1:-1;;;;;;91767:34:0;;;;;;91819:25;;;91583:5;;;;;;12100:34:1;;;91838:5:0;;;;;12165:2:1;12150:18;;12143:43;91583:5:0;91625:12;;91819:25;;12035:18:1;91819:25:0;;;;;;;91893:12;;91860:46;;;-1:-1:-1;;;;;12118:15:1;;;12100:34;;91893:12:0;;;12165:2:1;12150:18;;12143:43;91860:46:0;;12035:18:1;91860:46:0;;;;;;;8331:1;91919:15;;;;91236:706;:::o;99477:321::-;99573:4;99590:16;:14;:16::i;:::-;;99742:48;99769:20;99742:26;:48::i;107725:237::-;107847:4;107864:64;107888:8;107898:11;107911:16;107864:23;:64::i;:::-;-1:-1:-1;8331:1:0;107725:237;;;;;:::o;58966:170::-;59052:17;;59028:4;;-1:-1:-1;;;;;59052:17:0;:31;59084:14;:12;:14::i;:::-;59100:12;;59114:13;;59052:76;;-1:-1:-1;;;;;;59052:76:0;;;;;;;;;;17536:25:1;;;;17577:18;;;17570:34;;;;17620:18;;;17613:34;17509:18;;59052:76:0;17334:319:1;93163:307:0;93261:4;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;93278:16:::1;:14;:16::i;:::-;;93414:48;93437:24;93414:22;:48::i;77950:261::-:0;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;78030:16:::1;:14;:16::i;:::-;;78150:53;78167:10;78179;78191:11;78150:16;:53::i;:::-;-1:-1:-1::0;;102699:11:0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;77950:261::o;62601:780::-;62707:11;;62670:4;;62733:17;;;62729:645;;-1:-1:-1;;62906:27:0;;;62601:780::o;62729:645::-;63115:14;63132;:12;:14::i;:::-;63115:31;;63161:33;63224:13;;63209:12;;63197:9;:24;;;;:::i;:::-;:40;;;;:::i;:::-;63161:76;-1:-1:-1;63252:17:0;63314:12;63272:39;25211:4;63161:76;63272:39;:::i;:::-;:54;;;;:::i;:::-;63252:74;62601:780;-1:-1:-1;;;;;62601:780:0:o;53348:1596::-;53522:11;;:60;;-1:-1:-1;;;53522:60:0;;53558:4;53522:60;;;18996:34:1;-1:-1:-1;;;;;19066:15:1;;;19046:18;;;19039:43;19118:15;;;19098:18;;;19091:43;19150:18;;;19143:34;;;53446:4:0;;;;53522:11;;;:27;;18930:19:1;;53522:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53507:75;-1:-1:-1;53597:12:0;;53593:89;;53633:37;;-1:-1:-1;;;53633:37:0;;;;;1749:25:1;;;1722:18;;53633:37:0;1603:177:1;53593:89:0;53748:3;-1:-1:-1;;;;;53741:10:0;:3;-1:-1:-1;;;;;53741:10:0;;53737:70;;53775:20;;-1:-1:-1;;;53775:20:0;;;;;;;;;;;53737:70;53884:22;53936:3;-1:-1:-1;;;;;53925:14:0;:7;-1:-1:-1;;;;;53925:14:0;;53921:166;;-1:-1:-1;;;53921:166:0;;;-1:-1:-1;;;;;;54043:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;;53921:166;54165:17;54185:26;54205:6;54185:17;:26;:::i;:::-;-1:-1:-1;;;;;54242:18:0;;54222:17;54242:18;;;:13;:18;;;;;;54165:46;;-1:-1:-1;54222:17:0;54242:27;;54263:6;;54242:27;:::i;:::-;-1:-1:-1;;;;;54300:18:0;;54280:17;54300:18;;;:13;:18;;;;;;54222:47;;-1:-1:-1;54280:17:0;54300:27;;54321:6;;54300:27;:::i;:::-;-1:-1:-1;;;;;54461:18:0;;;;;;;:13;:18;;;;;;:33;;;54505:18;;;;;;:33;;;54280:47;-1:-1:-1;;;54611:35:0;;54607:115;;-1:-1:-1;;;;;54663:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;:47;;;54607:115;54793:3;-1:-1:-1;;;;;54779:26:0;54788:3;-1:-1:-1;;;;;54779:26:0;-1:-1:-1;;;;;;;;;;;54798:6:0;54779:26;;;;1749:25:1;;1737:2;1722:18;;1603:177;54779:26:0;;;;;;;;-1:-1:-1;8331:1:0;;53348:1596;-1:-1:-1;;;;;;;;;53348:1596:0:o;78450:283::-;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;78554:16:::1;:14;:16::i;:::-;;78674:51;78691:10;78703:8;78713:11;78674:16;:51::i;:::-;-1:-1:-1::0;;102699:11:0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;-1:-1:-1;78450:283:0:o;25933:174::-;26011:4;26028:18;26049:15;26054:1;26057:6;26049:4;:15::i;:::-;26028:36;;26082:17;26091:7;26082:8;:17::i;:::-;26075:24;25933:174;-1:-1:-1;;;;25933:174:0:o;109176:186::-;109295:10;;109324:30;;-1:-1:-1;;;109324:30:0;;109348:4;109324:30;;;5122:51:1;109240:4:0;;-1:-1:-1;;;;;109295:10:0;;;;109324:15;;5095:18:1;;109324:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;109317:37;;;109176:186;:::o;94832:284::-;94909:4;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;94926:16:::1;:14;:16::i;:::-;;95054:28;95072:9;95054:17;:28::i;:::-;;;8331:1;95093:15;;102699:11:::0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;94832:284;;-1:-1:-1;94832:284:0:o;42296:1200::-;42365:7;42677:20;-1:-1:-1;;42540:14:0;42536:37;42523:51;42652:46;;42608:99;;42720:83;;42765:30;;-1:-1:-1;;;42765:30:0;;;;;;;;;;;42720:83;42888:31;42973:8;32956:2;42930:58;42926:113;;;43006:25;;-1:-1:-1;;;43006:25:0;;;;;;;;;;;42926:113;-1:-1:-1;;;43118:14:0;43114:61;43091:93;43197:30;32198:1;43230:64;32145:1;43230:64;;;;:::i;:::-;:92;;;;:::i;:::-;43197:125;-1:-1:-1;43383:8:0;43333:47;31842:1;43197:125;43333:47;:::i;:::-;:65;43329:126;;;43416:31;;-1:-1:-1;;;43416:31:0;;;;;;;;;;;43581:540;43698:24;;43783:41;31227:2;43783:22;:41;:::i;:::-;43734:90;-1:-1:-1;43876:8:0;43835:56;;43831:111;;;43909:25;;-1:-1:-1;;;43909:25:0;;;;;;;;;;;43831:111;44014:14;44010:59;43987:91;;43581:540;-1:-1:-1;;43581:540:0:o;41888:402::-;41976:7;42001:23;42033:34;42077:63;42117:22;42077:39;:63::i;:::-;41992:148;;-1:-1:-1;41992:148:0;-1:-1:-1;32650:2:0;42189:49;41992:148;32016:2;42189:49;:::i;:::-;42163:76;;:15;:76;:::i;:::-;:121;;;;:::i;97721:1387::-;97932:5;;97788:4;;;;97932:5;;;-1:-1:-1;;;;;97932:5:0;97918:10;:19;97914:85;;97961:26;;-1:-1:-1;;;97961:26:0;;;;;;;;;;;97914:85;58770:12;98103:18;;:38;98099:104;;98165:26;;-1:-1:-1;;;98165:26:0;;;;;;;;;;;98099:104;98309:12;98292:14;:12;:14::i;:::-;:29;98288:101;;;98345:32;;-1:-1:-1;;;98345:32:0;;;;;;;;;;;98288:101;98481:13;;98466:12;:28;98462:98;;;98518:30;;-1:-1:-1;;;98518:30:0;;;;;;;;;;;98462:98;98728:12;98712:13;;:28;;;;:::i;:::-;98814:13;:32;;;98980:5;;98814:32;;-1:-1:-1;98966:34:0;;98980:5;;;-1:-1:-1;;;;;98980:5:0;98987:12;98966:13;:34::i;:::-;99018:54;99034:5;;;;;;;;;-1:-1:-1;;;;;99034:5:0;99041:12;99055:16;99018:54;;;;;;;;:::i;70333:252::-;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;70419:16:::1;:14;:16::i;:::-;;70528:49;70548:10;70561:1;70564:12;70528:11;:49::i;:::-;-1:-1:-1::0;102699:11:0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;70333:252::o;60865:813::-;-1:-1:-1;;;;;61048:23:0;;60942:4;61048:23;;;:14;:23;;;;;61277:24;;:29;;61273:70;;-1:-1:-1;61330:1:0;;60865:813;-1:-1:-1;;60865:813:0:o;61273:70::-;61591:11;;61564:24;;61537;;61564:38;;;:::i;:::-;61537:65;;61642:14;:28;;;61620:19;:50;;;;:::i;100128:1201::-;100428:5;;100222:4;;;;100428:5;;;-1:-1:-1;;;;;100428:5:0;100414:10;:19;100410:91;;100457:32;;-1:-1:-1;;;100457:32:0;;;;;;;;;;;100410:91;58770:12;100605:18;;:38;100601:110;;100667:32;;-1:-1:-1;;;100667:32:0;;;;;;;;;;;100601:110;100805:17;;;;;;;;;-1:-1:-1;;;;;100805:17:0;100782:40;;100925:20;-1:-1:-1;;;;;100925:40:0;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;100917:83;;;;-1:-1:-1;;;100917:83:0;;11677:2:1;100917:83:0;;;11659:21:1;11716:2;11696:18;;;11689:30;11755;11735:18;;;11728:58;11803:18;;100917:83:0;11475:352:1;100917:83:0;101077:17;:40;;-1:-1:-1;;;;;;101077:40:0;-1:-1:-1;;;;;101077:40:0;;;;;;;;;101223:70;;;12118:15:1;;;12100:34;;12165:2;12150:18;;12143:43;;;;101223:70:0;;12035:18:1;101223:70:0;11832:360:1;66736:244:0;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;66808:16:::1;:14;:16::i;:::-;;66939:33;66949:10;66961;66939:9;:33::i;28668:133::-:0;-1:-1:-1;;;;;;;;;;;;28757:36:0;;;;;;;;28772:19;28777:1;:10;;;28789:1;28772:4;:19::i;:::-;28757:36;;28750:43;28668:133;-1:-1:-1;;;28668:133:0:o;26252:208::-;26350:4;26367:18;26388:15;26393:1;26396:6;26388:4;:15::i;:::-;26367:36;;26421:31;26426:17;26435:7;26426:8;:17::i;:::-;26445:6;26421:4;:31::i;87973:1932::-;88149:11;;:87;;-1:-1:-1;;;88149:87:0;;88182:4;88149:87;;;20202:34:1;-1:-1:-1;;;;;20272:15:1;;;20252:18;;;20245:43;20324:15;;;20304:18;;;20297:43;20376:15;;;20356:18;;;20349:43;20408:19;;;20401:35;;;88134:12:0;;88149:11;;:24;;20136:19:1;;88149:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;88134:102;-1:-1:-1;88251:12:0;;88247:95;;88287:43;;-1:-1:-1;;;88287:43:0;;;;;1749:25:1;;;1722:18;;88287:43:0;1603:177:1;88247:95:0;88415:10;-1:-1:-1;;;;;88403:22:0;:8;-1:-1:-1;;;;;88403:22:0;;88399:98;;88449:36;;-1:-1:-1;;;88449:36:0;;;;;;;;;;;88399:98;88784:24;88811:62;88816:11;88829:43;;;;;;;;14692:6;88829:43;;;88811:4;:62::i;:::-;88784:89;-1:-1:-1;88884:26:0;88913:33;88784:89;88913:11;:33;:::i;:::-;88884:62;;88957:23;88983:45;;;;;;;;88998:28;:26;:28::i;:::-;88983:45;;88957:71;-1:-1:-1;89039:24:0;89066:53;88957:71;89099:19;89066:18;:53::i;:::-;89039:80;;89130:21;89170:19;89154:13;;:35;;;;:::i;:::-;89384:13;:32;;;89441:11;;89130:59;;-1:-1:-1;89441:33:0;;89455:19;;89441:33;:::i;:::-;89427:11;:47;-1:-1:-1;;;;;89511:23:0;;;;;;:13;:23;;;;;;:37;;89537:11;;89511:37;:::i;:::-;-1:-1:-1;;;;;89485:23:0;;;;;;;:13;:23;;;;;;:63;;;;89587:25;;;;;;;:49;;89615:21;;89587:49;:::i;:::-;-1:-1:-1;;;;;89559:25:0;;;;;;;:13;:25;;;;;;;:77;;;;89691:53;;;;;;-1:-1:-1;;;;;;;;;;;89691:53:0;;;89722:21;1749:25:1;;1737:2;1722:18;;1603:177;89691:53:0;;;;;;;;89760:54;;1749:25:1;;;89787:4:0;;-1:-1:-1;;;;;89760:54:0;;;-1:-1:-1;;;;;;;;;;;89760:54:0;1737:2:1;1722:18;89760:54:0;;;;;;;89830:67;89852:4;89859:19;89880:16;89830:67;;;;;;;;:::i;:::-;;;;;;;;88082:1823;;;;;;87973:1932;;;;:::o;74778:239::-;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;74854:16:::1;:14;:16::i;:::-;;74963:46;74983:10;74996:12;74963:11;:46::i;69799:242::-:0;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;69875:16:::1;:14;:16::i;:::-;;69984:49;70004:10;70017:12;70031:1;69984:11;:49::i;81834:633::-:0;102620:11;;;;102612:34;;;;-1:-1:-1;;;102612:34:0;;;;;;;:::i;:::-;102671:5;102657:19;;-1:-1:-1;;102657:19:0;;;81970:16:::1;:14;:16::i;:::-;;81999:10;82012:16;-1:-1:-1::0;;;;;82012:31:0::1;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;81999:46:::0;-1:-1:-1;82060:17:0;;82056:227:::1;;82225:46;::::0;-1:-1:-1;;;82225:46:0;;::::1;::::0;::::1;1749:25:1::0;;;1722:18;;82225:46:0::1;1603:177:1::0;82056:227:0::1;82386:73;82407:10;82419:8;82429:11;82442:16;82386:20;:73::i;:::-;-1:-1:-1::0;;102699:11:0;:18;;-1:-1:-1;;102699:18:0;102713:4;102699:18;;;-1:-1:-1;;81834:633:0:o;93738:838::-;93888:5;;93819:4;;93888:5;;;-1:-1:-1;;;;;93888:5:0;93874:10;:19;93870:87;;93917:28;;-1:-1:-1;;;93917:28:0;;;;;;;;;;;93870:87;58770:12;94042:18;;:38;94038:106;;94104:28;;-1:-1:-1;;;94104:28:0;;;;;;;;;;;94038:106;12362:4;94214:24;:51;94210:120;;;94289:29;;-1:-1:-1;;;94289:29:0;;;;;;;;;;;94210:120;94374:21;;;94406:48;;;;94472:68;;;20971:25:1;;;21027:2;21012:18;;21005:34;;;94472:68:0;;20944:18:1;94472:68:0;20797:248:1;79121:2319:0;79295:11;;:75;;-1:-1:-1;;;79295:75:0;;79334:4;79295:75;;;18996:34:1;-1:-1:-1;;;;;19066:15:1;;;19046:18;;;19039:43;19118:15;;;19098:18;;;19091:43;19150:18;;;19143:34;;;79216:4:0;;;;79295:11;;;:30;;18930:19:1;;79295:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79280:90;-1:-1:-1;79385:12:0;;79381:92;;79421:40;;-1:-1:-1;;;79421:40:0;;;;;1749:25:1;;;1722:18;;79421:40:0;1603:177:1;79381:92:0;58770:12;79561:18;;:38;79557:105;;79623:27;;-1:-1:-1;;;79623:27:0;;;;;;;;;;;79557:105;79754:23;79780:37;79808:8;79780:27;:37::i;:::-;79754:63;;79896:21;-1:-1:-1;;79920:11:0;:29;:64;;79973:11;79920:64;;;79952:18;79920:64;79896:88;;80558:22;80583:37;80596:5;80603:16;80583:12;:37::i;:::-;80558:62;-1:-1:-1;80881:22:0;80906:38;80558:62;80906:18;:38;:::i;:::-;80881:63;;80955:20;80993:17;80978:12;;:32;;;;:::i;:::-;-1:-1:-1;;;;;81093:24:0;;;;;;;:14;:24;;;;;;;;;:54;;;81199:11;;81158:38;;;;:52;81221:12;:30;;;81312:83;;21365:15:1;;;21347:34;;21397:18;;21390:43;;;;21449:18;;21442:34;;;21507:2;21492:18;;21485:34;;;21550:3;21535:19;;21528:35;;;81221:30:0;;-1:-1:-1;81312:83:0;;21296:3:1;21281:19;81312:83:0;;;;;;;-1:-1:-1;81415:17:0;;79121:2319;-1:-1:-1;;;;;;;;79121:2319:0:o;25607:213::-;25789:12;;25664:4;;25789:23;;25211:4;;25789:23;:::i;95456:1453::-;95517:4;;;;58770:12;95741:18;;:38;95737:122;;95803:44;;-1:-1:-1;;;95803:44:0;;;;;1749:25:1;;;1722:18;;95803:44:0;1603:177:1;95737:122:0;96448:35;96461:10;96473:9;96448:12;:35::i;:::-;96430:53;;96531:15;96515:13;;:31;;;;:::i;:::-;96496:50;;96639:16;96623:13;:32;;;;96744:60;96758:10;96770:15;96787:16;96744:60;;;;;;;;:::i;:::-;;;;;;;;8331:1;;96885:15;;-1:-1:-1;95456:1453:0;-1:-1:-1;;;95456:1453:0:o;44948:1053::-;45081:23;;;;;45440:45;31737:2;45440:36;:45;:::i;:::-;45407:78;-1:-1:-1;45492:22:0;45517:62;45537:41;31227:2;45407:78;45537:41;:::i;:::-;45517:8;;:19;:62::i;:::-;45624:28;;;-1:-1:-1;45492:87:0;-1:-1:-1;45727:40:0;45492:87;31897:1;45727:18;:40::i;:::-;45898:34;;;;;;45823:28;;45939:56;;;-1:-1:-1;45898:34:0;;-1:-1:-1;;;;;44948:1053:0:o;112055:930::-;112208:10;;112230:26;;-1:-1:-1;;;112230:26:0;;-1:-1:-1;;;;;11106:32:1;;;112230:26:0;;;11088:51:1;11155:18;;;11148:34;;;112208:10:0;;;;;;112230:14;;11061:18:1;;112230:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112269:12;112323:16;112362:1;112357:152;;;;112532:2;112527:228;;;;112890:1;112887;112880:12;112357:152;-1:-1:-1;;112452:6:0;-1:-1:-1;112357:152:0;;112527:228;112629:2;112626:1;112623;112608:24;112671:1;112665:8;112654:19;;112316:595;;112940:7;112932:45;;;;-1:-1:-1;;;112932:45:0;;21776:2:1;112932:45:0;;;21758:21:1;21815:2;21795:18;;;21788:30;21854:27;21834:18;;;21827:55;21899:18;;112932:45:0;21574:349:1;112932:45:0;112137:848;;112055:930;;:::o;71145:3454::-;71262:19;;;:42;;-1:-1:-1;71285:19:0;;71262:42;71254:107;;;;-1:-1:-1;;;71254:107:0;;22130:2:1;71254:107:0;;;22112:21:1;22169:2;22149:18;;;22142:30;22208:34;22188:18;;;22181:62;-1:-1:-1;;;22259:18:1;;;22252:50;22319:19;;71254:107:0;21928:416:1;71254:107:0;71434:23;71460:46;;;;;;;;71475:28;:26;:28::i;:::-;71460:46;;71434:72;-1:-1:-1;71519:17:0;;71617:18;;71613:757;;71908:14;71893:29;;71952:48;71971:12;71985:14;71952:18;:48::i;:::-;71937:63;;71613:757;;;72280:34;72285:14;72301:12;72280:4;:34::i;:::-;72265:49;;72344:14;72329:29;;71613:757;72544:28;72612:43;;;72678:4;72699:8;72723:12;72575:171;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;72575:171:0;;;;;;;;;;;;;;-1:-1:-1;;;;;72575:171:0;-1:-1:-1;;;;;;72575:171:0;;;;;;;;;;72824:11;;72575:171;;-1:-1:-1;;;72788:108:0;;-1:-1:-1;;;;;72824:11:0;72575:171;72824:11;72788:13;:108::i;:::-;72759:137;;72909:12;72935:13;72924:36;;;;;;;;;;;;:::i;:::-;72909:51;-1:-1:-1;72975:12:0;;72971:87;;73011:35;;-1:-1:-1;;;73011:35:0;;;;;1749:25:1;;;1722:18;;73011:35:0;1603:177:1;72971:87:0;58770:12;73146:18;;:38;73142:100;;73208:22;;-1:-1:-1;;;73208:22:0;;;;;;;;;;;73142:100;73340:12;73323:14;:12;:14::i;:::-;:29;73319:99;;;73376:30;;-1:-1:-1;;;73376:30:0;;;;;;;;;;;73319:99;73776:12;73762:11;;:26;;;;:::i;:::-;73748:11;:40;-1:-1:-1;;;;;73825:23:0;;;;;;:13;:23;;;;;;:38;;73851:12;;73825:38;:::i;:::-;-1:-1:-1;;;;;73799:23:0;;;;;;:13;:23;;;;;:64;74239:37;73813:8;74263:12;74239:13;:37::i;:::-;74354:47;;1749:25:1;;;74381:4:0;;-1:-1:-1;;;;;74354:47:0;;;-1:-1:-1;;;;;;;;;;;74354:47:0;1737:2:1;1722:18;74354:47:0;;;;;;;74417:44;74424:8;74434:12;74448;74417:44;;;;;;;;:::i;:::-;;;;;;;;74514:11;;:77;;-1:-1:-1;;;74514:77:0;;74547:4;74514:77;;;23022:34:1;-1:-1:-1;;;;;23092:15:1;;;23072:18;;;23065:43;23124:18;;;23117:34;;;23167:18;;;23160:34;;;74514:11:0;;;;:24;;22956:19:1;;74514:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71243:3356;;;;;;71145:3454;;;:::o;67321:2215::-;67448:11;;:58;;-1:-1:-1;;;67448:58:0;;67433:12;;-1:-1:-1;;;;;67448:11:0;;:23;;:58;;67480:4;;67487:6;;67495:10;;67448:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67433:73;-1:-1:-1;67521:12:0;;67517:85;;67557:33;;-1:-1:-1;;;67557:33:0;;;;;1749:25:1;;;1722:18;;67557:33:0;1603:177:1;67517:85:0;58770:12;67690:18;;:38;67686:98;;67752:20;;-1:-1:-1;;;67752:20:0;;;;;;;;;;;67686:98;67796:23;67822:45;;;;;;;;67837:28;:26;:28::i;:::-;67822:45;;67796:71;-1:-1:-1;68476:21:0;68500:32;68513:6;68521:10;68500:12;:32::i;:::-;68476:56;;68725:15;68743:36;68748:16;68766:12;68743:4;:36::i;:::-;68725:54;;69113:10;69099:11;;:24;;;;:::i;:::-;69085:11;:38;-1:-1:-1;;;;;69158:21:0;;;;;;:13;:21;;;;;;:34;;69182:10;;69158:34;:::i;:::-;-1:-1:-1;;;;;69134:21:0;;;;;;:13;:21;;;;;;;:58;;;;69268:42;;;;;69148:6;;69281:16;;69299:10;;69268:42;:::i;:::-;;;;;;;;69326:43;;1749:25:1;;;-1:-1:-1;;;;;69326:43:0;;;69343:4;;-1:-1:-1;;;;;;;;;;;69326:43:0;1737:2:1;1722:18;69326:43:0;;;;;;;67382:2154;;;;67321:2215;;:::o;29405:90::-;29458:4;29482:5;29486:1;29482;:5;:::i;27981:90::-;28034:4;28058:5;28062:1;28058;:5;:::i;28809:121::-;28868:4;25211;28892:19;28897:1;28900;:10;;;28892:4;:19::i;:::-;:30;;;;:::i;75194:2597::-;75442:28;75510:43;;;75576:4;75597:8;75621:12;75473:171;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;75473:171:0;;;;;;;;;;;;;;-1:-1:-1;;;;;75473:171:0;-1:-1:-1;;;;;;75473:171:0;;;;;;;;;;75722:11;;75473:171;;-1:-1:-1;;;75686:108:0;;-1:-1:-1;;;;;75722:11:0;75473:171;75722:11;75686:13;:108::i;:::-;75657:137;;75807:12;75833:13;75822:36;;;;;;;;;;;;:::i;:::-;75807:51;-1:-1:-1;75875:12:0;;75871:87;;75911:35;;-1:-1:-1;;;75911:35:0;;;;;1749:25:1;;;1722:18;;75911:35:0;1603:177:1;75871:87:0;58770:12;76046:18;;:38;76042:100;;76108:22;;-1:-1:-1;;;76108:22:0;;;;;;;;;;;76042:100;76251:12;76234:14;:12;:14::i;:::-;:29;76230:93;;;76287:24;;-1:-1:-1;;;76287:24:0;;;;;;;;;;;76230:93;76570:23;76596:37;76624:8;76596:27;:37::i;:::-;76570:63;-1:-1:-1;76644:22:0;76669:33;76690:12;76570:63;76669:33;:::i;:::-;76644:58;;76713:20;76751:12;76736;;:27;;;;:::i;:::-;-1:-1:-1;;;;;77094:24:0;;;;;;:14;:24;;;;;:54;;;77200:11;;77159:38;;;;:52;77222:12;:30;;;76713:50;-1:-1:-1;77624:37:0;77109:8;77648:12;77624:13;:37::i;:::-;77717:66;;;-1:-1:-1;;;;;23842:32:1;;23824:51;;23906:2;23891:18;;23884:34;;;23934:18;;;23927:34;;;23992:2;23977:18;;23970:34;;;77717:66:0;;23811:3:1;23796:19;77717:66:0;;;;;;;75269:2522;;;;;;75194:2597;;:::o;82946:3655::-;83329:244;;;83441:4;83329:244;;;20202:34:1;-1:-1:-1;;;;;20272:15:1;;;20252:18;;;20245:43;20324:15;;;20304:18;;;20297:43;20376:15;;;20356:18;;;20349:43;20408:19;;;;20401:35;;;83329:244:0;;;;;;;;;;20136:19:1;;;;83329:244:0;;;;;;;;-1:-1:-1;;;;;83329:244:0;-1:-1:-1;;;83329:244:0;;;83651:11;;83329:244;;-1:-1:-1;;83615:108:0;;83651:11;83329:244;83651:11;83615:13;:108::i;:::-;83586:137;;83736:12;83762:13;83751:33;;;;;;;;;;;;:::i;:::-;83736:48;-1:-1:-1;83801:12:0;;83797:90;;83837:38;;-1:-1:-1;;;83837:38:0;;;;;1749:25:1;;;1722:18;;83837:38:0;1603:177:1;83797:90:0;58770:12;83975:18;;:38;83971:103;;84037:25;;-1:-1:-1;;;84037:25:0;;;;;;;;;;;83971:103;58770:12;84179:16;-1:-1:-1;;;;;84179:35:0;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;84175:132;;84260:35;;-1:-1:-1;;;84260:35:0;;;;;;;;;;;84175:132;84380:10;-1:-1:-1;;;;;84368:22:0;:8;-1:-1:-1;;;;;84368:22:0;;84364:93;;84414:31;;-1:-1:-1;;;84414:31:0;;;;;;;;;;;84364:93;84512:11;84527:1;84512:16;84508:84;;84552:28;;-1:-1:-1;;;84552:28:0;;;;;;;;;;;84508:84;-1:-1:-1;;84648:11:0;:29;84644:100;;84701:31;;-1:-1:-1;;;84701:31:0;;;;;;;;;;;84644:100;84797:22;84822:51;84839:10;84851:8;84861:11;84822:16;:51::i;:::-;84797:76;;85275:29;85344:59;;;85426:4;85455:16;85488:17;85307:209;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;85307:209:0;;;;;;;;;;;;;;-1:-1:-1;;;;;85307:209:0;-1:-1:-1;;;;;;85307:209:0;;;;;;;;;;85599:11;;85307:209;;-1:-1:-1;;;85559:94:0;;-1:-1:-1;;;;;85599:11:0;85307:209;85559:17;:94::i;:::-;85529:124;;85667:21;85690:16;85721:14;85710:40;;;;;;;;;;;;:::i;:::-;85666:84;;;;8331:1;85773:16;:28;85765:92;;;;-1:-1:-1;;;85765:92:0;;24467:2:1;85765:92:0;;;24449:21:1;24506:2;24486:18;;;24479:30;24545:34;24525:18;;;24518:62;-1:-1:-1;;;24596:18:1;;;24589:49;24655:19;;85765:92:0;24265:415:1;85765:92:0;85951:36;;-1:-1:-1;;;85951:36:0;;-1:-1:-1;;;;;5140:32:1;;;85951:36:0;;;5122:51:1;85991:11:0;;85951:26;;;;;;5095:18:1;;85951:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;;85943:88;;;;-1:-1:-1;;;85943:88:0;;24887:2:1;85943:88:0;;;24869:21:1;24926:2;24906:18;;;24899:30;24965:26;24945:18;;;24938:54;25009:18;;85943:88:0;24685:348:1;85943:88:0;86201:4;-1:-1:-1;;;;;86164:42:0;;;86160:273;;86223:63;86245:4;86252:10;86264:8;86274:11;86223:13;:63::i;:::-;86160:273;;;8331:1;86327:16;-1:-1:-1;;;;;86327:22:0;;86350:10;86362:8;86372:11;86327:57;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:69;86319:102;;;;-1:-1:-1;;;86319:102:0;;25240:2:1;86319:102:0;;;25222:21:1;25279:2;25259:18;;;25252:30;-1:-1:-1;;;25298:18:1;;;25291:50;25358:18;;86319:102:0;25038:344:1;86319:102:0;86497:96;;;-1:-1:-1;;;;;25702:15:1;;;25684:34;;25754:15;;;25749:2;25734:18;;25727:43;25786:18;;;25779:34;;;25849:15;;25844:2;25829:18;;25822:43;25896:3;25881:19;;25874:35;;;86497:96:0;;;;;;;25633:3:1;86497:96:0;;;83075:3526;;;;;;;;82946:3655;;;;:::o;109979:1372::-;110137:10;;110262:52;;-1:-1:-1;;;110262:52:0;;110308:4;110262:52;;;5122:51:1;110063:4:0;;-1:-1:-1;;;;;110137:10:0;;;;110063:4;;110137:10;;110262:37;;5095:18:1;;110262:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;110325:47;;-1:-1:-1;;;110325:47:0;;110241:73;;-1:-1:-1;;;;;;110325:18:0;;;;;:47;;110344:4;;110358;;110365:6;;110325:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110385:12;110439:16;110478:1;110473:153;;;;110649:2;110644:229;;;;111009:1;111006;110999:12;110473:153;-1:-1:-1;;110569:6:0;-1:-1:-1;110473:153:0;;110644:229;110747:2;110744:1;110741;110726:24;110789:1;110783:8;110772:19;;110432:598;;111059:7;111051:44;;;;-1:-1:-1;;;111051:44:0;;26122:2:1;111051:44:0;;;26104:21:1;26161:2;26141:18;;;26134:30;26200:26;26180:18;;;26173:54;26244:18;;111051:44:0;25920:348:1;111051:44:0;111193:52;;-1:-1:-1;;;111193:52:0;;111239:4;111193:52;;;5122:51:1;111173:17:0;;-1:-1:-1;;;;;111193:37:0;;;;;5095:18:1;;111193:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;111173:72;-1:-1:-1;111263:28:0;111278:13;111173:72;111263:28;:::i;:::-;111256:35;109979:1372;-1:-1:-1;;;;;;;;109979:1372:0:o;36160:98::-;36218:7;36245:5;36249:1;36245;:5;:::i;29816:126::-;29875:4;29899:35;29904:17;29909:1;25211:4;29904;:17::i;:::-;29923:10;;29899:4;:35::i;46374:389::-;46509:12;46530:20;46553:32;46569:15;46553;:32::i;:::-;46530:55;;46595:12;46609:19;46639:15;-1:-1:-1;;;;;46639:20:0;46667:12;:28;;46694:1;46667:28;;;46682:9;46667:28;46697:7;46639:66;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46594:111;;;;46721:36;46741:7;46750:6;46721:19;:36::i;:::-;46714:43;46374:389;-1:-1:-1;;;;;;;46374:389:0:o;47106:335::-;47226:12;47250:20;47273:32;47289:15;47273;:32::i;:::-;47250:55;;47313:12;47327:19;47350:15;-1:-1:-1;;;;;47350:26:0;47377:7;47350:35;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47312:73;;;;47399:36;47419:7;47428:6;47399:19;:36::i;:::-;47392:43;47106:335;-1:-1:-1;;;;;;47106:335:0:o;30427:90::-;30480:4;30504:5;30508:1;30504;:5;:::i;47447:1738::-;47581:22;;47524:12;;47545:33;47644:29;:27;:29::i;:::-;47610:63;-1:-1:-1;47680:29:0;47712:51;47610:63;47712:25;:51;:::i;:::-;47680:83;-1:-1:-1;47802:8:0;47776:41;;47772:96;;;47835:25;;-1:-1:-1;;;47835:25:0;;;;;;;;;;;47772:96;47876:20;47940:15;47934:22;47923:33;;48114:21;48105:7;48098:38;48244:15;48222:20;48218:42;48295:25;48289:4;48285:36;48367:7;48345:20;48341:34;48191:431;48395:7;48389:4;48385:18;48191:431;;;48601:11;;48590:23;;48433:16;48423:27;;;;48466:25;48191:431;;;48195:189;;;48864:23;48819;48803:14;48799:44;48750:25;48728:20;48724:52;48715:7;48711:66;48688:232;49041:55;;;;49028:69;;49110:20;49012:129;48986:15;48969:181;49032:7;47447:1738;-1:-1:-1;;;47447:1738:0:o;49785:859::-;49887:12;49916:7;49911:706;;49940:6;:13;49957:1;49940:18;49936:674;;49978:34;;-1:-1:-1;;;49978:34:0;;;;;;;;;;;49936:674;50143:20;50131:33;;50125:40;-1:-1:-1;;;50201:49:0;50273:328;;;;50457:52;;-1:-1:-1;;;50457:52:0;;50407:17;50395:30;;;50457:52;;50395:30;;50457:52;;;:::i;50273:328::-;50582:6;50547:42;;-1:-1:-1;;;50547:42:0;;;;;;;;:::i;49936:674::-;-1:-1:-1;50632:6:0;49785:859;-1:-1:-1;49785:859:0:o;49191:588::-;49252:7;49268:30;49301:36;:34;:36::i;:::-;49268:69;;49344:25;49372:61;49410:22;49372:37;:61::i;:::-;49344:89;;;-1:-1:-1;49440:48:0;31842:1;49440:48;;:::i;:::-;;;49500:24;49495:241;49549:17;49530:16;:36;49495:241;;;49597:27;49627:47;49651:22;49627:23;:47::i;:::-;49597:77;-1:-1:-1;49683:45:0;49597:77;49683:45;;:::i;:::-;;;49588:148;49568:18;;;;;:::i;:::-;;;;49495:241;;;-1:-1:-1;49751:22:0;;49191:588;-1:-1:-1;;49191:588:0:o;14:250:1:-;99:1;109:113;123:6;120:1;117:13;109:113;;;199:11;;;193:18;180:11;;;173:39;145:2;138:10;109:113;;;-1:-1:-1;;256:1:1;238:16;;231:27;14:250::o;269:271::-;311:3;349:5;343:12;376:6;371:3;364:19;392:76;461:6;454:4;449:3;445:14;438:4;431:5;427:16;392:76;:::i;:::-;522:2;501:15;-1:-1:-1;;497:29:1;488:39;;;;529:4;484:50;;269:271;-1:-1:-1;;269:271:1:o;545:220::-;694:2;683:9;676:21;657:4;714:45;755:2;744:9;740:18;732:6;714:45;:::i;770:131::-;-1:-1:-1;;;;;845:31:1;;835:42;;825:70;;891:1;888;881:12;825:70;770:131;:::o;906:315::-;974:6;982;1035:2;1023:9;1014:7;1010:23;1006:32;1003:52;;;1051:1;1048;1041:12;1003:52;1090:9;1077:23;1109:31;1134:5;1109:31;:::i;:::-;1159:5;1211:2;1196:18;;;;1183:32;;-1:-1:-1;;;906:315:1:o;1418:180::-;1477:6;1530:2;1518:9;1509:7;1505:23;1501:32;1498:52;;;1546:1;1543;1536:12;1498:52;-1:-1:-1;1569:23:1;;1418:180;-1:-1:-1;1418:180:1:o;1785:247::-;1844:6;1897:2;1885:9;1876:7;1872:23;1868:32;1865:52;;;1913:1;1910;1903:12;1865:52;1952:9;1939:23;1971:31;1996:5;1971:31;:::i;2037:127::-;2098:10;2093:3;2089:20;2086:1;2079:31;2129:4;2126:1;2119:15;2153:4;2150:1;2143:15;2169:719;2212:5;2265:3;2258:4;2250:6;2246:17;2242:27;2232:55;;2283:1;2280;2273:12;2232:55;2319:6;2306:20;2345:18;2382:2;2378;2375:10;2372:36;;;2388:18;;:::i;:::-;2463:2;2457:9;2431:2;2517:13;;-1:-1:-1;;2513:22:1;;;2537:2;2509:31;2505:40;2493:53;;;2561:18;;;2581:22;;;2558:46;2555:72;;;2607:18;;:::i;:::-;2647:10;2643:2;2636:22;2682:2;2674:6;2667:18;2728:3;2721:4;2716:2;2708:6;2704:15;2700:26;2697:35;2694:55;;;2745:1;2742;2735:12;2694:55;2809:2;2802:4;2794:6;2790:17;2783:4;2775:6;2771:17;2758:54;2856:1;2849:4;2844:2;2836:6;2832:15;2828:26;2821:37;2876:6;2867:15;;;;;;2169:719;;;;:::o;2893:156::-;2959:20;;3019:4;3008:16;;2998:27;;2988:55;;3039:1;3036;3029:12;2988:55;2893:156;;;:::o;3054:1155::-;3238:6;3246;3254;3262;3270;3278;3286;3339:3;3327:9;3318:7;3314:23;3310:33;3307:53;;;3356:1;3353;3346:12;3307:53;3395:9;3382:23;3414:31;3439:5;3414:31;:::i;:::-;3464:5;-1:-1:-1;3521:2:1;3506:18;;3493:32;3534:33;3493:32;3534:33;:::i;:::-;3586:7;-1:-1:-1;3645:2:1;3630:18;;3617:32;3658:33;3617:32;3658:33;:::i;:::-;3710:7;-1:-1:-1;3764:2:1;3749:18;;3736:32;;-1:-1:-1;3819:3:1;3804:19;;3791:33;3843:18;3873:14;;;3870:34;;;3900:1;3897;3890:12;3870:34;3923:50;3965:7;3956:6;3945:9;3941:22;3923:50;:::i;:::-;3913:60;;4026:3;4015:9;4011:19;3998:33;3982:49;;4056:2;4046:8;4043:16;4040:36;;;4072:1;4069;4062:12;4040:36;;4095:52;4139:7;4128:8;4117:9;4113:24;4095:52;:::i;:::-;4085:62;;;4166:37;4198:3;4187:9;4183:19;4166:37;:::i;:::-;4156:47;;3054:1155;;;;;;;;;;:::o;4499:456::-;4576:6;4584;4592;4645:2;4633:9;4624:7;4620:23;4616:32;4613:52;;;4661:1;4658;4651:12;4613:52;4700:9;4687:23;4719:31;4744:5;4719:31;:::i;:::-;4769:5;-1:-1:-1;4826:2:1;4811:18;;4798:32;4839:33;4798:32;4839:33;:::i;:::-;4499:456;;4891:7;;-1:-1:-1;;;4945:2:1;4930:18;;;;4917:32;;4499:456::o;6097:1013::-;6272:6;6280;6288;6296;6304;6312;6365:3;6353:9;6344:7;6340:23;6336:33;6333:53;;;6382:1;6379;6372:12;6333:53;6421:9;6408:23;6440:31;6465:5;6440:31;:::i;:::-;6490:5;-1:-1:-1;6547:2:1;6532:18;;6519:32;6560:33;6519:32;6560:33;:::i;:::-;6612:7;-1:-1:-1;6666:2:1;6651:18;;6638:32;;-1:-1:-1;6721:2:1;6706:18;;6693:32;6744:18;6774:14;;;6771:34;;;6801:1;6798;6791:12;6771:34;6824:50;6866:7;6857:6;6846:9;6842:22;6824:50;:::i;:::-;6814:60;;6927:3;6916:9;6912:19;6899:33;6883:49;;6957:2;6947:8;6944:16;6941:36;;;6973:1;6970;6963:12;6941:36;;6996:52;7040:7;7029:8;7018:9;7014:24;6996:52;:::i;:::-;6986:62;;;7067:37;7099:3;7088:9;7084:19;7067:37;:::i;:::-;7057:47;;6097:1013;;;;;;;;:::o;7771:388::-;7839:6;7847;7900:2;7888:9;7879:7;7875:23;7871:32;7868:52;;;7916:1;7913;7906:12;7868:52;7955:9;7942:23;7974:31;7999:5;7974:31;:::i;:::-;8024:5;-1:-1:-1;8081:2:1;8066:18;;8053:32;8094:33;8053:32;8094:33;:::i;:::-;8146:7;8136:17;;;7771:388;;;;;:::o;8674:479::-;8774:6;8782;8790;8843:2;8831:9;8822:7;8818:23;8814:32;8811:52;;;8859:1;8856;8849:12;8811:52;8898:9;8885:23;8917:31;8942:5;8917:31;:::i;:::-;8967:5;-1:-1:-1;9019:2:1;9004:18;;8991:32;;-1:-1:-1;9075:2:1;9060:18;;9047:32;9088:33;9047:32;9088:33;:::i;:::-;9140:7;9130:17;;;8674:479;;;;;:::o;9158:380::-;9237:1;9233:12;;;;9280;;;9301:61;;9355:4;9347:6;9343:17;9333:27;;9301:61;9408:2;9400:6;9397:14;9377:18;9374:38;9371:161;;9454:10;9449:3;9445:20;9442:1;9435:31;9489:4;9486:1;9479:15;9517:4;9514:1;9507:15;9543:334;9745:2;9727:21;;;9784:2;9764:18;;;9757:30;-1:-1:-1;;;9818:2:1;9803:18;;9796:40;9868:2;9853:18;;9543:334::o;9882:184::-;9952:6;10005:2;9993:9;9984:7;9980:23;9976:32;9973:52;;;10021:1;10018;10011:12;9973:52;-1:-1:-1;10044:16:1;;9882:184;-1:-1:-1;9882:184:1:o;11193:277::-;11260:6;11313:2;11301:9;11292:7;11288:23;11284:32;11281:52;;;11329:1;11326;11319:12;11281:52;11361:9;11355:16;11414:5;11407:13;11400:21;11393:5;11390:32;11380:60;;11436:1;11433;11426:12;12197:127;12258:10;12253:3;12249:20;12246:1;12239:31;12289:4;12286:1;12279:15;12313:4;12310:1;12303:15;12329:125;12394:9;;;12415:10;;;12412:36;;;12428:18;;:::i;12459:128::-;12526:9;;;12547:11;;;12544:37;;;12561:18;;:::i;12592:135::-;12631:3;12652:17;;;12649:43;;12672:18;;:::i;:::-;-1:-1:-1;12719:1:1;12708:13;;12592:135::o;15256:545::-;15358:2;15353:3;15350:11;15347:448;;;15394:1;15419:5;15415:2;15408:17;15464:4;15460:2;15450:19;15534:2;15522:10;15518:19;15515:1;15511:27;15505:4;15501:38;15570:4;15558:10;15555:20;15552:47;;;-1:-1:-1;15593:4:1;15552:47;15648:2;15643:3;15639:12;15636:1;15632:20;15626:4;15622:31;15612:41;;15703:82;15721:2;15714:5;15711:13;15703:82;;;15766:17;;;15747:1;15736:13;15703:82;;15347:448;15256:545;;;:::o;15977:1352::-;16103:3;16097:10;16130:18;16122:6;16119:30;16116:56;;;16152:18;;:::i;:::-;16181:97;16271:6;16231:38;16263:4;16257:11;16231:38;:::i;:::-;16225:4;16181:97;:::i;:::-;16333:4;;16397:2;16386:14;;16414:1;16409:663;;;;17116:1;17133:6;17130:89;;;-1:-1:-1;17185:19:1;;;17179:26;17130:89;-1:-1:-1;;15934:1:1;15930:11;;;15926:24;15922:29;15912:40;15958:1;15954:11;;;15909:57;17232:81;;16379:944;;16409:663;15203:1;15196:14;;;15240:4;15227:18;;-1:-1:-1;;16445:20:1;;;16563:236;16577:7;16574:1;16571:14;16563:236;;;16666:19;;;16660:26;16645:42;;16758:27;;;;16726:1;16714:14;;;;16593:19;;16563:236;;;16567:3;16827:6;16818:7;16815:19;16812:201;;;16888:19;;;16882:26;-1:-1:-1;;16971:1:1;16967:14;;;16983:3;16963:24;16959:37;16955:42;16940:58;16925:74;;16812:201;-1:-1:-1;;;;;17059:1:1;17043:14;;;17039:22;17026:36;;-1:-1:-1;15977:1352:1:o;18332:168::-;18405:9;;;18436;;18453:15;;;18447:22;;18433:37;18423:71;;18474:18;;:::i;18505:217::-;18545:1;18571;18561:132;;18615:10;18610:3;18606:20;18603:1;18596:31;18650:4;18647:1;18640:15;18678:4;18675:1;18668:15;18561:132;-1:-1:-1;18707:9:1;;18505:217::o;19188:353::-;-1:-1:-1;;;;;19416:32:1;;;;19398:51;;19480:2;19465:18;;19458:34;;;;19523:2;19508:18;;19501:34;19386:2;19371:18;;19188:353::o;22349:391::-;-1:-1:-1;;;;;22623:15:1;;;22605:34;;22675:15;;;;22670:2;22655:18;;22648:43;22722:2;22707:18;;22700:34;;;;22555:2;22540:18;;22349:391::o;24015:245::-;24094:6;24102;24155:2;24143:9;24134:7;24130:23;24126:32;24123:52;;;24171:1;24168;24161:12;24123:52;-1:-1:-1;;24194:16:1;;24250:2;24235:18;;;24229:25;24194:16;;24229:25;;-1:-1:-1;24015:245:1:o;26273:287::-;26402:3;26440:6;26434:13;26456:66;26515:6;26510:3;26503:4;26495:6;26491:17;26456:66;:::i;:::-;26538:16;;;;;26273:287;-1:-1:-1;;26273:287:1:o

Swarm Source

ipfs://c5433a877091e6936ffb0b6094f3db5ecba7c1a60e6875ef3c261bdf63e56dfe
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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