Important considerations
Multiple adapters, same protocol
If you want to list your protocol in different dashboards you can return in the same adapters dimensions of different dashboards. See the following example:
Methodology
For fees and revenue adapters please don't forget to include how have you calculated the values in the methodology attribute.
Incomplete data
If the adapter is not able to provide data for all dimensions, let's say for example you can only provide data for
dailyVolume
but not fortotalVolume
, please keep the dimension asundefined
, don't assign an arbitrary value or set to it"0"
.
If the adapter can't be used to backfill data and only allows to get data for today's timestamp, please set the flag
runAtCurrTime
totrue
. See more about this flag in the previous sections.
Precision
Please, consider using the BigNumber library when doing mathematical operations that might result or include a value with a magnitude outside the range of safe values to use in JavaScript.
Last updated