SociaPol - audit

CertiKFiles named in the report

CertiK reviewed SociaPol (SociaPol - audit) on 2 Nov 2023: 12 findings, 0 critical; 9 marked fixed, 3 open.

No open critical findings
Open the reportOpen SociaPol’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings12

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

SeverityOpenAcknowledgedFixed
Critical000
High102
Medium002
Low205
HighInitial Token DistributionOpen

All of the `SociaPol` tokens are sent to the contract deployer address. This is a centralization risk because the deployer can distribute tokens without obtaining the consensus of the community. Any compromise to these addresses may allow a hacker to steal and sell tokens on the market, resulting in severe damage to the project. ```solidity=9 constructor(string memory name, string memory symbol, uint8 decimal, uint256 initialSupply) ERC20(name, symbol, decimal) { uint256 amount = initialSupply * 10 ** decimal; _mint(msg.sender, amount); } ```

LowInefficient Memory ParameterOpen

One or more parameters with `memory` data location are never modified in their functions and those functions are never called internally within the contract. Thus, their data location can be changed to `calldata` to avoid the gas consumption copying from calldata to memory. ```solidity=122 function batchAddBlacklist( ``` `batchAddBlacklist` has memory location parameters: `_beneficiaries`. --- ```solidity=159 function batchCreateVestingSchedule( ``` `batchCreateVestingSchedule` has memory location parameters: `_beneficiaries`, `amounts`, `startTimes`, `endTimes`, `periods`.

LowUnnecessary Storage Read Access in For LoopOpen

The for loop contains repeated storage read access in the condition check. Given that the ending condition does not change in the for loop, the repeated storage read is unnecessary, and its associated high gas cost can be eliminated. ```solidity=248 for (uint256 i = 0; i < beneficiaries.length; i++) { ``` Loop condition `i < beneficiaries.length` accesses the `length` field of a storage array.

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

  • token/Context.sol
  • token/ERC20Burnable.sol
  • token/Ownable.sol
  • token/ERC20.sol
  • vesting/contracts/VestingContract.sol
  • token/Contract.sol

Part of SociaPol’s security record

SociaPol
Audits1 audit by 1 firmLast audit Nov 2023, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open SociaPol’s security record

Security firm

CertiK

1,045 projects reviewed · 1,376 reports · latest May 2025

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