charli3-oracle-core 0.1.0-alpha.2

Core oracle types, aggregation algorithms, and price providers for Charli3
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate alloc;
use alloc::vec::Vec;

pub trait CardanoCbor {
    fn to_cardano_cbor(&self) -> Vec<u8>;
}

pub trait CborHashable {
    fn cardano_cbor_hash(&self) -> [u8; 32];
}