MCPcopy Create free account

hub / github.com/blockupper/solana-blockchain-development / functions

Functions73 in github.com/blockupper/solana-blockchain-development

↓ 4 callersMethodfrom
(e: EscrowError)
solana/escrow/program/src/error.rs:17
↓ 3 callersFunctionpublicKey
(property = "publicKey")
solana/escrow/escrow-ui/src/util/layout.ts:6
↓ 2 callersFunctionanalyze_slice
This function borrows a slice
rust/day2(Primitive)/ArraysAndSlices.rs:8
↓ 2 callersFunctioncreateKeypairFromFile
( filePath: string, )
solana/helloWorld/src/client/utils.ts:62
↓ 2 callersMethodfrom
(xx: i32)
rust/tests/day2-answer.rs:11
↓ 2 callersFunctiongetConfig
* @private
solana/helloWorld/src/client/utils.ts:14
↓ 2 callersMethodinto_close_context
(&self)
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:259
↓ 2 callersMethodinto_transfer_to_initializer_context
generate CPI context for Transfer
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:244
↓ 1 callersFunctioncheckProgram
()
solana/helloWorld/src/client/hello_world.ts:136
↓ 1 callersFunctionestablishConnection
()
solana/helloWorld/src/client/hello_world.ts:89
↓ 1 callersFunctionestablishPayer
()
solana/helloWorld/src/client/hello_world.ts:99
↓ 1 callersFunctiongetPayer
()
solana/helloWorld/src/client/utils.ts:46
↓ 1 callersFunctiongetRpcUrl
()
solana/helloWorld/src/client/utils.ts:30
↓ 1 callersMethodinto_set_authority_context
set initializer's authority to vault_account
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:232
↓ 1 callersMethodinto_transfer_to_pda_context
transfer x tokens from initializer_deposit_token_account to vault_account
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:219
↓ 1 callersMethodinto_transfer_to_taker_context
(&self)
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:286
↓ 1 callersMethodis_initialized
(&self)
solana/escrow/program/src/state.rs:20
↓ 1 callersFunctionmain
()
solana/helloWorld/src/client/main.ts:13
↓ 1 callersFunctionreportGreetings
()
solana/helloWorld/src/client/hello_world.ts:218
↓ 1 callersFunctionsayHello
()
solana/helloWorld/src/client/hello_world.ts:201
↓ 1 callersFunctionuint64
(property = "uint64")
solana/escrow/escrow-ui/src/util/layout.ts:13
FunctionAlice
()
solana/escrow/escrow-ui/src/router.ts:3
FunctionBob
()
solana/escrow/escrow-ui/src/router.ts:4
Methodarea
(&self)
rust/tests/day1-test.rs:38
Methodarea
(&self)
rust/tests/day1-answer.rs:38
Functioncancel_escrow
(ctx: Context<CancelEscrow>)
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:71
Methodconstructor
(fields: {counter: number} | undefined = undefined)
solana/helloWorld/src/client/hello_world.ts:64
Functionexchange
(ctx: Context<Exchange>)
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:95
Methodfmt
(&self, f: &mut fmt::Formatter)
rust/tests/day1-test.rs:10
Methodfmt
(&self, f: &mut fmt::Formatter)
rust/tests/day1-answer.rs:10
Methodfmt
(&self, f: &mut fmt::Formatter)
rust/day4(Conversion)/ToStrings.rs:8
Methodfrom
(item: i32)
rust/day4(Conversion)/From.rs:9
Methodfrom
(item: i32)
rust/day4(Conversion)/Intro.rs:9
FunctioninitEscrow
( privateKeyByteArray: string, initializerXTokenAccountPubkeyString: string, amountXTokensToSendTo
solana/escrow/escrow-ui/src/util/initEscrow.ts:8
Functioninitialize_escrow
( ctx: Context<InitializeEscrow>, _vault_account_bump: u8, initializer_amount: u64,
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:30
Functionmain
()
rust/day3(VariableBinding)/Basic.rs:1
Functionmain
It's possible to declare variable bindings first, and initialize them later. However, this form is seldom used, as it may lead to the use of uninitial
rust/day3(VariableBinding)/Declare.rs:6
Functionmain
Variable bindings are immutable by default, but this can be overridden using the mut modifier.
rust/day3(VariableBinding)/Mutability.rs:2
Functionmain
Variable bindings have a scope, and are constrained to live in a block. A block is a collection of statements enclosed by braces {}.
rust/day3(VariableBinding)/ScopeAndShadowing.rs:2
Functionmain
When data is bound by the same name immutably, it also freezes. Frozen data can't be modified until the immutable binding goes out of scope:
rust/day3(VariableBinding)/Freezing.rs:2
Functionmain
()
rust/day2(Primitive)/BasicPrimitives.rs:1
Functionmain
()
rust/day2(Primitive)/LiteralsAndOperators.rs:1
Functionmain
()
rust/day2(Primitive)/ArraysAndSlices.rs:13
Functionmain
()
rust/day2(Primitive)/Tuples.rs:13
Functionmain
()
rust/tests/day1-test.rs:45
Functionmain
()
rust/tests/day2-test.rs:10
Functionmain
()
rust/tests/day2-answer.rs:16
Functionmain
()
rust/tests/day1-answer.rs:45
Functionmain
()
rust/day4(Conversion)/FromStrings.rs:1
Functionmain
()
rust/day4(Conversion)/From.rs:14
Functionmain
()
rust/day4(Conversion)/Intro.rs:14
Functionmain
()
rust/day4(Conversion)/ToStrings.rs:13
Functionmain
()
rust/day4(Conversion)/TryFormAndTryIntro.rs:19
Functionmain
()
rust/day1(FormattedPrint)/FormattedPrint.rs:1
Functionmain
()
rust/day3(Types)/Interference.rs:9
Functionmain
()
rust/day3(Types)/Literals.rs:9
Functionmain
()
rust/day3(Types)/Casting.rs:10
Functionmain
()
rust/day3(Types)/Aliasing.rs:18
Methodpack_into_slice
(&self, dst: &mut [u8])
solana/escrow/program/src/state.rs:52
Methodprocess
( program_id: &Pubkey, accounts: &[AccountInfo], instruction_data: &[u8] )
solana/escrow/program/src/processor.rs:20
Methodprocess_exchange
( accounts: &[AccountInfo], amount_expected_by_taker: u64, program_id: &Pubkey, )
solana/escrow/program/src/processor.rs:112
Methodprocess_init_escrow
( accounts: &[AccountInfo], amount: u64, program_id: &Pubkey, )
solana/escrow/program/src/processor.rs:39
Functionprocess_instruction
( program_id: &Pubkey, accounts: &[AccountInfo], instruction_data: &[u8], )
solana/escrow/program/src/entrypoint.rs:10
Functionprocess_instruction
Program entrypoint's implementation
solana/helloWorld/src/program-rust/src/lib.rs:22
Functionreverse
Tuples can be used as function arguments and as return values
rust/day2(Primitive)/Tuples.rs:2
FunctiontakeTrade
( privateKeyByteArray: string, escrowAccountAddressString: string, takerXTokenAccountAddressString
solana/escrow/escrow-ui/src/util/takeTrade.ts:8
Functiontest_helloworld
()
solana/helloWorld/src/program-rust/tests/lib.rs:14
Functiontranspose
(matrix: Matrix)
rust/tests/day1-test.rs:23
Functiontranspose
(matrix: Matrix)
rust/tests/day1-answer.rs:23
Methodtry_from
(value: i32)
rust/day4(Conversion)/TryFormAndTryIntro.rs:10
Methodunpack
Unpacks a byte buffer into a [EscrowInstruction](enum.EscrowInstruction.html)
solana/escrow/program/src/instruction.rs:46
Methodunpack_amount
(input: &[u8])
solana/escrow/program/src/instruction.rs:60
Methodunpack_from_slice
(src: &[u8])
solana/escrow/program/src/state.rs:27