Skip to content

Latest commit

 

History

History
217 lines (198 loc) · 6.73 KB

InvalidStrategy.md

File metadata and controls

217 lines (198 loc) · 6.73 KB

InvalidStrategy.sol

View Source: contracts/fakes/InvalidStrategy.sol

↗ Extends: AaveStrategy

InvalidStrategy

Functions

function (IStore _s, IAaveV2LendingPoolLike _lendingPool, address _aToken) public nonpayable AaveStrategy 

Arguments

Name Type Description
_s IStore
_lendingPool IAaveV2LendingPoolLike
_aToken address
Source Code
constructor(
    IStore _s,
    IAaveV2LendingPoolLike _lendingPool,
    address _aToken
  ) AaveStrategy(_s, _lendingPool, _aToken) {}

getWeight

function getWeight() external pure
returns(uint256)

Arguments

Name Type Description
Source Code
function getWeight() external pure override returns (uint256) {
    return 20_000; // 100%
  }

Contracts