Open Tritium-VLK opened 1 month ago
Let me know if you have questions..
gauge_address = list(aura.aura_pids_by_address.keys())[list(aura.aura_pids_by_address.values()).index(aura_pid)
is very ugly
Also a bit confusing that the PID table seems to have "int"'s as keys instead of raw ints. Made reverse lookups break/required debugging.
In the Aura class, there is a dict called aura_pids_by_address.
1: This is by_deposit_gauge_address 2: I found myself reversing the dict to do a lookup, so a reverse would be nice.