Rari-Capital / fuse-v1

Smart contracts for Fuse V1 by Rari Capital.
Other
3 stars 3 forks source link

Upgrade scripts/interfaces.sh to production ready version #28

Closed zerosnacks closed 2 years ago

zerosnacks commented 2 years ago

Ports scripts/interfaces.sh to a TypeScript version

Currently there are a few downsides namely that the port is ~3 times slower than the Bash equivalent but there is a potential to run the script in parallel. With advanced filtering this shouldn't be an issue.

zerosnacks commented 2 years ago

@sriyantra would be great if you could have a quick look over this

This PR adds some dependency overhead but I've kept it to a minimum. winston isn't technically necessary but I do like to introduce a shared logging setup we can use for future scripts as well.

zerosnacks commented 2 years ago

Made some small fixes to wrap this up - ready for review

zerosnacks commented 2 years ago

Approved over Discord - merging