Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
29,104.68860932 zZILD
Holders
112
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
18,499.4358 zZILDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
ZErc20
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-18 */ // File: contracts/ComptrollerInterface.sol pragma solidity 0.5.17; 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) external returns (uint[] memory); function exitMarket(address cToken) external returns (uint); /*** Policy Hooks ***/ function mintAllowed(address cToken, address minter, uint mintAmount) external returns (uint); function mintVerify(address cToken, address minter, uint mintAmount, uint mintTokens) external; function redeemAllowed(address cToken, address redeemer, uint redeemTokens) external returns (uint); function redeemVerify(address cToken, address redeemer, uint redeemAmount, uint redeemTokens) external; function borrowAllowed(address cToken, address borrower, uint borrowAmount) external returns (uint); function borrowVerify(address cToken, address borrower, uint borrowAmount) external; function repayBorrowAllowed( address cToken, address payer, address borrower, uint repayAmount) external returns (uint); function repayBorrowVerify( address cToken, address payer, address borrower, uint repayAmount, uint borrowerIndex) external; function liquidateBorrowAllowed( address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint repayAmount) external returns (uint); function liquidateBorrowVerify( address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint repayAmount, uint seizeTokens) external; function seizeAllowed( address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint seizeTokens) external returns (uint); function seizeVerify( address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint seizeTokens) external; function transferAllowed(address cToken, address src, address dst, uint transferTokens) external returns (uint); function transferVerify(address cToken, address src, address dst, uint transferTokens) external; /*** Liquidity/Liquidation Calculations ***/ function liquidateCalculateSeizeTokens( address cTokenBorrowed, address cTokenCollateral, uint repayAmount) external view returns (uint, uint); } // File: contracts/InterestRateModel.sol pragma solidity 0.5.17; /** * @title InterestRateModel Interface */ 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 amnount 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) 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 amnount 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) external view returns (uint); } // File: contracts/GTokenInterfaces.sol pragma solidity 0.5.17; contract GTokenStorage { /** * @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; /** * @notice Maximum borrow rate that can ever be applied (.0005% / block) */ uint internal constant borrowRateMaxMantissa = 0.0005e16; /** * @notice 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-gToken operations */ ComptrollerInterface public comptroller; /** * @notice Model which tells what the current interest rate should be */ InterestRateModel public interestRateModel; /** * @notice 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; /** * @notice Official record of token balances for each account */ mapping (address => uint) internal accountTokens; /** * @notice 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; } /** * @notice Mapping of account addresses to outstanding borrow balances */ mapping(address => BorrowSnapshot) internal accountBorrows; } contract GTokenInterface is GTokenStorage { /** * @notice Indicator that this is a GToken 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); /** * @notice Failure event */ event Failure(uint error, uint info, uint detail); /*** User Interface ***/ function transfer(address dst, uint amount) external returns (bool); function transferFrom(address src, address dst, uint amount) external returns (bool); function approve(address spender, uint amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint); function balanceOf(address owner) external view returns (uint); function balanceOfUnderlying(address owner) external returns (uint); function getAccountSnapshot(address account) external view returns (uint, uint, uint, uint); function borrowRatePerBlock() external view returns (uint); function supplyRatePerBlock() external view returns (uint); function totalBorrowsCurrent() external returns (uint); function borrowBalanceCurrent(address account) external returns (uint); function borrowBalanceStored(address account) public view returns (uint); function exchangeRateCurrent() public returns (uint); function exchangeRateStored() public view returns (uint); function getCash() external view returns (uint); function accrueInterest() public returns (uint); function seize(address liquidator, address borrower, uint seizeTokens) external returns (uint); /*** Admin Functions ***/ function _setPendingAdmin(address payable newPendingAdmin) external returns (uint); function _acceptAdmin() external returns (uint); function _setComptroller(ComptrollerInterface newComptroller) public returns (uint); function _setReserveFactor(uint newReserveFactorMantissa) external returns (uint); function _reduceReserves(uint reduceAmount) external returns (uint); function _setInterestRateModel(InterestRateModel newInterestRateModel) public returns (uint); } contract CErc20Interface { /*** User Interface ***/ function mint(uint mintAmount) external returns (uint); function redeem(uint redeemTokens) external returns (uint); function redeemUnderlying(uint redeemAmount) external returns (uint); function borrow(uint borrowAmount) external returns (uint); function repayBorrow(uint repayAmount) external returns (uint); function repayBorrowBehalf(address borrower, uint repayAmount) external returns (uint); function liquidateBorrow(address borrower, uint repayAmount, GTokenInterface cTokenCollateral) external returns (uint); /*** Admin Functions ***/ function _addReserves(uint addAmount) external returns (uint); } contract CDelegationStorage { /** * @notice Implementation address for this contract */ address public implementation; } 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) public; } 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) public; /** * @notice Called by the delegator on a delegate to forfeit its responsibility */ function _resignImplementation() public; } // File: contracts/ErrorReporter.sol pragma solidity 0.5.17; contract ComptrollerErrorReporter { enum Error { NO_ERROR, // 0 UNAUTHORIZED, // 1 COMPTROLLER_MISMATCH, // 2 INSUFFICIENT_SHORTFALL, // 3 INSUFFICIENT_LIQUIDITY, // 4 INVALID_CLOSE_FACTOR, // 5 INVALID_COLLATERAL_FACTOR, // 6 INVALID_LIQUIDATION_INCENTIVE, // 7 MARKET_NOT_ENTERED, // 8 no longer possible MARKET_NOT_LISTED, // 9 MARKET_ALREADY_LISTED, // 10 MATH_ERROR, // 11 NONZERO_BORROW_BALANCE, // 12 PRICE_ERROR, // 13 REJECTION, // 14 SNAPSHOT_ERROR, // 15 TOO_MANY_ASSETS, // 16 TOO_MUCH_REPAY // 17 } enum FailureInfo { ACCEPT_ADMIN_PENDING_ADMIN_CHECK, // 0 ACCEPT_PENDING_IMPLEMENTATION_ADDRESS_CHECK, // 1 EXIT_MARKET_BALANCE_OWED, // 2 EXIT_MARKET_REJECTION, // 3 SET_CLOSE_FACTOR_OWNER_CHECK, // 4 SET_CLOSE_FACTOR_VALIDATION, // 5 SET_COLLATERAL_FACTOR_OWNER_CHECK, // 6 SET_COLLATERAL_FACTOR_NO_EXISTS, // 7 SET_COLLATERAL_FACTOR_VALIDATION, // 8 SET_COLLATERAL_FACTOR_WITHOUT_PRICE, // 9 SET_IMPLEMENTATION_OWNER_CHECK, // 10 SET_LIQUIDATION_INCENTIVE_OWNER_CHECK, // 11 SET_LIQUIDATION_INCENTIVE_VALIDATION, // 12 SET_MAX_ASSETS_OWNER_CHECK, // 13 SET_PENDING_ADMIN_OWNER_CHECK, // 14 SET_PENDING_IMPLEMENTATION_OWNER_CHECK, // 15 SET_PRICE_ORACLE_OWNER_CHECK, // 16 SUPPORT_MARKET_EXISTS, // 17 SUPPORT_MARKET_OWNER_CHECK, // 18 SET_PAUSE_GUARDIAN_OWNER_CHECK // 19 } /** * @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 { enum Error { NO_ERROR, // 0 UNAUTHORIZED, // 1 BAD_INPUT, // 2 COMPTROLLER_REJECTION, // 3 COMPTROLLER_CALCULATION_ERROR, // 4 INTEREST_RATE_MODEL_ERROR, // 5 INVALID_ACCOUNT_PAIR, // 6 INVALID_CLOSE_AMOUNT_REQUESTED, // 7 INVALID_COLLATERAL_FACTOR, // 8 MATH_ERROR, // 9 MARKET_NOT_FRESH, // 10 MARKET_NOT_LISTED, // 11 TOKEN_INSUFFICIENT_ALLOWANCE, // 12 TOKEN_INSUFFICIENT_BALANCE, // 13 TOKEN_INSUFFICIENT_CASH, // 14 TOKEN_TRANSFER_IN_FAILED, // 15 TOKEN_TRANSFER_OUT_FAILED // 16 } /* * Note: FailureInfo (but not Error) is kept in alphabetical order * This is because FailureInfo grows significantly faster, and * the order of Error has some meaning, while the order of FailureInfo * is entirely arbitrary. */ enum FailureInfo { ACCEPT_ADMIN_PENDING_ADMIN_CHECK, // 0 ACCRUE_INTEREST_ACCUMULATED_INTEREST_CALCULATION_FAILED, // 1 ACCRUE_INTEREST_BORROW_RATE_CALCULATION_FAILED, // 2 ACCRUE_INTEREST_NEW_BORROW_INDEX_CALCULATION_FAILED, // 3 ACCRUE_INTEREST_NEW_TOTAL_BORROWS_CALCULATION_FAILED, // 4 ACCRUE_INTEREST_NEW_TOTAL_RESERVES_CALCULATION_FAILED, // 5 ACCRUE_INTEREST_SIMPLE_INTEREST_FACTOR_CALCULATION_FAILED, // 6 BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED, // 7 BORROW_ACCRUE_INTEREST_FAILED, // 8 BORROW_CASH_NOT_AVAILABLE, // 9 BORROW_FRESHNESS_CHECK, // 10 BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED, // 11 BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, // 12 BORROW_MARKET_NOT_LISTED, // 13 BORROW_COMPTROLLER_REJECTION, // 14 LIQUIDATE_ACCRUE_BORROW_INTEREST_FAILED, // 15 LIQUIDATE_ACCRUE_COLLATERAL_INTEREST_FAILED, // 16 LIQUIDATE_COLLATERAL_FRESHNESS_CHECK, // 17 LIQUIDATE_COMPTROLLER_REJECTION, // 18 LIQUIDATE_COMPTROLLER_CALCULATE_AMOUNT_SEIZE_FAILED, // 19 LIQUIDATE_CLOSE_AMOUNT_IS_UINT_MAX, // 20 LIQUIDATE_CLOSE_AMOUNT_IS_ZERO, // 21 LIQUIDATE_FRESHNESS_CHECK, // 22 LIQUIDATE_LIQUIDATOR_IS_BORROWER, // 23 LIQUIDATE_REPAY_BORROW_FRESH_FAILED, // 24 LIQUIDATE_SEIZE_BALANCE_INCREMENT_FAILED, // 25 LIQUIDATE_SEIZE_BALANCE_DECREMENT_FAILED, // 26 LIQUIDATE_SEIZE_COMPTROLLER_REJECTION, // 27 LIQUIDATE_SEIZE_LIQUIDATOR_IS_BORROWER, // 28 LIQUIDATE_SEIZE_TOO_MUCH, // 29 MINT_ACCRUE_INTEREST_FAILED, // 30 MINT_COMPTROLLER_REJECTION, // 31 MINT_EXCHANGE_CALCULATION_FAILED, // 32 MINT_EXCHANGE_RATE_READ_FAILED, // 33 MINT_FRESHNESS_CHECK, // 34 MINT_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, // 35 MINT_NEW_TOTAL_SUPPLY_CALCULATION_FAILED, // 36 MINT_TRANSFER_IN_FAILED, // 37 MINT_TRANSFER_IN_NOT_POSSIBLE, // 38 REDEEM_ACCRUE_INTEREST_FAILED, // 39 REDEEM_COMPTROLLER_REJECTION, // 40 REDEEM_EXCHANGE_TOKENS_CALCULATION_FAILED, // 41 REDEEM_EXCHANGE_AMOUNT_CALCULATION_FAILED, // 42 REDEEM_EXCHANGE_RATE_READ_FAILED, // 42 REDEEM_FRESHNESS_CHECK, // 43 REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, // 44 REDEEM_NEW_TOTAL_SUPPLY_CALCULATION_FAILED, // 45 REDEEM_TRANSFER_OUT_NOT_POSSIBLE, // 46 REDUCE_RESERVES_ACCRUE_INTEREST_FAILED, // 47 REDUCE_RESERVES_ADMIN_CHECK, // 48 REDUCE_RESERVES_CASH_NOT_AVAILABLE, // 49 REDUCE_RESERVES_FRESH_CHECK, // 50 REDUCE_RESERVES_VALIDATION, // 51 REPAY_BEHALF_ACCRUE_INTEREST_FAILED, // 52 REPAY_BORROW_ACCRUE_INTEREST_FAILED, // 53 REPAY_BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED, //54 REPAY_BORROW_COMPTROLLER_REJECTION, // 55 REPAY_BORROW_FRESHNESS_CHECK, // 56 REPAY_BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, //57 REPAY_BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED, // 58 REPAY_BORROW_TRANSFER_IN_NOT_POSSIBLE, // 59 SET_COLLATERAL_FACTOR_OWNER_CHECK, // 60 SET_COLLATERAL_FACTOR_VALIDATION, // 61 SET_COMPTROLLER_OWNER_CHECK, // 62 SET_INTEREST_RATE_MODEL_ACCRUE_INTEREST_FAILED, //63 SET_INTEREST_RATE_MODEL_FRESH_CHECK, // 64 SET_INTEREST_RATE_MODEL_OWNER_CHECK, // 65 SET_MAX_ASSETS_OWNER_CHECK, // 66 SET_ORACLE_MARKET_NOT_LISTED, // 67 SET_PENDING_ADMIN_OWNER_CHECK, // 68 SET_RESERVE_FACTOR_ACCRUE_INTEREST_FAILED, // 69 SET_RESERVE_FACTOR_ADMIN_CHECK, // 70 SET_RESERVE_FACTOR_FRESH_CHECK, // 71 SET_RESERVE_FACTOR_BOUNDS_CHECK, // 72 TRANSFER_COMPTROLLER_REJECTION, // 73 TRANSFER_NOT_ALLOWED, // 74 TRANSFER_NOT_ENOUGH, // 75 TRANSFER_TOO_MUCH, // 76 ADD_RESERVES_ACCRUE_INTEREST_FAILED, // 77 ADD_RESERVES_FRESH_CHECK, // 78 ADD_RESERVES_TRANSFER_IN_NOT_POSSIBLE // 79 } /** * @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); } } // File: contracts/CarefulMath.sol pragma solidity 0.5.17; /** * @title Careful Math * @notice Derived from OpenZeppelin's SafeMath library * https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/math/SafeMath.sol */ contract CarefulMath { /** * @dev Possible error codes that we can return */ enum MathError { NO_ERROR, DIVISION_BY_ZERO, INTEGER_OVERFLOW, INTEGER_UNDERFLOW } /** * @dev Multiplies two numbers, returns an error on overflow. */ function mulUInt(uint a, uint b) internal pure returns (MathError, uint) { if (a == 0) { return (MathError.NO_ERROR, 0); } uint c = a * b; if (c / a != b) { return (MathError.INTEGER_OVERFLOW, 0); } else { return (MathError.NO_ERROR, c); } } /** * @dev Integer division of two numbers, truncating the quotient. */ function divUInt(uint a, uint b) internal pure returns (MathError, uint) { if (b == 0) { return (MathError.DIVISION_BY_ZERO, 0); } return (MathError.NO_ERROR, a / b); } /** * @dev Subtracts two numbers, returns an error on overflow (i.e. if subtrahend is greater than minuend). */ function subUInt(uint a, uint b) internal pure returns (MathError, uint) { if (b <= a) { return (MathError.NO_ERROR, a - b); } else { return (MathError.INTEGER_UNDERFLOW, 0); } } /** * @dev Adds two numbers, returns an error on overflow. */ function addUInt(uint a, uint b) internal pure returns (MathError, uint) { uint c = a + b; if (c >= a) { return (MathError.NO_ERROR, c); } else { return (MathError.INTEGER_OVERFLOW, 0); } } /** * @dev add a and b and then subtract c */ function addThenSubUInt(uint a, uint b, uint c) internal pure returns (MathError, uint) { (MathError err0, uint sum) = addUInt(a, b); if (err0 != MathError.NO_ERROR) { return (err0, 0); } return subUInt(sum, c); } } // File: contracts/Exponential.sol pragma solidity 0.5.17; /** * @title Exponential module for storing fixed-precision decimals * @author Compound * @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 Exponential is CarefulMath { 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 Creates an exponential from numerator and denominator values. * Note: Returns an error if (`num` * 10e18) > MAX_INT, * or if `denom` is zero. */ function getExp(uint num, uint denom) pure internal returns (MathError, Exp memory) { (MathError err0, uint scaledNumerator) = mulUInt(num, expScale); if (err0 != MathError.NO_ERROR) { return (err0, Exp({mantissa: 0})); } (MathError err1, uint rational) = divUInt(scaledNumerator, denom); if (err1 != MathError.NO_ERROR) { return (err1, Exp({mantissa: 0})); } return (MathError.NO_ERROR, Exp({mantissa: rational})); } /** * @dev Adds two exponentials, returning a new exponential. */ function addExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) { (MathError error, uint result) = addUInt(a.mantissa, b.mantissa); return (error, Exp({mantissa: result})); } /** * @dev Subtracts two exponentials, returning a new exponential. */ function subExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) { (MathError error, uint result) = subUInt(a.mantissa, b.mantissa); return (error, Exp({mantissa: result})); } /** * @dev Multiply an Exp by a scalar, returning a new Exp. */ function mulScalar(Exp memory a, uint scalar) pure internal returns (MathError, Exp memory) { (MathError err0, uint scaledMantissa) = mulUInt(a.mantissa, scalar); if (err0 != MathError.NO_ERROR) { return (err0, Exp({mantissa: 0})); } return (MathError.NO_ERROR, Exp({mantissa: scaledMantissa})); } /** * @dev Multiply an Exp by a scalar, then truncate to return an unsigned integer. */ function mulScalarTruncate(Exp memory a, uint scalar) pure internal returns (MathError, uint) { (MathError err, Exp memory product) = mulScalar(a, scalar); if (err != MathError.NO_ERROR) { return (err, 0); } return (MathError.NO_ERROR, truncate(product)); } /** * @dev Multiply an Exp by a scalar, truncate, then add an to an unsigned integer, returning an unsigned integer. */ function mulScalarTruncateAddUInt(Exp memory a, uint scalar, uint addend) pure internal returns (MathError, uint) { (MathError err, Exp memory product) = mulScalar(a, scalar); if (err != MathError.NO_ERROR) { return (err, 0); } return addUInt(truncate(product), addend); } /** * @dev Divide an Exp by a scalar, returning a new Exp. */ function divScalar(Exp memory a, uint scalar) pure internal returns (MathError, Exp memory) { (MathError err0, uint descaledMantissa) = divUInt(a.mantissa, scalar); if (err0 != MathError.NO_ERROR) { return (err0, Exp({mantissa: 0})); } return (MathError.NO_ERROR, Exp({mantissa: descaledMantissa})); } /** * @dev Divide a scalar by an Exp, returning a new Exp. */ function divScalarByExp(uint scalar, Exp memory divisor) pure internal returns (MathError, Exp memory) { /* We are doing this as: getExp(mulUInt(expScale, scalar), divisor.mantissa) How it works: Exp = a / b; Scalar = s; `s / (a / b)` = `b * s / a` and since for an Exp `a = mantissa, b = expScale` */ (MathError err0, uint numerator) = mulUInt(expScale, scalar); if (err0 != MathError.NO_ERROR) { return (err0, Exp({mantissa: 0})); } return getExp(numerator, divisor.mantissa); } /** * @dev Divide a scalar by an Exp, then truncate to return an unsigned integer. */ function divScalarByExpTruncate(uint scalar, Exp memory divisor) pure internal returns (MathError, uint) { (MathError err, Exp memory fraction) = divScalarByExp(scalar, divisor); if (err != MathError.NO_ERROR) { return (err, 0); } return (MathError.NO_ERROR, truncate(fraction)); } /** * @dev Multiplies two exponentials, returning a new exponential. */ function mulExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) { (MathError err0, uint doubleScaledProduct) = mulUInt(a.mantissa, b.mantissa); if (err0 != MathError.NO_ERROR) { return (err0, Exp({mantissa: 0})); } // We add half the scale before dividing so that we get rounding instead of truncation. // See "Listing 6" and text above it at https://accu.org/index.php/journals/1717 // Without this change, a result like 6.6...e-19 will be truncated to 0 instead of being rounded to 1e-18. (MathError err1, uint doubleScaledProductWithHalfScale) = addUInt(halfExpScale, doubleScaledProduct); if (err1 != MathError.NO_ERROR) { return (err1, Exp({mantissa: 0})); } (MathError err2, uint product) = divUInt(doubleScaledProductWithHalfScale, expScale); // The only error `div` can return is MathError.DIVISION_BY_ZERO but we control `expScale` and it is not zero. assert(err2 == MathError.NO_ERROR); return (MathError.NO_ERROR, Exp({mantissa: product})); } /** * @dev Multiplies two exponentials given their mantissas, returning a new exponential. */ function mulExp(uint a, uint b) pure internal returns (MathError, Exp memory) { return mulExp(Exp({mantissa: a}), Exp({mantissa: b})); } /** * @dev Multiplies three exponentials, returning a new exponential. */ function mulExp3(Exp memory a, Exp memory b, Exp memory c) pure internal returns (MathError, Exp memory) { (MathError err, Exp memory ab) = mulExp(a, b); if (err != MathError.NO_ERROR) { return (err, ab); } return mulExp(ab, c); } /** * @dev Divides two exponentials, returning a new exponential. * (a/scale) / (b/scale) = (a/scale) * (scale/b) = a/b, * which we can scale as an Exp by calling getExp(a.mantissa, b.mantissa) */ function divExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) { return getExp(a.mantissa, b.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 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 add_(a, b, "addition overflow"); } function add_(uint a, uint b, string memory errorMessage) pure internal returns (uint) { uint c = a + b; require(c >= a, errorMessage); return c; } 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 sub_(a, b, "subtraction underflow"); } function sub_(uint a, uint b, string memory errorMessage) pure internal returns (uint) { require(b <= a, errorMessage); 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 mul_(a, b, "multiplication overflow"); } function mul_(uint a, uint b, string memory errorMessage) pure internal returns (uint) { if (a == 0 || b == 0) { return 0; } uint c = a * b; require(c / a == b, errorMessage); return c; } 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 div_(a, b, "divide by zero"); } function div_(uint a, uint b, string memory errorMessage) pure internal returns (uint) { require(b > 0, errorMessage); return a / b; } function fraction(uint a, uint b) pure internal returns (Double memory) { return Double({mantissa: div_(mul_(a, doubleScale), b)}); } } // File: contracts/EIP20Interface.sol pragma solidity 0.5.17; /** * @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 The balance */ function balanceOf(address owner) external view returns (uint256 balance); /** * @notice Transfer `amount` tokens from `msg.sender` to `dst` * @param dst The address of the destination account * @param amount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transfer(address dst, uint256 amount) external returns (bool success); /** * @notice Transfer `amount` tokens from `src` to `dst` * @param src The address of the source account * @param dst The address of the destination account * @param amount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transferFrom(address src, address dst, uint256 amount) external returns (bool success); /** * @notice Approve `spender` to transfer up to `amount` from `src` * @dev This will overwrite the approval amount for `spender` * and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve) * @param spender The address of the account which may transfer tokens * @param amount The number of tokens that are approved (-1 means infinite) * @return Whether or not the approval succeeded */ function approve(address spender, uint256 amount) external returns (bool success); /** * @notice Get the current allowance from `owner` for `spender` * @param owner The address of the account which owns the tokens to be spent * @param spender The address of the account which may transfer tokens * @return The number of tokens allowed to be spent (-1 means infinite) */ function allowance(address owner, address spender) external view returns (uint256 remaining); event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); } // File: contracts/EIP20NonStandardInterface.sol pragma solidity 0.5.17; /** * @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 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 Whether or not the approval succeeded */ function approve(address spender, uint256 amount) external returns (bool success); /** * @notice Get the current allowance from `owner` for `spender` * @param owner The address of the account which owns the tokens to be spent * @param spender The address of the account which may transfer tokens * @return The number of tokens allowed to be spent */ 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/GToken.sol pragma solidity 0.5.17; /** * @title GToken Contract * @notice Abstract base for CTokens */ contract GToken is GTokenInterface, Exponential, TokenErrorReporter { bytes32 internal constant projectHash = keccak256(abi.encodePacked("ZILD")); /** * @notice Underlying asset for this GToken */ address public underlying; /** * @notice , ETH is native coin */ bool public underlyingIsNativeCoin; // borrow fee amount * borrowFee / 10000; uint public borrowFee; // redeem fee amount = redeem amount * redeemFee / 10000; uint public redeemFee; uint public constant TEN_THOUSAND = 10000; // max fee borrow redeem fee : 1% uint public constant MAX_BORROW_REDEEM_FEE = 100; // borrow fee and redeemFee will send to feeTo address payable public feeTo; event NewBorrowFee(uint oldBorrowFee, uint newBorrowFee); event NewRedeemFee(uint oldRedeemFee, uint newRedeemFee); event NewFeeTo(address oldFeeTo, address newFeeTo); /** * @notice Initialize the money market * @param underlying_ Underlying asset for this GToken, ZETH's underlying is address(0) * @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 * @param borrowFee_ borrow fee * @param redeemFee_ redeem fee * @param feeTo_ fee address */ function initialize(address underlying_, ComptrollerInterface comptroller_, InterestRateModel interestRateModel_, uint initialExchangeRateMantissa_, string memory name_, string memory symbol_, uint8 decimals_, uint borrowFee_, uint redeemFee_, address payable feeTo_) 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 == uint(Error.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 == uint(Error.NO_ERROR), "setting interest rate model failed"); _setBorrowFee(borrowFee_); _setRedeemFee(redeemFee_); _setFeeTo(feeTo_); name = name_; symbol = symbol_; decimals = decimals_; underlying = underlying_; // The counter starts true to prevent changing it from zero to non-zero (i.e. smaller cost/refund) _notEntered = true; } /** * @notice . * @dev Admin function: change borrowFee. * @param newBorrowFee newBorrowFee * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _setBorrowFee(uint newBorrowFee) public returns (uint) { // Check caller = admin if (msg.sender != admin) { return fail(Error.UNAUTHORIZED, FailureInfo.SET_PENDING_ADMIN_OWNER_CHECK); } require(newBorrowFee <= MAX_BORROW_REDEEM_FEE, "newBorrowFee is greater than MAX_BORROW_REDEEM_FEE"); emit NewBorrowFee(borrowFee, newBorrowFee); borrowFee = newBorrowFee; return uint(Error.NO_ERROR); } /** * @notice . * @dev Admin function: change redeemFee. * @param newRedeemFee newRedeemFee * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _setRedeemFee(uint newRedeemFee) public returns (uint) { // Check caller = admin if (msg.sender != admin) { return fail(Error.UNAUTHORIZED, FailureInfo.SET_PENDING_ADMIN_OWNER_CHECK); } require(newRedeemFee <= MAX_BORROW_REDEEM_FEE, "newRedeemFee is greater than MAX_BORROW_REDEEM_FEE"); emit NewBorrowFee(redeemFee, newRedeemFee); redeemFee = newRedeemFee; return uint(Error.NO_ERROR); } /** * @notice . * @dev Admin function: change feeTo. * @param newFeeTo newFeeTo * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _setFeeTo(address payable newFeeTo) public returns (uint) { // Check caller = admin if (msg.sender != admin) { return fail(Error.UNAUTHORIZED, FailureInfo.SET_PENDING_ADMIN_OWNER_CHECK); } require(newFeeTo != address(0), "newFeeTo is zero address"); emit NewFeeTo(feeTo, newFeeTo); feeTo = newFeeTo; return uint(Error.NO_ERROR); } /** * @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 Whether or not the transfer succeeded */ 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) { return failOpaque(Error.COMPTROLLER_REJECTION, FailureInfo.TRANSFER_COMPTROLLER_REJECTION, allowed); } /* Do not allow self-transfers */ if (src == dst) { return fail(Error.BAD_INPUT, FailureInfo.TRANSFER_NOT_ALLOWED); } /* Get the allowance, infinite for the account owner */ uint startingAllowance = 0; if (spender == src) { startingAllowance = uint(-1); } else { startingAllowance = transferAllowances[src][spender]; } /* Do the calculations, checking for {under,over}flow */ MathError mathErr; uint allowanceNew; uint srcTokensNew; uint dstTokensNew; (mathErr, allowanceNew) = subUInt(startingAllowance, tokens); if (mathErr != MathError.NO_ERROR) { return fail(Error.MATH_ERROR, FailureInfo.TRANSFER_NOT_ALLOWED); } (mathErr, srcTokensNew) = subUInt(accountTokens[src], tokens); if (mathErr != MathError.NO_ERROR) { return fail(Error.MATH_ERROR, FailureInfo.TRANSFER_NOT_ENOUGH); } (mathErr, dstTokensNew) = addUInt(accountTokens[dst], tokens); if (mathErr != MathError.NO_ERROR) { return fail(Error.MATH_ERROR, FailureInfo.TRANSFER_TOO_MUCH); } ///////////////////////// // EFFECTS & INTERACTIONS // (No safe failures beyond this point) accountTokens[src] = srcTokensNew; accountTokens[dst] = dstTokensNew; /* Eat some of the allowance (if necessary) */ if (startingAllowance != uint(-1)) { transferAllowances[src][spender] = allowanceNew; } /* We emit a Transfer event */ emit Transfer(src, dst, tokens); comptroller.transferVerify(address(this), src, dst, tokens); return uint(Error.NO_ERROR); } /** * @notice Transfer `amount` tokens from `msg.sender` to `dst` * @param dst The address of the destination account * @param amount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transfer(address dst, uint256 amount) external nonReentrant returns (bool) { return transferTokens(msg.sender, msg.sender, dst, amount) == uint(Error.NO_ERROR); } /** * @notice Transfer `amount` tokens from `src` to `dst` * @param src The address of the source account * @param dst The address of the destination account * @param amount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transferFrom(address src, address dst, uint256 amount) external nonReentrant returns (bool) { return transferTokens(msg.sender, src, dst, amount) == uint(Error.NO_ERROR); } /** * @notice Approve `spender` to transfer up to `amount` from `src` * @dev This will overwrite the approval amount for `spender` * and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve) * @param spender The address of the account which may transfer tokens * @param amount The number of tokens that are approved (-1 means infinite) * @return Whether or not the approval succeeded */ function approve(address spender, uint256 amount) external returns (bool) { address src = msg.sender; transferAllowances[src][spender] = amount; emit Approval(src, spender, amount); return true; } /** * @notice Get the current allowance from `owner` for `spender` * @param owner The address of the account which owns the tokens to be spent * @param spender The address of the account which may transfer tokens * @return The number of tokens allowed to be spent (-1 means infinite) */ function allowance(address owner, address spender) external view returns (uint256) { return transferAllowances[owner][spender]; } /** * @notice Get the token balance of the `owner` * @param owner The address of the account to query * @return The number of tokens owned by `owner` */ function balanceOf(address owner) external view returns (uint256) { return accountTokens[owner]; } /** * @notice Get the underlying balance of the `owner` * @dev This also accrues interest in a transaction * @param owner The address of the account to query * @return The amount of underlying owned by `owner` */ function balanceOfUnderlying(address owner) external returns (uint) { Exp memory exchangeRate = Exp({mantissa: exchangeRateCurrent()}); (MathError mErr, uint balance) = mulScalarTruncate(exchangeRate, accountTokens[owner]); require(mErr == MathError.NO_ERROR, "balance could not be calculated"); return balance; } /** * @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) external view returns (uint, uint, uint, uint) { uint cTokenBalance = accountTokens[account]; uint borrowBalance; uint exchangeRateMantissa; MathError mErr; (mErr, borrowBalance) = borrowBalanceStoredInternal(account); if (mErr != MathError.NO_ERROR) { return (uint(Error.MATH_ERROR), 0, 0, 0); } (mErr, exchangeRateMantissa) = exchangeRateStoredInternal(); if (mErr != MathError.NO_ERROR) { return (uint(Error.MATH_ERROR), 0, 0, 0); } return (uint(Error.NO_ERROR), cTokenBalance, borrowBalance, exchangeRateMantissa); } /** * @dev Function to simply retrieve block number * This exists mainly for inheriting test contracts to stub this result. */ function getBlockNumber() internal view returns (uint) { return block.number; } /** * @notice Returns the current per-block borrow interest rate for this gToken * @return The borrow interest rate per block, scaled by 1e18 */ function borrowRatePerBlock() external view returns (uint) { return interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves); } /** * @notice Returns the current per-block supply interest rate for this gToken * @return The supply interest rate per block, scaled by 1e18 */ function supplyRatePerBlock() 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() external nonReentrant returns (uint) { require(accrueInterest() == uint(Error.NO_ERROR), "accrue interest failed"); return totalBorrows; } /** * @notice Accrue interest to updated borrowIndex and then calculate account's borrow balance using the updated borrowIndex * @param account The address whose balance should be calculated after updating borrowIndex * @return The calculated balance */ function borrowBalanceCurrent(address account) external nonReentrant returns (uint) { require(accrueInterest() == uint(Error.NO_ERROR), "accrue interest failed"); return borrowBalanceStored(account); } /** * @notice Return the borrow balance of account based on stored data * @param account The address whose balance should be calculated * @return The calculated balance */ function borrowBalanceStored(address account) public view returns (uint) { (MathError err, uint result) = borrowBalanceStoredInternal(account); require(err == MathError.NO_ERROR, "borrowBalanceStored: borrowBalanceStoredInternal failed"); return result; } /** * @notice Return the borrow balance of account based on stored data * @param account The address whose balance should be calculated * @return (error code, the calculated balance or 0 if error code is non-zero) */ function borrowBalanceStoredInternal(address account) internal view returns (MathError, uint) { /* Note: we do not assert that the market is up to date */ MathError mathErr; uint principalTimesIndex; uint result; /* Get borrowBalance and borrowIndex */ BorrowSnapshot storage borrowSnapshot = accountBorrows[account]; /* If borrowBalance = 0 then borrowIndex is likely also 0. * Rather than failing the calculation with a division by 0, we immediately return 0 in this case. */ if (borrowSnapshot.principal == 0) { return (MathError.NO_ERROR, 0); } /* Calculate new borrow balance using the interest index: * recentBorrowBalance = borrower.borrowBalance * market.borrowIndex / borrower.borrowIndex */ (mathErr, principalTimesIndex) = mulUInt(borrowSnapshot.principal, borrowIndex); if (mathErr != MathError.NO_ERROR) { return (mathErr, 0); } (mathErr, result) = divUInt(principalTimesIndex, borrowSnapshot.interestIndex); if (mathErr != MathError.NO_ERROR) { return (mathErr, 0); } return (MathError.NO_ERROR, result); } /** * @notice Accrue interest then return the up-to-date exchange rate * @return Calculated exchange rate scaled by 1e18 */ function exchangeRateCurrent() public nonReentrant returns (uint) { require(accrueInterest() == uint(Error.NO_ERROR), "accrue interest failed"); return exchangeRateStored(); } /** * @notice Calculates the exchange rate from the underlying to the GToken * @dev This function does not accrue interest before calculating the exchange rate * @return Calculated exchange rate scaled by 1e18 */ function exchangeRateStored() public view returns (uint) { (MathError err, uint result) = exchangeRateStoredInternal(); require(err == MathError.NO_ERROR, "exchangeRateStored: exchangeRateStoredInternal failed"); return result; } /** * @notice Calculates the exchange rate from the underlying to the GToken * @dev This function does not accrue interest before calculating the exchange rate * @return (error code, calculated exchange rate scaled by 1e18) */ function exchangeRateStoredInternal() internal view returns (MathError, uint) { uint _totalSupply = totalSupply; if (_totalSupply == 0) { /* * If there are no tokens minted: * exchangeRate = initialExchangeRate */ return (MathError.NO_ERROR, initialExchangeRateMantissa); } else { /* * Otherwise: * exchangeRate = (totalCash + totalBorrows - totalReserves) / totalSupply */ uint totalCash = getCashPrior(); uint cashPlusBorrowsMinusReserves; Exp memory exchangeRate; MathError mathErr; (mathErr, cashPlusBorrowsMinusReserves) = addThenSubUInt(totalCash, totalBorrows, totalReserves); if (mathErr != MathError.NO_ERROR) { return (mathErr, 0); } (mathErr, exchangeRate) = getExp(cashPlusBorrowsMinusReserves, _totalSupply); if (mathErr != MathError.NO_ERROR) { return (mathErr, 0); } return (MathError.NO_ERROR, exchangeRate.mantissa); } } /** * @notice Get cash balance of this gToken in the underlying asset * @return The quantity of underlying asset owned by this contract */ function getCash() 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() public returns (uint) { /* Remember the initial block number */ uint currentBlockNumber = getBlockNumber(); uint accrualBlockNumberPrior = accrualBlockNumber; /* Short-circuit accumulating 0 interest */ if (accrualBlockNumberPrior == currentBlockNumber) { return uint(Error.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 */ (MathError mathErr, uint blockDelta) = subUInt(currentBlockNumber, accrualBlockNumberPrior); require(mathErr == MathError.NO_ERROR, "could not calculate block delta"); /* * 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; uint interestAccumulated; uint totalBorrowsNew; uint totalReservesNew; uint borrowIndexNew; (mathErr, simpleInterestFactor) = mulScalar(Exp({mantissa: borrowRateMantissa}), blockDelta); if (mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_SIMPLE_INTEREST_FACTOR_CALCULATION_FAILED, uint(mathErr)); } (mathErr, interestAccumulated) = mulScalarTruncate(simpleInterestFactor, borrowsPrior); if (mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_ACCUMULATED_INTEREST_CALCULATION_FAILED, uint(mathErr)); } (mathErr, totalBorrowsNew) = addUInt(interestAccumulated, borrowsPrior); if (mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_NEW_TOTAL_BORROWS_CALCULATION_FAILED, uint(mathErr)); } (mathErr, totalReservesNew) = mulScalarTruncateAddUInt(Exp({mantissa: reserveFactorMantissa}), interestAccumulated, reservesPrior); if (mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_NEW_TOTAL_RESERVES_CALCULATION_FAILED, uint(mathErr)); } (mathErr, borrowIndexNew) = mulScalarTruncateAddUInt(simpleInterestFactor, borrowIndexPrior, borrowIndexPrior); if (mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_NEW_BORROW_INDEX_CALCULATION_FAILED, uint(mathErr)); } ///////////////////////// // 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 uint(Error.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 * @return (uint, uint) An error code (0=success, otherwise a failure, see ErrorReporter.sol), and the actual mint amount. */ function mintInternal(uint mintAmount) internal nonReentrant returns (uint, uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed return (fail(Error(error), FailureInfo.MINT_ACCRUE_INTEREST_FAILED), 0); } // mintFresh emits the actual Mint event if successful and logs on errors, so we don't need to return mintFresh(msg.sender, mintAmount); } struct MintLocalVars { Error err; MathError mathErr; uint exchangeRateMantissa; uint mintTokens; uint totalSupplyNew; uint accountTokensNew; uint actualMintAmount; } /** * @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 * @return (uint, uint) An error code (0=success, otherwise a failure, see ErrorReporter.sol), and the actual mint amount. */ function mintFresh(address minter, uint mintAmount) internal returns (uint, uint) { /* Fail if mint not allowed */ uint allowed = comptroller.mintAllowed(address(this), minter, mintAmount); if (allowed != 0) { return (failOpaque(Error.COMPTROLLER_REJECTION, FailureInfo.MINT_COMPTROLLER_REJECTION, allowed), 0); } /* Verify market's block number equals current block number */ if (accrualBlockNumber != getBlockNumber()) { return (fail(Error.MARKET_NOT_FRESH, FailureInfo.MINT_FRESHNESS_CHECK), 0); } MintLocalVars memory vars; (vars.mathErr, vars.exchangeRateMantissa) = exchangeRateStoredInternal(); if (vars.mathErr != MathError.NO_ERROR) { return (failOpaque(Error.MATH_ERROR, FailureInfo.MINT_EXCHANGE_RATE_READ_FAILED, uint(vars.mathErr)), 0); } ///////////////////////// // EFFECTS & INTERACTIONS // (No safe failures beyond this point) /* * We call `doTransferIn` for the minter and the mintAmount. * Note: The gToken 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 gToken holds an additional `actualMintAmount` * of cash. */ vars.actualMintAmount = doTransferIn(minter, mintAmount); /* * We get the current exchange rate and calculate the number of cTokens to be minted: * mintTokens = actualMintAmount / exchangeRate */ (vars.mathErr, vars.mintTokens) = divScalarByExpTruncate(vars.actualMintAmount, Exp({mantissa: vars.exchangeRateMantissa})); require(vars.mathErr == MathError.NO_ERROR, "MINT_EXCHANGE_CALCULATION_FAILED"); /* * We calculate the new total supply of cTokens and minter token balance, checking for overflow: * totalSupplyNew = totalSupply + mintTokens * accountTokensNew = accountTokens[minter] + mintTokens */ (vars.mathErr, vars.totalSupplyNew) = addUInt(totalSupply, vars.mintTokens); require(vars.mathErr == MathError.NO_ERROR, "MINT_NEW_TOTAL_SUPPLY_CALCULATION_FAILED"); (vars.mathErr, vars.accountTokensNew) = addUInt(accountTokens[minter], vars.mintTokens); require(vars.mathErr == MathError.NO_ERROR, "MINT_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED"); /* We write previously calculated values into storage */ totalSupply = vars.totalSupplyNew; accountTokens[minter] = vars.accountTokensNew; /* We emit a Mint event, and a Transfer event */ emit Mint(minter, vars.actualMintAmount, vars.mintTokens); emit Transfer(address(this), minter, vars.mintTokens); /* We call the defense hook */ comptroller.mintVerify(address(this), minter, vars.actualMintAmount, vars.mintTokens); return (uint(Error.NO_ERROR), vars.actualMintAmount); } /** * @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 redeemInternal(uint redeemTokens) internal nonReentrant returns (uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but we still want to log the fact that an attempted redeem failed return fail(Error(error), FailureInfo.REDEEM_ACCRUE_INTEREST_FAILED); } // redeemFresh emits redeem-specific logs on errors, so we don't need to return redeemFresh(msg.sender, redeemTokens, 0); } /** * @notice Sender redeems 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 * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function redeemUnderlyingInternal(uint redeemAmount) internal nonReentrant returns (uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but we still want to log the fact that an attempted redeem failed return fail(Error(error), FailureInfo.REDEEM_ACCRUE_INTEREST_FAILED); } // redeemFresh emits redeem-specific logs on errors, so we don't need to return redeemFresh(msg.sender, 0, redeemAmount); } struct RedeemLocalVars { Error err; MathError mathErr; uint exchangeRateMantissa; uint redeemTokens; uint redeemAmount; uint totalSupplyNew; uint accountTokensNew; } /** * @notice User redeems 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) * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function redeemFresh(address payable redeemer, uint redeemTokensIn, uint redeemAmountIn) internal returns (uint) { require(redeemTokensIn == 0 || redeemAmountIn == 0, "one of redeemTokensIn or redeemAmountIn must be zero"); RedeemLocalVars memory vars; /* exchangeRate = invoke Exchange Rate Stored() */ (vars.mathErr, vars.exchangeRateMantissa) = exchangeRateStoredInternal(); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_EXCHANGE_RATE_READ_FAILED, uint(vars.mathErr)); } /* If redeemTokensIn > 0: */ if (redeemTokensIn > 0) { /* * We calculate the exchange rate and the amount of underlying to be redeemed: * redeemTokens = redeemTokensIn * redeemAmount = redeemTokensIn x exchangeRateCurrent */ vars.redeemTokens = redeemTokensIn; (vars.mathErr, vars.redeemAmount) = mulScalarTruncate(Exp({mantissa: vars.exchangeRateMantissa}), redeemTokensIn); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_EXCHANGE_TOKENS_CALCULATION_FAILED, uint(vars.mathErr)); } } else { /* * We get the current exchange rate and calculate the amount to be redeemed: * redeemTokens = redeemAmountIn / exchangeRate * redeemAmount = redeemAmountIn */ (vars.mathErr, vars.redeemTokens) = divScalarByExpTruncate(redeemAmountIn, Exp({mantissa: vars.exchangeRateMantissa})); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_EXCHANGE_AMOUNT_CALCULATION_FAILED, uint(vars.mathErr)); } vars.redeemAmount = redeemAmountIn; } /* Fail if redeem not allowed */ uint allowed = comptroller.redeemAllowed(address(this), redeemer, vars.redeemTokens); if (allowed != 0) { return failOpaque(Error.COMPTROLLER_REJECTION, FailureInfo.REDEEM_COMPTROLLER_REJECTION, allowed); } /* Verify market's block number equals current block number */ if (accrualBlockNumber != getBlockNumber()) { return fail(Error.MARKET_NOT_FRESH, FailureInfo.REDEEM_FRESHNESS_CHECK); } /* * We calculate the new total supply and redeemer balance, checking for underflow: * totalSupplyNew = totalSupply - redeemTokens * accountTokensNew = accountTokens[redeemer] - redeemTokens */ (vars.mathErr, vars.totalSupplyNew) = subUInt(totalSupply, vars.redeemTokens); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_NEW_TOTAL_SUPPLY_CALCULATION_FAILED, uint(vars.mathErr)); } (vars.mathErr, vars.accountTokensNew) = subUInt(accountTokens[redeemer], vars.redeemTokens); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } /* Fail gracefully if protocol has insufficient cash */ if (getCashPrior() < vars.redeemAmount) { return fail(Error.TOKEN_INSUFFICIENT_CASH, FailureInfo.REDEEM_TRANSFER_OUT_NOT_POSSIBLE); } ///////////////////////// // EFFECTS & INTERACTIONS // (No safe failures beyond this point) /* * We invoke doTransferOut for the redeemer and the redeemAmount. * Note: The gToken must handle variations between ERC-20 and ETH underlying. * On success, the gToken has redeemAmount less of cash. * doTransferOut reverts if anything goes wrong, since we can't be sure if side effects occurred. */ uint fee = 0; uint redeemAmountMinusFee = 0; (vars.mathErr, fee) = mulUInt(vars.redeemAmount, redeemFee); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } (vars.mathErr, fee) = divUInt(fee, TEN_THOUSAND); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } (vars.mathErr, redeemAmountMinusFee) = subUInt(vars.redeemAmount, fee); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } // doTransferOut(redeemer, vars.redeemAmount); // vars.redeemAmount = redeemAmountMinusFee + fee doTransferOut(redeemer, redeemAmountMinusFee); doTransferOut(feeTo, fee); /* We write previously calculated values into storage */ totalSupply = vars.totalSupplyNew; accountTokens[redeemer] = vars.accountTokensNew; /* We emit a Transfer event, and a Redeem event */ emit Transfer(redeemer, address(this), vars.redeemTokens); emit Redeem(redeemer, vars.redeemAmount, vars.redeemTokens); /* We call the defense hook */ comptroller.redeemVerify(address(this), redeemer, vars.redeemAmount, vars.redeemTokens); return uint(Error.NO_ERROR); } /** * @notice Sender borrows assets from the protocol to their own address * @param borrowAmount The amount of the underlying asset to borrow * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function borrowInternal(uint borrowAmount) internal nonReentrant returns (uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed return fail(Error(error), FailureInfo.BORROW_ACCRUE_INTEREST_FAILED); } // borrowFresh emits borrow-specific logs on errors, so we don't need to return borrowFresh(msg.sender, borrowAmount); } struct BorrowLocalVars { MathError mathErr; uint accountBorrows; uint accountBorrowsNew; uint totalBorrowsNew; } /** * @notice Users borrow assets from the protocol to their own address * @param borrowAmount The amount of the underlying asset to borrow * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function borrowFresh(address payable borrower, uint borrowAmount) internal returns (uint) { /* Fail if borrow not allowed */ uint allowed = comptroller.borrowAllowed(address(this), borrower, borrowAmount); if (allowed != 0) { return failOpaque(Error.COMPTROLLER_REJECTION, FailureInfo.BORROW_COMPTROLLER_REJECTION, allowed); } /* Verify market's block number equals current block number */ if (accrualBlockNumber != getBlockNumber()) { return fail(Error.MARKET_NOT_FRESH, FailureInfo.BORROW_FRESHNESS_CHECK); } /* Fail gracefully if protocol has insufficient underlying cash */ if (getCashPrior() < borrowAmount) { return fail(Error.TOKEN_INSUFFICIENT_CASH, FailureInfo.BORROW_CASH_NOT_AVAILABLE); } BorrowLocalVars memory vars; /* * We calculate the new borrower and total borrow balances, failing on overflow: * accountBorrowsNew = accountBorrows + borrowAmount * totalBorrowsNew = totalBorrows + borrowAmount */ (vars.mathErr, vars.accountBorrows) = borrowBalanceStoredInternal(borrower); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } (vars.mathErr, vars.accountBorrowsNew) = addUInt(vars.accountBorrows, borrowAmount); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } (vars.mathErr, vars.totalBorrowsNew) = addUInt(totalBorrows, borrowAmount); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } ///////////////////////// // EFFECTS & INTERACTIONS // (No safe failures beyond this point) /* * We invoke doTransferOut for the borrower and the borrowAmount. * Note: The gToken must handle variations between ERC-20 and ETH underlying. * On success, the gToken borrowAmount less of cash. * doTransferOut reverts if anything goes wrong, since we can't be sure if side effects occurred. */ uint fee = 0; uint borrowAmountMinusFee = 0; (vars.mathErr, fee) = mulUInt(borrowAmount, borrowFee); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } (vars.mathErr, fee) = divUInt(fee, TEN_THOUSAND); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } (vars.mathErr, borrowAmountMinusFee) = subUInt(borrowAmount, fee); if (vars.mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)); } doTransferOut(borrower, borrowAmountMinusFee); doTransferOut(feeTo, fee); /* We write the previously calculated values into storage */ accountBorrows[borrower].principal = vars.accountBorrowsNew; accountBorrows[borrower].interestIndex = borrowIndex; totalBorrows = vars.totalBorrowsNew; /* We emit a Borrow event */ emit Borrow(borrower, borrowAmount, vars.accountBorrowsNew, vars.totalBorrowsNew); /* We call the defense hook */ comptroller.borrowVerify(address(this), borrower, borrowAmount); return uint(Error.NO_ERROR); } /** * @notice Sender repays their own borrow * @param repayAmount The amount to repay * @return (uint, uint) An error code (0=success, otherwise a failure, see ErrorReporter.sol), and the actual repayment amount. */ function repayBorrowInternal(uint repayAmount) internal nonReentrant returns (uint, uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed return (fail(Error(error), FailureInfo.REPAY_BORROW_ACCRUE_INTEREST_FAILED), 0); } // repayBorrowFresh emits repay-borrow-specific logs on errors, so we don't need to return repayBorrowFresh(msg.sender, msg.sender, repayAmount); } /** * @notice Sender repays a borrow belonging to borrower * @param borrower the account with the debt being payed off * @param repayAmount The amount to repay * @return (uint, uint) An error code (0=success, otherwise a failure, see ErrorReporter.sol), and the actual repayment amount. */ function repayBorrowBehalfInternal(address borrower, uint repayAmount) internal nonReentrant returns (uint, uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed return (fail(Error(error), FailureInfo.REPAY_BEHALF_ACCRUE_INTEREST_FAILED), 0); } // repayBorrowFresh emits repay-borrow-specific logs on errors, so we don't need to return repayBorrowFresh(msg.sender, borrower, repayAmount); } struct RepayBorrowLocalVars { Error err; MathError mathErr; uint repayAmount; uint borrowerIndex; uint accountBorrows; uint accountBorrowsNew; uint totalBorrowsNew; uint actualRepayAmount; } /** * @notice Borrows are repaid by another user (possibly the borrower). * @param payer the account paying off the borrow * @param borrower the account with the debt being payed off * @param repayAmount the amount of undelrying tokens being returned * @return (uint, uint) An error code (0=success, otherwise a failure, see ErrorReporter.sol), and the actual repayment amount. */ function repayBorrowFresh(address payer, address borrower, uint repayAmount) internal returns (uint, uint) { /* Fail if repayBorrow not allowed */ uint allowed = comptroller.repayBorrowAllowed(address(this), payer, borrower, repayAmount); if (allowed != 0) { return (failOpaque(Error.COMPTROLLER_REJECTION, FailureInfo.REPAY_BORROW_COMPTROLLER_REJECTION, allowed), 0); } /* Verify market's block number equals current block number */ if (accrualBlockNumber != getBlockNumber()) { return (fail(Error.MARKET_NOT_FRESH, FailureInfo.REPAY_BORROW_FRESHNESS_CHECK), 0); } RepayBorrowLocalVars memory vars; /* We remember the original borrowerIndex for verification purposes */ vars.borrowerIndex = accountBorrows[borrower].interestIndex; /* We fetch the amount the borrower owes, with accumulated interest */ (vars.mathErr, vars.accountBorrows) = borrowBalanceStoredInternal(borrower); if (vars.mathErr != MathError.NO_ERROR) { return (failOpaque(Error.MATH_ERROR, FailureInfo.REPAY_BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED, uint(vars.mathErr)), 0); } /* If repayAmount == -1, repayAmount = accountBorrows */ if (repayAmount == uint(-1)) { vars.repayAmount = vars.accountBorrows; } else { vars.repayAmount = repayAmount; } ///////////////////////// // EFFECTS & INTERACTIONS // (No safe failures beyond this point) /* * We call doTransferIn for the payer and the repayAmount * Note: The gToken must handle variations between ERC-20 and ETH underlying. * On success, the gToken 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. */ vars.actualRepayAmount = doTransferIn(payer, vars.repayAmount); /* * We calculate the new borrower and total borrow balances, failing on underflow: * accountBorrowsNew = accountBorrows - actualRepayAmount * totalBorrowsNew = totalBorrows - actualRepayAmount */ (vars.mathErr, vars.accountBorrowsNew) = subUInt(vars.accountBorrows, vars.actualRepayAmount); require(vars.mathErr == MathError.NO_ERROR, "REPAY_BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED"); (vars.mathErr, vars.totalBorrowsNew) = subUInt(totalBorrows, vars.actualRepayAmount); require(vars.mathErr == MathError.NO_ERROR, "REPAY_BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED"); /* We write the previously calculated values into storage */ accountBorrows[borrower].principal = vars.accountBorrowsNew; accountBorrows[borrower].interestIndex = borrowIndex; totalBorrows = vars.totalBorrowsNew; /* We emit a RepayBorrow event */ emit RepayBorrow(payer, borrower, vars.actualRepayAmount, vars.accountBorrowsNew, vars.totalBorrowsNew); /* We call the defense hook */ comptroller.repayBorrowVerify(address(this), payer, borrower, vars.actualRepayAmount, vars.borrowerIndex); return (uint(Error.NO_ERROR), vars.actualRepayAmount); } /** * @notice The sender liquidates the borrowers collateral. * The collateral seized is transferred to the liquidator. * @param borrower The borrower of this gToken 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 * @return (uint, uint) An error code (0=success, otherwise a failure, see ErrorReporter.sol), and the actual repayment amount. */ function liquidateBorrowInternal(address borrower, uint repayAmount, GTokenInterface cTokenCollateral) internal nonReentrant returns (uint, uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but we still want to log the fact that an attempted liquidation failed return (fail(Error(error), FailureInfo.LIQUIDATE_ACCRUE_BORROW_INTEREST_FAILED), 0); } error = cTokenCollateral.accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but we still want to log the fact that an attempted liquidation failed return (fail(Error(error), FailureInfo.LIQUIDATE_ACCRUE_COLLATERAL_INTEREST_FAILED), 0); } // liquidateBorrowFresh emits borrow-specific logs on errors, so we don't need to return 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 gToken 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 * @return (uint, uint) An error code (0=success, otherwise a failure, see ErrorReporter.sol), and the actual repayment amount. */ function liquidateBorrowFresh(address liquidator, address borrower, uint repayAmount, GTokenInterface cTokenCollateral) internal returns (uint, uint) { /* Fail if liquidate not allowed */ uint allowed = comptroller.liquidateBorrowAllowed(address(this), address(cTokenCollateral), liquidator, borrower, repayAmount); if (allowed != 0) { return (failOpaque(Error.COMPTROLLER_REJECTION, FailureInfo.LIQUIDATE_COMPTROLLER_REJECTION, allowed), 0); } /* Verify market's block number equals current block number */ if (accrualBlockNumber != getBlockNumber()) { return (fail(Error.MARKET_NOT_FRESH, FailureInfo.LIQUIDATE_FRESHNESS_CHECK), 0); } /* Verify cTokenCollateral market's block number equals current block number */ if (cTokenCollateral.accrualBlockNumber() != getBlockNumber()) { return (fail(Error.MARKET_NOT_FRESH, FailureInfo.LIQUIDATE_COLLATERAL_FRESHNESS_CHECK), 0); } /* Fail if borrower = liquidator */ if (borrower == liquidator) { return (fail(Error.INVALID_ACCOUNT_PAIR, FailureInfo.LIQUIDATE_LIQUIDATOR_IS_BORROWER), 0); } /* Fail if repayAmount = 0 */ if (repayAmount == 0) { return (fail(Error.INVALID_CLOSE_AMOUNT_REQUESTED, FailureInfo.LIQUIDATE_CLOSE_AMOUNT_IS_ZERO), 0); } /* Fail if repayAmount = -1 */ if (repayAmount == uint(-1)) { return (fail(Error.INVALID_CLOSE_AMOUNT_REQUESTED, FailureInfo.LIQUIDATE_CLOSE_AMOUNT_IS_UINT_MAX), 0); } /* Fail if repayBorrow fails */ (uint repayBorrowError, uint actualRepayAmount) = repayBorrowFresh(liquidator, borrower, repayAmount); if (repayBorrowError != uint(Error.NO_ERROR)) { return (fail(Error(repayBorrowError), FailureInfo.LIQUIDATE_REPAY_BORROW_FRESH_FAILED), 0); } ///////////////////////// // EFFECTS & INTERACTIONS // (No safe failures beyond this point) /* We calculate the number of collateral tokens that will be seized */ (uint amountSeizeError, uint seizeTokens) = comptroller.liquidateCalculateSeizeTokens(address(this), address(cTokenCollateral), actualRepayAmount); require(amountSeizeError == uint(Error.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 uint seizeError; if (address(cTokenCollateral) == address(this)) { seizeError = seizeInternal(address(this), liquidator, borrower, seizeTokens); } else { seizeError = cTokenCollateral.seize(liquidator, borrower, seizeTokens); } /* Revert if seize tokens fails (since we cannot be sure of side effects) */ require(seizeError == uint(Error.NO_ERROR), "token seizure failed"); /* We emit a LiquidateBorrow event */ emit LiquidateBorrow(liquidator, borrower, actualRepayAmount, address(cTokenCollateral), seizeTokens); /* We call the defense hook */ comptroller.liquidateBorrowVerify(address(this), address(cTokenCollateral), liquidator, borrower, actualRepayAmount, seizeTokens); return (uint(Error.NO_ERROR), actualRepayAmount); } /** * @notice Transfers collateral tokens (this market) to the liquidator. * @dev Will fail unless called by another gToken during the process of liquidation. * Its absolutely critical to use msg.sender as the borrowed gToken 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) external nonReentrant returns (uint) { return seizeInternal(msg.sender, liquidator, borrower, seizeTokens); } /** * @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 GToken. * Its absolutely critical to use msg.sender as the seizer gToken and not a parameter. * @param seizerToken The contract seizing the collateral (i.e. borrowed gToken) * @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 seizeInternal(address seizerToken, address liquidator, address borrower, uint seizeTokens) internal returns (uint) { /* Fail if seize not allowed */ uint allowed = comptroller.seizeAllowed(address(this), seizerToken, liquidator, borrower, seizeTokens); if (allowed != 0) { return failOpaque(Error.COMPTROLLER_REJECTION, FailureInfo.LIQUIDATE_SEIZE_COMPTROLLER_REJECTION, allowed); } /* Fail if borrower = liquidator */ if (borrower == liquidator) { return fail(Error.INVALID_ACCOUNT_PAIR, FailureInfo.LIQUIDATE_SEIZE_LIQUIDATOR_IS_BORROWER); } MathError mathErr; uint borrowerTokensNew; uint liquidatorTokensNew; /* * We calculate the new borrower and liquidator token balances, failing on underflow/overflow: * borrowerTokensNew = accountTokens[borrower] - seizeTokens * liquidatorTokensNew = accountTokens[liquidator] + seizeTokens */ (mathErr, borrowerTokensNew) = subUInt(accountTokens[borrower], seizeTokens); if (mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.LIQUIDATE_SEIZE_BALANCE_DECREMENT_FAILED, uint(mathErr)); } (mathErr, liquidatorTokensNew) = addUInt(accountTokens[liquidator], seizeTokens); if (mathErr != MathError.NO_ERROR) { return failOpaque(Error.MATH_ERROR, FailureInfo.LIQUIDATE_SEIZE_BALANCE_INCREMENT_FAILED, uint(mathErr)); } ///////////////////////// // EFFECTS & INTERACTIONS // (No safe failures beyond this point) /* We write the previously calculated values into storage */ accountTokens[borrower] = borrowerTokensNew; accountTokens[liquidator] = liquidatorTokensNew; /* Emit a Transfer event */ emit Transfer(borrower, liquidator, seizeTokens); /* We call the defense hook */ comptroller.seizeVerify(address(this), seizerToken, liquidator, borrower, seizeTokens); return uint(Error.NO_ERROR); } /*** Admin Functions ***/ /** * @notice Begins transfer of admin rights. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer. * @dev Admin function to begin change of admin. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer. * @param newPendingAdmin New pending admin. * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _setPendingAdmin(address payable newPendingAdmin) external returns (uint) { // Check caller = admin if (msg.sender != admin) { return fail(Error.UNAUTHORIZED, FailureInfo.SET_PENDING_ADMIN_OWNER_CHECK); } // Save current value, if any, for inclusion in log address oldPendingAdmin = pendingAdmin; // Store pendingAdmin with value newPendingAdmin pendingAdmin = newPendingAdmin; // Emit NewPendingAdmin(oldPendingAdmin, newPendingAdmin) emit NewPendingAdmin(oldPendingAdmin, newPendingAdmin); return uint(Error.NO_ERROR); } /** * @notice Accepts transfer of admin rights. msg.sender must be pendingAdmin * @dev Admin function for pending admin to accept role and update admin * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _acceptAdmin() external returns (uint) { // Check caller is pendingAdmin and pendingAdmin ≠ address(0) if (msg.sender != pendingAdmin || msg.sender == address(0)) { return fail(Error.UNAUTHORIZED, FailureInfo.ACCEPT_ADMIN_PENDING_ADMIN_CHECK); } // Save current values for inclusion in log address oldAdmin = admin; address oldPendingAdmin = pendingAdmin; // Store admin with value pendingAdmin admin = pendingAdmin; // Clear the pending value pendingAdmin = address(0); emit NewAdmin(oldAdmin, admin); emit NewPendingAdmin(oldPendingAdmin, pendingAdmin); return uint(Error.NO_ERROR); } /** * @notice Sets a new 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) public returns (uint) { // Check caller is admin if (msg.sender != admin) { return fail(Error.UNAUTHORIZED, FailureInfo.SET_COMPTROLLER_OWNER_CHECK); } 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 uint(Error.NO_ERROR); } /** * @notice accrues interest and sets a new reserve factor for the protocol using _setReserveFactorFresh * @dev Admin function to accrue interest and set a new reserve factor * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _setReserveFactor(uint newReserveFactorMantissa) external nonReentrant returns (uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted reserve factor change failed. return fail(Error(error), FailureInfo.SET_RESERVE_FACTOR_ACCRUE_INTEREST_FAILED); } // _setReserveFactorFresh emits reserve-factor-specific logs on errors, so we don't need to. return _setReserveFactorFresh(newReserveFactorMantissa); } /** * @notice Sets a new reserve factor for the protocol (*requires fresh interest accrual) * @dev Admin function to set a new reserve factor * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _setReserveFactorFresh(uint newReserveFactorMantissa) internal returns (uint) { // Check caller is admin if (msg.sender != admin) { return fail(Error.UNAUTHORIZED, FailureInfo.SET_RESERVE_FACTOR_ADMIN_CHECK); } // Verify market's block number equals current block number if (accrualBlockNumber != getBlockNumber()) { return fail(Error.MARKET_NOT_FRESH, FailureInfo.SET_RESERVE_FACTOR_FRESH_CHECK); } // Check newReserveFactor ≤ maxReserveFactor if (newReserveFactorMantissa > reserveFactorMaxMantissa) { return fail(Error.BAD_INPUT, FailureInfo.SET_RESERVE_FACTOR_BOUNDS_CHECK); } uint oldReserveFactorMantissa = reserveFactorMantissa; reserveFactorMantissa = newReserveFactorMantissa; emit NewReserveFactor(oldReserveFactorMantissa, newReserveFactorMantissa); return uint(Error.NO_ERROR); } /** * @notice Accrues interest and reduces reserves by transferring 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) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted reduce reserves failed. return fail(Error(error), FailureInfo.ADD_RESERVES_ACCRUE_INTEREST_FAILED); } // _addReservesFresh emits reserve-addition-specific logs on errors, so we don't need to. (error, ) = _addReservesFresh(addAmount); return 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()) { return (fail(Error.MARKET_NOT_FRESH, FailureInfo.ADD_RESERVES_FRESH_CHECK), actualAddAmount); } ///////////////////////// // EFFECTS & INTERACTIONS // (No safe failures beyond this point) /* * We call doTransferIn for the caller and the addAmount * Note: The gToken must handle variations between ERC-20 and ETH underlying. * On success, the gToken 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; /* Revert on overflow */ require(totalReservesNew >= totalReserves, "add reserves unexpected overflow"); // 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 (uint(Error.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) external nonReentrant returns (uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted reduce reserves failed. return fail(Error(error), FailureInfo.REDUCE_RESERVES_ACCRUE_INTEREST_FAILED); } // _reduceReservesFresh emits reserve-reduction-specific logs on errors, so we don't need to. return _reduceReservesFresh(reduceAmount); } /** * @notice Reduces reserves by transferring to admin * @dev Requires fresh interest accrual * @param reduceAmount Amount of reduction to reserves * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _reduceReservesFresh(uint reduceAmount) internal returns (uint) { // totalReserves - reduceAmount uint totalReservesNew; // Check caller is admin if (msg.sender != admin) { return fail(Error.UNAUTHORIZED, FailureInfo.REDUCE_RESERVES_ADMIN_CHECK); } // We fail gracefully unless market's block number equals current block number if (accrualBlockNumber != getBlockNumber()) { return fail(Error.MARKET_NOT_FRESH, FailureInfo.REDUCE_RESERVES_FRESH_CHECK); } // Fail gracefully if protocol has insufficient underlying cash if (getCashPrior() < reduceAmount) { return fail(Error.TOKEN_INSUFFICIENT_CASH, FailureInfo.REDUCE_RESERVES_CASH_NOT_AVAILABLE); } // Check reduceAmount ≤ reserves[n] (totalReserves) if (reduceAmount > totalReserves) { return fail(Error.BAD_INPUT, FailureInfo.REDUCE_RESERVES_VALIDATION); } ///////////////////////// // EFFECTS & INTERACTIONS // (No safe failures beyond this point) totalReservesNew = totalReserves - reduceAmount; // We checked reduceAmount <= totalReserves above, so this should never revert. require(totalReservesNew <= totalReserves, "reduce reserves unexpected underflow"); // Store reserves[n+1] = reserves[n] - reduceAmount totalReserves = totalReservesNew; // 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 uint(Error.NO_ERROR); } /** * @notice accrues interest and updates the interest rate model using _setInterestRateModelFresh * @dev Admin function to accrue interest and update the interest rate model * @param newInterestRateModel the new interest rate model to use * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _setInterestRateModel(InterestRateModel newInterestRateModel) public returns (uint) { uint error = accrueInterest(); if (error != uint(Error.NO_ERROR)) { // accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted change of interest rate model failed return fail(Error(error), FailureInfo.SET_INTEREST_RATE_MODEL_ACCRUE_INTEREST_FAILED); } // _setInterestRateModelFresh emits interest-rate-model-update-specific logs on errors, so we don't need to. return _setInterestRateModelFresh(newInterestRateModel); } /** * @notice updates the interest rate model (*requires fresh interest accrual) * @dev Admin function to update the interest rate model * @param newInterestRateModel the new interest rate model to use * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _setInterestRateModelFresh(InterestRateModel newInterestRateModel) internal returns (uint) { // Used to store old model for use in the event that is emitted on success InterestRateModel oldInterestRateModel; // Check caller is admin if (msg.sender != admin) { return fail(Error.UNAUTHORIZED, FailureInfo.SET_INTEREST_RATE_MODEL_OWNER_CHECK); } // We fail gracefully unless market's block number equals current block number if (accrualBlockNumber != getBlockNumber()) { return fail(Error.MARKET_NOT_FRESH, FailureInfo.SET_INTEREST_RATE_MODEL_FRESH_CHECK); } // Track the market's current interest rate model oldInterestRateModel = interestRateModel; // Ensure invoke newInterestRateModel.isInterestRateModel() returns true require(newInterestRateModel.isInterestRateModel(), "marker method returned false"); // Set the interest rate model to newInterestRateModel interestRateModel = newInterestRateModel; // Emit NewMarketInterestRateModel(oldInterestRateModel, newInterestRateModel) emit NewMarketInterestRateModel(oldInterestRateModel, newInterestRateModel); return uint(Error.NO_ERROR); } /*** Safe Token ***/ /** * @notice Gets balance of this contract in terms of the underlying * @dev This excludes the value of the current message, if any * @return The quantity of underlying owned by this contract */ function getCashPrior() internal view returns (uint); /** * @dev 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) internal returns (uint); /** * @dev Performs a transfer out, ideally returning an explanatory error code upon failure tather than reverting. * If caller has not called checked protocol's balance, may revert due to insufficient cash held in the contract. * If caller has checked protocol's balance, and verified it is >= amount, this should not revert in normal conditions. */ function doTransferOut(address payable to, uint amount) internal; /*** 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/ZErc20.sol pragma solidity 0.5.17; /** * @title ZErc20 Contract * @notice GToken which wrap an EIP-20 underlying */ contract ZErc20 is GToken, CErc20Interface { constructor() public { admin = msg.sender; underlyingIsNativeCoin = false; } /*** 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) external returns (uint) { (uint err,) = mintInternal(mintAmount); return err; } /** * @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) external returns (uint) { return redeemInternal(redeemTokens); } /** * @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) external returns (uint) { return redeemUnderlyingInternal(redeemAmount); } /** * @notice Sender borrows assets from the protocol to their own address * @param borrowAmount The amount of the underlying asset to borrow * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function borrow(uint borrowAmount) external returns (uint) { return borrowInternal(borrowAmount); } /** * @notice Sender repays their own borrow * @param repayAmount The amount to repay * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function repayBorrow(uint repayAmount) external returns (uint) { (uint err,) = repayBorrowInternal(repayAmount); return err; } /** * @notice Sender repays a borrow belonging to borrower * @param borrower the account with the debt being payed off * @param repayAmount The amount to repay * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function repayBorrowBehalf(address borrower, uint repayAmount) external returns (uint) { (uint err,) = repayBorrowBehalfInternal(borrower, repayAmount); return err; } /** * @notice The sender liquidates the borrowers collateral. * The collateral seized is transferred to the liquidator. * @param borrower The borrower of this gToken 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, GTokenInterface cTokenCollateral) external returns (uint) { (uint err,) = liquidateBorrowInternal(borrower, repayAmount, cTokenCollateral); return err; } /** * @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) 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() 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) internal returns (uint) { 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 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)); require(balanceAfter >= balanceBefore, "TOKEN_TRANSFER_IN_OVERFLOW"); 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) 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 complaint ERC-20 returndatacopy(0, 0, 32) success := mload(0) // Set `success = returndata` of external call } default { // This is an excessively non-compliant ERC-20, revert. revert(0, 0) } } require(success, "TOKEN_TRANSFER_OUT_FAILED"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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":"uint256","name":"error","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"info","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"detail","type":"uint256"}],"name":"Failure","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"liquidator","type":"address"},{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"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":"uint256","name":"oldBorrowFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBorrowFee","type":"uint256"}],"name":"NewBorrowFee","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":"address","name":"oldFeeTo","type":"address"},{"indexed":false,"internalType":"address","name":"newFeeTo","type":"address"}],"name":"NewFeeTo","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":"oldRedeemFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRedeemFee","type":"uint256"}],"name":"NewRedeemFee","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"},{"constant":true,"inputs":[],"name":"MAX_BORROW_REDEEM_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TEN_THOUSAND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"_acceptAdmin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"addAmount","type":"uint256"}],"name":"_addReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reduceAmount","type":"uint256"}],"name":"_reduceReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newBorrowFee","type":"uint256"}],"name":"_setBorrowFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract ComptrollerInterface","name":"newComptroller","type":"address"}],"name":"_setComptroller","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newFeeTo","type":"address"}],"name":"_setFeeTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"_setInterestRateModel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newPendingAdmin","type":"address"}],"name":"_setPendingAdmin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newRedeemFee","type":"uint256"}],"name":"_setRedeemFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newReserveFactorMantissa","type":"uint256"}],"name":"_setReserveFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"accrualBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"accrueInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOfUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"borrowAmount","type":"uint256"}],"name":"borrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"borrowBalanceCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"borrowBalanceStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"comptroller","outputs":[{"internalType":"contract ComptrollerInterface","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exchangeRateCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"exchangeRateStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeTo","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountSnapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"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"},{"internalType":"uint256","name":"borrowFee_","type":"uint256"},{"internalType":"uint256","name":"redeemFee_","type":"uint256"},{"internalType":"address payable","name":"feeTo_","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"interestRateModel","outputs":[{"internalType":"contract InterestRateModel","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isCToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"},{"internalType":"contract GTokenInterface","name":"cTokenCollateral","type":"address"}],"name":"liquidateBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"redeemFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"}],"name":"redeemUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrowBehalf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveFactorMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"liquidator","type":"address"},{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"seizeTokens","type":"uint256"}],"name":"seize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"supplyRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBorrows","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"totalBorrowsCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"underlyingIsNativeCoin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060038054610100600160a81b03191633610100021790556011805460ff60a01b19169055615463806100446000396000f3fe608060405234801561001057600080fd5b50600436106103785760003560e01c806395d89b41116101d3578063c37f68e211610104578063f2b3abbd116100a2578063f851a4401161007c578063f851a44014610a64578063f8f9da2814610a6c578063fca7820b14610a74578063fe9c44ae14610a9157610378565b8063f2b3abbd14610a00578063f3fdb15a14610a26578063f5e3c46214610a2e57610378565b8063db006a75116100de578063db006a75146109a5578063dd62ed3e146109c2578063e626648a146109f0578063e9c714f2146109f857610378565b8063c37f68e214610934578063c5ebeaec14610980578063ce1aad231461099d57610378565b8063aa5af0fd11610171578063b2a02ff11161014b578063b2a02ff1146108b3578063b56f50d2146108e9578063b71d1a0c14610906578063bd6d894d1461092c57610378565b8063aa5af0fd1461087d578063ac49415d14610885578063ae9d70b0146108ab57610378565b8063970225d7116101ad578063970225d71461080f578063a0712d681461082c578063a6afed9514610849578063a9059cbb1461085157610378565b806395d89b41146107d957806395dd9193146107e1578063965fa21e1461080757610378565b80633b1d21a2116102ad5780636c540baf1161024b57806370a082311161022557806370a082311461078657806373acee98146107ac578063852a12e3146107b45780638f840ddd146107d157610378565b80636c540baf1461076e5780636f307dc3146107765780636f84cc7a1461077e57610378565b806347bd37181161028757806347bd3718146105cc5780635f113ed1146105d45780635fe3b56714610749578063601a0bf11461075157610378565b80633b1d21a2146105815780633e941010146105895780634576b5db146105a657610378565b8063182df0f51161031a57806326782247116102f4578063267822471461052d578063313ce567146105355780633760c5da146105535780633af9e6691461055b57610378565b8063182df0f5146104c357806323b872dd146104cb5780632608f8181461050157610378565b80630e752702116103565780630e7527021461045e578063173b99041461048d57806317bfdfbc1461049557806318160ddd146104bb57610378565b8063017e7e581461037d57806306fdde03146103a1578063095ea7b31461041e575b600080fd5b610385610a99565b604080516001600160a01b039092168252519081900360200190f35b6103a9610aa8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103e35781810151838201526020016103cb565b50505050905090810190601f1680156104105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61044a6004803603604081101561043457600080fd5b506001600160a01b038135169060200135610b35565b604080519115158252519081900360200190f35b61047b6004803603602081101561047457600080fd5b5035610ba2565b60408051918252519081900360200190f35b61047b610bb8565b61047b600480360360208110156104ab57600080fd5b50356001600160a01b0316610bbe565b61047b610c7e565b61047b610c84565b61044a600480360360608110156104e157600080fd5b506001600160a01b03813581169160208101359091169060400135610ce7565b61047b6004803603604081101561051757600080fd5b506001600160a01b038135169060200135610d59565b610385610d6f565b61053d610d7e565b6040805160ff9092168252519081900360200190f35b61047b610d87565b61047b6004803603602081101561057157600080fd5b50356001600160a01b0316610d8c565b61047b610e42565b61047b6004803603602081101561059f57600080fd5b5035610e51565b61047b600480360360208110156105bc57600080fd5b50356001600160a01b0316610e5c565b61047b610fb1565b61074760048036036101408110156105eb57600080fd5b6001600160a01b03823581169260208101358216926040820135909216916060820135919081019060a08101608082013564010000000081111561062e57600080fd5b82018360208201111561064057600080fd5b8035906020019184600183028401116401000000008311171561066257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156106b557600080fd5b8201836020820111156106c757600080fd5b803590602001918460018302840111640100000000831117156106e957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff16925050602081013590604081013590606001356001600160a01b0316610fb7565b005b6103856111e1565b61047b6004803603602081101561076757600080fd5b50356111f0565b61047b61128b565b610385611291565b61044a6112a0565b61047b6004803603602081101561079c57600080fd5b50356001600160a01b03166112b0565b61047b6112cb565b61047b600480360360208110156107ca57600080fd5b5035611381565b61047b61138c565b6103a9611392565b61047b600480360360208110156107f757600080fd5b50356001600160a01b03166113ea565b61047b611447565b61047b6004803603602081101561082557600080fd5b503561144d565b61047b6004803603602081101561084257600080fd5b50356114fc565b61047b611508565b61044a6004803603604081101561086757600080fd5b506001600160a01b038135169060200135611860565b61047b6118d1565b61047b6004803603602081101561089b57600080fd5b50356001600160a01b03166118d7565b61047b6119c2565b61047b600480360360608110156108c957600080fd5b506001600160a01b03813581169160208101359091169060400135611a61565b61047b600480360360208110156108ff57600080fd5b5035611ad2565b61047b6004803603602081101561091c57600080fd5b50356001600160a01b0316611b81565b61047b611c0d565b61095a6004803603602081101561094a57600080fd5b50356001600160a01b0316611cc9565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61047b6004803603602081101561099657600080fd5b5035611d5e565b61047b611d69565b61047b600480360360208110156109bb57600080fd5b5035611d6f565b61047b600480360360408110156109d857600080fd5b506001600160a01b0381358116916020013516611d7a565b61047b611da5565b61047b611dab565b61047b60048036036020811015610a1657600080fd5b50356001600160a01b0316611eae565b610385611ee8565b61047b60048036036060811015610a4457600080fd5b506001600160a01b03813581169160208101359160409091013516611ef7565b610385611f0f565b61047b611f23565b61047b60048036036020811015610a8a57600080fd5b5035611f87565b61044a612005565b6014546001600160a01b031681565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b820191906000526020600020905b815481529060010190602001808311610b1057829003601f168201915b505050505081565b336000818152600f602090815260408083206001600160a01b03871680855290835281842086905581518681529151939493909284927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a360019150505b92915050565b600080610bae8361200a565b509150505b919050565b60085481565b6000805460ff16610c03576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155610c15611508565b14610c60576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b610c69826113ea565b90505b6000805460ff19166001179055919050565b600d5481565b6000806000610c916120b3565b90925090506000826003811115610ca457fe5b14610ce05760405162461bcd60e51b815260040180806020018281038252603581526020018061537a6035913960400191505060405180910390fd5b9150505b90565b6000805460ff16610d2c576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155610d4233868686612162565b1490506000805460ff191660011790559392505050565b600080610d668484612470565b50949350505050565b6004546001600160a01b031681565b60035460ff1681565b606481565b6000610d96615004565b6040518060200160405280610da9611c0d565b90526001600160a01b0384166000908152600e6020526040812054919250908190610dd590849061251b565b90925090506000826003811115610de857fe5b14610e3a576040805162461bcd60e51b815260206004820152601f60248201527f62616c616e636520636f756c64206e6f742062652063616c63756c6174656400604482015290519081900360640190fd5b949350505050565b6000610e4c61256f565b905090565b6000610b9c826125ef565b60035460009061010090046001600160a01b03163314610e8957610e826001603f612683565b9050610bb3565b60055460408051623f1ee960e11b815290516001600160a01b0392831692851691627e3dd2916004808301926020929190829003018186803b158015610ece57600080fd5b505afa158015610ee2573d6000803e3d6000fd5b505050506040513d6020811015610ef857600080fd5b5051610f4b576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517f7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d9281900390910190a160005b9392505050565b600b5481565b60035461010090046001600160a01b031633146110055760405162461bcd60e51b815260040180806020018281038252602481526020018061515d6024913960400191505060405180910390fd5b6009541580156110155750600a54155b6110505760405162461bcd60e51b81526004018080602001828103825260238152602001806151816023913960400191505060405180910390fd5b6007879055866110915760405162461bcd60e51b81526004018080602001828103825260308152602001806151a46030913960400191505060405180910390fd5b600061109c8a610e5c565b905080156110f1576040805162461bcd60e51b815260206004820152601a60248201527f73657474696e6720636f6d7074726f6c6c6572206661696c6564000000000000604482015290519081900360640190fd5b6110f96126e9565b600955670de0b6b3a7640000600a55611111896126ed565b905080156111505760405162461bcd60e51b81526004018080602001828103825260228152602001806151d46022913960400191505060405180910390fd5b61115984611ad2565b506111638361144d565b5061116d826118d7565b5086516111819060019060208a0190615017565b508551611195906002906020890190615017565b50506003805460ff90951660ff199586161790555050601180546001600160a01b039099166001600160a01b031990991698909817909755600080549091166001179055505050505050565b6005546001600160a01b031681565b6000805460ff16611235576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611247611508565b9050801561126d5761126581601081111561125e57fe5b6030612683565b915050610c6c565b61127683612862565b9150506000805460ff19166001179055919050565b60095481565b6011546001600160a01b031681565b601154600160a01b900460ff1681565b6001600160a01b03166000908152600e602052604090205490565b6000805460ff16611310576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611322611508565b1461136d576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b50600b546000805460ff1916600117905590565b6000610b9c82612995565b600c5481565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b60008060006113f884612a16565b9092509050600082600381111561140b57fe5b14610faa5760405162461bcd60e51b81526004018080602001828103825260378152602001806152216037913960400191505060405180910390fd5b60135481565b60035460009061010090046001600160a01b0316331461147357610e8260016045612683565b60648211156114b35760405162461bcd60e51b81526004018080602001828103825260328152602001806152926032913960400191505060405180910390fd5b601354604080519182526020820184905280517f8f8ad53c38113665148c983a2b1e18e1ee17dc14d3db445dd231b278e96d2a249281900390910190a160138290556000610b9c565b600080610bae83612aca565b6000806115136126e9565b6009549091508082141561152c57600092505050610ce4565b600061153661256f565b600b54600c54600a54600654604080516315f2405360e01b815260048101879052602481018690526044810185905290519596509394929391926000926001600160a01b03909216916315f24053916064808301926020929190829003018186803b1580156115a457600080fd5b505afa1580156115b8573d6000803e3d6000fd5b505050506040513d60208110156115ce57600080fd5b5051905065048c2739500081111561162d576040805162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015290519081900360640190fd5b60008061163a8989612b4b565b9092509050600082600381111561164d57fe5b1461169f576040805162461bcd60e51b815260206004820152601f60248201527f636f756c64206e6f742063616c63756c61746520626c6f636b2064656c746100604482015290519081900360640190fd5b6116a7615004565b6000806000806116c560405180602001604052808a81525087612b6e565b909750945060008760038111156116d857fe5b1461170a576116f5600960068960038111156116f057fe5b612bd6565b9e505050505050505050505050505050610ce4565b611714858c61251b565b9097509350600087600381111561172757fe5b1461173f576116f5600960018960038111156116f057fe5b611749848c612c3c565b9097509250600087600381111561175c57fe5b14611774576116f5600960048960038111156116f057fe5b61178f6040518060200160405280600854815250858c612c62565b909750915060008760038111156117a257fe5b146117ba576116f5600960058960038111156116f057fe5b6117c5858a8b612c62565b909750905060008760038111156117d857fe5b146117f0576116f5600960038960038111156116f057fe5b60098e9055600a819055600b839055600c829055604080518d8152602081018690528082018390526060810185905290517f4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc049181900360800190a160009e50505050505050505050505050505090565b6000805460ff166118a5576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556118bb33338686612162565b1490506000805460ff1916600117905592915050565b600a5481565b60035460009061010090046001600160a01b031633146118fd57610e8260016045612683565b6001600160a01b038216611958576040805162461bcd60e51b815260206004820152601860248201527f6e6577466565546f206973207a65726f20616464726573730000000000000000604482015290519081900360640190fd5b601454604080516001600160a01b039283168152918416602083015280517f94bb4d51407e7df26fbe099cbeab4795bad91771448a8a498a5d22272385cf439281900390910190a1601480546001600160a01b0319166001600160a01b0384161790556000610b9c565b6006546000906001600160a01b031663b81688166119de61256f565b600b54600c546008546040518563ffffffff1660e01b81526004018085815260200184815260200183815260200182815260200194505050505060206040518083038186803b158015611a3057600080fd5b505afa158015611a44573d6000803e3d6000fd5b505050506040513d6020811015611a5a57600080fd5b5051905090565b6000805460ff16611aa6576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19169055611abc33858585612cbe565b90506000805460ff191660011790559392505050565b60035460009061010090046001600160a01b03163314611af857610e8260016045612683565b6064821115611b385760405162461bcd60e51b81526004018080602001828103825260328152602001806153486032913960400191505060405180910390fd5b601254604080519182526020820184905280517f8f8ad53c38113665148c983a2b1e18e1ee17dc14d3db445dd231b278e96d2a249281900390910190a160128290556000610b9c565b60035460009061010090046001600160a01b03163314611ba757610e8260016045612683565b600480546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9929181900390910190a16000610faa565b6000805460ff16611c52576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611c64611508565b14611caf576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b611cb7610c84565b90506000805460ff1916600117905590565b6001600160a01b0381166000908152600e6020526040812054819081908190818080611cf489612a16565b935090506000816003811115611d0657fe5b14611d245760095b975060009650869550859450611d579350505050565b611d2c6120b3565b925090506000816003811115611d3e57fe5b14611d4a576009611d0e565b5060009650919450925090505b9193509193565b6000610b9c82612f24565b61271081565b6000610b9c82612fa3565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b60125481565b6004546000906001600160a01b031633141580611dc6575033155b15611dde57611dd760016000612683565b9050610ce4565b60038054600480546001600160a01b03818116610100818102610100600160a81b0319871617968790556001600160a01b031990931690935560408051948390048216808652929095041660208401528351909391927ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc92908290030190a1600454604080516001600160a01b038085168252909216602083015280517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99281900390910190a160009250505090565b600080611eb9611508565b90508015611edf57611ed7816010811115611ed057fe5b6040612683565b915050610bb3565b610faa836126ed565b6006546001600160a01b031681565b600080611f0585858561301d565b5095945050505050565b60035461010090046001600160a01b031681565b6006546000906001600160a01b03166315f24053611f3f61256f565b600b54600c546040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b158015611a3057600080fd5b6000805460ff16611fcc576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611fde611508565b90508015611ffc57611265816010811115611ff557fe5b6046612683565b6112768361314f565b600181565b60008054819060ff16612051576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612063611508565b9050801561208e5761208181601081111561207a57fe5b6036612683565b92506000915061209f9050565b6120993333866131f7565b92509250505b6000805460ff191660011790559092909150565b600d546000908190806120ce5750506007546000915061215e565b60006120d861256f565b905060006120e4615004565b60006120f584600b54600c546135dc565b93509050600081600381111561210757fe5b1461211c5795506000945061215e9350505050565b612126838661361a565b92509050600081600381111561213857fe5b1461214d5795506000945061215e9350505050565b505160009550935061215e92505050565b9091565b600554604080516317b9b84b60e31b81523060048201526001600160a01b03868116602483015285811660448301526064820185905291516000938493169163bdcdc25891608480830192602092919082900301818787803b1580156121c757600080fd5b505af11580156121db573d6000803e3d6000fd5b505050506040513d60208110156121f157600080fd5b505190508015612210576122086003604a83612bd6565b915050610e3a565b836001600160a01b0316856001600160a01b03161415612236576122086002604b612683565b60006001600160a01b038781169087161415612255575060001961227d565b506001600160a01b038086166000908152600f60209081526040808320938a16835292905220545b60008060008061228d8589612b4b565b909450925060008460038111156122a057fe5b146122be576122b16009604b612683565b9650505050505050610e3a565b6001600160a01b038a166000908152600e60205260409020546122e19089612b4b565b909450915060008460038111156122f457fe5b14612305576122b16009604c612683565b6001600160a01b0389166000908152600e60205260409020546123289089612c3c565b9094509050600084600381111561233b57fe5b1461234c576122b16009604d612683565b6001600160a01b03808b166000908152600e6020526040808220859055918b1681522081905560001985146123a4576001600160a01b03808b166000908152600f60209081526040808320938f168352929052208390555b886001600160a01b03168a6001600160a01b03166000805160206152c48339815191528a6040518082815260200191505060405180910390a36005546040805163352b4a3f60e11b81523060048201526001600160a01b038d811660248301528c81166044830152606482018c905291519190921691636a56947e91608480830192600092919082900301818387803b15801561244057600080fd5b505af1158015612454573d6000803e3d6000fd5b5060009250612461915050565b9b9a5050505050505050505050565b60008054819060ff166124b7576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556124c9611508565b905080156124f4576124e78160108111156124e057fe5b6035612683565b9250600091506125059050565b6124ff3386866131f7565b92509250505b6000805460ff1916600117905590939092509050565b6000806000612528615004565b6125328686612b6e565b9092509050600082600381111561254557fe5b146125565750915060009050612568565b6000612561826136ca565b9350935050505b9250929050565b601154604080516370a0823160e01b815230600482015290516000926001600160a01b03169182916370a0823191602480820192602092909190829003018186803b1580156125bd57600080fd5b505afa1580156125d1573d6000803e3d6000fd5b505050506040513d60208110156125e757600080fd5b505191505090565b6000805460ff16612634576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612646611508565b905080156126645761126581601081111561265d57fe5b604e612683565b61266d836136d9565b509150506000805460ff19166001179055919050565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa08360108111156126b257fe5b8360508111156126be57fe5b604080519283526020830191909152600082820152519081900360600190a1826010811115610faa57fe5b4390565b600354600090819061010090046001600160a01b0316331461271557611ed760016042612683565b61271d6126e9565b6009541461273157611ed7600a6041612683565b600660009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561278257600080fd5b505afa158015612796573d6000803e3d6000fd5b505050506040513d60208110156127ac57600080fd5b50516127ff576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a16000610faa565b600354600090819061010090046001600160a01b0316331461288a57611ed760016031612683565b6128926126e9565b600954146128a657611ed7600a6033612683565b826128af61256f565b10156128c157611ed7600e6032612683565b600c548311156128d757611ed760026034612683565b50600c548281039081111561291d5760405162461bcd60e51b815260040180806020018281038252602481526020018061540b6024913960400191505060405180910390fd5b600c81905560035461293d9061010090046001600160a01b0316846137c1565b600354604080516101009092046001600160a01b0316825260208201859052818101839052517f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e916060908290030190a16000610faa565b6000805460ff166129da576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556129ec611508565b90508015612a0a57611265816010811115612a0357fe5b6027612683565b611276336000856138b8565b6001600160a01b038116600090815260106020526040812080548291829182918291612a4d575060009450849350612ac592505050565b612a5d8160000154600a54613ec2565b90945092506000846003811115612a7057fe5b14612a85575091935060009250612ac5915050565b612a93838260010154613f01565b90945091506000846003811115612aa657fe5b14612abb575091935060009250612ac5915050565b5060009450925050505b915091565b60008054819060ff16612b11576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612b23611508565b90508015612b4157612081816010811115612b3a57fe5b601e612683565b6120993385613f2c565b600080838311612b62575060009050818303612568565b50600390506000612568565b6000612b78615004565b600080612b89866000015186613ec2565b90925090506000826003811115612b9c57fe5b14612bbb57506040805160208101909152600081529092509050612568565b60408051602081019091529081526000969095509350505050565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0846010811115612c0557fe5b846050811115612c1157fe5b604080519283526020830191909152818101859052519081900360600190a1836010811115610e3a57fe5b600080838301848110612c5457600092509050612568565b506002915060009050612568565b6000806000612c6f615004565b612c798787612b6e565b90925090506000826003811115612c8c57fe5b14612c9d5750915060009050612cb6565b612caf612ca9826136ca565b86612c3c565b9350935050505b935093915050565b6005546040805163d02f735160e01b81523060048201526001600160a01b038781166024830152868116604483015285811660648301526084820185905291516000938493169163d02f73519160a480830192602092919082900301818787803b158015612d2b57600080fd5b505af1158015612d3f573d6000803e3d6000fd5b505050506040513d6020811015612d5557600080fd5b505190508015612d6c576122086003601b83612bd6565b846001600160a01b0316846001600160a01b03161415612d92576122086006601c612683565b6001600160a01b0384166000908152600e602052604081205481908190612db99087612b4b565b90935091506000836003811115612dcc57fe5b14612def57612de46009601a8560038111156116f057fe5b945050505050610e3a565b6001600160a01b0388166000908152600e6020526040902054612e129087612c3c565b90935090506000836003811115612e2557fe5b14612e3d57612de4600960198560038111156116f057fe5b6001600160a01b038088166000818152600e60209081526040808320879055938c168083529184902085905583518a8152935191936000805160206152c4833981519152929081900390910190a360055460408051636d35bf9160e01b81523060048201526001600160a01b038c811660248301528b811660448301528a81166064830152608482018a905291519190921691636d35bf919160a480830192600092919082900301818387803b158015612ef657600080fd5b505af1158015612f0a573d6000803e3d6000fd5b5060009250612f17915050565b9998505050505050505050565b6000805460ff16612f69576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612f7b611508565b90508015612f9957611265816010811115612f9257fe5b6008612683565b611276338461438b565b6000805460ff16612fe8576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612ffa611508565b9050801561301157611265816010811115612a0357fe5b611276338460006138b8565b60008054819060ff16613064576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155613076611508565b905080156130a15761309481601081111561308d57fe5b600f612683565b9250600091506131389050565b836001600160a01b031663a6afed956040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156130dc57600080fd5b505af11580156130f0573d6000803e3d6000fd5b505050506040513d602081101561310657600080fd5b5051905080156131265761309481601081111561311f57fe5b6010612683565b613132338787876147c6565b92509250505b6000805460ff191660011790559094909350915050565b60035460009061010090046001600160a01b0316331461317557610e8260016047612683565b61317d6126e9565b6009541461319157610e82600a6048612683565b670de0b6b3a76400008211156131ad57610e8260026049612683565b6008805490839055604080518281526020810185905281517faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460929181900390910190a16000610faa565b60055460408051631200453160e11b81523060048201526001600160a01b0386811660248301528581166044830152606482018590529151600093849384939116916324008a629160848082019260209290919082900301818787803b15801561326057600080fd5b505af1158015613274573d6000803e3d6000fd5b505050506040513d602081101561328a57600080fd5b5051905080156132ae576132a16003603883612bd6565b925060009150612cb69050565b6132b66126e9565b600954146132ca576132a1600a6039612683565b6132d2615095565b6001600160a01b03861660009081526010602052604090206001015460608201526132fc86612a16565b608083018190526020830182600381111561331357fe5b600381111561331e57fe5b905250600090508160200151600381111561333557fe5b1461335f5761335160096037836020015160038111156116f057fe5b935060009250612cb6915050565b6000198514156133785760808101516040820152613380565b604081018590525b61338e878260400151614d49565b60e0820181905260808201516133a391612b4b565b60a08301819052602083018260038111156133ba57fe5b60038111156133c557fe5b90525060009050816020015160038111156133dc57fe5b146134185760405162461bcd60e51b815260040180806020018281038252603a815260200180615258603a913960400191505060405180910390fd5b613428600b548260e00151612b4b565b60c083018190526020830182600381111561343f57fe5b600381111561344a57fe5b905250600090508160200151600381111561346157fe5b1461349d5760405162461bcd60e51b81526004018080602001828103825260318152602001806152e46031913960400191505060405180910390fd5b60a080820180516001600160a01b03808a16600081815260106020908152604091829020948555600a5460019095019490945560c0870151600b81905560e088015195518251948f16855294840192909252828101949094526060820192909252608081019190915290517f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1929181900390910190a160055460e0820151606083015160408051631ededc9160e01b81523060048201526001600160a01b038c811660248301528b8116604483015260648201949094526084810192909252519190921691631ededc919160a480830192600092919082900301818387803b1580156135a857600080fd5b505af11580156135bc573d6000803e3d6000fd5b50600092506135c9915050565b8160e00151935093505050935093915050565b6000806000806135ec8787612c3c565b909250905060008260038111156135ff57fe5b146136105750915060009050612cb6565b612caf8186612b4b565b6000613624615004565b60008061363986670de0b6b3a7640000613ec2565b9092509050600082600381111561364c57fe5b1461366b57506040805160208101909152600081529092509050612568565b6000806136788388613f01565b9092509050600082600381111561368b57fe5b146136ad57506040805160208101909152600081529094509250612568915050565b604080516020810190915290815260009890975095505050505050565b51670de0b6b3a7640000900490565b6000806000806136e76126e9565b60095414613706576136fb600a604f612683565b93509150612ac59050565b6137103386614d49565b905080600c54019150600c54821015613770576040805162461bcd60e51b815260206004820181905260248201527f61646420726573657276657320756e6578706563746564206f766572666c6f77604482015290519081900360640190fd5b600c829055604080513381526020810183905280820184905290517fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc59181900360600190a160009350915050915091565b6011546040805163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905291519190921691829163a9059cbb9160448082019260009290919082900301818387803b15801561381957600080fd5b505af115801561382d573d6000803e3d6000fd5b5050505060003d60008114613849576020811461385357600080fd5b600019915061385f565b60206000803e60005191505b50806138b2576040805162461bcd60e51b815260206004820152601960248201527f544f4b454e5f5452414e534645525f4f55545f4641494c454400000000000000604482015290519081900360640190fd5b50505050565b60008215806138c5575081155b6139005760405162461bcd60e51b81526004018080602001828103825260348152602001806153d76034913960400191505060405180910390fd5b6139086150db565b6139106120b3565b604083018190526020830182600381111561392757fe5b600381111561393257fe5b905250600090508160200151600381111561394957fe5b1461396d576139656009602b836020015160038111156116f057fe5b915050610faa565b83156139ee576060810184905260408051602081018252908201518152613994908561251b565b60808301819052602083018260038111156139ab57fe5b60038111156139b657fe5b90525060009050816020015160038111156139cd57fe5b146139e95761396560096029836020015160038111156116f057fe5b613a67565b613a0a8360405180602001604052808460400151815250614f93565b6060830181905260208301826003811115613a2157fe5b6003811115613a2c57fe5b9052506000905081602001516003811115613a4357fe5b14613a5f576139656009602a836020015160038111156116f057fe5b608081018390525b60055460608201516040805163eabe7d9160e01b81523060048201526001600160a01b03898116602483015260448201939093529051600093929092169163eabe7d919160648082019260209290919082900301818787803b158015613acc57600080fd5b505af1158015613ae0573d6000803e3d6000fd5b505050506040513d6020811015613af657600080fd5b505190508015613b1657613b0d6003602883612bd6565b92505050610faa565b613b1e6126e9565b60095414613b3257613b0d600a602c612683565b613b42600d548360600151612b4b565b60a0840181905260208401826003811115613b5957fe5b6003811115613b6457fe5b9052506000905082602001516003811115613b7b57fe5b14613b9757613b0d6009602e846020015160038111156116f057fe5b6001600160a01b0386166000908152600e60205260409020546060830151613bbf9190612b4b565b60c0840181905260208401826003811115613bd657fe5b6003811115613be157fe5b9052506000905082602001516003811115613bf857fe5b14613c1457613b0d6009602d846020015160038111156116f057fe5b8160800151613c2161256f565b1015613c3357613b0d600e602f612683565b60808201516013546000918291613c4a9190613ec2565b85602001819450826003811115613c5d57fe5b6003811115613c6857fe5b9052506000905084602001516003811115613c7f57fe5b14613ca657613c9b6009602d866020015160038111156116f057fe5b945050505050610faa565b613cb282612710613f01565b85602001819450826003811115613cc557fe5b6003811115613cd057fe5b9052506000905084602001516003811115613ce757fe5b14613d0357613c9b6009602d866020015160038111156116f057fe5b613d11846080015183612b4b565b85602001819350826003811115613d2457fe5b6003811115613d2f57fe5b9052506000905084602001516003811115613d4657fe5b14613d6257613c9b6009602d866020015160038111156116f057fe5b613d6c88826137c1565b601454613d82906001600160a01b0316836137c1565b60a0840151600d5560c08401516001600160a01b0389166000818152600e60209081526040918290209390935560608701518151908152905130936000805160206152c4833981519152928290030190a36080840151606080860151604080516001600160a01b038d168152602081019490945283810191909152517fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9299281900390910190a160055460808501516060860151604080516351dff98960e01b81523060048201526001600160a01b038d81166024830152604482019490945260648101929092525191909216916351dff98991608480830192600092919082900301818387803b158015613e9557600080fd5b505af1158015613ea9573d6000803e3d6000fd5b5060009250613eb6915050565b98975050505050505050565b60008083613ed557506000905080612568565b83830283858281613ee257fe5b0414613ef657506002915060009050612568565b600092509050612568565b60008082613f155750600190506000612568565b6000838581613f2057fe5b04915091509250929050565b60055460408051634ef4c3e160e01b81523060048201526001600160a01b03858116602483015260448201859052915160009384938493911691634ef4c3e19160648082019260209290919082900301818787803b158015613f8d57600080fd5b505af1158015613fa1573d6000803e3d6000fd5b505050506040513d6020811015613fb757600080fd5b505190508015613fdb57613fce6003601f83612bd6565b9250600091506125689050565b613fe36126e9565b60095414613ff757613fce600a6022612683565b613fff6150db565b6140076120b3565b604083018190526020830182600381111561401e57fe5b600381111561402957fe5b905250600090508160200151600381111561404057fe5b1461406a5761405c60096021836020015160038111156116f057fe5b935060009250612568915050565b6140748686614d49565b60c08201819052604080516020810182529083015181526140959190614f93565b60608301819052602083018260038111156140ac57fe5b60038111156140b757fe5b90525060009050816020015160038111156140ce57fe5b14614120576040805162461bcd60e51b815260206004820181905260248201527f4d494e545f45584348414e47455f43414c43554c4154494f4e5f4641494c4544604482015290519081900360640190fd5b614130600d548260600151612c3c565b608083018190526020830182600381111561414757fe5b600381111561415257fe5b905250600090508160200151600381111561416957fe5b146141a55760405162461bcd60e51b81526004018080602001828103825260288152602001806153af6028913960400191505060405180910390fd5b6001600160a01b0386166000908152600e602052604090205460608201516141cd9190612c3c565b60a08301819052602083018260038111156141e457fe5b60038111156141ef57fe5b905250600090508160200151600381111561420657fe5b146142425760405162461bcd60e51b815260040180806020018281038252602b8152602001806151f6602b913960400191505060405180910390fd5b6080810151600d5560a08101516001600160a01b0387166000818152600e60209081526040918290209390935560c084015160608086015183519485529484019190915282820193909352517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f929181900390910190a1606081015160408051918252516001600160a01b0388169130916000805160206152c48339815191529181900360200190a360055460c08201516060830151604080516341c728b960e01b81523060048201526001600160a01b038b81166024830152604482019490945260648101929092525191909216916341c728b991608480830192600092919082900301818387803b15801561435857600080fd5b505af115801561436c573d6000803e3d6000fd5b5060009250614379915050565b8160c001519350935050509250929050565b6005546040805163368f515360e21b81523060048201526001600160a01b0385811660248301526044820185905291516000938493169163da3d454c91606480830192602092919082900301818787803b1580156143e857600080fd5b505af11580156143fc573d6000803e3d6000fd5b505050506040513d602081101561441257600080fd5b505190508015614431576144296003600e83612bd6565b915050610b9c565b6144396126e9565b6009541461444c57614429600a80612683565b8261445561256f565b101561446757614429600e6009612683565b61446f615119565b61447885612a16565b602083018190528282600381111561448c57fe5b600381111561449757fe5b90525060009050815160038111156144ab57fe5b146144d0576144c760096007836000015160038111156116f057fe5b92505050610b9c565b6144de816020015185612c3c565b60408301819052828260038111156144f257fe5b60038111156144fd57fe5b905250600090508151600381111561451157fe5b1461452d576144c76009600c836000015160038111156116f057fe5b614539600b5485612c3c565b606083018190528282600381111561454d57fe5b600381111561455857fe5b905250600090508151600381111561456c57fe5b14614588576144c76009600b836000015160038111156116f057fe5b601254600090819061459b908790613ec2565b925082848260038111156145ab57fe5b60038111156145b657fe5b90525060009050835160038111156145ca57fe5b146145f1576145e66009600c856000015160038111156116f057fe5b945050505050610b9c565b6145fd82612710613f01565b9250828482600381111561460d57fe5b600381111561461857fe5b905250600090508351600381111561462c57fe5b14614648576145e66009600c856000015160038111156116f057fe5b6146528683612b4b565b9150818482600381111561466257fe5b600381111561466d57fe5b905250600090508351600381111561468157fe5b1461469d576145e66009600c856000015160038111156116f057fe5b6146a787826137c1565b6014546146bd906001600160a01b0316836137c1565b604080840180516001600160a01b038a1660008181526010602090815290859020928355600a54600190930192909255606080880151600b819055935185519283529282018b9052818501929092529081019190915290517f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab809181900360800190a160055460408051635c77860560e01b81523060048201526001600160a01b038a81166024830152604482018a905291519190921691635c77860591606480830192600092919082900301818387803b15801561479a57600080fd5b505af11580156147ae573d6000803e3d6000fd5b50600092506147bb915050565b979650505050505050565b60055460408051632fe3f38f60e11b81523060048201526001600160a01b0384811660248301528781166044830152868116606483015260848201869052915160009384938493911691635fc7e71e9160a48082019260209290919082900301818787803b15801561483757600080fd5b505af115801561484b573d6000803e3d6000fd5b505050506040513d602081101561486157600080fd5b505190508015614885576148786003601283612bd6565b925060009150614d409050565b61488d6126e9565b600954146148a157614878600a6016612683565b6148a96126e9565b846001600160a01b0316636c540baf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156148e257600080fd5b505afa1580156148f6573d6000803e3d6000fd5b505050506040513d602081101561490c57600080fd5b50511461491f57614878600a6011612683565b866001600160a01b0316866001600160a01b031614156149455761487860066017612683565b846149565761487860076015612683565b60001985141561496c5761487860076014612683565b60008061497a8989896131f7565b909250905081156149aa5761499b82601081111561499457fe5b6018612683565b945060009350614d4092505050565b6005546040805163c488847b60e01b81523060048201526001600160a01b038981166024830152604482018590528251600094859492169263c488847b926064808301939192829003018186803b158015614a0457600080fd5b505afa158015614a18573d6000803e3d6000fd5b505050506040513d6040811015614a2e57600080fd5b50805160209091015190925090508115614a795760405162461bcd60e51b81526004018080602001828103825260338152602001806153156033913960400191505060405180910390fd5b80886001600160a01b03166370a082318c6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015614ad057600080fd5b505afa158015614ae4573d6000803e3d6000fd5b505050506040513d6020811015614afa57600080fd5b50511015614b4f576040805162461bcd60e51b815260206004820152601860248201527f4c49515549444154455f5345495a455f544f4f5f4d5543480000000000000000604482015290519081900360640190fd5b60006001600160a01b038916301415614b7557614b6e308d8d85612cbe565b9050614bff565b6040805163b2a02ff160e01b81526001600160a01b038e811660048301528d81166024830152604482018590529151918b169163b2a02ff1916064808201926020929091908290030181600087803b158015614bd057600080fd5b505af1158015614be4573d6000803e3d6000fd5b505050506040513d6020811015614bfa57600080fd5b505190505b8015614c49576040805162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b03808f168252808e1660208301528183018790528b1660608201526080810184905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a1600554604080516347ef3b3b60e01b81523060048201526001600160a01b038c811660248301528f811660448301528e811660648301526084820188905260a48201869052915191909216916347ef3b3b9160c480830192600092919082900301818387803b158015614d1457600080fd5b505af1158015614d28573d6000803e3d6000fd5b5060009250614d35915050565b975092955050505050505b94509492505050565b601154604080516370a0823160e01b815230600482015290516000926001600160a01b031691839183916370a08231916024808301926020929190829003018186803b158015614d9857600080fd5b505afa158015614dac573d6000803e3d6000fd5b505050506040513d6020811015614dc257600080fd5b5051604080516323b872dd60e01b81526001600160a01b038881166004830152306024830152604482018890529151929350908416916323b872dd9160648082019260009290919082900301818387803b158015614e1f57600080fd5b505af1158015614e33573d6000803e3d6000fd5b5050505060003d60008114614e4f5760208114614e5957600080fd5b6000199150614e65565b60206000803e60005191505b5080614eb8576040805162461bcd60e51b815260206004820152601860248201527f544f4b454e5f5452414e534645525f494e5f4641494c45440000000000000000604482015290519081900360640190fd5b601154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015614f0357600080fd5b505afa158015614f17573d6000803e3d6000fd5b505050506040513d6020811015614f2d57600080fd5b5051905082811015614f86576040805162461bcd60e51b815260206004820152601a60248201527f544f4b454e5f5452414e534645525f494e5f4f564552464c4f57000000000000604482015290519081900360640190fd5b9190910395945050505050565b6000806000614fa0615004565b61253286866000614faf615004565b600080614fc4670de0b6b3a764000087613ec2565b90925090506000826003811115614fd757fe5b14614ff657506040805160208101909152600081529092509050612568565b61256181866000015161361a565b6040518060200160405280600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061505857805160ff1916838001178555615085565b82800160010185558215615085579182015b8281111561508557825182559160200191906001019061506a565b50615091929150615142565b5090565b6040805161010081019091528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160e0810190915280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b604080516080810190915280600081526020016000815260200160008152602001600081525090565b610ce491905b80821115615091576000815560010161514856fe6f6e6c792061646d696e206d617920696e697469616c697a6520746865206d61726b65746d61726b6574206d6179206f6e6c7920626520696e697469616c697a6564206f6e6365696e697469616c2065786368616e67652072617465206d7573742062652067726561746572207468616e207a65726f2e73657474696e6720696e7465726573742072617465206d6f64656c206661696c65644d494e545f4e45575f4143434f554e545f42414c414e43455f43414c43554c4154494f4e5f4641494c4544626f72726f7742616c616e636553746f7265643a20626f72726f7742616c616e636553746f726564496e7465726e616c206661696c656452455041595f424f52524f575f4e45575f4143434f554e545f424f52524f575f42414c414e43455f43414c43554c4154494f4e5f4641494c45446e657752656465656d4665652069732067726561746572207468616e204d41585f424f52524f575f52454445454d5f464545ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef52455041595f424f52524f575f4e45575f544f54414c5f42414c414e43455f43414c43554c4154494f4e5f4641494c45444c49515549444154455f434f4d5054524f4c4c45525f43414c43554c4154455f414d4f554e545f5345495a455f4641494c45446e6577426f72726f774665652069732067726561746572207468616e204d41585f424f52524f575f52454445454d5f46454565786368616e67655261746553746f7265643a2065786368616e67655261746553746f726564496e7465726e616c206661696c65644d494e545f4e45575f544f54414c5f535550504c595f43414c43554c4154494f4e5f4641494c45446f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416d6f756e74496e206d757374206265207a65726f72656475636520726573657276657320756e657870656374656420756e646572666c6f77a265627a7a72315820180849093420440f5811ab05f6a40dd42b5f0d592db05297a823e53ca360e2f864736f6c63430005110032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103785760003560e01c806395d89b41116101d3578063c37f68e211610104578063f2b3abbd116100a2578063f851a4401161007c578063f851a44014610a64578063f8f9da2814610a6c578063fca7820b14610a74578063fe9c44ae14610a9157610378565b8063f2b3abbd14610a00578063f3fdb15a14610a26578063f5e3c46214610a2e57610378565b8063db006a75116100de578063db006a75146109a5578063dd62ed3e146109c2578063e626648a146109f0578063e9c714f2146109f857610378565b8063c37f68e214610934578063c5ebeaec14610980578063ce1aad231461099d57610378565b8063aa5af0fd11610171578063b2a02ff11161014b578063b2a02ff1146108b3578063b56f50d2146108e9578063b71d1a0c14610906578063bd6d894d1461092c57610378565b8063aa5af0fd1461087d578063ac49415d14610885578063ae9d70b0146108ab57610378565b8063970225d7116101ad578063970225d71461080f578063a0712d681461082c578063a6afed9514610849578063a9059cbb1461085157610378565b806395d89b41146107d957806395dd9193146107e1578063965fa21e1461080757610378565b80633b1d21a2116102ad5780636c540baf1161024b57806370a082311161022557806370a082311461078657806373acee98146107ac578063852a12e3146107b45780638f840ddd146107d157610378565b80636c540baf1461076e5780636f307dc3146107765780636f84cc7a1461077e57610378565b806347bd37181161028757806347bd3718146105cc5780635f113ed1146105d45780635fe3b56714610749578063601a0bf11461075157610378565b80633b1d21a2146105815780633e941010146105895780634576b5db146105a657610378565b8063182df0f51161031a57806326782247116102f4578063267822471461052d578063313ce567146105355780633760c5da146105535780633af9e6691461055b57610378565b8063182df0f5146104c357806323b872dd146104cb5780632608f8181461050157610378565b80630e752702116103565780630e7527021461045e578063173b99041461048d57806317bfdfbc1461049557806318160ddd146104bb57610378565b8063017e7e581461037d57806306fdde03146103a1578063095ea7b31461041e575b600080fd5b610385610a99565b604080516001600160a01b039092168252519081900360200190f35b6103a9610aa8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103e35781810151838201526020016103cb565b50505050905090810190601f1680156104105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61044a6004803603604081101561043457600080fd5b506001600160a01b038135169060200135610b35565b604080519115158252519081900360200190f35b61047b6004803603602081101561047457600080fd5b5035610ba2565b60408051918252519081900360200190f35b61047b610bb8565b61047b600480360360208110156104ab57600080fd5b50356001600160a01b0316610bbe565b61047b610c7e565b61047b610c84565b61044a600480360360608110156104e157600080fd5b506001600160a01b03813581169160208101359091169060400135610ce7565b61047b6004803603604081101561051757600080fd5b506001600160a01b038135169060200135610d59565b610385610d6f565b61053d610d7e565b6040805160ff9092168252519081900360200190f35b61047b610d87565b61047b6004803603602081101561057157600080fd5b50356001600160a01b0316610d8c565b61047b610e42565b61047b6004803603602081101561059f57600080fd5b5035610e51565b61047b600480360360208110156105bc57600080fd5b50356001600160a01b0316610e5c565b61047b610fb1565b61074760048036036101408110156105eb57600080fd5b6001600160a01b03823581169260208101358216926040820135909216916060820135919081019060a08101608082013564010000000081111561062e57600080fd5b82018360208201111561064057600080fd5b8035906020019184600183028401116401000000008311171561066257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156106b557600080fd5b8201836020820111156106c757600080fd5b803590602001918460018302840111640100000000831117156106e957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff16925050602081013590604081013590606001356001600160a01b0316610fb7565b005b6103856111e1565b61047b6004803603602081101561076757600080fd5b50356111f0565b61047b61128b565b610385611291565b61044a6112a0565b61047b6004803603602081101561079c57600080fd5b50356001600160a01b03166112b0565b61047b6112cb565b61047b600480360360208110156107ca57600080fd5b5035611381565b61047b61138c565b6103a9611392565b61047b600480360360208110156107f757600080fd5b50356001600160a01b03166113ea565b61047b611447565b61047b6004803603602081101561082557600080fd5b503561144d565b61047b6004803603602081101561084257600080fd5b50356114fc565b61047b611508565b61044a6004803603604081101561086757600080fd5b506001600160a01b038135169060200135611860565b61047b6118d1565b61047b6004803603602081101561089b57600080fd5b50356001600160a01b03166118d7565b61047b6119c2565b61047b600480360360608110156108c957600080fd5b506001600160a01b03813581169160208101359091169060400135611a61565b61047b600480360360208110156108ff57600080fd5b5035611ad2565b61047b6004803603602081101561091c57600080fd5b50356001600160a01b0316611b81565b61047b611c0d565b61095a6004803603602081101561094a57600080fd5b50356001600160a01b0316611cc9565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61047b6004803603602081101561099657600080fd5b5035611d5e565b61047b611d69565b61047b600480360360208110156109bb57600080fd5b5035611d6f565b61047b600480360360408110156109d857600080fd5b506001600160a01b0381358116916020013516611d7a565b61047b611da5565b61047b611dab565b61047b60048036036020811015610a1657600080fd5b50356001600160a01b0316611eae565b610385611ee8565b61047b60048036036060811015610a4457600080fd5b506001600160a01b03813581169160208101359160409091013516611ef7565b610385611f0f565b61047b611f23565b61047b60048036036020811015610a8a57600080fd5b5035611f87565b61044a612005565b6014546001600160a01b031681565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b820191906000526020600020905b815481529060010190602001808311610b1057829003601f168201915b505050505081565b336000818152600f602090815260408083206001600160a01b03871680855290835281842086905581518681529151939493909284927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a360019150505b92915050565b600080610bae8361200a565b509150505b919050565b60085481565b6000805460ff16610c03576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155610c15611508565b14610c60576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b610c69826113ea565b90505b6000805460ff19166001179055919050565b600d5481565b6000806000610c916120b3565b90925090506000826003811115610ca457fe5b14610ce05760405162461bcd60e51b815260040180806020018281038252603581526020018061537a6035913960400191505060405180910390fd5b9150505b90565b6000805460ff16610d2c576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155610d4233868686612162565b1490506000805460ff191660011790559392505050565b600080610d668484612470565b50949350505050565b6004546001600160a01b031681565b60035460ff1681565b606481565b6000610d96615004565b6040518060200160405280610da9611c0d565b90526001600160a01b0384166000908152600e6020526040812054919250908190610dd590849061251b565b90925090506000826003811115610de857fe5b14610e3a576040805162461bcd60e51b815260206004820152601f60248201527f62616c616e636520636f756c64206e6f742062652063616c63756c6174656400604482015290519081900360640190fd5b949350505050565b6000610e4c61256f565b905090565b6000610b9c826125ef565b60035460009061010090046001600160a01b03163314610e8957610e826001603f612683565b9050610bb3565b60055460408051623f1ee960e11b815290516001600160a01b0392831692851691627e3dd2916004808301926020929190829003018186803b158015610ece57600080fd5b505afa158015610ee2573d6000803e3d6000fd5b505050506040513d6020811015610ef857600080fd5b5051610f4b576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517f7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d9281900390910190a160005b9392505050565b600b5481565b60035461010090046001600160a01b031633146110055760405162461bcd60e51b815260040180806020018281038252602481526020018061515d6024913960400191505060405180910390fd5b6009541580156110155750600a54155b6110505760405162461bcd60e51b81526004018080602001828103825260238152602001806151816023913960400191505060405180910390fd5b6007879055866110915760405162461bcd60e51b81526004018080602001828103825260308152602001806151a46030913960400191505060405180910390fd5b600061109c8a610e5c565b905080156110f1576040805162461bcd60e51b815260206004820152601a60248201527f73657474696e6720636f6d7074726f6c6c6572206661696c6564000000000000604482015290519081900360640190fd5b6110f96126e9565b600955670de0b6b3a7640000600a55611111896126ed565b905080156111505760405162461bcd60e51b81526004018080602001828103825260228152602001806151d46022913960400191505060405180910390fd5b61115984611ad2565b506111638361144d565b5061116d826118d7565b5086516111819060019060208a0190615017565b508551611195906002906020890190615017565b50506003805460ff90951660ff199586161790555050601180546001600160a01b039099166001600160a01b031990991698909817909755600080549091166001179055505050505050565b6005546001600160a01b031681565b6000805460ff16611235576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611247611508565b9050801561126d5761126581601081111561125e57fe5b6030612683565b915050610c6c565b61127683612862565b9150506000805460ff19166001179055919050565b60095481565b6011546001600160a01b031681565b601154600160a01b900460ff1681565b6001600160a01b03166000908152600e602052604090205490565b6000805460ff16611310576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611322611508565b1461136d576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b50600b546000805460ff1916600117905590565b6000610b9c82612995565b600c5481565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b60008060006113f884612a16565b9092509050600082600381111561140b57fe5b14610faa5760405162461bcd60e51b81526004018080602001828103825260378152602001806152216037913960400191505060405180910390fd5b60135481565b60035460009061010090046001600160a01b0316331461147357610e8260016045612683565b60648211156114b35760405162461bcd60e51b81526004018080602001828103825260328152602001806152926032913960400191505060405180910390fd5b601354604080519182526020820184905280517f8f8ad53c38113665148c983a2b1e18e1ee17dc14d3db445dd231b278e96d2a249281900390910190a160138290556000610b9c565b600080610bae83612aca565b6000806115136126e9565b6009549091508082141561152c57600092505050610ce4565b600061153661256f565b600b54600c54600a54600654604080516315f2405360e01b815260048101879052602481018690526044810185905290519596509394929391926000926001600160a01b03909216916315f24053916064808301926020929190829003018186803b1580156115a457600080fd5b505afa1580156115b8573d6000803e3d6000fd5b505050506040513d60208110156115ce57600080fd5b5051905065048c2739500081111561162d576040805162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015290519081900360640190fd5b60008061163a8989612b4b565b9092509050600082600381111561164d57fe5b1461169f576040805162461bcd60e51b815260206004820152601f60248201527f636f756c64206e6f742063616c63756c61746520626c6f636b2064656c746100604482015290519081900360640190fd5b6116a7615004565b6000806000806116c560405180602001604052808a81525087612b6e565b909750945060008760038111156116d857fe5b1461170a576116f5600960068960038111156116f057fe5b612bd6565b9e505050505050505050505050505050610ce4565b611714858c61251b565b9097509350600087600381111561172757fe5b1461173f576116f5600960018960038111156116f057fe5b611749848c612c3c565b9097509250600087600381111561175c57fe5b14611774576116f5600960048960038111156116f057fe5b61178f6040518060200160405280600854815250858c612c62565b909750915060008760038111156117a257fe5b146117ba576116f5600960058960038111156116f057fe5b6117c5858a8b612c62565b909750905060008760038111156117d857fe5b146117f0576116f5600960038960038111156116f057fe5b60098e9055600a819055600b839055600c829055604080518d8152602081018690528082018390526060810185905290517f4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc049181900360800190a160009e50505050505050505050505050505090565b6000805460ff166118a5576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556118bb33338686612162565b1490506000805460ff1916600117905592915050565b600a5481565b60035460009061010090046001600160a01b031633146118fd57610e8260016045612683565b6001600160a01b038216611958576040805162461bcd60e51b815260206004820152601860248201527f6e6577466565546f206973207a65726f20616464726573730000000000000000604482015290519081900360640190fd5b601454604080516001600160a01b039283168152918416602083015280517f94bb4d51407e7df26fbe099cbeab4795bad91771448a8a498a5d22272385cf439281900390910190a1601480546001600160a01b0319166001600160a01b0384161790556000610b9c565b6006546000906001600160a01b031663b81688166119de61256f565b600b54600c546008546040518563ffffffff1660e01b81526004018085815260200184815260200183815260200182815260200194505050505060206040518083038186803b158015611a3057600080fd5b505afa158015611a44573d6000803e3d6000fd5b505050506040513d6020811015611a5a57600080fd5b5051905090565b6000805460ff16611aa6576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19169055611abc33858585612cbe565b90506000805460ff191660011790559392505050565b60035460009061010090046001600160a01b03163314611af857610e8260016045612683565b6064821115611b385760405162461bcd60e51b81526004018080602001828103825260328152602001806153486032913960400191505060405180910390fd5b601254604080519182526020820184905280517f8f8ad53c38113665148c983a2b1e18e1ee17dc14d3db445dd231b278e96d2a249281900390910190a160128290556000610b9c565b60035460009061010090046001600160a01b03163314611ba757610e8260016045612683565b600480546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9929181900390910190a16000610faa565b6000805460ff16611c52576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611c64611508565b14611caf576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b611cb7610c84565b90506000805460ff1916600117905590565b6001600160a01b0381166000908152600e6020526040812054819081908190818080611cf489612a16565b935090506000816003811115611d0657fe5b14611d245760095b975060009650869550859450611d579350505050565b611d2c6120b3565b925090506000816003811115611d3e57fe5b14611d4a576009611d0e565b5060009650919450925090505b9193509193565b6000610b9c82612f24565b61271081565b6000610b9c82612fa3565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b60125481565b6004546000906001600160a01b031633141580611dc6575033155b15611dde57611dd760016000612683565b9050610ce4565b60038054600480546001600160a01b03818116610100818102610100600160a81b0319871617968790556001600160a01b031990931690935560408051948390048216808652929095041660208401528351909391927ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc92908290030190a1600454604080516001600160a01b038085168252909216602083015280517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99281900390910190a160009250505090565b600080611eb9611508565b90508015611edf57611ed7816010811115611ed057fe5b6040612683565b915050610bb3565b610faa836126ed565b6006546001600160a01b031681565b600080611f0585858561301d565b5095945050505050565b60035461010090046001600160a01b031681565b6006546000906001600160a01b03166315f24053611f3f61256f565b600b54600c546040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b158015611a3057600080fd5b6000805460ff16611fcc576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611fde611508565b90508015611ffc57611265816010811115611ff557fe5b6046612683565b6112768361314f565b600181565b60008054819060ff16612051576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612063611508565b9050801561208e5761208181601081111561207a57fe5b6036612683565b92506000915061209f9050565b6120993333866131f7565b92509250505b6000805460ff191660011790559092909150565b600d546000908190806120ce5750506007546000915061215e565b60006120d861256f565b905060006120e4615004565b60006120f584600b54600c546135dc565b93509050600081600381111561210757fe5b1461211c5795506000945061215e9350505050565b612126838661361a565b92509050600081600381111561213857fe5b1461214d5795506000945061215e9350505050565b505160009550935061215e92505050565b9091565b600554604080516317b9b84b60e31b81523060048201526001600160a01b03868116602483015285811660448301526064820185905291516000938493169163bdcdc25891608480830192602092919082900301818787803b1580156121c757600080fd5b505af11580156121db573d6000803e3d6000fd5b505050506040513d60208110156121f157600080fd5b505190508015612210576122086003604a83612bd6565b915050610e3a565b836001600160a01b0316856001600160a01b03161415612236576122086002604b612683565b60006001600160a01b038781169087161415612255575060001961227d565b506001600160a01b038086166000908152600f60209081526040808320938a16835292905220545b60008060008061228d8589612b4b565b909450925060008460038111156122a057fe5b146122be576122b16009604b612683565b9650505050505050610e3a565b6001600160a01b038a166000908152600e60205260409020546122e19089612b4b565b909450915060008460038111156122f457fe5b14612305576122b16009604c612683565b6001600160a01b0389166000908152600e60205260409020546123289089612c3c565b9094509050600084600381111561233b57fe5b1461234c576122b16009604d612683565b6001600160a01b03808b166000908152600e6020526040808220859055918b1681522081905560001985146123a4576001600160a01b03808b166000908152600f60209081526040808320938f168352929052208390555b886001600160a01b03168a6001600160a01b03166000805160206152c48339815191528a6040518082815260200191505060405180910390a36005546040805163352b4a3f60e11b81523060048201526001600160a01b038d811660248301528c81166044830152606482018c905291519190921691636a56947e91608480830192600092919082900301818387803b15801561244057600080fd5b505af1158015612454573d6000803e3d6000fd5b5060009250612461915050565b9b9a5050505050505050505050565b60008054819060ff166124b7576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556124c9611508565b905080156124f4576124e78160108111156124e057fe5b6035612683565b9250600091506125059050565b6124ff3386866131f7565b92509250505b6000805460ff1916600117905590939092509050565b6000806000612528615004565b6125328686612b6e565b9092509050600082600381111561254557fe5b146125565750915060009050612568565b6000612561826136ca565b9350935050505b9250929050565b601154604080516370a0823160e01b815230600482015290516000926001600160a01b03169182916370a0823191602480820192602092909190829003018186803b1580156125bd57600080fd5b505afa1580156125d1573d6000803e3d6000fd5b505050506040513d60208110156125e757600080fd5b505191505090565b6000805460ff16612634576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612646611508565b905080156126645761126581601081111561265d57fe5b604e612683565b61266d836136d9565b509150506000805460ff19166001179055919050565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa08360108111156126b257fe5b8360508111156126be57fe5b604080519283526020830191909152600082820152519081900360600190a1826010811115610faa57fe5b4390565b600354600090819061010090046001600160a01b0316331461271557611ed760016042612683565b61271d6126e9565b6009541461273157611ed7600a6041612683565b600660009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561278257600080fd5b505afa158015612796573d6000803e3d6000fd5b505050506040513d60208110156127ac57600080fd5b50516127ff576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a16000610faa565b600354600090819061010090046001600160a01b0316331461288a57611ed760016031612683565b6128926126e9565b600954146128a657611ed7600a6033612683565b826128af61256f565b10156128c157611ed7600e6032612683565b600c548311156128d757611ed760026034612683565b50600c548281039081111561291d5760405162461bcd60e51b815260040180806020018281038252602481526020018061540b6024913960400191505060405180910390fd5b600c81905560035461293d9061010090046001600160a01b0316846137c1565b600354604080516101009092046001600160a01b0316825260208201859052818101839052517f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e916060908290030190a16000610faa565b6000805460ff166129da576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556129ec611508565b90508015612a0a57611265816010811115612a0357fe5b6027612683565b611276336000856138b8565b6001600160a01b038116600090815260106020526040812080548291829182918291612a4d575060009450849350612ac592505050565b612a5d8160000154600a54613ec2565b90945092506000846003811115612a7057fe5b14612a85575091935060009250612ac5915050565b612a93838260010154613f01565b90945091506000846003811115612aa657fe5b14612abb575091935060009250612ac5915050565b5060009450925050505b915091565b60008054819060ff16612b11576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612b23611508565b90508015612b4157612081816010811115612b3a57fe5b601e612683565b6120993385613f2c565b600080838311612b62575060009050818303612568565b50600390506000612568565b6000612b78615004565b600080612b89866000015186613ec2565b90925090506000826003811115612b9c57fe5b14612bbb57506040805160208101909152600081529092509050612568565b60408051602081019091529081526000969095509350505050565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0846010811115612c0557fe5b846050811115612c1157fe5b604080519283526020830191909152818101859052519081900360600190a1836010811115610e3a57fe5b600080838301848110612c5457600092509050612568565b506002915060009050612568565b6000806000612c6f615004565b612c798787612b6e565b90925090506000826003811115612c8c57fe5b14612c9d5750915060009050612cb6565b612caf612ca9826136ca565b86612c3c565b9350935050505b935093915050565b6005546040805163d02f735160e01b81523060048201526001600160a01b038781166024830152868116604483015285811660648301526084820185905291516000938493169163d02f73519160a480830192602092919082900301818787803b158015612d2b57600080fd5b505af1158015612d3f573d6000803e3d6000fd5b505050506040513d6020811015612d5557600080fd5b505190508015612d6c576122086003601b83612bd6565b846001600160a01b0316846001600160a01b03161415612d92576122086006601c612683565b6001600160a01b0384166000908152600e602052604081205481908190612db99087612b4b565b90935091506000836003811115612dcc57fe5b14612def57612de46009601a8560038111156116f057fe5b945050505050610e3a565b6001600160a01b0388166000908152600e6020526040902054612e129087612c3c565b90935090506000836003811115612e2557fe5b14612e3d57612de4600960198560038111156116f057fe5b6001600160a01b038088166000818152600e60209081526040808320879055938c168083529184902085905583518a8152935191936000805160206152c4833981519152929081900390910190a360055460408051636d35bf9160e01b81523060048201526001600160a01b038c811660248301528b811660448301528a81166064830152608482018a905291519190921691636d35bf919160a480830192600092919082900301818387803b158015612ef657600080fd5b505af1158015612f0a573d6000803e3d6000fd5b5060009250612f17915050565b9998505050505050505050565b6000805460ff16612f69576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612f7b611508565b90508015612f9957611265816010811115612f9257fe5b6008612683565b611276338461438b565b6000805460ff16612fe8576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612ffa611508565b9050801561301157611265816010811115612a0357fe5b611276338460006138b8565b60008054819060ff16613064576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155613076611508565b905080156130a15761309481601081111561308d57fe5b600f612683565b9250600091506131389050565b836001600160a01b031663a6afed956040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156130dc57600080fd5b505af11580156130f0573d6000803e3d6000fd5b505050506040513d602081101561310657600080fd5b5051905080156131265761309481601081111561311f57fe5b6010612683565b613132338787876147c6565b92509250505b6000805460ff191660011790559094909350915050565b60035460009061010090046001600160a01b0316331461317557610e8260016047612683565b61317d6126e9565b6009541461319157610e82600a6048612683565b670de0b6b3a76400008211156131ad57610e8260026049612683565b6008805490839055604080518281526020810185905281517faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460929181900390910190a16000610faa565b60055460408051631200453160e11b81523060048201526001600160a01b0386811660248301528581166044830152606482018590529151600093849384939116916324008a629160848082019260209290919082900301818787803b15801561326057600080fd5b505af1158015613274573d6000803e3d6000fd5b505050506040513d602081101561328a57600080fd5b5051905080156132ae576132a16003603883612bd6565b925060009150612cb69050565b6132b66126e9565b600954146132ca576132a1600a6039612683565b6132d2615095565b6001600160a01b03861660009081526010602052604090206001015460608201526132fc86612a16565b608083018190526020830182600381111561331357fe5b600381111561331e57fe5b905250600090508160200151600381111561333557fe5b1461335f5761335160096037836020015160038111156116f057fe5b935060009250612cb6915050565b6000198514156133785760808101516040820152613380565b604081018590525b61338e878260400151614d49565b60e0820181905260808201516133a391612b4b565b60a08301819052602083018260038111156133ba57fe5b60038111156133c557fe5b90525060009050816020015160038111156133dc57fe5b146134185760405162461bcd60e51b815260040180806020018281038252603a815260200180615258603a913960400191505060405180910390fd5b613428600b548260e00151612b4b565b60c083018190526020830182600381111561343f57fe5b600381111561344a57fe5b905250600090508160200151600381111561346157fe5b1461349d5760405162461bcd60e51b81526004018080602001828103825260318152602001806152e46031913960400191505060405180910390fd5b60a080820180516001600160a01b03808a16600081815260106020908152604091829020948555600a5460019095019490945560c0870151600b81905560e088015195518251948f16855294840192909252828101949094526060820192909252608081019190915290517f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1929181900390910190a160055460e0820151606083015160408051631ededc9160e01b81523060048201526001600160a01b038c811660248301528b8116604483015260648201949094526084810192909252519190921691631ededc919160a480830192600092919082900301818387803b1580156135a857600080fd5b505af11580156135bc573d6000803e3d6000fd5b50600092506135c9915050565b8160e00151935093505050935093915050565b6000806000806135ec8787612c3c565b909250905060008260038111156135ff57fe5b146136105750915060009050612cb6565b612caf8186612b4b565b6000613624615004565b60008061363986670de0b6b3a7640000613ec2565b9092509050600082600381111561364c57fe5b1461366b57506040805160208101909152600081529092509050612568565b6000806136788388613f01565b9092509050600082600381111561368b57fe5b146136ad57506040805160208101909152600081529094509250612568915050565b604080516020810190915290815260009890975095505050505050565b51670de0b6b3a7640000900490565b6000806000806136e76126e9565b60095414613706576136fb600a604f612683565b93509150612ac59050565b6137103386614d49565b905080600c54019150600c54821015613770576040805162461bcd60e51b815260206004820181905260248201527f61646420726573657276657320756e6578706563746564206f766572666c6f77604482015290519081900360640190fd5b600c829055604080513381526020810183905280820184905290517fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc59181900360600190a160009350915050915091565b6011546040805163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905291519190921691829163a9059cbb9160448082019260009290919082900301818387803b15801561381957600080fd5b505af115801561382d573d6000803e3d6000fd5b5050505060003d60008114613849576020811461385357600080fd5b600019915061385f565b60206000803e60005191505b50806138b2576040805162461bcd60e51b815260206004820152601960248201527f544f4b454e5f5452414e534645525f4f55545f4641494c454400000000000000604482015290519081900360640190fd5b50505050565b60008215806138c5575081155b6139005760405162461bcd60e51b81526004018080602001828103825260348152602001806153d76034913960400191505060405180910390fd5b6139086150db565b6139106120b3565b604083018190526020830182600381111561392757fe5b600381111561393257fe5b905250600090508160200151600381111561394957fe5b1461396d576139656009602b836020015160038111156116f057fe5b915050610faa565b83156139ee576060810184905260408051602081018252908201518152613994908561251b565b60808301819052602083018260038111156139ab57fe5b60038111156139b657fe5b90525060009050816020015160038111156139cd57fe5b146139e95761396560096029836020015160038111156116f057fe5b613a67565b613a0a8360405180602001604052808460400151815250614f93565b6060830181905260208301826003811115613a2157fe5b6003811115613a2c57fe5b9052506000905081602001516003811115613a4357fe5b14613a5f576139656009602a836020015160038111156116f057fe5b608081018390525b60055460608201516040805163eabe7d9160e01b81523060048201526001600160a01b03898116602483015260448201939093529051600093929092169163eabe7d919160648082019260209290919082900301818787803b158015613acc57600080fd5b505af1158015613ae0573d6000803e3d6000fd5b505050506040513d6020811015613af657600080fd5b505190508015613b1657613b0d6003602883612bd6565b92505050610faa565b613b1e6126e9565b60095414613b3257613b0d600a602c612683565b613b42600d548360600151612b4b565b60a0840181905260208401826003811115613b5957fe5b6003811115613b6457fe5b9052506000905082602001516003811115613b7b57fe5b14613b9757613b0d6009602e846020015160038111156116f057fe5b6001600160a01b0386166000908152600e60205260409020546060830151613bbf9190612b4b565b60c0840181905260208401826003811115613bd657fe5b6003811115613be157fe5b9052506000905082602001516003811115613bf857fe5b14613c1457613b0d6009602d846020015160038111156116f057fe5b8160800151613c2161256f565b1015613c3357613b0d600e602f612683565b60808201516013546000918291613c4a9190613ec2565b85602001819450826003811115613c5d57fe5b6003811115613c6857fe5b9052506000905084602001516003811115613c7f57fe5b14613ca657613c9b6009602d866020015160038111156116f057fe5b945050505050610faa565b613cb282612710613f01565b85602001819450826003811115613cc557fe5b6003811115613cd057fe5b9052506000905084602001516003811115613ce757fe5b14613d0357613c9b6009602d866020015160038111156116f057fe5b613d11846080015183612b4b565b85602001819350826003811115613d2457fe5b6003811115613d2f57fe5b9052506000905084602001516003811115613d4657fe5b14613d6257613c9b6009602d866020015160038111156116f057fe5b613d6c88826137c1565b601454613d82906001600160a01b0316836137c1565b60a0840151600d5560c08401516001600160a01b0389166000818152600e60209081526040918290209390935560608701518151908152905130936000805160206152c4833981519152928290030190a36080840151606080860151604080516001600160a01b038d168152602081019490945283810191909152517fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9299281900390910190a160055460808501516060860151604080516351dff98960e01b81523060048201526001600160a01b038d81166024830152604482019490945260648101929092525191909216916351dff98991608480830192600092919082900301818387803b158015613e9557600080fd5b505af1158015613ea9573d6000803e3d6000fd5b5060009250613eb6915050565b98975050505050505050565b60008083613ed557506000905080612568565b83830283858281613ee257fe5b0414613ef657506002915060009050612568565b600092509050612568565b60008082613f155750600190506000612568565b6000838581613f2057fe5b04915091509250929050565b60055460408051634ef4c3e160e01b81523060048201526001600160a01b03858116602483015260448201859052915160009384938493911691634ef4c3e19160648082019260209290919082900301818787803b158015613f8d57600080fd5b505af1158015613fa1573d6000803e3d6000fd5b505050506040513d6020811015613fb757600080fd5b505190508015613fdb57613fce6003601f83612bd6565b9250600091506125689050565b613fe36126e9565b60095414613ff757613fce600a6022612683565b613fff6150db565b6140076120b3565b604083018190526020830182600381111561401e57fe5b600381111561402957fe5b905250600090508160200151600381111561404057fe5b1461406a5761405c60096021836020015160038111156116f057fe5b935060009250612568915050565b6140748686614d49565b60c08201819052604080516020810182529083015181526140959190614f93565b60608301819052602083018260038111156140ac57fe5b60038111156140b757fe5b90525060009050816020015160038111156140ce57fe5b14614120576040805162461bcd60e51b815260206004820181905260248201527f4d494e545f45584348414e47455f43414c43554c4154494f4e5f4641494c4544604482015290519081900360640190fd5b614130600d548260600151612c3c565b608083018190526020830182600381111561414757fe5b600381111561415257fe5b905250600090508160200151600381111561416957fe5b146141a55760405162461bcd60e51b81526004018080602001828103825260288152602001806153af6028913960400191505060405180910390fd5b6001600160a01b0386166000908152600e602052604090205460608201516141cd9190612c3c565b60a08301819052602083018260038111156141e457fe5b60038111156141ef57fe5b905250600090508160200151600381111561420657fe5b146142425760405162461bcd60e51b815260040180806020018281038252602b8152602001806151f6602b913960400191505060405180910390fd5b6080810151600d5560a08101516001600160a01b0387166000818152600e60209081526040918290209390935560c084015160608086015183519485529484019190915282820193909352517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f929181900390910190a1606081015160408051918252516001600160a01b0388169130916000805160206152c48339815191529181900360200190a360055460c08201516060830151604080516341c728b960e01b81523060048201526001600160a01b038b81166024830152604482019490945260648101929092525191909216916341c728b991608480830192600092919082900301818387803b15801561435857600080fd5b505af115801561436c573d6000803e3d6000fd5b5060009250614379915050565b8160c001519350935050509250929050565b6005546040805163368f515360e21b81523060048201526001600160a01b0385811660248301526044820185905291516000938493169163da3d454c91606480830192602092919082900301818787803b1580156143e857600080fd5b505af11580156143fc573d6000803e3d6000fd5b505050506040513d602081101561441257600080fd5b505190508015614431576144296003600e83612bd6565b915050610b9c565b6144396126e9565b6009541461444c57614429600a80612683565b8261445561256f565b101561446757614429600e6009612683565b61446f615119565b61447885612a16565b602083018190528282600381111561448c57fe5b600381111561449757fe5b90525060009050815160038111156144ab57fe5b146144d0576144c760096007836000015160038111156116f057fe5b92505050610b9c565b6144de816020015185612c3c565b60408301819052828260038111156144f257fe5b60038111156144fd57fe5b905250600090508151600381111561451157fe5b1461452d576144c76009600c836000015160038111156116f057fe5b614539600b5485612c3c565b606083018190528282600381111561454d57fe5b600381111561455857fe5b905250600090508151600381111561456c57fe5b14614588576144c76009600b836000015160038111156116f057fe5b601254600090819061459b908790613ec2565b925082848260038111156145ab57fe5b60038111156145b657fe5b90525060009050835160038111156145ca57fe5b146145f1576145e66009600c856000015160038111156116f057fe5b945050505050610b9c565b6145fd82612710613f01565b9250828482600381111561460d57fe5b600381111561461857fe5b905250600090508351600381111561462c57fe5b14614648576145e66009600c856000015160038111156116f057fe5b6146528683612b4b565b9150818482600381111561466257fe5b600381111561466d57fe5b905250600090508351600381111561468157fe5b1461469d576145e66009600c856000015160038111156116f057fe5b6146a787826137c1565b6014546146bd906001600160a01b0316836137c1565b604080840180516001600160a01b038a1660008181526010602090815290859020928355600a54600190930192909255606080880151600b819055935185519283529282018b9052818501929092529081019190915290517f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab809181900360800190a160055460408051635c77860560e01b81523060048201526001600160a01b038a81166024830152604482018a905291519190921691635c77860591606480830192600092919082900301818387803b15801561479a57600080fd5b505af11580156147ae573d6000803e3d6000fd5b50600092506147bb915050565b979650505050505050565b60055460408051632fe3f38f60e11b81523060048201526001600160a01b0384811660248301528781166044830152868116606483015260848201869052915160009384938493911691635fc7e71e9160a48082019260209290919082900301818787803b15801561483757600080fd5b505af115801561484b573d6000803e3d6000fd5b505050506040513d602081101561486157600080fd5b505190508015614885576148786003601283612bd6565b925060009150614d409050565b61488d6126e9565b600954146148a157614878600a6016612683565b6148a96126e9565b846001600160a01b0316636c540baf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156148e257600080fd5b505afa1580156148f6573d6000803e3d6000fd5b505050506040513d602081101561490c57600080fd5b50511461491f57614878600a6011612683565b866001600160a01b0316866001600160a01b031614156149455761487860066017612683565b846149565761487860076015612683565b60001985141561496c5761487860076014612683565b60008061497a8989896131f7565b909250905081156149aa5761499b82601081111561499457fe5b6018612683565b945060009350614d4092505050565b6005546040805163c488847b60e01b81523060048201526001600160a01b038981166024830152604482018590528251600094859492169263c488847b926064808301939192829003018186803b158015614a0457600080fd5b505afa158015614a18573d6000803e3d6000fd5b505050506040513d6040811015614a2e57600080fd5b50805160209091015190925090508115614a795760405162461bcd60e51b81526004018080602001828103825260338152602001806153156033913960400191505060405180910390fd5b80886001600160a01b03166370a082318c6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015614ad057600080fd5b505afa158015614ae4573d6000803e3d6000fd5b505050506040513d6020811015614afa57600080fd5b50511015614b4f576040805162461bcd60e51b815260206004820152601860248201527f4c49515549444154455f5345495a455f544f4f5f4d5543480000000000000000604482015290519081900360640190fd5b60006001600160a01b038916301415614b7557614b6e308d8d85612cbe565b9050614bff565b6040805163b2a02ff160e01b81526001600160a01b038e811660048301528d81166024830152604482018590529151918b169163b2a02ff1916064808201926020929091908290030181600087803b158015614bd057600080fd5b505af1158015614be4573d6000803e3d6000fd5b505050506040513d6020811015614bfa57600080fd5b505190505b8015614c49576040805162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b03808f168252808e1660208301528183018790528b1660608201526080810184905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a1600554604080516347ef3b3b60e01b81523060048201526001600160a01b038c811660248301528f811660448301528e811660648301526084820188905260a48201869052915191909216916347ef3b3b9160c480830192600092919082900301818387803b158015614d1457600080fd5b505af1158015614d28573d6000803e3d6000fd5b5060009250614d35915050565b975092955050505050505b94509492505050565b601154604080516370a0823160e01b815230600482015290516000926001600160a01b031691839183916370a08231916024808301926020929190829003018186803b158015614d9857600080fd5b505afa158015614dac573d6000803e3d6000fd5b505050506040513d6020811015614dc257600080fd5b5051604080516323b872dd60e01b81526001600160a01b038881166004830152306024830152604482018890529151929350908416916323b872dd9160648082019260009290919082900301818387803b158015614e1f57600080fd5b505af1158015614e33573d6000803e3d6000fd5b5050505060003d60008114614e4f5760208114614e5957600080fd5b6000199150614e65565b60206000803e60005191505b5080614eb8576040805162461bcd60e51b815260206004820152601860248201527f544f4b454e5f5452414e534645525f494e5f4641494c45440000000000000000604482015290519081900360640190fd5b601154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015614f0357600080fd5b505afa158015614f17573d6000803e3d6000fd5b505050506040513d6020811015614f2d57600080fd5b5051905082811015614f86576040805162461bcd60e51b815260206004820152601a60248201527f544f4b454e5f5452414e534645525f494e5f4f564552464c4f57000000000000604482015290519081900360640190fd5b9190910395945050505050565b6000806000614fa0615004565b61253286866000614faf615004565b600080614fc4670de0b6b3a764000087613ec2565b90925090506000826003811115614fd757fe5b14614ff657506040805160208101909152600081529092509050612568565b61256181866000015161361a565b6040518060200160405280600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061505857805160ff1916838001178555615085565b82800160010185558215615085579182015b8281111561508557825182559160200191906001019061506a565b50615091929150615142565b5090565b6040805161010081019091528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160e0810190915280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b604080516080810190915280600081526020016000815260200160008152602001600081525090565b610ce491905b80821115615091576000815560010161514856fe6f6e6c792061646d696e206d617920696e697469616c697a6520746865206d61726b65746d61726b6574206d6179206f6e6c7920626520696e697469616c697a6564206f6e6365696e697469616c2065786368616e67652072617465206d7573742062652067726561746572207468616e207a65726f2e73657474696e6720696e7465726573742072617465206d6f64656c206661696c65644d494e545f4e45575f4143434f554e545f42414c414e43455f43414c43554c4154494f4e5f4641494c4544626f72726f7742616c616e636553746f7265643a20626f72726f7742616c616e636553746f726564496e7465726e616c206661696c656452455041595f424f52524f575f4e45575f4143434f554e545f424f52524f575f42414c414e43455f43414c43554c4154494f4e5f4641494c45446e657752656465656d4665652069732067726561746572207468616e204d41585f424f52524f575f52454445454d5f464545ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef52455041595f424f52524f575f4e45575f544f54414c5f42414c414e43455f43414c43554c4154494f4e5f4641494c45444c49515549444154455f434f4d5054524f4c4c45525f43414c43554c4154455f414d4f554e545f5345495a455f4641494c45446e6577426f72726f774665652069732067726561746572207468616e204d41585f424f52524f575f52454445454d5f46454565786368616e67655261746553746f7265643a2065786368616e67655261746553746f726564496e7465726e616c206661696c65644d494e545f4e45575f544f54414c5f535550504c595f43414c43554c4154494f4e5f4641494c45446f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416d6f756e74496e206d757374206265207a65726f72656475636520726573657276657320756e657870656374656420756e646572666c6f77a265627a7a72315820180849093420440f5811ab05f6a40dd42b5f0d592db05297a823e53ca360e2f864736f6c63430005110032
Deployed Bytecode Sourcemap
114613:7925:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;114613:7925:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44240:28;;;:::i;:::-;;;;-1:-1:-1;;;;;44240:28:0;;;;;;;;;;;;;;4351:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4351:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52926:237;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;52926:237:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;116831:149;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;116831:149:0;;:::i;:::-;;;;;;;;;;;;;;;;5654:33;;;:::i;57175:224::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;57175:224:0;-1:-1:-1;;;;;57175:224:0;;:::i;6299:23::-;;;:::i;60020:261::-;;;:::i;52261:195::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;52261:195:0;;;;;;;;;;;;;;;;;:::i;117268:189::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;117268:189:0;;;;;;;;:::i;5078:35::-;;;:::i;4547:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;44131:48;;;:::i;54194:354::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54194:354:0;-1:-1:-1;;;;;54194:354:0;;:::i;61901:88::-;;;:::i;118410:119::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;118410:119:0;;:::i;101865:735::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;101865:735:0;-1:-1:-1;;;;;101865:735:0;;:::i;6063:24::-;;;:::i;45113:1677::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;45113:1677:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;45113:1677:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;45113:1677:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;45113:1677:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;45113:1677:0;;;;;;;;-1:-1:-1;45113:1677:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;45113:1677:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;45113:1677:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;45113:1677:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;45113:1677:0;;-1:-1:-1;;;45113:1677:0;;;;;-1:-1:-1;;45113:1677:0;;;;;;;;;;;;;-1:-1:-1;;;;;45113:1677:0;;:::i;:::-;;5204:39;;;:::i;107823:571::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;107823:571:0;;:::i;5777:30::-;;;:::i;43735:25::-;;;:::i;43824:34::-;;;:::i;53826:112::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53826:112:0;-1:-1:-1;;;;;53826:112:0;;:::i;56692:192::-;;;:::i;116109:133::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;116109:133:0;;:::i;6193:25::-;;;:::i;4447:20::-;;;:::i;57608:287::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;57608:287:0;-1:-1:-1;;;;;57608:287:0;;:::i;44008:21::-;;;:::i;47711:486::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47711:486:0;;:::i;115156:133::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;115156:133:0;;:::i;62237:3852::-;;;:::i;51769:185::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;51769:185:0;;;;;;;;:::i;5928:23::-;;;:::i;48401:428::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48401:428:0;-1:-1:-1;;;;;48401:428:0;;:::i;56362:184::-;;;:::i;96516:194::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;96516:194:0;;;;;;;;;;;;;;;;;:::i;47007:486::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47007:486:0;;:::i;99973:647::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;99973:647:0;-1:-1:-1;;;;;99973:647:0;;:::i;59572:198::-;;;:::i;54894:703::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54894:703:0;-1:-1:-1;;;;;54894:703:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116510:113;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;116510:113:0;;:::i;44038:41::-;;;:::i;115640:113::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;115640:113:0;;:::i;53493:143::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;53493:143:0;;;;;;;;;;:::i;43915:21::-;;;:::i;100898:742::-;;;:::i;110787:633::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;110787:633:0;-1:-1:-1;;;;;110787:633:0;;:::i;5345:42::-;;;:::i;117939:237::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;117939:237:0;;;;;;;;;;;;;;;;;:::i;4967:28::-;;;:::i;56025:161::-;;;:::i;102903:607::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;102903:607:0;;:::i;7325:36::-;;;:::i;44240:28::-;;;-1:-1:-1;;;;;44240:28:0;;:::o;4351:18::-;;;;;;;;;;;;;;;-1:-1:-1;;4351:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;52926:237::-;53025:10;52994:4;53046:23;;;:18;:23;;;;;;;;-1:-1:-1;;;;;53046:32:0;;;;;;;;;;;:41;;;53103:30;;;;;;;52994:4;;53025:10;53046:32;;53025:10;;53103:30;;;;;;;;;;;53151:4;53144:11;;;52926:237;;;;;:::o;116831:149::-;116888:4;116906:8;116919:32;116939:11;116919:19;:32::i;:::-;-1:-1:-1;116905:46:0;-1:-1:-1;;116831:149:0;;;;:::o;5654:33::-;;;;:::o;57175:224::-;57253:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;57278:16;:14;:16::i;:::-;:40;57270:75;;;;;-1:-1:-1;;;57270:75:0;;;;;;;;;;;;-1:-1:-1;;;57270:75:0;;;;;;;;;;;;;;;57363:28;57383:7;57363:19;:28::i;:::-;57356:35;;114383:1;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;57175:224;;-1:-1:-1;57175:224:0:o;6299:23::-;;;;:::o;60020:261::-;60071:4;60089:13;60104:11;60119:28;:26;:28::i;:::-;60088:59;;-1:-1:-1;60088:59:0;-1:-1:-1;60173:18:0;60166:3;:25;;;;;;;;;60158:91;;;;-1:-1:-1;;;60158:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60267:6;-1:-1:-1;;60020:261:0;;:::o;52261:195::-;52356:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;52380:44;52395:10;52407:3;52412;52417:6;52380:14;:44::i;:::-;:68;52373:75;;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;52261:195;;-1:-1:-1;;;52261:195:0:o;117268:189::-;117349:4;117367:8;117380:48;117406:8;117416:11;117380:25;:48::i;:::-;-1:-1:-1;117366:62:0;117268:189;-1:-1:-1;;;;117268:189:0:o;5078:35::-;;;-1:-1:-1;;;;;5078:35:0;;:::o;4547:21::-;;;;;;:::o;44131:48::-;44176:3;44131:48;:::o;54194:354::-;54256:4;54273:23;;:::i;:::-;54299:38;;;;;;;;54314:21;:19;:21::i;:::-;54299:38;;-1:-1:-1;;;;;54413:20:0;;54349:14;54413:20;;;:13;:20;;;;;;54273:64;;-1:-1:-1;54349:14:0;;;54381:53;;54273:64;;54381:17;:53::i;:::-;54348:86;;-1:-1:-1;54348:86:0;-1:-1:-1;54461:18:0;54453:4;:26;;;;;;;;;54445:70;;;;;-1:-1:-1;;;54445:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54533:7;54194:354;-1:-1:-1;;;;54194:354:0:o;61901:88::-;61943:4;61967:14;:12;:14::i;:::-;61960:21;;61901:88;:::o;118410:119::-;118466:4;118490:31;118511:9;118490:20;:31::i;101865:735::-;102012:5;;101943:4;;102012:5;;;-1:-1:-1;;;;;102012:5:0;101998:10;:19;101994:124;;102041:65;102046:18;102066:39;102041:4;:65::i;:::-;102034:72;;;;101994:124;102168:11;;102265:30;;;-1:-1:-1;;;102265:30:0;;;;-1:-1:-1;;;;;102168:11:0;;;;102265:28;;;;;:30;;;;;;;;;;;;;;:28;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;102265:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;102265:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;102265:30:0;102257:71;;;;;-1:-1:-1;;;102257:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;102396:11;:28;;-1:-1:-1;;;;;;102396:28:0;-1:-1:-1;;;;;102396:28:0;;;;;;;;;102506:46;;;;;;;;;;;;;;;;;;;;;;;;;;;102577:14;102572:20;102565:27;101865:735;-1:-1:-1;;;101865:735:0:o;6063:24::-;;;;:::o;45113:1677::-;45476:5;;;;;-1:-1:-1;;;;;45476:5:0;45462:10;:19;45454:68;;;;-1:-1:-1;;;45454:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45541:18;;:23;:43;;;;-1:-1:-1;45568:11:0;;:16;45541:43;45533:91;;;;-1:-1:-1;;;45533:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45675:27;:58;;;45752:31;45744:92;;;;-1:-1:-1;;;45744:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45881:8;45892:29;45908:12;45892:15;:29::i;:::-;45881:40;-1:-1:-1;45940:27:0;;45932:66;;;;;-1:-1:-1;;;45932:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46138:16;:14;:16::i;:::-;46117:18;:37;25495:4;46165:11;:25;46290:46;46317:18;46290:26;:46::i;:::-;46284:52;-1:-1:-1;46355:27:0;;46347:74;;;;-1:-1:-1;;;46347:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46434:25;46448:10;46434:13;:25::i;:::-;;46470;46484:10;46470:13;:25::i;:::-;;46506:17;46516:6;46506:9;:17::i;:::-;-1:-1:-1;46536:12:0;;;;:4;;:12;;;;;:::i;:::-;-1:-1:-1;46559:16:0;;;;:6;;:16;;;;;:::i;:::-;-1:-1:-1;;46586:8:0;:20;;;;;;-1:-1:-1;;46586:20:0;;;;;;-1:-1:-1;;46617:10:0;:24;;-1:-1:-1;;;;;46617:24:0;;;-1:-1:-1;;;;;;46617:24:0;;;;;;;;;;46586:8;46762:18;;;;;46586:20;46762:18;;;-1:-1:-1;;;;;;45113:1677:0:o;5204:39::-;;;-1:-1:-1;;;;;5204:39:0;;:::o;107823:571::-;107898:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;107928:16;:14;:16::i;:::-;107915:29;-1:-1:-1;107959:29:0;;107955:277;;108150:70;108161:5;108155:12;;;;;;;;108169:50;108150:4;:70::i;:::-;108143:77;;;;;107955:277;108352:34;108373:12;108352:20;:34::i;:::-;108345:41;;;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;107823:571;;-1:-1:-1;107823:571:0:o;5777:30::-;;;;:::o;43735:25::-;;;-1:-1:-1;;;;;43735:25:0;;:::o;43824:34::-;;;-1:-1:-1;;;43824:34:0;;;;;:::o;53826:112::-;-1:-1:-1;;;;;53910:20:0;53883:7;53910:20;;;:13;:20;;;;;;;53826:112::o;56692:192::-;56754:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;56779:16;:14;:16::i;:::-;:40;56771:75;;;;;-1:-1:-1;;;56771:75:0;;;;;;;;;;;;-1:-1:-1;;;56771:75:0;;;;;;;;;;;;;;;-1:-1:-1;56864:12:0;;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;56692:192;:::o;116109:133::-;116172:4;116196:38;116221:12;116196:24;:38::i;6193:25::-;;;;:::o;4447:20::-;;;;;;;;;;;;;;-1:-1:-1;;4447:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57608:287;57675:4;57693:13;57708:11;57723:36;57751:7;57723:27;:36::i;:::-;57692:67;;-1:-1:-1;57692:67:0;-1:-1:-1;57785:18:0;57778:3;:25;;;;;;;;;57770:93;;;;-1:-1:-1;;;57770:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44008:21;;;;:::o;47711:486::-;47837:5;;47769:4;;47837:5;;;-1:-1:-1;;;;;47837:5:0;47823:10;:19;47819:126;;47866:67;47871:18;47891:41;47866:4;:67::i;47819:126::-;44176:3;47965:12;:37;;47957:100;;;;-1:-1:-1;;;47957:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48088:9;;48075:37;;;;;;;;;;;;;;;;;;;;;;;;48125:9;:24;;;48174:14;48169:20;;115156:133;115205:4;115223:8;115236:24;115249:10;115236:12;:24::i;62237:3852::-;62279:4;62345:23;62371:16;:14;:16::i;:::-;62429:18;;62345:42;;-1:-1:-1;62517:45:0;;;62513:105;;;62591:14;62579:27;;;;;;62513:105;62685:14;62702;:12;:14::i;:::-;62747:12;;62791:13;;62839:11;;62947:17;;:71;;;-1:-1:-1;;;62947:71:0;;;;;;;;;;;;;;;;;;;;;;62685:31;;-1:-1:-1;62747:12:0;;62791:13;;62839:11;;62727:17;;-1:-1:-1;;;;;62947:17:0;;;;:31;;:71;;;;;;;;;;;;;;:17;:71;;;5:2:-1;;;;30:1;27;20:12;5:2;62947:71:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;62947:71:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;62947:71:0;;-1:-1:-1;4722:9:0;63037:43;;;63029:84;;;;;-1:-1:-1;;;63029:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;63204:17;63223:15;63242:52;63250:18;63270:23;63242:7;:52::i;:::-;63203:91;;-1:-1:-1;63203:91:0;-1:-1:-1;63324:18:0;63313:7;:29;;;;;;;;;63305:73;;;;;-1:-1:-1;;;63305:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;63870:31;;:::i;:::-;63912:24;63947:20;63978:21;64010:19;64076:58;64086:35;;;;;;;;64101:18;64086:35;;;64123:10;64076:9;:58::i;:::-;64042:92;;-1:-1:-1;64042:92:0;-1:-1:-1;64160:18:0;64149:7;:29;;;;;;;;;64145:183;;64202:114;64213:16;64231:69;64307:7;64302:13;;;;;;;;64202:10;:114::i;:::-;64195:121;;;;;;;;;;;;;;;;;;64145:183;64373:53;64391:20;64413:12;64373:17;:53::i;:::-;64340:86;;-1:-1:-1;64340:86:0;-1:-1:-1;64452:18:0;64441:7;:29;;;;;;;;;64437:181;;64494:112;64505:16;64523:67;64597:7;64592:13;;;;;;;64437:181;64659:42;64667:19;64688:12;64659:7;:42::i;:::-;64630:71;;-1:-1:-1;64630:71:0;-1:-1:-1;64727:18:0;64716:7;:29;;;;;;;;;64712:178;;64769:109;64780:16;64798:64;64869:7;64864:13;;;;;;;64712:178;64932:100;64957:38;;;;;;;;64972:21;;64957:38;;;64997:19;65018:13;64932:24;:100::i;:::-;64902:130;;-1:-1:-1;64902:130:0;-1:-1:-1;65058:18:0;65047:7;:29;;;;;;;;;65043:179;;65100:110;65111:16;65129:65;65201:7;65196:13;;;;;;;65043:179;65262:82;65287:20;65309:16;65327;65262:24;:82::i;:::-;65234:110;;-1:-1:-1;65234:110:0;-1:-1:-1;65370:18:0;65359:7;:29;;;;;;;;;65355:177;;65412:108;65423:16;65441:63;65511:7;65506:13;;;;;;;65355:177;65735:18;:39;;;65785:11;:28;;;65824:12;:30;;;65865:13;:32;;;65962:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66066:14;66054:27;;;;;;;;;;;;;;;;62237:3852;:::o;51769:185::-;51847:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;51871:51;51886:10;51898;51910:3;51915:6;51871:14;:51::i;:::-;:75;51864:82;;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;51769:185;;-1:-1:-1;;51769:185:0:o;5928:23::-;;;;:::o;48401:428::-;48530:5;;48462:4;;48530:5;;;-1:-1:-1;;;;;48530:5:0;48516:10;:19;48512:126;;48559:67;48564:18;48584:41;48559:4;:67::i;48512:126::-;-1:-1:-1;;;;;48658:22:0;;48650:59;;;;;-1:-1:-1;;;48650:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;48736:5;;48727:25;;;-1:-1:-1;;;;;48736:5:0;;;48727:25;;;;;;;;;;;;;;;;;;;;;48765:5;:16;;-1:-1:-1;;;;;;48765:16:0;-1:-1:-1;;;;;48765:16:0;;;;;-1:-1:-1;48801:20:0;;56362:184;56439:17;;56415:4;;-1:-1:-1;;;;;56439:17:0;:31;56471:14;:12;:14::i;:::-;56487:12;;56501:13;;56516:21;;56439:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;56439:99:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;56439:99:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;56439:99:0;;-1:-1:-1;56362:184:0;:::o;96516:194::-;96618:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;96642:60;96656:10;96668;96680:8;96690:11;96642:13;:60::i;:::-;96635:67;;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;96516:194;;-1:-1:-1;;;96516:194:0:o;47007:486::-;47133:5;;47065:4;;47133:5;;;-1:-1:-1;;;;;47133:5:0;47119:10;:19;47115:126;;47162:67;47167:18;47187:41;47162:4;:67::i;47115:126::-;44176:3;47261:12;:37;;47253:100;;;;-1:-1:-1;;;47253:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47384:9;;47371:37;;;;;;;;;;;;;;;;;;;;;;;;47421:9;:24;;;47470:14;47465:20;;99973:647;100118:5;;100050:4;;100118:5;;;-1:-1:-1;;;;;100118:5:0;100104:10;:19;100100:126;;100147:67;100152:18;100172:41;100147:4;:67::i;100100:126::-;100325:12;;;-1:-1:-1;;;;;100408:30:0;;;-1:-1:-1;;;;;;100408:30:0;;;;;;;100523:49;;;100325:12;;;;100523:49;;;;;;;;;;;;;;;;;;;;;;;100597:14;100592:20;;59572:198;59632:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;59657:16;:14;:16::i;:::-;:40;59649:75;;;;;-1:-1:-1;;;59649:75:0;;;;;;;;;;;;-1:-1:-1;;;59649:75:0;;;;;;;;;;;;;;;59742:20;:18;:20::i;:::-;59735:27;;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;59572:198;:::o;54894:703::-;-1:-1:-1;;;;;55018:22:0;;54962:4;55018:22;;;:13;:22;;;;;;54962:4;;;;;;;;;55169:36;55032:7;55169:27;:36::i;:::-;55145:60;-1:-1:-1;55145:60:0;-1:-1:-1;55228:18:0;55220:4;:26;;;;;;;;;55216:99;;55276:16;55271:22;55263:40;-1:-1:-1;55295:1:0;;-1:-1:-1;55295:1:0;;-1:-1:-1;55295:1:0;;-1:-1:-1;55263:40:0;;-1:-1:-1;;;;55263:40:0;55216:99;55358:28;:26;:28::i;:::-;55327:59;-1:-1:-1;55327:59:0;-1:-1:-1;55409:18:0;55401:4;:26;;;;;;;;;55397:99;;55457:16;55452:22;;55397:99;-1:-1:-1;55521:14:0;;-1:-1:-1;55538:13:0;;-1:-1:-1;55553:13:0;-1:-1:-1;55553:13:0;-1:-1:-1;54894:703:0;;;;;;:::o;116510:113::-;116563:4;116587:28;116602:12;116587:14;:28::i;44038:41::-;44074:5;44038:41;:::o;115640:113::-;115693:4;115717:28;115732:12;115717:14;:28::i;53493:143::-;-1:-1:-1;;;;;53594:25:0;;;53567:7;53594:25;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;;53493:143::o;43915:21::-;;;;:::o;100898:742::-;101048:12;;100940:4;;-1:-1:-1;;;;;101048:12:0;101034:10;:26;;;:54;;-1:-1:-1;101064:10:0;:24;101034:54;101030:164;;;101112:70;101117:18;101137:44;101112:4;:70::i;:::-;101105:77;;;;101030:164;101278:5;;;101320:12;;;-1:-1:-1;;;;;101320:12:0;;;101278:5;101393:20;;;-1:-1:-1;;;;;;101393:20:0;;;;;;;-1:-1:-1;;;;;;101462:25:0;;;;;;101505;;;101278:5;;;;;;101505:25;;;101524:5;;;;;101505:25;;;;;;101278:5;;101320:12;;101505:25;;;;;;;;;101579:12;;101546:46;;;-1:-1:-1;;;;;101546:46:0;;;;;101579:12;;;101546:46;;;;;;;;;;;;;;;;101617:14;101605:27;;;;100898:742;:::o;110787:633::-;110874:4;110891:10;110904:16;:14;:16::i;:::-;110891:29;-1:-1:-1;110935:29:0;;110931:298;;111139:78;111150:5;111144:12;;;;;;;;111158:58;111139:4;:78::i;:::-;111132:85;;;;;110931:298;111364:48;111391:20;111364:26;:48::i;5345:42::-;;;-1:-1:-1;;;;;5345:42:0;;:::o;117939:237::-;118052:4;118070:8;118083:64;118107:8;118117:11;118130:16;118083:23;:64::i;:::-;-1:-1:-1;118069:78:0;117939:237;-1:-1:-1;;;;;117939:237:0:o;4967:28::-;;;;;;-1:-1:-1;;;;;4967:28:0;;:::o;56025:161::-;56102:17;;56078:4;;-1:-1:-1;;;;;56102:17:0;:31;56134:14;:12;:14::i;:::-;56150:12;;56164:13;;56102:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;102903:607:0;102992:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;103022:16;:14;:16::i;:::-;103009:29;-1:-1:-1;103053:29:0;;103049:286;;103250:73;103261:5;103255:12;;;;;;;;103269:53;103250:4;:73::i;103049:286::-;103454:48;103477:24;103454:22;:48::i;7325:36::-;7357:4;7325:36;:::o;84627:572::-;84705:4;114316:11;;84705:4;;114316:11;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;84741:16;:14;:16::i;:::-;84728:29;-1:-1:-1;84772:29:0;;84768:260;;84945:67;84956:5;84950:12;;;;;;;;84964:47;84945:4;:67::i;:::-;84937:79;-1:-1:-1;85014:1:0;;-1:-1:-1;84937:79:0;;-1:-1:-1;84937:79:0;84768:260;85138:53;85155:10;85167;85179:11;85138:16;:53::i;:::-;85131:60;;;;;114383:1;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;84627:572;;;;-1:-1:-1;84627:572:0:o;60545:1186::-;60654:11;;60606:9;;;;60680:17;60676:1048;;-1:-1:-1;;60874:27:0;;60854:18;;-1:-1:-1;60846:56:0;;60676:1048;61084:14;61101;:12;:14::i;:::-;61084:31;;61130:33;61178:23;;:::i;:::-;61216:17;61292:54;61307:9;61318:12;;61332:13;;61292:14;:54::i;:::-;61250:96;-1:-1:-1;61250:96:0;-1:-1:-1;61376:18:0;61365:7;:29;;;;;;;;;61361:89;;61423:7;-1:-1:-1;61432:1:0;;-1:-1:-1;61415:19:0;;-1:-1:-1;;;;61415:19:0;61361:89;61492:50;61499:28;61529:12;61492:6;:50::i;:::-;61466:76;-1:-1:-1;61466:76:0;-1:-1:-1;61572:18:0;61561:7;:29;;;;;;;;;61557:89;;61619:7;-1:-1:-1;61628:1:0;;-1:-1:-1;61611:19:0;;-1:-1:-1;;;;61611:19:0;61557:89;-1:-1:-1;61690:21:0;61670:18;;-1:-1:-1;61690:21:0;-1:-1:-1;61662:50:0;;-1:-1:-1;;;61662:50:0;60545:1186;;;:::o;49292:2216::-;49466:11;;:60;;;-1:-1:-1;;;49466:60:0;;49502:4;49466:60;;;;-1:-1:-1;;;;;49466:60:0;;;;;;;;;;;;;;;;;;;;;;49390:4;;;;49466:11;;:27;;:60;;;;;;;;;;;;;;49390:4;49466:11;:60;;;5:2:-1;;;;30:1;27;20:12;5:2;49466:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49466:60:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49466:60:0;;-1:-1:-1;49541:12:0;;49537:144;;49577:92;49588:27;49617:42;49661:7;49577:10;:92::i;:::-;49570:99;;;;;49537:144;49747:3;-1:-1:-1;;;;;49740:10:0;:3;-1:-1:-1;;;;;49740:10:0;;49736:105;;;49774:55;49779:15;49796:32;49774:4;:55::i;49736:105::-;49918:22;-1:-1:-1;;;;;49959:14:0;;;;;;;49955:160;;;-1:-1:-1;;;49955:160:0;;;-1:-1:-1;;;;;;50071:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;;49955:160;50193:17;50221;50249;50277;50333:34;50341:17;50360:6;50333:7;:34::i;:::-;50307:60;;-1:-1:-1;50307:60:0;-1:-1:-1;50393:18:0;50382:7;:29;;;;;;;;;50378:125;;50435:56;50440:16;50458:32;50435:4;:56::i;:::-;50428:63;;;;;;;;;;50378:125;-1:-1:-1;;;;;50549:18:0;;;;;;:13;:18;;;;;;50541:35;;50569:6;50541:7;:35::i;:::-;50515:61;;-1:-1:-1;50515:61:0;-1:-1:-1;50602:18:0;50591:7;:29;;;;;;;;;50587:124;;50644:55;50649:16;50667:31;50644:4;:55::i;50587:124::-;-1:-1:-1;;;;;50757:18:0;;;;;;:13;:18;;;;;;50749:35;;50777:6;50749:7;:35::i;:::-;50723:61;;-1:-1:-1;50723:61:0;-1:-1:-1;50810:18:0;50799:7;:29;;;;;;;;;50795:122;;50852:53;50857:16;50875:29;50852:4;:53::i;50795:122::-;-1:-1:-1;;;;;51050:18:0;;;;;;;:13;:18;;;;;;:33;;;51094:18;;;;;;:33;;;-1:-1:-1;;51200:29:0;;51196:109;;-1:-1:-1;;;;;51246:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;:47;;;51196:109;51376:3;-1:-1:-1;;;;;51362:26:0;51371:3;-1:-1:-1;;;;;51362:26:0;-1:-1:-1;;;;;;;;;;;51381:6:0;51362:26;;;;;;;;;;;;;;;;;;51401:11;;:59;;;-1:-1:-1;;;51401:59:0;;51436:4;51401:59;;;;-1:-1:-1;;;;;51401:59:0;;;;;;;;;;;;;;;;;;;;;;:11;;;;;:26;;:59;;;;;:11;;:59;;;;;;;:11;;:59;;;5:2:-1;;;;30:1;27;20:12;5:2;51401:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;51485:14:0;;-1:-1:-1;51480:20:0;;-1:-1:-1;;51480:20:0;;51473:27;49292:2216;-1:-1:-1;;;;;;;;;;;49292:2216:0:o;85532:594::-;85634:4;114316:11;;85634:4;;114316:11;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;85670:16;:14;:16::i;:::-;85657:29;-1:-1:-1;85701:29:0;;85697:260;;85874:67;85885:5;85879:12;;;;;;;;85893:47;85874:4;:67::i;:::-;85866:79;-1:-1:-1;85943:1:0;;-1:-1:-1;85866:79:0;;-1:-1:-1;85866:79:0;85697:260;86067:51;86084:10;86096:8;86106:11;86067:16;:51::i;:::-;86060:58;;;;;114383:1;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;85532:594;;;;-1:-1:-1;85532:594:0;-1:-1:-1;85532:594:0:o;27649:313::-;27726:9;27737:4;27755:13;27770:18;;:::i;:::-;27792:20;27802:1;27805:6;27792:9;:20::i;:::-;27754:58;;-1:-1:-1;27754:58:0;-1:-1:-1;27834:18:0;27827:3;:25;;;;;;;;;27823:73;;-1:-1:-1;27877:3:0;-1:-1:-1;27882:1:0;;-1:-1:-1;27869:15:0;;27823:73;27916:18;27936:17;27945:7;27936:8;:17::i;:::-;27908:46;;;;;;27649:313;;;;;;:::o;118797:169::-;118899:10;;118928:30;;;-1:-1:-1;;;118928:30:0;;118952:4;118928:30;;;;;;118844:4;;-1:-1:-1;;;;;118899:10:0;;;;118928:15;;:30;;;;;;;;;;;;;;;118899:10;118928:30;;;5:2:-1;;;;30:1;27;20:12;5:2;118928:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;118928:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;118928:30:0;;-1:-1:-1;;118797:169:0;:::o;105007:590::-;105084:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;105114:16;:14;:16::i;:::-;105101:29;-1:-1:-1;105145:29:0;;105141:274;;105336:67;105347:5;105341:12;;;;;;;;105355:47;105336:4;:67::i;105141:274::-;105538:28;105556:9;105538:17;:28::i;:::-;-1:-1:-1;105526:40:0;-1:-1:-1;;114395:11:0;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;105007:590;;-1:-1:-1;105007:590:0:o;22263:153::-;22324:4;22346:33;22359:3;22354:9;;;;;;;;22370:4;22365:10;;;;;;;;22346:33;;;;;;;;;;;;;22377:1;22346:33;;;;;;;;;;;;;22404:3;22399:9;;;;;;;55756:93;55829:12;55756:93;:::o;111750:1299::-;112050:5;;111844:4;;;;112050:5;;;-1:-1:-1;;;;;112050:5:0;112036:10;:19;112032:132;;112079:73;112084:18;112104:47;112079:4;:73::i;112032:132::-;112290:16;:14;:16::i;:::-;112268:18;;:38;112264:155;;112330:77;112335:22;112359:47;112330:4;:77::i;112264:155::-;112513:17;;;;;;;;;-1:-1:-1;;;;;112513:17:0;112490:40;;112633:20;-1:-1:-1;;;;;112633:40:0;;:42;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112633:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;112633:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;112633:42:0;112625:83;;;;;-1:-1:-1;;;112625:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;112785:17;:40;;-1:-1:-1;;;;;;112785:40:0;-1:-1:-1;;;;;112785:40:0;;;;;;;;;112931:70;;;;;;;;;;;;;;;;;;;;;;;;;;;113026:14;113021:20;;108671:1747;108882:5;;108738:4;;;;108882:5;;;-1:-1:-1;;;;;108882:5:0;108868:10;:19;108864:124;;108911:65;108916:18;108936:39;108911:4;:65::i;108864:124::-;109114:16;:14;:16::i;:::-;109092:18;;:38;109088:147;;109154:69;109159:22;109183:39;109154:4;:69::i;109088:147::-;109341:12;109324:14;:12;:14::i;:::-;:29;109320:152;;;109377:83;109382:29;109413:46;109377:4;:83::i;109320:152::-;109566:13;;109551:12;:28;109547:129;;;109603:61;109608:15;109625:38;109603:4;:61::i;109547:129::-;-1:-1:-1;109828:13:0;;:28;;;;109964:33;;;109956:82;;;;-1:-1:-1;;;109956:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110112:13;:32;;;110278:5;;110264:34;;110278:5;;;-1:-1:-1;;;;;110278:5:0;110285:12;110264:13;:34::i;:::-;110332:5;;110316:54;;;110332:5;;;;-1:-1:-1;;;;;110332:5:0;110316:54;;;;;;;;;;;;;;;;;;;;;;;;;110395:14;110390:20;;72178:537;72262:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;72292:16;:14;:16::i;:::-;72279:29;-1:-1:-1;72323:29:0;;72319:249;;72495:61;72506:5;72500:12;;;;;;;;72514:41;72495:4;:61::i;72319:249::-;72667:40;72679:10;72691:1;72694:12;72667:11;:40::i;58149:1268::-;-1:-1:-1;;;;;58498:23:0;;58226:9;58498:23;;;:14;:23;;;;;58727:24;;58226:9;;;;;;;;58723:92;;-1:-1:-1;58781:18:0;;-1:-1:-1;58781:18:0;;-1:-1:-1;58773:30:0;;-1:-1:-1;;;58773:30:0;58723:92;59042:46;59050:14;:24;;;59076:11;;59042:7;:46::i;:::-;59009:79;;-1:-1:-1;59009:79:0;-1:-1:-1;59114:18:0;59103:7;:29;;;;;;;;;59099:81;;-1:-1:-1;59157:7:0;;-1:-1:-1;59166:1:0;;-1:-1:-1;59149:19:0;;-1:-1:-1;;59149:19:0;59099:81;59212:58;59220:19;59241:14;:28;;;59212:7;:58::i;:::-;59192:78;;-1:-1:-1;59192:78:0;-1:-1:-1;59296:18:0;59285:7;:29;;;;;;;;;59281:81;;-1:-1:-1;59339:7:0;;-1:-1:-1;59348:1:0;;-1:-1:-1;59331:19:0;;-1:-1:-1;;59331:19:0;59281:81;-1:-1:-1;59382:18:0;;-1:-1:-1;59402:6:0;-1:-1:-1;;;58149:1268:0;;;;:::o;66487:547::-;66557:4;114316:11;;66557:4;;114316:11;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;66593:16;:14;:16::i;:::-;66580:29;-1:-1:-1;66624:29:0;;66620:252;;66797:59;66808:5;66802:12;;;;;;;;66816:39;66797:4;:59::i;66620:252::-;66993:33;67003:10;67015;66993:9;:33::i;24102:236::-;24158:9;24169:4;24195:1;24190;:6;24186:145;;-1:-1:-1;24221:18:0;;-1:-1:-1;24241:5:0;;;24213:34;;24186:145;-1:-1:-1;24288:27:0;;-1:-1:-1;24317:1:0;24280:39;;27183:353;27252:9;27263:10;;:::i;:::-;27287:14;27303:19;27326:27;27334:1;:10;;;27346:6;27326:7;:27::i;:::-;27286:67;;-1:-1:-1;27286:67:0;-1:-1:-1;27376:18:0;27368:4;:26;;;;;;;;;27364:92;;-1:-1:-1;27425:18:0;;;;;;;;;-1:-1:-1;27425:18:0;;27419:4;;-1:-1:-1;27425:18:0;-1:-1:-1;27411:33:0;;27364:92;27496:31;;;;;;;;;;;;-1:-1:-1;;27496:31:0;;-1:-1:-1;27183:353:0;-1:-1:-1;;;;27183:353:0:o;22539:187::-;22624:4;22646:43;22659:3;22654:9;;;;;;;;22670:4;22665:10;;;;;;;;22646:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;22714:3;22709:9;;;;;;;24423:258;24479:9;;24516:5;;;24538:6;;;24534:140;;24569:18;;-1:-1:-1;24589:1:0;-1:-1:-1;24561:30:0;;24534:140;-1:-1:-1;24632:26:0;;-1:-1:-1;24660:1:0;;-1:-1:-1;24624:38:0;;28107:328;28204:9;28215:4;28233:13;28248:18;;:::i;:::-;28270:20;28280:1;28283:6;28270:9;:20::i;:::-;28232:58;;-1:-1:-1;28232:58:0;-1:-1:-1;28312:18:0;28305:3;:25;;;;;;;;;28301:73;;-1:-1:-1;28355:3:0;-1:-1:-1;28360:1:0;;-1:-1:-1;28347:15:0;;28301:73;28393:34;28401:17;28410:7;28401:8;:17::i;:::-;28420:6;28393:7;:34::i;:::-;28386:41;;;;;;28107:328;;;;;;;:::o;97385:2139::-;97576:11;;:87;;;-1:-1:-1;;;97576:87:0;;97609:4;97576:87;;;;-1:-1:-1;;;;;97576:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97503:4;;;;97576:11;;:24;;:87;;;;;;;;;;;;;;97503:4;97576:11;:87;;;5:2:-1;;;;30:1;27;20:12;5:2;97576:87:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;97576:87:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;97576:87:0;;-1:-1:-1;97678:12:0;;97674:151;;97714:99;97725:27;97754:49;97805:7;97714:10;:99::i;97674:151::-;97898:10;-1:-1:-1;;;;;97886:22:0;:8;-1:-1:-1;;;;;97886:22:0;;97882:146;;;97932:84;97937:26;97965:50;97932:4;:84::i;97882:146::-;-1:-1:-1;;;;;98452:23:0;;98040:17;98452:23;;;:13;:23;;;;;;98040:17;;;;98444:45;;98477:11;98444:7;:45::i;:::-;98413:76;;-1:-1:-1;98413:76:0;-1:-1:-1;98515:18:0;98504:7;:29;;;;;;;;;98500:166;;98557:97;98568:16;98586:52;98645:7;98640:13;;;;;;;98557:97;98550:104;;;;;;;;98500:166;-1:-1:-1;;;;;98719:25:0;;;;;;:13;:25;;;;;;98711:47;;98746:11;98711:7;:47::i;:::-;98678:80;;-1:-1:-1;98678:80:0;-1:-1:-1;98784:18:0;98773:7;:29;;;;;;;;;98769:166;;98826:97;98837:16;98855:52;98914:7;98909:13;;;;;;;98769:166;-1:-1:-1;;;;;99138:23:0;;;;;;;:13;:23;;;;;;;;:43;;;99192:25;;;;;;;;;;:47;;;99294:43;;;;;;;99192:25;;-1:-1:-1;;;;;;;;;;;99294:43:0;;;;;;;;;;99390:11;;:86;;;-1:-1:-1;;;99390:86:0;;99422:4;99390:86;;;;-1:-1:-1;;;;;99390:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:11;;;;;:23;;:86;;;;;:11;;:86;;;;;;;:11;;:86;;;5:2:-1;;;;30:1;27;20:12;5:2;99390:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;99501:14:0;;-1:-1:-1;99496:20:0;;-1:-1:-1;;99496:20:0;;99489:27;97385:2139;-1:-1:-1;;;;;;;;;97385:2139:0:o;79480:524::-;79554:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;79584:16;:14;:16::i;:::-;79571:29;-1:-1:-1;79615:29:0;;79611:249;;79787:61;79798:5;79792:12;;;;;;;;79806:41;79787:4;:61::i;79611:249::-;79959:37;79971:10;79983:12;79959:11;:37::i;71271:527::-;71345:4;114316:11;;;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;71375:16;:14;:16::i;:::-;71362:29;-1:-1:-1;71406:29:0;;71402:249;;71578:61;71589:5;71583:12;;;;;;;71402:249;71750:40;71762:10;71774:12;71788:1;71750:11;:40::i;90767:994::-;90901:4;114316:11;;90901:4;;114316:11;;114308:34;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;-1:-1:-1;;;114308:34:0;;;;;;;;;;;;;;;114367:5;114353:19;;-1:-1:-1;;114353:19:0;;;90937:16;:14;:16::i;:::-;90924:29;-1:-1:-1;90968:29:0;;90964:269;;91146:71;91157:5;91151:12;;;;;;;;91165:51;91146:4;:71::i;:::-;91138:83;-1:-1:-1;91219:1:0;;-1:-1:-1;91138:83:0;;-1:-1:-1;91138:83:0;90964:269;91253:16;-1:-1:-1;;;;;91253:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;91253:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91253:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;91253:33:0;;-1:-1:-1;91301:29:0;;91297:273;;91479:75;91490:5;91484:12;;;;;;;;91498:55;91479:4;:75::i;91297:273::-;91680:73;91701:10;91713:8;91723:11;91736:16;91680:20;:73::i;:::-;91673:80;;;;;114383:1;114395:11;:18;;-1:-1:-1;;114395:18:0;114409:4;114395:18;;;90767:994;;;;-1:-1:-1;90767:994:0;-1:-1:-1;;90767:994:0:o;103778:973::-;103928:5;;103859:4;;103928:5;;;-1:-1:-1;;;;;103928:5:0;103914:10;:19;103910:127;;103957:68;103962:18;103982:42;103957:4;:68::i;103910:127::-;104144:16;:14;:16::i;:::-;104122:18;;:38;104118:150;;104184:72;104189:22;104213:42;104184:4;:72::i;104118:150::-;4888:4;104340:24;:51;104336:157;;;104415:66;104420:15;104437:43;104415:4;:66::i;104336:157::-;104537:21;;;104569:48;;;;104635:68;;;;;;;;;;;;;;;;;;;;;;;;;104728:14;104723:20;;86831:3409;87011:11;;:75;;;-1:-1:-1;;;87011:75:0;;87050:4;87011:75;;;;-1:-1:-1;;;;;87011:75:0;;;;;;;;;;;;;;;;;;;;;;86926:4;;;;;;87011:11;;;:30;;:75;;;;;;;;;;;;;;;86926:4;87011:11;:75;;;5:2:-1;;;;30:1;27;20:12;5:2;87011:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;87011:75:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;87011:75:0;;-1:-1:-1;87101:12:0;;87097:153;;87138:96;87149:27;87178:46;87226:7;87138:10;:96::i;:::-;87130:108;-1:-1:-1;87236:1:0;;-1:-1:-1;87130:108:0;;-1:-1:-1;87130:108:0;87097:153;87360:16;:14;:16::i;:::-;87338:18;;:38;87334:153;;87401:70;87406:22;87430:40;87401:4;:70::i;87334:153::-;87499:32;;:::i;:::-;-1:-1:-1;;;;;87645:24:0;;;;;;:14;:24;;;;;:38;;;87624:18;;;:59;87814:37;87660:8;87814:27;:37::i;:::-;87791:19;;;87776:75;;;87777:12;;;87776:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;87882:18:0;;-1:-1:-1;87866:4:0;:12;;;:34;;;;;;;;;87862:192;;87925:113;87936:16;87954:63;88024:4;:12;;;88019:18;;;;;;;87925:113;87917:125;-1:-1:-1;88040:1:0;;-1:-1:-1;87917:125:0;;-1:-1:-1;;87917:125:0;87862:192;-1:-1:-1;;88136:11:0;:23;88132:157;;;88195:19;;;;88176:16;;;:38;88132:157;;;88247:16;;;:30;;;88132:157;88887:37;88900:5;88907:4;:16;;;88887:12;:37::i;:::-;88862:22;;;:62;;;89234:19;;;;89226:52;;:7;:52::i;:::-;89200:22;;;89185:93;;;89186:12;;;89185:93;;;;;;;;;;;;;;;;;;;-1:-1:-1;89313:18:0;;-1:-1:-1;89297:4:0;:12;;;:34;;;;;;;;;89289:105;;;;-1:-1:-1;;;89289:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89446:45;89454:12;;89468:4;:22;;;89446:7;:45::i;:::-;89422:20;;;89407:84;;;89408:12;;;89407:84;;;;;;;;;;;;;;;;;;;-1:-1:-1;89526:18:0;;-1:-1:-1;89510:4:0;:12;;;:34;;;;;;;;;89502:96;;;;-1:-1:-1;;;89502:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89718:22;;;;;;-1:-1:-1;;;;;89681:24:0;;;;;;;:14;:24;;;;;;;;;:59;;;89792:11;;89751:38;;;;:52;;;;89829:20;;;;89814:12;:35;;;89939:22;;;;89963;;89910:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90061:11;;90123:22;;;;90147:18;;;;90061:105;;;-1:-1:-1;;;90061:105:0;;90099:4;90061:105;;;;-1:-1:-1;;;;;90061:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:11;;;;;:29;;:105;;;;;:11;;:105;;;;;;;:11;;:105;;;5:2:-1;;;;30:1;27;20:12;5:2;90061:105:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;90192:14:0;;-1:-1:-1;90187:20:0;;-1:-1:-1;;90187:20:0;;90209:4;:22;;;90179:53;;;;;;86831:3409;;;;;;:::o;24750:271::-;24821:9;24832:4;24850:14;24866:8;24878:13;24886:1;24889;24878:7;:13::i;:::-;24849:42;;-1:-1:-1;24849:42:0;-1:-1:-1;24916:18:0;24908:4;:26;;;;;;;;;24904:75;;-1:-1:-1;24959:4:0;-1:-1:-1;24965:1:0;;-1:-1:-1;24951:16:0;;24904:75;24998:15;25006:3;25011:1;24998:7;:15::i;25942:515::-;26003:9;26014:10;;:::i;:::-;26038:14;26054:20;26078:22;26086:3;25495:4;26078:7;:22::i;:::-;26037:63;;-1:-1:-1;26037:63:0;-1:-1:-1;26123:18:0;26115:4;:26;;;;;;;;;26111:92;;-1:-1:-1;26172:18:0;;;;;;;;;-1:-1:-1;26172:18:0;;26166:4;;-1:-1:-1;26172:18:0;-1:-1:-1;26158:33:0;;26111:92;26216:14;26232:13;26249:31;26257:15;26274:5;26249:7;:31::i;:::-;26215:65;;-1:-1:-1;26215:65:0;-1:-1:-1;26303:18:0;26295:4;:26;;;;;;;;;26291:92;;-1:-1:-1;26352:18:0;;;;;;;;;-1:-1:-1;26352:18:0;;26346:4;;-1:-1:-1;26352:18:0;-1:-1:-1;26338:33:0;;-1:-1:-1;;26338:33:0;26291:92;26423:25;;;;;;;;;;;;-1:-1:-1;;26423:25:0;;-1:-1:-1;25942:515:0;-1:-1:-1;;;;;;25942:515:0:o;32462:213::-;32644:12;25495:4;32644:23;;;32462:213::o;105937:1631::-;105998:4;106004;106065:21;106097:20;106244:16;:14;:16::i;:::-;106222:18;;:38;106218:163;;106285:66;106290:22;106314:36;106285:4;:66::i;:::-;106277:92;-1:-1:-1;106353:15:0;-1:-1:-1;106277:92:0;;-1:-1:-1;106277:92:0;106218:163;106970:35;106983:10;106995:9;106970:12;:35::i;:::-;106952:53;;107053:15;107037:13;;:31;107018:50;;107143:13;;107123:16;:33;;107115:78;;;;;-1:-1:-1;;;107115:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107270:13;:32;;;107391:60;;;107405:10;107391:60;;;;;;;;;;;;;;;;;;;;;;;;;107527:14;107514:46;-1:-1:-1;107544:15:0;-1:-1:-1;;105937:1631:0;;;:::o;121631:904::-;121767:10;;121789:26;;;-1:-1:-1;;;121789:26:0;;-1:-1:-1;;;;;121789:26:0;;;;;;;;;;;;;;;121767:10;;;;;;;121789:14;;:26;;;;;121707:31;;121789:26;;;;;;;;121707:31;121767:10;121789:26;;;5:2:-1;;;;30:1;27;20:12;5:2;121789:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;121789:26:0;;;;121828:12;121882:16;121921:1;121916:152;;;;122091:2;122086:219;;;;122440:1;122437;122430:12;121916:152;-1:-1:-1;;122011:6:0;-1:-1:-1;121916:152:0;;122086:219;122188:2;122185:1;122182;122167:24;122230:1;122224:8;122213:19;;121875:586;;122490:7;122482:45;;;;;-1:-1:-1;;;122482:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;121631:904;;;;:::o;73604:5608::-;73711:4;73736:19;;;:42;;-1:-1:-1;73759:19:0;;73736:42;73728:107;;;;-1:-1:-1;;;73728:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73848:27;;:::i;:::-;73992:28;:26;:28::i;:::-;73963:25;;;73948:72;;;73949:12;;;73948:72;;;;;;;;;;;;;;;;;;;-1:-1:-1;74051:18:0;;-1:-1:-1;74035:4:0;:12;;;:34;;;;;;;;;74031:168;;74093:94;74104:16;74122:44;74173:4;:12;;;74168:18;;;;;;;74093:94;74086:101;;;;;74031:168;74253:18;;74249:1290;;74529:17;;;:34;;;74634:42;;;;;;;;74649:25;;;;74634:42;;74616:77;;74549:14;74616:17;:77::i;:::-;74595:17;;;74580:113;;;74581:12;;;74580:113;;;;;;;;;;;;;;;;;;;-1:-1:-1;74728:18:0;;-1:-1:-1;74712:4:0;:12;;;:34;;;;;;;;;74708:185;;74774:103;74785:16;74803:53;74863:4;:12;;;74858:18;;;;;;;74708:185;74249:1290;;;75195:82;75218:14;75234:42;;;;;;;;75249:4;:25;;;75234:42;;;75195:22;:82::i;:::-;75174:17;;;75159:118;;;75160:12;;;75159:118;;;;;;;;;;;;;;;;;;;-1:-1:-1;75312:18:0;;-1:-1:-1;75296:4:0;:12;;;:34;;;;;;;;;75292:185;;75358:103;75369:16;75387:53;75447:4;:12;;;75442:18;;;;;;;75292:185;75493:17;;;:34;;;74249:1290;75608:11;;75659:17;;;;75608:69;;;-1:-1:-1;;;75608:69:0;;75642:4;75608:69;;;;-1:-1:-1;;;;;75608:69:0;;;;;;;;;;;;;;;;75593:12;;75608:11;;;;;:25;;:69;;;;;;;;;;;;;;;75593:12;75608:11;:69;;;5:2:-1;;;;30:1;27;20:12;5:2;75608:69:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;75608:69:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;75608:69:0;;-1:-1:-1;75692:12:0;;75688:142;;75728:90;75739:27;75768:40;75810:7;75728:10;:90::i;:::-;75721:97;;;;;;75688:142;75940:16;:14;:16::i;:::-;75918:18;;:38;75914:142;;75980:64;75985:22;76009:34;75980:4;:64::i;75914:142::-;76351:39;76359:11;;76372:4;:17;;;76351:7;:39::i;:::-;76328:19;;;76313:77;;;76314:12;;;76313:77;;;;;;;;;;;;;;;;;;;-1:-1:-1;76421:18:0;;-1:-1:-1;76405:4:0;:12;;;:34;;;;;;;;;76401:178;;76463:104;76474:16;76492:54;76553:4;:12;;;76548:18;;;;;;;76401:178;-1:-1:-1;;;;;76639:23:0;;;;;;:13;:23;;;;;;76664:17;;;;76631:51;;76639:23;76631:7;:51::i;:::-;76606:21;;;76591:91;;;76592:12;;;76591:91;;;;;;;;;;;;;;;;;;;-1:-1:-1;76713:18:0;;-1:-1:-1;76697:4:0;:12;;;:34;;;;;;;;;76693:181;;76755:107;76766:16;76784:57;76848:4;:12;;;76843:18;;;;;;;76693:181;76972:4;:17;;;76955:14;:12;:14::i;:::-;:34;76951:155;;;77013:81;77018:29;77049:44;77013:4;:81::i;76951:155::-;77697:17;;;;77716:9;;77604:8;;;;77689:37;;77697:17;77689:7;:37::i;:::-;77668:4;:12;;77667:59;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77757:18:0;;-1:-1:-1;77741:4:0;:12;;;:34;;;;;;;;;77737:181;;77799:107;77810:16;77828:57;77892:4;:12;;;77887:18;;;;;;;77799:107;77792:114;;;;;;;;77737:181;77952:26;77960:3;44074:5;77952:7;:26::i;:::-;77931:4;:12;;77930:48;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78009:18:0;;-1:-1:-1;77993:4:0;:12;;;:34;;;;;;;;;77989:181;;78051:107;78062:16;78080:57;78144:4;:12;;;78139:18;;;;;;;77989:181;78221:31;78229:4;:17;;;78248:3;78221:7;:31::i;:::-;78183:4;:12;;78182:70;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78283:18:0;;-1:-1:-1;78267:4:0;:12;;;:34;;;;;;;;;78263:181;;78325:107;78336:16;78354:57;78418:4;:12;;;78413:18;;;;;;;78263:181;78573:45;78587:8;78597:20;78573:13;:45::i;:::-;78643:5;;78629:25;;-1:-1:-1;;;;;78643:5:0;78650:3;78629:13;:25::i;:::-;78747:19;;;;78733:11;:33;78803:21;;;;-1:-1:-1;;;;;78777:23:0;;;;;;:13;:23;;;;;;;;;:47;;;;78936:17;;;;78902:52;;;;;;;78929:4;;-1:-1:-1;;;;;;;;;;;78902:52:0;;;;;;;78987:17;;;;79006;;;;;78970:54;;;-1:-1:-1;;;;;78970:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79077:11;;79127:17;;;;79146;;;;79077:87;;;-1:-1:-1;;;79077:87:0;;79110:4;79077:87;;;;-1:-1:-1;;;;;79077:87:0;;;;;;;;;;;;;;;;;;;;;;:11;;;;;:24;;:87;;;;;:11;;:87;;;;;;;:11;;:87;;;5:2:-1;;;;30:1;27;20:12;5:2;79077:87:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;79189:14:0;;-1:-1:-1;79184:20:0;;-1:-1:-1;;79184:20:0;;79177:27;73604:5608;-1:-1:-1;;;;;;;;73604:5608:0:o;23314:343::-;23370:9;;23402:6;23398:69;;-1:-1:-1;23433:18:0;;-1:-1:-1;23433:18:0;23425:30;;23398:69;23488:5;;;23492:1;23488;:5;:1;23510:5;;;;;:10;23506:144;;-1:-1:-1;23545:26:0;;-1:-1:-1;23573:1:0;;-1:-1:-1;23537:38:0;;23506:144;23616:18;;-1:-1:-1;23636:1:0;-1:-1:-1;23608:30:0;;23752:215;23808:9;;23840:6;23836:77;;-1:-1:-1;23871:26:0;;-1:-1:-1;23899:1:0;23863:38;;23836:77;23933:18;23957:1;23953;:5;;;;;;23925:34;;;;23752:215;;;;;:::o;67744:3176::-;67892:11;;:58;;;-1:-1:-1;;;67892:58:0;;67924:4;67892:58;;;;-1:-1:-1;;;;;67892:58:0;;;;;;;;;;;;;;;67814:4;;;;;;67892:11;;;:23;;:58;;;;;;;;;;;;;;;67814:4;67892:11;:58;;;5:2:-1;;;;30:1;27;20:12;5:2;67892:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67892:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;67892:58:0;;-1:-1:-1;67965:12:0;;67961:145;;68002:88;68013:27;68042:38;68082:7;68002:10;:88::i;:::-;67994:100;-1:-1:-1;68092:1:0;;-1:-1:-1;67994:100:0;;-1:-1:-1;67994:100:0;67961:145;68216:16;:14;:16::i;:::-;68194:18;;:38;68190:145;;68257:62;68262:22;68286:32;68257:4;:62::i;68190:145::-;68347:25;;:::i;:::-;68429:28;:26;:28::i;:::-;68400:25;;;68385:72;;;68386:12;;;68385:72;;;;;;;;;;;;;;;;;;;-1:-1:-1;68488:18:0;;-1:-1:-1;68472:4:0;:12;;;:34;;;;;;;;;68468:171;;68531:92;68542:16;68560:42;68609:4;:12;;;68604:18;;;;;;;68531:92;68523:104;-1:-1:-1;68625:1:0;;-1:-1:-1;68523:104:0;;-1:-1:-1;;68523:104:0;68468:171;69271:32;69284:6;69292:10;69271:12;:32::i;:::-;69247:21;;;:56;;;69576:42;;;;;;;;69591:25;;;;69576:42;;69530:89;;69247:56;69530:22;:89::i;:::-;69511:15;;;69496:123;;;69497:12;;;69496:123;;;;;;;;;;;;;;;;;;;-1:-1:-1;69654:18:0;;-1:-1:-1;69638:4:0;:12;;;:34;;;;;;;;;69630:79;;;;;-1:-1:-1;;;69630:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70013:37;70021:11;;70034:4;:15;;;70013:7;:37::i;:::-;69990:19;;;69975:75;;;69976:12;;;69975:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;70085:18:0;;-1:-1:-1;70069:4:0;:12;;;:34;;;;;;;;;70061:87;;;;-1:-1:-1;;;70061:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;70209:21:0;;;;;;:13;:21;;;;;;70232:15;;;;70201:47;;70209:21;70201:7;:47::i;:::-;70176:21;;;70161:87;;;70162:12;;;70161:87;;;;;;;;;;;;;;;;;;;-1:-1:-1;70283:18:0;;-1:-1:-1;70267:4:0;:12;;;:34;;;;;;;;;70259:90;;;;-1:-1:-1;;;70259:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70442:19;;;;70428:11;:33;70496:21;;;;-1:-1:-1;;;;;70472:21:0;;;;;;:13;:21;;;;;;;;;:45;;;;70606:21;;;;70629:15;;;;;70593:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70693:15;;;;70661:48;;;;;;;-1:-1:-1;;;;;70661:48:0;;;70678:4;;-1:-1:-1;;;;;;;;;;;70661:48:0;;;;;;;;70762:11;;70808:21;;;;70831:15;;;;70762:85;;;-1:-1:-1;;;70762:85:0;;70793:4;70762:85;;;;-1:-1:-1;;;;;70762:85:0;;;;;;;;;;;;;;;;;;;;;;:11;;;;;:22;;:85;;;;;:11;;:85;;;;;;;:11;;:85;;;5:2:-1;;;;30:1;27;20:12;5:2;70762:85:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;70873:14:0;;-1:-1:-1;70868:20:0;;-1:-1:-1;;70868:20:0;;70890:4;:21;;;70860:52;;;;;;67744:3176;;;;;:::o;80431:3943::-;80589:11;;:64;;;-1:-1:-1;;;80589:64:0;;80623:4;80589:64;;;;-1:-1:-1;;;;;80589:64:0;;;;;;;;;;;;;;;80515:4;;;;80589:11;;:25;;:64;;;;;;;;;;;;;;80515:4;80589:11;:64;;;5:2:-1;;;;30:1;27;20:12;5:2;80589:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;80589:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;80589:64:0;;-1:-1:-1;80668:12:0;;80664:142;;80704:90;80715:27;80744:40;80786:7;80704:10;:90::i;:::-;80697:97;;;;;80664:142;80916:16;:14;:16::i;:::-;80894:18;;:38;80890:142;;80956:64;80961:22;80985:34;80956:4;:64::i;80890:142::-;81141:12;81124:14;:12;:14::i;:::-;:29;81120:143;;;81177:74;81182:29;81213:37;81177:4;:74::i;81120:143::-;81275:27;;:::i;:::-;81590:37;81618:8;81590:27;:37::i;:::-;81567:19;;;81552:75;;;81553:4;81552:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;81658:18:0;;-1:-1:-1;81642:12:0;;:34;;;;;;;;;81638:181;;81700:107;81711:16;81729:57;81793:4;:12;;;81788:18;;;;;;;81700:107;81693:114;;;;;;81638:181;81872:42;81880:4;:19;;;81901:12;81872:7;:42::i;:::-;81846:22;;;81831:83;;;81832:4;81831:83;;;;;;;;;;;;;;;;;;;-1:-1:-1;81945:18:0;;-1:-1:-1;81929:12:0;;:34;;;;;;;;;81925:188;;81987:114;81998:16;82016:64;82087:4;:12;;;82082:18;;;;;;;81925:188;82164:35;82172:12;;82186;82164:7;:35::i;:::-;82140:20;;;82125:74;;;82126:4;82125:74;;;;;;;;;;;;;;;;;;;-1:-1:-1;82230:18:0;;-1:-1:-1;82214:12:0;;:34;;;;;;;;;82210:179;;82272:105;82283:16;82301:55;82363:4;:12;;;82358:18;;;;;;;82210:179;82990:9;;82883:8;;;;82968:32;;82976:12;;82968:7;:32::i;:::-;82946:54;-1:-1:-1;82946:54:0;82947:4;82946:54;;;;;;;;;;;;;;;;;;;-1:-1:-1;83031:18:0;;-1:-1:-1;83015:12:0;;:34;;;;;;;;;83011:188;;83073:114;83084:16;83102:64;83173:4;:12;;;83168:18;;;;;;;83073:114;83066:121;;;;;;;;83011:188;83233:26;83241:3;44074:5;83233:7;:26::i;:::-;83211:48;-1:-1:-1;83211:48:0;83212:4;83211:48;;;;;;;;;;;;;;;;;;;-1:-1:-1;83290:18:0;;-1:-1:-1;83274:12:0;;:34;;;;;;;;;83270:188;;83332:114;83343:16;83361:64;83432:4;:12;;;83427:18;;;;;;;83270:188;83509:26;83517:12;83531:3;83509:7;:26::i;:::-;83470:65;-1:-1:-1;83470:65:0;83471:4;83470:65;;;;;;;;;;;;;;;;;;;-1:-1:-1;83566:18:0;;-1:-1:-1;83550:12:0;;:34;;;;;;;;;83546:188;;83608:114;83619:16;83637:64;83708:4;:12;;;83703:18;;;;;;;83546:188;83746:45;83760:8;83770:20;83746:13;:45::i;:::-;83816:5;;83802:25;;-1:-1:-1;;;;;83816:5:0;83823:3;83802:13;:25::i;:::-;83947:22;;;;;;-1:-1:-1;;;;;83910:24:0;;;;;;:14;:24;;;;;;;;:59;;;84021:11;;83980:38;;;;:52;;;;84058:20;;;;;84043:12;:35;;;84165:22;;84134:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84263:11;;:63;;;-1:-1:-1;;;84263:63:0;;84296:4;84263:63;;;;-1:-1:-1;;;;;84263:63:0;;;;;;;;;;;;;;;:11;;;;;:24;;:63;;;;;:11;;:63;;;;;;;:11;;:63;;;5:2:-1;;;;30:1;27;20:12;5:2;84263:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;84351:14:0;;-1:-1:-1;84346:20:0;;-1:-1:-1;;84346:20:0;;84339:27;80431:3943;-1:-1:-1;;;;;;;80431:3943:0:o;92373:3582::-;92594:11;;:111;;;-1:-1:-1;;;92594:111:0;;92637:4;92594:111;;;;-1:-1:-1;;;;;92594:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92511:4;;;;;;92594:11;;;:34;;:111;;;;;;;;;;;;;;;92511:4;92594:11;:111;;;5:2:-1;;;;30:1;27;20:12;5:2;92594:111:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;92594:111:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;92594:111:0;;-1:-1:-1;92720:12:0;;92716:150;;92757:93;92768:27;92797:43;92842:7;92757:10;:93::i;:::-;92749:105;-1:-1:-1;92852:1:0;;-1:-1:-1;92749:105:0;;-1:-1:-1;92749:105:0;92716:150;92976:16;:14;:16::i;:::-;92954:18;;:38;92950:150;;93017:67;93022:22;93046:37;93017:4;:67::i;92950:150::-;93246:16;:14;:16::i;:::-;93205;-1:-1:-1;;;;;93205:35:0;;:37;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;93205:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;93205:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;93205:37:0;:57;93201:180;;93287:78;93292:22;93316:48;93287:4;:78::i;93201:180::-;93454:10;-1:-1:-1;;;;;93442:22:0;:8;-1:-1:-1;;;;;93442:22:0;;93438:145;;;93489:78;93494:26;93522:44;93489:4;:78::i;93438:145::-;93638:16;93634:147;;93679:86;93684:36;93722:42;93679:4;:86::i;93634:147::-;-1:-1:-1;;93837:11:0;:23;93833:158;;;93885:90;93890:36;93928:46;93885:4;:90::i;93833:158::-;94047:21;94070:22;94096:51;94113:10;94125:8;94135:11;94096:16;:51::i;:::-;94046:101;;-1:-1:-1;94046:101:0;-1:-1:-1;94162:40:0;;94158:163;;94227:78;94238:16;94232:23;;;;;;;;94257:47;94227:4;:78::i;:::-;94219:90;-1:-1:-1;94307:1:0;;-1:-1:-1;94219:90:0;;-1:-1:-1;;;94219:90:0;94158:163;94578:11;;:102;;;-1:-1:-1;;;94578:102:0;;94628:4;94578:102;;;;-1:-1:-1;;;;;94578:102:0;;;;;;;;;;;;;;;94535:21;;;;94578:11;;;:41;;:102;;;;;;;;;;;;:11;:102;;;5:2:-1;;;;30:1;27;20:12;5:2;94578:102:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94578:102:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;94578:102:0;;;;;;;;;-1:-1:-1;94578:102:0;-1:-1:-1;94699:40:0;;94691:104;;;;-1:-1:-1;;;94691:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94929:11;94889:16;-1:-1:-1;;;;;94889:26:0;;94916:8;94889:36;;;;;;;;;;;;;-1:-1:-1;;;;;94889:36:0;-1:-1:-1;;;;;94889:36:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94889:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94889:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;94889:36:0;:51;;94881:88;;;;;-1:-1:-1;;;94881:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;95098:15;-1:-1:-1;;;;;95128:42:0;;95165:4;95128:42;95124:254;;;95200:63;95222:4;95229:10;95241:8;95251:11;95200:13;:63::i;:::-;95187:76;;95124:254;;;95309:57;;;-1:-1:-1;;;95309:57:0;;-1:-1:-1;;;;;95309:57:0;;;;;;;;;;;;;;;;;;;;;;:22;;;;;;:57;;;;;;;;;;;;;;;-1:-1:-1;95309:22:0;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;95309:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;95309:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;95309:57:0;;-1:-1:-1;95124:254:0;95484:34;;95476:67;;;;;-1:-1:-1;;;95476:67:0;;;;;;;;;;;;-1:-1:-1;;;95476:67:0;;;;;;;;;;;;;;;95608:96;;;-1:-1:-1;;;;;95608:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95757:11;;:129;;;-1:-1:-1;;;95757:129:0;;95799:4;95757:129;;;;-1:-1:-1;;;;;95757:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:11;;;;;:33;;:129;;;;;:11;;:129;;;;;;;:11;;:129;;;5:2:-1;;;;30:1;27;20:12;5:2;95757:129:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;95912:14:0;;-1:-1:-1;95907:20:0;;-1:-1:-1;;95907:20:0;;95899:48;-1:-1:-1;95929:17:0;;-1:-1:-1;;;;;;92373:3582:0;;;;;;;;:::o;119583:1344::-;119727:10;;119770:51;;;-1:-1:-1;;;119770:51:0;;119815:4;119770:51;;;;;;119650:4;;-1:-1:-1;;;;;119727:10:0;;119650:4;;119727:10;;119770:36;;:51;;;;;;;;;;;;;;119727:10;119770:51;;;5:2:-1;;;;30:1;27;20:12;5:2;119770:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;119770:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;119770:51:0;119832:47;;;-1:-1:-1;;;119832:47:0;;-1:-1:-1;;;;;119832:47:0;;;;;;;119865:4;119832:47;;;;;;;;;;;;119770:51;;-1:-1:-1;119832:18:0;;;;;;:47;;;;;-1:-1:-1;;119832:47:0;;;;;;;;-1:-1:-1;119832:18:0;:47;;;5:2:-1;;;;30:1;27;20:12;5:2;119832:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;119832:47:0;;;;119892:12;119946:16;119985:1;119980:153;;;;120156:2;120151:220;;;;120507:1;120504;120497:12;119980:153;-1:-1:-1;;120076:6:0;-1:-1:-1;119980:153:0;;120151:220;120254:2;120251:1;120248;120233:24;120296:1;120290:8;120279:19;;119939:589;;120557:7;120549:44;;;;;-1:-1:-1;;;120549:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;120706:10;;120691:51;;;-1:-1:-1;;;120691:51:0;;120736:4;120691:51;;;;;;120671:17;;-1:-1:-1;;;;;120706:10:0;;120691:36;;:51;;;;;;;;;;;;;;120706:10;120691:51;;;5:2:-1;;;;30:1;27;20:12;5:2;120691:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;120691:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;120691:51:0;;-1:-1:-1;120761:29:0;;;;120753:68;;;;;-1:-1:-1;;;120753:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;120839:28;;;;;119583:1344;-1:-1:-1;;;;;119583:1344:0:o;29697:337::-;29785:9;29796:4;29814:13;29829:19;;:::i;:::-;29852:31;29867:6;29875:7;29046:9;29057:10;;:::i;:::-;29364:14;29380;29398:25;25495:4;29416:6;29398:7;:25::i;:::-;29363:60;;-1:-1:-1;29363:60:0;-1:-1:-1;29446:18:0;29438:4;:26;;;;;;;;;29434:92;;-1:-1:-1;29495:18:0;;;;;;;;;-1:-1:-1;29495:18:0;;29489:4;;-1:-1:-1;29495:18:0;-1:-1:-1;29481:33:0;;29434:92;29543:35;29550:9;29561:7;:16;;;29543:6;:35::i;114613:7925::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;114613:7925:0;;;-1:-1:-1;114613:7925:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;114613:7925:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;114613:7925:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;114613:7925:0;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://180849093420440f5811ab05f6a40dd42b5f0d592db05297a823e53ca360e2f8
Loading...
Loading
Loading...
Loading
[ 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.