pub use fuel_types::{
Address, AssetId, BlockHeight, Bytes32, Bytes4, Bytes64, Bytes8, ContractId,
MessageId, Nonce, Salt, Word,
};
use fuels::types::SizedAsciiString;
use serde::{Deserialize, Serialize};
pub type B256 = [u8; 32];
pub type UID = SizedAsciiString<64>;
pub type ID = UID;
pub type I32 = i32;
pub type I64 = i64;
pub type I128 = i128;
pub type U32 = u32;
pub type U64 = u64;
pub type U128 = u128;
pub type Boolean = bool;
pub type I8 = i8;
pub type U8 = u8;
pub type U16 = u16;
pub type I16 = i16;
pub type Bytes = Vec<u8>;
#[derive(Deserialize, Serialize, Clone, Eq, PartialEq, Debug, Hash)]
pub struct Json(pub String);
impl Default for Json {
fn default() -> Self {
Json("{}".to_string())
}
}
impl AsRef<[u8]> for Json {
fn as_ref(&self) -> &[u8] {
self.0.as_bytes()
}
}