Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blockupper/solana-blockchain-development
/ functions
Functions
73 in github.com/blockupper/solana-blockchain-development
⨍
Functions
73
◇
Types & classes
28
↓ 4 callers
Method
from
(e: EscrowError)
solana/escrow/program/src/error.rs:17
↓ 3 callers
Function
publicKey
(property = "publicKey")
solana/escrow/escrow-ui/src/util/layout.ts:6
↓ 2 callers
Function
analyze_slice
This function borrows a slice
rust/day2(Primitive)/ArraysAndSlices.rs:8
↓ 2 callers
Function
createKeypairFromFile
( filePath: string, )
solana/helloWorld/src/client/utils.ts:62
↓ 2 callers
Method
from
(xx: i32)
rust/tests/day2-answer.rs:11
↓ 2 callers
Function
getConfig
* @private
solana/helloWorld/src/client/utils.ts:14
↓ 2 callers
Method
into_close_context
(&self)
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:259
↓ 2 callers
Method
into_transfer_to_initializer_context
generate CPI context for Transfer
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:244
↓ 1 callers
Function
checkProgram
()
solana/helloWorld/src/client/hello_world.ts:136
↓ 1 callers
Function
establishConnection
()
solana/helloWorld/src/client/hello_world.ts:89
↓ 1 callers
Function
establishPayer
()
solana/helloWorld/src/client/hello_world.ts:99
↓ 1 callers
Function
getPayer
()
solana/helloWorld/src/client/utils.ts:46
↓ 1 callers
Function
getRpcUrl
()
solana/helloWorld/src/client/utils.ts:30
↓ 1 callers
Method
into_set_authority_context
set initializer's authority to vault_account
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:232
↓ 1 callers
Method
into_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 callers
Method
into_transfer_to_taker_context
(&self)
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:286
↓ 1 callers
Method
is_initialized
(&self)
solana/escrow/program/src/state.rs:20
↓ 1 callers
Function
main
()
solana/helloWorld/src/client/main.ts:13
↓ 1 callers
Function
reportGreetings
()
solana/helloWorld/src/client/hello_world.ts:218
↓ 1 callers
Function
sayHello
()
solana/helloWorld/src/client/hello_world.ts:201
↓ 1 callers
Function
uint64
(property = "uint64")
solana/escrow/escrow-ui/src/util/layout.ts:13
Function
Alice
()
solana/escrow/escrow-ui/src/router.ts:3
Function
Bob
()
solana/escrow/escrow-ui/src/router.ts:4
Method
area
(&self)
rust/tests/day1-test.rs:38
Method
area
(&self)
rust/tests/day1-answer.rs:38
Function
cancel_escrow
(ctx: Context<CancelEscrow>)
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:71
Method
constructor
(fields: {counter: number} | undefined = undefined)
solana/helloWorld/src/client/hello_world.ts:64
Function
exchange
(ctx: Context<Exchange>)
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:95
Method
fmt
(&self, f: &mut fmt::Formatter)
rust/tests/day1-test.rs:10
Method
fmt
(&self, f: &mut fmt::Formatter)
rust/tests/day1-answer.rs:10
Method
fmt
(&self, f: &mut fmt::Formatter)
rust/day4(Conversion)/ToStrings.rs:8
Method
from
(item: i32)
rust/day4(Conversion)/From.rs:9
Method
from
(item: i32)
rust/day4(Conversion)/Intro.rs:9
Function
initEscrow
( privateKeyByteArray: string, initializerXTokenAccountPubkeyString: string, amountXTokensToSendTo
solana/escrow/escrow-ui/src/util/initEscrow.ts:8
Function
initialize_escrow
( ctx: Context<InitializeEscrow>, _vault_account_bump: u8, initializer_amount: u64,
anchor/anchor-escrow-master/programs/escrow/src/lib.rs:30
Function
main
()
rust/day3(VariableBinding)/Basic.rs:1
Function
main
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
Function
main
Variable bindings are immutable by default, but this can be overridden using the mut modifier.
rust/day3(VariableBinding)/Mutability.rs:2
Function
main
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
Function
main
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
Function
main
()
rust/day2(Primitive)/BasicPrimitives.rs:1
Function
main
()
rust/day2(Primitive)/LiteralsAndOperators.rs:1
Function
main
()
rust/day2(Primitive)/ArraysAndSlices.rs:13
Function
main
()
rust/day2(Primitive)/Tuples.rs:13
Function
main
()
rust/tests/day1-test.rs:45
Function
main
()
rust/tests/day2-test.rs:10
Function
main
()
rust/tests/day2-answer.rs:16
Function
main
()
rust/tests/day1-answer.rs:45
Function
main
()
rust/day4(Conversion)/FromStrings.rs:1
Function
main
()
rust/day4(Conversion)/From.rs:14
Function
main
()
rust/day4(Conversion)/Intro.rs:14
Function
main
()
rust/day4(Conversion)/ToStrings.rs:13
Function
main
()
rust/day4(Conversion)/TryFormAndTryIntro.rs:19
Function
main
()
rust/day1(FormattedPrint)/FormattedPrint.rs:1
Function
main
()
rust/day3(Types)/Interference.rs:9
Function
main
()
rust/day3(Types)/Literals.rs:9
Function
main
()
rust/day3(Types)/Casting.rs:10
Function
main
()
rust/day3(Types)/Aliasing.rs:18
Method
pack_into_slice
(&self, dst: &mut [u8])
solana/escrow/program/src/state.rs:52
Method
process
( program_id: &Pubkey, accounts: &[AccountInfo], instruction_data: &[u8] )
solana/escrow/program/src/processor.rs:20
Method
process_exchange
( accounts: &[AccountInfo], amount_expected_by_taker: u64, program_id: &Pubkey, )
solana/escrow/program/src/processor.rs:112
Method
process_init_escrow
( accounts: &[AccountInfo], amount: u64, program_id: &Pubkey, )
solana/escrow/program/src/processor.rs:39
Function
process_instruction
( program_id: &Pubkey, accounts: &[AccountInfo], instruction_data: &[u8], )
solana/escrow/program/src/entrypoint.rs:10
Function
process_instruction
Program entrypoint's implementation
solana/helloWorld/src/program-rust/src/lib.rs:22
Function
reverse
Tuples can be used as function arguments and as return values
rust/day2(Primitive)/Tuples.rs:2
Function
takeTrade
( privateKeyByteArray: string, escrowAccountAddressString: string, takerXTokenAccountAddressString
solana/escrow/escrow-ui/src/util/takeTrade.ts:8
Function
test_helloworld
()
solana/helloWorld/src/program-rust/tests/lib.rs:14
Function
transpose
(matrix: Matrix)
rust/tests/day1-test.rs:23
Function
transpose
(matrix: Matrix)
rust/tests/day1-answer.rs:23
Method
try_from
(value: i32)
rust/day4(Conversion)/TryFormAndTryIntro.rs:10
Method
unpack
Unpacks a byte buffer into a [EscrowInstruction](enum.EscrowInstruction.html)
solana/escrow/program/src/instruction.rs:46
Method
unpack_amount
(input: &[u8])
solana/escrow/program/src/instruction.rs:60
Method
unpack_from_slice
(src: &[u8])
solana/escrow/program/src/state.rs:27