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.
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.
Last updated