Contract 0xf362fea9659cf036792c9cb02f8ff8198e21b4cb

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x128ba75be3eedebadea2302b2bcbdf9cb3a930cc2253104586b4b3c4312ab95cRepay Borrow204066532022-09-29 1:28:262 mins ago0x41206f8efb51e5039e5b46e04e7866a4849f72d2 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.00590685135 27.425
0xe5fe6b9723482f2c752d409eb439f38ecc407f56d649f8d3e953216892137c6eBorrow204065122022-09-29 1:23:297 mins ago0x41206f8efb51e5039e5b46e04e7866a4849f72d2 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0252251645 26.5
0x1c9563aff0be637cbd94d1c47ad32b7a5e9cd35a270dc025aa277fd14be6ada8Borrow204060682022-09-29 1:08:2122 mins ago0x9772fedc43123a6efbd1965617d0e079de2689e4 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.022522185926.1
0x36a174af92e1343de24a8357d3b3cd1edcdb0923cc2c8617336bd08316d7be92Redeem Underlyin...204059082022-09-29 1:02:5528 mins ago0x2c48fe463967d4654006b1918f440ad61a9e3390 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.006314208 26.5
0x843261efe99cb56c778d95875182879f4296414500a6b51e3ce04a7ba4652825Mint204058782022-09-29 1:01:5229 mins ago0x2c48fe463967d4654006b1918f440ad61a9e3390 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0068212855 26.5
0xd3fcbf6ce94e7ff4c232efe89fead815dc9b19cf72593c0e8a453eaaa66677caMint204051842022-09-29 0:38:2852 mins ago0x491d76623afc81e1362578bcbe426c4855dc5463 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.006227671509 27.2816825
0x2c5624c3718d65a5fbd0a44c0faedbe19157c803918c114bdcfbbf5433f0e89fMint204041662022-09-29 0:03:441 hr 27 mins ago0x2dcd5c2591b6617ca91b6654ea3939213dab7c38 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0069561175 26.5
0x98ca2658416298aa9622ba2e40e87bc645a1c7010bfe718f06c9f4c0a866a851Mint204024502022-09-28 23:04:252 hrs 26 mins ago0x5d6142c83ba6c25c7abfe349575421bac8eb71e7 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0069564355 26.5
0xfa3889c43b14afb2160d526c871745bc389b141bf58ca061eda5e5fcbe1f1ed4Redeem Underlyin...204014042022-09-28 22:28:483 hrs 2 mins ago0x68963dc7c28a36fcacb0b39ac2d807b0329b9c69 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.013673774384 27.502
0x47a5e8f68faee85cd65ff52f54215dda7135feb6eb4f4e136473bbdb1d2f26b0Redeem Underlyin...204003332022-09-28 21:51:533 hrs 39 mins ago0x43b44b52de1b26b90b3abaa5b405946e4801925e IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.01448736396 26.41
0x723a9129fe8caf46a218016e8c61c7be3f60722c04e248684fb18f80a3b3bfe8Mint203986182022-09-28 20:53:364 hrs 37 mins ago0x339075b35d7899dc9c9a6ba5457e52f70d9cf107 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0060492345 26.5
0x6edbe1d9e1e6d70d4b750984b8aae03d42d0b65dc8ddac206923aabd588cfeceRedeem Underlyin...203983782022-09-28 20:45:144 hrs 45 mins ago0x68963dc7c28a36fcacb0b39ac2d807b0329b9c69 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.01317603219 26.501
0xc20f945fe76f49a66e87c54ca45c7f6a0dc2b1a1e1bf73328bd5bd09655f02f5Mint203971342022-09-28 20:02:195 hrs 28 mins ago0xc511eab157c3b5889a966966acd62c880af84046 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.007040988842 27.35225
0x9dab70c26913719f8ba684055c9e4b5b2021f05ab0cc9130ae192eff8527b137Mint203970232022-09-28 19:58:335 hrs 32 mins ago0x783c2dbea7a76ef8673c7061eb7450fb01048653 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0069567535 26.5
0x9ffea5eed7b3ad00aae71cf01c2b2f6d9cc7407f5ded6660100e616fc5f35f3bMint203957882022-09-28 19:16:416 hrs 14 mins ago0x10838a8b06cbfb856616b6e6ffaf291689f718b1 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0069557995 26.5
0x8d604ad676546db3f97e700674d0ae068a14510b21f30176a5176fd2bd27d72bMint203954112022-09-28 19:03:346 hrs 27 mins ago0x285392cf53f5247123db984a81e79488fb5162c3 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0069557995 26.5
0x691afdf70ef4a1d4290a30cd622087d230e2e28b4c9855942260505c11b7f046Mint203951112022-09-28 18:53:116 hrs 37 mins ago0x0e39e0aa2a1d94b33e6694075afc0516aadbe404 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0068209675 26.5
0xcb9d02b9b00dba57b9f57c47cd301d7c28312a502738aeba4d32aba7514a0eefMint203950752022-09-28 18:51:596 hrs 39 mins ago0x0f64e2b81a6e0c3d2a993ede5f8e8cdd0b78196f IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.00698591913 26.615965689
0x85908369b67b5ec5bbbfb2c6f35c421a80da77f0edb5bbd2ec3605b0517cbc10Mint203950302022-09-28 18:50:286 hrs 40 mins ago0xc4bc2fec9f53e02c94f676e1e8f145247d416029 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0070716153 26.94
0xd9eb04a0d8787318951a719ef69fd3489e4d78869ad8028128866e7253ba3b50Mint203944182022-09-28 18:29:407 hrs 1 min ago0x21c94aba9184da7340f78b94a00b4d5f9724a65f IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.007017379561 26.734605903
0x73215875fc472725fcf30b8bb7ef618e5a392982da5b4e19d7e135f1a56ff611Mint203943712022-09-28 18:28:007 hrs 3 mins ago0xcd5dfffdca595cd5cf3e02011bf04730680295df IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.007092603642 27.019957112
0xa0b7041df230cda780873f1cebc678ebbe9b2a730bdbfe97127f374cbc443001Mint203941832022-09-28 18:21:387 hrs 9 mins ago0x838d3b9f95d1fb0054c14d6992a251a0a1d639dd IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.0069557995 26.5
0x620b64604b8b398e08537eceeb6ed84518685d1a90e7e2e37f2b4449616fbb40Mint203936582022-09-28 18:03:357 hrs 27 mins ago0x052f33341a3040cd6ed7eb60ab27be87686fff2d IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.007007960262 26.6975
0x005c141800cc19bf74dea2bac79a6763176442e4bf1fd74e5380d899afeeb1b8Redeem Underlyin...203934662022-09-28 17:57:087 hrs 34 mins ago0x1d900608c195f76f746e793cea49394913400168 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.006902137 26.5
0x75b1758c9bb536e5c68696cfb05a88219780cfed3c1e19d9fd9df41bf541a285Redeem Underlyin...203933422022-09-28 17:52:517 hrs 38 mins ago0x9350e040915c64c18bf70683c2c192b76211f287 IN  0xf362fea9659cf036792c9cb02f8ff8198e21b4cb0 AVAX0.006902137 26.5
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x4e9f683A27a6BdAD3FC2764003759277e93696e6

