Contract 0x2bc4eb013ddee29d37920938b96d353171289b7c 1

 

Contract Overview

Cream.Finance: crBUSD Token
Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xdf27b83b1956007496ac7a5f6d39c03e0d1c7b7eb68f96b097188d4557363327Redeem Underlyin...110991752021-09-21 5:22:052 mins ago0xeb22cf3d439a301c21782c8f3c9613d6e8375e25 IN  Cream.Finance: crBUSD Token0 BNB0.001340835
0xf4f375ae69310c49b64a22cb6a4c316784ceeb0ee9f01c1cfe7dad57fc71b998Borrow110988652021-09-21 5:06:3518 mins ago0xdeedf1de6af982ff85265c2f3f1b11d5a7e0813f IN  Cream.Finance: crBUSD Token0 BNB0.002447255
0xe4f449141b91518debabf9798293fd33d518211369ba3b13ce76736c84ed604aMint110984492021-09-21 4:45:4738 mins ago0xa8b16e95b985cccb83fa0bd72a1b4d14b8c53b16 IN  Cream.Finance: crBUSD Token0 BNB0.000734685
0x54748ac647fd444ad5d31ab953a828ee55d6ba7628a9c659d43a3f09312a8aacBorrow110973912021-09-21 3:52:531 hr 31 mins ago0xbf6ad28484f234a9e358aefc4cd610f6ad92f523 IN  Cream.Finance: crBUSD Token0 BNB0.002206015
0xf6f5bb52a0faf3ae64bed22987e9d6c20bb6a390502b4c8aff96da8111250d6dMint110968252021-09-21 3:24:352 hrs ago0xf324adc872005197a6f7dae214d3b63aa0c3625f IN  Cream.Finance: crBUSD Token0 BNB0.000809685
0xcdc4db1af4ff88d85796c3b5c176015187c36a18a0ec3fe361490279094a6691Mint110961262021-09-21 2:49:382 hrs 35 mins ago0xf3a06ad1fa4610379810b14234c97c209a8d4c54 IN  Cream.Finance: crBUSD Token0 BNB0.000809685
0x542d9507dba69b0fc30e5c40138bd9ac1ca87f47d22e8ea514529657e8556566Mint110956882021-09-21 2:27:442 hrs 56 mins ago0xeeec30c811e69be151dcff443ecba53776b2207a IN  Cream.Finance: crBUSD Token0 BNB0.000559355
0xf439a70728ffc268d78e2af0cdcd355a97521befcd6a79bec0712ae7e2028eb8Mint110956872021-09-21 2:27:412 hrs 56 mins ago0xeeec30c811e69be151dcff443ecba53776b2207a IN  Cream.Finance: crBUSD Token0 BNB0.000809625
0x9f5b7a294d7a051f9fa99109fb01fb0f3001324305b43a27fed37d47b2d97020Redeem110952272021-09-21 2:04:413 hrs 19 mins ago0xbd5d01e2c80ff0f80b242fdaa220d4568d71061e IN  Cream.Finance: crBUSD Token0 BNB0.001938685
0x40785bc392a52abdaba2f0f3c5d3024ec38136740ad6aba152038afce03b3cf4Mint110949972021-09-21 1:52:443 hrs 31 mins ago0xbd5d01e2c80ff0f80b242fdaa220d4568d71061e IN  Cream.Finance: crBUSD Token0 BNB0.000809625
0x77f538f0a2e34dc4c8a0dc060410730bc33d32afdc750650f2cb773639aa09d4Mint110948272021-09-21 1:44:053 hrs 40 mins ago0xae0a739c3724bb5cd2bdcf73764c87a5a6ec21a3 IN  Cream.Finance: crBUSD Token0 BNB0.001028559
0x0ba2b4d559f6311939c207006e12f0ccd3386577f572b788f268f6c803a81c42Redeem110947732021-09-21 1:41:233 hrs 43 mins ago0xbd5d01e2c80ff0f80b242fdaa220d4568d71061e IN  Cream.Finance: crBUSD Token0 BNB0.001938685
0x27d47cf282317107172caa6ffbf169ce1a92bc224a6c124d7198f6bced5d953aMint110944442021-09-21 1:24:563 hrs 59 mins ago0x90f9ac5b171a06e6ca57435ff7bf95d729adea09 IN  Cream.Finance: crBUSD Token0 BNB0.000734625
0x5ed59fd9afd0fcf6696f714ee3ae5ccec2c687e2dbb3853ef7e109d9a173c251Redeem Underlyin...110943552021-09-21 1:20:294 hrs 4 mins ago0x8eb902563d9a848f3018423dc385f7d68ee978f6 IN  Cream.Finance: crBUSD Token0 BNB0.00409676
0x9511d3d3300c319ab4aa12f160da8204323e655b5b4fb193467bf3536398d8a5Redeem Underlyin...110942872021-09-21 1:17:054 hrs 7 mins ago0x8eb902563d9a848f3018423dc385f7d68ee978f6 IN  Cream.Finance: crBUSD Token0 BNB0.00409676
0x308d432d062199bf5e9bdbe21ea89c80387c005fc8cd63e84273e22e82da30a5Mint110941622021-09-21 1:10:504 hrs 13 mins ago0xa8b16e95b985cccb83fa0bd72a1b4d14b8c53b16 IN  Cream.Finance: crBUSD Token0 BNB0.000734685
0x9676b431613902d21c372ef7e71e6bc06ae5cb5dc9f3d4dd930fa0201c92db59Redeem Underlyin...110941342021-09-21 1:09:264 hrs 15 mins ago0x8eb902563d9a848f3018423dc385f7d68ee978f6 IN  Cream.Finance: crBUSD Token0 BNB0.00409676
0x30c6338bd1060f968e2819fb6569db07c0166a273d0a3ec9c7ddcae8156dadffBorrow110938402021-09-21 0:54:444 hrs 29 mins ago0x8eb902563d9a848f3018423dc385f7d68ee978f6 IN  Cream.Finance: crBUSD Token0 BNB0.0042149
0x5ff904e8b0a1dff6aace0daab188c36b94ceca3146ffe09d26c59c34df3bd795Borrow110937632021-09-21 0:50:534 hrs 33 mins ago0x8eb902563d9a848f3018423dc385f7d68ee978f6 IN  Cream.Finance: crBUSD Token0 BNB0.00430461
0x5716b1c3c45f522e4ab3ccc6cfcb91a5ff008914268066163dc37f2bce7fb5edBorrow110937212021-09-21 0:48:474 hrs 35 mins ago0x8eb902563d9a848f3018423dc385f7d68ee978f6 IN  Cream.Finance: crBUSD Token0 BNB0.00422955
0xe08ae608356436314b87926ff2e608390a1aac3dd6810838051d7f12689f1950Borrow110936762021-09-21 0:46:324 hrs 38 mins ago0x8eb902563d9a848f3018423dc385f7d68ee978f6 IN  Cream.Finance: crBUSD Token0 BNB0.00431926
0x8fa755041c5bc15a94a5e54162a4cace69a165f9cba179e0e84942911ff03befRedeem110936422021-09-21 0:44:504 hrs 39 mins ago0x0f56bfdfc70996f7e2951791543460bda4987c11 IN  Cream.Finance: crBUSD Token0 BNB0.00170649
0x009ebbbe3a976e1eafe3d4b65976961ab6df905892a3447bfeaa8db70ca8d5d4Mint110936222021-09-21 0:43:504 hrs 40 mins ago0xa8b16e95b985cccb83fa0bd72a1b4d14b8c53b16 IN  Cream.Finance: crBUSD Token0 BNB0.000734625
0x1f254501ddc78530191028785228e61a65410956fba5b7b4e7bf528e9b012f15Borrow110936192021-09-21 0:43:414 hrs 40 mins ago0x8eb902563d9a848f3018423dc385f7d68ee978f6 IN  Cream.Finance: crBUSD Token0 BNB0.00431926
0xa70a4ca212d717500a319fb3684f3a39db54f86ac3bfa397248b47cd57f8b837Borrow110935802021-09-21 0:41:444 hrs 42 mins ago0xdcc896d48b17ecc88a9011057294eb0905bcb240 IN  Cream.Finance: crBUSD Token0 BNB0.00743471
[ Download CSV Export 

OVERVIEW

C.R.E.A.M. Finance is built on the belief that the financial system of the future should be open and inclusive. Through the permissionless nature of blockchain and automation of smart contracts we can realize this new financial system.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xe293a4b9060b5b44f57c8aeeccef85b566b10590309311db1ab789fc706090f454713042021-03-07 11:58:09197 days 17 hrs ago 0xc2e7fc53503eb419c8078d56895cb598c71177dd Cream.Finance: crBUSD Token0 BNB
0xe293a4b9060b5b44f57c8aeeccef85b566b10590309311db1ab789fc706090f454713042021-03-07 11:58:09197 days 17 hrs ago Cream.Finance: crBUSD Token Binance: BUSD Stablecoin0 BNB
0xe293a4b9060b5b44f57c8aeeccef85b566b10590309311db1ab789fc706090f454713042021-03-07 11:58:09197 days 17 hrs ago Cream.Finance: crBUSD Token 0xa80690d8ca20c4de750320ca2d332d8483ba0d2f0 BNB
0xe293a4b9060b5b44f57c8aeeccef85b566b10590309311db1ab789fc706090f454713042021-03-07 11:58:09197 days 17 hrs ago Cream.Finance: crBUSD Token Cream.Finance: crBUSD Token0 BNB
0xe293a4b9060b5b44f57c8aeeccef85b566b10590309311db1ab789fc706090f454713042021-03-07 11:58:09197 days 17 hrs ago Cream.Finance: Unitroller Cream.Finance: crBUSD Token0 BNB
0xf810ed6de15154be554ee7050b11c3c4a3e1b9f8c3e6e5de32359e17390d595754713022021-03-07 11:58:03197 days 17 hrs ago 0xc2e7fc53503eb419c8078d56895cb598c71177dd Cream.Finance: crBUSD Token0 BNB
0xf810ed6de15154be554ee7050b11c3c4a3e1b9f8c3e6e5de32359e17390d595754713022021-03-07 11:58:03197 days 17 hrs ago Cream.Finance: crBUSD Token Binance: BUSD Stablecoin0 BNB
0xf810ed6de15154be554ee7050b11c3c4a3e1b9f8c3e6e5de32359e17390d595754713022021-03-07 11:58:03197 days 17 hrs ago Cream.Finance: crBUSD Token 0xa80690d8ca20c4de750320ca2d332d8483ba0d2f0 BNB
0xf810ed6de15154be554ee7050b11c3c4a3e1b9f8c3e6e5de32359e17390d595754713022021-03-07 11:58:03197 days 17 hrs ago Cream.Finance: crBUSD Token Cream.Finance: crBUSD Token0 BNB
0xf810ed6de15154be554ee7050b11c3c4a3e1b9f8c3e6e5de32359e17390d595754713022021-03-07 11:58:03197 days 17 hrs ago Cream.Finance: Unitroller Cream.Finance: crBUSD Token0 BNB
0x51c3ef1217ec1041c491fd2a06a5afeabde7b6c848bc7736fad915555c0f29b454712682021-03-07 11:56:21197 days 17 hrs ago 0xc2e7fc53503eb419c8078d56895cb598c71177dd Cream.Finance: crBUSD Token0 BNB
0x51c3ef1217ec1041c491fd2a06a5afeabde7b6c848bc7736fad915555c0f29b454712682021-03-07 11:56:21197 days 17 hrs ago Cream.Finance: crBUSD Token Binance: BUSD Stablecoin0 BNB
0x51c3ef1217ec1041c491fd2a06a5afeabde7b6c848bc7736fad915555c0f29b454712682021-03-07 11:56:21197 days 17 hrs ago Cream.Finance: crBUSD Token 0xa80690d8ca20c4de750320ca2d332d8483ba0d2f0 BNB
0x51c3ef1217ec1041c491fd2a06a5afeabde7b6c848bc7736fad915555c0f29b454712682021-03-07 11:56:21197 days 17 hrs ago Cream.Finance: crBUSD Token Cream.Finance: crBUSD Token0 BNB
0x51c3ef1217ec1041c491fd2a06a5afeabde7b6c848bc7736fad915555c0f29b454712682021-03-07 11:56:21197 days 17 hrs ago Cream.Finance: Unitroller Cream.Finance: crBUSD Token0 BNB
0x120c823b461cb44953da47e33f28db1c581047e350b5ee186c03b58f7763711854712412021-03-07 11:55:00197 days 17 hrs ago 0xc2e7fc53503eb419c8078d56895cb598c71177dd Cream.Finance: crBUSD Token0 BNB
0x120c823b461cb44953da47e33f28db1c581047e350b5ee186c03b58f7763711854712412021-03-07 11:55:00197 days 17 hrs ago Cream.Finance: crBUSD Token Binance: BUSD Stablecoin0 BNB
0x120c823b461cb44953da47e33f28db1c581047e350b5ee186c03b58f7763711854712412021-03-07 11:55:00197 days 17 hrs ago Cream.Finance: crBUSD Token 0xa80690d8ca20c4de750320ca2d332d8483ba0d2f0 BNB
0x120c823b461cb44953da47e33f28db1c581047e350b5ee186c03b58f7763711854712412021-03-07 11:55:00197 days 17 hrs ago Cream.Finance: crBUSD Token Cream.Finance: crBUSD Token0 BNB
0x120c823b461cb44953da47e33f28db1c581047e350b5ee186c03b58f7763711854712412021-03-07 11:55:00197 days 17 hrs ago Cream.Finance: Unitroller Cream.Finance: crBUSD Token0 BNB
0xfcec8fab2f61c1c6be859c4908de29132463fa64e5bc0fdfd35d2f0aad39386d54712362021-03-07 11:54:45197 days 17 hrs ago 0xc2e7fc53503eb419c8078d56895cb598c71177dd Cream.Finance: crBUSD Token0 BNB
0xfcec8fab2f61c1c6be859c4908de29132463fa64e5bc0fdfd35d2f0aad39386d54712362021-03-07 11:54:45197 days 17 hrs ago Cream.Finance: crBUSD Token Binance: BUSD Stablecoin0 BNB
0xfcec8fab2f61c1c6be859c4908de29132463fa64e5bc0fdfd35d2f0aad39386d54712362021-03-07 11:54:45197 days 17 hrs ago Cream.Finance: crBUSD Token 0xa80690d8ca20c4de750320ca2d332d8483ba0d2f0 BNB
0xfcec8fab2f61c1c6be859c4908de29132463fa64e5bc0fdfd35d2f0aad39386d54712362021-03-07 11:54:45197 days 17 hrs ago Cream.Finance: crBUSD Token Cream.Finance: crBUSD Token0 BNB
0xfcec8fab2f61c1c6be859c4908de29132463fa64e5bc0fdfd35d2f0aad39386d54712362021-03-07 11:54:45197 days 17 hrs ago Cream.Finance: Unitroller Cream.Finance: crBUSD Token0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x11883Cdea6bAb720092791cc89affa54428Ce069

Contract Name:
CErc20Delegator

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2020-09-02
*/

// File: contracts/ComptrollerInterface.sol

pragma solidity ^0.5.16;

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

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

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

    /*** Policy Hooks ***/

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

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

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

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

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

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

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

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

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

// File: contracts/InterestRateModel.sol

pragma solidity ^0.5.16;

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

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

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

}

