Skip to main content

Events

Git Source

CancelLockupStream

Emitted when a stream is canceled.

pub struct CancelLockupStream {
pub deposited_token_mint: Pubkey,
pub recipient_amount: u64,
pub sender_amount: u64,
pub stream_data: Pubkey,
pub stream_nft_mint: Pubkey,
}

CreateLockupLinearStream

Emitted when an LL stream is created.

pub struct CreateLockupLinearStream {
pub deposit_token_decimals: u8,
pub deposit_token_mint: Pubkey,
pub recipient: Pubkey,
pub salt: u128,
pub stream_data: Pubkey,
pub stream_nft_mint: Pubkey,
}

FeesCollected

Emitted when fees are collected from the treasury.

pub struct FeesCollected {
pub fee_amount: u64,
pub fee_collector: Pubkey,
pub fee_recipient: Pubkey,
}

RenounceLockupStream

Emitted when a sender gives up the right to cancel a stream.

pub struct RenounceLockupStream {
pub deposited_token_mint: Pubkey,
pub stream_data: Pubkey,
pub stream_nft_mint: Pubkey,
}

WithdrawFromLockupStream

Emitted when tokens are withdrawn from a stream.

pub struct WithdrawFromLockupStream {
pub deposited_token_mint: Pubkey,
pub fee_in_lamports: u64,
pub stream_data: Pubkey,
pub stream_nft_mint: Pubkey,
pub withdrawn_amount: u64,
}