MCPcopy Create free account

hub / github.com/blueshift-gg/quasar / functions

Functions3,149 in github.com/blueshift-gg/quasar

↓ 784 callersFunctionnew
Generate a new keypair and update declare_id!().
cli/src/keys.rs:123
↓ 421 callersMethoditer
Iterate over the elements.
lang/src/client.rs:270
↓ 368 callersMethodpush
(&mut self, diagnostic: Diagnostic)
idl/src/lint/report.rs:171
↓ 289 callersMethodaddress
(&self)
lang/src/remaining.rs:131
↓ 284 callersFunctionsigner_account
(address: Pubkey)
tests/suite/src/helpers.rs:150
↓ 270 callersMethodas_ref
(&self)
lang/src/remaining.rs:809
↓ 217 callersMethodlen
Number of bytes in the payload (excludes the prefix).
lang/src/client.rs:97
↓ 217 callersMethodto_account_view
(&self)
lang/src/traits.rs:222
↓ 158 callersFunctionmint_account
( address: Pubkey, authority: Pubkey, decimals: u8, token_program: Pubkey, )
tests/suite/src/helpers.rs:111
↓ 121 callersFunctionspl_token_program_id
()
tests/suite/src/helpers.rs:48
↓ 119 callersFunctiontoken_account
( address: Pubkey, mint: Pubkey, owner: Pubkey, amount: u64, token_program: Pubkey, )
tests/suite/src/helpers.rs:67
↓ 116 callersFunctionsvm_misc
()
tests/suite/src/helpers.rs:206
↓ 112 callersFunctionrich_signer_account
(address: Pubkey)
tests/suite/src/helpers.rs:154
↓ 100 callersFunctiontoken_2022_program_id
()
tests/suite/src/helpers.rs:52
↓ 99 callersMethodis_empty
Returns `true` if the payload is empty.
lang/src/client.rs:102
↓ 93 callersMethodis_empty
(&self)
idl/src/lint/report.rs:179
↓ 87 callersFunctionsvm_validate
()
tests/suite/src/helpers.rs:33
↓ 83 callersFunctionraw_account
Raw Account with custom data for adversarial tests (wrong owner, bad data, etc.)
tests/suite/src/helpers.rs:196
↓ 80 callersFunctionsetup
()
tests/suite/src/dynamic.rs:258
↓ 79 callersMethodview
(&mut self)
lang/tests/miri.rs:215
↓ 78 callersMethodas_mut_ptr
(&mut self)
lang/tests/miri.rs:169
↓ 78 callersMethodas_str
(self)
idl/src/lint/report.rs:31
↓ 78 callersFunctionsvm_init
()
tests/suite/src/helpers.rs:38
↓ 66 callersFunctionempty_account
(address: Pubkey)
tests/suite/src/helpers.rs:158
↓ 65 callersFunctionunlikely
(b: bool)
lang/src/utils.rs:11
↓ 62 callersMethodinit
( &mut self, address: [u8; 32], owner: [u8; 32], lamports: u64, data_l
lang/tests/miri.rs:177
↓ 58 callersMethodget
Access a single remaining account by index. O(n) walk from buffer start.
lang/src/remaining.rs:256
↓ 54 callersMethodview
(&mut self)
spl/tests/miri.rs:129
↓ 53 callersMethodhandler
(&self)
tests/programs/test-misc/src/instructions/plain_ok.rs:10
↓ 52 callersMethodaccount
(address_byte: u8, data_len: usize)
lang/tests/miri.rs:329
↓ 52 callersMethodpath
()
cli/src/config.rs:200
↓ 50 callersFunctionsvm_cpi
()
tests/suite/src/helpers.rs:43
↓ 49 callersMethodcontains
(&self, rule: RuleCode)
idl/src/lint/report.rs:183
↓ 42 callersFunctionkeys_eq
(a: &solana_address::Address, b: &solana_address::Address)
lang/src/lib.rs:457
↓ 40 callersMethodhandler
(&self, amount: u64)
tests/programs/test-token-cpi/src/instructions/burn.rs:15
↓ 40 callersMethodinvoke
(&self)
lang/src/cpi/mod.rs:375
↓ 40 callersFunctionsimple_account
Valid SimpleAccount owned by test-misc program.
tests/suite/src/helpers.rs:229
↓ 39 callersMethodinit
( &mut self, address: [u8; 32], owner: [u8; 32], lamports: u64, data_l
spl/tests/miri.rs:106
↓ 38 callersMethodto_zc
(&self)
lang/src/instruction_arg.rs:101
↓ 37 callersFunctionbuild_dynamic_account_data
(name: &[u8], tags: &[Address])
tests/suite/src/dynamic.rs:20
↓ 37 callersFunctionset_lamports
(view: &AccountView, lamports: u64)
lang/src/accounts/account.rs:76
↓ 37 callersFunctionsvm_errors
()
tests/suite/src/helpers.rs:211
↓ 36 callersMethodwrite_data
(&mut self, data: &[u8])
spl/tests/miri.rs:133
↓ 34 callersFunctionget_associated_token_address_with_program_const
Const-compatible ATA address derivation with explicit token program.
spl/src/associated_token.rs:91
↓ 33 callersMethodnext
(&mut self)
profile/src/walk.rs:23
↓ 31 callersFunctionsetup
()
tests/suite/src/pda.rs:18
↓ 31 callersMethodwrite
(mut writer: impl Writer, src: &Self)
lang/src/client.rs:140
↓ 28 callersMethodhandler
(&self)
tests/programs/test-errors/src/instructions/custom_error.rs:10
↓ 28 callersFunctionsnake_to_pascal
Convert `snake_case` to `PascalCase`.
schema/src/lib.rs:27
↓ 25 callersFunctioncamel_to_snake
Convert `camelCase` to `snake_case` (inverse of `to_camel_case`). Uses the simple rule of inserting `_` before every uppercase character. Not suitabl
schema/src/lib.rs:61
↓ 25 callersMethodlen
(&self)
lang/src/accounts/array.rs:32
↓ 22 callersFunctionbuild_simple_token_data
Build a simple initialized token account with given amount.
spl/tests/miri.rs:188
↓ 22 callersMethodhandler
(&self)
tests/programs/test-token-init/src/instructions/init_ata.rs:19
↓ 21 callersFunctionsetup
()
tests/suite/src/events.rs:6
↓ 20 callersFunctionpascal_to_snake
Shared schema utilities consumed by multiple Quasar crates. Keep this crate narrow: only shared case-conversion utilities belong here. The canonical
schema/src/lib.rs:8
↓ 20 callersFunctionwrite_file
(path: &Path, contents: impl AsRef<str>)
cli/tests/generated_clients_smoke.rs:200
↓ 19 callersFunctionread_file
(path: &Path)
cli/tests/generated_clients_smoke.rs:208
↓ 19 callersFunctionsvm_metadata_validate
()
tests/suite/src/helpers.rs:306
↓ 19 callersMethodto_account_view
(&self)
lang/tests/miri.rs:378
↓ 19 callersFunctiontoken
(address: Pubkey, mint: Pubkey, owner: Pubkey, amount: u64)
examples/escrow/src/tests.rs:57
↓ 18 callersMethodas_mut_ptr
(&mut self)
spl/tests/miri.rs:98
↓ 18 callersFunctionbase_idl
()
idl/tests/lint_surface.rs:103
↓ 18 callersMethodprefix_bytes
Get the prefix byte width for size-prefixed codecs.
idl/schema/src/codec.rs:130
↓ 18 callersMethodraw
(&mut self)
lang/tests/miri.rs:173
↓ 17 callersMethodboundary
(&self)
lang/tests/miri.rs:260
↓ 17 callersMethodhandler
(&self)
tests/programs/test-pda/src/instructions/close_pda.rs:18
↓ 17 callersMethodinit
( &mut self, address: [u8; 32], owner: [u8; 32], data_len: usize, is_s
lang/kani/cpi/account_buffer.rs:25
↓ 17 callersFunctionmetadata_program_id
()
tests/suite/src/helpers.rs:330
↓ 17 callersMethodowner
(&self)
lang/src/remaining.rs:141
↓ 17 callersFunctionsetup
()
tests/suite/src/sysvar.rs:15
↓ 17 callersMethodview
(&mut self)
lang/kani/cpi/account_buffer.rs:48
↓ 16 callersMethodas_bytes
The raw byte payload.
lang/src/client.rs:107
↓ 16 callersFunctionextract_generic_inner_type
(ty: &'a Type, wrapper: &str)
derive/src/helpers.rs:233
↓ 16 callersMethodlamports
(&self)
lang/src/remaining.rs:156
↓ 16 callersFunctionts_codec
Generate codec expression for a type (no codec metadata).
idl/src/codegen/typescript.rs:2375
↓ 15 callersFunctionaccount
(attr: TokenStream, item: TokenStream)
derive/src/lib.rs:32
↓ 15 callersFunctionbuild_token_account_bytes
( mint: &Address, owner: &Address, amount: u64, delegate: Option<&Address>, state: u8,
tests/suite/src/token_state.rs:7
↓ 15 callersFunctioncast_token
(data: &[u8; 165])
tests/suite/src/token_state.rs:60
↓ 15 callersFunctioncheck_owner
(view: &AccountView)
lang/src/accounts/account.rs:236
↓ 15 callersFunctionempty
(address: Pubkey)
examples/multisig/src/tests.rs:27
↓ 15 callersMethodto_account_view
(&self)
tests/programs/test-misc/src/state.rs:162
↓ 14 callersFunctionata_program_id
()
tests/suite/src/helpers.rs:56
↓ 14 callersMethodextend
(&mut self, other: Self)
idl/src/lint/report.rs:175
↓ 14 callersMethodhandler
(&self)
tests/programs/test-token-validate/src/instructions/validate_ata_check.rs:14
↓ 14 callersFunctionload
(mmap: &Mmap, path: &Path)
profile/src/elf.rs:27
↓ 14 callersFunctionmint
(address: Pubkey, authority: Pubkey)
examples/escrow/src/tests.rs:44
↓ 14 callersFunctionmint_account_with_freeze
( address: Pubkey, authority: Pubkey, decimals: u8, freeze_authority: Pubkey, token_progra
tests/suite/src/helpers.rs:130
↓ 14 callersFunctionprint_cmd
(cmd: &str, desc: &str)
cli/src/lib.rs:480
↓ 14 callersFunctionsetup
()
tests/suite/src/header_tests.rs:10
↓ 14 callersMethodwrite_data
(&mut self, data: &[u8])
lang/tests/miri.rs:219
↓ 13 callersMethoddata_len
(&self)
lang/src/remaining.rs:161
↓ 13 callersMethoddefault
()
cli/src/config.rs:191
↓ 13 callersFunctiongenerate
Called by `quasar build`; generates IDL, Rust client, and configured language clients.
cli/src/idl.rs:159
↓ 13 callersMethodhas_init
(&self)
derive/src/accounts/resolve/model.rs:115
↓ 13 callersFunctionis_string_type
Check if a type represents a string (for dynamic codec purposes).
idl/src/codegen/typescript.rs:2267
↓ 13 callersFunctionmap_to_pod_type
(ty: &Type)
derive/src/helpers.rs:469
↓ 13 callersFunctionsetup
()
tests/suite/src/remaining.rs:11
↓ 12 callersFunctionbuild_user_account_data
(authority: Address, value: u64, bump: u8)
tests/suite/src/pda.rs:22
↓ 12 callersFunctionpack_token_data
(mint: Pubkey, owner: Pubkey, amount: u64)
tests/suite/src/helpers.rs:168
↓ 12 callersFunctionresize
(view: &mut AccountView, new_len: usize)
lang/src/accounts/account.rs:22
next →1–100 of 3,149, ranked by callers