Omniscia Alliance Block Audit

IWrappedToken Static Analysis Findings

IWrappedToken Static Analysis Findings

IWT-01S: Incorrect ERC20 Interface

Description:

The ERC20 standard transfer interface returns a bool on invocation.

Example:

contracts/interfaces/IWrappedToken.sol
4interface IWrappedToken {
5 function mint(address account, uint256 amount) external;
6
7 function burnFrom(address from, uint256 amount) external;
8
9 function transfer(address to, uint256 amount) external;
10
11 function permit(
12 address owner,
13 address spender,
14 uint256 amount,
15 uint256 deadline,
16 uint8 v,
17 bytes32 r,
18 bytes32 s
19 ) external;
20}

Recommendation:

We advise the interface to be updated to reflect that.

Alleviation:

The IWrappedToken implementation was completely omitted from the codebase thus rendering this exhibit inapplicable.