indexsupply / shovel

An Ethereum to Postgres indexer
https://indexsupply.com/shovel
MIT License
183 stars 23 forks source link

shovel-config-ts: TS package for building shovel config #233

Closed ryandotsmith closed 9 months ago

ryandotsmith commented 9 months ago

This is a v0 idea. Just the basics. We can iterate and find more creature comforts as we go along.

ryandotsmith commented 9 months ago

Another idea from @malonehedges

function makeIntegration<T something goes here>(
  event: SomeAbiTypeHere, 
  table: SomeTableType, 
  eventMappings: Array<{ integrate subset of abi and table types here }>,
  otherFeatures...
): Integration