Elektrik Smart Contracts Review

ZokyoRepository at commit e93d1d7

Audit · firm’s term: smart contract review

Zokyo reviewed Elektrik (Elektrik Smart Contracts Review) on 9 Jul 2024: 28 findings, 0 critical; 16 marked fixed, 12 open.

No open critical findings
Open the reportOpen Elektrik’s security record
Report stored on IPFS. Content hash QmZ2LakuJAmhb3f75pGLMkF12MVqczGdiQeMRqWpi2248Y

Trustblock does not review code.

Findings28

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

SeverityOpenAcknowledgedFixed
Critical000
High100
Medium600
Low5016
LowCommented-Out Code Results in Unnecessary Event Emission for Unchanged WhitelistFixed

The report gives no description here.

LowFloating Pragma and Outdated Solidity versionFixed

The report gives no description here.

LowgetUsdPrice DOES NOT RETURN USD PRICEFixed

The report gives no description here.

LowImproper Order of Modifiers in fillOrders()Fixed

The report gives no description here.

LowIncorrect Event Emission in ConstructorFixed

The report gives no description here.

LowLACK OF EVENTSFixed

The report gives no description here.

LowMisleading Documentation for recipient Address HandlingFixed

The report gives no description here.

LowMissing Sanity checksFixed

The report gives no description here.

LowMISSING SANITY CHECKS FOR IMPORTANT VARIABLESFixed

The report gives no description here.

LowOwner can renounce ownershipFixed

The report gives no description here.

Show 6 more
LowPOOL PAIR IS NOT CHECKED IF IT IS SUPPORTEDFixed

The report gives no description here.

LowPublic Function Could Be Marked ExternalFixed

The report gives no description here.

LowrewardContract and merkleRoot Cannot be updatedFixed

The report gives no description here.

LowStoring the array length in a variable before the loop starts reduces the number of readFixed

The report gives no description here.

LowUnused Return Value from mint() FunctionFixed

The report gives no description here.

LowUSE ++i INSTEAD OF i++Fixed

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.

Repository and files the report names (14)

  • https://github.com/BlockApex/Elektrik-V2-Contracts//src/libraries/OrderEngine.sol at commit e93d1d7a59f07aa69b9e7ed75348acba5da5644c
  • https://github.com/BlockApex/Elektrik-V2-Contracts//src/Vault.sol at commit e93d1d7a59f07aa69b9e7ed75348acba5da5644c
  • https://github.com/BlockApex/Elektrik-V2-Contracts//src/libraries/Decoder.sol at commit e93d1d7a59f07aa69b9e7ed75348acba5da5644c
  • https://github.com/BlockApex/Elektrik-V2-Contracts//src/AdvancedOrderEngine.sol at commit e93d1d7a59f07aa69b9e7ed75348acba5da5644c
  • https://github.com/BlockApex/Elektrik-V2-Contracts//src/AdvancedOrderEngineErrors.sol at commit e93d1d7a59f07aa69b9e7ed75348acba5da5644c
  • https://github.com/BlockApex/Elektrik-V2-Contracts//src/Predicates.sol at commit e93d1d7a59f07aa69b9e7ed75348acba5da5644c
  • https://github.com/BlockApex/Elektrik-V2-Contracts//src/Helper/GenerateCalldata.sol at commit e93d1d7a59f07aa69b9e7ed75348acba5da5644c
  • https://github.com/BlockApex/Elektrik-V2-Contracts//src/Helper/VerifyPredicatesLogic.sol at commit e93d1d7a59f07aa69b9e7ed75348acba5da5644c
  • https://github.com/BlockApex/Elektrik-V2-Contracts//src/Helper/TargetContract.sol at commit e93d1d7a59f07aa69b9e7ed75348acba5da5644c
  • ./libraries/OracleLibraryPlus.sol
  • ./StaticOracle.sol
  • ./libraries/ClaimLib.sol
  • ./UsdOracle.sol
  • ./Airdrops.sol

Part of Elektrik’s security record

Elektrik
Audits1 audit by 1 firmLast audit Jul 2024, by Zokyo.
Critical findingsNo open critical findingsIn 1 report.
Open Elektrik’s security record

Security firm

Zokyo

89 projects reviewed · 131 reports · latest Feb 2025

See Zokyo’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