SynergyPresaleRelaunch.sol
Sale. Takes ETH, USDC or USDT across 8 stages, forwards payment to the Safe, records referral rewards and asks the voucher to mint.
0x9eDF575816475359e932F623D765f5AdE860b6DbExplorer
Smart contract security audit · Synergy Network DAO LLC
An audit of the deployed presale relaunch, the soulbound claim voucher and four helper contracts: manual review, a new 104-test suite, fuzzing, invariants, static analysis, source and bytecode verification, and live mainnet fork tests.
Verdict
No path was found for an outside attacker to steal funds, mint unbacked vouchers, exceed the issuance cap or move a voucher. Since 13 November every control role sits with the 3-of-4 Safe, and sale proceeds go straight to the Safe. The main open risk is what the contracts leave to the future redemption verifier (SYN-R02). The single-key control found earlier (SYN-R01) was resolved on-chain on 13 November.
Findings by severity
Status
0 failures, 0 skipped
3,638 lines of Solidity
Before and after the role handover
Every invariant held
Byte-identical to verified source
Verified on-chain
6 contracts, 3,638 lines of Solidity, on Ethereum mainnet.
SynergyPresaleRelaunch.solSale. Takes ETH, USDC or USDT across 8 stages, forwards payment to the Safe, records referral rewards and asks the voucher to mint.
0x9eDF575816475359e932F623D765f5AdE860b6DbExplorer
SNRGClaimVoucherSoulboundV3.solVoucher. Soulbound claim voucher with sealed issuers, an issuance cap and verifier-based redemption.
0x1774E84F46dAb5Df06486EBed59EDF6568d0b451Explorer
ReferralVoucherAuthorizer.solReferral authorizer. Created by the sale; the only other sealed issuer, used for referral rewards.
0xada755753b725de275449F621Ffd786Dd413752fExplorer
PresaleMigrationRegistry.solMigration registry. Historical imports, referral codes and the administrator role.
0x487471bB8429B16a9890edeecA15247bB42C7D97Explorer
PresalePricing.solPricing. Chainlink price reads with age and band checks.
0xac53C440e8197ddA745DE387265952e60D8B8ADeExplorer
VoucherMetadata.solMetadata renderer. Stateless on-chain metadata; its code hash is pinned in the sale constructor.
0x489E7A1611c2A454a0e26EF07c190a3364dbCef0Explorer
Out of scope. The future redemption verifier and settlement on Synergy Network, the website and backend, the off-chain historical manifests, and the Safe beyond its owners and threshold.
8 of 9 assurance layers applied.
All six contracts read line by line, from funds flow and issuance to redemption and roles.
Team files equal the verified source for all six addresses. Five rebuilt and matched; VoucherMetadata matched by Sourcify's rebuild.
Wiring, roles, Safe owners and threshold, configuration and the five handover transactions read at three blocks.
63 of 63 passed; fuzz tests at 512 runs.
7 of 7 held over 256 runs at depth 128: 32,768 calls each.
28 of 28 passed with real USDC, USDT, Chainlink feeds and the live Safe.
0 High, 9 Medium and 34 Low or informational results; none is a security issue.
88 detectors; the one real issue (centralization) is reported as SYN-R01 and SYN-R02.
Not run; Foundry fuzz and invariant testing was used instead.
Registry :16-23, :104-128; sale :422-425, :703, :730; voucher :512, :522, :556, :1046At deployment the registry administrator, which controls sale activation, pausing and partner codes, was the deployer. The same wallet held the voucher's admin and pauser roles. It could not move proceeds or mint vouchers, but it could halt the sale and make redemption impossible to configure.
Resolved on 13 November 2026 in blocks 26,403,711 to 26,403,807: the registry, and so the sale, moved to the Safe, the voucher granted both roles to the Safe, and the deployer renounced them. Fork tests confirm the deployer is now refused everywhere.
No further action on the contracts.
Voucher :522-600, :824-870, :1216-1275Vouchers can only become native SNRG through a redemption flow that trusts the verifier the admin proposes. There is a 7-day review delay and the verifier's code hash is pinned, but the pin does not cover a proxy or a verifier whose answers depend on storage or owner-set signers.
Require a non-upgradeable verifier with fixed signer or light-client configuration, publish its source when proposed, and consider a timelock and a holder-side cancellation after a long timeout.
Client responseThe client accepts the finding and committed to a non-upgradeable, published verifier before any proposal. No verifier has been proposed; the finding stays Medium until one is deployed, published and reviewed.
Sale :590-591; pricing :46-56The band limits are immutable. If the Chainlink ETH/USD answer leaves the band, every ETH quote reverts and nobody can change it. The stablecoin band behaves the same way during a depeg, which is intended there.
Treat it as a documented operating limit and tell buyers. In a future deployment, widen the band or let the Safe adjust it within hard limits.
Client responseThe client accepts the band as a documented operating limit and will disclose it to buyers.
Sale :1117-1148; registry :73-75The only self-referral check is that the referrer is not the buyer, so a buyer can use a second wallet's code and receive both the 5% buyer bonus and the 10% referrer reward. The full 15% is reserved in the issuance cap, so supply limits hold.
If this is not the intended economics, raise the referrer threshold, attest partner codes off-chain, or price the stages with the 15% in mind.
Client responseThe client treats this as by design and will document the behaviour.
A referrer can remove the buyer's bonus by front-running a purchase. The minimum-bonus order fields protect buyers; front-ends should always set them.
Historical buyers can use a code they used before the relaunch once more and earn a new bonus. The registry is sealed, so this cannot change.
The purchase still completes and the reward stays pending; anyone can deliver it later.
Each voucher stores about 2 KB of base64 JSON metadata. Rendering metadata on read in a future version would cut the cost.
Unsold base inventory is not carried forward when a stage expires; a sellout advances later stages correctly.
An error declared but thrown elsewhere, a missing zero check, and getters that could be external. No risk.
No finding matches these filters.
104 tests written for this audit. All passed.
| Area | Tests | What is checked |
|---|---|---|
| Setup and constructor | 3 | Live caps reproduced; wrong bonus rates, renderer and chain rejected. |
| Purchases | 11 | USDC, USDT and ETH pay the Safe exactly; underpayment, stale quote, deadline and minimum rejected. |
| Issuers and cap | 7 | Outsiders and the admin cannot mint; issuers seal once; the issuance cap is enforced. |
| Oracle | 8 | Stale, out-of-band, wrong-decimals, zero, negative and future rounds rejected; depeg repricing. |
| Referral | 12 | Bonus amounts, thresholds, self-referral, opt-in, front-run protection and deferred claims. |
| Soulbound and reentrancy | 4 | Every transfer and approval path reverts; re-entry is blocked. |
| Pause and stages | 8 | Pause never extends a stage; sellout advances the schedule; expiry and close. |
| Redemption and roles | 10 | 7-day review delay, happy path, malicious verifier and single-key admin powers. |
| Invariants | 7 | Issuance accounting, cap, bounded bonuses, no funds held, stage inventory. |
| Static-analysis triage | 6 | Flagged external calls are static calls; one-shot admin paths cannot be replayed. |
| Mainnet fork: before handover | 13 | Wiring, configuration and purchases on live tokens and feeds at block 26,391,180. |
| Mainnet fork: after handover | 15 | The Safe holds every role; the deployer is refused everywhere at block 26,404,458. |
| Total | 104 | 104 passed, 0 failed |
ERC-20 payments go straight from the buyer to the Safe with exact debit and credit checks; ETH is forwarded with change refunded.
Only two sealed issuers can mint, and only the exact request in progress. The admin cannot add minters.
The referral authorizer, pricing and metadata contracts have no admin. Registry imports were sealed at activation.
Every entry point is nonReentrant with effects before calls; re-entry was blocked in tests.
Updated issue.
Client name corrected; the client's written response and the resulting finding statuses added.
Initial issue.
This is the fingerprint of the report file PSYROB published. If a copy someone sends you has a different SHA-256, it is not this report.
b14d7743c2f9613e609b9d23681d9e517d82e564979b66d6a190664514e905cdChoose a PDF. It is hashed in your browser and never uploaded.
This report is a time-boxed, best-effort review of the code and chain state described above, as of its date of issue. It does not guarantee the absence of defects, does not cover off-chain systems, and is not investment advice.