Platform: Code4rena
Start Date: 12/07/2022
Pot Size: $35,000 USDC
Total HM: 13
Participants: 78
Period: 3 days
Judge: 0xean
Total Solo HM: 6
Id: 135
League: ETH
Rank: 50/78
Findings: 2
Award: $70.04
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: joestakey
Also found by: 0x1f8b, 0x52, 0xDjango, 0xNazgul, 0xNineDec, 8olidity, Avci, Bahurum, Bnke0x0, Chom, ElKu, Funen, GimelSec, JC, Junnon, Kaiziron, Meera, PaludoX0, Picodes, ReyAdmirado, Sm4rty, Soosh, Waze, _Adam, __141345__, ak1, aysha, benbaessler, bin2chen, c3phas, cccz, cryptphi, csanuragjain, defsec, exd0tpy, fatherOfBlocks, gogo, hake, hansfriese, itsmeSTYJ, jonatascm, kyteg, mektigboy, oyc_109, pashov, rbserver, rishabh, robee, rokinot, sach1r0, sashik_eth, scaraven, simon135, slywaters
44.2559 USDC - $44.26
(every Erc20.sol needs this change)
adpated --> adapted:
(every ZcToken.sol needs these changes)
compatability --> compatibility:
redeemption --> redemption:
recieving --> receiving:
demoninators --> denominators:
reddem --> redeem
Varifies --> verifies
withraw --> withdraw
#0 - robrobbins
2022-08-31T00:36:52Z
tokens not in scope but addressed the notes spellings in swivel.
🌟 Selected for report: joestakey
Also found by: 0x040, 0x1f8b, 0xDjango, 0xNazgul, 0xsam, Avci, Aymen0909, Bnke0x0, CRYP70, ElKu, Fitraldys, Funen, JC, Kaiziron, MadWookie, Meera, ReyAdmirado, Sm4rty, Soosh, TomJ, Waze, _Adam, __141345__, ajtra, benbaessler, c3phas, csanuragjain, durianSausage, exd0tpy, fatherOfBlocks, hake, ignacio, karanctf, kyteg, m_Rassska, oyc_109, rbserver, robee, rokinot, samruna, sashik_eth, simon135, slywaters
25.7815 USDC - $25.78
If variables occupying the same slot are both written the same function or by the constructor, avoids a separate Gsset (20000 gas). Reads of the variables are also cheaper.
change the position of line 26 to after a address state variable:
marketPlace
in function setMarketPlace
:
maturityRate
in function addNotional
:
maturityRate
in function removeNotional
:
maturityRate
in function redeemInterest
:
maturityRate
in function transferNotionalFrom
:
maturityRate
in function transferNotionalFee
:
feeChange
in function setFee
:
++i
than i++