Class Success
- java.lang.Object
-
- com.casper.sdk.model.deploy.executionresult.Success
-
public class Success extends java.lang.ObjectAbstract Executable Result of type Success containing the details of the contract execution. It shows the result of a successful execution- Since:
- 0.0.1
- See Also:
ExecutionResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSuccess.SuccessBuilder
-
Constructor Summary
Constructors Constructor Description Success()Success(ExecutionEffect effect, java.util.List<Key> transfers, java.math.BigInteger cost)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Success.SuccessBuilderbuilder()java.math.BigIntegergetCost()The cost of executing the deploy.ExecutionEffectgetEffect()java.util.List<Key>getTransfers()List of Hex-encoded transfer address.voidsetCost(java.math.BigInteger cost)The cost of executing the deploy.voidsetEffect(ExecutionEffect effect)voidsetTransfers(java.util.List<Key> transfers)List of Hex-encoded transfer address.
-
-
-
Constructor Detail
-
Success
public Success(ExecutionEffect effect, java.util.List<Key> transfers, java.math.BigInteger cost)
-
Success
public Success()
-
-
Method Detail
-
builder
public static Success.SuccessBuilder builder()
-
getEffect
public ExecutionEffect getEffect()
- See Also:
ExecutionEffect
-
getTransfers
public java.util.List<Key> getTransfers()
List of Hex-encoded transfer address.
-
getCost
public java.math.BigInteger getCost()
The cost of executing the deploy.
-
setEffect
public void setEffect(ExecutionEffect effect)
- See Also:
ExecutionEffect
-
setTransfers
public void setTransfers(java.util.List<Key> transfers)
List of Hex-encoded transfer address.
-
setCost
public void setCost(java.math.BigInteger cost)
The cost of executing the deploy.
-
-