Class AvmRule.ResultWrapper

  • Enclosing class:
    AvmRule

    public static class AvmRule.ResultWrapper
    extends java.lang.Object
    An abstract container of the result of running a transaction or call on AvmRule.

    This provides high-level accessors for interpreting the consequences of the transaction or call.

    • Method Detail

      • getTransactionResult

        public org.aion.types.TransactionResult getTransactionResult()
        Returns:
        Result of the transaction execution
      • getDappAddress

        public Address getDappAddress()
        Returns:
        Address of the Dapp deployed in this transaction, Null if the deploy transaction failed
      • getDecodedReturnData

        public java.lang.Object getDecodedReturnData()
        Returns:
        Decoded returned data of the call
      • getReceiptStatus

        public org.aion.types.TransactionStatus getReceiptStatus()
        Returns:
        Transaction execution result code, which can be SUCCESS, REJECTED, FAILED, REVERT, or FATAL.
      • getLogs

        public java.util.List<org.aion.types.Log> getLogs()
        Returns:
        List of execution log objects