Swipe Governance

CertiKCode version: not recorded (see the report)

CertiK reviewed Swipe (Swipe Governance) on 2 Sep 2020: 10 findings, 0 critical; 1 marked fixed, 9 open.

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

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings10

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low901
LowDuplicate functionalityOpen

Both the Governance and GovernanceTimelock contracts has duplicate functions related to assuming guardianship.

LowDuplicate require statementsOpen

Both the Governance and GovernanceTimelock contracts has multiple duplicate instances of the same requirement related to access restriction that the message sender should be the guardian account and the authorizedNewGuardian account.

LowDuplicate require statementsOpen

The Governance contract has multiple duplicate instances of the same requirement that a proposal identifer is valid.

LowInsufficient gas useOpen

The Governance.getProposal function makes insufficient use of gas by copying Proposal field values from a storage pointer, which has a higher gas cost than copying the Proposal structure into memory.

LowMultiple Solidity versions usedOpen

Different Solidity compiler version requirements were used throughout the provided smart contracts: File Version Governance.sol ^0.5.16 GovernanceEvent.sol ^0.5.16 GovernanceProxy.sol ^0.5.0 GovernanceStorage.sol ^0.5.16 GovernanceTimelock.sol ^0.5.16 GovernanceTimelockEvent.sol ^0.5.16 GovernanceTimelockProxy.sol ^0.5.0 GovernanceTimelockStorage.sol ^0.5.16 IGovernanceTimelock.sol ^0.5.0 IStaking.sol ^0.5.0

LowUnused return valueOpen

The Governance.execute function has a loop over the queued proposal's actions in which a call is made to the GovernanceTimelock.executeTransaction function for each proposal action and ignores the data returned from the call to each target.

LowUnused return valueOpen

The Governance.executeAuthorizeGuardianshipTransfer function makes a call to the _timelock state variable's GovernanceTimelock.executeTransaction function and ignores the returned transaction hash bytes.

LowUnused return valueOpen

The Governance.internalQueueOrRevert function makes a call to the _timelock state variable's GovernanceTimelock.queueTransaction function and ignores the returned transaction hash bytes.

LowUnused return valueOpen

The Governance.queueAuthorizeGuardianshipTransfer function makes a call to the _timelock state variable's GovernanceTimelock.queueTransaction function and ignores the returned transaction hash bytes

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 Swipe’s security record

Swipe
Audits1 audit by 1 firmLast audit Sep 2020, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Swipe’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