G7DAO / seer

Apache License 2.0
8 stars 5 forks source link

Feat: Add safe-function flag #84

Closed karacurt closed 1 month ago

karacurt commented 1 month ago

In order to generate a function calldata without simulating the transaction. We are adding back abi.Pack to encode function arguments.

Also, we add a safe-function flag that will serve us as overrider. It will help us override in case the generation is wrong.

This is a temporary workaround until we figure out how to deal with keep the original function names while parsing it on codegen.