Skip to content

Conversation

@james-toussaint
Copy link
Contributor

No description provided.

@netlify
Copy link

netlify bot commented Jul 30, 2025

Deploy Preview for confidential-tokens ready!

Name Link
🔨 Latest commit 2814851
🔍 Latest deploy log https://app.netlify.com/projects/confidential-tokens/deploys/688a1ee872a30200087bdb0f
😎 Deploy Preview https://deploy-preview-124--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.

@james-toussaint james-toussaint marked this pull request as ready for review July 30, 2025 13:34
@james-toussaint james-toussaint requested a review from a team as a code owner July 30, 2025 13:34
* @dev Getter to retrieve the token balance of this vesting wallet.
* It allows the owner of this vesting wallet to see the confidential balance.
*/
function confidentialBalance(address token) public virtual returns (euint64 balance) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
function confidentialBalance(address token) public virtual returns (euint64 balance) {
function allowConfidentialBalance(address token) public virtual returns (euint64 balance) {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It looks the discussion is kind of the same here https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/130/files#r2245937620:
"[...] why not introducing new public functions & instead updating existing functions?"

@arr00
Copy link
Contributor

arr00 commented Aug 5, 2025

#143

@arr00 arr00 closed this Aug 5, 2025
@james-toussaint james-toussaint deleted the bugfix/allow-owner-token-balance-of-vesting branch November 10, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants