RubiconDeFi / rubi-subgraphs

Subgraphs for the Rubicon Protocol
MIT License
3 stars 0 forks source link

improvement: market-aid entity calls #4

Open denverbaumgartner opened 1 year ago

denverbaumgartner commented 1 year ago

currently in the market aid stack we are dealing with loading the AidToken and AidTokenHistory within the mapping itself every time the need arises. this is a pretty routine pattern that should be obfuscated to src/utils/entities at some point for readability and easy of maintenance.