// 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 = "root";
pub const SC_DESCRIPTION : &str = "Root Contract";
pub const HSC_NAME       : ScHname = ScHname(0xcebf5908);

pub(crate) const PARAM_CLOSE_FUNC                 : &str = "bcc";
pub(crate) const PARAM_DEPLOYER                   : &str = "dp";
pub(crate) const PARAM_DEPLOY_PERMISSIONS_ENABLED : &str = "de";
pub(crate) const PARAM_DESCRIPTION                : &str = "ds";
pub(crate) const PARAM_HNAME                      : &str = "hn";
pub(crate) const PARAM_NAME                       : &str = "nm";
pub(crate) const PARAM_OPEN_FUNC                  : &str = "bco";
pub(crate) const PARAM_PROGRAM_HASH               : &str = "ph";

pub(crate) const RESULT_CONTRACT_FOUND    : &str = "cf";
pub(crate) const RESULT_CONTRACT_REC_DATA : &str = "dt";
pub(crate) const RESULT_CONTRACT_REGISTRY : &str = "r";

pub(crate) const FUNC_DEPLOY_CONTRACT            : &str = "deployContract";
pub(crate) const FUNC_GRANT_DEPLOY_PERMISSION    : &str = "grantDeployPermission";
pub(crate) const FUNC_REQUIRE_DEPLOY_PERMISSIONS : &str = "requireDeployPermissions";
pub(crate) const FUNC_REVOKE_DEPLOY_PERMISSION   : &str = "revokeDeployPermission";
pub(crate) const FUNC_SUBSCRIBE_BLOCK_CONTEXT    : &str = "subscribeBlockContext";
pub(crate) const VIEW_FIND_CONTRACT              : &str = "findContract";
pub(crate) const VIEW_GET_CONTRACT_RECORDS       : &str = "getContractRecords";

pub(crate) const HFUNC_DEPLOY_CONTRACT            : ScHname = ScHname(0x28232c27);
pub(crate) const HFUNC_GRANT_DEPLOY_PERMISSION    : ScHname = ScHname(0xf440263a);
pub(crate) const HFUNC_REQUIRE_DEPLOY_PERMISSIONS : ScHname = ScHname(0xefff8d83);
pub(crate) const HFUNC_REVOKE_DEPLOY_PERMISSION   : ScHname = ScHname(0x850744f1);
pub(crate) const HFUNC_SUBSCRIBE_BLOCK_CONTEXT    : ScHname = ScHname(0xf2f8a06d);
pub(crate) const HVIEW_FIND_CONTRACT              : ScHname = ScHname(0xc145ca00);
pub(crate) const HVIEW_GET_CONTRACT_RECORDS       : ScHname = ScHname(0x078b3ef3);
