Created
April 20, 2018 14:54
-
-
Save yondonfu/4ae24fcbf29d6657f6b01867eeae08ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const abiDecoder = require("abi-decoder") | |
const ABI = require("./JobsManager.json") | |
const main = async data => { | |
abiDecoder.addABI(ABI) | |
const decoded = abiDecoder.decodeMethod(data) | |
console.log(decoded) | |
} | |
main(process.argv[2]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment