Contract 0x3f323a6E3Bddff52529fA9ac94CFCc6E755A0242

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x7552086cbfc3402983aa007e0efda567200a35d7fc8b31bde9f58d12db9391acTransfer Ownersh...186388492021-09-01 21:45:0896 days 5 hrs ago0xab0c9bc6bcbaad9391c530f33f9294dec38ae189 IN  0x3f323a6e3bddff52529fa9ac94cfcc6e755a02420 MATIC0.00014469
0x2e5122010534806d0bc1d5efc883f49dbd3730dc625ce401d1b7d18b2340f4240x60806040186326052021-09-01 17:49:1596 days 9 hrs ago0xab0c9bc6bcbaad9391c530f33f9294dec38ae189 IN  Contract Creation0 MATIC0.009196055
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LendingManager

Compiler Version
v0.7.1+commit.f4a555be

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-09-01
*/

// File: Interfaces/ICallFacet.sol


pragma solidity ^0.7.1;

interface ICallFacet {

    event CallerAdded(address indexed caller);
    event CallerRemoved(address indexed caller);
    event Call(address indexed caller, address indexed target, bytes data, uint256 value);

    /**
        @notice Lets whitelisted callers execute a batch of arbitrary calls from the pool. Reverts if one of the calls fails
        @param _targets Array of addresses of targets to call
        @param _calldata Array of calldata for each call
        @param _values Array of amounts of ETH to send with the call
    */
    function call(
        address[] memory _targets,
        bytes[] memory _calldata,
        uint256[] memory _values
    ) external;

    /**
        @notice Lets whitelisted callers execute a batch of arbitrary calls from the pool without sending any Ether. Reverts if one of the calls fail
        @param _targets Array of addresses of targets to call
        @param _calldata Array of calldata for each call
    */
    function callNoValue(
        address[] memory _targets,
        bytes[] memory _calldata
    ) external;

    /**
        @notice Lets whitelisted callers execute a single arbitrary call from the pool. Reverts if the call fails
        @param _target Address of the target to call
        @param _calldata Calldata of the call
        @param _value Amount of ETH to send with the call
    */
    function singleCall(
        address _target,
        bytes calldata _calldata,
        uint256 _value
    ) external;

    /**
        @notice Add a whitelisted caller. Can only be called by the contract owner
        @param _caller Caller to add
    */
    function addCaller(address _caller) external;

    /**
        @notice Remove a whitelisted caller. Can only be called by the contract owner
    */
    function removeCaller(address _caller) external;

    /**
        @notice Checks if an address is a whitelisted caller
        @param _caller Address to check
        @return If the address is whitelisted
    */
    function canCall(address _caller) external view returns (bool);

    /**
        @notice Get all whitelisted callers
        @return Array of whitelisted callers
    */
    function getCallers() external view returns (address[] memory);
}
// File: Interfaces/IERC20Facet.sol


pragma solidity ^0.7.1;

interface IERC20Facet {
    
    /**
        @notice Get the token name
        @return The token name
    */
    function name() external view returns (string memory);

    /**
        @notice Get the token symbol
        @return The token symbol 
    */
    function symbol() external view returns (string memory);

    /**
        @notice Get the amount of decimals
        @return Amount of decimals
    */
    function decimals() external view returns (uint8);

    /**
        @notice Mints tokens. Can only be called by the contract owner or the contract itself
        @param _receiver Address receiving the tokens
        @param _amount Amount to mint
    */
    function mint(address _receiver, uint256 _amount) external;

    /**
        @notice Burns tokens. Can only be called by the contract owner or the contract itself
        @param _from Address to burn from
        @param _amount Amount to burn
    */
    function burn(address _from, uint256 _amount) external;

    /**
        @notice Sets up the metadata and initial supply. Can be called by the contract owner
        @param _initialSupply Initial supply of the token
        @param _name Name of the token
        @param _symbol Symbol of the token
    */
    function initialize(
        uint256 _initialSupply,
        string memory _name,
        string memory _symbol
    ) external;

    /**
        @notice Set the token name of the contract. Can only be called by the contract owner or the contract itself
        @param _name New token name
    */
    function setName(string calldata _name) external;

    /**
        @notice Set the token symbol of the contract. Can only be called by the contract owner or the contract itself
        @param _symbol New token symbol
    */
    function setSymbol(string calldata _symbol) external;
    
    /**
        @notice Increase the amount of tokens another address can spend
        @param _spender Spender
        @param _amount Amount to increase by
    */
    function increaseApproval(address _spender, uint256 _amount) external returns (bool);

    /**
        @notice Decrease the amount of tokens another address can spend
        @param _spender Spender
        @param _amount Amount to decrease by
    */
    function decreaseApproval(address _spender, uint256 _amount) external returns (bool);

}
// File: Interfaces/IBasketFacet.sol


pragma solidity ^0.7.1;

interface IBasketFacet {

    event TokenAdded(address indexed _token);
    event TokenRemoved(address indexed _token);
    event EntryFeeSet(uint256 fee);
    event ExitFeeSet(uint256 fee);
    event AnnualizedFeeSet(uint256 fee);
    event FeeBeneficiarySet(address indexed beneficiary);
    event EntryFeeBeneficiaryShareSet(uint256 share);
    event ExitFeeBeneficiaryShareSet(uint256 share);

    event PoolJoined(address indexed who, uint256 amount);
    event PoolExited(address indexed who, uint256 amount);
    event FeeCharged(uint256 amount);
    event LockSet(uint256 lockBlock);
    event CapSet(uint256 cap);

    /** 
        @notice Sets entry fee paid when minting
        @param _fee Amount of fee. 1e18 == 100%, capped at 10%
    */
    function setEntryFee(uint256 _fee) external;

    /**
        @notice Get the entry fee
        @return Current entry fee
    */
    function getEntryFee() external view returns(uint256);

    /**
        @notice Set the exit fee paid when exiting
        @param _fee Amount of fee. 1e18 == 100%, capped at 10%
    */
    function setExitFee(uint256 _fee) external;

    /**
        @notice Get the exit fee
        @return Current exit fee
    */
    function getExitFee() external view returns(uint256);

    /**
        @notice Set the annualized fee. Often referred to as streaming fee
        @param _fee Amount of fee. 1e18 == 100%, capped at 10%
    */
    function setAnnualizedFee(uint256 _fee) external;

    /**
        @notice Get the annualized fee.
        @return Current annualized fee.
    */
    function getAnnualizedFee() external view returns(uint256);

    /**
        @notice Set the address receiving the fees.
    */
    function setFeeBeneficiary(address _beneficiary) external;

    /**
        @notice Get the fee benificiary
        @return The current fee beneficiary
    */
    function getFeeBeneficiary() external view returns(address);

    /**
        @notice Set the fee beneficiaries share of the entry fee
        @notice _share Share of the fee. 1e18 == 100%. Capped at 100% 
    */
    function setEntryFeeBeneficiaryShare(uint256 _share) external;

    /**
        @notice Get the entry fee beneficiary share
        @return Feeshare amount
    */
    function getEntryFeeBeneficiaryShare() external view returns(uint256);

    /**
        @notice Set the fee beneficiaries share of the exit fee
        @notice _share Share of the fee. 1e18 == 100%. Capped at 100% 
    */
    function setExitFeeBeneficiaryShare(uint256 _share) external;

    /**
        @notice Get the exit fee beneficiary share
        @return Feeshare amount
    */
    function getExitFeeBeneficiaryShare() external view returns(uint256);

    /**
        @notice Calculate the oustanding annualized fee
        @return Amount of pool tokens to be minted to charge the annualized fee
    */
    function calcOutStandingAnnualizedFee() external view returns(uint256);

    /**
        @notice Charges the annualized fee
    */
    function chargeOutstandingAnnualizedFee() external;

    /**
        @notice Pulls underlying from caller and mints the pool token
        @param _amount Amount of pool tokens to mint
    */
    function joinPool(uint256 _amount) external;

    /**
        @notice Burns pool tokens from the caller and returns underlying assets
    */
    function exitPool(uint256 _amount) external;

    /**
        @notice Get if the pool is locked or not. (not accepting exit and entry)
        @return Boolean indicating if the pool is locked
    */
    function getLock() external view returns (bool);

    /**
        @notice Get the block until which the pool is locked
        @return The lock block
    */
    function getLockBlock() external view returns (uint256);

    /**
        @notice Set the lock block
        @param _lock Block height of the lock
    */
    function setLock(uint256 _lock) external;

    /**
        @notice Get the maximum of pool tokens that can be minted
        @return Cap
    */
    function getCap() external view returns (uint256);

    /**
        @notice Set the maximum of pool tokens that can be minted
        @param _maxCap Max cap 
    */
    function setCap(uint256 _maxCap) external;

    /**
        @notice Get the amount of tokens owned by the pool
        @param _token Addres of the token
        @return Amount owned by the contract
    */
    function balance(address _token) external view returns (uint256);

    /**
        @notice Get the tokens in the pool
        @return Array of tokens in the pool
    */
    function getTokens() external view returns (address[] memory);

    /**
        @notice Add a token to the pool. Should have at least a balance of 10**6
        @param _token Address of the token to add
    */
    function addToken(address _token) external;

    /**
        @notice Removes a token from the pool
        @param _token Address of the token to remove
    */
    function removeToken(address _token) external;

    /**
        @notice Checks if a token was added to the pool
        @param _token address of the token
        @return If token is in the pool or not
    */
    function getTokenInPool(address _token) external view returns (bool);

    /**
        @notice Calculate the amounts of underlying needed to mint that pool amount.
        @param _amount Amount of pool tokens to mint
        @return tokens Tokens needed
        @return amounts Amounts of underlying needed
    */
    function calcTokensForAmount(uint256 _amount)
        external
        view
        returns (address[] memory tokens, uint256[] memory amounts);

    /**
        @notice Calculate the amounts of underlying to receive when burning that pool amount
        @param _amount Amount of pool tokens to burn
        @return tokens Tokens returned
        @return amounts Amounts of underlying returned
    */
    function calcTokensForAmountExit(uint256 _amount)
        external
        view
        returns (address[] memory tokens, uint256[] memory amounts);
}
// File: Interfaces/IERC173.sol


pragma solidity ^0.7.1;

/// @title ERC-173 Contract Ownership Standard
///  Note: the ERC-165 identifier for this interface is 0x7f5828d0
/* is ERC165 */
interface IERC173 {
    /// @dev This emits when ownership of a contract changes.
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /// @notice Get the address of the owner
    /// @return owner_ The address of the owner.
    function owner() external view returns (address owner_);

    /// @notice Set the address of the new owner of the contract
    /// @dev Set _newOwner to address(0) to renounce any ownership.
    /// @param _newOwner The address of the new owner of the contract
    function transferOwnership(address _newOwner) external;
}
// File: Interfaces/IERC20.sol



pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: Interfaces/IExperiPie.sol


pragma solidity ^0.7.1;






/**
    @title ExperiPie Interface
    @dev Combines all ExperiPie facet interfaces into one
*/
interface IExperiPie is IERC20, IBasketFacet, IERC20Facet, IERC173, ICallFacet {
}
// File: Interfaces/ILendingLogic.sol


pragma solidity ^0.7.1;

interface ILendingLogic {
    /**
        @notice Get the APR based on underlying token.
        @param _token Address of the underlying token
        @return Interest with 18 decimals
    */
    function getAPRFromUnderlying(address _token) external view returns(uint256);

    /**
        @notice Get the APR based on wrapped token.
        @param _token Address of the wrapped token
        @return Interest with 18 decimals
    */
    function getAPRFromWrapped(address _token) external view returns(uint256);

    /**
        @notice Get the calls needed to lend.
        @param _underlying Address of the underlying token
        @param _amount Amount of the underlying token
        @return targets Addresses of the contracts to call
        @return data Calldata of the calls
    */
    function lend(address _underlying, uint256 _amount, address _tokenHolder) external view returns(address[] memory targets, bytes[] memory data);

    /**
        @notice Get the calls needed to unlend
        @param _wrapped Address of the wrapped token
        @param _amount Amount of the underlying tokens
        @return targets Addresses of the contracts to call
        @return data Calldata of the calls
    */
    function unlend(address _wrapped, uint256 _amount, address _tokenHolder) external view returns(address[] memory targets, bytes[] memory data);

    /**
        @notice Get the underlying wrapped exchange rate
        @param _wrapped Address of the wrapped token
        @return The exchange rate
    */
    function exchangeRate(address _wrapped) external returns(uint256);

    /**
        @notice Get the underlying wrapped exchange rate in a view (non state changing) way
        @param _wrapped Address of the wrapped token
        @return The exchange rate
    */
    function exchangeRateView(address _wrapped) external view returns(uint256);
}


// File: OpenZeppelin/Context.sol



pragma solidity ^0.7.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(msg.sender);
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}
// File: OpenZeppelin/Ownable.sol



pragma solidity ^0.7.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: LendingRegistry.sol


pragma solidity ^0.7.1;



