Skip to content

Commit

Permalink
fix: Soften solc version of StableDebtToken (#340)
Browse files Browse the repository at this point in the history
* fix: Soften solc version of StableDebtToken

* fix: Change functions modifier to pure
  • Loading branch information
miguelmtzinf authored May 31, 2023
1 parent 397336c commit 82b70f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/contracts/facilitators/aave/tokens/GhoStableDebtToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {IERC20} from '@aave/core-v3/contracts/dependencies/openzeppelin/contracts/IERC20.sol';
import {VersionedInitializable} from '@aave/core-v3/contracts/protocol/libraries/aave-upgradeability/VersionedInitializable.sol';
Expand Down Expand Up @@ -122,7 +122,7 @@ contract GhoStableDebtToken is DebtTokenBase, IncentivizedERC20, IStableDebtToke
}

/// @inheritdoc IERC20
function totalSupply() public view virtual override returns (uint256) {
function totalSupply() public pure virtual override returns (uint256) {
return 0;
}

Expand All @@ -132,7 +132,7 @@ contract GhoStableDebtToken is DebtTokenBase, IncentivizedERC20, IStableDebtToke
}

/// @inheritdoc IStableDebtToken
function principalBalanceOf(address) external view virtual override returns (uint256) {
function principalBalanceOf(address) external pure virtual override returns (uint256) {
return 0;
}

Expand Down

0 comments on commit 82b70f9

Please sign in to comment.