Class EntryPoint
Type signature of a method. Order of arguments matter since can be referenced by index as well as name.
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class EntryPoint
Properties
| Edit this page View SourceAccess
Access control options for a contract entry point
Declaration
[JsonPropertyName("access")]
[JsonConverter(typeof(EntryPointAccess.EntryPointAccessConverter))]
public EntryPointAccess Access { get; init; }
Property Value
| Type | Description |
|---|---|
| EntryPointAccess |
Args
List of input parameters to the method. Order of arguments matter since can be referenced by index as well as name.
Declaration
[JsonPropertyName("args")]
public List<Parameter> Args { get; init; }
Property Value
| Type | Description |
|---|---|
| List<Parameter> |
EntryPointPayment
Specifies who pays for the invocation and execution of the entrypoint.
Declaration
[JsonPropertyName("entry_point_payment")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public EntryPointPayment EntryPointPayment { get; init; }
Property Value
| Type | Description |
|---|---|
| EntryPointPayment |
EntryPointType
Context of method execution
Declaration
[JsonPropertyName("entry_point_type")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public EntryPointType EntryPointType { get; init; }
Property Value
| Type | Description |
|---|---|
| EntryPointType |
Name
Name of the entry point
Declaration
[JsonPropertyName("name")]
public string Name { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Ret
Returned value
Declaration
[JsonPropertyName("ret")]
[JsonConverter(typeof(CLTypeInfoConverter))]
public CLTypeInfo Ret { get; init; }
Property Value
| Type | Description |
|---|---|
| CLTypeInfo |