Class Success
- java.lang.Object
-
- com.syntifi.casper.sdk.model.deploy.executionresult.Success
-
- All Implemented Interfaces:
ExecutionResult
public class Success extends java.lang.Object implements ExecutionResult
Abstract Executable Result of type Success containing the details of the contract execution. It shows the result of a successs execution- Since:
- 0.0.1
- See Also:
ExecutionResult
-
-
Constructor Summary
Constructors Constructor Description Success()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.math.BigIntegergetCost()The cost of executing the deploy.ExecutionEffectgetEffect()protected java.lang.StringgetJsonCost()java.util.List<java.lang.String>getTransfers()List of Hex-encoded transfer address.inthashCode()voidsetCost(java.math.BigInteger cost)The cost of executing the deploy.voidsetEffect(ExecutionEffect effect)protected voidsetJsonCost(java.lang.String value)voidsetTransfers(java.util.List<java.lang.String> transfers)List of Hex-encoded transfer address.java.lang.StringtoString()
-
-
-
Method Detail
-
getJsonCost
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonCost()
-
setJsonCost
@ExcludeFromJacocoGeneratedReport protected void setJsonCost(java.lang.String value)
-
getCost
public java.math.BigInteger getCost()
The cost of executing the deploy.
-
getEffect
public ExecutionEffect getEffect()
- See Also:
ExecutionEffect
-
getTransfers
public java.util.List<java.lang.String> getTransfers()
List of Hex-encoded transfer address.
-
setCost
public void setCost(java.math.BigInteger cost)
The cost of executing the deploy.
-
setEffect
public void setEffect(ExecutionEffect effect)
- See Also:
ExecutionEffect
-
setTransfers
public void setTransfers(java.util.List<java.lang.String> transfers)
List of Hex-encoded transfer address.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-