v0.5.0
string constant POLICY_ID_0 = "Policy ID cannot be 0. Create policy before updating";
string constant POLICY_DOES_NOT_EXIST = "Policy does not exist";
string constant POLICY_CEMENTED = "Not allowed for cemented policy";
string constant VERIFIED_SUBSCRIBER_ONLY = "Only verified policy subscriber can apply closed policies";
string constant INVALID_RULE = "Invalid Rule";
string constant INVALID_SIGNATURE = "Invalid Signature";
string constant FOREIGN_CALL_NOT_SET = "Foreign Call referenced in rule not set";
string constant TRACKER_NOT_SET = "Tracker referenced in rule not set";
string constant INVALID_PARAM_TYPE = "Invalid Param Type";
string constant INVALID_EFFECT_TYPE = "Invalid Effect Type";
string constant INVALID_INSTRUCTION = "Invalid Instruction";
string constant INVALID_INSTRUCTION_SET = "Invalid Instruction Set";
string constant INSTRUCTION_SET_TOO_LARGE = "Instruction Set Too Large";
string constant MEMORY_OVERFLOW = "Memory Overflow";
string constant EMPTY_INSTRUCTION_SET = "Empty Instruction Set";
string constant ZERO_ADDRESS_NOT_ALLOWED = "Zero Address Is Not Allowed";
string constant INVALID_TYPE = "Invalid type";
string constant INVALID_TRACKER_KEY_TYPE = "Invalid tracker key type";
string constant KEY_AND_VALUE_SAME = "Tracker keys and values must have the same length";
string constant CALLING_FUNCTION_NOT_SET = "Calling function not set";
string constant CALLING_FUNCTION_ALREADY_EXISTS = "calling function already exists";
string constant PARM_GT_EQ = "New parameter types must be of greater or equal length to the original";
string constant PARM_NOT_SAME_TYPE = "New parameter types must be of the same type as the original";
string constant NOT_ALLOWED_CEMENTED_POLICY = "Not allowed for cemented policy";
string constant SIG_REQ = "Function signature is required";
string constant NAME_REQ = "Name is required";
string constant INVALID_RULE_LENGTH = "Invalid rule array length";
string constant RULE_NOT_SET = "Rule not set";
string constant ADDRESS_NOT_ALLOWED = "Address not allowed to be a foreign call";
string constant FAILED_FOREIGN_CALL = "Failed Foreign Call";
string constant MAX_FC = "Max foreign calls reached";
string constant MAX_FC_PT = "Max foreign parameter types reached.";
string constant UNKNOWN_RULE = "Unknown Rule";
string constant MAX_TRACKERS = "Max trackers reached";
string constant WRONG_TYPE = "Incorrect type";
string constant MAX_PLC_HLD = "Max place holders reached.";
string constant MAX_CF = "Max calling functions reached.";
string constant MAX_RULES = "Max rules count reached.";
string constant POLICY_ID_INV = "PolicyId is invalid";
string constant POLICY_TYPE_INV = "PolicyType is invalid";
string constant MAX_POLICIES_PER_ADDR = "Max policies per contract address reached.";
string constant FUNCTION_DISABLED = "Function disabled";
string constant GLB_VAR_INV = "Invalid global variable type";
string constant TX_ORG_ONLY_ADDR = "TX_ORIGIN can only be used with address type";
string constant BLK_NUMBER_ONLY_UINT = "BLOCK_NUMBER can only be used with uint type";
string constant MSGDTA_ONLY_STRING = "MSG_DATA can only be used with bytes or string types";
string constant BLOCKTIME_ONLY_UINT = "BLOCK_TIMESTAMP can only be used with uint type";
string constant MSGSENDER_ONLY_ADDR = "MSG_SENDER can only be used with address type";
string constant DYNDATA_OUTBNDS = "Dynamic data content out of bounds";
string constant DYNDATA_OFFSET = "Invalid dynamic data offset";
string constant ENC_STRING_INV = "Invalid encoded string";
string constant EFFECT_REQ = "Must have at least one effect";
string constant MAPPED_TRACKER_KEY_INDICES_LENGTH_MISMATCH = "Mapped tracker key indices length mismatch.";
string constant MAPPED_TRACKER_KEY_CANNOT_BE_DOUBLE_NESTED = "Mapped tracker key cannot be double nested";
string constant DUPLICATES_NOT_ALLOWED = "Duplicates not allowed";
string constant RULES_ENGINE_ONLY = "OnlyRulesEngineCanCreateAdminRoles";
string constant POLICY_ADMIN_ALREADY_CREATED = "Policy Admin Already Created";
string constant NOT_POLICY_ADMIN = "Not Policy Admin";
string constant NOT_PROPOSED_POLICY_ADMIN = "Not Proposed Policy Admin";
string constant ZERO_ADDRESS = "Zero Address Cannot Be Admin";
string constant BELOW_ADMIN_THRESHOLD = "Below Min Admin Threshold";
string constant CALLING_CONTRACT_ADMIN_ROLE_NOT_GRANTED_ACCESS_CONTROL = "Calling Contract Admin Role Not Granted From Calling Contract";
string constant CALLING_CONTRACT_ADMIN_ROLE_ALREADY_GRANTED = "Calling Contract Admin Already Granted";
string constant ONLY_CALLING_CONTRACT = "Only Calling Contract Can Create Admin";
string constant NOT_CALLING_CONTRACT_ADMIN = "Not Calling Contract Admin";
string constant NOT_PROPOSED_CALLING_CONTRACT_ADMIN = "Not Proposed Calling Contract Admin";
string constant FOREIGN_CALL_ADMIN_ALREADY_GRANTED = "Foreign Call Admin Already Granted";
string constant NOT_FOREIGN_CALL_ADMIN = "Not Foreign Call Admin";
string constant NOT_PROPOSED_FOREIGN_CALL_ADMIN = "Not Proposed Foreign Call Admin";
string constant ONLY_FOREIGN_CALL_CONTRACT = "Only Foreign Call Contract Can Create Admin Role";
string constant FOREIGN_CALL_SELECTOR_NOT_SET = "Foreign Call Not Set";
string constant NOT_PERMISSIONED_FOR_FOREIGN_CALL = "Not Permissioned For Foreign Call";
string constant NOT_AUTH_FC = "Not An Authorized Foreign Call Admin";
string constant NOT_AUTH_POLICY = "Not Authorized To Policy";
string constant FOREIGN_CALL_ADMIN_NOT_GRANTED = "Foreign call admin has not been granted";