question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Interface: getting names/types of inputs and outputs of a given function.

See original GitHub issue

So this is a suggestion following from #44

Since we are now attaching signature and sighash to interface.functions.someFunction I think another logical extension would be to also attach the inputs and outputs arrays from the abi.

This way searching the interface.abi array won’t be needed which would make querying this information easier for any function. Perhaps we’d also want this for the events. It’s also easy to add on to the current implementation since interface.functions.someFunction comes directly from the abi.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ricmoocommented, Mar 5, 2018

The inputs, outputs, signature and sighash of functions and events are now fully exposed. 😃

Thanks!

0reactions
ricmoocommented, Nov 8, 2017

Hmmm. Maybe I should expose the push-down automata I have in Interface to properly parse brackets into a tree… I will look into whether the current AST data structures make sense outside the library.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Determine Function Inputs and Outputs Given a Function Rule
This video provides examples of how to find function inputs and outputs when given a function a s set or points or ordered...
Read more >
Inputs and Outputs of an Audio Interface explained, lesson 15
Explaining the various analog and digital inputs and outputs of an audio interface, and how to use them.This is lesson 15 in the...
Read more >
Solved Module 05 Content Basic Interfaces A charitable - Chegg
Variable declarations User input acceptance Proper output. Use the Ipen-style function for creating a basic interface. You must provide the following: Your ...
Read more >
Program Introspection - OpenGL Wiki - Khronos Group
Note that this naming applies to all interface block types. So variables declared in input and output blocks are also decorated as such....
Read more >
- Files : Input/Output functions - Scilab Online Help
cd — changes Scilab current directory · createdir — makes new directory · dir — gets file list · isdir — checks that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found