Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: ernestognw <ernestognw@gmail.com>
18 lines
392 B
Solidity
18 lines
392 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.19;
|
|
|
|
import {ERC4626} from "../../token/ERC20/extensions/ERC4626.sol";
|
|
|
|
abstract contract ERC4626OffsetMock is ERC4626 {
|
|
uint8 private immutable _offset;
|
|
|
|
constructor(uint8 offset_) {
|
|
_offset = offset_;
|
|
}
|
|
|
|
function _decimalsOffset() internal view virtual override returns (uint8) {
|
|
return _offset;
|
|
}
|
|
}
|