forked from aave-dao/aave-v3-origin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
51 additions
and
46 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
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
26 changes: 26 additions & 0 deletions
26
src/periphery/contracts/static-a-token/interfaces/IStataTokenFactory.sol
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,26 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.10; | ||
|
||
interface IStataTokenFactory { | ||
error NotListedUnderlying(address underlying); | ||
|
||
/** | ||
* @notice Creates new StataTokens | ||
* @param underlyings the addresses of the underlyings to create. | ||
* @return address[] addresses of the new StataTokens. | ||
*/ | ||
function createStataTokens(address[] memory underlyings) external returns (address[] memory); | ||
|
||
/** | ||
* @notice Returns all StataTokens deployed via this registry. | ||
* @return address[] list of StataTokens | ||
*/ | ||
function getStataTokens() external view returns (address[] memory); | ||
|
||
/** | ||
* @notice Returns the StataToken for a given underlying. | ||
* @param underlying the address of the underlying. | ||
* @return address the StataToken address. | ||
*/ | ||
function getStataToken(address underlying) external view returns (address); | ||
} |
26 changes: 0 additions & 26 deletions
26
src/periphery/contracts/static-a-token/interfaces/IStaticATokenFactory.sol
This file was deleted.
Oops, something went wrong.
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