Log Structure
SC Bonding Curve Logs
Log Types
/// LogType enum
#[derive(Debug)]
pub enum LogType {
Buy,
Sell,
Create,
}
impl LogType {
pub fn into_u8(&self) -> u8 {
match self {
LogType::Buy => 0u8,
LogType::Sell => 1u8,
LogType::Create => 2u8,
}
}
}Buy Log Structure
Sell Log Structure
Create Token Log Structure
CoolDEX Logs
Log Types
Init Log Structure
Deposit Log Structure
Withdraw Log Structure
SwapBaseIn Log Structure
SwapBaseOut Log Structure
Last updated