Contract Name:
QiErc20Delegator

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 snowtrace.io on 2021-11-02
*/

/**
 * File: ComptrollerInterface.sol
 */

pragma solidity 0.5.17;

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

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

    function enterMarkets(address[] calldata qiTokens) external returns (uint[] memory);
    function exitMarket(address qiToken) external returns (uint);

    /*** Policy Hooks ***/

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

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

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

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

    function liquidateBorrowAllowed(
        address qiTokenBorrowed,
        address qiTokenCollateral,
        address liquidator,
        address borrower,
        uint repayAmount) external returns (uint);
    function liquidateBorrowVerify(
        address qiTokenBorrowed,
        address qiTokenCollateral,
        address liquidator,
        address borrower,
        uint repayAmount,
        uint seizeTokens) external;

    function seizeAllowed(
        address qiTokenCollateral,
        address qiTokenBorrowed,
        address liquidator,
        address borrower,
        uint seizeTokens) external returns (uint);
    function seizeVerify(
        address qiTokenCollateral,
        address qiTokenBorrowed,
        address liquidator,
        address borrower,
        uint seizeTokens) external;

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

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

    function liquidateCalculateSeizeTokens(
        address qiTokenBorrowed,
        address qiTokenCollateral,
        uint repayAmount) external view returns (uint, uint);
}


/**
 * File: InterestRateModel.sol
 */

pragma solidity 0.5.17;

/**
  * @title Benqi's InterestRateModel Interface
  * @author Benqi
  */
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 timestmp
      * @param cash The total amount of cash the market has
      * @param borrows The total amount of borrows the market has outstanding
      * @param reserves The total amount of reserves the market has
      * @return The borrow rate per timestmp (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 timestmp
      * @param cash The total amount of cash the market has
      * @param borrows The total amount of borrows the market has outstanding
      * @param reserves The total amount of reserves the market has
      * @param reserveFactorMantissa The current reserve factor the market has
      * @return The supply rate per timestmp (as a percentage, and scaled by 1e18)
      */
    function getSupplyRate(uint cash, uint borrows, uint reserves, uint reserveFactorMantissa) external view returns (uint);

}


/**
 * File: EIP20NonStandardInterface.sol
 */

pragma solidity 0.5.17;

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

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

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

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

    /**
      * @notice Transfer `amount` tokens from `msg.sender` to `dst`
      * @param dst The address of the destination account
      * @param amount The number of tokens to transfer
      */
    function transfer(address dst, uint256 amount) external;

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

    /**
      * @notice Transfer `amount` tokens from `src` to `dst`
      * @param src The address of the source account
      * @param dst The address of the destination account
      * @param amount The number of tokens to transfer
      */
    function transferFrom(address src, address dst, uint256 amount) external;

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

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

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


/**
 * File: QiTokenInterfaces.sol
 */

pragma solidity 0.5.17;


contract QiTokenStorage {
    /**
     * @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-qiToken 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 QiTokens (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 accrualBlockTimestamp;

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

    /**
     * @notice Share of seized collateral that is added to reserves
     */
    uint public protocolSeizeShareMantissa;

}

contract QiTokenInterface is QiTokenStorage {
    /**
     * @notice Indicator that this is a QiToken contract (for inspection)
     */
    bool public constant isQiToken = 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 qiTokenCollateral, 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 protocol seize share is changed
     */
    event NewProtocolSeizeShare(uint oldProtocolSeizeShareMantissa, uint newProtocolSeizeShareMantissa);

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

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

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

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

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


    /*** User Interface ***/

    function transfer(address dst, uint amount) external returns (bool);
    function transferFrom(address src, address dst, uint amount) external returns (bool);
    function approve(address spender, uint amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function balanceOfUnderlying(address owner) external returns (uint);
    function getAccountSnapshot(address account) external view returns (uint, uint, uint, uint);
    function borrowRatePerTimestamp() external view returns (uint);
    function supplyRatePerTimestamp() 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);
    function _setProtocolSeizeShare(uint newProtocolSeizeShareMantissa) external returns (uint);
}

contract QiErc20Storage {
    /**
     * @notice Underlying asset for this QiToken
     */
    address public underlying;
}

