在 Codegen 中共享 ABI
- INDEXERS
可以共享 ABI 吗?我使用多个索引作为数据源,目前每个索引都有几个共同的 ABI(ERC20 等). 这会导致 codegen 的输出中出现大量重复的文件. 有没有办法分享它们?或者一种在数据源之外定义它们以便它们仍能生成但只能生成一次的方法?
Respuestas1
I am using multiple dexes as datasources, and currently each has a few ABIs (ERC20 etc..) in common. This leads to lots of duplicate files in the output of codegen. Is there a way of sharing them? or a way to define them outside of datasources so they are still generated but only once?