Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nagaprasadvr/solana-pinocchio-starter
/ functions
Functions
104 in github.com/Nagaprasadvr/solana-pinocchio-starter
⨍
Functions
104
◇
Types & classes
39
↓ 6 callers
Function
to_bytes
(data: &T)
program/src/state/utils.rs:61
↓ 4 callers
Function
getNextAccount
()
client/ts/generated/instructions/initializeState.ts:225
↓ 4 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[(&'b solana_account_info::A
client/rust/generated/instructions/update_state.rs:167
↓ 4 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[(&'b solana_account_info::A
client/rust/generated/instructions/initialize_state.rs:241
↓ 4 callers
Method
is_initialized
(&self)
program/src/state/my_state.rs:55
↓ 3 callers
Method
invoke_signed
( &self, signers_seeds: &[&[&[u8]]], )
client/rust/generated/instructions/update_state.rs:158
↓ 3 callers
Function
isTransactionSigner
( value: | Address<TAddress> | ProgramDerivedAddress<TAddress> | TransactionSigner<TAddress> )
client/ts/generated/shared/index.ts:152
↓ 2 callers
Function
decodeMyState
( encodedAccount: EncodedAccount<TAddress> | MaybeEncodedAccount<TAddress> )
client/ts/generated/accounts/myState.ts:94
↓ 2 callers
Function
getAccountMetaFactory
( programAddress: Address, optionalAccountStrategy: 'omitted' | 'programId' )
client/ts/generated/shared/index.ts:124
↓ 2 callers
Function
getInitializeMyStateIxDataDecoder
()
client/ts/generated/types/initializeMyStateIxData.ts:36
↓ 2 callers
Function
getInitializeMyStateIxDataEncoder
()
client/ts/generated/types/initializeMyStateIxData.ts:29
↓ 2 callers
Function
getInitializeStateInstructionDataDecoder
()
client/ts/generated/instructions/initializeState.ts:93
↓ 2 callers
Function
getInitializeStateInstructionDataEncoder
()
client/ts/generated/instructions/initializeState.ts:83
↓ 2 callers
Function
getMyStateDecoder
()
client/ts/generated/accounts/myState.ts:73
↓ 2 callers
Function
getNextAccount
()
client/ts/generated/instructions/updateState.ts:161
↓ 2 callers
Function
getStateDecoder
()
client/ts/generated/types/state.ts:30
↓ 2 callers
Function
getStateEncoder
()
client/ts/generated/types/state.ts:26
↓ 2 callers
Function
getUpdateStateInstructionDataDecoder
()
client/ts/generated/instructions/updateState.ts:70
↓ 2 callers
Function
getUpdateStateInstructionDataEncoder
()
client/ts/generated/instructions/updateState.ts:63
↓ 2 callers
Method
instruction_with_remaining_accounts
( &self, remaining_accounts: &[solana_instruction::AccountMeta], )
client/rust/generated/instructions/update_state.rs:26
↓ 2 callers
Method
instruction_with_remaining_accounts
( &self, args: InitializeStateInstructionArgs, remaining_accounts: &[solana_instructio
client/rust/generated/instructions/initialize_state.rs:34
↓ 2 callers
Function
mollusk
()
program/tests/unit_tests.rs:24
↓ 2 callers
Method
owner
()
client/rust/generated/accounts/my_state_v1.rs:127
↓ 2 callers
Method
set_state
(&mut self,state: State)
program/src/state/my_state.rs:121
↓ 2 callers
Method
update
(&mut self, ix_data: &UpdateMyStateV1IxData)
program/src/state/my_state.rs:95
↓ 1 callers
Function
expectAddress
( value: | Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefin
client/ts/generated/shared/index.ts:36
↓ 1 callers
Function
fetchAllMaybeMyState
( rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConf
client/ts/generated/accounts/myState.ts:132
↓ 1 callers
Function
fetchMaybeMyState
( rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfi
client/ts/generated/accounts/myState.ts:113
↓ 1 callers
Function
fetch_all_maybe_my_state_v1
( rpc: &solana_client::rpc_client::RpcClient, addresses: &[solana_pubkey::Pubkey], )
client/rust/generated/accounts/my_state_v1.rs:89
↓ 1 callers
Function
fetch_all_my_state_v1
( rpc: &solana_client::rpc_client::RpcClient, addresses: &[solana_pubkey::Pubkey], )
client/rust/generated/accounts/my_state_v1.rs:55
↓ 1 callers
Function
generateRustClient
()
client/generate-client.ts:12
↓ 1 callers
Function
generateTypeScriptClient
()
client/generate-client.ts:6
↓ 1 callers
Function
getMyProgramErrorDecoder
()
client/ts/generated/types/myProgramError.ts:31
↓ 1 callers
Function
getMyProgramErrorEncoder
()
client/ts/generated/types/myProgramError.ts:27
↓ 1 callers
Function
getMyStateEncoder
()
client/ts/generated/accounts/myState.ts:62
↓ 1 callers
Function
get_rent_data
()
program/benches/compute_units.rs:24
↓ 1 callers
Function
get_rent_data
()
program/tests/unit_tests.rs:29
↓ 1 callers
Method
get_state
How to work without involving Enum (v1)
program/src/state/my_state.rs:112
↓ 1 callers
Method
invoke_signed
( &self, signers_seeds: &[&[&[u8]]], )
client/rust/generated/instructions/initialize_state.rs:232
↓ 1 callers
Function
main
()
client/generate-client.ts:18
↓ 1 callers
Function
process_initialize_state_v1
(accounts: &[AccountInfo], data: &[u8])
program/src/instruction/initialize_mystate.rs:45
↓ 1 callers
Function
process_initialize_state_v2
(accounts: &[AccountInfo], data: &[u8])
program/src/instruction/initialize_mystate.rs:97
↓ 1 callers
Function
process_update_state_v1
V1 instruction update function (custom serialization)
program/src/instruction/update_mystate.rs:36
↓ 1 callers
Function
process_update_state_v2
V2 update function (bytemuck serialization)
program/src/instruction/update_mystate.rs:67
Method
add_remaining_account
(&mut self, account: solana_instruction::AccountMeta)
client/rust/generated/instructions/update_state.rs:93
Method
add_remaining_account
(&mut self, account: solana_instruction::AccountMeta)
client/rust/generated/instructions/initialize_state.rs:143
Method
add_remaining_accounts
( &mut self, accounts: &[solana_instruction::AccountMeta], )
client/rust/generated/instructions/update_state.rs:99
Method
add_remaining_accounts
( &mut self, accounts: &[solana_instruction::AccountMeta], )
client/rust/generated/instructions/initialize_state.rs:149
Method
default
()
client/rust/generated/instructions/update_state.rs:57
Method
default
()
client/rust/generated/instructions/initialize_state.rs:76
Function
expectProgramDerivedAddress
( value: | Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefin
client/ts/generated/shared/index.ts:60
Function
expectSome
(value: T | null | undefined)
client/ts/generated/shared/index.ts:25
Function
expectTransactionSigner
( value: | Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefin
client/ts/generated/shared/index.ts:78
Function
fetchAllMyState
( rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConf
client/ts/generated/accounts/myState.ts:122
Function
fetchMyState
( rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfi
client/ts/generated/accounts/myState.ts:103
Function
fetch_maybe_my_state_v1
( rpc: &solana_client::rpc_client::RpcClient, address: &solana_pubkey::Pubkey, )
client/rust/generated/accounts/my_state_v1.rs:80
Function
fetch_my_state_v1
( rpc: &solana_client::rpc_client::RpcClient, address: &solana_pubkey::Pubkey, )
client/rust/generated/accounts/my_state_v1.rs:46
Method
from
(e: MyProgramError)
program/src/error.rs:16
Method
from_bytes
(data: &[u8])
client/rust/generated/accounts/my_state_v1.rs:30
Function
getInitializeMyStateIxDataCodec
()
client/ts/generated/types/initializeMyStateIxData.ts:43
Function
getInitializeStateDiscriminatorBytes
()
client/ts/generated/instructions/initializeState.ts:42
Function
getInitializeStateInstruction
( input: InitializeStateInput< TAccountPayerAcc, TAccountStateAcc, TAccountSysvarRentAcc, TA
client/ts/generated/instructions/initializeState.ts:127
Function
getInitializeStateInstructionDataCodec
()
client/ts/generated/instructions/initializeState.ts:100
Function
getMyProgramErrorCodec
()
client/ts/generated/types/myProgramError.ts:35
Function
getMyStateCodec
()
client/ts/generated/accounts/myState.ts:84
Function
getStateCodec
()
client/ts/generated/types/state.ts:34
Function
getUpdateStateDiscriminatorBytes
()
client/ts/generated/instructions/updateState.ts:35
Function
getUpdateStateInstruction
( input: UpdateStateInput<TAccountPayerAcc, TAccountStateAcc>, config?: { programAddress?: TProgramAddress
client/ts/generated/instructions/updateState.ts:94
Function
getUpdateStateInstructionDataCodec
()
client/ts/generated/instructions/updateState.ts:74
Function
identifySolanaPinocchioStarterInstruction
( instruction: { data: ReadonlyUint8Array } | ReadonlyUint8Array )
client/ts/generated/programs/solanaPinocchioStarter.ts:32
Method
initialize
( my_stata_acc: &AccountInfo, ix_data: &InitializeMyStateV1IxData, bump: u8, )
program/src/state/my_state.rs:78
Method
initialize_my_state_v1_ix_data
( &mut self, initialize_my_state_v1_ix_data: InitializeMyStateV1IxData, )
client/rust/generated/instructions/initialize_state.rs:134
Method
instruction
(&self)
client/rust/generated/instructions/update_state.rs:21
Method
instruction
( &self, args: InitializeStateInstructionArgs, )
client/rust/generated/instructions/initialize_state.rs:26
Method
invoke
(&self)
client/rust/generated/instructions/update_state.rs:147
Method
invoke
(&self)
client/rust/generated/instructions/initialize_state.rs:221
Method
invoke_with_remaining_accounts
( &self, remaining_accounts: &[(&'b solana_account_info::AccountInfo<'a>, bool, bool)], )
client/rust/generated/instructions/update_state.rs:151
Method
invoke_with_remaining_accounts
( &self, remaining_accounts: &[(&'b solana_account_info::AccountInfo<'a>, bool, bool)], )
client/rust/generated/instructions/initialize_state.rs:225
Function
load_acc
(bytes: &[u8])
program/src/state/utils.rs:14
Function
load_acc_mut
( bytes: &mut [u8], )
program/src/state/utils.rs:33
Function
load_acc_mut_unchecked
(bytes: &mut [u8])
program/src/state/utils.rs:46
Function
load_acc_unchecked
(bytes: &[u8])
program/src/state/utils.rs:25
Function
load_ix_data
(bytes: &[u8])
program/src/state/utils.rs:54
Function
main
()
program/benches/compute_units.rs:31
Method
new
()
client/rust/generated/instructions/update_state.rs:51
Method
new
()
client/rust/generated/instructions/initialize_state.rs:70
Function
parseInitializeStateInstruction
( instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<
client/ts/generated/instructions/initializeState.ts:212
Function
parseUpdateStateInstruction
( instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<
client/ts/generated/instructions/updateState.ts:148
Method
payer_acc
(&mut self, payer_acc: solana_pubkey::Pubkey)
client/rust/generated/instructions/update_state.rs:81
Method
payer_acc
(&mut self, payer_acc: solana_pubkey::Pubkey)
client/rust/generated/instructions/initialize_state.rs:111
Function
process_instruction
( _program_id: &Pubkey, accounts: &[AccountInfo], instruction_data: &[u8], )
program/src/entrypoint.rs:17
Method
state_acc
(&mut self, state_acc: solana_pubkey::Pubkey)
client/rust/generated/instructions/update_state.rs:87
Method
state_acc
(&mut self, state_acc: solana_pubkey::Pubkey)
client/rust/generated/instructions/initialize_state.rs:117
Method
system_program_acc
(&mut self, system_program_acc: solana_pubkey::Pubkey)
client/rust/generated/instructions/initialize_state.rs:129
Method
sysvar_rent_acc
(&mut self, sysvar_rent_acc: solana_pubkey::Pubkey)
client/rust/generated/instructions/initialize_state.rs:123
Function
test_initialize_mystate
()
program/tests/unit_tests.rs:37
Function
test_update_mystate
()
program/tests/unit_tests.rs:92
Function
to_mut_bytes
(data: &mut T)
program/src/state/utils.rs:65
Method
try_deserialize_unchecked
(buf: &mut &[u8])
client/rust/generated/accounts/my_state_v1.rs:117
Method
try_from
(account_info: &solana_account_info::AccountInfo<'a>)
client/rust/generated/accounts/my_state_v1.rs:39
next →
1–100 of 104, ranked by callers