Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.
This repository was archived by the owner on Jul 12, 2024. It is now read-only.

Generate borrowed parameters for functions #34

@gabrielfior

Description

@gabrielfior

I'm trying to generate a function like the following in Rust:

use my_program::{MyImportedClass, AccountInfo, ProgramResult};

pub fn process_instruction(
    program_id: &MyImportedClass,
    accounts: &[AccountInfo]
) -> ProgramResult {
/* pass */

Is there a way to currently generate this? Many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions