Skip to content

Commit 9b587cc

Browse files
committed
interface: add Pool and addresses provider getters on interface
1 parent a0b117c commit 9b587cc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/contracts/extensions/stata-token/interfaces/IERC4626StataToken.sol

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity ^0.8.10;
33

4+
import {IPool, IPoolAddressesProvider} from '../../../interfaces/IPool.sol';
5+
46
interface IERC4626StataToken {
57
struct SignatureParams {
68
uint8 v;
@@ -14,6 +16,18 @@ interface IERC4626StataToken {
1416

1517
error OnlyPauseGuardian(address caller);
1618

19+
/**
20+
* @notice The pool associated with the aToken.
21+
* @return The pool address.
22+
*/
23+
function POOL() external view returns (IPool);
24+
25+
/**
26+
* @notice The poolAddressesProvider associated with the pool.
27+
* @return The poolAddressesProvider address.
28+
*/
29+
function POOL_ADDRESSES_PROVIDER() external view returns (IPoolAddressesProvider);
30+
1731
/**
1832
* @notice Burns `shares` of static aToken, with receiver receiving the corresponding amount of aToken
1933
* @param shares The shares to withdraw, in static balance of StaticAToken

0 commit comments

Comments
 (0)