1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub struct State {
    // utxo, protocol parameters
}

impl State {
    pub fn new() -> Self {
        State {}
    }
}

impl Default for State {
    fn default() -> Self {
        Self::new()
    }
}