use anchor_lang::prelude::*;
use crate::*;
#[event]
pub struct NewAggregateEvent {
#[index]
pub aggregate: Pubkey,
pub curator: Pubkey,
pub timestamp: i64,
}
#[event]
pub struct AddStakePoolEvent {
#[index]
pub aggregate: Pubkey,
#[index]
pub stake_pool: Pubkey,
pub curator: Pubkey,
pub mint: Pubkey,
pub accounting_method: AccountingMethod,
pub timestamp: i64,
}
#[event]
pub struct SetCuratorEvent {
#[index]
pub aggregate: Pubkey,
pub curator: Pubkey,
pub previous_curator: Pubkey,
pub curator_setter: Pubkey,
pub timestamp: i64,
}
#[event]
pub struct MintASolEvent {
#[index]
pub depositor: Pubkey,
#[index]
pub stake_pool_mint: Pubkey,
#[index]
pub accounting_method: AccountingMethod,
pub deposit_amount: u64,
pub mint_amount: u64,
pub timestamp: i64,
}
#[event]
pub struct AggregateInfoEvent {
pub snapshot: Snapshot,
pub timestamp: i64,
}