๐Ÿ‘ฉโ€๐Ÿ’ป
Galactica Network Dev Documentation
  • ๐Ÿ“™Galactica Network Overview
  • ๐ŸงฌGalactica Concepts
    • โ›“๏ธBlockchain Base
    • ๐ŸงพZero-Knowledge KYC
      • Holder Commitment
      • DApp specific HumanID
      • Verification SBT
      • KYC Guardian
      • Galactica Investigation Module
      • Privacy Precautions
    • ๐ŸŒŸReputation
    • ๐Ÿ›‚Contingent Transactions
  • โš™๏ธGalactica Components
    • ๐ŸฆŠGalactica Snap for Metamask
    • ๐ŸŒณRoot Contracts
  • ๐Ÿ—๏ธBuilding a Galactica DApp
    • Example DApps
      • Compliant ERC20
      • Cypherbook
      • Compliant DEX
      • Sybil resistant airdrop
    • Front End
      • Guided Example
        • Connect to Galactica Snap
        • Prepare ZK proof generation
        • Generate and submit ZK proof
        • Handle Verification SBTs
      • Galactica Snap JSON-RPC API
    • Smart Contracts
    • Custom Zero Knowledge Disclosures
  • ๐Ÿ“Guardian Guide
    • Setup to become a Guardian
    • Create and issue ZK certificate
      • ๐ŸชชzkKYC (GIP-1)
      • Arbitrary ZK data certificate (GIP-2)
      • X/Twitter ZK certificate (GIP-3)
      • REY X/Twitter Score ZK certificate (GIP-4)
      • Decentralised Exchange (DEX) ZK certificate (GIP-5)
      • Centralised Exchange (CEX) ZK certificate (GIP-6)
      • Telegram ZK certificate (GIP-7)
  • โ›๏ธValidator Guide
    • ๐Ÿ”งInstallation
    • ๐Ÿ”—Become a Validator
    • ๐Ÿš€galacticad CLI Usage Cheat Sheet
    • ๐Ÿ”’Security Best Practices
  • ๐ŸงชTestNet: Reticulum
    • Release Notes
  • ๐ŸงชDevNet: Andromeda
    • Release Notes
  • ๐Ÿ“ŽChangelog
Powered by GitBook
On this page

Was this helpful?

  1. Guardian Guide
  2. Create and issue ZK certificate

Decentralised Exchange (DEX) ZK certificate (GIP-5)

Decentralised Exchange (DEX) Data

The following table list the Decentralised Exchange (DEX) data contained in a Galactica zkCert. These need to be collected and validated by the Guardian.

Key
Description
Technical details

address

The user's address on the exchange.

Hex-encoded Ethereum address with 0x prefix. Checksum is not verified, thus the capitalisation is irrelevant.

totalSwapVolume

Total volume in USD equivalent traded by the user on the exchange.

String representing a decimal number. Decimal separator is ., only two decimal places are taken into account โ€” the rest is truncated.

swapVolumeYear

Total volume in USD equivalent traded by the user on the exchange in the last 360 days.

String representing a decimal number. Decimal separator is ., only two decimal places are taken into account โ€” the rest is truncated.

swapVolumeHalfYear

Total volume in USD equivalent traded by the user on the exchange in the last 180 days.

String representing a decimal number. Decimal separator is ., only two decimal places are taken into account โ€” the rest is truncated.

PreviousREY X/Twitter Score ZK certificate (GIP-4)NextCentralised Exchange (CEX) ZK certificate (GIP-6)

Last updated 5 months ago

Was this helpful?

๐Ÿ“