public class ReceiptParser
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static RetCode |
parseCallOutput(Call.CallOutput callResult,
java.lang.String message)
parse output of call.
|
static ContractException |
parseExceptionCall(ContractException exception)
parse call which throws ContractException.
|
static RetCode |
parseTransactionReceipt(TransactionReceipt receipt)
parse transaction receipt and get return code.
|
public static RetCode parseTransactionReceipt(TransactionReceipt receipt) throws ContractException
receipt - See TransactionReceiptContractExceptionpublic static ContractException parseExceptionCall(ContractException exception)
exception - call exceptionpublic static RetCode parseCallOutput(Call.CallOutput callResult, java.lang.String message)
callResult - rpc response of callmessage - revert message if exists