fromFuelsBeta3 static method

TransactionReceipt fromFuelsBeta3(
  1. TransactionReceipt receipt
)

Implementation

static TransactionReceipt fromFuelsBeta3(
    fuels_beta3.TransactionReceipt receipt) {
  if (receipt is fuels_beta3.ReceiptCall) {
    return ReceiptCall.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptReturn) {
    return ReceiptReturn.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptReturnData) {
    return ReceiptReturnData.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptPanic) {
    return ReceiptPanic.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptRevert) {
    return ReceiptRevert.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptLog) {
    return ReceiptLog.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptLogData) {
    return ReceiptLogData.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptTransfer) {
    return ReceiptTransfer.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptTransferOut) {
    return ReceiptTransferOut.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptScriptResult) {
    return ReceiptScriptResult.fromFuelsBeta3(receipt);
  }
  if (receipt is fuels_beta3.ReceiptMessageOut) {
    return ReceiptMessageOut.fromFuelsBeta3(receipt);
  }
  throw Exception('Cannot parse transaction receipt');
}