File size: 3,171 Bytes
858826c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | /// Tracks direct capital flow and identifies funding chains.
pub struct TransferLink {
pub signature: String,
pub source: String,
pub destination: String,
pub mint: String,
pub timestamp: i64,
}
/// Identifies wallets trading the same token in the same slot.
pub struct BundleTradeLink {
pub signatures: Vec<String>,
pub wallet_a: String,
pub wallet_b: String,
pub mint: String,
pub slot: i64,
pub timestamp: i64,
}
/// Reveals a behavioral pattern of one wallet mirroring another's successful trade.
pub struct CopiedTradeLink {
pub timestamp: i64,
pub leader_buy_sig: String,
pub leader_sell_sig: String,
pub follower_buy_sig: String,
pub follower_sell_sig: String,
pub follower: String,
pub leader: String,
pub mint: String,
pub time_gap_on_buy_sec: i64,
pub time_gap_on_sell_sec: i64,
pub leader_pnl: f64,
pub follower_pnl: f64,
pub leader_buy_total: f64,
pub leader_sell_total: f64,
pub follower_buy_total: f64,
pub follower_sell_total: f64,
pub follower_buy_slippage: f32,
pub follower_sell_slippage: f32,
}
/// Represents a link where a group of wallets re-engage with a token in a coordinated manner.
pub struct CoordinatedActivityLink {
pub timestamp: i64,
pub leader_first_sig: String,
pub leader_second_sig: String,
pub follower_first_sig: String,
pub follower_second_sig: String,
pub follower: String,
pub leader: String,
pub mint: String,
pub time_gap_on_first_sec: i64,
pub time_gap_on_second_sec: i64,
}
/// Links a token to its original creator.
pub struct MintedLink {
pub signature: String,
pub timestamp: i64,
pub buy_amount: f64,
}
/// Connects a token to its successful first-movers.
pub struct SnipedLink {
pub timestamp: i64,
pub signature: String,
pub rank: i64,
pub sniped_amount: f64,
}
/// Represents connection between wallet that locked supply.
pub struct LockedSupplyLink {
pub timestamp: i64,
pub signature: String,
pub amount: f64,
pub unlock_timestamp: u64,
}
/// link of the wallet that burned tokens.
pub struct BurnedLink {
pub signature: String,
pub amount: f64,
pub timestamp: i64,
}
/// Identifies wallets that provided liquidity, signaling high conviction.
pub struct ProvidedLiquidityLink {
pub signature: String,
pub wallet: String,
pub token: String,
pub pool_address: String,
pub amount_base: f64,
pub amount_quote: f64,
pub timestamp: i64,
}
/// A derived link connecting a token to its largest holders.
pub struct WhaleOfLink {
pub timestamp: i64,
pub wallet: String,
pub token: String,
pub holding_pct_at_creation: f32, // Holding % when the link was made
pub ath_usd_at_creation: f64, // Token's ATH when the link was made
}
/// A derived link connecting a token to its most profitable traders.
pub struct TopTraderOfLink {
pub timestamp: i64,
pub wallet: String,
pub token: String,
pub pnl_at_creation: f64, // The PNL that first triggered the link
pub ath_usd_at_creation: f64, // Token's ATH when the link was made
}
|