π The @FlareNetworks Mitigation Audit Competition has officially wrapped up!
π° $25,000 in rewards has been distributed to the top Security Researchers who helped strengthen the FAssets codebase.
π Top Winners:
π₯ @hnaito_eth β $8,246
π₯ @HolyDevoti0n β $7,908
π₯ @_rickkkkkk β $7,908
π @MHDBA12 β $625
π Huge thanks to everyone who participated. Your efforts were vital in identifying and mitigating vulnerabilities before deployment.
π See the full results of the Audit Competition:
π https://t.co/A9HqkEbHi3
@calyptus_learn compared to accessing storage. The loop then uses _count as the loop condition, resulting in a lower gas cost since it doesn't need to read from storage in each iteration. So emitNumber2() consumes less gas because it avoids accessing storage in the loop conditions.
@calyptus_learn emitNumber2() consumes less gas compared to emitNumber1().
The reason is that in emitNumber1(), the loop condition directly accesses the count variable, which is a state variable. Every time the loop iterates, it reads the value of count from storage, resulting in a higher gas
@calyptus_learn cost. This is because accessing storage incurs more gas cost compared to using local variables In emitNumber2(), a local variable _count is used to store the value of count before entering the loop. As a local variable, _count is stored in memory, which is more gas-efficient
@intigriti Using binary digits that can be translated into ASCII characters to text converter it reads:
"We must cultivate our garden."
This is a famous quote from Voltaire's novel Candide, and there does not appear to be any bug
@SolidityScan The correct code:
function sub(uint256 x, uint256 y) public pure returns (uint256) {
require(y <= x, "Subtraction result would be negative");
return x - y;
}
@yeswehack Yes of course here is an example β"..%2e%2e%2e%2e%2e%2e%2e%352e%35_etc_passwd"β The "%2e" represents the "." character in hexadecimal and "%35" represents the "5" character in hexadecimal.
@SolidityScan without any check on whether the transaction is initiated by the owner of the contract or not. This means that anyone can call this function and drain the entire balance of the contract.
@SolidityScan βwithdrawTokensβ function is misplaced. The βgetBalance0fTokensβ function is outside the contract, and should be inside the contract.
there is a security vulnerability in the βwithdrawTokensβfunction. The function transfers the entire balance of the user to their address
@MartinPetrov033 @onfroygogo symmetric encryption uses one key for encryption and decryption, while asymmetric encryption uses a pair of keys for encryption and decryption