Skip to content

My Code4rena [confirmed] findings for Lybra: A protocol building the first interest-bearing omnichain stablecoin backed by LSD.

Notifications You must be signed in to change notification settings

devival/2023-06-lybra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Findings for 2023-06-lybra

  • [HIGH] - proposals view function returns wrong voting results
  • [MEDIUM] - Voting Delay set to 1 block, would not allow users enough time to buy tokens, or delegate their votes before the voting starts
  • [MEDIUM] - If both vaultSafeCollateralRatio[pool] and vaultBadCollateralRatio[pool] in LybraConfigurator.sol are not set, getBadCollateralRatio(pool) would revert
  • [MEDIUM] - Proposal remains open to votes for only 3 blocks instead of 7 days
  • [MEDIUM] - Wrong proposalThreshold amount in LybraGovernance.sol
  • [MEDIUM] - Wrong implementations of interface's function getExchangeRate() in LybraWbETHVault.sol and LybraRETHVault.sol
  • [QA] - Wrong WBETH contract address in LybraWbETHVault.sol

About

My Code4rena [confirmed] findings for Lybra: A protocol building the first interest-bearing omnichain stablecoin backed by LSD.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published