-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Draft * Add authority * Clippy * Checkpoint * Do it * Rename error * Update stuff * Use epoch_of_snapshot * Checkpoint * Scaffolding * Checkpoint * Cleanup * Cleanup test * Another round * Cleanup * Restore all tests * add todos * Cleanup idls * Throw error since it's not implemented * Add some comments * Box everything * Add soruce * Add more comments * Add another comment * Update idls
- Loading branch information
Showing
9 changed files
with
1,634 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use { | ||
anchor_lang::prelude::*, | ||
borsh::BorshSchema, | ||
}; | ||
|
||
#[account] | ||
#[derive(Default, BorshSchema)] | ||
pub struct SplitRequest { | ||
pub amount: u64, | ||
pub recipient: Pubkey, | ||
} | ||
|
||
impl SplitRequest { | ||
pub const LEN: usize = 8 // Discriminant | ||
+ 8 // Amount | ||
+ 32; // Recipient | ||
} |
Oops, something went wrong.
a34d07d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
staking-devnet – ./
staking-devnet-pyth-web.vercel.app
governance-nu.vercel.app
staking-devnet-git-main-pyth-web.vercel.app