Open zlsecure3 opened 1 year ago
submission_id:1761659453
review_type:GRADING
result: TBD-yes,no
rating: TBD-123
comment: TBD-Rejected,Accepted by Secure3.
severity: TBD-Critical,Medium,Low,Informational
category:
description:
submission_id:1761659453
review_type:CLIENT_FEEDBACK
result: TBD-yes,no
severity: TBD-Critical,Medium,Low,Informational
comment:
submission_id:1761659453
review_type:CLIENT_FEEDBACK_DECISION
result: TBD-yes,no,yes-honored,no-honored
severity: TBD-Critical,Medium,Low,Informational
comment:
subject
no need to define
SHARE_DECIMAL
forInsuranceLogic::updateShare
functiondescription
Both
SHARE_DECIMAL
andVALUE_DECIMALS
are defined as constant 18, so this will be a noop:Conceptually, it will also be easier to understand if
VALUE_DECIMALS
is used as share decimal directly.recommendation
Remove
SHARE_DECIMAL
and the aboveconvertUintDecimals
call to save some gas.locations
severity
Informational
damage
exploitability
category
Code Style
system_generated: auditor:alansh submission_id:1761659453