Skip to main content

    Calculation method

    How MoonMath calculates contract risk

    Token Contract Risk Evidence — Which token contract risks were actually observed?

    The formula

    Not a formula. Each of ten signals is resolved on its own: no provider answering gives unavailable, two providers disagreeing gives conflicting with no value selected, and otherwise the observed value is reported with a confidence basis naming how many sources agreed.

    What it reads

    • The chain and token address
    • Contribution records from each configured risk provider
    • The observation time of each contribution

    What it assumes

    • Two source values that are identical are treated as agreement; anything else is a conflict rather than a tie-break
    • A provider that fails contributes nothing and a limitation, never an adverse value
    • Freshness is judged against fixed per-class age thresholds

    What this does not establish

    • An unavailable check is not a pass, and a positive observation is not proof that a token is safe
    • There is no severity ranking and no overall score: signals are never combined
    • A current freshness state describes the age of the observation, not that the contract behaves the same now
    • Conflicting providers are preserved as a conflict rather than resolved into the more reassuring answer

    Run it

    Inspect provider-observed contract, execution and liquidity-control signals without reducing them to an undocumented safety score. Every result keeps its source, observation time, confidence basis and limitations visible.

    Open the Contract Risk calculator

    How the market itself works

    This page describes MoonMath's arithmetic. The mechanics section describes the market: how an order book forms a price, why order-book depth is not the same thing as pool liquidity, and what a public book does and does not let you observe.

    Read the market mechanics