Class EntryPoint
- java.lang.Object
-
- com.casper.sdk.model.contract.entrypoint.EntryPoint
-
public class EntryPoint extends java.lang.ObjectEntry points to be executed against the V1 Casper VM.- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEntryPoint.EntryPointAccessstatic classEntryPoint.EntryPointAccessEnumstatic classEntryPoint.EntryPointAccessListstatic classEntryPoint.EntryPointBuilderstatic classEntryPoint.EntryPointPaymentAn enum specifying who pays for the invocation and execution of the entrypoint.static classEntryPoint.EntryPointTypeContext of method execution
-
Constructor Summary
Constructors Constructor Description EntryPoint()EntryPoint(EntryPoint.EntryPointAccess access, java.util.List<Parameter> args, EntryPoint.EntryPointType type, EntryPoint.EntryPointPayment payment, java.lang.String name, AbstractCLType ret)
-
Method Summary
-
-
-
Constructor Detail
-
EntryPoint
public EntryPoint(EntryPoint.EntryPointAccess access, java.util.List<Parameter> args, EntryPoint.EntryPointType type, EntryPoint.EntryPointPayment payment, java.lang.String name, AbstractCLType ret)
-
EntryPoint
public EntryPoint()
-
-
Method Detail
-
setJsonRet
@ExcludeFromJacocoGeneratedReport protected void setJsonRet(AbstractCLType clType)
Accessor for jackson serialization- Parameters:
clType- the cltype for ret
-
getJsonRet
@ExcludeFromJacocoGeneratedReport protected java.lang.Object getJsonRet()
Accessor for jackson serialization- Returns:
- String if cl_type is basic type, CLType object if not.
-
builder
public static EntryPoint.EntryPointBuilder builder()
-
getAccess
public EntryPoint.EntryPointAccess getAccess()
-
getType
public EntryPoint.EntryPointType getType()
theEntryPoint.EntryPointTypeContext of method execution
-
getPayment
public EntryPoint.EntryPointPayment getPayment()
-
getName
public java.lang.String getName()
the name
-
getRet
public AbstractCLType getRet()
the return asAbstractCLType
-
setAccess
public void setAccess(EntryPoint.EntryPointAccess access)
-
setType
public void setType(EntryPoint.EntryPointType type)
theEntryPoint.EntryPointTypeContext of method execution
-
setPayment
public void setPayment(EntryPoint.EntryPointPayment payment)
-
setName
public void setName(java.lang.String name)
the name
-
setRet
public void setRet(AbstractCLType ret)
the return asAbstractCLType
-
-