-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: config engine payload bnb (#181)
* fix: config engine payload bnb * fix: e2e test to not allow isolated assets as good collateral
- Loading branch information
1 parent
428dc96
commit cb11211
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {AaveV3Bnb} from 'aave-address-book/AaveV3Bnb.sol'; | ||
import './AaveV3Payload.sol'; | ||
|
||
/** | ||
* @dev Base smart contract for an Aave v3.0.2 (compatible with 3.0.0) listing on v3 Bnb. | ||
* @author BGD Labs | ||
*/ | ||
abstract contract AaveV3PayloadBnb is AaveV3Payload(IEngine(AaveV3Bnb.CONFIG_ENGINE)) { | ||
function getPoolContext() public pure override returns (IEngine.PoolContext memory) { | ||
return IEngine.PoolContext({networkName: 'BNB Smart Chain', networkAbbreviation: 'Bnb'}); | ||
} | ||
} |