blockful-io / external-resolver-dapp

https://external-resolver-dapp.vercel.app
2 stars 2 forks source link

refactor: Standardize ABI Handling Across the dApp to Avoid Internal Folder Dependencies #160

Open eduramme opened 3 months ago

eduramme commented 3 months ago

Refactor Request

Description

There are currently multiple methods being used to fulfill the ABI parameter within the dApp. This inconsistency can lead to maintainability issues and unnecessary complexities. To streamline development and reduce dependencies, it's suggested to adopt a single standard method for handling ABIs across the entire application. The method used in the referenced code avoids bringing ABIs into internal folders and should be applied universally.

Requirements

Additional Information

https://github.com/blockful-io/external-resolver-dapp/blob/d7a67ed7072bc69790281ffb87775b318a136a09/lib/utils/blockchain-txs.ts#L85

Image

Possible Solution

Audit the current ABI handling methods across the project and refactor them to use the approach demonstrated in the provided code snippet.