// TODO consider making this contract upgradeable
contract LendingRegistry is Ownable {

    // Maps wrapped token to protocol
    mapping(address => bytes32) public wrappedToProtocol;
    // Maps wrapped token to underlying
    mapping(address => address) public wrappedToUnderlying;

    mapping(address => mapping(bytes32 => address)) public underlyingToProtocolWrapped;

    // Maps protocol to addresses containing lend and unlend logic
    mapping(bytes32 => address) public protocolToLogic;

    event WrappedToProtocolSet(address indexed wrapped, bytes32 indexed protocol);
    event WrappedToUnderlyingSet(address indexed wrapped, address indexed underlying);
    event ProtocolToLogicSet(bytes32 indexed protocol, address indexed logic);
    event UnderlyingToProtocolWrappedSet(address indexed underlying, bytes32 indexed protocol, address indexed wrapped);

    /**
        @notice Set which protocl a wrapped token belongs to
        @param _wrapped Address of the wrapped token
        @param _protocol Bytes32 key of the protocol
    */
    function setWrappedToProtocol(address _wrapped, bytes32 _protocol) onlyOwner external {
        wrappedToProtocol[_wrapped] = _protocol;
        emit WrappedToProtocolSet(_wrapped, _protocol);
    }

    /**
        @notice Set what is the underlying for a wrapped token
        @param _wrapped Address of the wrapped token
        @param _underlying Address of the underlying token
    */
    function setWrappedToUnderlying(address _wrapped, address _underlying) onlyOwner external {
        wrappedToUnderlying[_wrapped] = _underlying;
        emit WrappedToUnderlyingSet(_wrapped, _underlying);
    }

    /**
        @notice Set the logic contract for the protocol
        @param _protocol Bytes32 key of the protocol
        @param _logic Address of the lending logic contract for that protocol
    */
    function setProtocolToLogic(bytes32 _protocol, address _logic) onlyOwner external {
        protocolToLogic[_protocol] = _logic;
        emit ProtocolToLogicSet(_protocol, _logic);
    }

    /**
        @notice Set the wrapped token for the underlying deposited in this protocol
        @param _underlying Address of the unerlying token
        @param _protocol Bytes32 key of the protocol
        @param _wrapped Address of the wrapped token
    */
    function setUnderlyingToProtocolWrapped(address _underlying, bytes32 _protocol, address _wrapped) onlyOwner external {
        underlyingToProtocolWrapped[_underlying][_protocol] = _wrapped;
        emit UnderlyingToProtocolWrappedSet(_underlying, _protocol, _wrapped);
    }

    /**
        @notice Get tx data to lend the underlying amount in a specific protocol
        @param _underlying Address of the underlying token
        @param _amount Amount to lend
        @param _protocol Bytes32 key of the protocol
        @return targets Addresses of the contracts to call
        @return data Calldata for the calls
    */
    function getLendTXData(address _underlying, uint256 _amount, address _tokenHolder, bytes32 _protocol) external view returns(address[] memory targets, bytes[] memory data) {
        ILendingLogic lendingLogic = ILendingLogic(protocolToLogic[_protocol]);
        require(address(lendingLogic) != address(0), "NO_LENDING_LOGIC_SET");

        return lendingLogic.lend(_underlying, _amount, _tokenHolder);
    }

    /**
        @notice Get the tx data to unlend the wrapped amount
        @param _wrapped Address of the wrapped token
        @param _amount Amount of wrapped token to unlend
        @return targets Addresses of the contracts to call
        @return data Calldata for the calls
    */
    function getUnlendTXData(address _wrapped, uint256 _amount, address _tokenHolder) external view returns(address[] memory targets, bytes[] memory data) {
        ILendingLogic lendingLogic = ILendingLogic(protocolToLogic[wrappedToProtocol[_wrapped]]);
        require(address(lendingLogic) != address(0), "NO_LENDING_LOGIC_SET");

        return lendingLogic.unlend(_wrapped, _amount, _tokenHolder);
    }

    /**
        @notice Get the beste apr for the give protocols
        @dev returns default values if lending logic not found
        @param _underlying Address of the underlying token
        @param _protocols Array of protocols to include
        @return apr The APR
        @return protocol Protocol that provides the APR
    */
    function getBestApr(address _underlying, bytes32[] memory _protocols) external view returns(uint256 apr, bytes32 protocol) {
        uint256 bestApr;
        bytes32 bestProtocol;

        for(uint256 i = 0; i < _protocols.length; i++) {
            bytes32 protocol = _protocols[i];
            ILendingLogic lendingLogic = ILendingLogic(protocolToLogic[protocol]);
            require(address(lendingLogic) != address(0), "NO_LENDING_LOGIC_SET");

            uint256 apr = lendingLogic.getAPRFromUnderlying(_underlying);
            if (apr > bestApr) {
                bestApr = apr;
                bestProtocol = protocol;
            }
        }

        return (bestApr, bestProtocol);
    }
}
// File: OpenZeppelin/Math.sol



pragma solidity ^0.7.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}
// File: OpenZeppelin/ReentrancyGuard.sol



pragma solidity ^0.7.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}
// File: LendingManager.sol


pragma experimental ABIEncoderV2;
pragma solidity ^0.7.1;






