Quantum Audit Logo
Launch App

On-chain security analysis — is it a scam or legit?

Is Gram (prev. Toncoin) Safe?

GRAMEthereum
Not verified This record has not gone through deep verification and is not being monitored. The score is a dated snapshot — the token’s risk can change at any time.Own this token? Put it under verification →
Last checked Sep 4, 2026 · 1 audit on record
SummaryAI Copilot

The TONBridge Bridge contract implements a multi-signature oracle system for minting wrapped TON tokens, updating the oracle set, and controlling burn functionality.

Read the full analysis
What raised the score
  • Ownership status UNKNOWN
  • Top-10 concentration > 20%
  • Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
  • LP top1 unlocked holder = 72.0%
  • LP top3 unlocked holders = 91.1%
Exact factors
  • Ownership status UNKNOWN (owner could not be resolved)
  • Top-10 concentration > 20% (30.1% total → 28.1% effective; 26.7% in EOAs, 3.4% in contracts — mild)
  • Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
  • LP top1 unlocked holder = 72.0% (independent LP — depth risk, pool = 80% of DEX liquidity)
  • LP top3 unlocked holders = 91.1% (independent LP — depth risk, pool = 80% of DEX liquidity)

How scores are computed

Security Checklist

as of audit · Sep 43 of 5 checks passed
Contract verifiedVerified
OwnershipUnknown
MintNo mint
Liquidity lockNot locked
UpgradeabilityFixed code

Holders

as of audit · Sep 4, 2026
3.4%26.7%Wallets69.9%Everyone else
3.4%26.7%Wallets69.9%Everyone else
ContractsWalletsEveryone elseBubble area = share of supply
30.1%of supply sits with the top 10 holders
  • Contractstreasury, vesting, bridge, staking3.4%
  • Walletsanonymous holders, free to sell26.7%
  • Everyone elsethe rest of the supply69.9%
Effective concentrationwhat the score reads28.1%
How holder types affect the score

Share held by contracts — treasury, vesting, bridge or staking — is discounted against share held by wallets when the score is computed: a contract cannot decide to sell the way an anonymous holder can, though it can still be drained or voted to sell. Effective concentration is the figure the risk score is actually calculated from.

Holder balances as recorded by the audit of Sep 4, 2026

Liquidity

as of audit · Sep 4$985.8K across 6 pairs
LP tokensNot locked

The LP tokens of the analysed pool are not locked or burned, so whoever holds them can withdraw that liquidity.

Analysed pool$793.2KShare of depth80.5%
Top-1 Unlocked Holder72.0%
Top-3 Unlocked91.1%
Unlocked LP held by
0x5a8c…2cc70x483f…e9f10xb156…dc9d0xe890…78320x3cd5…788e0xc325…bc1d0x91d4…e21a0x18c8…42250xae22…0c450x5bf9…79af

No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.

Security Findings

5 Medium1 Low1 Info
Medium

Outdated Solidity Compiler Version

