**Maintenance in progress, block data might not be up to date**

Contract 0x24664791b015659fcb71ab2c9c0d56996462082f 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xcabe0df02bb7445b68e05ba3c6da2de01a842e1aa3a076804f339273a1eedbc7Redeem Underlyin...131459512021-12-03 1:27:0722 mins ago0xf604c1adaf20875b6a5994394969fee47015e554 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.00303493
0xcb6a4436bb26df17c417dc8bb83e276bc7e158b366c0b058d306cab067fd3055Redeem Underlyin...131458892021-12-03 1:24:0125 mins ago0xf604c1adaf20875b6a5994394969fee47015e554 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.002678685
0x27e97760dbe4587edd228e934c1c2736fe0c33a9f01d9c0e24ced517b2e24580Mint131457192021-12-03 1:15:3133 mins ago0x34ff1438099bd859097fd25a18268507c257001f IN  0x24664791b015659fcb71ab2c9c0d56996462082f0.5 BNB0.002132835
0x32fdac1774187d41a42d8e93e9d37b3c5778244d032db485fe11bd84ab27b6f4Redeem Underlyin...131454072021-12-03 0:59:5449 mins ago0xc60bd833510395add1f52e4479a15fc8048e82ca IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.00201301
0xece4ddfc6cadd28b89fd56b2b0828136aa9743d76bd4e6bc424cc060312b7526Mint131449502021-12-03 0:37:031 hr 12 mins ago0x27cb1c2767951c0bb19df74a7376c2c1742820aa IN  0x24664791b015659fcb71ab2c9c0d56996462082f0.1 BNB0.002026985
0x5d08703e3c7d3a73c2b6557d12599964f6d6bff9cdccc660e848ea8d37b81ec0_reduce Reserves131448912021-12-03 0:34:061 hr 15 mins ago0xfd525f21c17f2469b730a118e0568b4b459d61b9 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.000923005
0x9dd8048c476b98ca08bf2e62af2243c14f0a5639223e5715be35e0beab41aa4aMint131442592021-12-03 0:02:291 hr 46 mins ago0xc0515b10d5eddc1f57c066cb474eee2fcbacb1c1 IN  0x24664791b015659fcb71ab2c9c0d56996462082f15 BNB0.001898175
0xb667db2e495ec15a2faa8a62304a9c5ff9bd4678c08772aec11d6db67660c4b8Mint131440972021-12-02 23:54:231 hr 54 mins ago0x60e52f23496fbe01a12b7eaa4ba3c6377612ff85 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0.19 BNB0.002026985
0x868ce18af88d1c0d7a2fa120d9f4b790f62ae56526c02cd40f01f0f4f9df8566Repay Borrow131435732021-12-02 23:28:112 hrs 21 mins ago0xb2b0b2672ce18e9d2bb27fb1f2681aefe1449157 IN  0x24664791b015659fcb71ab2c9c0d56996462082f2 BNB0.003903645
0xea4738a75df13da1f697bbf02727045d8a6dfa9555443df05f1c2823b933f7deRedeem Underlyin...131435272021-12-02 23:25:532 hrs 23 mins ago0xc0515b10d5eddc1f57c066cb474eee2fcbacb1c1 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.00200626
0xf24e36682a3df75d9c37e3518cbecceb7edae3b39930000586836f9779117159Mint131431202021-12-02 23:05:322 hrs 43 mins ago0xa46dc030e9d50ce945893d1f7b6c55f3d9b34618 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0.079 BNB0.002132835
0x7081734f6a0b8cb43f50e67cc832a91fb57d0b4610da0c97bd88890755f910e1Borrow131426102021-12-02 22:40:023 hrs 9 mins ago0xfd525f21c17f2469b730a118e0568b4b459d61b9 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.00501703
0xab15c929144299133562d6738616e3c7982253bbac17d52ea1f52e6e020bf96cRedeem Underlyin...131425192021-12-02 22:35:293 hrs 13 mins ago0xd3250bfad145ca62ed1097a951b3687d9a498af0 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.00201301
0x0eca438de60b987288fe229e29d3cdc252955277fe2ee8c677895bb9ce95e0b2Mint131418582021-12-02 22:01:533 hrs 47 mins ago0x506884697f0bb3715b0ff07ab256bce1e705cf4b IN  0x24664791b015659fcb71ab2c9c0d56996462082f824 BNB0.00191205
0xc635fb3c60b47d54f982f5a498ccef5f4774c06af86dad5bd74bcceeb6f38fd9Redeem Underlyin...131412472021-12-02 21:31:204 hrs 18 mins ago0xeb38dc66ef461fae07f4cd2c49160aabc584c82b IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.003008965
0x83c41beb8a0b6a4842c824cc920f3a507b8c4a78e732f500fe8dfbcb99208223Redeem Underlyin...131411602021-12-02 21:26:594 hrs 22 mins ago0xe5bae145efef46a7ffac8762a6549a4bd818e8b2 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.00201295
0x8bf40c9d86181c6d7697399e63202ba7e0e2f9761f1f4055b2712437c4ac9541Redeem Underlyin...131407832021-12-02 21:08:084 hrs 41 mins ago0x9381041d3c5a9a03f1f9fbae9fa45966b4e4347f IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.002746385
0x06f452ae6dbc3c5588cc177074c60705cc3305e5c7d33cf73f36dfc5f894145eMint131405092021-12-02 20:54:264 hrs 54 mins ago0x247884f7a2822c6f7d2ce41880fb4855b182d8c4 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0.395237 BNB0.002020295
0xaa2982ef33dff7ac252dbbd7fd75fc5f680a01a00745a507ad1cd458c9ad4878Redeem Underlyin...131399932021-12-02 20:28:325 hrs 20 mins ago0x023a4c34354c72843c50b5ed1dbb57326d6549a9 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.003420405
0x3c2186032375ead27037b5ab27089087d1eb8017a012c5928b77b1a4be08b05cMint131395862021-12-02 20:08:115 hrs 41 mins ago0x506884697f0bb3715b0ff07ab256bce1e705cf4b IN  0x24664791b015659fcb71ab2c9c0d56996462082f117 BNB0.00191205
0xb18b91847287c6bacbe2442b57b3d2d09e9890b81bce288acc6d6c1f4c714c85Mint131393792021-12-02 19:57:505 hrs 51 mins ago0x6f8c231d181381428b2690eb65951902f2783e87 IN  0x24664791b015659fcb71ab2c9c0d56996462082f73 BNB0.002010715
0xcd5280fac58aaef889850b6981de44183fefa0ea4e2fec9dd145203264714142Redeem Underlyin...131389122021-12-02 19:34:176 hrs 15 mins ago0xce8979bc390926654255caabba2af8598cb88e37 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.00193801
0x7720f90e2d8cf58ed3852796e735a974d288b62356b89d9c9ebc0078556b66f3Mint131377052021-12-02 18:33:547 hrs 15 mins ago0x1d37da65050c716be3936bfe68bb92d4d645cf1b IN  0x24664791b015659fcb71ab2c9c0d56996462082f0.162 BNB0.002026985
0xc50360cc4f9aeab4cb5134f68fd5b12961f2a9dc48fc791aa7f350bfa140e479Borrow131373942021-12-02 18:18:217 hrs 30 mins ago0x6d53c584d29294b0a3db8516c358a026a2f01f21 IN  0x24664791b015659fcb71ab2c9c0d56996462082f0 BNB0.00633938
0x0d546eaca6c9698d6c40bf80ff7c977618f658bd7b6616dff900270e5dc6f8c4Mint131368032021-12-02 17:48:468 hrs ago0x0bcd590a7bc197eab00bc00c19035d89bf8b0d9f IN  0x24664791b015659fcb71ab2c9c0d56996462082f26 BNB0.002085715
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xea4738a75df13da1f697bbf02727045d8a6dfa9555443df05f1c2823b933f7de131435272021-12-02 23:25:532 hrs 23 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xc0515b10d5eddc1f57c066cb474eee2fcbacb1c110 BNB
0xa4047e0099e36e72e89260999a670a385fba9c43183599ba5f15ddeb0fef4cc4131426182021-12-02 22:40:263 hrs 8 mins ago 0x706290d3e011edc3c66b1bfee93b25249729619a 0x24664791b015659fcb71ab2c9c0d56996462082f0.003206381506031159 BNB
0x7081734f6a0b8cb43f50e67cc832a91fb57d0b4610da0c97bd88890755f910e1131426102021-12-02 22:40:023 hrs 9 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xfd525f21c17f2469b730a118e0568b4b459d61b90.00320638112424466 BNB
0xab15c929144299133562d6738616e3c7982253bbac17d52ea1f52e6e020bf96c131425192021-12-02 22:35:293 hrs 13 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xd3250bfad145ca62ed1097a951b3687d9a498af03.455914 BNB
0x13d79f316cfc9af0605ac7e594134ae2cfcf505221e0f52f39b7be0f6d7494dd131422912021-12-02 22:24:053 hrs 25 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f 0x39a280317a6389b8a6b54175d14becaf63aef4721.623863967739955587 BNB
0xc635fb3c60b47d54f982f5a498ccef5f4774c06af86dad5bd74bcceeb6f38fd9131412472021-12-02 21:31:204 hrs 18 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xeb38dc66ef461fae07f4cd2c49160aabc584c82b6.503833 BNB
0x83c41beb8a0b6a4842c824cc920f3a507b8c4a78e732f500fe8dfbcb99208223131411602021-12-02 21:26:594 hrs 22 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xe5bae145efef46a7ffac8762a6549a4bd818e8b22.196128 BNB
0x04d154e29abc9a08702246edca00126bf5fc580715a7571ec87ef3d3ca77e70f131409222021-12-02 21:15:054 hrs 34 mins ago 0x706290d3e011edc3c66b1bfee93b25249729619a 0x24664791b015659fcb71ab2c9c0d56996462082f68.819144242511617828 BNB
0x8bf40c9d86181c6d7697399e63202ba7e0e2f9761f1f4055b2712437c4ac9541131407832021-12-02 21:08:084 hrs 41 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x9381041d3c5a9a03f1f9fbae9fa45966b4e4347f44.070001 BNB
0xaa2982ef33dff7ac252dbbd7fd75fc5f680a01a00745a507ad1cd458c9ad4878131399932021-12-02 20:28:325 hrs 20 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x023a4c34354c72843c50b5ed1dbb57326d6549a90.08067047060956703 BNB
0xcd5280fac58aaef889850b6981de44183fefa0ea4e2fec9dd145203264714142131389122021-12-02 19:34:176 hrs 15 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xce8979bc390926654255caabba2af8598cb88e373.000458 BNB
0xc50360cc4f9aeab4cb5134f68fd5b12961f2a9dc48fc791aa7f350bfa140e479131373942021-12-02 18:18:217 hrs 30 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x6d53c584d29294b0a3db8516c358a026a2f01f21200 BNB
0x4160e1a5cc2ac31966cbcde188351a3449d431221c7a4f2d3acef138516269a9131362542021-12-02 17:21:198 hrs 28 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x989b3c9f5bc4189dfaee8efac99f9638d39fc45d584 BNB
0x77334836861fbdd74c63e1990e7391912d815635f31ef9484459a86d042e03c6131361222021-12-02 17:14:438 hrs 34 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x271e4dcdae14450d68cd605dc0026059523503500.450475 BNB
0xc9dc5ca27a43c57b5357a3d67f93555bb591e2346b7b5acf14db7f2e131ae6fe131357412021-12-02 16:55:398 hrs 53 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xd9350bd6fa9232c105b38f012ee3f803ca85c358130 BNB
0x74bf63ee2661ef167e0fe75cc747e50565f9ff0da262e16d4efef97207049e19131354372021-12-02 16:40:249 hrs 8 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xd4d512bab6f8497ebbc374a86bf94abc75a4f6c10.150216 BNB
0xd969492ec412a0e1ab9126fbd6acfbc92aae4413cb8c17f5c935f51e3e51172a131349522021-12-02 16:15:469 hrs 33 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x4733da8988c4d93a8209fb8c8f2a12075493032e4 BNB
0x43989de05a6290ec089e4ed775aab137f74971ecbdc90358bf1b81a7117a309f131345892021-12-02 15:56:419 hrs 52 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x506884697f0bb3715b0ff07ab256bce1e705cf4b3,000 BNB
0xe8404a84d8371486e19295e5ea26cced73f0a9f5195378d04dca3afe68ecc327131345052021-12-02 15:52:299 hrs 56 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x506884697f0bb3715b0ff07ab256bce1e705cf4b5,000 BNB
0x4ce10029718cc5c8eb5854c986a9b1261945c12aaf94c7741c51e15501cd5153131342792021-12-02 15:41:0610 hrs 8 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xbf80bb90e82ae6a8669f75abcaed22f97fe72125948.174037 BNB
0x26ec743e80d8b31fb0c3907689abf19a23638017096eaf387c7e637b61d160e7131341302021-12-02 15:33:3210 hrs 15 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x8f807e3d31487aa873c0042ef82723fc6af2b5d719.018968 BNB
0x325d68c2a91269d7b4432eed903392a9c6a388ee8fc6e0595fc484612a098b75131334262021-12-02 14:56:0910 hrs 53 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xad32e2b3ef984ec1c050e3041bb92ff104d8d8f44.7918449545790756 BNB
0xd33ba1e7ba142bdb078f778afc7009104fce1c50724ed977332b195a61808019131332642021-12-02 14:47:2311 hrs 1 min ago 0x24664791b015659fcb71ab2c9c0d56996462082f0xe47cefe1d5d248e73458f2ccb2e85dbc4cd804281.400678797900386 BNB
0x71090d49cc25e31ce00a3740ae69dfe8ebacd5b270a8d5489703403393739eea131326922021-12-02 14:18:2011 hrs 31 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x483f8c606f934fcac72d618466516122b4e69a350.896318 BNB
0x54ec977b0a3d0de7a06aab4c4490a39146840a1e7776f2b169f367dcd65482a9131323042021-12-02 13:58:5511 hrs 50 mins ago 0x24664791b015659fcb71ab2c9c0d56996462082f0x318d73c1fba3a67b9ecc33525b5d5636166aee86653.376482 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GBNB

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-11-17
*/

/**
 *Submitted for verification at Etherscan.io on 2019-05-07
*/

// File: contracts/GammatrollerInterface.sol

pragma solidity ^0.5.8;

interface PriceOracle {
    /**
      * @notice Get the underlying price of a gToken asset
      * @param gToken The gToken to get the underlying price of
      * @return The underlying asset price mantissa (scaled by 1e18).
      *  Zero means the price is unavailable.
      */
    function getUnderlyingPrice(GToken gToken) external view returns (uint);

    function validate(address gToken) external returns(bool);
}

interface GammatrollerInterface {
    
    function oracle() external view returns (address);
    
    /**
     * @notice Marker function used for light validation when updating the gammatroller of a market
     * @dev Implementations should simply return true.
     * @return true
     */
    function isGammatroller() external view returns (bool);

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

    function enterMarkets(address[] calldata gTokens) external returns (uint[] memory);
    function exitMarket(address gToken) external returns (uint);

    /*** Policy Hooks ***/

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

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

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

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

    function liquidateBorrowAllowed(
        address gTokenBorrowed,
        address gTokenCollateral,
        address liquidator,
        address borrower,
        uint repayAmount) external returns (uint);
    function liquidateBorrowVerify(
        address gTokenBorrowed,
        address gTokenCollateral,
        address liquidator,
        address borrower,
        uint repayAmount,
        uint seizeTokens) external;

    function seizeAllowed(
        address gTokenCollateral,
        address gTokenBorrowed,
        address liquidator,
        address borrower,
        uint seizeTokens) external returns (uint);
    function seizeVerify(
        address gTokenCollateral,
        address gTokenBorrowed,
        address liquidator,
        address borrower,
        uint seizeTokens) external;

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

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

    function liquidateCalculateSeizeTokens(
        address gTokenBorrowed,
        address gTokenCollateral,
        uint repayAmount) external view returns (uint, uint);
}

// File: contracts/ErrorReporter.sol

pragma solidity ^0.5.8;

contract GammatrollerErrorReporter {
    enum Error {
        NO_ERROR,
        UNAUTHORIZED,
        GAMMATROLLER_MISMATCH,
        INSUFFICIENT_SHORTFALL,
        INSUFFICIENT_LIQUIDITY,
        INVALID_CLOSE_FACTOR,
        INVALID_COLLATERAL_FACTOR,
        INVALID_LIQUIDATION_INCENTIVE,
        MARKET_NOT_ENTERED,
        MARKET_NOT_LISTED,
        MARKET_ALREADY_LISTED,
        MATH_ERROR,
        NONZERO_BORROW_BALANCE,
        PRICE_ERROR,
        REJECTION,
        SNAPSHOT_ERROR,
        TOO_MANY_ASSETS,
        TOO_MUCH_REPAY
    }

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

    /**
      * @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,
        UNAUTHORIZED,
        BAD_INPUT,
        GAMMATROLLER_REJECTION,
        GAMMATROLLER_CALCULATION_ERROR,
        INTEREST_RATE_MODEL_ERROR,
        INVALID_ACCOUNT_PAIR,
        INVALID_CLOSE_AMOUNT_REQUESTED,
        INVALID_COLLATERAL_FACTOR,
        MATH_ERROR,
        MARKET_NOT_FRESH,
        MARKET_NOT_LISTED,
        TOKEN_INSUFFICIENT_ALLOWANCE,
        TOKEN_INSUFFICIENT_BALANCE,
        TOKEN_INSUFFICIENT_CASH,
        TOKEN_TRANSFER_IN_FAILED,
        TOKEN_TRANSFER_OUT_FAILED
    }

    /*
     * 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,
        ACCRUE_INTEREST_ACCUMULATED_INTEREST_CALCULATION_FAILED,
        ACCRUE_INTEREST_BORROW_RATE_CALCULATION_FAILED,
        ACCRUE_INTEREST_NEW_BORROW_INDEX_CALCULATION_FAILED,
        ACCRUE_INTEREST_NEW_TOTAL_BORROWS_CALCULATION_FAILED,
        ACCRUE_INTEREST_NEW_TOTAL_RESERVES_CALCULATION_FAILED,
        ACCRUE_INTEREST_SIMPLE_INTEREST_FACTOR_CALCULATION_FAILED,
        BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED,
        BORROW_ACCRUE_INTEREST_FAILED,
        BORROW_CASH_NOT_AVAILABLE,
        BORROW_FRESHNESS_CHECK,
        BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED,
        BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED,
        BORROW_MARKET_NOT_LISTED,
        BORROW_GAMMATROLLER_REJECTION,
        LIQUIDATE_ACCRUE_BORROW_INTEREST_FAILED,
        LIQUIDATE_ACCRUE_COLLATERAL_INTEREST_FAILED,
        LIQUIDATE_COLLATERAL_FRESHNESS_CHECK,
        LIQUIDATE_GAMMATROLLER_REJECTION,
        LIQUIDATE_GAMMATROLLER_CALCULATE_AMOUNT_SEIZE_FAILED,
        LIQUIDATE_CLOSE_AMOUNT_IS_UINT_MAX,
        LIQUIDATE_CLOSE_AMOUNT_IS_ZERO,
        LIQUIDATE_FRESHNESS_CHECK,
        LIQUIDATE_LIQUIDATOR_IS_BORROWER,
        LIQUIDATE_REPAY_BORROW_FRESH_FAILED,
        LIQUIDATE_SEIZE_BALANCE_INCREMENT_FAILED,
        LIQUIDATE_SEIZE_BALANCE_DECREMENT_FAILED,
        LIQUIDATE_SEIZE_GAMMATROLLER_REJECTION,
        LIQUIDATE_SEIZE_LIQUIDATOR_IS_BORROWER,
        LIQUIDATE_SEIZE_TOO_MUCH,
        MINT_ACCRUE_INTEREST_FAILED,
        MINT_GAMMATROLLER_REJECTION,
        MINT_EXCHANGE_CALCULATION_FAILED,
        MINT_EXCHANGE_RATE_READ_FAILED,
        MINT_FRESHNESS_CHECK,
        MINT_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED,
        MINT_NEW_TOTAL_SUPPLY_CALCULATION_FAILED,
        MINT_TRANSFER_IN_FAILED,
        MINT_TRANSFER_IN_NOT_POSSIBLE,
        REDEEM_ACCRUE_INTEREST_FAILED,
        REDEEM_GAMMATROLLER_REJECTION,
        REDEEM_EXCHANGE_TOKENS_CALCULATION_FAILED,
        REDEEM_EXCHANGE_AMOUNT_CALCULATION_FAILED,
        REDEEM_EXCHANGE_RATE_READ_FAILED,
        REDEEM_FRESHNESS_CHECK,
        REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED,
        REDEEM_NEW_TOTAL_SUPPLY_CALCULATION_FAILED,
        REDEEM_TRANSFER_OUT_NOT_POSSIBLE,
        REDUCE_RESERVES_ACCRUE_INTEREST_FAILED,
        REDUCE_RESERVES_ADMIN_CHECK,
        REDUCE_RESERVES_CASH_NOT_AVAILABLE,
        REDUCE_RESERVES_FRESH_CHECK,
        REDUCE_RESERVES_VALIDATION,
        REPAY_BEHALF_ACCRUE_INTEREST_FAILED,
        REPAY_BORROW_ACCRUE_INTEREST_FAILED,
        REPAY_BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED,
        REPAY_BORROW_GAMMATROLLER_REJECTION,
        REPAY_BORROW_FRESHNESS_CHECK,
        REPAY_BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED,
        REPAY_BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED,
        REPAY_BORROW_TRANSFER_IN_NOT_POSSIBLE,
        SET_COLLATERAL_FACTOR_OWNER_CHECK,
        SET_COLLATERAL_FACTOR_VALIDATION,
        SET_GAMMATROLLER_OWNER_CHECK,
        SET_INTEREST_RATE_MODEL_ACCRUE_INTEREST_FAILED,
        SET_INTEREST_RATE_MODEL_FRESH_CHECK,
        SET_INTEREST_RATE_MODEL_OWNER_CHECK,
        SET_MAX_ASSETS_OWNER_CHECK,
        SET_ORACLE_MARKET_NOT_LISTED,
        SET_PENDING_ADMIN_OWNER_CHECK,
        SET_RESERVE_FACTOR_ACCRUE_INTEREST_FAILED,
        SET_RESERVE_FACTOR_ADMIN_CHECK,
        SET_RESERVE_FACTOR_FRESH_CHECK,
        SET_RESERVE_FACTOR_BOUNDS_CHECK,
        TRANSFER_GAMMATROLLER_REJECTION,
        TRANSFER_NOT_ALLOWED,
        TRANSFER_NOT_ENOUGH,
        TRANSFER_TOO_MUCH,
        SET_DISCOUNT_LEVEL_OWNER_CHECK,
        DISCOUNT_ACCRUE_INTEREST_FAILED
    }

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

/**
  * @title Careful Math
  * @author Compound
  * @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.8;


/**
 * @title Exponential module for storing fixed-decision 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 halfExpScale = expScale/2;
    uint constant mantissaOne = expScale;

    struct Exp {
        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; //TODO: Add some simple tests and this in another PR yo.
    }

    /**
     * @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 returns true if Exp is exactly zero
     */
    function isZeroExp(Exp memory value) pure internal returns (bool) {
        return value.mantissa == 0;
    }
}

