Gain Smart Contract Review

ZokyoRepository at commit cfaaac2

Audit · firm’s term: smart contract review

Zokyo reviewed Gain (Gain Smart Contract Review) on 22 Jan 2024: 9 findings, 0 critical; all marked fixed.

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

Trustblock does not review code.

Findings9

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium002
Low007
MediumNo Access Control In startDistribution()Fixed

The report gives no description here.

MediumSignature proof not including a domain separatorFixed

The report gives no description here.

LowAbsence of SafeERC20 library in ERC20 asset transferFixed

The report gives no description here.

LowclaimNativeToken Can Be Removed From ERC20Distribution.solFixed

The report gives no description here.

LowComments For ERC20Distribution and ERC20DistributionNative Are SameFixed

The report gives no description here.

LowInconsistency between rate calculation and comment in ERC20DistributionNativeFixed

The report gives no description here.

LowIncreased deployment cost due to extended error messagesFixed

The report gives no description here.

LowSender identification discrepancyFixed

The report gives no description here.

LowUnnecessary redundant variableFixed

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 (4)

  • https://github.com/GainDAO/token//contracts/GainDAOToken.sol at commit cfaaac2ef42188a61098e809d0deca55383a1336
  • https://github.com/GainDAO/token//contracts/ERC20Distribution.sol at commit cfaaac2ef42188a61098e809d0deca55383a1336
  • https://github.com/GainDAO/token//contracts/PaymentToken.sol at commit cfaaac2ef42188a61098e809d0deca55383a1336
  • https://github.com/GainDAO/token//contracts/ERC20DistributionNative.sol at commit cfaaac2ef42188a61098e809d0deca55383a1336

Part of Gain’s security record

Gain
Audits3 audits by 1 firmLast audit Jan 2024, by Zokyo.
Critical findingsNo open critical findingsAcross 3 reports.
Open Gain’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