contract LendingManager is Ownable, ReentrancyGuard {
    using Math for uint256;

    LendingRegistry public lendingRegistry;
    IExperiPie public basket;

    event Lend(address indexed underlying, uint256 amount, bytes32 indexed protocol);
    event UnLend(address indexed wrapped, uint256 amount);
    /**
        @notice Constructor
        @param _lendingRegistry Address of the lendingRegistry contract
        @param _basket Address of the pool/pie/basket to manage
    */
    constructor(address _lendingRegistry, address _basket) public {
        require(_lendingRegistry != address(0), "INVALID_LENDING_REGISTRY");
        require(_basket != address(0), "INVALID_BASKET");
        lendingRegistry = LendingRegistry(_lendingRegistry);
        basket = IExperiPie(_basket);
    }

    /**
        @notice Move underlying to a lending protocol
        @param _underlying Address of the underlying token
        @param _amount Amount of underlying to lend
        @param _protocol Bytes32 protocol key to lend to
    */
    function lend(address _underlying, uint256 _amount, bytes32 _protocol) public onlyOwner nonReentrant {
        // _amount or actual balance, whatever is less
        uint256 amount = _amount.min(IERC20(_underlying).balanceOf(address(basket)));

        //lend token
        (
            address[] memory _targets,
            bytes[] memory _data
        ) = lendingRegistry.getLendTXData(_underlying, amount, address(basket) ,_protocol);

        basket.callNoValue(_targets, _data);

        // if needed remove underlying from basket
        removeToken(_underlying);

        // add wrapped token
        addToken(lendingRegistry.underlyingToProtocolWrapped(_underlying, _protocol));

        emit Lend(_underlying, _amount, _protocol);
    }

    /**
        @notice Unlend wrapped token from its lending protocol
        @param _wrapped Address of the wrapped token
        @param _amount Amount of the wrapped token to unlend
    */
    function unlend(address _wrapped, uint256 _amount) public onlyOwner nonReentrant {
        // unlend token
         // _amount or actual balance, whatever is less
        uint256 amount = _amount.min(IERC20(_wrapped).balanceOf(address(basket)));

        //Unlend token
        (
            address[] memory _targets,
            bytes[] memory _data
        ) = lendingRegistry.getUnlendTXData(_wrapped, amount, address(basket));
        basket.callNoValue(_targets, _data);

        // if needed add underlying
        addToken(lendingRegistry.wrappedToUnderlying(_wrapped));

        // if needed remove wrapped
        removeToken(_wrapped);

        emit UnLend(_wrapped, _amount);
    }

    /**
        @notice Unlend and immediately lend in a different protocol
        @param _wrapped Address of the wrapped token to bounce to another protocol
        @param _amount Amount of the wrapped token to bounce to the other protocol
        @param _toProtocol Protocol to deposit bounced tokens in
        @dev Uses reentrency protection of unlend() and lend()
    */
    function bounce(address _wrapped, uint256 _amount, bytes32 _toProtocol) external {
       unlend(_wrapped, _amount);
       // Bounce all to new protocol
       lend(lendingRegistry.wrappedToUnderlying(_wrapped), uint256(-1), _toProtocol);
    }

    function removeToken(address _token) internal {
        uint256 balance = basket.balance(_token);
        bool inPool = basket.getTokenInPool(_token);
        //if there is a token balance of the token is not in the pool, skip
        if(balance != 0 || !inPool) {
            return;
        }

        // remove token
        basket.singleCall(address(basket), abi.encodeWithSelector(basket.removeToken.selector, _token), 0);
    }

    function addToken(address _token) internal {
        uint256 balance = basket.balance(_token);
        bool inPool = basket.getTokenInPool(_token);
        // If token has no balance or is already in the pool, skip
        if(balance == 0 || inPool) {
            return;
        }

        // add token
        basket.singleCall(address(basket), abi.encodeWithSelector(basket.addToken.selector, _token), 0);
    }
 
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lendingRegistry","type":"address"},{"internalType":"address","name":"_basket","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"protocol","type":"bytes32"}],"name":"Lend","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wrapped","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UnLend","type":"event"},{"inputs":[],"name":"basket","outputs":[{"internalType":"contract IExperiPie","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wrapped","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32","name":"_toProtocol","type":"bytes32"}],"name":"bounce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_underlying","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32","name":"_protocol","type":"bytes32"}],"name":"lend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lendingRegistry","outputs":[{"internalType":"contract LendingRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wrapped","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"unlend","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200226c3803806200226c83398181016040528101906200003791906200027d565b6000620000496200025e60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060018081905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000161576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001589062000342565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620001d4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001cb9062000364565b60405180910390fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620003e5565b600033905090565b6000815190506200027781620003cb565b92915050565b600080604083850312156200029157600080fd5b6000620002a18582860162000266565b9250506020620002b48582860162000266565b9150509250929050565b6000620002cd60188362000386565b91507f494e56414c49445f4c454e44494e475f524547495354525900000000000000006000830152602082019050919050565b60006200030f600e8362000386565b91507f494e56414c49445f4241534b45540000000000000000000000000000000000006000830152602082019050919050565b600060208201905081810360008301526200035d81620002be565b9050919050565b600060208201905081810360008301526200037f8162000300565b9050919050565b600082825260208201905092915050565b6000620003a482620003ab565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620003d68162000397565b8114620003e257600080fd5b50565b611e7780620003f56000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063e89d1ea31161005b578063e89d1ea3146100ed578063edc832b314610109578063eeb401a914610127578063f2fde38b1461014557610088565b8063715018a61461008d5780638da5cb5b14610097578063b7b4df38146100b5578063c8ab0a9f146100d1575b600080fd5b610095610161565b005b61009f6102b4565b6040516100ac91906119b6565b60405180910390f35b6100cf60048036038101906100ca91906115e9565b6102dd565b005b6100eb60048036038101906100e691906115ad565b6103c1565b005b610107600480360381019061010291906115e9565b6107e9565b005b610111610c17565b60405161011e9190611aeb565b60405180910390f35b61012f610c3d565b60405161013c9190611b06565b60405180910390f35b61015f600480360381019061015a919061155b565b610c63565b005b610169610e25565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146101f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed90611b41565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6102e783836103c1565b6103bc600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166355579d32856040518263ffffffff1660e01b815260040161034591906119b6565b60206040518083038186803b15801561035d57600080fd5b505afa158015610371573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103959190611584565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff836107e9565b505050565b6103c9610e25565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044d90611b41565b60405180910390fd5b6002600154141561049c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049390611b61565b60405180910390fd5b600260018190555060006105638373ffffffffffffffffffffffffffffffffffffffff166370a08231600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161050491906119b6565b60206040518083038186803b15801561051c57600080fd5b505afa158015610530573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055491906116cd565b83610e2d90919063ffffffff16565b9050606080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166358d28ef78685600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b81526004016105e993929190611a38565b60006040518083038186803b15801561060157600080fd5b505afa158015610615573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061063e9190611638565b91509150600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd509fd583836040518363ffffffff1660e01b815260040161069f929190611ab4565b600060405180830381600087803b1580156106b957600080fd5b505af11580156106cd573d6000803e3d6000fd5b50505050610784600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166355579d32876040518263ffffffff1660e01b815260040161072f91906119b6565b60206040518083038186803b15801561074757600080fd5b505afa15801561075b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077f9190611584565b610e46565b61078d856110eb565b8473ffffffffffffffffffffffffffffffffffffffff167f8d00b0a12de62fbaf47a01515094cbd0c9fcc0357a0af65f99786841500e77fd856040516107d39190611b81565b60405180910390a2505050600180819055505050565b6107f1610e25565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461087e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087590611b41565b60405180910390fd5b600260015414156108c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bb90611b61565b60405180910390fd5b6002600181905550600061098b8473ffffffffffffffffffffffffffffffffffffffff166370a08231600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161092c91906119b6565b60206040518083038186803b15801561094457600080fd5b505afa158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c91906116cd565b84610e2d90919063ffffffff16565b9050606080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adedc86a8785600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16886040518563ffffffff1660e01b8152600401610a139493929190611a6f565b60006040518083038186803b158015610a2b57600080fd5b505afa158015610a3f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610a689190611638565b91509150600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd509fd583836040518363ffffffff1660e01b8152600401610ac9929190611ab4565b600060405180830381600087803b158015610ae357600080fd5b505af1158015610af7573d6000803e3d6000fd5b50505050610b04866110eb565b610bb9600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d7aceec788876040518363ffffffff1660e01b8152600401610b649291906119d1565b60206040518083038186803b158015610b7c57600080fd5b505afa158015610b90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb49190611584565b610e46565b838673ffffffffffffffffffffffffffffffffffffffff167f487f0a0363a6dd1f773ac8a6ab336d93de1614f4dbaac2992c5698800b1ab1ca87604051610c009190611b81565b60405180910390a350505060018081905550505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c6b610e25565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cef90611b41565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5f90611b21565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000818310610e3c5781610e3e565b825b905092915050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e3d670d7836040518263ffffffff1660e01b8152600401610ea391906119b6565b60206040518083038186803b158015610ebb57600080fd5b505afa158015610ecf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef391906116cd565b90506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aecb9356846040518263ffffffff1660e01b8152600401610f5291906119b6565b60206040518083038186803b158015610f6a57600080fd5b505afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa291906116a4565b90506000821480610fb05750805b15610fbc5750506110e8565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166398a9884d600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1663d48bfca760e01b8660405160240161103691906119b6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060006040518463ffffffff1660e01b81526004016110b3939291906119fa565b600060405180830381600087803b1580156110cd57600080fd5b505af11580156110e1573d6000803e3d6000fd5b5050505050505b50565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e3d670d7836040518263ffffffff1660e01b815260040161114891906119b6565b60206040518083038186803b15801561116057600080fd5b505afa158015611174573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119891906116cd565b90506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aecb9356846040518263ffffffff1660e01b81526004016111f791906119b6565b60206040518083038186803b15801561120f57600080fd5b505afa158015611223573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124791906116a4565b9050600082141580611257575080155b1561126357505061138f565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166398a9884d600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16635fa7b58460e01b866040516024016112dd91906119b6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060006040518463ffffffff1660e01b815260040161135a939291906119fa565b600060405180830381600087803b15801561137457600080fd5b505af1158015611388573d6000803e3d6000fd5b5050505050505b50565b6000813590506113a181611de5565b92915050565b6000815190506113b681611de5565b92915050565b600082601f8301126113cd57600080fd5b81516113e06113db82611bc9565b611b9c565b9150818183526020840193506020810190508385602084028201111561140557600080fd5b60005b83811015611435578161141b88826113a7565b845260208401935060208301925050600181019050611408565b5050505092915050565b600082601f83011261145057600080fd5b815161146361145e82611bf1565b611b9c565b9150818183526020840193506020810190508360005b838110156114a9578151860161148f88826114dd565b845260208401935060208301925050600181019050611479565b5050505092915050565b6000815190506114c281611dfc565b92915050565b6000813590506114d781611e13565b92915050565b600082601f8301126114ee57600080fd5b81516115016114fc82611c19565b611b9c565b9150808252602083016020830185838301111561151d57600080fd5b611528838284611da1565b50505092915050565b60008135905061154081611e2a565b92915050565b60008151905061155581611e2a565b92915050565b60006020828403121561156d57600080fd5b600061157b84828501611392565b91505092915050565b60006020828403121561159657600080fd5b60006115a4848285016113a7565b91505092915050565b600080604083850312156115c057600080fd5b60006115ce85828601611392565b92505060206115df85828601611531565b9150509250929050565b6000806000606084860312156115fe57600080fd5b600061160c86828701611392565b935050602061161d86828701611531565b925050604061162e868287016114c8565b9150509250925092565b6000806040838503121561164b57600080fd5b600083015167ffffffffffffffff81111561166557600080fd5b611671858286016113bc565b925050602083015167ffffffffffffffff81111561168e57600080fd5b61169a8582860161143f565b9150509250929050565b6000602082840312156116b657600080fd5b60006116c4848285016114b3565b91505092915050565b6000602082840312156116df57600080fd5b60006116ed84828501611546565b91505092915050565b60006117028383611722565b60208301905092915050565b600061171a8383611822565b905092915050565b61172b81611cf5565b82525050565b61173a81611cf5565b82525050565b600061174b82611c65565b6117558185611ca0565b935061176083611c45565b8060005b8381101561179157815161177888826116f6565b975061178383611c86565b925050600181019050611764565b5085935050505092915050565b60006117a982611c70565b6117b38185611cb1565b9350836020820285016117c585611c55565b8060005b8581101561180157848403895281516117e2858261170e565b94506117ed83611c93565b925060208a019950506001810190506117c9565b50829750879550505050505092915050565b61181c81611d13565b82525050565b600061182d82611c7b565b6118378185611cc2565b9350611847818560208601611da1565b61185081611dd4565b840191505092915050565b600061186682611c7b565b6118708185611cd3565b9350611880818560208601611da1565b61188981611dd4565b840191505092915050565b61189d81611d47565b82525050565b6118ac81611d6b565b82525050565b6118bb81611d8f565b82525050565b60006118ce602683611ce4565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611934602083611ce4565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000611974601f83611ce4565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6119b081611d3d565b82525050565b60006020820190506119cb6000830184611731565b92915050565b60006040820190506119e66000830185611731565b6119f36020830184611813565b9392505050565b6000606082019050611a0f6000830186611731565b8181036020830152611a21818561185b565b9050611a3060408301846118b2565b949350505050565b6000606082019050611a4d6000830186611731565b611a5a60208301856119a7565b611a676040830184611731565b949350505050565b6000608082019050611a846000830187611731565b611a9160208301866119a7565b611a9e6040830185611731565b611aab6060830184611813565b95945050505050565b60006040820190508181036000830152611ace8185611740565b90508181036020830152611ae2818461179e565b90509392505050565b6000602082019050611b006000830184611894565b92915050565b6000602082019050611b1b60008301846118a3565b92915050565b60006020820190508181036000830152611b3a816118c1565b9050919050565b60006020820190508181036000830152611b5a81611927565b9050919050565b60006020820190508181036000830152611b7a81611967565b9050919050565b6000602082019050611b9660008301846119a7565b92915050565b6000604051905081810181811067ffffffffffffffff82111715611bbf57600080fd5b8060405250919050565b600067ffffffffffffffff821115611be057600080fd5b602082029050602081019050919050565b600067ffffffffffffffff821115611c0857600080fd5b602082029050602081019050919050565b600067ffffffffffffffff821115611c3057600080fd5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000611d0082611d1d565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611d5282611d59565b9050919050565b6000611d6482611d1d565b9050919050565b6000611d7682611d7d565b9050919050565b6000611d8882611d1d565b9050919050565b6000611d9a82611d3d565b9050919050565b60005b83811015611dbf578082015181840152602081019050611da4565b83811115611dce576000848401525b50505050565b6000601f19601f8301169050919050565b611dee81611cf5565b8114611df957600080fd5b50565b611e0581611d07565b8114611e1057600080fd5b50565b611e1c81611d13565b8114611e2757600080fd5b50565b611e3381611d3d565b8114611e3e57600080fd5b5056fea264697066735822122059af9b089253d36aea5bcfb3ad14a11fedd6268f4e2ca0fb66565f2daa44c47564736f6c63430007010033000000000000000000000000c94bc5c62c53e88d67c3874f5e8f91c6a99656ca000000000000000000000000d3f07ea86ddf7baebefd49731d7bbd207fedc53b

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

000000000000000000000000c94bc5c62c53e88d67c3874f5e8f91c6a99656ca000000000000000000000000d3f07ea86ddf7baebefd49731d7bbd207fedc53b

-----Decoded View---------------
Arg [0] : _lendingRegistry (address): 0xc94bc5c62c53e88d67c3874f5e8f91c6a99656ca
Arg [1] : _basket (address): 0xd3f07ea86ddf7baebefd49731d7bbd207fedc53b

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000c94bc5c62c53e88d67c3874f5e8f91c6a99656ca
Arg [1] : 000000000000000000000000d3f07ea86ddf7baebefd49731d7bbd207fedc53b


Deployed ByteCode Sourcemap

29071:4271:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19634:148;;;:::i;:::-;;18992:79;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;32204:249;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;31100:712;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;30129:766;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;29206:24;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29161:38;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19937:244;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;19634:148;19214:12;:10;:12::i;:::-;19204:22;;:6;;;;;;;;;;:22;;;19196:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;19741:1:::1;19704:40;;19725:6;::::0;::::1;;;;;;;;19704:40;;;;;;;;;;;;19772:1;19755:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;19634:148::o:0;18992:79::-;19030:7;19057:6;;;;;;;;;;;19050:13;;18992:79;:::o;32204:249::-;32295:25;32302:8;32312:7;32295:6;:25::i;:::-;32368:77;32373:15;;;;;;;;;;;:35;;;32409:8;32373:45;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32428:2;32433:11;32368:4;:77::i;:::-;32204:249;;;:::o;31100:712::-;19214:12;:10;:12::i;:::-;19204:22;;:6;;;;;;;;;;:22;;;19196:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;28022:1:::1;28619:7;;:19;;28611:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;28022:1;28752:7;:18;;;;31274:14:::2;31291:56;31310:8;31303:26;;;31338:6;;;;;;;;;;;31303:43;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31291:7;:11;;:56;;;;:::i;:::-;31274:73;;31399:25;31439:20:::0;31473:15:::2;;;;;;;;;;;:31;;;31505:8;31515:6;31531;;;;;;;;;;;31473:66;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31384:155;;;;31550:6;;;;;;;;;;;:18;;;31569:8;31579:5;31550:35;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;31635:55;31644:15;;;;;;;;;;;:35;;;31680:8;31644:45;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31635:8;:55::i;:::-;31740:21;31752:8;31740:11;:21::i;:::-;31786:8;31779:25;;;31796:7;31779:25;;;;;;:::i;:::-;;;;;;;;28783:1;;;27978::::1;28931:7:::0;:22:::1;;;;31100:712:::0;;:::o;30129:766::-;19214:12;:10;:12::i;:::-;19204:22;;:6;;;;;;;;;;:22;;;19196:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;28022:1:::1;28619:7;;:19;;28611:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;28022:1;28752:7;:18;;;;30297:14:::2;30314:59;30333:11;30326:29;;;30364:6;;;;;;;;;;;30326:46;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30314:7;:11;;:59;;;;:::i;:::-;30297:76;;30423:25;30463:20:::0;30497:15:::2;;;;;;;;;;;:29;;;30527:11;30540:6;30556;;;;;;;;;;;30565:9;30497:78;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30408:167;;;;30588:6;;;;;;;;;;;:18;;;30607:8;30617:5;30588:35;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;30688:24;30700:11;30688;:24::i;:::-;30755:77;30764:15;;;;;;;;;;;:43;;;30808:11;30821:9;30764:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30755:8;:77::i;:::-;30877:9;30855:11;30850:37;;;30868:7;30850:37;;;;;;:::i;:::-;;;;;;;;28783:1;;;27978::::1;28931:7:::0;:22:::1;;;;30129:766:::0;;;:::o;29206:24::-;;;;;;;;;;;;;:::o;29161:38::-;;;;;;;;;;;;;:::o;19937:244::-;19214:12;:10;:12::i;:::-;19204:22;;:6;;;;;;;;;;:22;;;19196:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;20046:1:::1;20026:22;;:8;:22;;;;20018:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;20136:8;20107:38;;20128:6;::::0;::::1;;;;;;;;20107:38;;;;;;;;;;;;20165:8;20156:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;19937:244:::0;:::o;17564:115::-;17617:15;17660:10;17645:26;;17564:115;:::o;25881:106::-;25939:7;25970:1;25966;:5;:13;;25978:1;25966:13;;;25974:1;25966:13;25959:20;;25881:106;;;;:::o;32912:424::-;32966:15;32984:6;;;;;;;;;;;:14;;;32999:6;32984:22;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32966:40;;33017:11;33031:6;;;;;;;;;;;:21;;;33053:6;33031:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33017:43;;33153:1;33142:7;:12;:22;;;;33158:6;33142:22;33139:60;;;33181:7;;;;33139:60;33233:6;;;;;;;;;;;:17;;;33259:6;;;;;;;;;;;33291:24;;;33317:6;33268:56;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33326:1;33233:95;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32912:424;;;;:::o;32461:443::-;32518:15;32536:6;;;;;;;;;;;:14;;;32551:6;32536:22;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32518:40;;32569:11;32583:6;;;;;;;;;;;:21;;;32605:6;32583:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32569:43;;32714:1;32703:7;:12;;:23;;;;32720:6;32719:7;32703:23;32700:61;;;32743:7;;;;32700:61;32798:6;;;;;;;;;;;:17;;;32824:6;;;;;;;;;;;32856:27;;;32885:6;32833:59;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32894:1;32798:98;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32461:443;;;;:::o;5:130:-1:-;;85:6;72:20;63:29;;97:33;124:5;97:33;:::i;:::-;57:78;;;;:::o;142:134::-;;226:6;220:13;211:22;;238:33;265:5;238:33;:::i;:::-;205:71;;;;:::o;301:722::-;;429:3;422:4;414:6;410:17;406:27;396:2;;447:1;444;437:12;396:2;477:6;471:13;499:80;514:64;571:6;514:64;:::i;:::-;499:80;:::i;:::-;490:89;;596:5;621:6;614:5;607:21;651:4;643:6;639:17;629:27;;673:4;668:3;664:14;657:21;;726:6;773:3;765:4;757:6;753:17;748:3;744:27;741:36;738:2;;;790:1;787;780:12;738:2;815:1;800:217;825:6;822:1;819:13;800:217;;;883:3;905:48;949:3;937:10;905:48;:::i;:::-;900:3;893:61;977:4;972:3;968:14;961:21;;1005:4;1000:3;996:14;989:21;;857:160;847:1;844;840:9;835:14;;800:217;;;804:14;389:634;;;;;;;:::o;1047:713::-;;1184:3;1177:4;1169:6;1165:17;1161:27;1151:2;;1202:1;1199;1192:12;1151:2;1232:6;1226:13;1254:89;1269:73;1335:6;1269:73;:::i;:::-;1254:89;:::i;:::-;1245:98;;1360:5;1385:6;1378:5;1371:21;1415:4;1407:6;1403:17;1393:27;;1437:4;1432:3;1428:14;1421:21;;1490:6;1523:1;1508:246;1533:6;1530:1;1527:13;1508:246;;;1609:3;1603:10;1595:6;1591:23;1633:57;1686:3;1674:10;1633:57;:::i;:::-;1628:3;1621:70;1714:4;1709:3;1705:14;1698:21;;1742:4;1737:3;1733:14;1726:21;;1565:189;1555:1;1552;1548:9;1543:14;;1508:246;;;1512:14;1144:616;;;;;;;:::o;1768:128::-;;1849:6;1843:13;1834:22;;1861:30;1885:5;1861:30;:::i;:::-;1828:68;;;;:::o;1903:130::-;;1983:6;1970:20;1961:29;;1995:33;2022:5;1995:33;:::i;:::-;1955:78;;;;:::o;2041:442::-;;2153:3;2146:4;2138:6;2134:17;2130:27;2120:2;;2171:1;2168;2161:12;2120:2;2201:6;2195:13;2223:64;2238:48;2279:6;2238:48;:::i;:::-;2223:64;:::i;:::-;2214:73;;2307:6;2300:5;2293:21;2343:4;2335:6;2331:17;2376:4;2369:5;2365:16;2411:3;2402:6;2397:3;2393:16;2390:25;2387:2;;;2428:1;2425;2418:12;2387:2;2438:39;2470:6;2465:3;2460;2438:39;:::i;:::-;2113:370;;;;;;;:::o;2491:130::-;;2571:6;2558:20;2549:29;;2583:33;2610:5;2583:33;:::i;:::-;2543:78;;;;:::o;2628:134::-;;2712:6;2706:13;2697:22;;2724:33;2751:5;2724:33;:::i;:::-;2691:71;;;;:::o;2769:241::-;;2873:2;2861:9;2852:7;2848:23;2844:32;2841:2;;;2889:1;2886;2879:12;2841:2;2924:1;2941:53;2986:7;2977:6;2966:9;2962:22;2941:53;:::i;:::-;2931:63;;2903:97;2835:175;;;;:::o;3017:263::-;;3132:2;3120:9;3111:7;3107:23;3103:32;3100:2;;;3148:1;3145;3138:12;3100:2;3183:1;3200:64;3256:7;3247:6;3236:9;3232:22;3200:64;:::i;:::-;3190:74;;3162:108;3094:186;;;;:::o;3287:366::-;;;3408:2;3396:9;3387:7;3383:23;3379:32;3376:2;;;3424:1;3421;3414:12;3376:2;3459:1;3476:53;3521:7;3512:6;3501:9;3497:22;3476:53;:::i;:::-;3466:63;;3438:97;3566:2;3584:53;3629:7;3620:6;3609:9;3605:22;3584:53;:::i;:::-;3574:63;;3545:98;3370:283;;;;;:::o;3660:491::-;;;;3798:2;3786:9;3777:7;3773:23;3769:32;3766:2;;;3814:1;3811;3804:12;3766:2;3849:1;3866:53;3911:7;3902:6;3891:9;3887:22;3866:53;:::i;:::-;3856:63;;3828:97;3956:2;3974:53;4019:7;4010:6;3999:9;3995:22;3974:53;:::i;:::-;3964:63;;3935:98;4064:2;4082:53;4127:7;4118:6;4107:9;4103:22;4082:53;:::i;:::-;4072:63;;4043:98;3760:391;;;;;:::o;4158:675::-;;;4349:2;4337:9;4328:7;4324:23;4320:32;4317:2;;;4365:1;4362;4355:12;4317:2;4421:1;4410:9;4406:17;4400:24;4444:18;4436:6;4433:30;4430:2;;;4476:1;4473;4466:12;4430:2;4496:89;4577:7;4568:6;4557:9;4553:22;4496:89;:::i;:::-;4486:99;;4379:212;4643:2;4632:9;4628:18;4622:25;4667:18;4659:6;4656:30;4653:2;;;4699:1;4696;4689:12;4653:2;4719:98;4809:7;4800:6;4789:9;4785:22;4719:98;:::i;:::-;4709:108;;4601:222;4311:522;;;;;:::o;4840:257::-;;4952:2;4940:9;4931:7;4927:23;4923:32;4920:2;;;4968:1;4965;4958:12;4920:2;5003:1;5020:61;5073:7;5064:6;5053:9;5049:22;5020:61;:::i;:::-;5010:71;;4982:105;4914:183;;;;:::o;5104:263::-;;5219:2;5207:9;5198:7;5194:23;5190:32;5187:2;;;5235:1;5232;5225:12;5187:2;5270:1;5287:64;5343:7;5334:6;5323:9;5319:22;5287:64;:::i;:::-;5277:74;;5249:108;5181:186;;;;:::o;5375:173::-;;5462:46;5504:3;5496:6;5462:46;:::i;:::-;5537:4;5532:3;5528:14;5514:28;;5455:93;;;;:::o;5557:189::-;;5676:64;5736:3;5728:6;5676:64;:::i;:::-;5662:78;;5655:91;;;;:::o;5754:103::-;5827:24;5845:5;5827:24;:::i;:::-;5822:3;5815:37;5809:48;;:::o;5864:113::-;5947:24;5965:5;5947:24;:::i;:::-;5942:3;5935:37;5929:48;;:::o;6015:690::-;;6160:54;6208:5;6160:54;:::i;:::-;6227:86;6306:6;6301:3;6227:86;:::i;:::-;6220:93;;6334:56;6384:5;6334:56;:::i;:::-;6410:7;6438:1;6423:260;6448:6;6445:1;6442:13;6423:260;;;6515:6;6509:13;6536:63;6595:3;6580:13;6536:63;:::i;:::-;6529:70;;6616:60;6669:6;6616:60;:::i;:::-;6606:70;;6480:203;6470:1;6467;6463:9;6458:14;;6423:260;;;6427:14;6696:3;6689:10;;6139:566;;;;;;;:::o;6740:920::-;;6903:63;6960:5;6903:63;:::i;:::-;6979:95;7067:6;7062:3;6979:95;:::i;:::-;6972:102;;7097:3;7139:4;7131:6;7127:17;7122:3;7118:27;7166:65;7225:5;7166:65;:::i;:::-;7251:7;7279:1;7264:357;7289:6;7286:1;7283:13;7264:357;;;7351:9;7345:4;7341:20;7336:3;7329:33;7396:6;7390:13;7418:82;7495:4;7480:13;7418:82;:::i;:::-;7410:90;;7517:69;7579:6;7517:69;:::i;:::-;7507:79;;7609:4;7604:3;7600:14;7593:21;;7321:300;7311:1;7308;7304:9;7299:14;;7264:357;;;7268:14;7634:4;7627:11;;7651:3;7644:10;;6882:778;;;;;;;;;:::o;7668:113::-;7751:24;7769:5;7751:24;:::i;:::-;7746:3;7739:37;7733:48;;:::o;7788:323::-;;7888:38;7920:5;7888:38;:::i;:::-;7938:60;7991:6;7986:3;7938:60;:::i;:::-;7931:67;;8003:52;8048:6;8043:3;8036:4;8029:5;8025:16;8003:52;:::i;:::-;8076:29;8098:6;8076:29;:::i;:::-;8071:3;8067:39;8060:46;;7868:243;;;;;:::o;8118:343::-;;8228:38;8260:5;8228:38;:::i;:::-;8278:70;8341:6;8336:3;8278:70;:::i;:::-;8271:77;;8353:52;8398:6;8393:3;8386:4;8379:5;8375:16;8353:52;:::i;:::-;8426:29;8448:6;8426:29;:::i;:::-;8421:3;8417:39;8410:46;;8208:253;;;;;:::o;8468:162::-;8569:55;8618:5;8569:55;:::i;:::-;8564:3;8557:68;8551:79;;:::o;8637:174::-;8744:61;8799:5;8744:61;:::i;:::-;8739:3;8732:74;8726:85;;:::o;8818:142::-;8909:45;8948:5;8909:45;:::i;:::-;8904:3;8897:58;8891:69;;:::o;8968:375::-;;9128:67;9192:2;9187:3;9128:67;:::i;:::-;9121:74;;9228:34;9224:1;9219:3;9215:11;9208:55;9297:8;9292:2;9287:3;9283:12;9276:30;9334:2;9329:3;9325:12;9318:19;;9114:229;;;:::o;9352:332::-;;9512:67;9576:2;9571:3;9512:67;:::i;:::-;9505:74;;9612:34;9608:1;9603:3;9599:11;9592:55;9675:2;9670:3;9666:12;9659:19;;9498:186;;;:::o;9693:331::-;;9853:67;9917:2;9912:3;9853:67;:::i;:::-;9846:74;;9953:33;9949:1;9944:3;9940:11;9933:54;10015:2;10010:3;10006:12;9999:19;;9839:185;;;:::o;10032:113::-;10115:24;10133:5;10115:24;:::i;:::-;10110:3;10103:37;10097:48;;:::o;10152:222::-;;10279:2;10268:9;10264:18;10256:26;;10293:71;10361:1;10350:9;10346:17;10337:6;10293:71;:::i;:::-;10250:124;;;;:::o;10381:333::-;;10536:2;10525:9;10521:18;10513:26;;10550:71;10618:1;10607:9;10603:17;10594:6;10550:71;:::i;:::-;10632:72;10700:2;10689:9;10685:18;10676:6;10632:72;:::i;:::-;10507:207;;;;;:::o;10721:544::-;;10930:2;10919:9;10915:18;10907:26;;10944:71;11012:1;11001:9;10997:17;10988:6;10944:71;:::i;:::-;11063:9;11057:4;11053:20;11048:2;11037:9;11033:18;11026:48;11088:76;11159:4;11150:6;11088:76;:::i;:::-;11080:84;;11175:80;11251:2;11240:9;11236:18;11227:6;11175:80;:::i;:::-;10901:364;;;;;;:::o;11272:444::-;;11455:2;11444:9;11440:18;11432:26;;11469:71;11537:1;11526:9;11522:17;11513:6;11469:71;:::i;:::-;11551:72;11619:2;11608:9;11604:18;11595:6;11551:72;:::i;:::-;11634;11702:2;11691:9;11687:18;11678:6;11634:72;:::i;:::-;11426:290;;;;;;:::o;11723:556::-;;11934:3;11923:9;11919:19;11911:27;;11949:71;12017:1;12006:9;12002:17;11993:6;11949:71;:::i;:::-;12031:72;12099:2;12088:9;12084:18;12075:6;12031:72;:::i;:::-;12114;12182:2;12171:9;12167:18;12158:6;12114:72;:::i;:::-;12197;12265:2;12254:9;12250:18;12241:6;12197:72;:::i;:::-;11905:374;;;;;;;:::o;12286:665::-;;12559:2;12548:9;12544:18;12536:26;;12609:9;12603:4;12599:20;12595:1;12584:9;12580:17;12573:47;12634:108;12737:4;12728:6;12634:108;:::i;:::-;12626:116;;12790:9;12784:4;12780:20;12775:2;12764:9;12760:18;12753:48;12815:126;12936:4;12927:6;12815:126;:::i;:::-;12807:134;;12530:421;;;;;:::o;12958:258::-;;13103:2;13092:9;13088:18;13080:26;;13117:89;13203:1;13192:9;13188:17;13179:6;13117:89;:::i;:::-;13074:142;;;;:::o;13223:270::-;;13374:2;13363:9;13359:18;13351:26;;13388:95;13480:1;13469:9;13465:17;13456:6;13388:95;:::i;:::-;13345:148;;;;:::o;13500:416::-;;13700:2;13689:9;13685:18;13677:26;;13750:9;13744:4;13740:20;13736:1;13725:9;13721:17;13714:47;13775:131;13901:4;13775:131;:::i;:::-;13767:139;;13671:245;;;:::o;13923:416::-;;14123:2;14112:9;14108:18;14100:26;;14173:9;14167:4;14163:20;14159:1;14148:9;14144:17;14137:47;14198:131;14324:4;14198:131;:::i;:::-;14190:139;;14094:245;;;:::o;14346:416::-;;14546:2;14535:9;14531:18;14523:26;;14596:9;14590:4;14586:20;14582:1;14571:9;14567:17;14560:47;14621:131;14747:4;14621:131;:::i;:::-;14613:139;;14517:245;;;:::o;14769:222::-;;14896:2;14885:9;14881:18;14873:26;;14910:71;14978:1;14967:9;14963:17;14954:6;14910:71;:::i;:::-;14867:124;;;;:::o;14998:256::-;;15060:2;15054:9;15044:19;;15098:4;15090:6;15086:17;15197:6;15185:10;15182:22;15161:18;15149:10;15146:34;15143:62;15140:2;;;15218:1;15215;15208:12;15140:2;15238:10;15234:2;15227:22;15038:216;;;;:::o;15261:304::-;;15420:18;15412:6;15409:30;15406:2;;;15452:1;15449;15442:12;15406:2;15487:4;15479:6;15475:17;15467:25;;15550:4;15544;15540:15;15532:23;;15343:222;;;:::o;15572:313::-;;15740:18;15732:6;15729:30;15726:2;;;15772:1;15769;15762:12;15726:2;15807:4;15799:6;15795:17;15787:25;;15870:4;15864;15860:15;15852:23;;15663:222;;;:::o;15892:321::-;;16035:18;16027:6;16024:30;16021:2;;;16067:1;16064;16057:12;16021:2;16134:4;16130:9;16123:4;16115:6;16111:17;16107:33;16099:41;;16198:4;16192;16188:15;16180:23;;15958:255;;;:::o;16220:151::-;;16306:3;16298:11;;16344:4;16339:3;16335:14;16327:22;;16292:79;;;:::o;16378:160::-;;16473:3;16465:11;;16511:4;16506:3;16502:14;16494:22;;16459:79;;;:::o;16545:137::-;;16654:5;16648:12;16638:22;;16619:63;;;:::o;16689:146::-;;16807:5;16801:12;16791:22;;16772:63;;;:::o;16842:121::-;;16935:5;16929:12;16919:22;;16900:63;;;:::o;16970:108::-;;17068:4;17063:3;17059:14;17051:22;;17045:33;;;:::o;17085:117::-;;17192:4;17187:3;17183:14;17175:22;;17169:33;;;:::o;17210:178::-;;17340:6;17335:3;17328:19;17377:4;17372:3;17368:14;17353:29;;17321:67;;;;:::o;17397:187::-;;17536:6;17531:3;17524:19;17573:4;17568:3;17564:14;17549:29;;17517:67;;;;:::o;17593:152::-;;17697:6;17692:3;17685:19;17734:4;17729:3;17725:14;17710:29;;17678:67;;;;:::o;17754:162::-;;17868:6;17863:3;17856:19;17905:4;17900:3;17896:14;17881:29;;17849:67;;;;:::o;17925:163::-;;18040:6;18035:3;18028:19;18077:4;18072:3;18068:14;18053:29;;18021:67;;;;:::o;18096:91::-;;18158:24;18176:5;18158:24;:::i;:::-;18147:35;;18141:46;;;:::o;18194:85::-;;18267:5;18260:13;18253:21;18242:32;;18236:43;;;:::o;18286:72::-;;18348:5;18337:16;;18331:27;;;:::o;18365:121::-;;18438:42;18431:5;18427:54;18416:65;;18410:76;;;:::o;18493:72::-;;18555:5;18544:16;;18538:27;;;:::o;18572:157::-;;18669:55;18718:5;18669:55;:::i;:::-;18656:68;;18650:79;;;:::o;18736:126::-;;18833:24;18851:5;18833:24;:::i;:::-;18820:37;;18814:48;;;:::o;18869:169::-;;18972:61;19027:5;18972:61;:::i;:::-;18959:74;;18953:85;;;:::o;19045:132::-;;19148:24;19166:5;19148:24;:::i;:::-;19135:37;;19129:48;;;:::o;19184:116::-;;19271:24;19289:5;19271:24;:::i;:::-;19258:37;;19252:48;;;:::o;19308:268::-;19373:1;19380:101;19394:6;19391:1;19388:13;19380:101;;;19470:1;19465:3;19461:11;19455:18;19451:1;19446:3;19442:11;19435:39;19416:2;19413:1;19409:10;19404:15;;19380:101;;;19496:6;19493:1;19490:13;19487:2;;;19561:1;19552:6;19547:3;19543:16;19536:27;19487:2;19357:219;;;;:::o;19584:97::-;;19672:2;19668:7;19663:2;19656:5;19652:14;19648:28;19638:38;;19632:49;;;:::o;19689:117::-;19758:24;19776:5;19758:24;:::i;:::-;19751:5;19748:35;19738:2;;19797:1;19794;19787:12;19738:2;19732:74;:::o;19813:111::-;19879:21;19894:5;19879:21;:::i;:::-;19872:5;19869:32;19859:2;;19915:1;19912;19905:12;19859:2;19853:71;:::o;19931:117::-;20000:24;20018:5;20000:24;:::i;:::-;19993:5;19990:35;19980:2;;20039:1;20036;20029:12;19980:2;19974:74;:::o;20055:117::-;20124:24;20142:5;20124:24;:::i;:::-;20117:5;20114:35;20104:2;;20163:1;20160;20153:12;20104:2;20098:74;:::o

Swarm Source

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