neo-devpack-solidity 0.22.0

Production-focused Solidity-to-NeoVM compilation system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;

impl StateManager {
    /// Create new state manager
    pub fn new(_config: &RuntimeConfig) -> Result<Self, RuntimeError> {
        Ok(Self {
            accounts: HashMap::new(),
            snapshots: Vec::new(),
            change_log: Vec::new(),
            change_count: 0,
        })
    }
}