// File: contracts/CTokenInterfaces.sol

pragma solidity ^0.5.16;



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

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

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

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

    /**
     * @notice Maximum borrow rate that can ever be applied (.0005% / block)
     */

    uint internal constant borrowRateMaxMantissa = 0.0005e16;

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

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

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

    /**
     * @notice Contract which oversees inter-cToken operations
     */
    ComptrollerInterface public comptroller;

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

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

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

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

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

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

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

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

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

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

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

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

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


    /*** Market Events ***/

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

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

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

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

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

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


    /*** Admin Events ***/

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

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

    /**
     * @notice Event emitted when comptroller is changed
     */
    event NewComptroller(ComptrollerInterface oldComptroller, ComptrollerInterface newComptroller);

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

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

    /**
     * @notice Event emitted when the reserves are added
     */
    event ReservesAdded(address benefactor, uint addAmount, uint newTotalReserves);

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

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

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

    /**
     * @notice Failure event
     */
    event Failure(uint error, uint info, uint detail);


    /*** User Interface ***/

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


    /*** Admin Functions ***/

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

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

contract CErc20Interface is CErc20Storage {

    /*** User Interface ***/

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


    /*** Admin Functions ***/

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

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

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

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

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

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

// File: contracts/CErc20Delegator.sol

pragma solidity ^0.5.16;


/**
 * @title Compound's CErc20Delegator Contract
 * @notice CTokens which wrap an EIP-20 underlying and delegate to an implementation
 * @author Compound
 */
contract CErc20Delegator is CTokenInterface, CErc20Interface, CDelegatorInterface {
    /**
     * @notice Construct a new money market
     * @param underlying_ The address of the underlying asset
     * @param comptroller_ The address of the Comptroller
     * @param interestRateModel_ The address of the interest rate model
     * @param initialExchangeRateMantissa_ The initial exchange rate, scaled by 1e18
     * @param name_ ERC-20 name of this token
     * @param symbol_ ERC-20 symbol of this token
     * @param decimals_ ERC-20 decimal precision of this token
     * @param admin_ Address of the administrator of this token
     * @param implementation_ The address of the implementation the contract delegates to
     * @param becomeImplementationData The encoded args for becomeImplementation
     */
    constructor(address underlying_,
                ComptrollerInterface comptroller_,
                InterestRateModel interestRateModel_,
                uint initialExchangeRateMantissa_,
                string memory name_,
                string memory symbol_,
                uint8 decimals_,
                address payable admin_,
                address implementation_,
                bytes memory becomeImplementationData) public {
        // Creator of the contract is admin during initialization
        admin = msg.sender;

        // First delegate gets to initialize the delegator (i.e. storage contract)
        delegateTo(implementation_, abi.encodeWithSignature("initialize(address,address,address,uint256,string,string,uint8)",
                                                            underlying_,
                                                            comptroller_,
                                                            interestRateModel_,
                                                            initialExchangeRateMantissa_,
                                                            name_,
                                                            symbol_,
                                                            decimals_));

        // New implementations always get set via the settor (post-initialize)
        _setImplementation(implementation_, false, becomeImplementationData);

        // Set the proper admin now that initialization is done
        admin = admin_;
    }

    /**
     * @notice Called by the admin to update the implementation of the delegator
     * @param implementation_ The address of the new implementation for delegation
     * @param allowResign Flag to indicate whether to call _resignImplementation on the old implementation
     * @param becomeImplementationData The encoded bytes data to be passed to _becomeImplementation
     */
    function _setImplementation(address implementation_, bool allowResign, bytes memory becomeImplementationData) public {
        require(msg.sender == admin, "CErc20Delegator::_setImplementation: Caller must be admin");

        if (allowResign) {
            delegateToImplementation(abi.encodeWithSignature("_resignImplementation()"));
        }

        address oldImplementation = implementation;
        implementation = implementation_;

        delegateToImplementation(abi.encodeWithSignature("_becomeImplementation(bytes)", becomeImplementationData));

        emit NewImplementation(oldImplementation, implementation);
    }

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

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

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

    /**
      * @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) {
        borrowAmount; // Shh
        delegateAndReturn();
    }

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

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

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

    /**
     * @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, uint amount) external returns (bool) {
        dst; amount; // Shh
        delegateAndReturn();
    }

    /**
     * @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) {
        src; dst; amount; // Shh
        delegateAndReturn();
    }

    /**
     * @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) {
        spender; amount; // Shh
        delegateAndReturn();
    }

    /**
     * @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 (uint) {
        owner; spender; // Shh
        delegateToViewAndReturn();
    }

    /**
     * @notice Get the bep token owner
     * @return The owner of token
     */
    function getOwner() external view returns (address) {
        delegateToViewAndReturn();
    }

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

    /**
     * @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) {
        owner; // Shh
        delegateAndReturn();
    }

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

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

    /**
     * @notice Returns the current per-block supply interest rate for this cToken
     * @return The supply interest rate per block, scaled by 1e18
     */
    function supplyRatePerBlock() external view returns (uint) {
        delegateToViewAndReturn();
    }

    /**
     * @notice Returns the current total borrows plus accrued interest
     * @return The total borrows with interest
     */
    function totalBorrowsCurrent() external returns (uint) {
        delegateAndReturn();
    }

    /**
     * @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 returns (uint) {
        account; // Shh
        delegateAndReturn();
    }

    /**
     * @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) {
        account; // Shh
        delegateToViewAndReturn();
    }

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

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

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

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

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

    /*** Admin Functions ***/

    /**
      * @notice Begins transfer of admin rights. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer.
      * @dev Admin function to begin change of admin. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer.
      * @param newPendingAdmin New pending admin.
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _setPendingAdmin(address payable newPendingAdmin) external returns (uint) {
        newPendingAdmin; // Shh
        delegateAndReturn();
    }

    /**
      * @notice Sets a new comptroller for the market
      * @dev Admin function to set a new comptroller
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _setComptroller(ComptrollerInterface newComptroller) public returns (uint) {
        newComptroller; // Shh
        delegateAndReturn();
    }

    /**
      * @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 returns (uint) {
        newReserveFactorMantissa; // Shh
        delegateAndReturn();
    }

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

    /**
     * @notice Accrues interest and adds reserves by transferring from admin
     * @param addAmount Amount of reserves to add
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function _addReserves(uint addAmount) external returns (uint) {
        addAmount; // Shh
        delegateAndReturn();
    }

    /**
     * @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 returns (uint) {
        reduceAmount; // Shh
        delegateAndReturn();
    }

    /**
     * @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) {
        newInterestRateModel; // Shh
        delegateAndReturn();
    }

    /**
     * @notice Internal method to delegate execution to another contract
     * @dev It returns to the external caller whatever the implementation returns or forwards reverts
     * @param callee The contract to delegatecall
     * @param data The raw data to delegatecall
     * @return The returned bytes from the delegatecall
     */
    function delegateTo(address callee, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returnData) = callee.delegatecall(data);
        assembly {
            if eq(success, 0) {
                revert(add(returnData, 0x20), returndatasize)
            }
        }
        return returnData;
    }

    /**
     * @notice Delegates execution to the implementation contract
     * @dev It returns to the external caller whatever the implementation returns or forwards reverts
     * @param data The raw data to delegatecall
     * @return The returned bytes from the delegatecall
     */
    function delegateToImplementation(bytes memory data) public returns (bytes memory) {
        return delegateTo(implementation, data);
    }

    /**
     * @notice Delegates execution to an implementation contract
     * @dev It returns to the external caller whatever the implementation returns or forwards reverts
     *  There are an additional 2 prefix uints from the wrapper returndata, which we ignore since we make an extra hop.
     * @param data The raw data to delegatecall
     * @return The returned bytes from the delegatecall
     */
    function delegateToViewImplementation(bytes memory data) public view returns (bytes memory) {
        (bool success, bytes memory returnData) = address(this).staticcall(abi.encodeWithSignature("delegateToImplementation(bytes)", data));
        assembly {
            if eq(success, 0) {
                revert(add(returnData, 0x20), returndatasize)
            }
        }
        return abi.decode(returnData, (bytes));
    }

    function delegateToViewAndReturn() private view returns (bytes memory) {
        (bool success, ) = address(this).staticcall(abi.encodeWithSignature("delegateToImplementation(bytes)", msg.data));

        assembly {
            let free_mem_ptr := mload(0x40)
            returndatacopy(free_mem_ptr, 0, returndatasize)

            switch success
            case 0 { revert(free_mem_ptr, returndatasize) }
            default { return(add(free_mem_ptr, 0x40), returndatasize) }
        }
    }

    function delegateAndReturn() private returns (bytes memory) {
        (bool success, ) = implementation.delegatecall(msg.data);

        assembly {
            let free_mem_ptr := mload(0x40)
            returndatacopy(free_mem_ptr, 0, returndatasize)

            switch success
            case 0 { revert(free_mem_ptr, returndatasize) }
            default { return(free_mem_ptr, returndatasize) }
        }
    }

    /**
     * @notice Delegates execution to an implementation contract
     * @dev It returns to the external caller whatever the implementation returns or forwards reverts
     */
    function () external payable {
        require(msg.value == 0,"CErc20Delegator:fallback: cannot send value to fallback");

        // delegate all other functions to current implementation
        delegateAndReturn();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"underlying_","type":"address"},{"internalType":"contract ComptrollerInterface","name":"comptroller_","type":"address"},{"internalType":"contract InterestRateModel","name":"interestRateModel_","type":"address"},{"internalType":"uint256","name":"initialExchangeRateMantissa_","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"address payable","name":"admin_","type":"address"},{"internalType":"address","name":"implementation_","type":"address"},{"internalType":"bytes","name":"becomeImplementationData","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"cashPrior","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"interestAccumulated","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"borrowIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"AccrueInterest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"borrowAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrows","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"Borrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"error","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"info","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"detail","type":"uint256"}],"name":"Failure","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"liquidator","type":"address"},{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"cTokenCollateral","type":"address"},{"indexed":false,"internalType":"uint256","name":"seizeTokens","type":"uint256"}],"name":"LiquidateBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintTokens","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract ComptrollerInterface","name":"oldComptroller","type":"address"},{"indexed":false,"internalType":"contract ComptrollerInterface","name":"newComptroller","type":"address"}],"name":"NewComptroller","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldImplementation","type":"address"},{"indexed":false,"internalType":"address","name":"newImplementation","type":"address"}],"name":"NewImplementation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract InterestRateModel","name":"oldInterestRateModel","type":"address"},{"indexed":false,"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"NewMarketInterestRateModel","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"NewPendingAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldReserveFactorMantissa","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newReserveFactorMantissa","type":"uint256"}],"name":"NewReserveFactor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"redeemAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"payer","type":"address"},{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrows","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"RepayBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"benefactor","type":"address"},{"indexed":false,"internalType":"uint256","name":"addAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalReserves","type":"uint256"}],"name":"ReservesAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"uint256","name":"reduceAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalReserves","type":"uint256"}],"name":"ReservesReduced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"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":"addAmount","type":"uint256"}],"name":"_addReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reduceAmount","type":"uint256"}],"name":"_reduceReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract ComptrollerInterface","name":"newComptroller","type":"address"}],"name":"_setComptroller","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"implementation_","type":"address"},{"internalType":"bool","name":"allowResign","type":"bool"},{"internalType":"bytes","name":"becomeImplementationData","type":"bytes"}],"name":"_setImplementation","outputs":[],"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":true,"inputs":[],"name":"comptroller","outputs":[{"internalType":"contract ComptrollerInterface","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"delegateToImplementation","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"delegateToViewImplementation","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exchangeRateCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"exchangeRateStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountSnapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"interestRateModel","outputs":[{"internalType":"contract InterestRateModel","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isCToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"},{"internalType":"contract CTokenInterface","name":"cTokenCollateral","type":"address"}],"name":"liquidateBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"}],"name":"redeemUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrowBehalf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveFactorMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"liquidator","type":"address"},{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"seizeTokens","type":"uint256"}],"name":"seize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"supplyRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBorrows","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"totalBorrowsCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001a1b38038062001a1b83398181016040526101408110156200003857600080fd5b81516020830151604080850151606086015160808701805193519597949692959194919392820192846401000000008211156200007457600080fd5b9083019060208201858111156200008a57600080fd5b8251640100000000811182820188101715620000a557600080fd5b82525081516020918201929091019080838360005b83811015620000d4578181015183820152602001620000ba565b50505050905090810190601f168015620001025780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200012657600080fd5b9083019060208201858111156200013c57600080fd5b82516401000000008111828201881017156200015757600080fd5b82525081516020918201929091019080838360005b83811015620001865781810151838201526020016200016c565b50505050905090810190601f168015620001b45780820380516001836020036101000a031916815260200191505b50604081815260208301519083015160608401516080909401805192969195919284640100000000821115620001e957600080fd5b908301906020820185811115620001ff57600080fd5b82516401000000008111828201881017156200021a57600080fd5b82525081516020918201929091019080838360005b83811015620002495781810151838201526020016200022f565b50505050905090810190601f168015620002775780820380516001836020036101000a031916815260200191505b5060405250505033600360016101000a8154816001600160a01b0302191690836001600160a01b0316021790555062000424828b8b8b8b8b8b8b60405160240180886001600160a01b03166001600160a01b03168152602001876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b0316815260200185815260200180602001806020018460ff1660ff168152602001838103835286818151815260200191508051906020019080838360005b838110156200035157818101518382015260200162000337565b50505050905090810190601f1680156200037f5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015620003b45781810151838201526020016200039a565b50505050905090810190601f168015620003e25780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116631a31d46560e01b17909152909a50620004721698505050505050505050565b506200043c826000836001600160e01b036200053916565b5050600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055506200071a95505050505050565b606060006060846001600160a01b0316846040518082805190602001908083835b60208310620004b45780518252601f19909201916020918201910162000493565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811462000516576040519150601f19603f3d011682016040523d82523d6000602084013e6200051b565b606091505b5091509150600082141562000531573d60208201fd5b949350505050565b60035461010090046001600160a01b03163314620005895760405162461bcd60e51b8152600401808060200182810382526039815260200180620019e26039913960400191505060405180910390fd5b8115620005cb576040805160048152602481019091526020810180516001600160e01b0390811663153ab50560e01b17909152620005c99190620006f016565b505b601280546001600160a01b038581166001600160a01b03198316179092556040516020602482018181528551604484015285519490931693620006a1938693909283926064909201919085019080838360005b83811015620006385781810151838201526020016200061e565b50505050905090810190601f168015620006665780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116630adccee560e31b17909152909350620006f016915050565b50601254604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b60125460609062000714906001600160a01b0316836001600160e01b036200047216565b92915050565b6112b8806200072a6000396000f3fe6080604052600436106102e45760003560e01c806373acee9811610190578063bd6d894d116100dc578063f2b3abbd11610095578063f851a4401161006f578063f851a440146109b3578063f8f9da281461054d578063fca7820b146104b4578063fe9c44ae146109c8576102e4565b8063f2b3abbd14610505578063f3fdb15a1461095b578063f5e3c46214610970576102e4565b8063bd6d894d1461083b578063c37f68e2146108c7578063c5ebeaec146104b4578063db006a75146104b4578063dd62ed3e14610920578063e9c714f21461083b576102e4565b8063a0712d6811610149578063aa5af0fd11610123578063aa5af0fd1461088f578063ae9d70b01461054d578063b2a02ff1146108a4578063b71d1a0c14610505576102e4565b8063a0712d68146104b4578063a6afed951461083b578063a9059cbb14610467576102e4565b806373acee981461083b578063852a12e3146104b4578063893d20e8146108505780638f840ddd1461086557806395d89b411461087a57806395dd919314610808576102e4565b80633af9e6691161024f578063555bcc4011610208578063601a0bf1116101e2578063601a0bf1146104b45780636c540baf146107de5780636f307dc3146107f357806370a0823114610808576102e4565b8063555bcc40146106ea5780635c60da1b146107b45780635fe3b567146107c9576102e4565b80633af9e669146105055780633b1d21a21461054d5780633e941010146104b45780634487152f146106245780634576b5db1461050557806347bd3718146106d5576102e4565b806318160ddd116102a157806318160ddd14610538578063182df0f51461054d57806323b872dd146105625780632608f818146105a557806326782247146105c8578063313ce567146105f9576102e4565b806306fdde031461032c5780630933c1ed146103b6578063095ea7b3146104675780630e752702146104b4578063173b9904146104f057806317bfdfbc14610505575b34156103215760405162461bcd60e51b81526004018080602001828103825260378152602001806112146037913960400191505060405180910390fd5b6103296109dd565b50005b34801561033857600080fd5b50610341610a65565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561037b578181015183820152602001610363565b50505050905090810190601f1680156103a85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103c257600080fd5b50610341600480360360208110156103d957600080fd5b810190602081018135600160201b8111156103f357600080fd5b82018360208201111561040557600080fd5b803590602001918460018302840111600160201b8311171561042657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610af2945050505050565b34801561047357600080fd5b506104a06004803603604081101561048a57600080fd5b506001600160a01b038135169060200135610b11565b604080519115158252519081900360200190f35b3480156104c057600080fd5b506104de600480360360208110156104d757600080fd5b5035610b22565b60408051918252519081900360200190f35b3480156104fc57600080fd5b506104de610b32565b34801561051157600080fd5b506104de6004803603602081101561052857600080fd5b50356001600160a01b0316610b22565b34801561054457600080fd5b506104de610b38565b34801561055957600080fd5b506104de610b3e565b34801561056e57600080fd5b506104a06004803603606081101561058557600080fd5b506001600160a01b03813581169160208101359091169060400135610b4c565b3480156105b157600080fd5b506104de6004803603604081101561048a57600080fd5b3480156105d457600080fd5b506105dd610b5e565b604080516001600160a01b039092168252519081900360200190f35b34801561060557600080fd5b5061060e610b6d565b6040805160ff9092168252519081900360200190f35b34801561063057600080fd5b506103416004803603602081101561064757600080fd5b810190602081018135600160201b81111561066157600080fd5b82018360208201111561067357600080fd5b803590602001918460018302840111600160201b8311171561069457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b76945050505050565b3480156106e157600080fd5b506104de610d95565b3480156106f657600080fd5b506107b26004803603606081101561070d57600080fd5b6001600160a01b03823516916020810135151591810190606081016040820135600160201b81111561073e57600080fd5b82018360208201111561075057600080fd5b803590602001918460018302840111600160201b8311171561077157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610d9b945050505050565b005b3480156107c057600080fd5b506105dd610f3e565b3480156107d557600080fd5b506105dd610f4d565b3480156107ea57600080fd5b506104de610f5c565b3480156107ff57600080fd5b506105dd610f62565b34801561081457600080fd5b506104de6004803603602081101561082b57600080fd5b50356001600160a01b0316610f71565b34801561084757600080fd5b506104de610f7b565b34801561085c57600080fd5b506105dd610b3e565b34801561087157600080fd5b506104de610f85565b34801561088657600080fd5b50610341610f8b565b34801561089b57600080fd5b506104de610fe3565b3480156108b057600080fd5b506104de6004803603606081101561058557600080fd5b3480156108d357600080fd5b506108fa600480360360208110156108ea57600080fd5b50356001600160a01b0316610fe9565b604080519485526020850193909352838301919091526060830152519081900360800190f35b34801561092c57600080fd5b506104de6004803603604081101561094357600080fd5b506001600160a01b0381358116916020013516610fff565b34801561096757600080fd5b506105dd611009565b34801561097c57600080fd5b506104de6004803603606081101561099357600080fd5b506001600160a01b03813581169160208101359160409091013516610b4c565b3480156109bf57600080fd5b506105dd611018565b3480156109d457600080fd5b506104a061102c565b6012546040516060916000916001600160a01b0390911690829036908083838082843760405192019450600093509091505080830381855af49150503d8060008114610a45576040519150601f19603f3d011682016040523d82523d6000602084013e610a4a565b606091505b505090506040513d6000823e818015610a61573d82f35b3d82fd5b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610aea5780601f10610abf57610100808354040283529160200191610aea565b820191906000526020600020905b815481529060010190602001808311610acd57829003601f168201915b505050505081565b601254606090610b0b906001600160a01b031683611031565b92915050565b6000610b1b6109dd565b5092915050565b6000610b2c6109dd565b50919050565b60085481565b600d5481565b6000610b486110f3565b5090565b6000610b566109dd565b509392505050565b6004546001600160a01b031681565b60035460ff1681565b606060006060306001600160a01b0316846040516024018080602001828103825283818151815260200191508051906020019080838360005b83811015610bc7578181015183820152602001610baf565b50505050905090810190601f168015610bf45780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b178152905182519295509350839250908083835b60208310610c4f5780518252601f199092019160209182019101610c30565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610caf576040519150601f19603f3d011682016040523d82523d6000602084013e610cb4565b606091505b50915091506000821415610cc9573d60208201fd5b808060200190516020811015610cde57600080fd5b8101908080516040519392919084600160201b821115610cfd57600080fd5b908301906020820185811115610d1257600080fd5b8251600160201b811182820188101715610d2b57600080fd5b82525081516020918201929091019080838360005b83811015610d58578181015183820152602001610d40565b50505050905090810190601f168015610d855780820380516001836020036101000a031916815260200191505b5060405250505092505050919050565b600b5481565b60035461010090046001600160a01b03163314610de95760405162461bcd60e51b815260040180806020018281038252603981526020018061124b6039913960400191505060405180910390fd5b8115610e23576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b179052610e2190610af2565b505b601280546001600160a01b038581166001600160a01b03198316179092556040516020602482018181528551604484015285519490931693610eef938693909283926064909201919085019080838360005b83811015610e8d578181015183820152602001610e75565b50505050905090810190601f168015610eba5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b1790529250610af2915050565b50601254604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b6012546001600160a01b031681565b6005546001600160a01b031681565b60095481565b6011546001600160a01b031681565b6000610b2c6110f3565b6000610b486109dd565b600c5481565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610aea5780601f10610abf57610100808354040283529160200191610aea565b600a5481565b600080600080610ff76110f3565b509193509193565b6000610b1b6110f3565b6006546001600160a01b031681565b60035461010090046001600160a01b031681565b600181565b606060006060846001600160a01b0316846040518082805190602001908083835b602083106110715780518252601f199092019160209182019101611052565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146110d1576040519150601f19603f3d011682016040523d82523d6000602084013e6110d6565b606091505b509150915060008214156110eb573d60208201fd5b949350505050565b60606000306001600160a01b03166000366040516024018080602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180516001600160e01b0316630933c1ed60e01b17815292518151919750955085945091925081905083835b602083106111945780518252601f199092019160209182019101611175565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146111f4576040519150601f19603f3d011682016040523d82523d6000602084013e6111f9565b606091505b505090506040513d6000823e818015610a61573d60408301f3fe43457263323044656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636b43457263323044656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696ea265627a7a723158209f8f8e5be2c20a221ad0c057e57b802e3a26705daf3a80174a492801d8dff15164736f6c6343000511003243457263323044656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696e0000000000000000000000007130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c000000000000000000000000589de0f0ccf905477646599bb3e5c622c84cc0ba0000000000000000000000001d09144f3479bb805cb7c92346987420bcbdc10c000000000000000000000000000000000000000000a56fa5b99019a5c8000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000c9e3eb04aae820a1aa77789e699e7c433f75e216000000000000000000000000a80690d8ca20c4de750320ca2d332d8483ba0d2f00000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000010437265616d204254434220546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000663724254434200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed ByteCode Sourcemap

