We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In order to unpack input data, I have to define the input fields.
But if I want to make a generic decoder apply to any contract, for any function input, I can't define all of the input structs in the program.
So if there's a way I can have FunctionInputs struct dynamically, make the fields inside the struct auto reference to the abi?
FunctionInputs
// create strut that matches input names to unpack type FunctionInputs struct { AmountOutMin *big.Int Path []common.Address To common.Address Deadline *big.Int }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In order to unpack input data, I have to define the input fields.
But if I want to make a generic decoder apply to any contract, for any function input, I can't define all of the input structs in the program.
So if there's a way I can have
FunctionInputs
struct dynamically, make the fields inside the struct auto reference to the abi?The text was updated successfully, but these errors were encountered: