Interface ExecutionResult

  • All Known Implementing Classes:
    Failure, Success

    public interface ExecutionResult
    Abstract Executable Result containing the details of the contract execution. It can be any of the following types:
    Since:
    0.0.1
    See Also:
    Failure, Success
    • Method Detail

      • getCost

        java.math.BigInteger getCost()
      • setCost

        void setCost​(java.math.BigInteger cost)
      • getJsonCost

        @ExcludeFromJacocoGeneratedReport
        default java.lang.String getJsonCost()
        getter for cost json serialization
        Returns:
        cost as expected for json serialization
      • setJsonCost

        @ExcludeFromJacocoGeneratedReport
        default void setJsonCost​(java.lang.String value)
        setter for cost from json deserialized value
        Parameters:
        value - the deserialized value