ERC4626OffsetMock.sol 392 B

1234567891011121314151617
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.20;
  3. import {ERC4626} from "../../token/ERC20/extensions/ERC4626.sol";
  4. abstract contract ERC4626OffsetMock is ERC4626 {
  5. uint8 private immutable _offset;
  6. constructor(uint8 offset_) {
  7. _offset = offset_;
  8. }
  9. function _decimalsOffset() internal view virtual override returns (uint8) {
  10. return _offset;
  11. }
  12. }