- Implemented types
-
- Implementers
Static Methods
-
decode({required Uint8List data, required ContractFunction function})
→ ContractFunctionWithValues
-
Try to decode the raw data using the
function
and return the decoded function
If the decoding of the data with information from the function
fails a NotDecodableContractFunction is returned
-
decodeRaw({required Uint8List data, required Map<String, String> functionMap})
→ ContractFunctionWithValues
-
Try to decode the raw data using the
abiList
and return the decoded function
If the function is not found, return null
-
decodeRawWithFetch({required Uint8List data, Map<String, String>? functionMap, bool openChain = true, bool fourByte = true})
→ Future<ContractFunctionWithValues>
-
Try to decode the raw data using the
abiList
If the function is not found locally it will try to fetch the function from an external source (4byte.directory)
If the function is not found, return null
If a local function is found, return a LocalContractFunctionWithValues
If an external function is found, return a ExternalContractFunctionWithValues
-
fromTextSignature({required String textSignature})
→ ExternalContractFunction?
-