Skip to content
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

Closed
wants to merge 30 commits into from
Closed

Distro Module #14

wants to merge 30 commits into from

Conversation

coachchucksol
Copy link
Collaborator

WIP

@coachchucksol coachchucksol marked this pull request as draft November 26, 2024 19:11

rewards_processed: PodU64,

doa_rewards: PodU64,
Copy link
Collaborator

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],
Copy link
Collaborator

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 {
Copy link
Collaborator

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?

@coachchucksol
Copy link
Collaborator Author

Replaced by PR #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants