use neo_types::*;
pub struct NeoContractRuntime;
impl NeoContractRuntime {
pub fn create(
script: &NeoByteString,
manifest: &NeoContractManifest,
) -> NeoResult<NeoByteString> {
let _ = (script, manifest);
Ok(NeoByteString::new(vec![0u8; 20]))
}
pub fn update(
_script_hash: &NeoByteString,
script: &NeoByteString,
manifest: &NeoContractManifest,
) -> NeoResult<()> {
let _ = (script, manifest);
Ok(())
}
pub fn destroy(script_hash: &NeoByteString) -> NeoResult<()> {
let _ = script_hash;
Ok(())
}
pub fn call(
script_hash: &NeoByteString,
method: &NeoString,
args: &NeoArray<NeoValue>,
) -> NeoResult<NeoValue> {
let _ = (script_hash, method, args);
Ok(NeoValue::Null)
}
}