contract QiErc20Interface is QiErc20Storage {

    /*** 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, QiTokenInterface qiTokenCollateral) external returns (uint);
    function sweepToken(EIP20NonStandardInterface token) external;


    /*** Admin Functions ***/

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

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

contract QiDelegatorInterface is QiDelegationStorage {
    /**
     * @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 QiDelegateInterface is QiDelegationStorage {
    /**
     * @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: QiErc20Delegator.sol
 */

pragma solidity 0.5.17;


/**
 * @title Benqi's QiErc20Delegator Contract
 * @notice QiTokens which wrap an EIP-20 underlying and delegate to an implementation
 * @author Benqi
 */
contract QiErc20Delegator is QiTokenInterface, QiErc20Interface, QiDelegatorInterface {
    /**
     * @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, "QiErc20Delegator::_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 qiTokens 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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("mint(uint256)", mintAmount));
        return abi.decode(data, (uint));
    }

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

    /**
     * @notice Sender redeems qiTokens 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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("redeemUnderlying(uint256)", redeemAmount));
        return abi.decode(data, (uint));
    }

    /**
      * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("borrow(uint256)", borrowAmount));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("repayBorrow(uint256)", repayAmount));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("repayBorrowBehalf(address,uint256)", borrower, repayAmount));
        return abi.decode(data, (uint));
    }

    /**
     * @notice The sender liquidates the borrowers collateral.
     *  The collateral seized is transferred to the liquidator.
     * @param borrower The borrower of this qiToken to be liquidated
     * @param qiTokenCollateral 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, QiTokenInterface qiTokenCollateral) external returns (uint) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("liquidateBorrow(address,uint256,address)", borrower, repayAmount, qiTokenCollateral));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("transfer(address,uint256)", dst, amount));
        return abi.decode(data, (bool));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("transferFrom(address,address,uint256)", src, dst, amount));
        return abi.decode(data, (bool));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("approve(address,uint256)", spender, amount));
        return abi.decode(data, (bool));
    }

    /**
     * @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) {
        bytes memory data = delegateToViewImplementation(abi.encodeWithSignature("allowance(address,address)", owner, spender));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToViewImplementation(abi.encodeWithSignature("balanceOf(address)", owner));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("balanceOfUnderlying(address)", owner));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToViewImplementation(abi.encodeWithSignature("getAccountSnapshot(address)", account));
        return abi.decode(data, (uint, uint, uint, uint));
    }

    /**
     * @notice Returns the current per-timestamp borrow interest rate for this qiToken
     * @return The borrow interest rate per timestmp, scaled by 1e18
     */
    function borrowRatePerTimestamp() external view returns (uint) {
        bytes memory data = delegateToViewImplementation(abi.encodeWithSignature("borrowRatePerTimestamp()"));
        return abi.decode(data, (uint));
    }

    /**
     * @notice Returns the current per-timestamp supply interest rate for this qiToken
     * @return The supply interest rate per timestmp, scaled by 1e18
     */
    function supplyRatePerTimestamp() external view returns (uint) {
        bytes memory data = delegateToViewImplementation(abi.encodeWithSignature("supplyRatePerTimestamp()"));
        return abi.decode(data, (uint));
    }

    /**
     * @notice Returns the current total borrows plus accrued interest
     * @return The total borrows with interest
     */
    function totalBorrowsCurrent() external returns (uint) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("totalBorrowsCurrent()"));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("borrowBalanceCurrent(address)", account));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToViewImplementation(abi.encodeWithSignature("borrowBalanceStored(address)", account));
        return abi.decode(data, (uint));
    }

   /**
     * @notice Accrue interest then return the up-to-date exchange rate
     * @return Calculated exchange rate scaled by 1e18
     */
    function exchangeRateCurrent() public returns (uint) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("exchangeRateCurrent()"));
        return abi.decode(data, (uint));
    }

    /**
     * @notice Calculates the exchange rate from the underlying to the QiToken
     * @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) {
        bytes memory data = delegateToViewImplementation(abi.encodeWithSignature("exchangeRateStored()"));
        return abi.decode(data, (uint));
    }

    /**
     * @notice Get cash balance of this qiToken in the underlying asset
     * @return The quantity of underlying asset owned by this contract
     */
    function getCash() external view returns (uint) {
        bytes memory data = delegateToViewImplementation(abi.encodeWithSignature("getCash()"));
        return abi.decode(data, (uint));
    }

    /**
      * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("accrueInterest()"));
        return abi.decode(data, (uint));
    }

    /**
     * @notice Transfers collateral tokens (this market) to the liquidator.
     * @dev Will fail unless called by another qiToken during the process of liquidation.
     *  Its absolutely critical to use msg.sender as the borrowed qiToken and not a parameter.
     * @param liquidator The account receiving seized collateral
     * @param borrower The account having collateral seized
     * @param seizeTokens The number of qiTokens 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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("seize(address,address,uint256)", liquidator, borrower, seizeTokens));
        return abi.decode(data, (uint));
    }

    /**
     * @notice A public function to sweep accidental ERC-20 transfers to this contract. Tokens are sent to admin (timelock)
     * @param token The address of the ERC-20 token to sweep
     */
    function sweepToken(EIP20NonStandardInterface token) external {
        delegateToImplementation(abi.encodeWithSignature("sweepToken(address)", token));
    }


    /*** 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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("_setPendingAdmin(address)", newPendingAdmin));
        return abi.decode(data, (uint));
    }

    /**
      * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("_setComptroller(address)", newComptroller));
        return abi.decode(data, (uint));
    }

    /**
      * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("_setReserveFactor(uint256)", newReserveFactorMantissa));
        return abi.decode(data, (uint));
    }

    /**
      * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("_acceptAdmin()"));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("_addReserves(uint256)", addAmount));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("_reduceReserves(uint256)", reduceAmount));
        return abi.decode(data, (uint));
    }

    /**
     * @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) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("_setInterestRateModel(address)", newInterestRateModel));
        return abi.decode(data, (uint));
    }

    /**
      * @notice accrues interest and sets a new protocol seize share for the protocol using _setProtocolSeizeShareFresh
      * @dev Admin function to accrue interest and set a new protocol seize share
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _setProtocolSeizeShare(uint newProtocolSeizeShareMantissa) external returns (uint) {
        bytes memory data = delegateToImplementation(abi.encodeWithSignature("_setProtocolSeizeShare(uint256)", newProtocolSeizeShareMantissa));
        return abi.decode(data, (uint));
    }

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

    /**
     * @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,"QiErc20Delegator:fallback: cannot send value to fallback");

        // delegate all other functions to current implementation
        (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) }
        }
    }
}

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":"qiTokenCollateral","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":"oldProtocolSeizeShareMantissa","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newProtocolSeizeShareMantissa","type":"uint256"}],"name":"NewProtocolSeizeShare","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":"newProtocolSeizeShareMantissa","type":"uint256"}],"name":"_setProtocolSeizeShare","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":"accrualBlockTimestamp","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":"borrowRatePerTimestamp","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":"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":"isQiToken","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 QiTokenInterface","name":"qiTokenCollateral","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":true,"inputs":[],"name":"protocolSeizeShareMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"supplyRatePerTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract EIP20NonStandardInterface","name":"token","type":"address"}],"name":"sweepToken","outputs":[],"payable":false,"stateMutability":"nonpayable","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"}]

60806040523480156200001157600080fd5b506040516200267d3803806200267d83398181016040526101408110156200003857600080fd5b81516020830151604080850151606086015160808701805193519597949692959194919392820192846401000000008211156200007457600080fd5b9083019060208201858111156200008a57600080fd5b8251640100000000811182820188101715620000a557600080fd5b82525081516020918201929091019080838360005b83811015620000d4578181015183820152602001620000ba565b50505050905090810190601f168015620001025780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200012657600080fd5b9083019060208201858111156200013c57600080fd5b82516401000000008111828201881017156200015757600080fd5b82525081516020918201929091019080838360005b83811015620001865781810151838201526020016200016c565b50505050905090810190601f168015620001b45780820380516001836020036101000a031916815260200191505b50604081815260208301519083015160608401516080909401805192969195919284640100000000821115620001e957600080fd5b908301906020820185811115620001ff57600080fd5b82516401000000008111828201881017156200021a57600080fd5b82525081516020918201929091019080838360005b83811015620002495781810151838201526020016200022f565b50505050905090810190601f168015620002775780820380516001836020036101000a031916815260200191505b5060405250505033600360016101000a8154816001600160a01b0302191690836001600160a01b0316021790555062000424828b8b8b8b8b8b8b60405160240180886001600160a01b03166001600160a01b03168152602001876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b0316815260200185815260200180602001806020018460ff1660ff168152602001838103835286818151815260200191508051906020019080838360005b838110156200035157818101518382015260200162000337565b50505050905090810190601f1680156200037f5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015620003b45781810151838201526020016200039a565b50505050905090810190601f168015620003e25780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116631a31d46560e01b17909152909a50620004721698505050505050505050565b506200043c826000836001600160e01b036200053916565b5050600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055506200071a95505050505050565b606060006060846001600160a01b0316846040518082805190602001908083835b60208310620004b45780518252601f19909201916020918201910162000493565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811462000516576040519150601f19603f3d011682016040523d82523d6000602084013e6200051b565b606091505b5091509150600082141562000531573d60208201fd5b949350505050565b60035461010090046001600160a01b03163314620005895760405162461bcd60e51b815260040180806020018281038252603a81526020018062002643603a913960400191505060405180910390fd5b8115620005cb576040805160048152602481019091526020810180516001600160e01b0390811663153ab50560e01b17909152620005c99190620006f016565b505b601380546001600160a01b038581166001600160a01b03198316179092556040516020602482018181528551604484015285519490931693620006a1938693909283926064909201919085019080838360005b83811015620006385781810151838201526020016200061e565b50505050905090810190601f168015620006665780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116630adccee560e31b17909152909350620006f016915050565b50601354604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b60135460609062000714906001600160a01b0316836001600160e01b036200047216565b92915050565b611f19806200072a6000396000f3fe60806040526004361061031a5760003560e01c806373acee98116101ab578063bd6d894d116100f7578063dd62ed3e11610095578063f3fdb15a1161006f578063f3fdb15a14610d63578063f5e3c46214610d78578063f851a44014610dbb578063fca7820b14610dd05761031a565b8063dd62ed3e14610ce0578063e9c714f214610d1b578063f2b3abbd14610d305761031a565b8063cd91801c116100d1578063cd91801c14610c77578063cfa9920114610c8c578063d3bd2c7214610ca1578063db006a7514610cb65761031a565b8063bd6d894d14610bdf578063c37f68e214610bf4578063c5ebeaec14610c4d5761031a565b806395dd919311610164578063a9059cbb1161013e578063a9059cbb14610b1b578063aa5af0fd14610b54578063b2a02ff114610b69578063b71d1a0c14610bac5761031a565b806395dd919314610aa9578063a0712d6814610adc578063a6afed9514610b065761031a565b806373acee9814610a015780638303084614610a16578063840bbeac14610a40578063852a12e314610a555780638f840ddd14610a7f57806395d89b4114610a945761031a565b80633af9e6691161026a578063555bcc4011610223578063601a0bf1116101fd578063601a0bf11461097a5780636752e702146109a45780636f307dc3146109b957806370a08231146109ce5761031a565b8063555bcc40146108885780635c60da1b146109505780635fe3b567146109655761031a565b80633af9e6691461071d5780633b1d21a2146107505780633e941010146107655780634487152f1461078f5780634576b5db1461084057806347bd3718146108735761031a565b806318160ddd116102d757806323b872dd116102b157806323b872dd146106455780632608f8181461068857806326782247146106c1578063313ce567146106f25761031a565b806318160ddd146105e6578063182df0f5146105fb5780631be19560146106105761031a565b806306fdde03146103da5780630933c1ed14610464578063095ea7b3146105155780630e75270214610562578063173b99041461059e57806317bfdfbc146105b3575b34156103575760405162461bcd60e51b8152600401808060200182810382526038815260200180611ead6038913960400191505060405180910390fd5b6013546040516000916001600160a01b031690829036908083838082843760405192019450600093509091505080830381855af49150503d80600081146103ba576040519150601f19603f3d011682016040523d82523d6000602084013e6103bf565b606091505b505090506040513d6000823e8180156103d6573d82f35b3d82fd5b3480156103e657600080fd5b506103ef610dfa565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610429578181015183820152602001610411565b50505050905090810190601f1680156104565780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561047057600080fd5b506103ef6004803603602081101561048757600080fd5b810190602081018135600160201b8111156104a157600080fd5b8201836020820111156104b357600080fd5b803590602001918460018302840111600160201b831117156104d457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e87945050505050565b34801561052157600080fd5b5061054e6004803603604081101561053857600080fd5b506001600160a01b038135169060200135610ea6565b604080519115158252519081900360200190f35b34801561056e57600080fd5b5061058c6004803603602081101561058557600080fd5b5035610f1d565b60408051918252519081900360200190f35b3480156105aa57600080fd5b5061058c610f84565b3480156105bf57600080fd5b5061058c600480360360208110156105d657600080fd5b50356001600160a01b0316610f8a565b3480156105f257600080fd5b5061058c610fdc565b34801561060757600080fd5b5061058c610fe2565b34801561061c57600080fd5b506106436004803603602081101561063357600080fd5b50356001600160a01b0316611039565b005b34801561065157600080fd5b5061054e6004803603606081101561066857600080fd5b506001600160a01b03813581169160208101359091169060400135611088565b34801561069457600080fd5b5061058c600480360360408110156106ab57600080fd5b506001600160a01b038135169060200135611108565b3480156106cd57600080fd5b506106d661115e565b604080516001600160a01b039092168252519081900360200190f35b3480156106fe57600080fd5b5061070761116d565b6040805160ff9092168252519081900360200190f35b34801561072957600080fd5b5061058c6004803603602081101561074057600080fd5b50356001600160a01b0316611176565b34801561075c57600080fd5b5061058c6111c8565b34801561077157600080fd5b5061058c6004803603602081101561078857600080fd5b5035611200565b34801561079b57600080fd5b506103ef600480360360208110156107b257600080fd5b810190602081018135600160201b8111156107cc57600080fd5b8201836020820111156107de57600080fd5b803590602001918460018302840111600160201b831117156107ff57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611247945050505050565b34801561084c57600080fd5b5061058c6004803603602081101561086357600080fd5b50356001600160a01b0316611466565b34801561087f57600080fd5b5061058c6114b8565b34801561089457600080fd5b50610643600480360360608110156108ab57600080fd5b6001600160a01b03823516916020810135151591810190606081016040820135600160201b8111156108dc57600080fd5b8201836020820111156108ee57600080fd5b803590602001918460018302840111600160201b8311171561090f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506114be945050505050565b34801561095c57600080fd5b506106d6611661565b34801561097157600080fd5b506106d6611670565b34801561098657600080fd5b5061058c6004803603602081101561099d57600080fd5b503561167f565b3480156109b057600080fd5b5061058c6116c6565b3480156109c557600080fd5b506106d66116cc565b3480156109da57600080fd5b5061058c600480360360208110156109f157600080fd5b50356001600160a01b03166116db565b348015610a0d57600080fd5b5061058c61172d565b348015610a2257600080fd5b5061058c60048036036020811015610a3957600080fd5b5035611765565b348015610a4c57600080fd5b5061054e6117ac565b348015610a6157600080fd5b5061058c60048036036020811015610a7857600080fd5b50356117b1565b348015610a8b57600080fd5b5061058c6117f8565b348015610aa057600080fd5b506103ef6117fe565b348015610ab557600080fd5b5061058c60048036036020811015610acc57600080fd5b50356001600160a01b0316611856565b348015610ae857600080fd5b5061058c60048036036020811015610aff57600080fd5b50356118a8565b348015610b1257600080fd5b5061058c6118ef565b348015610b2757600080fd5b5061054e60048036036040811015610b3e57600080fd5b506001600160a01b038135169060200135611927565b348015610b6057600080fd5b5061058c61197d565b348015610b7557600080fd5b5061058c60048036036060811015610b8c57600080fd5b506001600160a01b03813581169160208101359091169060400135611983565b348015610bb857600080fd5b5061058c60048036036020811015610bcf57600080fd5b50356001600160a01b03166119e1565b348015610beb57600080fd5b5061058c611a33565b348015610c0057600080fd5b50610c2760048036036020811015610c1757600080fd5b50356001600160a01b0316611a6b565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610c5957600080fd5b5061058c60048036036020811015610c7057600080fd5b5035611afd565b348015610c8357600080fd5b5061058c611b44565b348015610c9857600080fd5b5061058c611b7c565b348015610cad57600080fd5b5061058c611b82565b348015610cc257600080fd5b5061058c60048036036020811015610cd957600080fd5b5035611bba565b348015610cec57600080fd5b5061058c60048036036040811015610d0357600080fd5b506001600160a01b0381358116916020013516611c01565b348015610d2757600080fd5b5061058c611c5b565b348015610d3c57600080fd5b5061058c60048036036020811015610d5357600080fd5b50356001600160a01b0316611c93565b348015610d6f57600080fd5b506106d6611ce5565b348015610d8457600080fd5b5061058c60048036036060811015610d9b57600080fd5b506001600160a01b03813581169160208101359160409091013516611cf4565b348015610dc757600080fd5b506106d6611d55565b348015610ddc57600080fd5b5061058c60048036036020811015610df357600080fd5b5035611d69565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610e7f5780601f10610e5457610100808354040283529160200191610e7f565b820191906000526020600020905b815481529060010190602001808311610e6257829003601f168201915b505050505081565b601354606090610ea0906001600160a01b031683611db0565b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052600090606090610efc90610e87565b9050808060200190516020811015610f1357600080fd5b5051949350505050565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663073a938160e11b179052600090606090610f6490610e87565b9050808060200190516020811015610f7b57600080fd5b50519392505050565b60085481565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166305eff7ef60e21b179052600090606090610f6490610e87565b600d5481565b6040805160048152602481019091526020810180516001600160e01b031663182df0f560e01b17905260009060609061101a90611247565b905080806020019051602081101561103157600080fd5b505191505090565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b031662df0cab60e51b17905261108490610e87565b5050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526000906060906110e690610e87565b90508080602001905160208110156110fd57600080fd5b505195945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b03166304c11f0360e31b179052600090606090610efc90610e87565b6004546001600160a01b031681565b60035460ff1681565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b0316633af9e66960e01b179052600090606090610f6490610e87565b6040805160048152602481019091526020810180516001600160e01b0316631d8e90d160e11b17905260009060609061101a90611247565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b03166303e9410160e41b179052600090606090610f6490610e87565b606060006060306001600160a01b0316846040516024018080602001828103825283818151815260200191508051906020019080838360005b83811015611298578181015183820152602001611280565b50505050905090810190601f1680156112c55780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b178152905182519295509350839250908083835b602083106113205780518252601f199092019160209182019101611301565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611380576040519150601f19603f3d011682016040523d82523d6000602084013e611385565b606091505b5091509150600082141561139a573d60208201fd5b8080602001905160208110156113af57600080fd5b8101908080516040519392919084600160201b8211156113ce57600080fd5b9083019060208201858111156113e357600080fd5b8251600160201b8111828201881017156113fc57600080fd5b82525081516020918201929091019080838360005b83811015611429578181015183820152602001611411565b50505050905090810190601f1680156114565780820380516001836020036101000a031916815260200191505b5060405250505092505050919050565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b0316634576b5db60e01b179052600090606090610f6490610e87565b600b5481565b60035461010090046001600160a01b0316331461150c5760405162461bcd60e51b815260040180806020018281038252603a815260200180611e73603a913960400191505060405180910390fd5b8115611546576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b17905261154490610e87565b505b601380546001600160a01b038581166001600160a01b03198316179092556040516020602482018181528551604484015285519490931693611612938693909283926064909201919085019080838360005b838110156115b0578181015183820152602001611598565b50505050905090810190601f1680156115dd5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b1790529250610e87915050565b50601354604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b6013546001600160a01b031681565b6005546001600160a01b031681565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663601a0bf160e01b179052600090606090610f6490610e87565b60115481565b6012546001600160a01b031681565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166370a0823160e01b179052600090606090610f6490611247565b6040805160048152602481019091526020810180516001600160e01b0316630e759dd360e31b17905260009060609061101a90610e87565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b0316634181842360e11b179052600090606090610f6490610e87565b600181565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663852a12e360e01b179052600090606090610f6490610e87565b600c5481565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610e7f5780601f10610e5457610100808354040283529160200191610e7f565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166395dd919360e01b179052600090606090610f6490611247565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663140e25ad60e31b179052600090606090610f6490610e87565b6040805160048152602481019091526020810180516001600160e01b031663a6afed9560e01b17905260009060609061101a90610e87565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052600090606090610efc90610e87565b600a5481565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b031663b2a02ff160e01b1790526000906060906110e690610e87565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b0316632dc7468360e21b179052600090606090610f6490610e87565b6040805160048152602481019091526020810180516001600160e01b031663bd6d894d60e01b17905260009060609061101a90610e87565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166361bfb47160e11b179052600090819081908190606090611ac390611247565b9050808060200190516080811015611ada57600080fd5b508051602082015160408301516060909301519199909850919650945092505050565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663317afabb60e21b179052600090606090610f6490610e87565b6040805160048152602481019091526020810180516001600160e01b0316633364600760e21b17905260009060609061101a90611247565b60095481565b6040805160048152602481019091526020810180516001600160e01b03166369de963960e11b17905260009060609061101a90611247565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663db006a7560e01b179052600090606090610f6490610e87565b604080516001600160a01b03808516602483015283166044808301919091528251808303909101815260649091019091526020810180516001600160e01b0316636eb1769f60e11b179052600090606090610efc90611247565b6040805160048152602481019091526020810180516001600160e01b03166374e38a7960e11b17905260009060609061101a90610e87565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b031663f2b3abbd60e01b179052600090606090610f6490610e87565b6006546001600160a01b031681565b604080516001600160a01b0380861660248301526044820185905283166064808301919091528251808303909101815260849091019091526020810180516001600160e01b0316637af1e23160e11b1790526000906060906110e690610e87565b60035461010090046001600160a01b031681565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663fca7820b60e01b179052600090606090610f6490610e87565b606060006060846001600160a01b0316846040518082805190602001908083835b60208310611df05780518252601f199092019160209182019101611dd1565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611e50576040519150601f19603f3d011682016040523d82523d6000602084013e611e55565b606091505b50915091506000821415611e6a573d60208201fd5b94935050505056fe5169457263323044656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696e5169457263323044656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636ba265627a7a7231582021d83169b5a0da20be36b6e62318356c6935d50ad17c65f9bc1bf3bf84ab8a2b64736f6c634300051100325169457263323044656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696e0000000000000000000000005947bb275c521040051d82396192181b413227a3000000000000000000000000486af39519b4dc9a7fccd318217352830e8ad9b4000000000000000000000000f805e22c81ef330967eec52f7edb0c6b31fd5ccf000000000000000000000000000000000000000000a56fa5b99019a5c80000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000080000000000000000000000005423819b3b5bb38b0e9e9e59f22f9034e2d8819b00000000000000000000000076145e99d3f4165a313e8219141ae0d26900b71000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000a42656e7169204c494e4b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000671694c494e4b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000

Deployed ByteCode Sourcemap

17822:23691:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41000:9;:14;40992:82;;;;-1:-1:-1;;;40992:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41173:14;;:37;;41155:12;;-1:-1:-1;;;;;41173:14:0;;41155:12;;41201:8;;41173:37;41155:12;41201:8;;41155:12;41173:37;1:33:-1;41173:37:0;;45:16:-1;;;-1:-1;41173:37:0;;-1:-1:-1;41173:37:0;;-1:-1:-1;;41173: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;;41154:56:0;;;41273:4;41267:11;41324:14;41321:1;41307:12;41292:47;41362:7;41383:47;;;;41475:14;41461:12;41454:36;41383:47;41413:14;41399:12;41392:36;7265:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7265: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;7265:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39760:141;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39760:141:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39760:141:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;39760:141:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39760: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;39760:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39760:141:0;;-1:-1:-1;39760:141:0;;-1:-1:-1;;;;;39760:141:0:i;26877:249::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26877:249:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26877:249:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;23705:230;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23705:230:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23705:230:0;;:::i;:::-;;;;;;;;;;;;;;;;8570:33;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8570:33:0;;;:::i;30720:243::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30720:243:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30720:243:0;-1:-1:-1;;;;;30720:243:0;;:::i;9218:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9218:23:0;;;:::i;32033:215::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32033:215:0;;;:::i;34139:160::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34139:160:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34139:160:0;-1:-1:-1;;;;;34139:160:0;;:::i;:::-;;26130:277;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26130:277:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26130:277:0;;;;;;;;;;;;;;;;;:::i;24223:278::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24223:278:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24223:278:0;;;;;;;;:::i;7992:35::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7992:35:0;;;:::i;:::-;;;;-1:-1:-1;;;;;7992:35:0;;;;;;;;;;;;;;7461:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7461:21:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28388:237;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28388:237:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28388:237:0;-1:-1:-1;;;;;28388:237:0;;:::i;32419:195::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32419:195:0;;;:::i;36778:228::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36778:228:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36778:228:0;;:::i;40323:434::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40323:434:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40323:434:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;40323:434:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40323: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;40323:434:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;40323:434:0;;-1:-1:-1;40323:434:0;;-1:-1:-1;;;;;40323:434:0:i;35232:258::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35232:258:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35232:258:0;-1:-1:-1;;;;;35232:258:0;;:::i;8982:24::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8982:24:0;;;:::i;20614:646::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20614:646:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;20614:646:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;20614:646:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;20614:646: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;20614:646:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;20614:646:0;;-1:-1:-1;20614:646:0;;-1:-1:-1;;;;;20614:646:0:i;16296:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16296:29:0;;;:::i;8119:39::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8119:39:0;;;:::i;37259:240::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37259:240:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37259:240:0;;:::i;10191:38::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10191:38:0;;;:::i;15338:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15338:25:0;;;:::i;27906:226::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27906:226:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27906:226:0;-1:-1:-1;;;;;27906:226:0;;:::i;30219:210::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30219:210:0;;;:::i;38467:288::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38467:288:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38467:288:0;;:::i;10383:37::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10383:37:0;;;:::i;22765:242::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22765:242:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22765:242:0;;:::i;9112:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9112:25:0;;;:::i;7361:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7361:20:0;;;:::i;31172:248::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31172:248:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31172:248:0;-1:-1:-1;;;;;31172:248:0;;:::i;21619:214::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21619:214:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21619:214:0;;:::i;32870:198::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32870:198:0;;;:::i;25583:240::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25583:240:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;25583:240:0;;;;;;;;:::i;8847:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8847:23:0;;;:::i;33632:294::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33632:294:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;33632:294:0;;;;;;;;;;;;;;;;;:::i;34748:259::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34748:259:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34748:259:0;-1:-1:-1;;;;;34748:259:0;;:::i;31574:208::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31574:208:0;;;:::i;28971:284::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28971:284:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28971:284:0;-1:-1:-1;;;;;28971:284:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23275:222;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23275:222:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23275:222:0;;:::i;29439:225::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29439:225:0;;;:::i;8693:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8693:33:0;;;:::i;29848:225::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29848:225:0;;;:::i;22186:222::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22186:222:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22186:222:0;;:::i;27456:260::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27456:260:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27456:260:0;;;;;;;;;;:::i;36339:196::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36339:196:0;;;:::i;37868:279::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37868:279:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37868:279:0;-1:-1:-1;;;;;37868:279:0;;:::i;8260:42::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8260:42:0;;;:::i;24985:337::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24985:337:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24985:337:0;;;;;;;;;;;;;;;;;:::i;7881:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7881:28:0;;;:::i;35793:268::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35793:268:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35793:268:0;;:::i;7265:18::-;;;;;;;;;;;;;;;-1:-1:-1;;7265:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39760:141::-;39872:14;;39829:12;;39861:32;;-1:-1:-1;;;;;39872:14:0;39888:4;39861:10;:32::i;:::-;39854:39;39760:141;-1:-1:-1;;39760:141:0:o;26877:249::-;27007:68;;;-1:-1:-1;;;;;27007:68:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;27007:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;26945:4:0;;26962:17;;26982:94;;:24;:94::i;:::-;26962:114;;27105:4;27094:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27094:24:0;;26877:249;-1:-1:-1;;;;26877:249:0:o;23705:230::-;23824:60;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;23824:60:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;23762:4:0;;23779:17;;23799:86;;:24;:86::i;:::-;23779:106;;23914:4;23903:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23903:24:0;;23705:230;-1:-1:-1;;;23705:230:0:o;8570:33::-;;;;:::o;30720:243::-;30847:65;;;-1:-1:-1;;;;;30847:65:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;30847:65:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;30785:4:0;;30802:17;;30822:91;;:24;:91::i;9218:23::-;;;;:::o;32033:215::-;32150:47;;;22:32:-1;6:49;;32150:47:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;32084:4:0;;32101:17;;32121:77;;:28;:77::i;:::-;32101:97;;32227:4;32216:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32216:24:0;;-1:-1:-1;;32033:215:0;:::o;34139:160::-;34237:53;;;-1:-1:-1;;;;;34237:53:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;34237:53:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;34212:79:0;;:24;:79::i;:::-;;34139:160;:::o;26130:277::-;26274:82;;;-1:-1:-1;;;;;26274:82:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;26274:82:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;26212:4:0;;26229:17;;26249:108;;:24;:108::i;:::-;26229:128;;26386:4;26375:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26375:24:0;;26130:277;-1:-1:-1;;;;;26130:277:0:o;24223:278::-;24366:84;;;-1:-1:-1;;;;;24366:84:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;24366:84:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;24304:4:0;;24321:17;;24341:110;;:24;:110::i;7992:35::-;;;-1:-1:-1;;;;;7992:35:0;;:::o;7461:21::-;;;;;;:::o;28388:237::-;28512:62;;;-1:-1:-1;;;;;28512:62:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;28512:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;28450:4:0;;28467:17;;28487:88;;:24;:88::i;32419:195::-;32527:36;;;22:32:-1;6:49;;32527:36:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;32461:4:0;;32478:17;;32498:66;;:28;:66::i;36778:228::-;36896:59;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;36896:59:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;36834:4:0;;36851:17;;36871:85;;:24;:85::i;40323:434::-;40401:12;40427;40441:23;40476:4;-1:-1:-1;;;;;40468:24:0;40552:4;40493: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;40493:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40493:64:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;40493:64:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;40468:90:0;;;;40493:64;;-1:-1:-1;40468:90:0;-1:-1:-1;40468:90:0;;-1:-1:-1;25:18;40468: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;;;40468: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;;40426:132:0;;;;40608:1;40599:7;40596:14;40593:2;;;40660:14;40653:4;40641:10;40637:21;40630:45;40593:2;40729:10;40718:31;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40718: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;40718:31:0;;420:4:-1;411:14;;;;40718:31:0;;;;;411:14:-1;40718: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;40718:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40711:38;;;;40323:434;;;:::o;35232:258::-;35372:67;;;-1:-1:-1;;;;;35372:67:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;35372:67:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;35310:4:0;;35327:17;;35347:93;;:24;:93::i;8982:24::-;;;;:::o;20614:646::-;20764:5;;;;;-1:-1:-1;;;;;20764:5:0;20750:10;:19;20742:90;;;;-1:-1:-1;;;20742:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20849:11;20845:120;;;20902:50;;;22:32:-1;6:49;;20902:50:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;20877:76:0;;:24;:76::i;:::-;;20845:120;21005:14;;;-1:-1:-1;;;;;21030:32:0;;;-1:-1:-1;;;;;;21030:32:0;;;;;;21100:81;;;;;;;;;;;;;;;;;21005:14;;;;;21075:107;;21156:24;;21100:81;;;;;;;;;;;;;;;;20977: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;21100:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21100:81:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;21100:81:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;21100:81:0;-1:-1:-1;21075:24:0;;-1:-1:-1;;21075:107:0:i;:::-;-1:-1:-1;21237:14:0;;21200:52;;;-1:-1:-1;;;;;21200:52:0;;;;;21237:14;;;21200:52;;;;;;;;;;;;;;;;20614:646;;;;:::o;16296:29::-;;;-1:-1:-1;;;;;16296:29:0;;:::o;8119:39::-;;;-1:-1:-1;;;;;8119:39:0;;:::o;37259:240::-;37383:65;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;37383:65:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;37321:4:0;;37338:17;;37358:91;;:24;:91::i;10191:38::-;;;;:::o;15338:25::-;;;-1:-1:-1;;;;;15338:25:0;;:::o;27906:226::-;28029:52;;;-1:-1:-1;;;;;28029:52:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;28029:52:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;27963:4:0;;27980:17;;28000:82;;:28;:82::i;30219:210::-;30330:48;;;22:32:-1;6:49;;30330:48:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;30268:4:0;;30285:17;;30305:74;;:24;:74::i;38467:288::-;38615:89;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;38615:89:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;38553:4:0;;38570:17;;38590:115;;:24;:115::i;10383:37::-;10416:4;10383:37;:::o;22765:242::-;22890:66;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;22890:66:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;22828:4:0;;22845:17;;22865:92;;:24;:92::i;9112:25::-;;;;:::o;7361:20::-;;;;;;;;;;;;;;-1:-1:-1;;7361:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31172:248;31305:64;;;-1:-1:-1;;;;;31305:64:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;31305:64:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;31239:4:0;;31256:17;;31276:94;;:28;:94::i;21619:214::-;21730:52;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;21730:52:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;21668:4:0;;21685:17;;21705:78;;:24;:78::i;32870:198::-;32974:43;;;22:32:-1;6:49;;32974:43:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;32912:4:0;;32929:17;;32949:69;;:24;:69::i;25583:240::-;25707:65;;;-1:-1:-1;;;;;25707:65:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;25707:65:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;25645:4:0;;25662:17;;25682:91;;:24;:91::i;8847:23::-;;;;:::o;33632:294::-;33783:92;;;-1:-1:-1;;;;;33783:92:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;33783:92:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;33721:4:0;;33738:17;;33758:118;;:24;:118::i;34748:259::-;34887:69;;;-1:-1:-1;;;;;34887:69:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;34887:69:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;34825:4:0;;34842:17;;34862:95;;:24;:95::i;31574:208::-;31683:48;;;22:32:-1;6:49;;31683:48:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;31621:4:0;;31638:17;;31658:74;;:24;:74::i;28971:284::-;29123:63;;;-1:-1:-1;;;;;29123:63:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;29123:63:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;29039:4:0;;;;;;;;29074:17;;29094:93;;:28;:93::i;:::-;29074:113;;29216:4;29205:42;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;29205:42:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;29205:42:0;;-1:-1:-1;29205:42:0;-1:-1:-1;28971:284:0;-1:-1:-1;;;28971:284:0:o;23275:222::-;23390:56;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;23390:56:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;23328:4:0;;23345:17;;23365:82;;:24;:82::i;29439:225::-;29562:51;;;22:32:-1;6:49;;29562:51:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;29496:4:0;;29513:17;;29533:81;;:28;:81::i;8693:33::-;;;;:::o;29848:225::-;29971:51;;;22:32:-1;6:49;;29971:51:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;29905:4:0;;29922:17;;29942:81;;:28;:81::i;22186:222::-;22301:56;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;22301:56:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;22239:4:0;;22256:17;;22276:82;;:24;:82::i;27456:260::-;27596:69;;;-1:-1:-1;;;;;27596:69:0;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;27596:69:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;27530:4:0;;27547:17;;27567:99;;:28;:99::i;36339:196::-;36443:41;;;22:32:-1;6:49;;36443:41:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;36381:4:0;;36398:17;;36418:67;;:24;:67::i;37868:279::-;38017:79;;;-1:-1:-1;;;;;38017:79:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;38017:79:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;37955:4:0;;37972:17;;37992:105;;:24;:105::i;8260:42::-;;;-1:-1:-1;;;;;8260:42:0;;:::o;24985:337::-;25162:109;;;-1:-1:-1;;;;;25162:109:0;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;25162:109:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;25100:4:0;;25117:17;;25137:135;;:24;:135::i;7881:28::-;;;;;;-1:-1:-1;;;;;7881:28:0;;:::o;35793:268::-;35931:79;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;35931:79:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;35869:4:0;;35886:17;;35906:105;;:24;:105::i;39115:343::-;39188:12;39214;39228:23;39255:6;-1:-1:-1;;;;;39255:19:0;39275:4;39255: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;;;39255: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;;39213:67:0;;;;39330:1;39321:7;39318:14;39315:2;;;39382:14;39375:4;39363:10;39359:21;39352:45;39315:2;39440:10;39115:343;-1:-1:-1;;;;39115:343:0:o

Swarm Source

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