mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 19:26:33 +00:00
18 lines
376 B
Solidity
18 lines
376 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../../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;
|
|
}
|
|
}
|