// 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 = "governance";
pub const SC_DESCRIPTION : &str = "Governance contract";
pub const HSC_NAME       : ScHname = ScHname(0x17cf909f);

pub(crate) const PARAM_ACCESS_NODE_INFO_ACCESS_API    : &str = "ia";
pub(crate) const PARAM_ACCESS_NODE_INFO_CERTIFICATE   : &str = "ic";
pub(crate) const PARAM_ACCESS_NODE_INFO_FOR_COMMITTEE : &str = "i";
pub(crate) const PARAM_ACCESS_NODE_INFO_PUB_KEY       : &str = "ip";
pub(crate) const PARAM_CHAIN_OWNER                    : &str = "o";
pub(crate) const PARAM_CHANGE_ACCESS_NODES_ACTIONS    : &str = "n";
pub(crate) const PARAM_FEE_POLICY_BYTES               : &str = "g";
pub(crate) const PARAM_MAX_BLOB_SIZE                  : &str = "mb";
pub(crate) const PARAM_MAX_EVENT_SIZE                 : &str = "ms";
pub(crate) const PARAM_MAX_EVENTS_PER_REQ             : &str = "mr";
pub(crate) const PARAM_STATE_CONTROLLER_ADDRESS       : &str = "S";

pub(crate) const RESULT_ACCESS_NODE_CANDIDATES             : &str = "ac";
pub(crate) const RESULT_ACCESS_NODES                       : &str = "an";
pub(crate) const RESULT_ALLOWED_STATE_CONTROLLER_ADDRESSES : &str = "a";
pub(crate) const RESULT_CHAIN_ID                           : &str = "c";
pub(crate) const RESULT_CHAIN_OWNER                        : &str = "o";
pub(crate) const RESULT_CHAIN_OWNER_ID                     : &str = "o";
pub(crate) const RESULT_DESCRIPTION                        : &str = "d";
pub(crate) const RESULT_FEE_POLICY_BYTES                   : &str = "g";
pub(crate) const RESULT_GAS_FEE_POLICY_BYTES               : &str = "g";
pub(crate) const RESULT_MAX_BLOB_SIZE                      : &str = "mb";
pub(crate) const RESULT_MAX_EVENT_SIZE                     : &str = "me";
pub(crate) const RESULT_MAX_EVENTS_PER_REQ                 : &str = "mr";

pub(crate) const FUNC_ADD_ALLOWED_STATE_CONTROLLER_ADDRESS    : &str = "addAllowedStateControllerAddress";
pub(crate) const FUNC_ADD_CANDIDATE_NODE                      : &str = "addCandidateNode";
pub(crate) const FUNC_CHANGE_ACCESS_NODES                     : &str = "changeAccessNodes";
pub(crate) const FUNC_CLAIM_CHAIN_OWNERSHIP                   : &str = "claimChainOwnership";
pub(crate) const FUNC_DELEGATE_CHAIN_OWNERSHIP                : &str = "delegateChainOwnership";
pub(crate) const FUNC_REMOVE_ALLOWED_STATE_CONTROLLER_ADDRESS : &str = "removeAllowedStateControllerAddress";
pub(crate) const FUNC_REVOKE_ACCESS_NODE                      : &str = "revokeAccessNode";
pub(crate) const FUNC_ROTATE_STATE_CONTROLLER                 : &str = "rotateStateController";
pub(crate) const FUNC_SET_CHAIN_INFO                          : &str = "setChainInfo";
pub(crate) const FUNC_SET_FEE_POLICY                          : &str = "setFeePolicy";
pub(crate) const VIEW_GET_ALLOWED_STATE_CONTROLLER_ADDRESSES  : &str = "getAllowedStateControllerAddresses";
pub(crate) const VIEW_GET_CHAIN_INFO                          : &str = "getChainInfo";
pub(crate) const VIEW_GET_CHAIN_NODES                         : &str = "getChainNodes";
pub(crate) const VIEW_GET_CHAIN_OWNER                         : &str = "getChainOwner";
pub(crate) const VIEW_GET_FEE_POLICY                          : &str = "getFeePolicy";
pub(crate) const VIEW_GET_MAX_BLOB_SIZE                       : &str = "getMaxBlobSize";

pub(crate) const HFUNC_ADD_ALLOWED_STATE_CONTROLLER_ADDRESS    : ScHname = ScHname(0x9469d567);
pub(crate) const HFUNC_ADD_CANDIDATE_NODE                      : ScHname = ScHname(0xb745b382);
pub(crate) const HFUNC_CHANGE_ACCESS_NODES                     : ScHname = ScHname(0x7bca3700);
pub(crate) const HFUNC_CLAIM_CHAIN_OWNERSHIP                   : ScHname = ScHname(0x03ff0fc0);
pub(crate) const HFUNC_DELEGATE_CHAIN_OWNERSHIP                : ScHname = ScHname(0x93ecb6ad);
pub(crate) const HFUNC_REMOVE_ALLOWED_STATE_CONTROLLER_ADDRESS : ScHname = ScHname(0x31f69447);
pub(crate) const HFUNC_REVOKE_ACCESS_NODE                      : ScHname = ScHname(0x5459512d);
pub(crate) const HFUNC_ROTATE_STATE_CONTROLLER                 : ScHname = ScHname(0x244d1038);
pub(crate) const HFUNC_SET_CHAIN_INFO                          : ScHname = ScHname(0x702f5d2b);
pub(crate) const HFUNC_SET_FEE_POLICY                          : ScHname = ScHname(0x5b791c9f);
pub(crate) const HVIEW_GET_ALLOWED_STATE_CONTROLLER_ADDRESSES  : ScHname = ScHname(0xf3505183);
pub(crate) const HVIEW_GET_CHAIN_INFO                          : ScHname = ScHname(0x434477e2);
pub(crate) const HVIEW_GET_CHAIN_NODES                         : ScHname = ScHname(0xe1832289);
pub(crate) const HVIEW_GET_CHAIN_OWNER                         : ScHname = ScHname(0x9b2ef0ac);
pub(crate) const HVIEW_GET_FEE_POLICY                          : ScHname = ScHname(0xf8c89790);
pub(crate) const HVIEW_GET_MAX_BLOB_SIZE                       : ScHname = ScHname(0xe1db3d28);
