-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distro Module #14
Distro Module #14
Conversation
core/src/epoch_reward_router.rs
Outdated
|
||
rewards_processed: PodU64, | ||
|
||
doa_rewards: PodU64, |
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.
nit: dao_rewards
|
||
#[derive(Debug, Clone, Copy, Zeroable, ShankType, Pod)] | ||
#[repr(C)] | ||
pub struct MintEntry { | ||
st_mint: Pubkey, | ||
vault_index: PodU64, | ||
ncn_fee_group: NcnFeeGroup, | ||
reserved: [u8; 32], |
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.
Are we factoring in the "reward muliplier" factor somewhere (e.g. 2x for jitosol vaults)? Thought we were going to track that in TrackedMints
program_id: &Pubkey, | ||
accounts: &[AccountInfo], | ||
first_slot_of_ncn_epoch: Option<u64>, | ||
) -> ProgramResult { |
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.
any reason this couldn't be combined with process_epoch_reward_pool?
Replaced by PR #17 |
WIP