novax-executor 0.2.12

Part of the NovaX framework, this crate facilitates the execution of transactions and queries against smart contracts on the blockchain.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

use crate::ExecutorError;

#[derive(Serialize, Deserialize, PartialEq, Clone, Debug)]
pub enum DateError {
    UnableToGetCurrentTimestamp
}

impl From<DateError> for ExecutorError {
    fn from(value: DateError) -> Self {
        ExecutorError::Date(value)
    }
}