[L-01] Ownership transfer should be done in two steps
If ownership is accidentally transferred to an inactive account all functionalities depending on it will be lost.
3 instances of this issue have been found:
function setAdmin(address a) external authorized(admin) returns (bool) {
admin = a;
return true;
}
[L-02] Floating pragma
A floating pragma might result in contract being tested/deployed with different compiler versions possibly leading to unexpected behaviour.
1 instance of this issue has been found:
Low Risk Findings Overview
safeApprove()
has been deprecatedNon-critical Findings Overview
2**<n> - 1
should be factored astype(uint<n>).max
QA overview per contract
Low Risk Findings
[L-01] Ownership transfer should be done in two steps
If ownership is accidentally transferred to an inactive account all functionalities depending on it will be lost. 3 instances of this issue have been found:
[L-01] Creator.sol#L47-L50
[L-01b] Swivel.sol#L428-L432
[L-01c] MarketPlace.sol#L53-L56
[L-02] Floating pragma
A floating pragma might result in contract being tested/deployed with different compiler versions possibly leading to unexpected behaviour. 1 instance of this issue has been found:
[L-02] ZcToken.sol#L2
[L-03]
safeApprove()
has been deprecatedPlease
safeIncreaseAllowance()
/safeDecreaseAllowance()
instead. 1 instance of this issue has been found:[L-03] Swivel.sol#L562-L563
Non-critical Findings
[N-01]
2**<n> - 1
should be factored astype(uint<n>).max
2 - 1 should be re-written as type(uint).max
**1 instance of this issue has been found:
[N-01] Swivel.sol#L549-L550
[N-02] Remove TODOs
They add unnecessary cluttler and harm readbility for auditors. 11 instances of this issue have been found:
[N-02] Swivel.sol#L721-L722
[N-02b] Swivel.sol#L716-L717
[N-02c] Swivel.sol#L707-L708
[N-02d] Swivel.sol#L382-L383
[N-02e] Swivel.sol#L347-L348
[N-02f] Swivel.sol#L317-L318
[N-02g] Swivel.sol#L286-L287
[N-02h] Swivel.sol#L221-L222
[N-02i] Swivel.sol#L33
[N-02j] Swivel.sol#L120-L121
[N-02k] Swivel.sol#L192-L193
[N-03] Typo
Please fix typos. 1 instance of this issue has been found:
[N-03] Swivel.sol#L181-L182