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: 69/78
Findings: 1
Award: $30.57
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 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
30.5703 USDC - $30.57
File: Swivel/Swivel.sol uint256 max = 2**256 - 1;
File: Swivel/Swivel.sol unchecked {i++;}
File: Swivel/Swivel.sol unchecked {i++;}
File: Swivel/Swivel.sol i++;
File: Swivel/Swivel.sol x++;
File: Swivel/Swivel.sol i++;
File: Swivel/Swivel.sol // checks the side, and the amount compared to available uint256 amount = a + filled[hash]; if (amount > o.premium) { revert Exception(5, amount, o.premium, address(0), address(0)); } // TODO cheaper to assign amount here or keep the ADD? filled[hash] += a;
File: Swivel/Swivel.sol uint256 amount = a + filled[hash]; if (amount > o.principal) { revert Exception(5, amount, o.principal, address(0), address(0)); } // TODO assign amount or keep the ADD? filled[hash] += a;
File: Swivel/Swivel.sol uint256 amount = a + filled[hash]; if (amount > o.principal) { revert Exception(5, amount, o.principal, address(0), address(0)); } // TODO assign amount or keep the ADD? filled[hash] += a;
File: Swivel/Swivel.sol uint256 amount = a + filled[hash]; if (amount > o.premium) { revert Exception(5, amount, o.premium, address(0), address(0)); } // TODO assign amount or keep ADD? filled[hash] += a;
File: Swivel/Swivel.sol uint256 amount = a + filled[hash]; if (amount > o.premium) { revert Exception(5, amount, o.premium, address(0), address(0)); } // TODO assign amount or keep the ADD? filled[hash] += a;
File: Swivel/Swivel.sol uint256 amount = a + filled[hash]; if (amount > o.principal) { revert Exception(5, amount, o.principal, address(0), address(0)); } // TODO assign amount or keep the ADD? filled[hash] += a;
File: Swivel/Swivel.sol uint256 amount = a + filled[hash]; if (amount > o.principal) { revert Exception(5, amount, o.principal, address(0), address(0)); } // TODO assign amount or keep the ADD? filled[hash] += a;
File: Swivel/Swivel.sol uint256 amount = a + filled[hash]; if (amount > o.premium) { revert Exception(5, amount, o.premium, address(0), address(0)); } // TODO assign amount or keep the ADD? filled[hash] += a;
File: Swivel/Swivel.sol uint16[4] public feenominators;