Fix & Optimize contract
This commit is contained in:
@@ -12,6 +12,11 @@ import "../../interfaces/IYTToken.sol";
|
||||
*/
|
||||
contract YTPriceFeed is Initializable, UUPSUpgradeable {
|
||||
|
||||
/// @custom:oz-upgrades-unsafe-allow constructor
|
||||
constructor() {
|
||||
_disableInitializers();
|
||||
}
|
||||
|
||||
error Forbidden();
|
||||
error MaxChangeTooHigh();
|
||||
error PriceChangeTooLarge();
|
||||
|
||||
Reference in New Issue
Block a user