bcnmy / userop-debugger-backend

MIT License
7 stars 2 forks source link

Support for address labels #26

Open tomarsachin2271 opened 10 months ago

tomarsachin2271 commented 10 months ago

One of the core functionalities of this project is to provide decoded information for given UserOp and Errors and it'll be easy to understand the results of decoded UserOp and Errors, if addresses also gets a label.

There should be a service that accepts an address and networkId and returns a label string which can be used to add to decoded information of UserOp or Errors to make it more human readable.

Addresses which needs labels are smart account factories, paymasters, token addresses or any other smart contract which is involved in UserOp execution.

This service should be easily extensible in terms of adding more labels.

iamonuwa commented 10 months ago

@tomarsachin2271 do you have examples for this?

tomarsachin2271 commented 10 months ago

I'm exploring https://blog.uniswap.org/token-lists for this