Skip to content

fix: correct doc bugs across 7 files (types, compile errors, typos) - #82

Open
Sertug17 wants to merge 1 commit into
FhenixProtocol:mainfrom
Sertug17:fix/doc-bugs-audit
Open

fix: correct doc bugs across 7 files (types, compile errors, typos)#82
Sertug17 wants to merge 1 commit into
FhenixProtocol:mainfrom
Sertug17:fix/doc-bugs-audit

Conversation

@Sertug17

@Sertug17 Sertug17 commented Aug 2, 2026

Copy link
Copy Markdown

Summary

This PR fixes 6 confirmed documentation bugs found during a code audit.

Changes

  • FHERC20.md & IFHERC20.md — all types updated euint32/inEuint32euint128/inEuint128 to match actual contract; _allowanceEncrypted visibility corrected publicinternal
  • Adding View Functions.mdgetBalanceEncrypted return type corrected uint256uint32
  • Types-and-Operators.mdsquare/euint64 cell fixed from <r>✔</r> to <g>✔</g>
  • Returning-Data.mdeuint8 memory foo fixed to euint8 foo (value type, no data location); added missing FHE. prefix to asEuint8()
  • Debug-Logging.md — removed non-existent EncryptedNumberLibrary; fixed Console.log to use decrypted value; removed return from void function
  • Security-Zones.md — added calldata data location to inEuint32 parameters; fixed JS typo econdsecond

Closes

#76 #77 #78 #79 #80 #81

- FHERC20.md & IFHERC20.md: euint32/inEuint32 → euint128/inEuint128
- Adding View Functions.md: getBalanceEncrypted return type uint256 → uint32
- Types-and-Operators.md: square/euint64 cell <r>✔</r> → <g>✔</g>
- Returning-Data.md: euint8 memory → euint8 (value type), add FHE. prefix
- Debug-Logging.md: remove EncryptedNumberLibrary, fix Console.log, fix return
- Security-Zones.md: add calldata to inEuint32 params, fix econd → second

Closes FhenixProtocol#76 FhenixProtocol#77 FhenixProtocol#78 FhenixProtocol#79 FhenixProtocol#80 FhenixProtocol#81
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.

1 participant