Skip to content

Conversation

@arr00
Copy link
Contributor

@arr00 arr00 commented Jul 31, 2025

No description provided.

@netlify
Copy link

netlify bot commented Jul 31, 2025

Deploy Preview for confidential-tokens ready!

Name Link
🔨 Latest commit 8bb34b8
🔍 Latest deploy log https://app.netlify.com/projects/confidential-tokens/deploys/688b5fd81fc1a9000761a50c
😎 Deploy Preview https://deploy-preview-130--confidential-tokens.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

}

function getPastTotalSupplyWithAllowance(uint256 timepoint, bool persistent) public virtual returns (euint64) {
_validateVotesAccess(address(0));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we allowing anyone to view total supply?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/**
* @dev Must revert if `msg.sender` is not allowed to get ACL access to the votes of the given account `account`.
*
* NOTE: A validation to access the votes of the 0 address indicates total supply.
*/
function _validateVotesAccess(address account) internal view virtual;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is my suggestion #123 (comment).

@arr00
Copy link
Contributor Author

arr00 commented Aug 4, 2025

Will do #143 instead

@arr00 arr00 closed this Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants