supra-ts-sdk - v2.0.0
    Preparing search index...

    Type Alias MoveFunction

    Move function

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

    is_entry

    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

    generic_type_params: MoveFunctionGenericTypeParam[]

    Generic type params associated with the Move function

    params: string[]

    Parameters associated with the move function

    return: string[]

    Return type of the function