Platform: Code4rena
Start Date: 11/01/2023
Pot Size: $60,500 USDC
Total HM: 6
Participants: 69
Period: 6 days
Judge: Trust
Total Solo HM: 2
Id: 204
League: ETH
Rank: 60/69
Findings: 1
Award: $36.24
π Selected for report: 0
π Solo Findings: 0
π Selected for report: CodingNameKiki
Also found by: 0x1f8b, 0x52, 0x5rings, 0xAgro, 0xSmartContract, 0xcm, 0xkato, 2997ms, Aymen0909, BClabs, BPZ, BRONZEDISC, Bauer, Bnke0x0, Deekshith99, IllIllI, Josiah, Kaysoft, RaymondFam, Rolezn, SaeedAlipoor01988, Tajobin, Udsen, Viktor_Cortess, adriro, arialblack14, betweenETHlines, btk, chaduke, chrisdior4, cryptphi, csanuragjain, cygaar, defsec, descharre, erictee, gzeon, hansfriese, horsefacts, joestakey, koxuan, lukris02, luxartvinsec, nicobevi, oyc_109, pavankv, peanuts, rbserver, scokaf, shark, tnevler, tsvetanovv, zaskoh
36.2377 USDC - $36.24
Use debugged complier version . Also use more recent compiler version.
Total instances : 19
The following methods have a lack of checks if the received argument is an address, itβs good practice in order to reduce human error to check that the address specified in the constructor or initialize is different than address(0).
Total instances : 4
In oder to prevent human errors its better to having a value for units rather than inizialize with 0 values.
Total instances : 2
Total instances : 7
For more read...
Total instances : 32
For more read...
Total instances : 7
For more read... 1. Solidity Style
its better not to use assembly because it reduce readability & future updatability of the code even though assembly reduce gas.
Recommendation Consider removeing all assembly code and re-implement them in Solidity to make the code significantly more clean.
Total instances : 7
Total instances : 4
Total instances : 3
For more read... https://docs.soliditylang.org/en/v0.8.15/style-guide.html#order-of-layout
#0 - c4-judge
2023-01-23T14:25:39Z
trust1995 marked the issue as grade-b