Synthetix generates revenue via fees collected through the use of different synthetic assets (e.g. atomic swaps & perps). One such method are maker/taker fees charged on entry/exit of perp positions. Protocols and dapps that wish to partner and/or integrate with Synthetix, can receive a portion of fees relative to volumes generated.
trackingCodeis used to associate and attribute volume generated through atomic and delayed orders.
Tracking codes are issued on a case by case basis, to genuine integrators once they are actively sending volume through the protocol. There is no documentation or permission required to integrate with Synthetix contracts, so the steps to obtaining a tracking code and share of fees are:
To attribute volume to a tracking code, we provide an amended
withTrackingmethod for each market modification call. This allows you to specify a
trackingCodeas the last argument. If a position is successfully opened a
PerpsTrackingevent is emitted and used for fee revenue attribution.