Skip to content

Commit

Permalink
[NES-212] make YieldToken implement IComponentToken (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyqs authored Dec 18, 2024
1 parent 22072f7 commit 8931801
Show file tree
Hide file tree
Showing 4 changed files with 358 additions and 20 deletions.
1 change: 1 addition & 0 deletions smart-wallets/src/interfaces/IComponentToken.sol
2 changes: 1 addition & 1 deletion smart-wallets/src/token/YieldDistributionToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ abstract contract YieldDistributionToken is ERC20, Ownable, IYieldDistributionTo
// Override Functions

/// @notice Number of decimals of the YieldDistributionToken
function decimals() public view override returns (uint8) {
function decimals() public view virtual override returns (uint8) {
return _getYieldDistributionTokenStorage().decimals;
}

Expand Down
Loading

0 comments on commit 8931801

Please sign in to comment.