14475:20138:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34430:9;:14;34422:81;;;;-1:-1:-1;;;34422:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34583:19;:17;:19::i;:::-;;14475:20138;4386:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4386: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;4386:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32241:141;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32241:141:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32241:141:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;32241:141:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;32241:141:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;32241:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;32241:141:0;;-1:-1:-1;32241:141:0;;-1:-1:-1;;;;;32241:141:0:i;22572:145::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22572:145:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22572:145:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;19961:130;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19961:130:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19961:130:0;;:::i;:::-;;;;;;;;;;;;;;;;5689:33;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5689:33:0;;;:::i;25700:134::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25700:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25700:134:0;-1:-1:-1;;;;;25700:134:0;;:::i;6334:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6334:23:0;;;:::i;26680:101::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26680:101:0;;;:::i;21942:160::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21942:160:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21942:160:0;;;;;;;;;;;;;;;;;:::i;20379:164::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20379:164:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;5113:35:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5113:35:0;;;:::i;:::-;;;;-1:-1:-1;;;;;5113:35:0;;;;;;;;;;;;;;4582:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4582:21:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32804:434;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32804:434:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32804:434:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;32804:434:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;32804:434:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;32804:434:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;32804:434:0;;-1:-1:-1;32804:434:0;;-1:-1:-1;;;;;32804:434:0:i;6098:24::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6098:24:0;;;:::i;17263:645::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17263:645:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;17263:645:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;17263:645:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;17263:645:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;17263:645:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;17263:645:0;;-1:-1:-1;17263:645:0;;-1:-1:-1;;;;;17263:645:0:i;:::-;;12951:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12951:29:0;;;:::i;5239:39::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5239:39:0;;;:::i;5812:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5812:30:0;;;:::i;12066:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12066:25:0;;;:::i;23590:130::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23590:130:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23590:130:0;-1:-1:-1;;;;;23590:130:0;;:::i;25316:93::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25316:93:0;;;:::i;23304:96::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23304:96:0;;;:::i;6228:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6228:25:0;;;:::i;4482:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4482:20:0;;;:::i;5963:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5963:23:0;;;:::i;27946:184::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27946:184:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;24451:161:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24451:161:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24451:161:0;-1:-1:-1;;;;;24451:161:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23047:156;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23047:156:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;23047:156:0;;;;;;;;;;:::i;5380:42::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5380:42:0;;;:::i;21025:214::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21025:214:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21025:214:0;;;;;;;;;;;;;;;;;:::i;5002:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5002:28:0;;;:::i;7360:36::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7360:36:0;;;:::i;33760:427::-;33850:14;;:37;;33806:12;;33832;;-1:-1:-1;;;;;33850:14:0;;;;33832:12;;33878:8;;33850:37;33832:12;33878:8;;33832:12;33850:37;1:33:-1;33850:37:0;;45:16:-1;;;-1:-1;33850:37:0;;-1:-1:-1;33850:37:0;;-1:-1:-1;;33850:37:0;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;33831:56:0;;;33950:4;33944:11;34001:14;33998:1;33984:12;33969:47;34039:7;34060:47;;;;34152:14;34138:12;34131:36;34060:47;34090:14;34076:12;34069:36;4386:18;;;;;;;;;;;;;;;-1:-1:-1;;4386:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;32241:141::-;32353:14;;32310:12;;32342:32;;-1:-1:-1;;;;;32353:14:0;32369:4;32342:10;:32::i;:::-;32335:39;32241:141;-1:-1:-1;;32241:141:0:o;22572:145::-;22640:4;22690:19;:17;:19::i;:::-;;22572:145;;;;:::o;19961:130::-;20018:4;20064:19;:17;:19::i;:::-;;19961:130;;;:::o;5689:33::-;;;;:::o;6334:23::-;;;;:::o;26680:101::-;26731:4;26748:25;:23;:25::i;:::-;;26680:101;:::o;21942:160::-;22024:4;22075:19;:17;:19::i;:::-;;21942:160;;;;;:::o;5113:35::-;;;-1:-1:-1;;;;;5113:35:0;;:::o;4582:21::-;;;;;;:::o;32804:434::-;32882:12;32908;32922:23;32957:4;-1:-1:-1;;;;;32949:24:0;33033:4;32974:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;32974:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32974:64:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;32974:64:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;32949:90:0;;;;32974:64;;-1:-1:-1;32949:90:0;-1:-1:-1;32949:90:0;;-1:-1:-1;25:18;32949:90:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;32949:90:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;32907:132:0;;;;33089:1;33080:7;33077:14;33074:2;;;33141:14;33134:4;33122:10;33118:21;33111:45;33074:2;33210:10;33199:31;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33199:31:0;;;;;;;;;;;;;-1:-1:-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;213:10;;-1:-1;;;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;372:25;;-1:-1;33199:31:0;;420:4:-1;411:14;;;;33199:31:0;;;;;411:14:-1;33199:31: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;33199:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33192:38;;;;32804:434;;;:::o;6098:24::-;;;;:::o;17263:645::-;17413:5;;;;;-1:-1:-1;;;;;17413:5:0;17399:10;:19;17391:89;;;;-1:-1:-1;;;17391:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17497:11;17493:120;;;17550:50;;;22:32:-1;6:49;;17550:50:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;17525:76:0;;:24;:76::i;:::-;;17493:120;17653:14;;;-1:-1:-1;;;;;17678:32:0;;;-1:-1:-1;;;;;;17678:32:0;;;;;;17748:81;;;;;;;;;;;;;;;;;17653:14;;;;;17723:107;;17804:24;;17748:81;;;;;;;;;;;;;;;;17625:25;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;17748:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17748:81:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;17748:81:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;17748:81:0;-1:-1:-1;17723:24:0;;-1:-1:-1;;17723:107:0:i;:::-;-1:-1:-1;17885:14:0;;17848:52;;;-1:-1:-1;;;;;17848:52:0;;;;;17885:14;;;17848:52;;;;;;;;;;;;;;;;17263:645;;;;:::o;12951:29::-;;;-1:-1:-1;;;;;12951:29:0;;:::o;5239:39::-;;;-1:-1:-1;;;;;5239:39:0;;:::o;5812:30::-;;;;:::o;12066:25::-;;;-1:-1:-1;;;;;12066:25:0;;:::o;23590:130::-;23647:4;23687:25;:23;:25::i;25316:93::-;25365:4;25382:19;:17;:19::i;6228:25::-;;;;:::o;4482:20::-;;;;;;;;;;;;;;-1:-1:-1;;4482:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5963:23;;;;:::o;24451:161::-;24519:4;24525;24531;24537;24579:25;:23;:25::i;:::-;;24451:161;;;;;:::o;23047:156::-;23121:4;23170:25;:23;:25::i;5380:42::-;;;-1:-1:-1;;;;;5380:42:0;;:::o;5002:28::-;;;;;;-1:-1:-1;;;;;5002:28:0;;:::o;7360:36::-;7392:4;7360:36;:::o;31596:343::-;31669:12;31695;31709:23;31736:6;-1:-1:-1;;;;;31736:19:0;31756:4;31736:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;31736:25:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;31694:67:0;;;;31811:1;31802:7;31799:14;31796:2;;;31863:14;31856:4;31844:10;31840:21;31833:45;31796:2;31921:10;31596:343;-1:-1:-1;;;;31596:343:0:o;33246:506::-;33303:12;33329;33355:4;-1:-1:-1;;;;;33347:24:0;33431:8;;33372:68;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;33372:68:0;;;137:4:-1;117:14;;;-1:-1;;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;33372:68:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;33347:94:0;;;;33372:68;;-1:-1:-1;33347:94:0;-1:-1:-1;33347:94:0;;-1:-1:-1;25:18;;-1:-1;33347:94:0;;-1:-1:-1;33347:94:0;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;33347:94:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;33328:113:0;;;33504:4;33498:11;33555:14;33552:1;33538:12;33523:47;33593:7;33614:47;;;;33717:14;33710:4;33696:12;33692:23;33685:47

Swarm Source

bzzr://9f8f8e5be2c20a221ad0c057e57b802e3a26705daf3a80174a492801d8dff151
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.