-
-
bin2chen
medium
# vault.claimReward() If have a market without reward token, it may cause all markets to be unable to retrieve rewards.
## Summary
In `vault.claimReward()`, it will loop through all…
-
# Gas optimization
## Use babylonian method to get square root
You can use the [babylonian method]( https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) to calculate th…
-
# Lines of code
https://github.com/code-423n4/2024-03-revert-lend/blob/435b054f9ad2404173f36f0f74a5096c894b12b7/src/V3Vault.sol#L877-L917
https://github.com/code-423n4/2024-03-revert-lend/blob/435b05…
-
# Lines of code
https://github.com/code-423n4/2024-03-revert-lend/blob/435b054f9ad2404173f36f0f74a5096c894b12b7/src/V3Vault.sol#L877-L917
https://github.com/code-423n4/2024-03-revert-lend/blob/435b05…
-
https://en.wikipedia.org/wiki/Decentralized_autonomous_organization
DAO Canon: https://future.com/dao-canon/
-
**Github username:** @0xmahdirostami
**Twitter username:** 0xmahdirostami
**Submission hash (on-chain):** 0x8ab813928c2f33a6c444369efda328c6b30d66e814b93504197b0d89437057c8
**Severity:** medium
**De…
-
# Handle
0xRajeev
# Vulnerability details
## Impact
Public functions getSynth() and isSynth() are commented out. It is unclear if this is part of any logic that is documented as not yet implement…
-
# Lines of code
https://github.com/code-423n4/2023-04-frankencoin/blob/1022cb106919fba963a89205d3b90bf62543f68f/contracts/Frankencoin.sol#L125-L128
https://github.com/code-423n4/2023-04-frankencoin/b…
-
# [G-01] State variables only set in the constructor should be declared `immutable`[Avoids a Gsset (20000 gas)]:-
1. File: 2022-08-foundation/contracts/NFTCollectionFactory.sol (line 73):
…