Not confirmed by static analysis (the model's own reading of the source).M-01

Issue

Not confirmed by static analysis (the model's own reading of the source). The contract uses Solidity ^0.7.0 and ^0.7.4. These versions do not include automatic overflow and underflow checks for unsigned integers, which are standard in Solidity 0.8.0 and later. While no direct overflow/underflow vulnerabilities were identified in critical arithmetic beyond the quorum calculation, relying on older compiler versions increases the risk of subtle arithmetic bugs and misses out on other security improvements and optimizations present in newer versions.

Fix

Consider upgrading the contract to Solidity 0.8.x. This would provide automatic overflow/underflow checks, reducing the need for manual SafeMath implementations or extensive manual checks. A thorough review and testing process would be required to ensure compatibility and address any breaking changes introduced by the newer compiler version.

Status

Unresolved

Medium

oracleSetHash Parameter Unused in updateOracleSet

Not confirmed by static analysis (the model's own reading of the source).M-02

Issue

Not confirmed by static analysis (the model's own reading of the source). The voteForNewOracleSet function takes an int oracleSetHash parameter, which is used to generate the digest for the vote. However, the updateOracleSet function, which is called after a successful vote, receives this oracleSetHash but does not use it to verify the newSet array. While the newSet itself is part of the digest and directly applied, the oracleSetHash parameter could be misleading if it implies a verification that does not occur within the updateOracleSet function.

Fix

Clarify the purpose of oracleSetHash. If it's purely an identifier for the vote, consider renaming it to avoid confusion. If it's intended to be a hash of the newSet for verification, implement the corresponding check within updateOracleSet. Ensure documentation clearly explains its role.

Status

Unresolved

Medium

Incorrect Quorum Calculation for 2/3 Majority

Not confirmed by static analysis (the model's own reading of the source).M-03

Issue

Not confirmed by static analysis (the model's own reading of the source). The generalVote function calculates the required number of signatures for a 2/3 majority using integer division: signatures.length >= 2 * oraclesSet.length / 3. This calculation incorrectly truncates the result, leading to a lower-than-intended quorum for many oraclesSet.length values. For example, with 2 oracles, it requires 1 signature instead of 2; with 4 oracles, it requires 2 signatures instead of 3. This significantly weakens the security of the multi-signature scheme, making it easier for a minority of oracles to pass votes.

Fix

Modify the quorum calculation to correctly implement ceiling division for 2/3 of the oracle set. The formula (2 * oraclesSet.length + 2) / 3 should be used to ensure the correct number of signatures is required. Thoroughly test this change with various oracle set sizes.

Status

Unresolved

Medium

Centralization Risk and Oracle Compromise

Not confirmed by static analysis (the model's own reading of the source).M-04

Issue

Not confirmed by static analysis (the model's own reading of the source). The entire security and integrity of the Bridge contract, including token minting, oracle set updates, and burn status control, relies on the honesty and security of the oracle set. A compromise or collusion of 1/3 + 1 oracles (e.g., 2 out of 3, or 3 out of 4 with the current bug) can lead to unauthorized minting of tokens, disabling of the burn mechanism, or taking full control of the oracle set. This represents a significant centralization risk inherent to the design.

Fix

While this is a fundamental design choice, it is crucial to acknowledge and mitigate the risks associated with oracle centralization. Implement robust off-chain security practices for oracle key management, multi-factor authentication, and continuous monitoring. Consider mechanisms for emergency pauses or community-driven overrides if a supermajority of oracles is compromised, though this would require significant architectural changes.

Status

Unresolved

Medium

Vote Finalization Before Action Execution

Not confirmed by static analysis (the model's own reading of the source).M-05

Issue

Not confirmed by static analysis (the model's own reading of the source). In the generalVote function, the finishedVotings[digest] = true flag is set *before* the actual action (e.g., executeMinting, updateOracleSet, allowBurn = newBurnStatus) is performed. If the subsequent action reverts due to an unexpected condition (e.g., an internal error in mint, or a require statement failure in updateOracleSet), the vote will still be marked as finished. This prevents any retry for that specific digest, potentially leaving a valid vote in a 'stuck' state where the action was intended but never completed.

Fix

Refactor the generalVote function to set finishedVotings[digest] = true *after* the successful execution of the associated action. This ensures that a vote is only marked as complete if its intended effect has been successfully applied to the contract state. Alternatively, implement a mechanism to allow a failed vote to be retried or explicitly cancelled by a supermajority.

Status

Unresolved

Low

Initial Oracle Set Not Subject to Vote

Not confirmed by static analysis (the model's own reading of the source).L-01

Issue

Not confirmed by static analysis (the model's own reading of the source). The constructor of the Bridge contract directly calls updateOracleSet with the initialSet provided during deployment. This means the initial set of oracles is established without any multi-signature vote. While this is a standard practice for contract initialization, it places full trust in the deployer to correctly and securely configure the initial oracle set.

Fix

Ensure that the deployment process is highly secure and that the initialSet of oracles is carefully chosen and verified. Document this trust assumption clearly for users and stakeholders. This is generally acceptable for bootstrapping a system.

Status

Unresolved

Info

experimental ABIEncoderV2 Pragma Used

Not confirmed by static analysis (the model's own reading of the source).I-01

Issue

Not confirmed by static analysis (the model's own reading of the source). The contract uses pragma experimental ABIEncoderV2;. While ABIEncoderV2 has been widely adopted and is considered stable in practice, it was an experimental feature in Solidity 0.7.x. In Solidity 0.8.0 and later, it is enabled by default and the pragma is no longer necessary.

Fix

This is an informational note. If upgrading to Solidity 0.8.x, this pragma can be removed. No immediate action is required for functionality or security in 0.7.x, but it's a reminder of the compiler version's experimental features.

Status

Unresolved

Analysis

AI Copilotas of audit · Sep 4
Executive SummaryWhat the contract is and what the review found

The TONBridge Bridge contract implements a multi-signature oracle system for minting wrapped TON tokens, updating the oracle set, and controlling burn functionality. The system relies on a 2/3 majority vote from a dynamic set of oracles. A critical vulnerability was identified in the quorum calculation, significantly lowering the required number of signatures for a vote to pass. High risks are associated with the inherent centralization of the oracle system and potential for vote execution failures. Several medium and low-severity issues were also found, including the use of an outdated Solidity compiler version and a potential for vote finalization before action execution.

Technical10/10Low risk

The contract demonstrates a clear architecture for a multi-signature bridge, leveraging inherited ERC20 and signature verification functionalities (7.1). However, a critical flaw exists in the quorum calculation within the generalVote function, requiring fewer signatures than intended for a 2/3 majority (7.2). Additionally, the finishedVotings flag is set before action execution, potentially leaving valid votes in a stuck state if the subsequent action reverts (7.2, 7.8). The use of Solidity 0.7.x also means a lack of automatic overflow/underflow checks (7.2). Access control is robustly enforced via the oracle majority mechanism (7.3), and external interactions are limited to internal calls (7.6).

Governance3/10High risk

The economic model centers around the minting and burning of a wrapped token, controlled by a set of oracles. The primary economic risk stems from the centralization inherent in the oracle system; a compromise or collusion of 1/3 + 1 oracles could lead to arbitrary token minting or disabling of burning, directly impacting the token's value (7.4, 7.5). The governance mechanism, based on a 2/3 oracle vote, is intended to secure these operations, but the identified quorum calculation bug severely undermines this security (7.5). The initial oracle set is established by the deployer without a vote, which is a standard trust assumption for bootstrapping (7.5).

Upgrades6/10Medium risk

The contract is not designed as an upgradeable proxy, therefore, no upgrade-specific risks or safety issues are present (7.7).

Final RecommendationWhat to do about this score

It is strongly recommended to immediately address the critical quorum calculation vulnerability to ensure the integrity of the multi-signature scheme.

All arithmetic operations involving sensitive thresholds should be thoroughly reviewed and tested. Consider upgrading to a newer Solidity compiler version (0.8.x) to benefit from automatic overflow/underflow checks and other security enhancements. Implement a more robust error handling mechanism for vote execution to prevent votes from being marked as finished if the subsequent action fails.

Contract & Record

1 audit on record
TypeToken
NetworkEthereum
Token age4y
Contract0x582d…def1
Deployer0x0ade…00e2
Badge for your website
Gram (prev. Toncoin) security record badge

Free for any token on the record. It links to this page and always shows the current score and the date it was checked.

Audit History
  1. Sep 4, 202619Low
  2. Jul 23, 202667High

Score changes are recorded as dated snapshots — history is append-only and cannot be edited.

Frequently Asked Questions

What is the GRAM contract address?

The Gram (prev. Toncoin) (GRAM) contract on Ethereum is 0x582d872a1b094fc48f5de31d3b73f2d9be47def1. Compare it with the address the project itself publishes before trading: other contracts can carry the same name and ticker.

Is Gram (prev. Toncoin) a scam?

Quantum Audit's risk score for Gram (prev. Toncoin) is 19/100 (Low risk) as of Sep 4, 2026, computed by a deterministic function from on-chain facts — Contract verified: Verified; Mint: No mint; Liquidity lock: Not locked; Upgradeability: Fixed code. A score is a dated snapshot of those facts, not a guarantee; each one is listed on this page.

Is GRAM liquidity locked?

Liquidity lock: Not locked (as of Sep 4, 2026). Total DEX liquidity: $985.8K.

Who holds GRAM?

As of Sep 4, 2026, the 10 largest holders own 30.1% of the supply. The Holders section on this page shows who they are by holder type.

Would You Like a More Detailed Audit of Gram (prev. Toncoin)?

Our AI-powered scanner gives you a deeper, real-time smart contract analysis — free, with every scoring factor shown.

Get Detailed Audit Is this your token? Add your links and get it Verified