LayerOneX Contract smart contract audit

HashlockCode version: not recorded (see the report)

Hashlock reviewed L1X Consensus (LayerOneX Contract smart contract audit) on 1 Sep 2024: 35 findings, 0 critical; 32 marked fixed, 3 acknowledged.

No open critical findings
Open the reportOpen L1X Consensus’s security record

Report hosted on GitHub.

Trustblock does not review code.

Findings35

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High005
Medium008
Low0319
HighStakeV2Contract#_depositForNative - Instead of treasury share, the whole amount of Native tokens are transferred to SwapV2Contract.Fixed

The report gives no description here.

HighStakeV2Contract#_durationInDays - Stake deposit functions for ERC20 and Ether does not validate for duration to stake, could result in permanent lock of user fundsFixed

The report gives no description here.

HighSwapGasPriceV2Contract#_bulkUpdateFees - Lack of proper validation in bulkUpdateFees could result in incorrect fee computation.Fixed

The report gives no description here.

HighSwapV2Contract#__l1xReceive- Irrespective of the status of the swap on L1, the swap function is getting executed on the destination chainFixed

The report gives no description here.

HighTreasuryContract#_sendFunds - The send limits authorised to the sender by the owner are not effective.Fixed

The report gives no description here.

MediumL1XAppNFTSale#_authorizedSigner - authorised signer framework is implemented in L1XAppNFTSale, but was not used.Fixed

The report gives no description here.

MediumL1XAppNFTSale#_purchaseViaNative - Should return any excess native tokens received back to the caller, otherwise the caller could end up paying excess tokens.Fixed

The report gives no description here.

MediumL1XAppNFTSale#_purchaseViaStableERC20 - Should return any excess ERC20 received back to the caller, otherwise the caller could end up paying excess tokens.Fixed

The report gives no description here.

MediumStakeV2Contract#_transferAssetForWithdrawal - uses a low level call function to move native tokens, but does not check returned boolean for success or failure of the transaction.Fixed

The report gives no description here.

MediumStakeV2Contract#_transferToTreasury - uses a low level call function to move native tokens, but does not check returned boolean for success or failure of the transaction.Fixed

The report gives no description here.

Show 10 more
MediumStakeV2Contract#_validateRequiredAmount - is vulnerable to arithmetic underflow exceptionFixed

The report gives no description here.

MediumSwapV2Contract#_initiateSwap - initiateswap should return back any excess ether left after processing the transaction.Fixed

The report gives no description here.

MediumZapContract#_initiateZap - initiateZap should return back any excess ether left after processing the transaction.Fixed

The report gives no description here.

LowL1XAppNFTSale#_NFTInvestment - NFTInvestment structure has some commented variables.Fixed

The report gives no description here.

LowL1XAppNFTSale#_purchaseViaNative - Uses Legacy transfer() function to move native token to treasury contract addressFixed

The report gives no description here.

LowL1XAppNFTSale#_purchaseViaStableERC20 - purchaseViaStableERC20 function operates on ERC20 tokens and hence does not need payable operatorFixed

The report gives no description here.

LowL1XAppNFTSale#_transferToTreasury - transferToTreasury function should alway only ERC20 tokens that are listed as supported by the ownerFixed

The report gives no description here.

LowL1XAppNFTSale#_transferToTreasury - Uses Legacy transfer() function to move native token to treasury contract addressFixed

The report gives no description here.

LowMultiSigWalletSingleBroadcast - Floating pragmaFixed

The report gives no description here.

LowMultiSigWalletSingleBroadcast - Transaction struct could be packedFixed

The report gives no description here.

Show 10 more
LowSwapGasPriceV2Contract#_updatePercentFactor - The range of acceptable values for PERCENT_FACTOR should be from 0 to 99.99. The validation is missingFixed

The report gives no description here.

LowSwapV2Contract#_executeSwap - Uses Legacy transfer() function to move native token to receiver addressFixed

The report gives no description here.

LowSwapV2Contract#_initiateSwap - Uses Legacy transfer() function to move native token to treasury address and also source native feeFixed

The report gives no description here.

LowSwapV2Contract#_SWAP_IN_PROGRESS - Declared variable was never usedFixed

The report gives no description here.

LowSwapV2Contract#_transferToStake - Uses Legacy transfer() function to move native token to STAKE_CONTRACT_ADDRESS address. Another problem in the transferToStake function is the flow of logic.Fixed

The report gives no description here.

LowSwapV2Contract#_transferToTreasury - Uses Legacy transfer() function to move native token to treasury addressFixed

The report gives no description here.

LowTreasuryContract#_rescureAllBalanceForNative - Uses Legacy transfer() function to move native token to recipient addressFixed

The report gives no description here.

LowTreasuryContract#_sendFunds - Uses Legacy transfer() function to move native token to recipient addressFixed

The report gives no description here.

LowTreasuryContract#_withdraw - Uses Legacy transfer() function to move native token to recipient addressFixed

The report gives no description here.

LowZapContract#_executeZap - Uses Legacy transfer() function to move native token to treasury addressFixed

The report gives no description here.

Show 2 more
LowZapContract#_initiateZap - Uses Legacy transfer() function to move native token to treasury addressFixed

The report gives no description here.

LowZapContract#_transferToTreasury - Uses Legacy transfer() function to move native token to treasury addressFixed

The report gives no description here.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Part of L1X Consensus’s security record

L1X Consensus
Audits2 audits by 1 firmLast audit Feb 2025, by Hashlock.
Critical findingsNo open critical findingsAcross 2 reports.
Open L1X Consensus’s security record

Security firm

Hashlock

198 projects reviewed · 279 reports · latest Jul 2026

See Hashlock’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us