import {BN} from "@coral-xyz/anchor"; import {PublicKey} from "@solana/web3.js"; export const AddWithdrawSupplyEventName = "AddWithdrawSupplyEvent"; export interface AddWithdrawSupplyEvent { timestamp: BN; name: string; supplyProvider: PublicKey; supply: BN; } export const CanceledWithdrawRequestEventName = "CanceledWithdrawRequestEvent"; export interface CanceledWithdrawRequestEvent { timestamp: BN; name: string; user: PublicKey; withdrawIndex: number; batchIndex: number; cancelWithdrawAmount: BN; cancelPerformanceFee: BN; } export const ClaimWithdrawEventName = "ClaimWithdrawEvent"; export interface ClaimWithdrawEvent { timestamp: BN; name: string; user: PublicKey; withdrawIndex: number; batchIndex: number; withdrawAmount: BN; } export const CloseBatchEventName = "CloseBatchEvent"; export interface CloseBatchEvent { timestamp: BN; name: string; batchIndex: number; } export const CollectDepositFeeEventName = "CollectDepositFeeEvent"; export interface CollectDepositFeeEvent { timestamp: BN; name: string; collector: PublicKey; amount: BN; } export const CollectPerformanceFeeEventName = "CollectPerformanceFeeEvent"; export interface CollectPerformanceFeeEvent { timestamp: BN; name: string; collector: PublicKey; amount: BN; } export const CollectRevenueFeeEventName = "CollectRevenueFeeEvent"; export interface CollectRevenueFeeEvent { timestamp: BN; name: string; collector: PublicKey; amount: BN; } export const CollectWithdrawFeeEventName = "CollectWithdrawFeeEvent"; export interface CollectWithdrawFeeEvent { timestamp: BN; name: string; collector: PublicKey; amount: BN; } export const ConcludeBatchEventName = "ConcludeBatchEvent"; export interface ConcludeBatchEvent { timestamp: BN; name: string; batchIndex: number; } export const DepositEventName = "DepositEvent"; export interface DepositEvent { timestamp: BN; name: string; user: PublicKey; depositProvider: PublicKey; amount: BN; batchIndex: number; depositIndex: number; } export const OpenNewBatchEventName = "OpenNewBatchEvent"; export interface OpenNewBatchEvent { timestamp: BN; name: string; sharePrice: BN; batchIndex: number; } export const ProcessUserBatchEventName = "ProcessUserBatchEvent"; export interface ProcessUserBatchEvent { timestamp: BN; name: string; user: PublicKey; batchIndex: number; } export const RequestWithdrawEventName = "RequestWithdrawEvent"; export interface RequestWithdrawEvent { timestamp: BN; name: string; user: PublicKey; requestedWithdrawAmount: BN; performanceFee: BN; sharePrice: BN; batchIndex: number; withdrawIndex: number; } export const TransferTempEventName = "TransferTempEvent"; export interface TransferTempEvent { timestamp: BN; name: string; amount: BN; } export const WithdrawSupplyEventName = "WithdrawSupplyEvent"; export interface WithdrawSupplyEvent { timestamp: BN; name: string; withdrawReceiver: PublicKey; supply: BN; }