MCPcopy Create free account

hub / github.com/Turbin3/poseidon / functions

Functions55 in github.com/Turbin3/poseidon

↓ 33 callersMethodadd_import
(&mut self, src_pkg: &str, member_name: &str, sub_member_name: &str)
src/rs_types/program_module.rs:34
↓ 15 callersMethodget_seeds
( &mut self, seeds: &Vec<Option<ExprOrSpread>>, is_signer_seeds: bool, )
src/rs_types/program_instruction.rs:138
↓ 12 callersMethodget_rs_arg_from_ts_arg
( &mut self, ts_arg_expr: &Expr, is_account_struct: bool, )
src/rs_types/program_instruction.rs:56
↓ 3 callersFunctionexecute_cmd
Executes a command and streams the output to stdout.
src/cli.rs:338
↓ 2 callersFunctionbuild_workspace
()
src/cli.rs:106
↓ 2 callersFunctionexecute_cmd_with_output
Executes a command and streams the output to stdout, returning the output
src/cli.rs:327
↓ 2 callersFunctionextract_program_ids
(anchor_toml: &str)
src/cli.rs:247
↓ 2 callersFunctionextract_ts_type
( binding: Box<swc_ecma_ast::TsTypeAnn>, )
src/helpers/extract_type.rs:5
↓ 2 callersFunctionparse_ts
(input_file_name: &String)
src/parse_ts.rs:11
↓ 2 callersFunctionrs_type_from_str
(str: &str)
src/ts_types.rs:52
↓ 2 callersFunctiontranspile
(module: &Module, output_file_name: &String)
src/transpiler.rs:15
↓ 1 callersMethodaccounts_to_tokens
(&self)
src/rs_types/program_instruction.rs:1526
↓ 1 callersFunctionanchor_installed
()
src/cli.rs:314
↓ 1 callersFunctionextract_accounts_structs
(input: &str)
src/helpers/format_account_struct.rs:4
↓ 1 callersFunctionextract_name_and_len_with_type_params
( primary_type_ident: &str, type_params: &Box<TsTypeParamInstantiation>, )
src/helpers/extract_type.rs:43
↓ 1 callersFunctionget_default_program_content
(program_name: &str, program_id: &str)
src/cli.rs:353
↓ 1 callersFunctionget_program_name_from_cargo
(cargo_path: &Path)
src/cli.rs:299
↓ 1 callersFunctioninit
(name: &String)
src/cli.rs:18
↓ 1 callersFunctionis_valid_project_name
(name: &str)
src/cli.rs:321
↓ 1 callersMethodpopulate_from_class_expr
( &mut self, class: &ClassExpr, custom_accounts: &HashMap<String, ProgramAccount>,
src/rs_types/program_module.rs:64
↓ 1 callersFunctionreorder_struct
(input: &str)
src/helpers/format_account_struct.rs:17
↓ 1 callersFunctionreplace_struct
(code: &str, struct_header: &str, new_struct: &str)
src/helpers/format_account_struct.rs:71
↓ 1 callersFunctionrun_tests
()
src/cli.rs:170
↓ 1 callersFunctionsync_program_ids
()
src/cli.rs:200
↓ 1 callersMethodtake
( taker: Signer, maker: SystemAccount, makerAta: AssociatedTokenAccount, tak
examples/escrow/typescript/escrow.ts:75
↓ 1 callersMethodto_tokens
(&self)
src/rs_types/program_module.rs:125
↓ 1 callersMethodto_tokens
(&self)
src/rs_types/program_instruction.rs:1497
↓ 1 callersFunctionupdate_program_id_in_ts
(file_path: &Path, program_id: &str)
src/cli.rs:271
Functiondeposit
(ctx: Context<DepositContext>, amount: u64)
examples/vault/rust/vault.rs:14
Methoddeposit
( owner: Signer, state: Vault, auth: UncheckedAccount, vault: SystemAccount,
examples/vault/typescript/vault.ts:26
Functiondownvote
(ctx: Context<DownvoteContext>)
examples/vote/rust/vote.rs:14
Methoddownvote
(state: VoteState)
examples/vote/typescript/vote.ts:28
Methodfrom_class_method
( program_mod: &mut ProgramModule, c: &ClassMethod, custom_accounts: &HashMap<String,
src/rs_types/program_instruction.rs:306
Methodfrom_ts_expr
(interface: TsInterfaceDecl)
src/rs_types/program_account.rs:24
Functioninitialize
(ctx: Context<InitializeContext>)
examples/vault/rust/vault.rs:7
Functioninitialize
(ctx: Context<InitializeContext>)
examples/vote/rust/vote.rs:6
Methodinitialize
( owner: Signer, state: Vault, auth: UncheckedAccount, vault: SystemAccount
examples/vault/typescript/vault.ts:6
Methodinitialize
(state: VoteState, user: Signer)
examples/vote/typescript/vote.ts:10
Functionmain
()
src/main.rs:49
Functionmake
( ctx: Context<MakeContext>, deposit_amount: u64, offer_amount: u64, seed: u64
examples/escrow/rust/escrow.rs:10
Methodmake
( maker: Signer, escrow: EscrowState, makerAta: AssociatedTokenAccount, makerM
examples/escrow/typescript/escrow.ts:6
Methodnew
()
src/rs_types/program_module.rs:24
Methodnew
(name: String)
src/rs_types/program_instruction.rs:42
Methodnew
(name: String, of_type: TokenStream, type_str: String, optional: bool)
src/rs_types/instruction_account.rs:30
Functionrefund
(ctx: Context<RefundContext>)
examples/escrow/rust/escrow.rs:36
Methodrefund
( maker: Signer, makerAta: AssociatedTokenAccount, makerMint: Mint, auth: Un
examples/escrow/typescript/escrow.ts:48
MethodsetFavorites
( owner: Signer, number: u64, color: Str<50>, hobbies: Vec<Str<50>, 5>, favorites: Favorit
examples/favorites/typescript/favorites.ts:14
Functionset_favorites
( ctx: Context<SetFavoritesContext>, number: u64, color: String, hobbies: Vec<
examples/favorites/rust/favorites.rs:6
Functiontake
(ctx: Context<TakeContext>)
examples/escrow/rust/escrow.rs:52
Methodto_tokens
(&self)
src/rs_types/program_account.rs:77
Methodto_tokens
(&self)
src/rs_types/instruction_account.rs:52
Functionupvote
(ctx: Context<UpvoteContext>)
examples/vote/rust/vote.rs:10
Methodupvote
(state: VoteState)
examples/vote/typescript/vote.ts:22
Functionwithdraw
(ctx: Context<WithdrawContext>, amount: u64)
examples/vault/rust/vault.rs:26
Methodwithdraw
( owner: Signer, state: Vault, auth: UncheckedAccount, vault: SystemAccount,
examples/vault/typescript/vault.ts:46