-
# Lines of code
https://github.com/code-423n4/2022-06-putty/blob/3b6b844bc39e897bd0bbb69897f2deff12dc3893/contracts/src/PuttyV2.sol#L2
# Vulnerability details
The solidity version 0.8.13 has below…
-
## [L-01] Unspecific Compiler Version Pragma
Avoid floating pragmas for non-library contracts.
While floating pragmas make sense for libraries to allow them to be included with multiple different ve…
-
Section 5 ("Default Visibilities") is out of date; functions no longer default to `public`:
- https://github.com/ethereum/solidity/issues/2608
- https://github.com/ethereum/solidity/pull/3613
- h…
-
## Low Risk
### Unsafe cumulativePower math
cumulativePower can overflow such that total powers is more than cumulativePower
https://github.com/code-423n4/2022-05-cudos/blob/de39cf3cd1f1e1cf211819b06…
-
-
# QA REPORT
## Number of Issues: 2
# 1. ERC20 return values aren't checked in some places
## Impact
The ERC20.transferFrom(), ERC20.transfer(), ERC20.approve() functions return a boolean value indic…
-
http://solidity.readthedocs.io/en/develop/style-guide.html
While this document itself acknowledges:
> The goal of this guide is not to be the right way or the best way to write solidity code.
…
-
# I. Task description
Convert Liquity Solidity smart contract to USJ Cosmwasm contract for our first review.
# II. Task timeline
Deadline: 27/6/2022. 28/6 is ready for discuss.
# III. Task go…
-
The `calldataViewFunctions` flags all `memory` parameters as gas inefficient if they aren't modified. This isn't always the case, `memory` arguments are often **cheaper** than `calldata`. This is beca…
-
When running `solidity-docgen` in a project that uses multiple Solidity compilers, I am getting this error:
```text
Error: Solidity was unable to compile. ParserError: Source file requires differe…