Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blueshift-gg/quasar
/ functions
Functions
3,149 in github.com/blueshift-gg/quasar
⨍
Functions
3,149
◇
Types & classes
836
↓ 2 callers
Function
emit_rent_context
(rent_plan: &RentPlan)
derive/src/accounts/emit/parse.rs:90
↓ 2 callers
Function
emit_struct_field
( out: &mut String, prefix: &str, name: &str, ty: &IdlType, codec: Option<&IdlCodec>, )
idl/src/codegen/c.rs:618
↓ 2 callers
Function
emit_type_use_imports
( out: &mut String, ty: &IdlType, type_map: &HashMap<String, Vec<IdlFieldDef>>, )
idl/src/codegen/rust.rs:1792
↓ 2 callers
Function
emit_wrapper_imports
(out: &mut String, needs_dyn_string: bool, needs_dyn_vec: bool)
idl/src/codegen/rust.rs:1778
↓ 2 callers
Function
ensure_frontend_assets
(profile_root: &Path)
profile/src/lib.rs:173
↓ 2 callers
Function
ensure_lockfile
(sp: &indicatif::ProgressBar)
cli/src/build_lockfile.rs:36
↓ 2 callers
Function
enum_type
(name: &str, variants: Vec<(&str, u64)>)
idl/tests/lint_surface.rs:37
↓ 2 callers
Method
executable
(&self)
lang/src/remaining.rs:151
↓ 2 callers
Method
exit_code
(&self)
cli/src/error.rs:74
↓ 2 callers
Function
extract_const_expr
(arg: &GenericArgument)
derive/src/helpers.rs:285
↓ 2 callers
Function
extract_idl_json
(stdout: &str)
cli/src/idl.rs:20
↓ 2 callers
Function
field_shape
(field: &FieldSurface)
idl/src/lint/rules.rs:394
↓ 2 callers
Function
find_bump_for_address
( seeds: &[&[u8]], program_id: &Address, expected: &Address, )
lang/src/pda.rs:333
↓ 2 callers
Function
find_in_deploy
Find a file by name inside `target/deploy/`, checking both local and workspace target directories.
cli/src/utils.rs:97
↓ 2 callers
Function
find_metadata_pda
(seeds: &[&[u8]])
metadata/src/pda.rs:17
↓ 2 callers
Function
find_workspace_root
(start: &std::path::Path)
profile/src/lib.rs:286
↓ 2 callers
Function
flag_key
(flag: &AccountFlag)
idl/src/lint/surface.rs:321
↓ 2 callers
Function
format_build_errors
Extract and display only the meaningful error/warning lines from cargo output.
cli/src/build_diagnostics.rs:33
↓ 2 callers
Function
format_const_seed_display
Format a const seed value for display (doc comments or code expressions).
idl/src/codegen/rust.rs:1091
↓ 2 callers
Method
freeze_authority
(mut self, v: Option<&'a AccountView>)
spl/src/accounts/mint.rs:62
↓ 2 callers
Function
generate_c_client
Generate a C client header from the IDL. Produces a single header depending on `caravel.h` for Pubkey, AccountMeta, and Instruction.
idl/src/codegen/c.rs:11
↓ 2 callers
Function
generate_clients
(idl: &Idl, languages: &[&str], clients_path: &Path)
cli/src/client.rs:61
↓ 2 callers
Function
generate_go_client
Generate a Go client package from the IDL. Uses `gagliardetto/solana-go` for Solana types (PublicKey, Instruction, AccountMeta).
idl/src/codegen/golang.rs:12
↓ 2 callers
Function
generate_idl
Generate IDL JSON and Rust client from the program crate.
cli/src/idl.rs:103
↓ 2 callers
Function
generate_package_json
(name: &str, ts_sdk: TypeScriptSdk)
cli/src/init/scaffold.rs:371
↓ 2 callers
Function
generate_python_client
Generate a Python client module from the IDL. Uses `solders` for Solana types (Pubkey, Instruction, AccountMeta) and `struct` for binary serializatio
idl/src/codegen/python.rs:12
↓ 2 callers
Function
generate_seeds_impl
Generate the `HasSeeds` impl + `SeedSet` + `SeedSetWithBump` + `AddressVerify` impls for either a standalone seed spec or account type.
derive/src/seeds.rs:141
↓ 2 callers
Function
generate_ts
(idl: &Idl, target: TsTarget)
idl/src/codegen/typescript.rs:94
↓ 2 callers
Function
generate_ts_client
Generate a TypeScript client targeting @solana/web3.js.
idl/src/codegen/typescript.rs:55
↓ 2 callers
Function
generate_ts_client_kit
Generate a TypeScript client targeting @solana/kit.
idl/src/codegen/typescript.rs:60
↓ 2 callers
Function
get_cpi_return
()
lang/src/cpi/mod.rs:205
↓ 2 callers
Function
go_float_decode
Go float decode expression. Extracted to prevent rustfmt from splitting the `\n` in the format string across a line continuation.
idl/src/codegen/golang.rs:857
↓ 2 callers
Function
go_pda_seed_expr
(expr: &str, ty: Option<&IdlType>)
idl/src/codegen/golang.rs:1155
↓ 2 callers
Function
handle_connection
(mut stream: TcpStream, root: &Path)
profile/src/serve.rs:102
↓ 2 callers
Method
handler
(&self)
tests/programs/test-one-of/src/instructions/typed_accessor.rs:11
↓ 2 callers
Function
has_dynamic_field_defs
Returns `true` if any field in the slice is a dynamic field (has SizePrefixed codec).
idl/src/codegen/typescript.rs:1079
↓ 2 callers
Function
helper_call_args
(seeds: &[IdlPdaSeed], account_expr: &impl Fn(&str) -> String)
idl/src/codegen/typescript.rs:1952
↓ 2 callers
Function
hex_sha256
SHA-256 hash as lowercase hex string.
idl/schema/src/canonical.rs:45
↓ 2 callers
Method
idl_tokens
(self)
derive/src/program.rs:180
↓ 2 callers
Function
idl_with_names
(name: &str, crate_name: &str)
idl/src/codegen/model.rs:202
↓ 2 callers
Function
idl_with_pubkey_arg
()
idl/src/codegen/mod.rs:113
↓ 2 callers
Function
init_cpi_accounts
( views: [&'a AccountView; N], )
lang/src/cpi/mod.rs:315
↓ 2 callers
Method
init_signer
(&mut self, seed: u8)
lang/tests/parse_accounts.rs:29
↓ 2 callers
Method
init_uninit
( self, target: &'a mut AccountView, payer: &AccountView, signers: &[crate::cp
lang/src/accounts/uninit.rs:84
↓ 2 callers
Method
init_with_executable
( &mut self, address: [u8; 32], owner: [u8; 32], lamports: u64, data_l
lang/tests/miri.rs:201
↓ 2 callers
Function
initialize_account3
( token_program: &'a AccountView, account: &'a AccountView, mint: &'a AccountView, owner: &Add
spl/src/instructions/initialize_account.rs:26
↓ 2 callers
Function
initialize_account3_data
(owner: &Address)
spl/src/instructions/data.rs:21
↓ 2 callers
Function
initialize_mint2
( token_program: &'a AccountView, mint: &'a AccountView, decimals: u8, mint_authority: &Addres
spl/src/instructions/initialize_mint.rs:28
↓ 2 callers
Function
is_direct_dynamic
Returns `true` if the arg is a top-level dynamic type (string with codec or Vec with codec). These require compact 3-phase encoding at the instruction
idl/src/codegen/golang.rs:624
↓ 2 callers
Function
is_direct_dynamic
Returns `true` if the arg is a top-level dynamic type (string with codec or Vec with codec). These require compact 3-phase encoding at the instruction
idl/src/codegen/python.rs:513
↓ 2 callers
Function
is_enum
(ty: &TypeSurface)
idl/src/lint/rules.rs:556
↓ 2 callers
Function
is_field_def_dynamic
Returns `true` if a field def has a SizePrefixed or Remainder codec (dynamic).
idl/src/codegen/typescript.rs:1085
↓ 2 callers
Function
is_graph_relevant
(account: &AccountMetaSurface)
idl/src/lint/rules.rs:250
↓ 2 callers
Function
is_identifier
(path: &str)
idl/src/codegen/typescript.rs:2235
↓ 2 callers
Method
is_initialized
(&self)
spl/src/token.rs:36
↓ 2 callers
Function
is_optional_dynamic
(ty: &IdlType)
idl/src/codegen/golang.rs:637
↓ 2 callers
Function
is_optional_dynamic
(ty: &IdlType)
idl/src/codegen/python.rs:526
↓ 2 callers
Method
iter
(&self)
lang/src/remaining.rs:294
↓ 2 callers
Function
lamports_per_byte_exceeds_bound
(lamports_per_byte: u64, threshold: u64)
lang/src/sysvars/rent.rs:146
↓ 2 callers
Function
load_existing_lock
(crate_root: &Path)
cli/src/lint.rs:78
↓ 2 callers
Function
log_data
(data: &[&[u8]])
lang/src/log.rs:10
↓ 2 callers
Function
lower_first
(s: &str)
idl/src/codegen/typescript.rs:737
↓ 2 callers
Method
minimum_balance_unchecked
(&self, data_len: usize)
lang/src/sysvars/rent.rs:86
↓ 2 callers
Method
mint_authority
(mut self, v: &'a AccountView)
metadata/src/accounts/metadata.rs:80
↓ 2 callers
Function
missing_sbpf_linker
()
cli/src/build_lockfile.rs:98
↓ 2 callers
Method
parse
(&self)
lang/src/remaining.rs:305
↓ 2 callers
Function
parse_bool
(s: &str)
cli/src/cfg.rs:393
↓ 2 callers
Function
parse_discriminator_value
(input: ParseStream)
derive/src/helpers.rs:191
↓ 2 callers
Function
parse_group_args
Parse `key = value` pairs separated by commas.
derive/src/accounts/syntax/attrs.rs:202
↓ 2 callers
Function
parse_instruction_attr
(attr: &syn::Attribute)
derive/src/program.rs:349
↓ 2 callers
Function
parse_seeds_attr
Extract `#[seeds(...)]` from attributes, if present.
derive/src/seeds.rs:88
↓ 2 callers
Function
parse_tools_version
Parse "vX.YZ" into a numeric value for comparison (e.g. "v1.52" to 152).
cli/src/toolchain.rs:43
↓ 2 callers
Function
pod_alias_type
(ty: &Type, accept_pod_aliases: bool)
derive/src/helpers.rs:486
↓ 2 callers
Function
pod_dyn_to_compact_type
Map a PodDynField to the zeropod compact field type tokens. Used by both #[account] and #[instruction] codegen.
derive/src/helpers.rs:454
↓ 2 callers
Function
prefix_type_name
(prefix_bytes: usize, fallback: &'static str)
derive/src/helpers.rs:601
↓ 2 callers
Function
preflight
(surface: &ProgramSurface, config: &LintConfig)
idl/src/lint/rules.rs:27
↓ 2 callers
Function
primitive_c_type
(primitive: &str)
idl/src/codegen/c.rs:531
↓ 2 callers
Function
primitive_size
(name: &str)
derive/src/declare_program.rs:115
↓ 2 callers
Function
primitive_ts_codec
(primitive: &str, target: TsTarget)
idl/src/codegen/typescript.rs:2328
↓ 2 callers
Function
print_all
(config: &GlobalConfig)
cli/src/cfg.rs:62
↓ 2 callers
Function
print_flamegraph_link
(url: &str)
profile/src/output.rs:238
↓ 2 callers
Function
print_report
(report: &LintReport)
cli/src/lint.rs:88
↓ 2 callers
Function
profile_build
Build with debug symbols only (no feature flags) for profiling. Copies the .so to target/profile/ and returns the path.
cli/src/build.rs:236
↓ 2 callers
Function
profile_web_root
()
profile/src/lib.rs:204
↓ 2 callers
Method
program_id
(&self)
lang/src/cpi/mod.rs:165
↓ 2 callers
Function
python_pda_seed_expr
(expr: &str, ty: Option<&IdlType>)
idl/src/codegen/python.rs:989
↓ 2 callers
Method
raw
(&mut self)
lang/src/cpi/mod.rs:501
↓ 2 callers
Method
raw
(&mut self)
lang/tests/parse_accounts.rs:25
↓ 2 callers
Method
raw
(&mut self)
lang/kani/cpi/account_buffer.rs:21
↓ 2 callers
Method
raw
(&mut self)
spl/tests/miri.rs:102
↓ 2 callers
Method
raw
(&mut self)
metadata/tests/miri.rs:47
↓ 2 callers
Method
realloc
( &mut self, new_space: usize, payer: &AccountView, rent: Option<&crate::sysva
lang/src/accounts/account.rs:166
↓ 2 callers
Function
rent_sysvar
()
tests/suite/src/test_validate_metadata.rs:20
↓ 2 callers
Function
replace_program_id
Replace the address inside `declare_id!("...")` in src/lib.rs.
cli/src/keys.rs:56
↓ 2 callers
Function
resolve_dup_walk
Walk-based dup resolution for one-off `get()` access. Iterative with a 2-hop depth limit for defense-in-depth. The SVM guarantees duplicate chains re
lang/src/remaining.rs:508
↓ 2 callers
Function
resolve_size
( name: &'a str, type_map: &HashMap<&'a str, &'a [IdlFieldDef]>, sizes: &mut HashMap<String, usize
derive/src/declare_program.rs:68
↓ 2 callers
Function
return_with_data
(program_id: [u8; 32], bytes: &[u8])
lang/src/cpi/mod.rs:559
↓ 2 callers
Function
run_build_command
(cmd: &mut Command, verbose: bool)
cli/src/build.rs:362
↓ 2 callers
Function
run_instruction
(name: &str)
cli/src/new.rs:10
↓ 2 callers
Function
run_once
(debug: bool, verbose: bool, features: Option<&str>)
cli/src/build.rs:41
← previous
next →
401–500 of 3,149, ranked by callers