// File: contracts/EIP20Interface.sol

pragma solidity ^0.5.8;

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

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

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

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

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

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

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

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

// File: contracts/EIP20NonStandardInterface.sol

pragma solidity ^0.5.8;

/**
 * @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/ReentrancyGuard.sol

pragma solidity ^0.5.8;

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

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

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

// File: contracts/InterestRateModel.sol

pragma solidity ^0.5.8;

/**
  * @title The Compound InterestRateModel Interface
  * @author Compound
  * @notice Any interest rate model should derive from this contract.
  * @dev These functions are specifically not marked `pure` as implementations of this
  *      contract may read from storage variables.
  */
interface InterestRateModel {
    /**
      * @notice Gets the current borrow interest rate based on the given asset, total cash, total borrows
      *         and total reserves.
      * @dev The return value should be scaled by 1e18, thus a return value of
      *      `(true, 1000000000000)` implies an interest rate of 0.000001 or 0.0001% *per block*.
      * @param cash The total cash of the underlying asset in the GToken
      * @param borrows The total borrows of the underlying asset in the GToken
      * @param reserves The total reserves of the underlying asset in the GToken
      * @return Success or failure and the borrow interest rate per block scaled by 10e18
      */
    function getBorrowRate(uint cash, uint borrows, uint reserves) external view returns (uint, uint);

    /**
      * @notice Marker function used for light validation when updating the interest rate model of a market
      * @dev Marker function used for light validation when updating the interest rate model of a market. Implementations should simply return true.
      * @return Success or failure
      */
    function isInterestRateModel() external view returns (bool);
}

interface PlanetDiscount{
    
    function changeUserSupplyDiscount(address minter) external returns(uint _totalSupply,uint _accountTokens);
    
    function changeUserBorrowDiscount(address borrower) external returns(uint ,uint , uint);
    
    function changeLastExchangeRateAtSupply(address minter,uint exchangeRate) external;
    
    function changeLastBorrowAmountDiscountGiven(address borrower,uint borrowAmount) external;
        
    function returnSupplyUserArr(address market) external view returns(address[] memory);
    
    function returnBorrowUserArr(address market) external view returns(address[] memory);
    
    function supplyDiscountSnap(address market,address user) external view returns(bool,uint,uint,uint);
    
    function borrowDiscountSnap(address market,address user) external view returns(bool,uint,uint,uint,uint);
    
    function totalDiscountGiven(address market) external view returns(uint);
}

// File: contracts/GToken.sol

pragma solidity ^0.5.8;








/**
 * @title Compound's GToken Contract
 * @notice Abstract base for GTokens
 * @author Compound
 */
contract GToken is EIP20Interface, Exponential, TokenErrorReporter, ReentrancyGuard {
    /**
     * @notice Indicator that this is a GToken contract (for inspection)
     */
    bool public constant isGToken = true;
    
     /**
     * @notice Indicator that price updating is enabled in accrue interest 
     */
    bool public isPriceUpdate = true;

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

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

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

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

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

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

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

    /**
     * @notice Contract which oversees inter-gToken operations
     */
    GammatrollerInterface public gammatroller;

    /**
     * @notice Contract which return current discount contract
     */
    PlanetDiscount public discountLevel;

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

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

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

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

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

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

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

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

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

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

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

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


    /*** Market Events ***/
    
    /**
     * @notice Event emitted when isPriceUpdate changed
     */
    event isPriceUpdateChanged(bool oldPriceUpdate,bool newPriceUpdate,uint timestamp);

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

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

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

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

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

    /**
     * @notice Event emitted when a borrow is liquidated
     */
    event LiquidateBorrow(address liquidator, address borrower, uint repayAmount, address gTokenCollateral, 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 gammatroller is changed
     */
    event NewGammatroller(GammatrollerInterface oldGammatroller, GammatrollerInterface newGammatroller);

    /**
     * @notice Event emitted when discount level is changed
     */
    event NewDiscountLevel(PlanetDiscount oldDiscountLevel, PlanetDiscount newDiscountLevel);

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

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

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


    /**
     * @notice Construct a new money market
     * @param gammatroller_ The address of the Gammatroller
     * @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
     */
    constructor(GammatrollerInterface gammatroller_,
                InterestRateModel interestRateModel_,
                uint initialExchangeRateMantissa_,
                string memory name_,
                string memory symbol_,
                uint decimals_) internal {
        // Set admin to msg.sender
        admin = msg.sender;

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

        // Set the gammatroller
        uint err = _setGammatroller(gammatroller_);
        require(err == uint(Error.NO_ERROR), "Setting gammatroller failed");

        // Initialize block number and borrow index (block number mocks depend on gammatroller 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");

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

    /**
     * @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 = gammatroller.transferAllowed(address(this), src, dst, tokens);
        if (allowed != 0) {
            return failOpaque(Error.GAMMATROLLER_REJECTION, FailureInfo.TRANSFER_GAMMATROLLER_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 srgTokensNew;
        uint dstTokensNew;

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

        (mathErr, srgTokensNew) = 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] = srgTokensNew;
        accountTokens[dst] = dstTokensNew;

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

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

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

        return uint(Error.NO_ERROR);
    }

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

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

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

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

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

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

    /**
     * @notice Get a snapshot of the account's balances, and the cached exchange rate
     * @dev This is used by gammatroller 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 gTokenBalance = 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), gTokenBalance, 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) {
        (uint opaqueErr, uint borrowRateMantissa) = interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves);
        require(opaqueErr == 0, "borrowRatePerBlock: interestRateModel.borrowRate failed"); // semi-opaque
        return borrowRateMantissa;
    }

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

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

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

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

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

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

        return supplyRate.mantissa;
    }

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

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

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

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

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

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

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

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

        return (MathError.NO_ERROR, result);
    }

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

    /**
     * @notice Calculates the exchange rate from the underlying to the 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) {
        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();
    }

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

        Exp simpleInterestFactor;

        uint interestAccumulated;
        uint totalBorrowsNew;
        uint totalReservesNew;
        uint borrowIndexNew;
    }

    /**
      * @notice Applies accrued interest to total borrows and reserves.
      * @dev This calculates interest accrued from the last checkpointed block
      *      up to the current block and writes new checkpoint to storage.
      */
    function accrueInterest() public returns (uint) {
        
        if(isPriceUpdate)
        PriceOracle(gammatroller.oracle()).validate(address(this));
        
        AccrueInterestLocalVars memory vars;

        /* Calculate the current borrow interest rate */
        (vars.opaqueErr, vars.borrowRateMantissa) = interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves);
        require(vars.borrowRateMantissa <= borrowRateMaxMantissa, "borrow rate is absurdly high");
        if (vars.opaqueErr != 0) {
            return failOpaque(Error.INTEREST_RATE_MODEL_ERROR, FailureInfo.ACCRUE_INTEREST_BORROW_RATE_CALCULATION_FAILED, vars.opaqueErr);
        }

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

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

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

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

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

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

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

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

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

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

        return uint(Error.NO_ERROR);
    }

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

    struct MintLocalVars {
        Error err;
        MathError mathErr;
        uint exchangeRateMantissa;
        uint mintTokens;
        uint totalSupplyNew;
        uint accountTokensNew;
    }

    function changeUserSupplyDiscountInternal(address minter) internal 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.DISCOUNT_ACCRUE_INTEREST_FAILED);
        }
        
        (totalSupply,accountTokens[minter]) = PlanetDiscount(discountLevel).changeUserSupplyDiscount(minter);
    }

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

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

        MintLocalVars memory vars;

        /****************************DISCOUNT_CALCULATION******************************/
         changeUserSupplyDiscountInternal(minter);
        /******************************************************************************/

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

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

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

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

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

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

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

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

        /***************************************************************************************************/
        changeLastExchangeRateAtSupply(minter);
        /***************************************************************************************************/

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

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

        return uint(Error.NO_ERROR);
    }

    function changeLastExchangeRateAtSupply(address minter) internal {
        (,uint newExchangerate) = exchangeRateStoredInternal();
        PlanetDiscount(discountLevel).changeLastExchangeRateAtSupply(minter,newExchangerate);
    }

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

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

    /**
     * @notice User redeems gTokens 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 gTokens to redeem into underlying (only one of redeemTokensIn or redeemAmountIn may be zero)
     * @param redeemAmountIn The number of gTokens to redeem into underlying (only one of redeemTokensIn or redeemAmountIn may be zero)
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function redeemFresh(address payable redeemer, uint redeemTokensIn, uint redeemAmountIn) internal returns (uint) {
        require(redeemTokensIn == 0 || redeemAmountIn == 0, "one of redeemTokensIn or redeemAmountIn must be zero");

        /***************************************************************************************************/
        changeUserSupplyDiscountInternal(redeemer);
        /***************************************************************************************************/

        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 = gammatroller.redeemAllowed(address(this), redeemer, vars.redeemTokens);
        if (allowed != 0) {
            return failOpaque(Error.GAMMATROLLER_REJECTION, FailureInfo.REDEEM_GAMMATROLLER_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.
         *  If doTransferOut fails despite the fact we checked pre-conditions,
         *   we revert because we can't be sure if side effects occurred.
         */
        vars.err = doTransferOut(redeemer, vars.redeemAmount);
        require(vars.err == Error.NO_ERROR, "redeem transfer out failed");

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

        /***************************************************************************************************/
        changeLastExchangeRateAtSupply(redeemer);
        /***************************************************************************************************/

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

    /**
      * @notice Sets a new DiscountLevel for the market
      * @dev Admin function to set a new Discount Level Contract Address
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _setDiscountLevelInternal(PlanetDiscount newDiscountLevel) internal returns (uint) {
        // Check caller is admin
        
        if (msg.sender != admin) {
            return fail(Error.UNAUTHORIZED, FailureInfo.SET_DISCOUNT_LEVEL_OWNER_CHECK);
        }
        
        PlanetDiscount oldDiscount = discountLevel;
        
        // Set market's discountLevel to newDiscountLevel
        discountLevel = newDiscountLevel;
        emit NewDiscountLevel(oldDiscount, newDiscountLevel);
        return uint(Error.NO_ERROR);
    }

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

    function changeUserBorrowDiscountInternal(address borrower) internal 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.DISCOUNT_ACCRUE_INTEREST_FAILED);
        }
        
        (accountBorrows[borrower].principal,accountBorrows[borrower].interestIndex,totalBorrows) = PlanetDiscount(discountLevel).changeUserBorrowDiscount(borrower);
    }

    function changeLastBorrowBalanceAtBorrow(address borrower) internal {
        (,uint newBorrow) = borrowBalanceStoredInternal(borrower);
        PlanetDiscount(discountLevel).changeLastBorrowAmountDiscountGiven(borrower,newBorrow);
    }

    /**
      * @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 = gammatroller.borrowAllowed(address(this), borrower, borrowAmount);
        if (allowed != 0) {
            return failOpaque(Error.GAMMATROLLER_REJECTION, FailureInfo.BORROW_GAMMATROLLER_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;

        /****************************DISCOUNT_CALCULATION******************************/
        changeUserBorrowDiscountInternal(borrower);
        /******************************************************************************/

        /*
         * 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.
         *  If doTransferOut fails despite the fact we checked pre-conditions,
         *   we revert because we can't be sure if side effects occurred.
         */
        vars.err = doTransferOut(borrower, borrowAmount);
        require(vars.err == Error.NO_ERROR, "borrow transfer out failed");

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

        /****************************DISCOUNT_CALCULATION******************************/
        changeLastBorrowBalanceAtBorrow(borrower);
        /******************************************************************************/

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

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

        return uint(Error.NO_ERROR);
    }

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

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

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

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

        /***************************************************************************************************/
        if(payer == borrower)
        changeUserBorrowDiscountInternal(borrower);
        /***************************************************************************************************/

        uint allowed = gammatroller.repayBorrowAllowed(address(this), payer, borrower, repayAmount);
        if (allowed != 0) {
            return failOpaque(Error.GAMMATROLLER_REJECTION, FailureInfo.REPAY_BORROW_GAMMATROLLER_REJECTION, allowed);
        }

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

        RepayBorrowLocalVars memory vars;

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

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

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

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

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

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

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

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

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

        /***************************************************************************************************/
        if(payer == borrower){
            changeLastBorrowBalanceAtBorrow(borrower);
        }
        /***************************************************************************************************/

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

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

        return uint(Error.NO_ERROR);
    }

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

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

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

    /**
     * @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 gTokenCollateral The market in which to seize collateral from the borrower
     * @param repayAmount The amount of the underlying borrowed asset to repay
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function liquidateBorrowFresh(address liquidator, address borrower, uint repayAmount, GToken gTokenCollateral) internal returns (uint) {
        /* Fail if liquidate not allowed */
        uint allowed = gammatroller.liquidateBorrowAllowed(address(this), address(gTokenCollateral), liquidator, borrower, repayAmount);
        if (allowed != 0) {
            return failOpaque(Error.GAMMATROLLER_REJECTION, FailureInfo.LIQUIDATE_GAMMATROLLER_REJECTION, allowed);
        }

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

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

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

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

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

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

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

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

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

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

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

        return uint(Error.NO_ERROR);
    }

    /**
     * @notice Transfers collateral tokens (this market) to the liquidator.
     * @dev Will fail unless called by another 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 gTokens to seize
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function seize(address liquidator, address borrower, uint seizeTokens) external nonReentrant returns (uint) {
        /* Fail if seize not allowed */
        uint allowed = gammatroller.seizeAllowed(address(this), msg.sender, liquidator, borrower, seizeTokens);
        if (allowed != 0) {
            return failOpaque(Error.GAMMATROLLER_REJECTION, FailureInfo.LIQUIDATE_SEIZE_GAMMATROLLER_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 */
        gammatroller.seizeVerify(address(this), msg.sender, liquidator, borrower, seizeTokens);

        return uint(Error.NO_ERROR);
    }


    /*** Admin Functions ***/

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

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

        // Store pendingAdmin with value newPendingAdmin
        pendingAdmin = newPendingAdmin;

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

        return uint(Error.NO_ERROR);
    }

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

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

        // Store admin with value pendingAdmin
        admin = pendingAdmin;

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

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

        return uint(Error.NO_ERROR);
    }

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

        GammatrollerInterface oldGammatroller = gammatroller;
        // Ensure invoke gammatroller.isGammatroller() returns true
        require(newGammatroller.isGammatroller(), "marker method returned false");

        // Set market's gammatroller to newGammatroller
        gammatroller = newGammatroller;

        // Emit NewGammatroller(oldGammatroller, newGammatroller)
        emit NewGammatroller(oldGammatroller, newGammatroller);

        return uint(Error.NO_ERROR);
    }
    
    function changeIsPriceUpdate() external {
        require(msg.sender == admin,"ADMIN_CHECK_FAIL_IN_CHANGE_PRICE_UPDATE_BOOL");
        isPriceUpdate = !isPriceUpdate;
        emit isPriceUpdateChanged(!isPriceUpdate,isPriceUpdate,block.timestamp);
    }

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

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

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

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

        uint oldReserveFactorMantissa = reserveFactorMantissa;
        reserveFactorMantissa = newReserveFactorMantissa;

        emit NewReserveFactor(oldReserveFactorMantissa, newReserveFactorMantissa);

        return uint(Error.NO_ERROR);
    }

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

    /**
     * @notice Reduces reserves by transferring to admin
     * @dev Requires fresh interest accrual
     * @param reduceAmount Amount of reduction to reserves
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _reduceReservesFresh(uint reduceAmount) internal returns (uint) {
        Error err;
        // totalReserves - reduceAmount
        uint totalReservesNew;
        uint totalReservesAfterDiscountNew;
        uint totalDiscountGiven = PlanetDiscount(discountLevel).totalDiscountGiven(address(this));
        (,uint totalReservesAfterDiscount) = subUInt(totalReserves,totalDiscountGiven); 
        // Check caller is admin
        if (msg.sender != admin) {
            return fail(Error.UNAUTHORIZED, FailureInfo.REDUCE_RESERVES_ADMIN_CHECK);
        }

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

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

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

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

        totalReservesNew = totalReserves - reduceAmount;

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

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

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

        emit ReservesReduced(admin, reduceAmount, totalReservesNew);

        return uint(Error.NO_ERROR);
    }

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

    /**
     * @notice updates the interest rate model (*requires fresh interest accrual)
     * @dev Admin function to update the interest rate model
     * @param newInterestRateModel the new interest rate model to use
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _setInterestRateModelFresh(InterestRateModel newInterestRateModel) internal returns (uint) {

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

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

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

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

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

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

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

        return uint(Error.NO_ERROR);
    }

    /*** Safe Token ***/

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

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

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

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

// File: contracts/CEther.sol

pragma solidity ^0.5.8;


/**
 * @title Compound's CEther Contract
 * @notice GToken which wraps Ether
 * @author Compound
 */
contract GBNB is GToken {
    /**
     * @notice Construct a new CEther money market
     * @param gammatroller_ The address of the Gammatroller
     * @param interestRateModel_ The address of the interest rate model
     * @param initialExchangeRateMantissa_ The initial exchange rate, scaled by 1e18
     * @param name_ ERC-20 name of this token
     * @param symbol_ ERC-20 symbol of this token
     * @param decimals_ ERC-20 decimal precision of this token
     */
    constructor(GammatrollerInterface gammatroller_,
                InterestRateModel interestRateModel_,
                uint initialExchangeRateMantissa_,
                string memory name_,
                string memory symbol_,
                uint decimals_) public
    GToken(gammatroller_, interestRateModel_, initialExchangeRateMantissa_, name_, symbol_, decimals_) {}

    /*** User Interface ***/

    /**
     * @notice Sender supplies assets into the market and receives gTokens in exchange
     * @dev Reverts upon any failure
     */
    function mint() external payable {
        requireNoError(mintInternal(msg.value), "mint failed");
    }

    /**
     * @notice Sender redeems gTokens in exchange for the underlying asset
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param redeemTokens The number of gTokens 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 gTokens 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
     * @dev Reverts upon any failure
     */
    function repayBorrow() external payable {
        requireNoError(repayBorrowInternal(msg.value), "repayBorrow failed");
    }

    /**
     * @notice Sender repays a borrow belonging to borrower
     * @dev Reverts upon any failure
     * @param borrower the account with the debt being payed off
     */
    function repayBorrowBehalf(address borrower) external payable {
        requireNoError(repayBorrowBehalfInternal(borrower, msg.value), "repayBorrowBehalf failed");
    }

    /**
     * @notice The sender liquidates the borrowers collateral.
     *  The collateral seized is transferred to the liquidator.
     * @dev Reverts upon any failure
     * @param borrower The borrower of this gToken to be liquidated
     * @param gTokenCollateral The market in which to seize collateral from the borrower
     */
    function liquidateBorrow(address borrower, GToken gTokenCollateral) external payable {
        requireNoError(liquidateBorrowInternal(borrower, msg.value, gTokenCollateral), "liquidateBorrow failed");
    }

    /**
     * @notice The sender is updating the discount contract address.
     * @param newDiscountLevel New DiscountLevel contract address
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _setDiscountLevel(address newDiscountLevel) external returns (uint) {
        return _setDiscountLevelInternal(PlanetDiscount(newDiscountLevel));
    }
    
    /**
     * @notice The sender is updating user's discount in the market.
     */
    function updateUserDiscount(address user) external {
        changeUserBorrowDiscountInternal(user);
        changeLastBorrowBalanceAtBorrow(user);
        changeUserSupplyDiscountInternal(user);
        changeLastExchangeRateAtSupply(user);
    }
    
    /**
     * @notice The sender is updating discount for all the users in the market.
     */
    function updateDiscountForAll() external {
        
        address[] memory usersWhoHaveBorrow = PlanetDiscount(discountLevel).returnBorrowUserArr(address(this));
        address[] memory usersWhoHaveSupply = PlanetDiscount(discountLevel).returnSupplyUserArr(address(this));
        
        
        for(uint i = 0 ; i < usersWhoHaveBorrow.length ; i++){
            (bool exist,,,,) = PlanetDiscount(discountLevel).borrowDiscountSnap(address(this),usersWhoHaveBorrow[i]);
            if(usersWhoHaveBorrow[i] != address(0) && exist){
                changeUserBorrowDiscountInternal(usersWhoHaveBorrow[i]);
                changeLastBorrowBalanceAtBorrow(usersWhoHaveBorrow[i]);
            }
        }
        for(uint i = 0 ; i < usersWhoHaveSupply.length ; i++){
            (bool exist,,,) = PlanetDiscount(discountLevel).supplyDiscountSnap(address(this),usersWhoHaveSupply[i]);
            if(usersWhoHaveSupply[i] != address(0) && exist){
               changeUserSupplyDiscountInternal(usersWhoHaveSupply[i]);
               changeLastExchangeRateAtSupply(usersWhoHaveSupply[i]);
            }
        }
    }

    /**
     * @notice Send Ether to CEther to mint
     */
    function () external payable {
        requireNoError(mintInternal(msg.value), "mint failed");
    }

    /*** Safe Token ***/

    /**
     * @notice Gets balance of this contract in terms of Ether, before this message
     * @dev This excludes the value of the current message, if any
     * @return The quantity of Ether owned by this contract
     */
    function getCashPrior() internal view returns (uint) {
        (MathError err, uint startingBalance) = subUInt(address(this).balance, msg.value);
        require(err == MathError.NO_ERROR);
        return startingBalance;
    }

    /**
     * @notice Checks whether the requested transfer matches the `msg`
     * @dev Does NOT do a transfer
     * @param from Address sending the Ether
     * @param amount Amount of Ether being sent
     * @return Whether or not the transfer checks out
     */
    function checkTransferIn(address from, uint amount) internal view returns (Error) {
        // Sanity checks
        require(msg.sender == from, "sender mismatch");
        require(msg.value == amount, "value mismatch");
        return Error.NO_ERROR;
    }

    /**
     * @notice Perform the actual transfer in, which is a no-op
     * @param from Address sending the Ether
     * @param amount Amount of Ether being sent
     * @return Success
     */
    function doTransferIn(address from, uint amount) internal returns (Error) {
        // Sanity checks
        require(msg.sender == from, "sender mismatch");
        require(msg.value == amount, "value mismatch");
        return Error.NO_ERROR;
    }

    function doTransferOut(address payable to, uint amount) internal returns (Error) {
        /* Send the Ether, with minimal gas and revert on failure */
        to.transfer(amount);
        return Error.NO_ERROR;
    }

    function requireNoError(uint errCode, string memory message) internal pure {
        if (errCode == uint(Error.NO_ERROR)) {
            return;
        }

        bytes memory fullMessage = new bytes(bytes(message).length + 5);
        uint i;

        for (i = 0; i < bytes(message).length; i++) {
            fullMessage[i] = bytes(message)[i];
        }

        fullMessage[i+0] = byte(uint8(32));
        fullMessage[i+1] = byte(uint8(40));
        fullMessage[i+2] = byte(uint8(48 + ( errCode / 10 )));
        fullMessage[i+3] = byte(uint8(48 + ( errCode % 10 )));
        fullMessage[i+4] = byte(uint8(41));

        require(errCode == uint(Error.NO_ERROR), string(fullMessage));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract GammatrollerInterface","name":"gammatroller_","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":"uint256","name":"decimals_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"interestAccumulated","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"borrowIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"AccrueInterest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"borrowAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrows","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"Borrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"error","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"info","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"detail","type":"uint256"}],"name":"Failure","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"liquidator","type":"address"},{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"gTokenCollateral","type":"address"},{"indexed":false,"internalType":"uint256","name":"seizeTokens","type":"uint256"}],"name":"LiquidateBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintTokens","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract PlanetDiscount","name":"oldDiscountLevel","type":"address"},{"indexed":false,"internalType":"contract PlanetDiscount","name":"newDiscountLevel","type":"address"}],"name":"NewDiscountLevel","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract GammatrollerInterface","name":"oldGammatroller","type":"address"},{"indexed":false,"internalType":"contract GammatrollerInterface","name":"newGammatroller","type":"address"}],"name":"NewGammatroller","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract InterestRateModel","name":"oldInterestRateModel","type":"address"},{"indexed":false,"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"NewMarketInterestRateModel","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"NewPendingAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldReserveFactorMantissa","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newReserveFactorMantissa","type":"uint256"}],"name":"NewReserveFactor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"redeemAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"payer","type":"address"},{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrows","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"RepayBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"uint256","name":"reduceAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalReserves","type":"uint256"}],"name":"ReservesReduced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"oldPriceUpdate","type":"bool"},{"indexed":false,"internalType":"bool","name":"newPriceUpdate","type":"bool"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"isPriceUpdateChanged","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[],"name":"_acceptAdmin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reduceAmount","type":"uint256"}],"name":"_reduceReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newDiscountLevel","type":"address"}],"name":"_setDiscountLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract GammatrollerInterface","name":"newGammatroller","type":"address"}],"name":"_setGammatroller","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":"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":"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":false,"inputs":[],"name":"changeIsPriceUpdate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"discountLevel","outputs":[{"internalType":"contract PlanetDiscount","name":"","type":"address"}],"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":"gammatroller","outputs":[{"internalType":"contract GammatrollerInterface","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":true,"inputs":[],"name":"initialExchangeRateMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"interestRateModel","outputs":[{"internalType":"contract InterestRateModel","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isGToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isPriceUpdate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"contract GToken","name":"gTokenCollateral","type":"address"}],"name":"liquidateBorrow","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"mint","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"}],"name":"redeemUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"repayBorrow","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"}],"name":"repayBorrowBehalf","outputs":[],"payable":true,"stateMutability":"payable","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":false,"inputs":[],"name":"updateDiscountForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"updateUserDiscount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040526001805460ff1916811790553480156200001d57600080fd5b506040516200600e3803806200600e833981810160405260c08110156200004357600080fd5b8151602083015160408085015160608601805192519496939591949391820192846401000000008211156200007757600080fd5b9083019060208201858111156200008d57600080fd5b8251640100000000811182820188101715620000a857600080fd5b82525081516020918201929091019080838360005b83811015620000d7578181015183820152602001620000bd565b50505050905090810190601f168015620001055780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200012957600080fd5b9083019060208201858111156200013f57600080fd5b82516401000000008111828201881017156200015a57600080fd5b82525081516020918201929091019080838360005b83811015620001895781810151838201526020016200016f565b50505050905090810190601f168015620001b75780820380516001836020036101000a031916815260200191505b50604052602001516001600055600580546001600160a01b03191633179055600a8690559150869050858585858583620002235760405162461bcd60e51b815260040180806020018281038252603081526020018062005fde6030913960400191505060405180910390fd5b600062000239876001600160e01b036200034816565b905080156200028f576040805162461bcd60e51b815260206004820152601b60248201527f53657474696e672067616d6d6174726f6c6c6572206661696c65640000000000604482015290519081900360640190fd5b620002a26001600160e01b03620004ad16565b600c55670de0b6b3a7640000600d55620002c5866001600160e01b03620004b216565b90508015620003065760405162461bcd60e51b815260040180806020018281038252602281526020018062005fbc6022913960400191505060405180910390fd5b83516200031b906002906020870190620006c3565b50825162000331906003906020860190620006c3565b505060045550620007659950505050505050505050565b6005546000906001600160a01b031633146200037d57620003756001603f6001600160e01b036200065316565b9050620004a8565b6007546040805163152fd8f360e31b815290516001600160a01b039283169285169163a97ec798916004808301926020929190829003018186803b158015620003c557600080fd5b505afa158015620003da573d6000803e3d6000fd5b505050506040513d6020811015620003f157600080fd5b505162000445576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517f39489fb6288eb4eb551c9080e05996431e17a62a7eaf08795f36a47f0df7ca4a9281900390910190a160005b9150505b919050565b435b90565b60055460009081906001600160a01b03163314620004ea57620004e1600160426001600160e01b036200065316565b915050620004a8565b620004fd6001600160e01b03620004ad16565b600c54146200051d57620004e1600a60416001600160e01b036200065316565b600960009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200056f57600080fd5b505afa15801562000584573d6000803e3d6000fd5b505050506040513d60208110156200059b57600080fd5b5051620005ef576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a16000620004a4565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa08360108111156200068357fe5b83604f8111156200069057fe5b604080519283526020830191909152600082820152519081900360600190a1826010811115620006bc57fe5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200070657805160ff191683800117855562000736565b8280016001018555821562000736579182015b828111156200073657825182559160200191906001019062000719565b506200074492915062000748565b5090565b620004af91905b808211156200074457600081556001016200074f565b61584780620007756000396000f3fe6080604052600436106102e45760003560e01c8063852a12e311610190578063c37f68e2116100dc578063ebe8702b11610095578063f851a4401161006f578063f851a44014610a2d578063f8f9da2814610a42578063f9fbd31614610a57578063fca7820b14610a6c576102e4565b8063ebe8702b146109b2578063f2b3abbd146109e5578063f3fdb15a14610a18576102e4565b8063c37f68e21461088f578063c5ebeaec146108e8578063db006a7514610912578063dd62ed3e1461093c578063e597461914610977578063e9c714f21461099d576102e4565b8063a9059cbb11610149578063ae9d70b011610123578063ae9d70b0146107ef578063b2a02ff114610804578063b71d1a0c14610847578063bd6d894d1461087a576102e4565b8063a9059cbb14610773578063aa5af0fd146107ac578063aae40a2a146107c1576102e4565b8063852a12e3146106c25780638be8441c146106ec5780638f840ddd1461070157806395d89b411461071657806395dd91931461072b578063a6afed951461075e576102e4565b8063267822471161024f578063601a0bf111610208578063675d972c116101e2578063675d972c146106505780636c540baf1461066557806370a082311461067a57806373acee98146106ad576102e4565b8063601a0bf1146105c057806361d55157146105ea578063649225071461061d576102e4565b80632678224714610531578063313ce567146105465780633af9e6691461055b5780633b1d21a21461058e57806347bd3718146105a35780634e4d9fea146105b8576102e4565b806317bfdfbc116102a157806317bfdfbc1461046757806318160ddd1461049a578063182df0f5146104af5780631ad0a5b4146104c4578063238d9311146104d957806323b872dd146104ee576102e4565b806306fdde031461031b578063095ea7b3146103a55780630ec2be1f146103f25780631249c58b1461040757806312b9d0641461040f578063173b990414610440575b6103196102f034610a96565b6040518060400160405280600b81526020016a1b5a5b9d0819985a5b195960aa1b815250610b26565b005b34801561032757600080fd5b50610330610d26565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036a578181015183820152602001610352565b50505050905090810190601f1680156103975780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103b157600080fd5b506103de600480360360408110156103c857600080fd5b506001600160a01b038135169060200135610db1565b604080519115158252519081900360200190f35b3480156103fe57600080fd5b50610319610e1e565b610319610ebf565b34801561041b57600080fd5b50610424610ecd565b604080516001600160a01b039092168252519081900360200190f35b34801561044c57600080fd5b50610455610edc565b60408051918252519081900360200190f35b34801561047357600080fd5b506104556004803603602081101561048a57600080fd5b50356001600160a01b0316610ee2565b3480156104a657600080fd5b50610455610f8e565b3480156104bb57600080fd5b50610455610f94565b3480156104d057600080fd5b506103de610ff7565b3480156104e557600080fd5b506103de611000565b3480156104fa57600080fd5b506103de6004803603606081101561051157600080fd5b506001600160a01b03813581169160208101359091169060400135611005565b34801561053d57600080fd5b5061042461106b565b34801561055257600080fd5b5061045561107a565b34801561056757600080fd5b506104556004803603602081101561057e57600080fd5b50356001600160a01b0316611080565b34801561059a57600080fd5b506104556110f0565b3480156105af57600080fd5b506104556110ff565b610319611105565b3480156105cc57600080fd5b50610455600480360360208110156105e357600080fd5b5035611141565b3480156105f657600080fd5b506104556004803603602081101561060d57600080fd5b50356001600160a01b031661117b565b34801561062957600080fd5b506104556004803603602081101561064057600080fd5b50356001600160a01b0316611186565b34801561065c57600080fd5b506104556112d8565b34801561067157600080fd5b506104556112de565b34801561068657600080fd5b506104556004803603602081101561069d57600080fd5b50356001600160a01b03166112e4565b3480156106b957600080fd5b506104556112ff565b3480156106ce57600080fd5b50610455600480360360208110156106e557600080fd5b50356113a9565b3480156106f857600080fd5b506104246113b4565b34801561070d57600080fd5b506104556113c3565b34801561072257600080fd5b506103306113c9565b34801561073757600080fd5b506104556004803603602081101561074e57600080fd5b50356001600160a01b0316611424565b34801561076a57600080fd5b50610455611481565b34801561077f57600080fd5b506103de6004803603604081101561079657600080fd5b506001600160a01b038135169060200135611977565b3480156107b857600080fd5b506104556119dc565b610319600480360360408110156107d757600080fd5b506001600160a01b03813581169160200135166119e2565b3480156107fb57600080fd5b50610455611a24565b34801561081057600080fd5b506104556004803603606081101561082757600080fd5b506001600160a01b03813581169160208101359091169060400135611cef565b34801561085357600080fd5b506104556004803603602081101561086a57600080fd5b50356001600160a01b0316611fa0565b34801561088657600080fd5b50610455612027565b34801561089b57600080fd5b506108c2600480360360208110156108b257600080fd5b50356001600160a01b03166120d2565b604080519485526020850193909352838301919091526060830152519081900360800190f35b3480156108f457600080fd5b506104556004803603602081101561090b57600080fd5b5035612167565b34801561091e57600080fd5b506104556004803603602081101561093557600080fd5b5035612172565b34801561094857600080fd5b506104556004803603604081101561095f57600080fd5b506001600160a01b038135811691602001351661217d565b6103196004803603602081101561098d57600080fd5b50356001600160a01b03166121a8565b3480156109a957600080fd5b506104556121f3565b3480156109be57600080fd5b50610319600480360360208110156109d557600080fd5b50356001600160a01b03166122e2565b3480156109f157600080fd5b5061045560048036036020811015610a0857600080fd5b50356001600160a01b0316612308565b348015610a2457600080fd5b50610424612342565b348015610a3957600080fd5b50610424612351565b348015610a4e57600080fd5b50610455612360565b348015610a6357600080fd5b5061031961243c565b348015610a7857600080fd5b5061045560048036036020811015610a8f57600080fd5b50356128ec565b6000805460010180825581610aa9611481565b90508015610acf57610ac7816010811115610ac057fe5b601e612926565b925050610add565b610ad9338561298c565b9250505b6000548114610b20576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b50919050565b81610b3057610d22565b606081516005016040519080825280601f01601f191660200182016040528015610b61576020820181803883390190505b50905060005b8251811015610bb257828181518110610b7c57fe5b602001015160f81c60f81b828281518110610b9357fe5b60200101906001600160f81b031916908160001a905350600101610b67565b8151600160fd1b90839083908110610bc657fe5b60200101906001600160f81b031916908160001a905350602860f81b828260010181518110610bf157fe5b60200101906001600160f81b031916908160001a905350600a840460300160f81b828260020181518110610c2157fe5b60200101906001600160f81b031916908160001a905350600a840660300160f81b828260030181518110610c5157fe5b60200101906001600160f81b031916908160001a905350602960f81b828260040181518110610c7c57fe5b60200101906001600160f81b031916908160001a905350818415610d1e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ce3578181015183820152602001610ccb565b50505050905090810190601f168015610d105780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505b5050565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610da95780601f10610d7e57610100808354040283529160200191610da9565b820191906000526020600020905b815481529060010190602001808311610d8c57829003601f168201915b505050505081565b3360008181526012602090815260408083206001600160a01b03871680855290835281842086905581518681529151939493909284927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a360019150505b92915050565b6005546001600160a01b03163314610e675760405162461bcd60e51b815260040180806020018281038252602c81526020018061578f602c913960400191505060405180910390fd5b6001805460ff19811660ff9182161517918290556040805192909116158083521560208301524282820152517f33a61ab794d8fb9a7efb57b9d93a2d137eb796fc0ff7fc1fd72d0c5318d1cba39181900360600190a1565b610ecb6102f034610a96565b565b6008546001600160a01b031681565b600b5481565b6000805460010180825581610ef5611481565b14610f40576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b610f4983611424565b91506000548114610b20576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60105481565b6000806000610fa1612dec565b90925090506000826003811115610fb457fe5b14610ff05760405162461bcd60e51b815260040180806020018281038252603581526020018061575a6035913960400191505060405180910390fd5b9150505b90565b60015460ff1681565b600181565b600080546001018082558161101c33878787612e9a565b1491505b6000548114611063576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b509392505050565b6006546001600160a01b031681565b60045481565b600061108a615484565b604051806020016040528061109d612027565b90526001600160a01b0384166000908152601160205260408120549192509081906110c99084906131aa565b909250905060008260038111156110dc57fe5b146110e657600080fd5b925050505b919050565b60006110fa6131fe565b905090565b600e5481565b610ecb6111113461322a565b604051806040016040528060128152602001711c995c185e509bdc9c9bddc819985a5b195960721b815250610b26565b6000805460010180825581611154611481565b9050801561117257610ac781601081111561116b57fe5b6030612926565b610ad984613266565b6000610e18826134bf565b6005546000906001600160a01b031633146111ae576111a76001603f612926565b90506110eb565b6007546040805163152fd8f360e31b815290516001600160a01b039283169285169163a97ec798916004808301926020929190829003018186803b1580156111f557600080fd5b505afa158015611209573d6000803e3d6000fd5b505050506040513d602081101561121f57600080fd5b5051611272576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517f39489fb6288eb4eb551c9080e05996431e17a62a7eaf08795f36a47f0df7ca4a9281900390910190a160005b9392505050565b600a5481565b600c5481565b6001600160a01b031660009081526011602052604090205490565b6000805460010180825581611312611481565b1461135d576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b600e54915060005481146113a5576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5090565b6000610e1882613546565b6007546001600160a01b031681565b600f5481565b6003805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610da95780601f10610d7e57610100808354040283529160200191610da9565b600080600061143284613583565b9092509050600082600381111561144557fe5b146112d15760405162461bcd60e51b815260040180806020018281038252603781526020018061562e6037913960400191505060405180910390fd5b60015460009060ff161561158057600760009054906101000a90046001600160a01b03166001600160a01b0316637dc0d1d06040518163ffffffff1660e01b815260040160206040518083038186803b1580156114dd57600080fd5b505afa1580156114f1573d6000803e3d6000fd5b505050506040513d602081101561150757600080fd5b50516040805163207c64fb60e01b815230600482015290516001600160a01b039092169163207c64fb916024808201926020929091908290030181600087803b15801561155357600080fd5b505af1158015611567573d6000803e3d6000fd5b505050506040513d602081101561157d57600080fd5b50505b611588615497565b6009546001600160a01b03166315f240536115a16131fe565b600e54600f546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b1580156115e857600080fd5b505afa1580156115fc573d6000803e3d6000fd5b505050506040513d604081101561161257600080fd5b50805160209182015160408401819052918301526601c6bf526340001015611681576040805162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015290519081900360640190fd5b6020810151156116a45761169c600560028360200151613637565b915050610ff4565b6116ac61369d565b60608201819052600c546116c091906136a1565b60808301819052828260038111156116d457fe5b60038111156116df57fe5b90525060009050815160038111156116f357fe5b146116fa57fe5b61171a6040518060200160405280836040015181525082608001516136c4565b60a083018190528282600381111561172e57fe5b600381111561173957fe5b905250600090508151600381111561174d57fe5b1461176e5761169c600960068360000151600381111561176957fe5b613637565b61177e8160a00151600e546131aa565b60c083018190528282600381111561179257fe5b600381111561179d57fe5b90525060009050815160038111156117b157fe5b146117cd5761169c600960018360000151600381111561176957fe5b6117dd8160c00151600e5461372c565b60e08301819052828260038111156117f157fe5b60038111156117fc57fe5b905250600090508151600381111561181057fe5b1461182c5761169c600960048360000151600381111561176957fe5b61184d6040518060200160405280600b548152508260c00151600f54613752565b61010083018190528282600381111561186257fe5b600381111561186d57fe5b905250600090508151600381111561188157fe5b1461189d5761169c600960058360000151600381111561176957fe5b6118b08160a00151600d54600d54613752565b6101208301819052828260038111156118c557fe5b60038111156118d057fe5b90525060009050815160038111156118e457fe5b146119005761169c600960038360000151600381111561176957fe5b606080820151600c55610120820151600d81905560e0830151600e819055610100840151600f5560c08401516040805191825260208201939093528083019190915290517f875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9929181900390910190a1600091505090565b600080546001018082558161198e33338787612e9a565b1491505b60005481146119d5576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5092915050565b600d5481565b610d226119f08334846137ae565b604051806040016040528060168152602001751b1a5c5d5a59185d19509bdc9c9bddc819985a5b195960521b815250610b26565b600080611a2f610f94565b60095490915060009081906001600160a01b03166315f24053611a506131fe565b600e54600f546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b158015611a9757600080fd5b505afa158015611aab573d6000803e3d6000fd5b505050506040513d6040811015611ac157600080fd5b50805160209091015190925090508115611b0c5760405162461bcd60e51b81526004018080602001828103825260318152602001806156cd6031913960400191505060405180910390fd5b6000611b16615484565b611b306040518060200160405280878152506010546136c4565b90925090506000826003811115611b4357fe5b14611b7f5760405162461bcd60e51b81526004018080602001828103825260318152602001806156656031913960400191505060405180910390fd5b6000611b89615484565b611b95600e54846138b6565b90925090506000826003811115611ba857fe5b14611be45760405162461bcd60e51b815260040180806020018281038252603181526020018061557a6031913960400191505060405180910390fd5b6000611bee615484565b611c1e6040518060200160405280670de0b6b3a76400008152506040518060200160405280600b54815250613915565b90925090506000826003811115611c3157fe5b14611c6d5760405162461bcd60e51b815260040180806020018281038252603c81526020018061571e603c913960400191505060405180910390fd5b6000611c77615484565b611c9060405180602001604052808b815250848761394f565b90925090506000826003811115611ca357fe5b14611cdf5760405162461bcd60e51b81526004018080602001828103825260318152602001806155ce6031913960400191505060405180910390fd5b519a505050505050505050505090565b600080546001018082556007546040805163d02f735160e01b81523060048201523360248201526001600160a01b03888116604483015287811660648301526084820187905291518593929092169163d02f73519160a48082019260209290919082900301818787803b158015611d6557600080fd5b505af1158015611d79573d6000803e3d6000fd5b505050506040513d6020811015611d8f57600080fd5b505190508015611dae57611da66003601b83613637565b925050611020565b856001600160a01b0316856001600160a01b03161415611dd457611da66006601c612926565b6001600160a01b03851660009081526011602052604081205481908190611dfb90886136a1565b90935091506000836003811115611e0e57fe5b14611e3157611e266009601a85600381111561176957fe5b955050505050611020565b6001600160a01b038916600090815260116020526040902054611e54908861372c565b90935090506000836003811115611e6757fe5b14611e7f57611e266009601985600381111561176957fe5b6001600160a01b038089166000818152601160209081526040808320879055938d168083529184902085905583518b8152935191936000805160206156fe833981519152929081900390910190a360075460408051636d35bf9160e01b81523060048201523360248201526001600160a01b038c811660448301528b81166064830152608482018b905291519190921691636d35bf919160a480830192600092919082900301818387803b158015611f3657600080fd5b505af1158015611f4a573d6000803e3d6000fd5b5060009250611f57915050565b9550505050506000548114611063576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6005546000906001600160a01b03163314611fc1576111a760016045612926565b600680546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9929181900390910190a160006112d1565b600080546001018082558161203a611481565b14612085576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b61208d610f94565b915060005481146113a5576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6001600160a01b0381166000908152601160205260408120548190819081908180806120fd89613583565b93509050600081600381111561210f57fe5b1461212d5760095b9750600096508695508594506121609350505050565b612135612dec565b92509050600081600381111561214757fe5b14612153576009612117565b5060009650919450925090505b9193509193565b6000610e1882613999565b6000610e18826139d4565b6001600160a01b03918216600090815260126020908152604080832093909416825291909152205490565b6121f06121b58234613a0a565b6040518060400160405280601881526020017f7265706179426f72726f77426568616c66206661696c65640000000000000000815250610b26565b50565b6006546000906001600160a01b03163314158061220e575033155b156122265761221f60016000612926565b9050610ff4565b60058054600680546001600160a01b038082166001600160a01b031980861682179687905590921690925560408051938316808552949092166020840152815190927ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc92908290030190a1600654604080516001600160a01b038085168252909216602083015280517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99281900390910190a160009250505090565b6122eb81613a94565b506122f581613b70565b6122fe81613bee565b506121f081613cb4565b600080612313611481565b905080156123395761233181601081111561232a57fe5b6040612926565b9150506110eb565b6112d183613d15565b6009546001600160a01b031681565b6005546001600160a01b031681565b600954600090819081906001600160a01b03166315f240536123806131fe565b600e54600f546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b1580156123c757600080fd5b505afa1580156123db573d6000803e3d6000fd5b505050506040513d60408110156123f157600080fd5b50805160209091015190925090508115610ff05760405162461bcd60e51b81526004018080602001828103825260378152602001806156966037913960400191505060405180910390fd5b60085460408051631981306f60e01b815230600482015290516060926001600160a01b031691631981306f916024808301926000929190829003018186803b15801561248757600080fd5b505afa15801561249b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156124c457600080fd5b81019080805160405193929190846401000000008211156124e457600080fd5b9083019060208201858111156124f957600080fd5b825186602082028301116401000000008211171561251657600080fd5b82525081516020918201928201910280838360005b8381101561254357818101518382015260200161252b565b5050505091909101604081815260085463cb7ef55160e01b835230600484015290519697506060966001600160a01b03909116955063cb7ef551945060248083019450600093509091829003018186803b1580156125a057600080fd5b505afa1580156125b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156125dd57600080fd5b81019080805160405193929190846401000000008211156125fd57600080fd5b90830190602082018581111561261257600080fd5b825186602082028301116401000000008211171561262f57600080fd5b82525081516020918201928201910280838360005b8381101561265c578181015183820152602001612644565b50505050905001604052505050905060008090505b82518110156127aa5760085483516000916001600160a01b0316906301f673739030908790869081106126a057fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b03168152602001826001600160a01b03166001600160a01b031681526020019250505060a06040518083038186803b15801561270757600080fd5b505afa15801561271b573d6000803e3d6000fd5b505050506040513d60a081101561273157600080fd5b5051845190915060009085908490811061274757fe5b60200260200101516001600160a01b0316141580156127635750805b156127a15761278484838151811061277757fe5b6020026020010151613a94565b506127a184838151811061279457fe5b6020026020010151613b70565b50600101612671565b5060005b81518110156128e75760085482516000916001600160a01b031690631d4b6ca19030908690869081106127dd57fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b03168152602001826001600160a01b03166001600160a01b031681526020019250505060806040518083038186803b15801561284457600080fd5b505afa158015612858573d6000803e3d6000fd5b505050506040513d608081101561286e57600080fd5b5051835190915060009084908490811061288457fe5b60200260200101516001600160a01b0316141580156128a05750805b156128de576128c18383815181106128b457fe5b6020026020010151613bee565b506128de8383815181106128d157fe5b6020026020010151613cb4565b506001016127ae565b505050565b60008054600101808255816128ff611481565b9050801561291d57610ac781601081111561291657fe5b6046612926565b610ad984613e85565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa083601081111561295557fe5b83604f81111561296157fe5b604080519283526020830191909152600082820152519081900360600190a18260108111156112d157fe5b60075460408051634ef4c3e160e01b81523060048201526001600160a01b03858116602483015260448201859052915160009384931691634ef4c3e191606480830192602092919082900301818787803b1580156129e957600080fd5b505af11580156129fd573d6000803e3d6000fd5b505050506040513d6020811015612a1357600080fd5b505190508015612a3257612a2a6003601f83613637565b915050610e18565b612a3a61369d565b600c5414612a4e57612a2a600a6022612926565b612a566154f1565b612a5f85613bee565b50612a6a8585613f28565b81906010811115612a7757fe5b90816010811115612a8457fe5b905250600081516010811115612a9657fe5b14612ab1578051612aa8906026612926565b92505050610e18565b612ab9612dec565b6040830181905260208301826003811115612ad057fe5b6003811115612adb57fe5b9052506000905081602001516003811115612af257fe5b14612b0e57612aa8600960218360200151600381111561176957fe5b612b2a8460405180602001604052808460400151815250613fc7565b6060830181905260208301826003811115612b4157fe5b6003811115612b4c57fe5b9052506000905081602001516003811115612b6357fe5b14612b7f57612aa8600960208360200151600381111561176957fe5b612b8f601054826060015161372c565b6080830181905260208301826003811115612ba657fe5b6003811115612bb157fe5b9052506000905081602001516003811115612bc857fe5b14612be457612aa8600960248360200151600381111561176957fe5b6001600160a01b0385166000908152601160205260409020546060820151612c0c919061372c565b60a0830181905260208301826003811115612c2357fe5b6003811115612c2e57fe5b9052506000905081602001516003811115612c4557fe5b14612c6157612aa8600960238360200151600381111561176957fe5b612c6b8585613f28565b81906010811115612c7857fe5b90816010811115612c8557fe5b905250600081516010811115612c9757fe5b14612ca9578051612aa8906025612926565b608081015160105560a08101516001600160a01b038616600090815260116020526040902055612cd885613cb4565b606080820151604080516001600160a01b03891681526020810188905280820192909252517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f929181900390910190a1606081015160408051918252516001600160a01b0387169130916000805160206156fe8339815191529181900360200190a36007546060820151604080516341c728b960e01b81523060048201526001600160a01b038981166024830152604482018990526064820193909352905191909216916341c728b991608480830192600092919082900301818387803b158015612dc257600080fd5b505af1158015612dd6573d6000803e3d6000fd5b5060009250612de3915050565b95945050505050565b60008060105460001415612e07575050600a54600090612e96565b6000612e116131fe565b90506000612e1d615484565b6000612e2e84600e54600f54613fde565b935090506000816003811115612e4057fe5b14612e5457945060009350612e9692505050565b612e608360105461401c565b925090506000816003811115612e7257fe5b14612e8657945060009350612e9692505050565b5051600094509250612e96915050565b9091565b600754604080516317b9b84b60e31b81523060048201526001600160a01b03868116602483015285811660448301526064820185905291516000938493169163bdcdc25891608480830192602092919082900301818787803b158015612eff57600080fd5b505af1158015612f13573d6000803e3d6000fd5b505050506040513d6020811015612f2957600080fd5b505190508015612f4857612f406003604a83613637565b9150506131a2565b836001600160a01b0316856001600160a01b03161415612f6e57612f406002604b612926565b60006001600160a01b038781169087161415612f8d5750600019612fb5565b506001600160a01b038086166000908152601260209081526040808320938a16835292905220545b600080600080612fc585896136a1565b90945092506000846003811115612fd857fe5b14612ff657612fe96009604b612926565b96505050505050506131a2565b6001600160a01b038a1660009081526011602052604090205461301990896136a1565b9094509150600084600381111561302c57fe5b1461303d57612fe96009604c612926565b6001600160a01b038916600090815260116020526040902054613060908961372c565b9094509050600084600381111561307357fe5b1461308457612fe96009604d612926565b6001600160a01b03808b16600090815260116020526040808220859055918b1681522081905560001985146130dc576001600160a01b03808b166000908152601260209081526040808320938f168352929052208390555b886001600160a01b03168a6001600160a01b03166000805160206156fe8339815191528a6040518082815260200191505060405180910390a36007546040805163352b4a3f60e11b81523060048201526001600160a01b038d811660248301528c81166044830152606482018c905291519190921691636a56947e91608480830192600092919082900301818387803b15801561317857600080fd5b505af115801561318c573d6000803e3d6000fd5b5060009250613199915050565b96505050505050505b949350505050565b60008060006131b7615484565b6131c186866136c4565b909250905060008260038111156131d457fe5b146131e557509150600090506131f7565b60006131f0826140cc565b9350935050505b9250929050565b600080600061320d47346136a1565b9092509050600082600381111561322057fe5b14610ff057600080fd5b600080546001018082558161323d611481565b9050801561325b57610ac781601081111561325457fe5b6036612926565b610ad93333866140db565b60085460408051634902168d60e01b8152306004820152905160009283928392839283926001600160a01b0390911691634902168d91602480820192602092909190829003018186803b1580156132bc57600080fd5b505afa1580156132d0573d6000803e3d6000fd5b505050506040513d60208110156132e657600080fd5b5051600f549091506000906132fb90836136a1565b6005549092506001600160a01b03163314905061332a5761331e60016031612926565b955050505050506110eb565b61333261369d565b600c54146133465761331e600a6033612926565b8661334f6131fe565b10156133615761331e600e6032612926565b808711156133755761331e60026034612926565b600f54878103945087820393508411156133c05760405162461bcd60e51b81526004018080602001828103825260248152602001806157ef6024913960400191505060405180910390fd5b808311156133ff5760405162461bcd60e51b815260040180806020018281038252602f8152602001806155ff602f913960400191505060405180910390fd5b600f84905560055461341a906001600160a01b031688614570565b9450600085601081111561342a57fe5b146134665760405162461bcd60e51b81526004018080602001828103825260238152602001806155ab6023913960400191505060405180910390fd5b600554604080516001600160a01b03909216825260208201899052818101869052517f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e9181900360600190a16000979650505050505050565b6005546000906001600160a01b031633146134e0576111a76001604e612926565b600880546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517f861ba27a476091097b7b6712c49728bf2b731922498e629dff48d269485fd4bb929181900390910190a160006112d1565b6000805460010180825581613559611481565b9050801561357757610ac781601081111561357057fe5b6027612926565b610ad9336000866145b2565b6001600160a01b0381166000908152601360205260408120805482918291829182916135ba57506000945084935061363292505050565b6135ca8160000154600d54614ad5565b909450925060008460038111156135dd57fe5b146135f2575091935060009250613632915050565b613600838260010154614b14565b9094509150600084600381111561361357fe5b14613628575091935060009250613632915050565b5060009450925050505b915091565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa084601081111561366657fe5b84604f81111561367257fe5b604080519283526020830191909152818101859052519081900360600190a18360108111156131a257fe5b4390565b6000808383116136b85750600090508183036131f7565b506003905060006131f7565b60006136ce615484565b6000806136df866000015186614ad5565b909250905060008260038111156136f257fe5b14613711575060408051602081019091526000815290925090506131f7565b60408051602081019091529081526000969095509350505050565b600080838301848110613744576000925090506131f7565b5060029150600090506131f7565b600080600061375f615484565b61376987876136c4565b9092509050600082600381111561377c57fe5b1461378d57509150600090506137a6565b61379f613799826140cc565b8661372c565b9350935050505b935093915050565b60008054600101808255816137c1611481565b905080156137df57611da68160108111156137d857fe5b600f612926565b836001600160a01b031663a6afed956040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561381a57600080fd5b505af115801561382e573d6000803e3d6000fd5b505050506040513d602081101561384457600080fd5b50519050801561386457611da681601081111561385d57fe5b6010612926565b61387033878787614b3f565b9250506000548114611063576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60006138c0615484565b6000806138d5670de0b6b3a764000087614ad5565b909250905060008260038111156138e857fe5b14613907575060408051602081019091526000815290925090506131f7565b6131f081866000015161401c565b600061391f615484565b600080613934866000015186600001516136a1565b60408051602081019091529081529097909650945050505050565b6000613959615484565b6000613963615484565b61396d878761501b565b9092509050600082600381111561398057fe5b1461398f5790925090506137a6565b61379f818661501b565b60008054600101808255816139ac611481565b905080156139ca57610ac78160108111156139c357fe5b6008612926565b610ad93385615104565b60008054600101808255816139e7611481565b905080156139fe57610ac781601081111561357057fe5b610ad9338560006145b2565b6000805460010180825581613a1d611481565b90508015613a4357613a3b816010811115613a3457fe5b6035612926565b925050611992565b613a4e3386866140db565b92505060005481146119d5576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b600080613a9f611481565b90508015613abd57612331816010811115613ab657fe5b604f612926565b6008546040805163aff5582960e01b81526001600160a01b0386811660048301529151919092169163aff558299160248083019260609291908290030181600087803b158015613b0c57600080fd5b505af1158015613b20573d6000803e3d6000fd5b505050506040513d6060811015613b3657600080fd5b5080516020808301516040938401516001600160a01b0388166000908152601390935293909120600e939093556001830155905550919050565b6000613b7b82613583565b60085460408051630344e1bd60e31b81526001600160a01b03878116600483015260248201859052915193955091169250631a270de891604480830192600092919082900301818387803b158015613bd257600080fd5b505af1158015613be6573d6000803e3d6000fd5b505050505050565b600080613bf9611481565b90508015613c1057612331816010811115613ab657fe5b6008546040805163a0c056d760e01b81526001600160a01b038681166004830152825193169263a0c056d7926024808401939192918290030181600087803b158015613c5b57600080fd5b505af1158015613c6f573d6000803e3d6000fd5b505050506040513d6040811015613c8557600080fd5b5080516020918201516001600160a01b0386166000908152601190935260409092209190915560105550919050565b6000613cbe612dec565b600854604080516305564f2b60e31b81526001600160a01b03878116600483015260248201859052915193955091169250632ab2795891604480830192600092919082900301818387803b158015613bd257600080fd5b60055460009081906001600160a01b03163314613d385761233160016042612926565b613d4061369d565b600c5414613d5457612331600a6041612926565b600960009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b158015613da557600080fd5b505afa158015613db9573d6000803e3d6000fd5b505050506040513d6020811015613dcf57600080fd5b5051613e22576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a160006112d1565b6005546000906001600160a01b03163314613ea6576111a760016047612926565b613eae61369d565b600c5414613ec2576111a7600a6048612926565b670de0b6b3a7640000821115613ede576111a760026049612926565b600b805490839055604080518281526020810185905281517faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460929181900390910190a160006112d1565b6000336001600160a01b03841614613f79576040805162461bcd60e51b815260206004820152600f60248201526e0e6cadcc8cae440dad2e6dac2e8c6d608b1b604482015290519081900360640190fd5b813414613fbe576040805162461bcd60e51b815260206004820152600e60248201526d0ecc2d8eaca40dad2e6dac2e8c6d60931b604482015290519081900360640190fd5b50600092915050565b6000806000613fd4615484565b6131c186866138b6565b600080600080613fee878761372c565b9092509050600082600381111561400157fe5b1461401257509150600090506137a6565b61379f81866136a1565b6000614026615484565b60008061403b86670de0b6b3a7640000614ad5565b9092509050600082600381111561404e57fe5b1461406d575060408051602081019091526000815290925090506131f7565b60008061407a8388614b14565b9092509050600082600381111561408d57fe5b146140af575060408051602081019091526000815290945092506131f7915050565b604080516020810190915290815260009890975095505050505050565b51670de0b6b3a7640000900490565b6000826001600160a01b0316846001600160a01b031614156141025761410083613a94565b505b60075460408051631200453160e11b81523060048201526001600160a01b038781166024830152868116604483015260648201869052915160009392909216916324008a629160848082019260209290919082900301818787803b15801561416957600080fd5b505af115801561417d573d6000803e3d6000fd5b505050506040513d602081101561419357600080fd5b5051905080156141b2576141aa6003603883613637565b9150506112d1565b6141ba61369d565b600c54146141ce576141aa600a6039612926565b6141d661550b565b6001600160a01b038516600090815260136020526040902060010154606082015261420085613583565b608083018190526020830182600381111561421757fe5b600381111561422257fe5b905250600090508160200151600381111561423957fe5b1461425e57614255600960378360200151600381111561176957fe5b925050506112d1565b600019841415614277576080810151604082015261427f565b604081018490525b61428d868260400151613f28565b8190601081111561429a57fe5b908160108111156142a757fe5b9052506000815160108111156142b957fe5b146142cb57805161425590603c612926565b6142dd816080015182604001516136a1565b60a08301819052602083018260038111156142f457fe5b60038111156142ff57fe5b905250600090508160200151600381111561431657fe5b14614332576142556009603a8360200151600381111561176957fe5b614342600e5482604001516136a1565b60c083018190526020830182600381111561435957fe5b600381111561436457fe5b905250600090508160200151600381111561437b57fe5b14614397576142556009603b8360200151600381111561176957fe5b6143a5868260400151613f28565b819060108111156143b257fe5b908160108111156143bf57fe5b9052506000815160108111156143d157fe5b14614423576040805162461bcd60e51b815260206004820152601f60248201527f726570617920626f72726f77207472616e7366657220696e206661696c656400604482015290519081900360640190fd5b60a08101516001600160a01b038087166000818152601360205260409020928355600d5460019093019290925560c0830151600e55871614156144695761446985613b70565b60408082015160a08084015160c085015184516001600160a01b03808d1682528b166020820152808601949094526060840191909152608083015291517f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1929181900390910190a160075460408083015160608401518251631ededc9160e01b81523060048201526001600160a01b038b811660248301528a81166044830152606482019390935260848101919091529151921691631ededc919160a48082019260009290919082900301818387803b15801561454557600080fd5b505af1158015614559573d6000803e3d6000fd5b5060009250614566915050565b9695505050505050565b6040516000906001600160a01b0384169083156108fc0290849084818181858888f193505050501580156145a8573d6000803e3d6000fd5b5060009392505050565b60008215806145bf575081155b6145fa5760405162461bcd60e51b81526004018080602001828103825260348152602001806157bb6034913960400191505060405180910390fd5b61460384613bee565b5061460c61550b565b614614612dec565b604083018190526020830182600381111561462b57fe5b600381111561463657fe5b905250600090508160200151600381111561464d57fe5b14614669576141aa6009602b8360200151600381111561176957fe5b83156146ea57606081018490526040805160208101825290820151815261469090856131aa565b60808301819052602083018260038111156146a757fe5b60038111156146b257fe5b90525060009050816020015160038111156146c957fe5b146146e5576141aa600960298360200151600381111561176957fe5b614763565b6147068360405180602001604052808460400151815250613fc7565b606083018190526020830182600381111561471d57fe5b600381111561472857fe5b905250600090508160200151600381111561473f57fe5b1461475b576141aa6009602a8360200151600381111561176957fe5b608081018390525b60075460608201516040805163eabe7d9160e01b81523060048201526001600160a01b03898116602483015260448201939093529051600093929092169163eabe7d919160648082019260209290919082900301818787803b1580156147c857600080fd5b505af11580156147dc573d6000803e3d6000fd5b505050506040513d60208110156147f257600080fd5b505190508015614809576142556003602883613637565b61481161369d565b600c541461482557614255600a602c612926565b61483560105483606001516136a1565b60a084018190526020840182600381111561484c57fe5b600381111561485757fe5b905250600090508260200151600381111561486e57fe5b1461488a576142556009602e8460200151600381111561176957fe5b6001600160a01b03861660009081526011602052604090205460608301516148b291906136a1565b60c08401819052602084018260038111156148c957fe5b60038111156148d457fe5b90525060009050826020015160038111156148eb57fe5b14614907576142556009602d8460200151600381111561176957fe5b81608001516149146131fe565b101561492657614255600e602f612926565b614934868360800151614570565b8290601081111561494157fe5b9081601081111561494e57fe5b90525060008251601081111561496057fe5b146149b2576040805162461bcd60e51b815260206004820152601a60248201527f72656465656d207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b60a082015160105560c08201516001600160a01b0387166000908152601160205260409020556149e186613cb4565b6060820151604080519182525130916001600160a01b038916916000805160206156fe8339815191529181900360200190a36080820151606080840151604080516001600160a01b038b168152602081019490945283810191909152517fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9299281900390910190a160075460808301516060840151604080516351dff98960e01b81523060048201526001600160a01b038b81166024830152604482019490945260648101929092525191909216916351dff98991608480830192600092919082900301818387803b15801561454557600080fd5b60008083614ae8575060009050806131f7565b83830283858281614af557fe5b0414614b09575060029150600090506131f7565b6000925090506131f7565b60008082614b2857506001905060006131f7565b6000838581614b3357fe5b04915091509250929050565b60075460408051632fe3f38f60e11b81523060048201526001600160a01b0384811660248301528781166044830152868116606483015260848201869052915160009384931691635fc7e71e9160a480830192602092919082900301818787803b158015614bac57600080fd5b505af1158015614bc0573d6000803e3d6000fd5b505050506040513d6020811015614bd657600080fd5b505190508015614bed57612f406003601283613637565b614bf561369d565b600c5414614c0957612f40600a6016612926565b614c1161369d565b836001600160a01b0316636c540baf6040518163ffffffff1660e01b815260040160206040518083038186803b158015614c4a57600080fd5b505afa158015614c5e573d6000803e3d6000fd5b505050506040513d6020811015614c7457600080fd5b505114614c8757612f40600a6011612926565b856001600160a01b0316856001600160a01b03161415614cad57612f4060066017612926565b83614cbe57612f4060076015612926565b600019841415614cd457612f4060076014612926565b6007546040805163c488847b60e01b81523060048201526001600160a01b038681166024830152604482018890528251600094859492169263c488847b926064808301939192829003018186803b158015614d2e57600080fd5b505afa158015614d42573d6000803e3d6000fd5b505050506040513d6040811015614d5857600080fd5b50805160209091015190925090508115614d8357614d796004601384613637565b93505050506131a2565b846001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015614dd957600080fd5b505afa158015614ded573d6000803e3d6000fd5b505050506040513d6020811015614e0357600080fd5b5051811115614e1857614d79600d601d612926565b6000614e258989896140db565b90508015614e4e57614e43816010811115614e3c57fe5b6018612926565b9450505050506131a2565b6040805163b2a02ff160e01b81526001600160a01b038b811660048301528a8116602483015260448201859052915160009289169163b2a02ff191606480830192602092919082900301818787803b158015614ea957600080fd5b505af1158015614ebd573d6000803e3d6000fd5b505050506040513d6020811015614ed357600080fd5b505190508015614f21576040805162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b03808d168252808c1660208301528183018b9052891660608201526080810185905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a1600754604080516347ef3b3b60e01b81523060048201526001600160a01b038a811660248301528d811660448301528c81166064830152608482018c905260a48201879052915191909216916347ef3b3b9160c480830192600092919082900301818387803b158015614fec57600080fd5b505af1158015615000573d6000803e3d6000fd5b506000925061500d915050565b9a9950505050505050505050565b6000615025615484565b60008061503a86600001518660000151614ad5565b9092509050600082600381111561504d57fe5b1461506c575060408051602081019091526000815290925090506131f7565b6000806150816706f05b59d3b200008461372c565b9092509050600082600381111561509457fe5b146150b6575060408051602081019091526000815290945092506131f7915050565b6000806150cb83670de0b6b3a7640000614b14565b909250905060008260038111156150de57fe5b146150e557fe5b604080516020810190915290815260009a909950975050505050505050565b6007546040805163368f515360e21b81523060048201526001600160a01b0385811660248301526044820185905291516000938493169163da3d454c91606480830192602092919082900301818787803b15801561516157600080fd5b505af1158015615175573d6000803e3d6000fd5b505050506040513d602081101561518b57600080fd5b5051905080156151a257612a2a6003600e83613637565b6151aa61369d565b600c54146151bd57612a2a600a80612926565b826151c66131fe565b10156151d857612a2a600e6009612926565b6151e0615549565b6151e985613a94565b506151f385613583565b604083018190526020830182600381111561520a57fe5b600381111561521557fe5b905250600090508160200151600381111561522c57fe5b1461524857612aa8600960078360200151600381111561176957fe5b61525681604001518561372c565b606083018190526020830182600381111561526d57fe5b600381111561527857fe5b905250600090508160200151600381111561528f57fe5b146152ab57612aa86009600c8360200151600381111561176957fe5b6152b7600e548561372c565b60808301819052602083018260038111156152ce57fe5b60038111156152d957fe5b90525060009050816020015160038111156152f057fe5b1461530c57612aa86009600b8360200151600381111561176957fe5b6153168585614570565b8190601081111561532357fe5b9081601081111561533057fe5b90525060008151601081111561534257fe5b14615394576040805162461bcd60e51b815260206004820152601a60248201527f626f72726f77207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b60608101516001600160a01b0386166000908152601360205260409020908155600d546001909101556080810151600e556153ce85613b70565b606080820151608080840151604080516001600160a01b038b168152602081018a9052808201949094529383015291517f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80929181900390910190a160075460408051635c77860560e01b81523060048201526001600160a01b0388811660248301526044820188905291519190921691635c77860591606480830192600092919082900301818387803b158015612dc257600080fd5b6040518060200160405280600081525090565b6040805161014081019091528060008152602001600081526020016000815260200160008152602001600081526020016154cf615484565b8152602001600081526020016000815260200160008152602001600081525090565b6040805160c08101909152806000815260200160006154cf565b6040805160e0810190915280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160a08101909152806000815260200160008152602001600081526020016000815260200160008152509056fe737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7773506572206661696c6564726564756365207265736572766573207472616e73666572206f7574206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720737570706c7952617465206661696c656472656475636520646973636f756e74656420726573657276657320756e657870656374656420756e646572666c6f77626f72726f7742616c616e636553746f7265643a20626f72726f7742616c616e636553746f726564496e7465726e616c206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720756e6465726c79696e67206661696c6564626f72726f7752617465506572426c6f636b3a20696e746572657374526174654d6f64656c2e626f72726f7752617465206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7752617465206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef737570706c7952617465506572426c6f636b3a2063616c63756c6174696e67206f6e654d696e757352657365727665466163746f72206661696c656465786368616e67655261746553746f7265643a2065786368616e67655261746553746f726564496e7465726e616c206661696c656441444d494e5f434845434b5f4641494c5f494e5f4348414e47455f50524943455f5550444154455f424f4f4c6f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416d6f756e74496e206d757374206265207a65726f72656475636520726573657276657320756e657870656374656420756e646572666c6f77a265627a7a72315820ee1cf75aa465d5a2eb7ddf4464e4e8efbf83ededa4d00a728cc729497e12b20c64736f6c6343000511003253657474696e6720696e7465726573742072617465206d6f64656c206661696c6564496e697469616c2065786368616e67652072617465206d7573742062652067726561746572207468616e207a65726f2e000000000000000000000000f54f9e7070a1584532572a6f640f09c606bb9a83000000000000000000000000471c4240a0d9cbf33136457a5287cf9d227f1bd5000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000947414d4d4120424e420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000467424e4200000000000000000000000000000000000000000000000000000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000f54f9e7070a1584532572a6f640f09c606bb9a83000000000000000000000000471c4240a0d9cbf33136457a5287cf9d227f1bd5000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000947414d4d4120424e420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000467424e4200000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : gammatroller_ (address): 0xf54f9e7070a1584532572a6f640f09c606bb9a83
