Type alias MoveFunction

MoveFunction: {
    generic_type_params: MoveFunctionGenericTypeParam[];
    is_entry: boolean;
    is_view: boolean;
    name: string;
    params: string[];
    return: string[];
    visibility: MoveFunctionVisibility;
}

Move function

Type declaration

  • generic_type_params: MoveFunctionGenericTypeParam[]

    Generic type params associated with the Move function

  • is_entry: boolean

    Whether the function can be called as an entry function directly in a transaction

  • is_view: boolean

    Whether the function is a view function or not

  • name: string
  • params: string[]

    Parameters associated with the move function

  • return: string[]

    Return type of the function

  • visibility: MoveFunctionVisibility

Generated using TypeDoc