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
// SPDX-License-Identifier: GPL-3.0-or-later | |
pragma solidity 0.8.19; | |
/// @notice Minimal interface for BentoBox token vault interactions - `token` is aliased as `address` from `IERC20` for code simplicity. | |
interface IBentoBoxMinimal { | |
struct Rebase { | |
uint128 elastic; | |
uint128 base; | |
} |
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
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.19; | |
interface IPool { | |
/** | |
* @dev Emitted on mintUnbacked() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address initiating the supply | |
* @param onBehalfOf The beneficiary of the supplied assets, receiving the aTokens | |
* @param amount The amount of supplied assets |