Class EntryFunction
- Namespace
- Aptos
- Assembly
- Aptos.dll
[Serializable]
public class EntryFunction : Serializable
- Inheritance
-
EntryFunction
- Inherited Members
-
Constructors
EntryFunction(ModuleId, string, List<TypeTag>, List<IEntryFunctionArgument>)
public EntryFunction(ModuleId moduleName, string functionName, List<TypeTag> typeArgs, List<IEntryFunctionArgument> args)
Parameters
moduleName
ModuleId
functionName
string
typeArgs
List<TypeTag>
args
List<IEntryFunctionArgument>
Fields
Args
public readonly List<IEntryFunctionArgument> Args
Field Value
- List<IEntryFunctionArgument>
FunctionName
public readonly string FunctionName
Field Value
- string
ModuleName
public readonly ModuleId ModuleName
Field Value
- ModuleId
TypeArgs
public readonly List<TypeTag> TypeArgs
Field Value
- List<TypeTag>
Methods
Build(string, string, List<TypeTag>, List<IEntryFunctionArgument>)
public static EntryFunction Build(string moduleId, string functionName, List<TypeTag> typeArgs, List<IEntryFunctionArgument> args)
Parameters
moduleId
string
functionName
string
typeArgs
List<TypeTag>
args
List<IEntryFunctionArgument>
Returns
- EntryFunction
Deserialize(Deserializer)
public static EntryFunction Deserialize(Deserializer d)
Parameters
d
Deserializer
Returns
- EntryFunction
Generate(string, List<object>, List<object>, FunctionAbi)
public static EntryFunction Generate(string function, List<object> functionArguments, List<object> typeArguments, FunctionAbi functionAbi)
Parameters
function
string
functionArguments
List<object>
typeArguments
List<object>
functionAbi
FunctionAbi
Returns
- EntryFunction
Serialize(Serializer)
public override void Serialize(Serializer s)
Parameters
s
Serializer