Last active
July 31, 2022 14:08
-
-
Save EtDu/d3d029faa7d08458ad357ae7f4e7cb57 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 { utils } = require("ethers") | |
const { | |
formatUnits | |
} = utils | |
const calldata = "" | |
const decoded = utils.defaultAbiCoder.decode( | |
[], | |
utils.hexDataSlice(calldata, 4) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment