Skip to content

Commit df78791

Browse files
Fix broken references in doc-site (#5004)
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 parent 40cfb80 commit df78791

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

contracts/access/manager/AccessManager.sol

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ import {Time} from "../../utils/types/Time.sol";
5555
* will be {AccessManager} itself.
5656
*
5757
* WARNING: When granting permissions over an {Ownable} or {AccessControl} contract to an {AccessManager}, be very
58-
* mindful of the danger associated with functions such as {{Ownable-renounceOwnership}} or
59-
* {{AccessControl-renounceRole}}.
58+
* mindful of the danger associated with functions such as {Ownable-renounceOwnership} or
59+
* {AccessControl-renounceRole}.
6060
*/
6161
contract AccessManager is Context, Multicall, IAccessManager {
6262
using Time for *;
@@ -109,8 +109,8 @@ contract AccessManager is Context, Multicall, IAccessManager {
109109
bytes32 private _executionId;
110110

111111
/**
112-
* @dev Check that the caller is authorized to perform the operation, following the restrictions encoded in
113-
* {_getAdminRestrictions}.
112+
* @dev Check that the caller is authorized to perform the operation.
113+
* See {AccessManager} description for a detailed breakdown of the authorization logic.
114114
*/
115115
modifier onlyAuthorized() {
116116
_checkAuthorized();
@@ -470,7 +470,8 @@ contract AccessManager is Context, Multicall, IAccessManager {
470470

471471
/**
472472
* @dev Reverts if the operation is currently scheduled and has not expired.
473-
* (Note: This function was introduced due to stack too deep errors in schedule.)
473+
*
474+
* NOTE: This function was introduced due to stack too deep errors in schedule.
474475
*/
475476
function _checkNotScheduled(bytes32 operationId) private view {
476477
uint48 prevTimepoint = _schedules[operationId].timepoint;

contracts/access/manager/IAccessManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ interface IAccessManager {
109109
* to identify the indirect workflow, and will consider calls that require a delay to be forbidden.
110110
*
111111
* NOTE: This function does not report the permissions of this manager itself. These are defined by the
112-
* {_canCallSelf} function instead.
112+
* {AccessManager} documentation.
113113
*/
114114
function canCall(
115115
address caller,

contracts/token/ERC20/extensions/ERC20FlashMint.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ abstract contract ERC20FlashMint is ERC20, IERC3156FlashLender {
3232
error ERC3156ExceededMaxLoan(uint256 maxLoan);
3333

3434
/**
35-
* @dev The receiver of a flashloan is not a valid {onFlashLoan} implementer.
35+
* @dev The receiver of a flashloan is not a valid {IERC3156FlashBorrower-onFlashLoan} implementer.
3636
*/
3737
error ERC3156InvalidReceiver(address receiver);
3838

contracts/token/ERC20/extensions/ERC20Votes.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import {Checkpoints} from "../../../utils/structs/Checkpoints.sol";
1414
* NOTE: This contract does not provide interface compatibility with Compound's COMP token.
1515
*
1616
* This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either
17-
* by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting
18-
* power can be queried through the public accessors {getVotes} and {getPastVotes}.
17+
* by calling the {Votes-delegate} function directly, or by providing a signature to be used with {Votes-delegateBySig}. Voting
18+
* power can be queried through the public accessors {Votes-getVotes} and {Votes-getPastVotes}.
1919
*
2020
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
2121
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
@@ -30,9 +30,9 @@ abstract contract ERC20Votes is ERC20, Votes {
3030
* @dev Maximum token supply. Defaults to `type(uint208).max` (2^208^ - 1).
3131
*
3232
* This maximum is enforced in {_update}. It limits the total supply of the token, which is otherwise a uint256,
33-
* so that checkpoints can be stored in the Trace208 structure used by {{Votes}}. Increasing this value will not
33+
* so that checkpoints can be stored in the Trace208 structure used by {Votes}. Increasing this value will not
3434
* remove the underlying limitation, and will cause {_update} to fail because of a math overflow in
35-
* {_transferVotingUnits}. An override could be used to further restrict the total supply (to a lower value) if
35+
* {Votes-_transferVotingUnits}. An override could be used to further restrict the total supply (to a lower value) if
3636
* additional logic requires it. When resolving override conflicts on this function, the minimum should be
3737
* returned.
3838
*/

0 commit comments

Comments
 (0)