oasis-std 0.4.1

Library for developing on the Oasis platform
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cfg_if::cfg_if! {
    if #[cfg(all(target_arch = "wasm32", target_os = "wasi"))] {
        mod wasi;
        use self::wasi as imp;
    } else {
        mod ext;
        use ext as imp;
    }
}

pub use imp::{
    aad, address, balance, code, create, emit, err, input, payer, read, ret, sender, transact,
    value, write,
};