Move the Checkpoints library to utils/structs (#4275)

This commit is contained in:
Hadrien Croubois
2023-05-26 21:19:27 +02:00
committed by GitHub
parent 25edd3cd62
commit 4448c13c3c
10 changed files with 20 additions and 15 deletions

View File

@ -4,8 +4,8 @@
pragma solidity ^0.8.0;
import "./GovernorVotes.sol";
import "../../utils/Checkpoints.sol";
import "../../utils/math/SafeCast.sol";
import "../../utils/structs/Checkpoints.sol";
/**
* @dev Extension of {Governor} for voting weight extraction from an {ERC20Votes} token and a quorum expressed as a