MCPcopy Create free account

hub / github.com/Bonfida/token-vesting / functions

Functions59 in github.com/Bonfida/token-vesting

↓ 14 callersMethodfrom
(e: VestingError)
program/src/error.rs:14
↓ 7 callersMethodpack_into_slice
(&self, target: &mut [u8])
program/src/state.rs:26
↓ 5 callersMethodpack
(&self)
program/src/instruction.rs:196
↓ 4 callersFunctionchange_destination
( vesting_program_id: &Pubkey, vesting_account_key: &Pubkey, current_destination_token_account_own
program/src/instruction.rs:322
↓ 4 callersFunctioncreate_token_account
( payer: &Keypair, mint:&Keypair, recent_blockhash: Hash, token_account:&Keypair, token_
program/tests/functional.rs:236
↓ 4 callersMethodtoBuffer
()
js/src/state.ts:14
↓ 3 callersFunctioncreate
Creates a `CreateSchedule` instruction
program/src/instruction.rs:264
↓ 3 callersFunctioncreate_fuzzinstruction
A correct vesting create fuzz instruction
program/fuzz/src/vesting_fuzz.rs:470
↓ 3 callersMethodfromBuffer
(buf: Buffer)
js/src/state.ts:18
↓ 3 callersFunctionunlock
Creates an `Unlock` instruction
program/src/instruction.rs:298
↓ 3 callersFunctionunpack_schedules
(input: &[u8])
program/src/state.rs:91
↓ 2 callersFunctioncreate
( connection: Connection, programId: PublicKey, seedWord: Buffer | Uint8Array, payer: PublicKey, sou
js/src/main.ts:43
↓ 2 callersFunctiongetContractInfo
( connection: Connection, vestingAccountKey: PublicKey, )
js/src/main.ts:171
↓ 2 callersFunctioninit
Creates a `Init` instruction to create and initialize the vesting token account.
program/src/instruction.rs:236
↓ 1 callersFunctionchecks
()
js/src/example.ts:68
↓ 1 callersFunctioncommand_change_destination
( rpc_client: RpcClient, program_id: Pubkey, destination_token_account_owner: Keypair, opt_new
cli/src/main.rs:150
↓ 1 callersFunctioncommand_create_svc
Lock the vesting contract
cli/src/main.rs:24
↓ 1 callersFunctioncommand_info
( rpc_client: RpcClient, rpc_url: String, program_id: Pubkey, vesting_seed: [u8; 32], )
cli/src/main.rs:196
↓ 1 callersFunctioncommand_unlock_svc
( rpc_client: RpcClient, program_id: Pubkey, vesting_seed: [u8; 32], payer: Keypair, )
cli/src/main.rs:114
↓ 1 callersFunctioncreateChangeDestinationInstruction
( vestingProgramId: PublicKey, vestingAccountKey: PublicKey, currentDestinationTokenAccountOwner: Public
js/src/instructions.ts:162
↓ 1 callersFunctioncreateCreateInstruction
( vestingProgramId: PublicKey, tokenProgramId: PublicKey, vestingAccountKey: PublicKey, vestingTokenAc
js/src/instructions.ts:56
↓ 1 callersFunctioncreateInitInstruction
( systemProgramId: PublicKey, vestingProgramId: PublicKey, payerKey: PublicKey, vestingAccountKey: Pub
js/src/instructions.ts:10
↓ 1 callersFunctioncreateUnlockInstruction
( vestingProgramId: PublicKey, tokenProgramId: PublicKey, clockSysvarId: PublicKey, vestingAccountKey:
js/src/instructions.ts:114
↓ 1 callersFunctiongenerateRandomSeed
()
js/src/utils.ts:3
↓ 1 callersFunctionlock
()
js/src/example.ts:87
↓ 1 callersFunctionmint_init_instruction
Helper functions
program/fuzz/src/vesting_fuzz.rs:548
↓ 1 callersFunctionmint_init_transaction
( payer: &Keypair, mint:&Keypair, mint_authority: &Keypair, recent_blockhash: Hash)
program/tests/functional.rs:200
↓ 1 callersFunctionpack_schedules_into_slice
(schedules: Vec<VestingSchedule>, target: &mut [u8])
program/src/state.rs:104
↓ 1 callersFunctionrun_fuzz_instruction
( token_vesting_testenv: &TokenVestingEnv, fuzz_instruction: &FuzzInstruction, correct_payer: &Key
program/fuzz/src/vesting_fuzz.rs:204
↓ 1 callersFunctionunlock
( connection: Connection, programId: PublicKey, seedWord: Buffer | Uint8Array, mintAddress: PublicKey,
js/src/main.ts:129
Methodarbitrary
(u: &mut arbitrary::Unstructured<'_>)
program/src/instruction.rs:18
FunctionchangeDestination
( connection: Connection, programId: PublicKey, currentDestinationTokenAccountPublicKey: PublicKey, ne
js/src/main.ts:200
Functionclone_keypair
(keypair: &Keypair)
program/fuzz/src/vesting_fuzz.rs:572
Methodconstructor
(releaseTime: Numberu64, amount: Numberu64)
js/src/state.ts:9
Methodconstructor
( destinationAddress: PublicKey, mintAddress: PublicKey, isInitialized: boolean, )
js/src/state.ts:30
Methodconstructor
( destinationAddress: PublicKey, mintAddress: PublicKey, schedules: Array<Schedule>, )
js/src/state.ts:58
MethodfromBuffer
* Construct a Numberu64 from Buffer representation
js/src/utils.ts:34
MethodfromBuffer
* Construct a Numberu32 from Buffer representation
js/src/utils.ts:71
MethodfromBuffer
(buf: Buffer)
js/src/state.ts:40
MethodfromBuffer
(buf: Buffer)
js/src/state.ts:68
Methodis_initialized
(&self)
program/src/state.rs:86
Functionmain
()
cli/src/main.rs:233
Functionmain
()
program/fuzz/src/vesting_fuzz.rs:51
Methodprint
(&self)
program/src/processor.rs:365
Methodprocess_change_destination
( program_id: &Pubkey, accounts: &[AccountInfo], seeds: [u8; 32], )
program/src/processor.rs:270
Methodprocess_create
( program_id: &Pubkey, accounts: &[AccountInfo], seeds: [u8; 32], mint_address
program/src/processor.rs:72
Methodprocess_init
( program_id: &Pubkey, accounts: &[AccountInfo], seeds: [u8; 32], schedules: u
program/src/processor.rs:28
Functionprocess_instruction
( program_id: &Pubkey, accounts: &[AccountInfo], instruction_data: &[u8], )
program/src/entrypoint.rs:10
Methodprocess_instruction
( program_id: &Pubkey, accounts: &[AccountInfo], instruction_data: &[u8], )
program/src/processor.rs:320
Methodprocess_unlock
( program_id: &Pubkey, _accounts: &[AccountInfo], seeds: [u8; 32], )
program/src/processor.rs:185
Functionrun_fuzz_instructions
( token_vesting_testenv: &TokenVestingEnv, banks_client: &mut BanksClient, fuzz_instructions: Vec<
program/fuzz/src/vesting_fuzz.rs:86
Functiontest_instruction_packing
()
program/src/instruction.rs:349
Functiontest_state_packing
()
program/src/state.rs:118
Functiontest_token_vesting
()
program/tests/functional.rs:17
MethodtoBuffer
* Convert to Buffer representation
js/src/utils.ts:16
MethodtoBuffer
* Convert to Buffer representation
js/src/utils.ts:53
Methodtype_of
()
program/src/error.rs:20
Methodunpack
(input: &[u8])
program/src/instruction.rs:118
Methodunpack_from_slice
(src: &[u8])
program/src/state.rs:40