clober-dex / coupon-finance

Coupon Finance Solidity Contracts
Other
1 stars 0 forks source link

The Epoch contract pragma statement is incorrect #116

Closed detectivekim closed 11 months ago

detectivekim commented 1 year ago

Description

The Epoch contract declares it requires compilation with at least an 0.8.0 compiler.

pragma solidity ^0.8.0;
type Epoch is uint8;
using {gt as >, gte as >=, lt as <, lte as <=, eq as ==} for Epoch global;

However, it uses user-defined operators which require 0.8.19.