Skip to content

Commit 9da590a

Browse files
committed
clean up, refactoring, remove stake/unstake instruction from vesting.
1 parent c083d89 commit 9da590a

File tree

6 files changed

+12
-385
lines changed

6 files changed

+12
-385
lines changed

solana/merkle-distributor/src/error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ use anchor_lang::error_code;
33
/// Error codes.
44
#[error_code]
55
pub enum ErrorCode {
6+
#[msg("Incorrect ProgramId")]
7+
IncorrectProgramId,
68
#[msg("Insufficient unlocked tokens")]
79
InsufficientUnlockedTokens,
810
#[msg("Deposit Start too far in future")]

solana/merkle-distributor/src/instructions/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ pub use new_claim::*;
44
pub use new_distributor::*;
55
pub use set_admin::*;
66
pub use set_clawback_receiver::*;
7-
pub use stake_to_vest::*;
8-
pub use unstake_stop_vesting::*;
97
pub mod claim_locked;
108
pub mod clawback;
119
pub mod new_claim;
1210
pub mod new_distributor;
13-
pub mod stake_to_vest;
14-
pub mod unstake_stop_vesting;
1511

1612
pub mod set_admin;
1713
pub mod set_clawback_receiver;

solana/merkle-distributor/src/instructions/stake_to_vest.rs

Lines changed: 0 additions & 186 deletions
This file was deleted.

solana/merkle-distributor/src/instructions/unstake_stop_vesting.rs

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)