truthlinked-state 0.1.0

State transition, account, cell, staking, oracle, MCP, and token logic for TruthLinked.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Truthlinked State Src Log
//!
//! Owns structured execution logs emitted by the state layer.
//! State changes are consensus-sensitive and must preserve deterministic execution and serialization.

use serde::{Deserialize, Serialize};

pub type AccountId = [u8; 32];

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Log {
    pub topics: Vec<[u8; 32]>,
    pub data: Vec<u8>,
}