UNPKG

@ethereum-sourcify/contract-call-decoder

Version:

Library to decode Ethereum smart contract calls into human-readable descriptions using ABI and NatSpec

9 lines (8 loc) 416 B
import { Result } from '@ethersproject/abi'; /** * * @param decodedFunctionData response from ethers Interface.decodeFunctionData (mixed typed index array) * @returns a javascript rappresentation of the arrays / objects / values passed in the calldata */ export declare function getValueFromDecodedFunctionData(decodedFunctionData: Result): unknown; export declare function extractCustomFields(doc: Result): {};