MCPcopy Create free account

hub / github.com/ExtropyIO/SolanaBootcamp / functions

Functions233 in github.com/ExtropyIO/SolanaBootcamp

↓ 12 callersFunctiongetBalance
( connection: Connection, payer: Keypair )
utils/utils.ts:30
↓ 7 callersFunctiongetUserInput
( text: string = "Input text" )
utils/utils.ts:250
↓ 6 callersFunctioncheckAccountDeployed
( connection: Connection, programId: PublicKey )
utils/utils.ts:208
↓ 6 callersFunctioncheckBinaryExists
( PROGRAM_KEYPAIR_PATH: string )
utils/utils.ts:155
↓ 6 callersFunctiontemp_file
()
homeworks_rust/src/exercise.rs:17
↓ 5 callersFunctionestablishConnection
()
utils/utils.ts:22
↓ 5 callersFunctionestablishEnoughSol
( connection: Connection, payer: Keypair )
utils/utils.ts:103
↓ 5 callersFunctiongetPayer
()
utils/utils.ts:223
↓ 4 callersMethodcompile
(&self)
homeworks_rust/src/exercise.rs:109
↓ 4 callersMethodprocess
(&mut self, message: Message)
homeworks_rust/homeworks/homework6/enums/enums3.rs:38
↓ 4 callersMethodrun
Run the compiled exercise
homeworks_rust/src/exercise.rs:86
↓ 3 callersFunctioncompile
Compile the given Exercise and return an object with information about the state of the compilation
homeworks_rust/src/verify.rs:121
↓ 3 callersFunctionfruit_basket
(basket: &mut HashMap<Fruit, u32>)
homeworks_rust/homeworks/homework6/collections/hashmap2.rs:28
↓ 3 callersFunctionget_fruit_basket
()
homeworks_rust/homeworks/homework6/collections/hashmap2.rs:48
↓ 3 callersFunctioninvoke
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example4-cpi/client/main.ts:71
↓ 3 callersFunctionprompt_for_completion
(exercise: &Exercise, prompt_output: Option<String>)
homeworks_rust/src/verify.rs:141
↓ 3 callersMethodstate
(&self)
homeworks_rust/src/exercise.rs:199
↓ 3 callersFunctionverify
Verify that the provided container of Exercise objects can be compiled and run without any failures. Any such failures will be reported to the end use
homeworks_rust/src/verify.rs:11
↓ 2 callersMethodbeats
(&self)
examples_anchor/programs/example2-rps/src/lib.rs:87
↓ 2 callersFunctionclean
()
homeworks_rust/src/exercise.rs:258
↓ 2 callersFunctionclear_screen
Clears the terminal with an ANSI escape code. Works in UNIX and newer Windows terminals. */
homeworks_rust/src/main.rs:220
↓ 2 callersFunctioncompile_and_run
Invoke the rust compiler on the path of the given exercise and run the ensuing binary. This is strictly for non-test binaries, so output is displayed
homeworks_rust/src/run.rs:21
↓ 2 callersFunctioncompile_and_test
Compile the given Exercise as a test harness and display the output if verbose is set to true
homeworks_rust/src/verify.rs:87
↓ 2 callersFunctioncreateKeypairFromFile
( filePath: string )
utils/utils.ts:239
↓ 2 callersFunctionfind_exercise
(name: &str, exercises: &'a [Exercise])
homeworks_rust/src/main.rs:194
↓ 2 callersFunctionfruit_basket
()
homeworks_rust/homeworks/homework6/collections/hashmap1.rs:18
↓ 2 callersFunctiongetConfig
* @private
utils/utils.ts:120
↓ 2 callersMethodget_player_index
(&mut self, player: Pubkey)
examples_anchor/programs/example2-rps/src/lib.rs:131
↓ 2 callersMethodlooks_done
Check that the exercise looks to be solved using self.state() This is not the best way to check since the user can just remove the "I AM NOT DONE" str
homeworks_rust/src/exercise.rs:246
↓ 2 callersFunctionprint_number
you can modify anything EXCEPT for this function's signature
homeworks_rust/homeworks/homework6/option/option1.rs:7
↓ 2 callersFunctiontopUp
( connection: Connection, payer: Keypair, lamports: number )
utils/utils.ts:64
↓ 1 callersFunctionarray_and_vec
()
homeworks_rust/homeworks/homework6/collections/vec1.rs:9
↓ 1 callersFunctionatLeastSol
( connection: Connection, account: Keypair, min: number )
utils/utils.ts:74
↓ 1 callersMethodcall
(&self)
homeworks_rust/homeworks/homework6/enums/enums2.rs:12
↓ 1 callersFunctioncall_this
(num: u32)
homeworks_rust/homeworks/homework5/functions/functions3.rs:10
↓ 1 callersFunctioncall_this
(num:)
homeworks_rust/homeworks/homework5/functions/functions2.rs:10
↓ 1 callersFunctioncompile_and_run_interactively
Compile the given Exercise and run the resulting binary in an interactive mode
homeworks_rust/src/verify.rs:55
↓ 1 callersFunctioncompile_only
Invoke the rust compiler without running the resulting binary
homeworks_rust/src/verify.rs:42
↓ 1 callersFunctioncreatePDA
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example6-pda/client/main.ts:148
↓ 1 callersFunctioncreate_pda
finds valid account on-chain and creates it on-chain
examples_baremetal/example6-pda/rust/src/functions.rs:18
↓ 1 callersFunctioncurrent_favorite_course
()
homeworks_rust/homeworks/homework5/strings/strings1.rs:12
↓ 1 callersFunctiondeployGreetAccount
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example2-counter/client/main.ts:72
↓ 1 callersFunctiondivision_based
(nth_prime: u8)
examples_baremetal/example5-compute/rust/src/entrypoint.rs:41
↓ 1 callersFunctionfeesEstimate
(connection: Connection, payer: Keypair)
utils/utils.ts:39
↓ 1 callersFunctionfill_vec
(vec: Vec<i32>)
homeworks_rust/homeworks/homework6/move_semantics/move_semantics3.rs:20
↓ 1 callersFunctionfill_vec
(vec: Vec<i32>)
homeworks_rust/homeworks/homework6/move_semantics/move_semantics1.rs:18
↓ 1 callersFunctionfill_vec
(vec: Vec<i32>)
homeworks_rust/homeworks/homework6/move_semantics/move_semantics2.rs:20
↓ 1 callersFunctionfill_vec
`fill_vec()` no longer takes `vec: Vec<i32>` as argument
homeworks_rust/homeworks/homework6/move_semantics/move_semantics4.rs:22
↓ 1 callersFunctiongetAllAccounts
( programId: PublicKey, connection: Connection )
examples_baremetal/example6-pda/client/main.ts:87
↓ 1 callersFunctiongetPrimes
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example5-compute/client/main.ts:73
↓ 1 callersFunctiongetRpcUrl
()
utils/utils.ts:139
↓ 1 callersFunctionget_char
Should not take ownership
homeworks_rust/homeworks/homework6/move_semantics/move_semantics6.rs:16
↓ 1 callersFunctionget_secret_recipe
Don't let anybody outside of this module see this!
homeworks_rust/homeworks/homework7/modules/modules1.rs:8
↓ 1 callersFunctionhomework
Redo watch but with only the homework that has been given out pass on the way here the subset
homeworks_rust/src/main.rs:216
↓ 1 callersFunctionis_a_color_word
(attempt: &str)
homeworks_rust/homeworks/homework5/strings/strings2.rs:16
↓ 1 callersFunctionis_even
(num: i32)
homeworks_rust/homeworks/homework5/functions/functions4.rs:22
↓ 1 callersFunctionis_prime
(number: &u16)
examples_baremetal/example5-compute/rust/src/entrypoint.rs:30
↓ 1 callersFunctionloadKeypair
(location: string = "")
utils/utils.ts:198
↓ 1 callersFunctionmain
()
examples_baremetal/example6-pda/client/main.ts:35
↓ 1 callersFunctionmain
()
examples_baremetal/example5-compute/client/main.ts:33
↓ 1 callersFunctionmain
()
examples_baremetal/example1-helloworld/client/main.ts:33
↓ 1 callersFunctionmain
()
examples_baremetal/example2-counter/client/main.ts:34
↓ 1 callersFunctionmain
()
examples_baremetal/example4-cpi/client/main.ts:32
↓ 1 callersFunctionmake_sausage
()
homeworks_rust/homeworks/homework7/modules/modules1.rs:12
↓ 1 callersMethodnew
(hand: char)
examples_anchor/programs/example2-rps/src/lib.rs:66
↓ 1 callersMethodpick_winner
(&mut self)
examples_anchor/programs/example2-rps/src/lib.rs:141
↓ 1 callersMethodplace_hand
(&mut self, hand_string: String, indx: usize)
examples_anchor/programs/example2-rps/src/lib.rs:164
↓ 1 callersMethodplace_hash
(&mut self, hashed_hand: [u8; 32], indx: usize)
examples_anchor/programs/example2-rps/src/lib.rs:154
↓ 1 callersFunctionreadPDA
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example6-pda/client/main.ts:202
↓ 1 callersFunctionrun
Invoke the rust compiler on the path of the given exercise, and run the ensuing binary. The verbose argument helps determine whether or not to show th
homeworks_rust/src/run.rs:9
↓ 1 callersFunctionrustc_exists
()
homeworks_rust/src/main.rs:329
↓ 1 callersFunctionsayHello
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example1-helloworld/client/main.ts:79
↓ 1 callersFunctionspawn_watch_shell
(failed_exercise_hint: &Arc<Mutex<Option<String>>>, should_quit: Arc<AtomicBool>)
homeworks_rust/src/main.rs:159
↓ 1 callersFunctionsquare
(num: i32)
homeworks_rust/homeworks/homework5/functions/functions5.rs:11
↓ 1 callersFunctionstring_uppercase
Should take ownership
homeworks_rust/homeworks/homework6/move_semantics/move_semantics6.rs:21
↓ 1 callersFunctiontest
Compile and run the resulting test harness of the given Exercise
homeworks_rust/src/verify.rs:36
↓ 1 callersFunctiontotal_cost
(item_quantity: &str)
homeworks_rust/homeworks/homework7/error_handling/errors3.rs:25
↓ 1 callersFunctionvec_loop
(mut v: Vec<i32>)
homeworks_rust/homeworks/homework6/collections/vec2.rs:12
↓ 1 callersFunctionwritePDA
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example6-pda/client/main.ts:100
↓ 1 callersFunctionwrite_pda
( program_id: &Pubkey, seed: String, accounts: &[AccountInfo], )
examples_baremetal/example6-pda/rust/src/functions.rs:69
Functionadd_answer
Creates a PDA for the answer
examples_anchor/programs/example3-consortium/src/lib.rs:36
Functionadd_member
Creates a PDA for the member
examples_anchor/programs/example3-consortium/src/lib.rs:17
Functionadd_question
Creates a PDA for the question
examples_anchor/programs/example3-consortium/src/lib.rs:26
Functionall_exercises_require_confirmation
()
homeworks_rust/tests/integration_tests.rs:125
Functionat_least_five_fruits
()
homeworks_rust/homeworks/homework6/collections/hashmap1.rs:40
Functionat_least_five_types_of_fruits
()
homeworks_rust/homeworks/homework6/collections/hashmap2.rs:67
Functionat_least_three_types_of_fruits
()
homeworks_rust/homeworks/homework6/collections/hashmap1.rs:34
Functionbar_for_fuzz
()
homeworks_rust/homeworks/homework5/if/if2.rs:29
Functionbigger
(a: i32, b: i32)
homeworks_rust/homeworks/homework5/if/if1.rs:5
Functionbuy_ticket
Buy a lottery ticket
examples_anchor/programs/example1-lottery/src/lib.rs:21
Methodchange_color
(&mut self, color: (u8, u8, u8))
homeworks_rust/homeworks/homework6/enums/enums3.rs:22
FunctioncheckProgram
( connection: Connection, accountID: PublicKey )
utils/utils.ts:172
Methodconstructor
(fields: { word: string } | undefined = undefined)
examples_baremetal/example6-pda/client/main.ts:237
Methodconstructor
(fields: { counter: number } | undefined = undefined)
examples_baremetal/example2-counter/client/main.ts:163
Methoddefault
()
examples_anchor/programs/example2-rps/src/lib.rs:77
Functiondefault_to_baz
()
homeworks_rust/homeworks/homework5/if/if2.rs:34
Methoddrop
(&mut self)
homeworks_rust/src/exercise.rs:103
Methodecho
(&self, s: String)
homeworks_rust/homeworks/homework6/enums/enums3.rs:30
Functionexplains_why_generating_nametag_text_fails
()
homeworks_rust/homeworks/homework7/error_handling/errors1.rs:32
Functionfails_when_in_wrong_dir
()
homeworks_rust/tests/integration_tests.rs:15
next →1–100 of 233, ranked by callers