software-mansion / cairo-profiler

Profiler for Cairo programming language & Starknet
MIT License
29 stars 2 forks source link

Use `starknet-selector-decoder` in snforge to extract function names #85

Open piotmag769 opened 4 months ago

piotmag769 commented 4 months ago

The flow should be:

if selector in our_map_from_contract_abi:
   our_map_from_contract_abi[selector]
else:
  starknet_selector_decoder.get_selector(selector)

https://github.com/amanusk/starknet-selector-decoder