Snapshot
Plot the latest published PPoS Dex data point, as in the Snapshot.
$ uv run pposdex snapshot --help
usage: pposdex snapshot [-h] [-p PUBLISHER] [-s START_BLOCK] [-e END_BLOCK] [-a ALGO_THRESHOLD]
[-l | -t] [-v | -q] [--save]
options:
-h, --help show this help message and exit
-p, --publisher PUBLISHER
PPoS Dex data publisher address (default:
WIPE4JSUWLXKZZK6GJ6VI32PX6ZWPKBRH5YFRJCHWOVC73P5RI4DGUQUWQ)
-s, --start-block START_BLOCK
Data starting block (default: 11476070)
-e, --end-block END_BLOCK
Data ending block
-a, --algo-threshold ALGO_THRESHOLD
Minimum account balance in ALGO (default: 1000)
-l, --localhost Use AlgoKit LocalNet
-t, --test Use TestNet (default: MainNet)
-v, --verbose Show debug details
-q, --quiet Show errors only
--save Save plots in './docs/images'
The snapshot shows the latest data point published with the selected
--algo-threshold, by default by the PPoS Dex Oracle account. With --save the
plots are saved in ./docs/images/snapshot instead of being shown.
The published data has no stake of each account: the online stake treemap reads
the online accounts holding more than --algo-threshold live from the Indexer.