-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from neutral-protocol/miotto/lila-6102-update-…
…pools-to-keep-track-of-tco2-supply [LILA-6102] use new TCO2 supply method from Pool
- Loading branch information
Showing
3 changed files
with
22 additions
and
1 deletion.
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,16 @@ | ||
// SPDX-FileCopyrightText: 2023 Neutral Labs Inc. | ||
// | ||
// SPDX-License-Identifier: UNLICENSED | ||
|
||
// If you encounter a vulnerability or an issue, please contact <[email protected]> | ||
pragma solidity ^0.8.13; | ||
|
||
/// @title IPool | ||
/// @author Neutral Labs Inc. | ||
/// @notice This interface defines methods exposed by the Pool | ||
interface IPool { | ||
/// @notice Exposes the total TCO2 supply, tracked as the aggregation of deposit, | ||
/// redemmption and bridge actions | ||
/// @return supply Current supply | ||
function totalTCO2Supply() external view returns (uint256 supply); | ||
} |
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