// Copyright 2020 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

// (Re-)generated by schema tool
// >>>> DO NOT CHANGE THIS FILE! <<<<
// Change the json schema instead

#![allow(dead_code)]

use crate::*;

pub const SC_NAME        : &str = "blob";
pub const SC_DESCRIPTION : &str = "Blob Contract";
pub const HSC_NAME       : ScHname = ScHname(0xfd91bc63);

pub(crate) const PARAM_BLOBS       : &str = "this";
pub(crate) const PARAM_DESCRIPTION : &str = "d";
pub(crate) const PARAM_FIELD       : &str = "field";
pub(crate) const PARAM_HASH        : &str = "hash";
pub(crate) const PARAM_PROG_BINARY : &str = "p";
pub(crate) const PARAM_VM_TYPE     : &str = "v";

pub(crate) const RESULT_BLOB_SIZES : &str = "this";
pub(crate) const RESULT_BYTES      : &str = "bytes";
pub(crate) const RESULT_HASH       : &str = "hash";

pub(crate) const FUNC_STORE_BLOB     : &str = "storeBlob";
pub(crate) const VIEW_GET_BLOB_FIELD : &str = "getBlobField";
pub(crate) const VIEW_GET_BLOB_INFO  : &str = "getBlobInfo";
pub(crate) const VIEW_LIST_BLOBS     : &str = "listBlobs";

pub(crate) const HFUNC_STORE_BLOB     : ScHname = ScHname(0xddd4c281);
pub(crate) const HVIEW_GET_BLOB_FIELD : ScHname = ScHname(0x1f448130);
pub(crate) const HVIEW_GET_BLOB_INFO  : ScHname = ScHname(0xfde4ab46);
pub(crate) const HVIEW_LIST_BLOBS     : ScHname = ScHname(0x62ca7990);
