Overview
Lockon Finance is an innovative platform that bridges the gap between traditional finance and the fast-evolving world of DeFi projects. Lockon Finance Protocol offers a dynamic set of smart contracts, including token swapping capabilities through the integration of the 0x protocol, aimed at optimizing transaction processes in the blockchain network.
Task
We were mandated to identify and describe any security issues within the set of smart contracts of the Lockon Finance protocol. The scope of the audit entailed examining the following parameters:
- The security of the contracts;
- The conformity of the contract to its documentation;
- Best practices in terms of gas efficiency and code readability.
We have rigorously scanned the smart contracts for widely known and more specific vulnerabilities, including:
- Unsafe type inference;
- Timestamp Dependence;
- Reentrancy;
- Implicit visibility level;
- Gas Limit and Loops;
- Transaction-Ordering Dependence;
- Unchecked external call;
- Unchecked math;
- Dos with Block Gas Limit;
- Dos with (unexpected) Throw;
- Byte array vulnerabilities;
- Malicious libraries;
- Style guide violation;
- ERC20 API violation;
- Uninitialized state/storage/local variables;
Furthermore, the Lockon Finance protocol was also checked against less common vulnerabilities from Blaize.Security’s internal knowledge base.