Arg [1] : interestRateModel_ (address): 0x471c4240a0d9cbf33136457a5287cf9d227f1bd5
Arg [2] : initialExchangeRateMantissa_ (uint256): 200000000000000000000000000
Arg [3] : name_ (string): GAMMA BNB
Arg [4] : symbol_ (string): gBNB
Arg [5] : decimals_ (uint256): 8

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 000000000000000000000000f54f9e7070a1584532572a6f640f09c606bb9a83
Arg [1] : 000000000000000000000000471c4240a0d9cbf33136457a5287cf9d227f1bd5
Arg [2] : 000000000000000000000000000000000000000000a56fa5b99019a5c8000000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 47414d4d4120424e420000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 67424e4200000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

106882:8296:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112655:54;112670:23;112683:9;112670:12;:23::i;:::-;112655:54;;;;;;;;;;;;;-1:-1:-1;;;112655:54:0;;;:14;:54::i;:::-;106882:8296;31581:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31581:18:0;;;:::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;31581:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42841:237;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42841:237:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;42841:237:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;96388:257;;8:9:-1;5:2;;;30:1;27;20:12;5:2;96388:257:0;;;:::i;107929:106::-;;;:::i;32540:35::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32540:35:0;;;:::i;:::-;;;;-1:-1:-1;;;;;32540:35:0;;;;;;;;;;;;;;32984:33;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32984:33:0;;;:::i;:::-;;;;;;;;;;;;;;;;48551:224;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48551:224:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48551:224:0;-1:-1:-1;;;;;48551:224:0;;:::i;33620:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33620:26:0;;;:::i;51396:261::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51396:261:0;;;:::i;31473:32::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31473:32:0;;;:::i;31328:36::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31328:36:0;;;:::i;42176:195::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42176:195:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;42176:195:0;;;;;;;;;;;;;;;;;:::i;32282:35::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32282:35:0;;;:::i;31777:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31777:20:0;;;:::i;44109:319::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44109:319:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44109:319:0;-1:-1:-1;;;;;44109:319:0;;:::i;53233:88::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53233:88:0;;;:::i;33384:24::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33384:24:0;;;:::i;109480:127::-;;;:::i;99102:571::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;99102:571:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;99102:571:0;;:::i;110780:162::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;110780:162:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;110780:162:0;-1:-1:-1;;;;;110780:162:0;;:::i;95620:756::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;95620:756:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;95620:756:0;-1:-1:-1;;;;;95620:756:0;;:::i;32848:39::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32848:39:0;;;:::i;33107:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33107:30:0;;;:::i;43741:112::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43741:112:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43741:112:0;-1:-1:-1;;;;;43741:112:0;;:::i;48068:192::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48068:192:0;;;:::i;108855:133::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;108855:133:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;108855:133:0;;:::i;32408:41::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32408:41:0;;;:::i;33514:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33514:25:0;;;:::i;31677:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31677:20:0;;;:::i;48984:287::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48984:287:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48984:287:0;-1:-1:-1;;;;;48984:287:0;;:::i;53938:3760::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53938:3760:0;;;:::i;41684:185::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41684:185:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;41684:185:0;;;;;;;;:::i;33249:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33249:23:0;;;:::i;110321:208::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;110321:208:0;;;;;;;;;;:::i;46424:1498::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46424:1498:0;;;:::i;91051:2125::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;91051:2125:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;91051:2125:0;;;;;;;;;;;;;;;;;:::i;93726:647::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;93726:647:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;93726:647:0;-1:-1:-1;;;;;93726:647:0;;:::i;50948:198::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50948:198:0;;;:::i;44775:703::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44775:703:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44775:703:0;-1:-1:-1;;;;;44775:703:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109256:113;;8:9:-1;5:2;;;30:1;27;20:12;5:2;109256:113:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;109256:113:0;;:::i;108386:::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;108386:113:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;108386:113:0;;:::i;43408:143::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43408:143:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;43408:143:0;;;;;;;;;;:::i;109798:171::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;109798:171:0;-1:-1:-1;;;;;109798:171:0;;:::i;94651:742::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94651:742:0;;;:::i;111042:252::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;111042:252:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;111042:252:0;-1:-1:-1;;;;;111042:252:0;;:::i;102842:633::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;102842:633:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;102842:633:0;-1:-1:-1;;;;;102842:633:0;;:::i;32677:42::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32677:42:0;;;:::i;32171:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32171:28:0;;;:::i;45906:342::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45906:342:0;;;:::i;111405:1139::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;111405:1139:0;;;:::i;96948:607::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;96948:607:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;96948:607:0;;:::i;58056:536::-;58126:4;28292:18;;28309:1;28292:18;;;;58126:4;58156:16;:14;:16::i;:::-;58143:29;-1:-1:-1;58187:29:0;;58183:247;;58359:59;58370:5;58364:12;;;;;;;;58378:39;58359:4;:59::i;:::-;58352:66;;;;;58183:247;58551:33;58561:10;58573;58551:9;:33::i;:::-;58544:40;;;28368:1;28404:13;;28388:12;:29;28380:52;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;;;;58056:536;;;;:::o;114463:712::-;114553:31;114549:70;;114601:7;;114549:70;114631:24;114674:7;114668:21;114692:1;114668:25;114658:36;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;114658:36:0;87:34:-1;135:17;;-1:-1;114658:36:0;-1:-1:-1;114631:63:0;-1:-1:-1;114705:6:0;114724:105;114746:7;114740:21;114736:1;:25;114724:105;;;114806:7;114815:1;114800:17;;;;;;;;;;;;;;;;114783:11;114795:1;114783:14;;;;;;;;;;;:34;-1:-1:-1;;;;;114783:34:0;;;;;;;;-1:-1:-1;114763:3:0;;114724:105;;;114841:16;;-1:-1:-1;;;114860:15:0;114841:11;;114853:1;;114841:16;;;;;;;;;:34;-1:-1:-1;;;;;114841:34:0;;;;;;;;;114916:2;114905:15;;114886:11;114898:1;114900;114898:3;114886:16;;;;;;;;;;;:34;-1:-1:-1;;;;;114886:34:0;;;;;;;;-1:-1:-1;114978:2:0;114968:7;:12;114961:2;:21;114950:34;;114931:11;114943:1;114945;114943:3;114931:16;;;;;;;;;;;:53;-1:-1:-1;;;;;114931:53:0;;;;;;;;-1:-1:-1;115042:2:0;115032:7;:12;115025:2;:21;115014:34;;114995:11;115007:1;115009;115007:3;114995:16;;;;;;;;;;;:53;-1:-1:-1;;;;;114995:53:0;;;;;;;;;115089:2;115078:15;;115059:11;115071:1;115073;115071:3;115059:16;;;;;;;;;;;:34;-1:-1:-1;;;;;115059:34:0;;;;;;;;-1:-1:-1;115154:11:0;115114:31;;115106:61;;;;-1:-1:-1;;;115106:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;115106:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114463:712;;;;;:::o;31581:18::-;;;;;;;;;;;;;;-1:-1:-1;;31581:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42841:237::-;42940:10;42909:4;42961:23;;;:18;:23;;;;;;;;-1:-1:-1;;;;;42961:32:0;;;;;;;;;;;:41;;;43018:30;;;;;;;42909:4;;42940:10;42961:32;;42940:10;;43018:30;;;;;;;;;;;43066:4;43059:11;;;42841:237;;;;;:::o;96388:257::-;96461:5;;-1:-1:-1;;;;;96461:5:0;96447:10;:19;96439:75;;;;-1:-1:-1;;;96439:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96542:13;;;-1:-1:-1;;96525:30:0;;96542:13;;;;96541:14;96525:30;;;;;96571:66;;;96593:13;;;;96592:14;96571:66;;;;;;;;96621:15;96571:66;;;;;;;;;;;;;;96388:257::o;107929:106::-;107973:54;107988:23;108001:9;107988:12;:23::i;107973:54::-;107929:106::o;32540:35::-;;;-1:-1:-1;;;;;32540:35:0;;:::o;32984:33::-;;;;:::o;48551:224::-;48629:4;28292:18;;28309:1;28292:18;;;;48629:4;48654:16;:14;:16::i;:::-;:40;48646:75;;;;;-1:-1:-1;;;48646:75:0;;;;;;;;;;;;-1:-1:-1;;;48646:75:0;;;;;;;;;;;;;;;48739:28;48759:7;48739:19;:28::i;:::-;48732:35;;28404:13;;28388:12;:29;28380:52;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;;;33620:26;;;;:::o;51396:261::-;51447:4;51465:13;51480:11;51495:28;:26;:28::i;:::-;51464:59;;-1:-1:-1;51464:59:0;-1:-1:-1;51549:18:0;51542:3;:25;;;;;;;;;51534:91;;;;-1:-1:-1;;;51534:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51643:6;-1:-1:-1;;51396:261:0;;:::o;31473:32::-;;;;;;:::o;31328:36::-;31360:4;31328:36;:::o;42176:195::-;42271:4;28292:18;;28309:1;28292:18;;;;42271:4;42295:44;42310:10;42322:3;42327;42332:6;42295:14;:44::i;:::-;:68;42288:75;;28368:1;28404:13;;28388:12;:29;28380:52;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;;;;42176:195;;;;;;:::o;32282:35::-;;;-1:-1:-1;;;;;32282:35:0;;:::o;31777:20::-;;;;:::o;44109:319::-;44171:4;44188:23;;:::i;:::-;44214:38;;;;;;;;44229:21;:19;:21::i;:::-;44214:38;;-1:-1:-1;;;;;44328:20:0;;44264:14;44328:20;;;:13;:20;;;;;;44188:64;;-1:-1:-1;44264:14:0;;;44296:53;;44188:64;;44296:17;:53::i;:::-;44263:86;;-1:-1:-1;44263:86:0;-1:-1:-1;44376:18:0;44368:4;:26;;;;;;;;;44360:35;;;;;;44413:7;-1:-1:-1;;;44109:319:0;;;;:::o;53233:88::-;53275:4;53299:14;:12;:14::i;:::-;53292:21;;53233:88;:::o;33384:24::-;;;;:::o;109480:127::-;109531:68;109546:30;109566:9;109546:19;:30::i;:::-;109531:68;;;;;;;;;;;;;-1:-1:-1;;;109531:68:0;;;:14;:68::i;99102:571::-;99177:4;28292:18;;28309:1;28292:18;;;;99177:4;99207:16;:14;:16::i;:::-;99194:29;-1:-1:-1;99238:29:0;;99234:277;;99429:70;99440:5;99434:12;;;;;;;;99448:50;99429:4;:70::i;99234:277::-;99631:34;99652:12;99631:20;:34::i;110780:162::-;110851:4;110875:59;110916:16;110875:25;:59::i;95620:756::-;95770:5;;95701:4;;-1:-1:-1;;;;;95770:5:0;95756:10;:19;95752:125;;95799:66;95804:18;95824:40;95799:4;:66::i;:::-;95792:73;;;;95752:125;95929:12;;96029:32;;;-1:-1:-1;;;96029:32:0;;;;-1:-1:-1;;;;;95929:12:0;;;;96029:30;;;;;:32;;;;;;;;;;;;;;:30;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;96029:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;96029:32:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;96029:32:0;96021:73;;;;;-1:-1:-1;;;96021:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;96164:12;:30;;-1:-1:-1;;;;;;96164:30:0;-1:-1:-1;;;;;96164:30:0;;;;;;;;;96279:49;;;;;;;;;;;;;;;;;;;;;;;;;;;96353:14;96348:20;96341:27;95620:756;-1:-1:-1;;;95620:756:0:o;32848:39::-;;;;:::o;33107:30::-;;;;:::o;43741:112::-;-1:-1:-1;;;;;43825:20:0;43798:7;43825:20;;;:13;:20;;;;;;;43741:112::o;48068:192::-;48130:4;28292:18;;28309:1;28292:18;;;;48130:4;48155:16;:14;:16::i;:::-;:40;48147:75;;;;;-1:-1:-1;;;48147:75:0;;;;;;;;;;;;-1:-1:-1;;;48147:75:0;;;;;;;;;;;;;;;48240:12;;48233:19;;28404:13;;28388:12;:29;28380:52;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;;;;48068:192;;:::o;108855:133::-;108918:4;108942:38;108967:12;108942:24;:38::i;32408:41::-;;;-1:-1:-1;;;;;32408:41:0;;:::o;33514:25::-;;;;:::o;31677:20::-;;;;;;;;;;;;;;;-1:-1:-1;;31677:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48984:287;49051:4;49069:13;49084:11;49099:36;49127:7;49099:27;:36::i;:::-;49068:67;;-1:-1:-1;49068:67:0;-1:-1:-1;49161:18:0;49154:3;:25;;;;;;;;;49146:93;;;;-1:-1:-1;;;49146:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53938:3760;54010:13;;53980:4;;54010:13;;54007:85;;;54046:12;;;;;;;;;-1:-1:-1;;;;;54046:12:0;-1:-1:-1;;;;;54046:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54046:21:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54046:21:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54046:21:0;54034:58;;;-1:-1:-1;;;54034:58:0;;54086:4;54034:58;;;;;;-1:-1:-1;;;;;54034:43:0;;;;;;:58;;;;;54046:21;;54034:58;;;;;;;;-1:-1:-1;54034:43:0;:58;;;5:2:-1;;;;30:1;27;20:12;5:2;54034:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54034:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;54007:85:0;54113:35;;:::i;:::-;54263:17;;-1:-1:-1;;;;;54263:17:0;:31;54295:14;:12;:14::i;:::-;54311:12;;54325:13;;54263:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54263:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54263:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54263:76:0;;;;;;;;54236:23;;54219:120;;;54220:14;;;54219:120;31940:4;-1:-1:-1;54358:48:0;54350:89;;;;;-1:-1:-1;;;54350:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54454:14;;;;:19;54450:178;;54497:119;54508:31;54541:58;54601:4;:14;;;54497:10;:119::i;:::-;54490:126;;;;;54450:178;54715:16;:14;:16::i;:::-;54689:23;;;:42;;;54888:18;;54855:52;;54689:42;54855:7;:52::i;:::-;54836:15;;;54821:86;;;54822:4;54821:86;;;;;;;;;;;;;;;;;;;-1:-1:-1;54941:18:0;;-1:-1:-1;54925:12:0;;:34;;;;;;;;;54918:42;;;;55559:68;55569:40;;;;;;;;55584:4;:23;;;55569:40;;;55611:4;:15;;;55559:9;:68::i;:::-;55530:25;;;55515:112;;;55516:4;55515:112;;;;;;;;;;;;;;;;;;;-1:-1:-1;55658:18:0;;-1:-1:-1;55642:12:0;;:34;;;;;;;;;55638:193;;55700:119;55711:16;55729:69;55805:4;:12;;;55800:18;;;;;;;;55700:10;:119::i;55638:193::-;55886:58;55904:4;:25;;;55931:12;;55886:17;:58::i;:::-;55858:24;;;55843:101;;;55844:4;55843:101;;;;;;;;;;;;;;;;;;;-1:-1:-1;55975:18:0;;-1:-1:-1;55959:12:0;;:34;;;;;;;;;55955:191;;56017:117;56028:16;56046:67;56120:4;:12;;;56115:18;;;;;;;55955:191;56197:47;56205:4;:24;;;56231:12;;56197:7;:47::i;:::-;56173:20;;;56158:86;;;56159:4;56158:86;;;;;;;;;;;;;;;;;;;-1:-1:-1;56275:18:0;;-1:-1:-1;56259:12:0;;:34;;;;;;;;;56255:188;;56317:114;56328:16;56346:64;56417:4;:12;;;56412:18;;;;;;;56255:188;56495:105;56520:38;;;;;;;;56535:21;;56520:38;;;56560:4;:24;;;56586:13;;56495:24;:105::i;:::-;56470:21;;;56455:145;;;56456:4;56455:145;;;;;;;;;;;;;;;;;;;-1:-1:-1;56631:18:0;;-1:-1:-1;56615:12:0;;:34;;;;;;;;;56611:189;;56673:115;56684:16;56702:65;56774:4;:12;;;56769:18;;;;;;;56611:189;56850:77;56875:4;:25;;;56902:11;;56915;;56850:24;:77::i;:::-;56827:19;;;56812:115;;;56813:4;56812:115;;;;;;;;;;;;;;;;;;;-1:-1:-1;56958:18:0;;-1:-1:-1;56942:12:0;;:34;;;;;;;;;56938:187;;57000:113;57011:16;57029:63;57099:4;:12;;;57094:18;;;;;;;56938:187;57349:23;;;;;57328:18;:44;57397:19;;;;57383:11;:33;;;57442:20;;;;57427:12;:35;;;57489:21;;;;57473:13;:37;57590:24;;;;57575:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57675:14;57663:27;;;53938:3760;:::o;41684:185::-;41762:4;28292:18;;28309:1;28292:18;;;;41762:4;41786:51;41801:10;41813;41825:3;41830:6;41786:14;:51::i;:::-;:75;41779:82;;28368:1;28404:13;;28388:12;:29;28380:52;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;;;;41684:185;;;;;:::o;33249:23::-;;;;:::o;110321:208::-;110417:104;110432:62;110456:8;110466:9;110477:16;110432:23;:62::i;:::-;110417:104;;;;;;;;;;;;;-1:-1:-1;;;110417:104:0;;;:14;:104::i;46424:1498::-;46477:4;46728:25;46756:20;:18;:20::i;:::-;46826:17;;46728:48;;-1:-1:-1;46790:7:0;;;;-1:-1:-1;;;;;46826:17:0;:31;46858:14;:12;:14::i;:::-;46874:12;;46888:13;;46826:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46826:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46826:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46826:76:0;;;;;;;;;-1:-1:-1;46826:76:0;-1:-1:-1;46921:7:0;;46913:69;;;;-1:-1:-1;;;46913:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47011:12;47025:21;;:::i;:::-;47050:61;47060:37;;;;;;;;47075:20;47060:37;;;47099:11;;47050:9;:61::i;:::-;47010:101;;-1:-1:-1;47010:101:0;-1:-1:-1;47136:18:0;47130:2;:24;;;;;;;;;47122:86;;;;-1:-1:-1;;;47122:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47222:12;47236:21;;:::i;:::-;47261:40;47276:12;;47290:10;47261:14;:40::i;:::-;47221:80;;-1:-1:-1;47221:80:0;-1:-1:-1;47326:18:0;47320:2;:24;;;;;;;;;47312:86;;;;-1:-1:-1;;;47312:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47412:12;47426:32;;:::i;:::-;47462:76;47469:28;;;;;;;;14051:4;47469:28;;;47499:38;;;;;;;;47514:21;;47499:38;;;47462:6;:76::i;:::-;47411:127;;-1:-1:-1;47411:127:0;-1:-1:-1;47563:18:0;47557:2;:24;;;;;;;;;47549:97;;;;-1:-1:-1;;;47549:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47660:12;47674:21;;:::i;:::-;47699:79;47707:35;;;;;;;;47722:18;47707:35;;;47744:21;47767:10;47699:7;:79::i;:::-;47659:119;;-1:-1:-1;47659:119:0;-1:-1:-1;47803:18:0;47797:2;:24;;;;;;;;;47789:86;;;;-1:-1:-1;;;47789:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47895:19;;-1:-1:-1;;;;;;;;;;;46424:1498:0;:::o;91051:2125::-;91153:4;28292:18;;28309:1;28292:18;;;;91226:12;;:87;;;-1:-1:-1;;;91226:87:0;;91260:4;91226:87;;;;91267:10;91226:87;;;;-1:-1:-1;;;;;91226:87:0;;;;;;;;;;;;;;;;;;;;;;91153:4;;91226:12;;;;;:25;;:87;;;;;;;;;;;;;;;91153:4;91226:12;:87;;;5:2:-1;;;;30:1;27;20:12;5:2;91226:87:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91226:87:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;91226:87:0;;-1:-1:-1;91328:12:0;;91324:153;;91364:101;91375:28;91405:50;91457:7;91364:10;:101::i;:::-;91357:108;;;;;91324:153;91550:10;-1:-1:-1;;;;;91538:22:0;:8;-1:-1:-1;;;;;91538:22:0;;91534:146;;;91584:84;91589:26;91617:50;91584:4;:84::i;91534:146::-;-1:-1:-1;;;;;92104:23:0;;91692:17;92104:23;;;:13;:23;;;;;;91692:17;;;;92096:45;;92129:11;92096:7;:45::i;:::-;92065:76;;-1:-1:-1;92065:76:0;-1:-1:-1;92167:18:0;92156:7;:29;;;;;;;;;92152:166;;92209:97;92220:16;92238:52;92297:7;92292:13;;;;;;;92209:97;92202:104;;;;;;;;92152:166;-1:-1:-1;;;;;92371:25:0;;;;;;:13;:25;;;;;;92363:47;;92398:11;92363:7;:47::i;:::-;92330:80;;-1:-1:-1;92330:80:0;-1:-1:-1;92436:18:0;92425:7;:29;;;;;;;;;92421:166;;92478:97;92489:16;92507:52;92566:7;92561:13;;;;;;;92421:166;-1:-1:-1;;;;;92790:23:0;;;;;;;:13;:23;;;;;;;;:43;;;92844:25;;;;;;;;;;:47;;;92946:43;;;;;;;92844:25;;-1:-1:-1;;;;;;;;;;;92946:43:0;;;;;;;;;;93042:12;;:86;;;-1:-1:-1;;;93042:86:0;;93075:4;93042:86;;;;93082:10;93042:86;;;;-1:-1:-1;;;;;93042:86:0;;;;;;;;;;;;;;;;;;;;;;:12;;;;;:24;;:86;;;;;:12;;:86;;;;;;;:12;;:86;;;5:2:-1;;;;30:1;27;20:12;5:2;93042:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;93153:14:0;;-1:-1:-1;93148:20:0;;-1:-1:-1;;93148:20:0;;93141:27;;;;;;28404:13;;28388:12;:29;28380:52;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;;;93726:647;93871:5;;93803:4;;-1:-1:-1;;;;;93871:5:0;93857:10;:19;93853:126;;93900:67;93905:18;93925:41;93900:4;:67::i;93853:126::-;94078:12;;;-1:-1:-1;;;;;94161:30:0;;;-1:-1:-1;;;;;;94161:30:0;;;;;;;94276:49;;;94078:12;;;;94276:49;;;;;;;;;;;;;;;;;;;;;;;94350:14;94345:20;;50948:198;51008:4;28292:18;;28309:1;28292:18;;;;51008:4;51033:16;:14;:16::i;:::-;:40;51025:75;;;;;-1:-1:-1;;;51025:75:0;;;;;;;;;;;;-1:-1:-1;;;51025:75:0;;;;;;;;;;;;;;;51118:20;:18;:20::i;:::-;51111:27;;28404:13;;28388:12;:29;28380:52;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;;;44775:703;-1:-1:-1;;;;;44899:22:0;;44843:4;44899:22;;;:13;:22;;;;;;44843:4;;;;;;;;;45050:36;44913:7;45050:27;:36::i;:::-;45026:60;-1:-1:-1;45026:60:0;-1:-1:-1;45109:18:0;45101:4;:26;;;;;;;;;45097:99;;45157:16;45152:22;45144:40;-1:-1:-1;45176:1:0;;-1:-1:-1;45176:1:0;;-1:-1:-1;45176:1:0;;-1:-1:-1;45144:40:0;;-1:-1:-1;;;;45144:40:0;45097:99;45239:28;:26;:28::i;:::-;45208:59;-1:-1:-1;45208:59:0;-1:-1:-1;45290:18:0;45282:4;:26;;;;;;;;;45278:99;;45338:16;45333:22;;45278:99;-1:-1:-1;45402:14:0;;-1:-1:-1;45419:13:0;;-1:-1:-1;45434:13:0;-1:-1:-1;45434:13:0;-1:-1:-1;44775:703:0;;;;;;:::o;109256:113::-;109309:4;109333:28;109348:12;109333:14;:28::i;108386:113::-;108439:4;108463:28;108478:12;108463:14;:28::i;43408:143::-;-1:-1:-1;;;;;43509:25:0;;;43482:7;43509:25;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;;43408:143::o;109798:171::-;109871:90;109886:46;109912:8;109922:9;109886:25;:46::i;:::-;109871:90;;;;;;;;;;;;;;;;;:14;:90::i;:::-;109798:171;:::o;94651:742::-;94801:12;;94693:4;;-1:-1:-1;;;;;94801:12:0;94787:10;:26;;;:54;;-1:-1:-1;94817:10:0;:24;94787:54;94783:164;;;94865:70;94870:18;94890:44;94865:4;:70::i;:::-;94858:77;;;;94783:164;95031:5;;;95073:12;;;-1:-1:-1;;;;;95073:12:0;;;-1:-1:-1;;;;;;95146:20:0;;;;;;;;;95215:25;;;;;;95258;;;95031:5;;;95258:25;;;95277:5;;;;95258:25;;;;;;95073:12;;95258:25;;;;;;;;;95332:12;;95299:46;;;-1:-1:-1;;;;;95299:46:0;;;;;95332:12;;;95299:46;;;;;;;;;;;;;;;;95370:14;95358:27;;;;94651:742;:::o;111042:252::-;111104:38;111137:4;111104:32;:38::i;:::-;;111153:37;111185:4;111153:31;:37::i;:::-;111201:38;111234:4;111201:32;:38::i;:::-;;111250:36;111281:4;111250:30;:36::i;102842:633::-;102929:4;102946:10;102959:16;:14;:16::i;:::-;102946:29;-1:-1:-1;102990:29:0;;102986:298;;103194:78;103205:5;103199:12;;;;;;;;103213:58;103194:4;:78::i;:::-;103187:85;;;;;102986:298;103419:48;103446:20;103419:26;:48::i;32677:42::-;;;-1:-1:-1;;;;;32677:42:0;;:::o;32171:28::-;;;-1:-1:-1;;;;;32171:28:0;;:::o;45906:342::-;46020:17;;45959:4;;;;;;-1:-1:-1;;;;;46020:17:0;:31;46052:14;:12;:14::i;:::-;46068:12;;46082:13;;46020:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46020:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46020:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46020:76:0;;;;;;;;;-1:-1:-1;46020:76:0;-1:-1:-1;46115:14:0;;46107:82;;;;-1:-1:-1;;;46107:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111405:1139;111520:13;;111505:64;;;-1:-1:-1;;;111505:64:0;;111563:4;111505:64;;;;;;111467:35;;-1:-1:-1;;;;;111520:13:0;;111505:49;;:64;;;;;111520:13;;111505:64;;;;;;;111520:13;111505:64;;;5:2:-1;;;;30:1;27;20:12;5:2;111505:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;111505:64:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;111505:64:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;111505:64:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;111505:64:0;;421:4:-1;412:14;;;;111505:64:0;;;;;412:14:-1;111505:64:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;-1:-1;;;;111505:64:0;;;;;;;;111633:13;;-1:-1:-1;;;111618:64:0;;111676:4;111618:64;;;;;;111467:102;;-1:-1:-1;111580:35:0;;-1:-1:-1;;;;;111633:13:0;;;;-1:-1:-1;111618:49:0;;-1:-1:-1;111618:64:0;;;;;-1:-1:-1;111633:13:0;;-1:-1:-1;111618:64:0;;;;;;;111633:13;111618:64;;;5:2:-1;;;;30:1;27;20:12;5:2;111618:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;111618:64:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;111618:64:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;111618:64:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;111618:64:0;;421:4:-1;412:14;;;;111618:64:0;;;;;412:14:-1;111618:64:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;111618:64:0;;;;;;;;;;;111580:102;;111717:6;111726:1;111717:10;;111713:409;111734:18;:25;111730:1;:29;111713:409;;;111815:13;;111863:21;;111782:10;;-1:-1:-1;;;;;111815:13:0;;111800:48;;111857:4;;111863:18;;111882:1;;111863:21;;;;;;;;;;;;111800:85;;;;;;;;;;;;;-1:-1:-1;;;;;111800:85:0;-1:-1:-1;;;;;111800:85:0;;;;;;-1:-1:-1;;;;;111800:85:0;-1:-1:-1;;;;;111800:85:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;111800:85:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;111800:85:0;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;111800:85:0;111903:21;;111800:85;;-1:-1:-1;111936:1:0;;111903:18;;111922:1;;111903:21;;;;;;;;;;;;-1:-1:-1;;;;;111903:35:0;;;:44;;;;;111942:5;111903:44;111900:211;;;111967:55;112000:18;112019:1;112000:21;;;;;;;;;;;;;;111967:32;:55::i;:::-;;112041:54;112073:18;112092:1;112073:21;;;;;;;;;;;;;;112041:31;:54::i;:::-;-1:-1:-1;111762:3:0;;111713:409;;;-1:-1:-1;112136:6:0;112132:405;112153:18;:25;112149:1;:29;112132:405;;;112233:13;;112281:21;;112201:10;;-1:-1:-1;;;;;112233:13:0;;112218:48;;112275:4;;112281:18;;112300:1;;112281:21;;;;;;;;;;;;112218:85;;;;;;;;;;;;;-1:-1:-1;;;;;112218:85:0;-1:-1:-1;;;;;112218:85:0;;;;;;-1:-1:-1;;;;;112218:85:0;-1:-1:-1;;;;;112218:85:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112218:85:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;112218:85:0;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;112218:85:0;112321:21;;112218:85;;-1:-1:-1;112354:1:0;;112321:18;;112340:1;;112321:21;;;;;;;;;;;;-1:-1:-1;;;;;112321:35:0;;;:44;;;;;112360:5;112321:44;112318:208;;;112384:55;112417:18;112436:1;112417:21;;;;;;;;;;;;;;112384:32;:55::i;:::-;;112457:53;112488:18;112507:1;112488:21;;;;;;;;;;;;;;112457:30;:53::i;:::-;-1:-1:-1;112181:3:0;;112132:405;;;;111405:1139;;:::o;96948:607::-;97037:4;28292:18;;28309:1;28292:18;;;;97037:4;97067:16;:14;:16::i;:::-;97054:29;-1:-1:-1;97098:29:0;;97094:286;;97295:73;97306:5;97300:12;;;;;;;;97314:53;97295:4;:73::i;97094:286::-;97499:48;97522:24;97499:22;:48::i;10798:153::-;10859:4;10881:33;10894:3;10889:9;;;;;;;;10905:4;10900:10;;;;;;;;10881:33;;;;;;;;;;;;;10912:1;10881:33;;;;;;;;;;;;;10939:3;10934:9;;;;;;;59758:4150;59900:12;;:59;;;-1:-1:-1;;;59900:59:0;;59933:4;59900:59;;;;-1:-1:-1;;;;;59900:59:0;;;;;;;;;;;;;;;59828:4;;;;59900:12;;:24;;:59;;;;;;;;;;;;;;59828:4;59900:12;:59;;;5:2:-1;;;;30:1;27;20:12;5:2;59900:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59900:59:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59900:59:0;;-1:-1:-1;59974:12:0;;59970:142;;60010:90;60021:28;60051:39;60092:7;60010:10;:90::i;:::-;60003:97;;;;;59970:142;60222:16;:14;:16::i;:::-;60200:18;;:38;60196:140;;60262:62;60267:22;60291:32;60262:4;:62::i;60196:140::-;60348:25;;:::i;:::-;60477:40;60510:6;60477:32;:40::i;:::-;;60676:35;60692:6;60700:10;60676:15;:35::i;:::-;60665:4;;:46;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60738:14:0;60726:8;;:26;;;;;;;;;60722:123;;60781:8;;60776:57;;60791:41;60776:4;:57::i;:::-;60769:64;;;;;;60722:123;61073:28;:26;:28::i;:::-;61044:25;;;61029:72;;;61030:12;;;61029:72;;;;;;;;;;;;;;;;;;;-1:-1:-1;61132:18:0;;-1:-1:-1;61116:4:0;:12;;;:34;;;;;;;;;61112:166;;61174:92;61185:16;61203:42;61252:4;:12;;;61247:18;;;;;;;61112:166;61324:78;61347:10;61359:42;;;;;;;;61374:4;:25;;;61359:42;;;61324:22;:78::i;:::-;61305:15;;;61290:112;;;61291:12;;;61290:112;;;;;;;;;;;;;;;;;;;-1:-1:-1;61433:18:0;;-1:-1:-1;61417:4:0;:12;;;:34;;;;;;;;;61413:168;;61475:94;61486:16;61504:44;61555:4;:12;;;61550:18;;;;;;;61413:168;61884:37;61892:11;;61905:4;:15;;;61884:7;:37::i;:::-;61861:19;;;61846:75;;;61847:12;;;61846:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;61952:18:0;;-1:-1:-1;61936:4:0;:12;;;:34;;;;;;;;;61932:176;;61994:102;62005:16;62023:52;62082:4;:12;;;62077:18;;;;;;;61932:176;-1:-1:-1;;;;;62168:21:0;;;;;;:13;:21;;;;;;62191:15;;;;62160:47;;62168:21;62160:7;:47::i;:::-;62135:21;;;62120:87;;;62121:12;;;62120:87;;;;;;;;;;;;;;;;;;;-1:-1:-1;62238:18:0;;-1:-1:-1;62222:4:0;:12;;;:34;;;;;;;;;62218:179;;62280:105;62291:16;62309:55;62371:4;:12;;;62366:18;;;;;;;62218:179;62951:32;62964:6;62972:10;62951:12;:32::i;:::-;62940:4;;:43;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63010:14:0;62998:8;;:26;;;;;;;;;62994:117;;63053:8;;63048:51;;63063:35;63048:4;:51::i;62994:117::-;63203:19;;;;63189:11;:33;63257:21;;;;-1:-1:-1;;;;;63233:21:0;;;;;;:13;:21;;;;;:45;63402:38;63247:6;63402:30;:38::i;:::-;63652:15;;;;;63627:41;;;-1:-1:-1;;;;;63627:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63716:15;;;;63684:48;;;;;;;-1:-1:-1;;;;;63684:48:0;;;63701:4;;-1:-1:-1;;;;;;;;;;;63684:48:0;;;;;;;;63785:12;;63844:15;;;;63785:75;;;-1:-1:-1;;;63785:75:0;;63817:4;63785:75;;;;-1:-1:-1;;;;;63785:75:0;;;;;;;;;;;;;;;;;;;;;;:12;;;;;:23;;:75;;;;;:12;;:75;;;;;;;:12;;:75;;;5:2:-1;;;;30:1;27;20:12;5:2;63785:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;63885:14:0;;-1:-1:-1;63880:20:0;;-1:-1:-1;;63880:20:0;;63873:27;59758:4150;-1:-1:-1;;;;;59758:4150:0:o;51921:1142::-;51982:9;51993:4;52014:11;;52029:1;52014:16;52010:1046;;;-1:-1:-1;;52207:27:0;;52187:18;;52179:56;;52010:1046;52417:14;52434;:12;:14::i;:::-;52417:31;;52463:33;52511:23;;:::i;:::-;52549:17;52625:54;52640:9;52651:12;;52665:13;;52625:14;:54::i;:::-;52583:96;-1:-1:-1;52583:96:0;-1:-1:-1;52709:18:0;52698:7;:29;;;;;;;;;52694:89;;52756:7;-1:-1:-1;52765:1:0;;-1:-1:-1;52748:19:0;;-1:-1:-1;;;52748:19:0;52694:89;52825:49;52832:28;52862:11;;52825:6;:49::i;:::-;52799:75;-1:-1:-1;52799:75:0;-1:-1:-1;52904:18:0;52893:7;:29;;;;;;;;;52889:89;;52951:7;-1:-1:-1;52960:1:0;;-1:-1:-1;52943:19:0;;-1:-1:-1;;;52943:19:0;52889:89;-1:-1:-1;53022:21:0;53002:18;;-1:-1:-1;53022:21:0;-1:-1:-1;52994:50:0;;-1:-1:-1;;52994:50:0;52010:1046;51921:1142;;:::o;39120:2303::-;39294:12;;:61;;;-1:-1:-1;;;39294:61:0;;39331:4;39294:61;;;;-1:-1:-1;;;;;39294:61:0;;;;;;;;;;;;;;;;;;;;;;39218:4;;;;39294:12;;:28;;:61;;;;;;;;;;;;;;39218:4;39294:12;:61;;;5:2:-1;;;;30:1;27;20:12;5:2;39294:61:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39294:61:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39294:61:0;;-1:-1:-1;39370:12:0;;39366:146;;39406:94;39417:28;39447:43;39492:7;39406:10;:94::i;:::-;39399:101;;;;;39366:146;39578:3;-1:-1:-1;;;;;39571:10:0;:3;-1:-1:-1;;;;;39571:10:0;;39567:105;;;39605:55;39610:15;39627:32;39605:4;:55::i;39567:105::-;39749:22;-1:-1:-1;;;;;39790:14:0;;;;;;;39786:160;;;-1:-1:-1;;;39786:160:0;;;-1:-1:-1;;;;;;39902:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;;39786:160;40024:17;40052;40080;40108;40164:34;40172:17;40191:6;40164:7;:34::i;:::-;40138:60;;-1:-1:-1;40138:60:0;-1:-1:-1;40224:18:0;40213:7;:29;;;;;;;;;40209:125;;40266:56;40271:16;40289:32;40266:4;:56::i;:::-;40259:63;;;;;;;;;;40209:125;-1:-1:-1;;;;;40380:18:0;;;;;;:13;:18;;;;;;40372:35;;40400:6;40372:7;:35::i;:::-;40346:61;;-1:-1:-1;40346:61:0;-1:-1:-1;40433:18:0;40422:7;:29;;;;;;;;;40418:124;;40475:55;40480:16;40498:31;40475:4;:55::i;40418:124::-;-1:-1:-1;;;;;40588:18:0;;;;;;:13;:18;;;;;;40580:35;;40608:6;40580:7;:35::i;:::-;40554:61;;-1:-1:-1;40554:61:0;-1:-1:-1;40641:18:0;40630:7;:29;;;;;;;;;40626:122;;40683:53;40688:16;40706:29;40683:4;:53::i;40626:122::-;-1:-1:-1;;;;;40881:18:0;;;;;;;:13;:18;;;;;;:33;;;40925:18;;;;;;:33;;;-1:-1:-1;;41031:29:0;;41027:109;;-1:-1:-1;;;;;41077:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;:47;;;41027:109;41207:3;-1:-1:-1;;;;;41193:26:0;41202:3;-1:-1:-1;;;;;41193:26:0;-1:-1:-1;;;;;;;;;;;41212:6:0;41193:26;;;;;;;;;;;;;;;;;;41315:12;;:60;;;-1:-1:-1;;;41315:60:0;;41351:4;41315:60;;;;-1:-1:-1;;;;;41315:60:0;;;;;;;;;;;;;;;;;;;;;;:12;;;;;:27;;:60;;;;;:12;;:60;;;;;;;:12;;:60;;;5:2:-1;;;;30:1;27;20:12;5:2;41315:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;41400:14:0;;-1:-1:-1;41395:20:0;;-1:-1:-1;;41395:20:0;;41388:27;;;;;;;;39120:2303;;;;;;;:::o;16112:313::-;16189:9;16200:4;16218:13;16233:18;;:::i;:::-;16255:20;16265:1;16268:6;16255:9;:20::i;:::-;16217:58;;-1:-1:-1;16217:58:0;-1:-1:-1;16297:18:0;16290:3;:25;;;;;;;;;16286:73;;-1:-1:-1;16340:3:0;-1:-1:-1;16345:1:0;;-1:-1:-1;16332:15:0;;16286:73;16379:18;16399:17;16408:7;16399:8;:17::i;:::-;16371:46;;;;;;16112:313;;;;;;:::o;112985:231::-;113032:4;113050:13;113065:20;113089:41;113097:21;113120:9;113089:7;:41::i;:::-;113049:81;;-1:-1:-1;113049:81:0;-1:-1:-1;113156:18:0;113149:3;:25;;;;;;;;;113141:34;;;;;78796:561;78874:4;28292:18;;28309:1;28292:18;;;;78874:4;78904:16;:14;:16::i;:::-;78891:29;-1:-1:-1;78935:29:0;;78931:255;;79107:67;79118:5;79112:12;;;;;;;;79126:47;79107:4;:67::i;78931:255::-;79296:53;79313:10;79325;79337:11;79296:16;:53::i;99950:2523::-;100213:13;;100198:63;;;-1:-1:-1;;;100198:63:0;;100255:4;100198:63;;;;;;100017:4;;;;;;;;;;-1:-1:-1;;;;;100213:13:0;;;;100198:48;;:63;;;;;;;;;;;;;;;100213:13;100198:63;;;5:2:-1;;;;30:1;27;20:12;5:2;100198:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;100198:63:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;100198:63:0;100317:13;;100198:63;;-1:-1:-1;100274:31:0;;100309:41;;100198:63;100309:7;:41::i;:::-;100414:5;;100272:78;;-1:-1:-1;;;;;;100414:5:0;100400:10;:19;;-1:-1:-1;100396:124:0;;100443:65;100448:18;100468:39;100443:4;:65::i;:::-;100436:72;;;;;;;;;100396:124;100646:16;:14;:16::i;:::-;100624:18;;:38;100620:200;;100739:69;100744:22;100768:39;100739:4;:69::i;100620:200::-;100926:12;100909:14;:12;:14::i;:::-;:29;100905:152;;;100962:83;100967:29;100998:46;100962:4;:83::i;100905:152::-;101306:26;101291:12;:41;101287:142;;;101356:61;101361:15;101378:38;101356:4;:61::i;101287:142::-;101581:13;;:28;;;;-1:-1:-1;101654:41:0;;;;-1:-1:-1;101803:33:0;;;101795:82;;;;-1:-1:-1;;;101795:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101929:26;101896:29;:59;;101888:119;;;;-1:-1:-1;;;101888:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102081:13;:32;;;102200:5;;102186:34;;-1:-1:-1;;;;;102200:5:0;102207:12;102186:13;:34::i;:::-;102180:40;-1:-1:-1;102299:14:0;102292:3;:21;;;;;;;;;102284:69;;;;-1:-1:-1;;;102284:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102387:5;;102371:54;;;-1:-1:-1;;;;;102387:5:0;;;102371:54;;;;;;;;;;;;;;;;;;;;;;;;102450:14;102438:27;99950:2523;-1:-1:-1;;;;;;;99950:2523:0:o;73110:557::-;73275:5;;73196:4;;-1:-1:-1;;;;;73275:5:0;73261:10;:19;73257:127;;73304:68;73309:18;73329:42;73304:4;:68::i;73257:127::-;73433:13;;;-1:-1:-1;;;;;73526:32:0;;;-1:-1:-1;;;;;;73526:32:0;;;;;;;73574:47;;;73433:13;;;;73574:47;;;;;;;;;;;;;;;;;;;;;;;73644:14;73639:20;;65383:537;65467:4;28292:18;;28309:1;28292:18;;;;65467:4;65497:16;:14;:16::i;:::-;65484:29;-1:-1:-1;65528:29:0;;65524:249;;65700:61;65711:5;65705:12;;;;;;;;65719:41;65700:4;:61::i;65524:249::-;65872:40;65884:10;65896:1;65899:12;65872:11;:40::i;49525:1268::-;-1:-1:-1;;;;;49874:23:0;;49602:9;49874:23;;;:14;:23;;;;;50103:24;;49602:9;;;;;;;;50099:92;;-1:-1:-1;50157:18:0;;-1:-1:-1;50157:18:0;;-1:-1:-1;50149:30:0;;-1:-1:-1;;;50149:30:0;50099:92;50418:46;50426:14;:24;;;50452:11;;50418:7;:46::i;:::-;50385:79;;-1:-1:-1;50385:79:0;-1:-1:-1;50490:18:0;50479:7;:29;;;;;;;;;50475:81;;-1:-1:-1;50533:7:0;;-1:-1:-1;50542:1:0;;-1:-1:-1;50525:19:0;;-1:-1:-1;;50525:19:0;50475:81;50588:58;50596:19;50617:14;:28;;;50588:7;:58::i;:::-;50568:78;;-1:-1:-1;50568:78:0;-1:-1:-1;50672:18:0;50661:7;:29;;;;;;;;;50657:81;;-1:-1:-1;50715:7:0;;-1:-1:-1;50724:1:0;;-1:-1:-1;50707:19:0;;-1:-1:-1;;50707:19:0;50657:81;-1:-1:-1;50758:18:0;;-1:-1:-1;50778:6:0;-1:-1:-1;;;49525:1268:0;;;;:::o;11074:187::-;11159:4;11181:43;11194:3;11189:9;;;;;;;;11205:4;11200:10;;;;;;;;11181:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;11249:3;11244:9;;;;;;;45637:93;45710:12;45637:93;:::o;12659:236::-;12715:9;12726:4;12752:1;12747;:6;12743:145;;-1:-1:-1;12778:18:0;;-1:-1:-1;12798:5:0;;;12770:34;;12743:145;-1:-1:-1;12845:27:0;;-1:-1:-1;12874:1:0;12837:39;;15646:353;15715:9;15726:10;;:::i;:::-;15750:14;15766:19;15789:27;15797:1;:10;;;15809:6;15789:7;:27::i;:::-;15749:67;;-1:-1:-1;15749:67:0;-1:-1:-1;15839:18:0;15831:4;:26;;;;;;;;;15827:92;;-1:-1:-1;15888:18:0;;;;;;;;;-1:-1:-1;15888:18:0;;15882:4;;-1:-1:-1;15888:18:0;-1:-1:-1;15874:33:0;;15827:92;15959:31;;;;;;;;;;;;-1:-1:-1;;15959:31:0;;-1:-1:-1;15646:353:0;-1:-1:-1;;;;15646:353:0:o;12980:258::-;13036:9;;13073:5;;;13095:6;;;13091:140;;13126:18;;-1:-1:-1;13146:1:0;-1:-1:-1;13118:30:0;;13091:140;-1:-1:-1;13189:26:0;;-1:-1:-1;13217:1:0;;-1:-1:-1;13181:38:0;;16570:328;16667:9;16678:4;16696:13;16711:18;;:::i;:::-;16733:20;16743:1;16746:6;16733:9;:20::i;:::-;16695:58;;-1:-1:-1;16695:58:0;-1:-1:-1;16775:18:0;16768:3;:25;;;;;;;;;16764:73;;-1:-1:-1;16818:3:0;-1:-1:-1;16823:1:0;;-1:-1:-1;16810:15:0;;16764:73;16856:34;16864:17;16873:7;16864:8;:17::i;:::-;16883:6;16856:7;:34::i;:::-;16849:41;;;;;;16570:328;;;;;;;:::o;85764:969::-;85889:4;28292:18;;28309:1;28292:18;;;;85889:4;85919:16;:14;:16::i;:::-;85906:29;-1:-1:-1;85950:29:0;;85946:264;;86127:71;86138:5;86132:12;;;;;;;;86146:51;86127:4;:71::i;85946:264::-;86230:16;-1:-1:-1;;;;;86230:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;86230:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;86230:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;86230:33:0;;-1:-1:-1;86278:29:0;;86274:268;;86455:75;86466:5;86460:12;;;;;;;;86474:55;86455:4;:75::i;86274:268::-;86652:73;86673:10;86685:8;86695:11;86708:16;86652:20;:73::i;:::-;86645:80;;;28404:13;;28388:12;:29;28380:52;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;;;17429:620;17509:9;17520:10;;:::i;:::-;17827:14;17843;17861:25;14051:4;17879:6;17861:7;:25::i;:::-;17826:60;;-1:-1:-1;17826:60:0;-1:-1:-1;17909:18:0;17901:4;:26;;;;;;;;;17897:92;;-1:-1:-1;17958:18:0;;;;;;;;;-1:-1:-1;17958:18:0;;17952:4;;-1:-1:-1;17958:18:0;-1:-1:-1;17944:33:0;;17897:92;18006:35;18013:9;18024:7;:16;;;18006:6;:35::i;15332:225::-;15399:9;15410:10;;:::i;:::-;15434:15;15451:11;15466:31;15474:1;:10;;;15486:1;:10;;;15466:7;:31::i;:::-;15525:23;;;;;;;;;;;;15433:64;;15525:23;;-1:-1:-1;15332:225:0;-1:-1:-1;;;;;15332:225:0:o;20098:284::-;20180:9;20191:10;;:::i;:::-;20215:13;20230;;:::i;:::-;20247:12;20254:1;20257;20247:6;:12::i;:::-;20214:45;;-1:-1:-1;20214:45:0;-1:-1:-1;20281:18:0;20274:3;:25;;;;;;;;;20270:74;;20324:3;;-1:-1:-1;20329:2:0;-1:-1:-1;20316:16:0;;20270:74;20361:13;20368:2;20372:1;20361:6;:13::i;72339:524::-;72413:4;28292:18;;28309:1;28292:18;;;;72413:4;72443:16;:14;:16::i;:::-;72430:29;-1:-1:-1;72474:29:0;;72470:249;;72646:61;72657:5;72651:12;;;;;;;;72665:41;72646:4;:61::i;72470:249::-;72818:37;72830:10;72842:12;72818:11;:37::i;64500:527::-;64574:4;28292:18;;28309:1;28292:18;;;;64574:4;64604:16;:14;:16::i;:::-;64591:29;-1:-1:-1;64635:29:0;;64631:249;;64807:61;64818:5;64812:12;;;;;;;64631:249;64979:40;64991:10;65003:12;65017:1;64979:11;:40::i;79645:583::-;79747:4;28292:18;;28309:1;28292:18;;;;79747:4;79777:16;:14;:16::i;:::-;79764:29;-1:-1:-1;79808:29:0;;79804:255;;79980:67;79991:5;79985:12;;;;;;;;79999:47;79980:4;:67::i;:::-;79973:74;;;;;79804:255;80169:51;80186:10;80198:8;80208:11;80169:16;:51::i;:::-;80162:58;;;28404:13;;28388:12;:29;28380:52;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;-1:-1:-1;;;28380:52:0;;;;;;;;;;;;;;73856:577;73933:4;73959:10;73972:16;:14;:16::i;:::-;73959:29;-1:-1:-1;74003:29:0;;73999:251;;74175:63;74186:5;74180:12;;;;;;;;74194:43;74175:4;:63::i;73999:251::-;74376:13;;74361:64;;;-1:-1:-1;;;74361:64:0;;-1:-1:-1;;;;;74361:64:0;;;;;;;;;74376:13;;;;;74361:54;;:64;;;;;;;;;;;;;;74376:13;;74361:64;;;5:2:-1;;;;30:1;27;20:12;5:2;74361:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;74361:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;74361:64:0;;;;;;;;;;;;-1:-1:-1;;;;;74271:24:0;;;;;;:14;:24;;;;;;;74345:12;74270:155;;;;74306:38;;;74270:155;;;-1:-1:-1;73856:577:0;;;:::o;74441:240::-;74522:14;74540:37;74568:8;74540:27;:37::i;:::-;74603:13;;74588:85;;;-1:-1:-1;;;74588:85:0;;-1:-1:-1;;;;;74588:85:0;;;;;;;;;;;;;;;74520:57;;-1:-1:-1;74603:13:0;;;-1:-1:-1;74588:65:0;;:85;;;;;74603:13;;74588:85;;;;;;;74603:13;;74588:85;;;5:2:-1;;;;30:1;27;20:12;5:2;74588:85:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;74588:85:0;;;;74441:240;;:::o;58809:520::-;58884:4;58910:10;58923:16;:14;:16::i;:::-;58910:29;-1:-1:-1;58954:29:0;;58950:251;;59126:63;59137:5;59131:12;;;;;;;58950:251;59274:13;;59259:62;;;-1:-1:-1;;;59259:62:0;;-1:-1:-1;;;;;59259:62:0;;;;;;;;;59274:13;;;59259:54;;:62;;;;;;;;;;;;;59274:13;;59259:62;;;5:2:-1;;;;30:1;27;20:12;5:2;59259:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59259:62:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59259:62:0;;;;;;;-1:-1:-1;;;;;59234:21:0;;59222:11;59234:21;;;:13;:21;;;59259:62;59234:21;;;59221:100;;;;59222:11;59221:100;-1:-1:-1;58809:520:0;;;:::o;63916:233::-;63994:20;64018:28;:26;:28::i;:::-;64072:13;;64057:84;;;-1:-1:-1;;;64057:84:0;;-1:-1:-1;;;;;64057:84:0;;;;;;;;;;;;;;;63992:54;;-1:-1:-1;64072:13:0;;;-1:-1:-1;64057:60:0;;:84;;;;;64072:13;;64057:84;;;;;;;64072:13;;64057:84;;;5:2:-1;;;;30:1;27;20:12;103805:1352:0;104105:5;;103899:4;;;;-1:-1:-1;;;;;104105:5:0;104091:10;:19;104087:132;;104134:73;104139:18;104159:47;104134:4;:73::i;104087:132::-;104345:16;:14;:16::i;:::-;104323:18;;:38;104319:208;;104438:77;104443:22;104467:47;104438:4;:77::i;104319:208::-;104621:17;;;;;;;;;-1:-1:-1;;;;;104621:17:0;104598:40;;104741:20;-1:-1:-1;;;;;104741:40:0;;:42;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;104741:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;104741:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;104741:42:0;104733:83;;;;;-1:-1:-1;;;104733:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;104893:17;:40;;-1:-1:-1;;;;;;104893:40:0;-1:-1:-1;;;;;104893:40:0;;;;;;;;;105039:70;;;;;;;;;;;;;;;;;;;;;;;;;;;105134:14;105129:20;;97823:1026;97973:5;;97904:4;;-1:-1:-1;;;;;97973:5:0;97959:10;:19;97955:127;;98002:68;98007:18;98027:42;98002:4;:68::i;97955:127::-;98189:16;:14;:16::i;:::-;98167:18;;:38;98163:203;;98282:72;98287:22;98311:42;98282:4;:72::i;98163:203::-;32092:4;98438:24;:51;98434:157;;;98513:66;98518:15;98535:43;98513:4;:66::i;98434:157::-;98635:21;;;98667:48;;;;98733:68;;;;;;;;;;;;;;;;;;;;;;;;;98826:14;98821:20;;113500:262;113575:5;113627:10;-1:-1:-1;;;;;113627:18:0;;;113619:46;;;;;-1:-1:-1;;;113619:46:0;;;;;;;;;;;;-1:-1:-1;;;113619:46:0;;;;;;;;;;;;;;;113697:6;113684:9;:19;113676:46;;;;;-1:-1:-1;;;113676:46:0;;;;;;;;;;;;-1:-1:-1;;;113676:46:0;;;;;;;;;;;;;;;-1:-1:-1;113740:14:0;113500:262;;;;:::o;18160:337::-;18248:9;18259:4;18277:13;18292:19;;:::i;:::-;18315:31;18330:6;18338:7;18315:14;:31::i;13307:271::-;13378:9;13389:4;13407:14;13423:8;13435:13;13443:1;13446;13435:7;:13::i;:::-;13406:42;;-1:-1:-1;13406:42:0;-1:-1:-1;13473:18:0;13465:4;:26;;;;;;;;;13461:75;;-1:-1:-1;13516:4:0;-1:-1:-1;13522:1:0;;-1:-1:-1;13508:16:0;;13461:75;13555:15;13563:3;13568:1;13555:7;:15::i;14405:515::-;14466:9;14477:10;;:::i;:::-;14501:14;14517:20;14541:22;14549:3;14051:4;14541:7;:22::i;:::-;14500:63;;-1:-1:-1;14500:63:0;-1:-1:-1;14586:18:0;14578:4;:26;;;;;;;;;14574:92;;-1:-1:-1;14635:18:0;;;;;;;;;-1:-1:-1;14635:18:0;;14629:4;;-1:-1:-1;14635:18:0;-1:-1:-1;14621:33:0;;14574:92;14679:14;14695:13;14712:31;14720:15;14737:5;14712:7;:31::i;:::-;14678:65;;-1:-1:-1;14678:65:0;-1:-1:-1;14766:18:0;14758:4;:26;;;;;;;;;14754:92;;-1:-1:-1;14815:18:0;;;;;;;;;-1:-1:-1;14815:18:0;;14809:4;;-1:-1:-1;14815:18:0;-1:-1:-1;14801:33:0;;-1:-1:-1;;14801:33:0;14754:92;14886:25;;;;;;;;;;;;-1:-1:-1;;14886:25:0;;-1:-1:-1;14405:515:0;-1:-1:-1;;;;;;14405:515:0:o;20925:213::-;21107:12;14051:4;21107:23;;;20925:213::o;80855:4427::-;80950:4;81139:8;-1:-1:-1;;;;;81130:17:0;:5;-1:-1:-1;;;;;81130:17:0;;81127:73;;;81158:42;81191:8;81158:32;:42::i;:::-;;81127:73;81339:12;;:76;;;-1:-1:-1;;;81339:76:0;;81379:4;81339:76;;;;-1:-1:-1;;;;;81339:76:0;;;;;;;;;;;;;;;;;;;;;;81324:12;;81339;;;;;:31;;:76;;;;;;;;;;;;;;;81324:12;81339;:76;;;5:2:-1;;;;30:1;27;20:12;5:2;81339:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;81339:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;81339:76:0;;-1:-1:-1;81430:12:0;;81426:150;;81466:98;81477:28;81507:47;81556:7;81466:10;:98::i;:::-;81459:105;;;;;81426:150;81686:16;:14;:16::i;:::-;81664:18;;:38;81660:148;;81726:70;81731:22;81755:40;81726:4;:70::i;81660:148::-;81820:32;;:::i;:::-;-1:-1:-1;;;;;81966:24:0;;;;;;:14;:24;;;;;:38;;;81945:18;;;:59;82135:37;81981:8;82135:27;:37::i;:::-;82112:19;;;82097:75;;;82098:12;;;82097:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;82203:18:0;;-1:-1:-1;82187:4:0;:12;;;:34;;;;;;;;;82183:187;;82245:113;82256:16;82274:63;82344:4;:12;;;82339:18;;;;;;;82245:113;82238:120;;;;;;82183:187;-1:-1:-1;;82452:11:0;:23;82448:157;;;82511:19;;;;82492:16;;;:38;82448:157;;;82563:16;;;:30;;;82448:157;82673:40;82689:5;82696:4;:16;;;82673:15;:40::i;:::-;82662:4;;:51;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82740:14:0;82728:8;;:26;;;;;;;;;82724:131;;82783:8;;82778:65;;82793:49;82778:4;:65::i;82724:131::-;83144:46;83152:4;:19;;;83173:4;:16;;;83144:7;:46::i;:::-;83118:22;;;83103:87;;;83104:12;;;83103:87;;;;;;;;;;;;;;;;;;;-1:-1:-1;83221:18:0;;-1:-1:-1;83205:4:0;:12;;;:34;;;;;;;;;83201:194;;83263:120;83274:16;83292:70;83369:4;:12;;;83364:18;;;;;;;83201:194;83446:39;83454:12;;83468:4;:16;;;83446:7;:39::i;:::-;83422:20;;;83407:78;;;83408:12;;;83407:78;;;;;;;;;;;;;;;;;;;-1:-1:-1;83516:18:0;;-1:-1:-1;83500:4:0;:12;;;:34;;;;;;;;;83496:185;;83558:111;83569:16;83587:61;83655:4;:12;;;83650:18;;;;;;;83496:185;84236:37;84249:5;84256:4;:16;;;84236:12;:37::i;:::-;84225:4;;:48;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84304:14:0;84292:8;;:26;;;;;;;;;84284:70;;;;;-1:-1:-1;;;84284:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;84474:22;;;;-1:-1:-1;;;;;84437:24:0;;;;;;;:14;:24;;;;;:59;;;84548:11;;84507:38;;;;:52;;;;84585:20;;;;84570:12;:35;84732:17;;;84729:89;;;84765:41;84797:8;84765:31;:41::i;:::-;85018:16;;;;;85036:22;;;;;85060:20;;;;84989:92;;-1:-1:-1;;;;;84989:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85134:12;;85197:16;;;;;85215:18;;;;85134:100;;-1:-1:-1;;;85134:100:0;;85173:4;85134:100;;;;-1:-1:-1;;;;;85134:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;;;:30;;:100;;;;;:12;;:100;;;;;;;;:12;;:100;;;5:2:-1;;;;30:1;27;20:12;5:2;85134:100:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;85259:14:0;;-1:-1:-1;85254:20:0;;-1:-1:-1;;85254:20:0;;85247:27;80855:4427;-1:-1:-1;;;;;;80855:4427:0:o;114234:221::-;114396:19;;114308:5;;-1:-1:-1;;;;;114396:11:0;;;:19;;;;;114408:6;;114308:5;114396:19;114308:5;114396:19;114408:6;114396:11;:19;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;114433:14:0;;114234:221;-1:-1:-1;;;114234:221:0:o;66783:5288::-;66890:4;66915:19;;;:42;;-1:-1:-1;66938:19:0;;66915:42;66907:107;;;;-1:-1:-1;;;66907:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67138:42;67171:8;67138:32;:42::i;:::-;;67304:27;;:::i;:::-;67448:28;:26;:28::i;:::-;67419:25;;;67404:72;;;67405:12;;;67404:72;;;;;;;;;;;;;;;;;;;-1:-1:-1;67507:18:0;;-1:-1:-1;67491:4:0;:12;;;:34;;;;;;;;;67487:168;;67549:94;67560:16;67578:44;67629:4;:12;;;67624:18;;;;;;;67487:168;67709:18;;67705:1290;;67985:17;;;:34;;;68090:42;;;;;;;;68105:25;;;;68090:42;;68072:77;;68005:14;68072:17;:77::i;:::-;68051:17;;;68036:113;;;68037:12;;;68036:113;;;;;;;;;;;;;;;;;;;-1:-1:-1;68184:18:0;;-1:-1:-1;68168:4:0;:12;;;:34;;;;;;;;;68164:185;;68230:103;68241:16;68259:53;68319:4;:12;;;68314:18;;;;;;;68164:185;67705:1290;;;68651:82;68674:14;68690:42;;;;;;;;68705:4;:25;;;68690:42;;;68651:22;:82::i;:::-;68630:17;;;68615:118;;;68616:12;;;68615:118;;;;;;;;;;;;;;;;;;;-1:-1:-1;68768:18:0;;-1:-1:-1;68752:4:0;:12;;;:34;;;;;;;;;68748:185;;68814:103;68825:16;68843:53;68903:4;:12;;;68898:18;;;;;;;68748:185;68949:17;;;:34;;;67705:1290;69064:12;;69116:17;;;;69064:70;;;-1:-1:-1;;;69064:70:0;;69099:4;69064:70;;;;-1:-1:-1;;;;;69064:70:0;;;;;;;;;;;;;;;;69049:12;;69064;;;;;:26;;:70;;;;;;;;;;;;;;;69049:12;69064;:70;;;5:2:-1;;;;30:1;27;20:12;5:2;69064:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;69064:70:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;69064:70:0;;-1:-1:-1;69149:12:0;;69145:144;;69185:92;69196:28;69226:41;69269:7;69185:10;:92::i;69145:144::-;69399:16;:14;:16::i;:::-;69377:18;;:38;69373:142;;69439:64;69444:22;69468:34;69439:4;:64::i;69373:142::-;69810:39;69818:11;;69831:4;:17;;;69810:7;:39::i;:::-;69787:19;;;69772:77;;;69773:12;;;69772:77;;;;;;;;;;;;;;;;;;;-1:-1:-1;69880:18:0;;-1:-1:-1;69864:4:0;:12;;;:34;;;;;;;;;69860:178;;69922:104;69933:16;69951:54;70012:4;:12;;;70007:18;;;;;;;69860:178;-1:-1:-1;;;;;70098:23:0;;;;;;:13;:23;;;;;;70123:17;;;;70090:51;;70098:23;70090:7;:51::i;:::-;70065:21;;;70050:91;;;70051:12;;;70050:91;;;;;;;;;;;;;;;;;;;-1:-1:-1;70172:18:0;;-1:-1:-1;70156:4:0;:12;;;:34;;;;;;;;;70152:181;;70214:107;70225:16;70243:57;70307:4;:12;;;70302:18;;;;;;;70152:181;70431:4;:17;;;70414:14;:12;:14::i;:::-;:34;70410:155;;;70472:81;70477:29;70508:44;70472:4;:81::i;70410:155::-;71119:42;71133:8;71143:4;:17;;;71119:13;:42::i;:::-;71108:4;;:53;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71192:14:0;71180:8;;:26;;;;;;;;;71172:65;;;;;-1:-1:-1;;;71172:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;71330:19;;;;71316:11;:33;71386:21;;;;-1:-1:-1;;;;;71360:23:0;;;;;;:13;:23;;;;;:47;71531:40;71374:8;71531:30;:40::i;:::-;71794:17;;;;71760:52;;;;;;;71787:4;;-1:-1:-1;;;;;71760:52:0;;;-1:-1:-1;;;;;;;;;;;71760:52:0;;;;;;;;71845:17;;;;71864;;;;;71828:54;;;-1:-1:-1;;;;;71828:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71935:12;;71986:17;;;;72005;;;;71935:88;;;-1:-1:-1;;;71935:88:0;;71969:4;71935:88;;;;-1:-1:-1;;;;;71935:88:0;;;;;;;;;;;;;;;;;;;;;;:12;;;;;:25;;:88;;;;;:12;;:88;;;;;;;:12;;:88;;;5:2:-1;;;;30:1;27;20:12;11871:343:0;11927:9;;11959:6;11955:69;;-1:-1:-1;11990:18:0;;-1:-1:-1;11990:18:0;11982:30;;11955:69;12045:5;;;12049:1;12045;:5;:1;12067:5;;;;;:10;12063:144;;-1:-1:-1;12102:26:0;;-1:-1:-1;12130:1:0;;-1:-1:-1;12094:38:0;;12063:144;12173:18;;-1:-1:-1;12193:1:0;-1:-1:-1;12165:30:0;;12309:215;12365:9;;12397:6;12393:77;;-1:-1:-1;12428:26:0;;-1:-1:-1;12456:1:0;12420:38;;12393:77;12490:18;12514:1;12510;:5;;;;;;12482:34;;;;12309:215;;;;;:::o;87300:3190::-;87506:12;;:112;;;-1:-1:-1;;;87506:112:0;;87550:4;87506:112;;;;-1:-1:-1;;;;;87506:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87429:4;;;;87506:12;;:35;;:112;;;;;;;;;;;;;;87429:4;87506:12;:112;;;5:2:-1;;;;30:1;27;20:12;5:2;87506:112:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;87506:112:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;87506:112:0;;-1:-1:-1;87633:12:0;;87629:147;;87669:95;87680:28;87710:44;87756:7;87669:10;:95::i;87629:147::-;87886:16;:14;:16::i;:::-;87864:18;;:38;87860:145;;87926:67;87931:22;87955:37;87926:4;:67::i;87860:145::-;88151:16;:14;:16::i;:::-;88110;-1:-1:-1;;;;;88110:35:0;;:37;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;88110:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;88110:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;88110:37:0;:57;88106:175;;88191:78;88196:22;88220:48;88191:4;:78::i;88106:175::-;88354:10;-1:-1:-1;;;;;88342:22:0;:8;-1:-1:-1;;;;;88342:22:0;;88338:140;;;88388:78;88393:26;88421:44;88388:4;:78::i;88338:140::-;88533:16;88529:142;;88573:86;88578:36;88616:42;88573:4;:86::i;88529:142::-;-1:-1:-1;;88727:11:0;:23;88723:153;;;88774:90;88779:36;88817:46;88774:4;:90::i;88723:153::-;89012:12;;:97;;;-1:-1:-1;;;89012:97:0;;89063:4;89012:97;;;;-1:-1:-1;;;;;89012:97:0;;;;;;;;;;;;;;;88969:21;;;;89012:12;;;:42;;:97;;;;;;;;;;;;:12;:97;;;5:2:-1;;;;30:1;27;20:12;5:2;89012:97:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89012:97:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;89012:97:0;;;;;;;;;-1:-1:-1;89012:97:0;-1:-1:-1;89124:21:0;;89120:193;;89169:132;89180:36;89218:64;89284:16;89169:10;:132::i;:::-;89162:139;;;;;;;89120:193;89414:16;-1:-1:-1;;;;;89414:26:0;;89441:8;89414:36;;;;;;;;;;;;;-1:-1:-1;;;;;89414:36:0;-1:-1:-1;;;;;89414:36:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;89414:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89414:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;89414:36:0;89400:50;;89396:166;;;89474:76;89479:32;89513:36;89474:4;:76::i;89396:166::-;89615:21;89639:51;89656:10;89668:8;89678:11;89639:16;:51::i;:::-;89615:75;-1:-1:-1;89705:40:0;;89701:158;;89769:78;89780:16;89774:23;;;;;;;;89799:47;89769:4;:78::i;:::-;89762:85;;;;;;;;89701:158;89975:57;;;-1:-1:-1;;;89975:57:0;;-1:-1:-1;;;;;89975:57:0;;;;;;;;;;;;;;;;;;;;;;89957:15;;89975:22;;;;;:57;;;;;;;;;;;;;;89957:15;89975:22;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;89975:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89975:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;89975:57:0;;-1:-1:-1;90051:34:0;;90043:67;;;;;-1:-1:-1;;;90043:67:0;;;;;;;;;;;;-1:-1:-1;;;90043:67:0;;;;;;;;;;;;;;;90175:90;;;-1:-1:-1;;;;;90175:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90318:12;;:124;;;-1:-1:-1;;;90318:124:0;;90361:4;90318:124;;;;-1:-1:-1;;;;;90318:124:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;;;;;:34;;:124;;;;;:12;;:124;;;;;;;:12;;:124;;;5:2:-1;;;;30:1;27;20:12;5:2;90318:124:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;90467:14:0;;-1:-1:-1;90462:20:0;;-1:-1:-1;;90462:20:0;;90455:27;87300:3190;-1:-1:-1;;;;;;;;;;87300:3190:0:o;18594:1136::-;18661:9;18672:10;;:::i;:::-;18698:14;18714:24;18742:31;18750:1;:10;;;18762:1;:10;;;18742:7;:31::i;:::-;18697:76;;-1:-1:-1;18697:76:0;-1:-1:-1;18796:18:0;18788:4;:26;;;;;;;;;18784:92;;-1:-1:-1;18845:18:0;;;;;;;;;-1:-1:-1;18845:18:0;;18839:4;;-1:-1:-1;18845:18:0;-1:-1:-1;18831:33:0;;18784:92;19193:14;;19250:42;14091:10;19272:19;19250:7;:42::i;:::-;19192:100;;-1:-1:-1;19192:100:0;-1:-1:-1;19315:18:0;19307:4;:26;;;;;;;;;19303:92;;-1:-1:-1;19364:18:0;;;;;;;;;-1:-1:-1;19364:18:0;;19358:4;;-1:-1:-1;19364:18:0;-1:-1:-1;19350:33:0;;-1:-1:-1;;19350:33:0;19303:92;19408:14;19424:12;19440:51;19448:32;14051:4;19440:7;:51::i;:::-;19407:84;;-1:-1:-1;19407:84:0;-1:-1:-1;19637:18:0;19629:4;:26;;;;;;;;;19622:34;;;;19697:24;;;;;;;;;;;;-1:-1:-1;;19697:24:0;;-1:-1:-1;18594:1136:0;-1:-1:-1;;;;;;;;18594:1136:0:o;74947:3641::-;75105:12;;:65;;;-1:-1:-1;;;75105:65:0;;75140:4;75105:65;;;;-1:-1:-1;;;;;75105:65:0;;;;;;;;;;;;;;;75031:4;;;;75105:12;;:26;;:65;;;;;;;;;;;;;;75031:4;75105:12;:65;;;5:2:-1;;;;30:1;27;20:12;5:2;75105:65:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;75105:65:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;75105:65:0;;-1:-1:-1;75185:12:0;;75181:144;;75221:92;75232:28;75262:41;75305:7;75221:10;:92::i;75181:144::-;75435:16;:14;:16::i;:::-;75413:18;;:38;75409:142;;75475:64;75480:22;75504:34;75475:4;:64::i;75409:142::-;75660:12;75643:14;:12;:14::i;:::-;:29;75639:143;;;75696:74;75701:29;75732:37;75696:4;:74::i;75639:143::-;75794:27;;:::i;:::-;75924:42;75957:8;75924:32;:42::i;:::-;;76344:37;76372:8;76344:27;:37::i;:::-;76321:19;;;76306:75;;;76307:12;;;76306:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;76412:18:0;;-1:-1:-1;76396:4:0;:12;;;:34;;;;;;;;;76392:181;;76454:107;76465:16;76483:57;76547:4;:12;;;76542:18;;;;;;;76392:181;76626:42;76634:4;:19;;;76655:12;76626:7;:42::i;:::-;76600:22;;;76585:83;;;76586:12;;;76585:83;;;;;;;;;;;;;;;;;;;-1:-1:-1;76699:18:0;;-1:-1:-1;76683:4:0;:12;;;:34;;;;;;;;;76679:188;;76741:114;76752:16;76770:64;76841:4;:12;;;76836:18;;;;;;;76679:188;76918:35;76926:12;;76940;76918:7;:35::i;:::-;76894:20;;;76879:74;;;76880:12;;;76879:74;;;;;;;;;;;;;;;;;;;-1:-1:-1;76984:18:0;;-1:-1:-1;76968:4:0;:12;;;:34;;;;;;;;;76964:179;;77026:105;77037:16;77055:55;77117:4;:12;;;77112:18;;;;;;;76964:179;77693:37;77707:8;77717:12;77693:13;:37::i;:::-;77682:4;;:48;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77761:14:0;77749:8;;:26;;;;;;;;;77741:65;;;;;-1:-1:-1;;;77741:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;77926:22;;;;-1:-1:-1;;;;;77889:24:0;;;;;;:14;:24;;;;;:59;;;78000:11;;77959:38;;;;:52;78037:20;;;;78022:12;:35;78160:41;77904:8;78160:31;:41::i;:::-;78378:22;;;;;78402:20;;;;;78347:76;;;-1:-1:-1;;;;;78347:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78476:12;;:64;;;-1:-1:-1;;;78476:64:0;;78510:4;78476:64;;;;-1:-1:-1;;;;;78476:64:0;;;;;;;;;;;;;;;:12;;;;;:25;;:64;;;;;:12;;:64;;;;;;;:12;;:64;;;5:2:-1;;;;30:1;27;20:12;106882:8296:0;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;106882:8296:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;106882:8296:0;;;;;;;;;;;;;;;;;;-1:-1:-1;106882:8296:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;106882:8296:0;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://ee1cf75aa465d5a2eb7ddf4464e4e8efbf83ededa4d00a728cc729497e12b20c
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.