HECKE (Meridians) — The Coordinate System
One-line pitch: The decoder that turns a venue’s Waat number into map coordinates.
What this is
Section titled “What this is”Hecke maps a uint256 Waat to two signed coordinates through Compliment and a 90-entry meridian table. Preserve full integer precision. Its coordinates are a contract-defined system; do not present them as verified real-world geographic degrees.
If you’ve played a web3 game before
Section titled “If you’ve played a web3 game before”- Closest analogy: an on-chain GPS decoder — converts token IDs into spatial positions.
- Or: a space-filling curve implementation — maps 1D integers to 2D coordinates deterministically.
- Or: a parcel ID → x/y converter like Decentraland’s LAND.
| Dysnomia term | What it maps to |
|---|---|
| HECKE | Coordinate library |
| Meridians[90] | The 90 bands carving the globe |
| Waat | A venue’s position number (input) |
| Longitude / Latitude | The (output) earth coordinates |
| Compliment(Waat) | The conversion function |
What you actually do with it
Section titled “What you actually do with it”Read Compliment(Waat), GetMeridian(Waat) and indexed Meridians values. Keep the ABI’s (Longitude, Latitude) return order explicit and trace the consuming MAP or WORLD method’s order before using a coordinate tuple.
Use these calls here. Simulations preview the current state; each confirmed call is a separate transaction.
Hecke.Compliment(uint256 Waat)Read
Open this function to load its call form.
Hecke.GetWaat(int256 Latitude)Read
Open this function to load its call form.
Hecke.Meridians(uint256)Read
Open this function to load its call form.
Rewards / costs
Section titled “Rewards / costs”- Cost: none (view function).
- Reward: none directly — just geographic information.
Requirements & gating
Section titled “Requirements & gating”- You need a Waat to decode — any registered QING or GWAT has one.
Where it connects
Section titled “Where it connects”Consumed by MAP, QING, GWAT, and WORLD (for proximity rewards).
Quick FAQ
Section titled “Quick FAQ”These coordinates belong to the game’s own system and are not verified real-world degrees.
Want the Solidity? The contract reference lives at
technical/lib/HECKEMERIDIANS.