Skip to main content

Crate rialo_feature_management_interface

Crate rialo_feature_management_interface 

Source
Expand description

Feature Management Program Interface

This program provides a system-level mechanism for managing feature flags with time-based activation and deactivation schedules.

Modules§

error
Error types for the Feature Management Program
instruction
Instruction types for the Feature Management Program
state
Feature state management

Constants§

ID
The const program ID.
MAX_FEATURES_STATE_SIZE
Maximum total size of serialized features state (100 KB)
MAX_FEATURE_COUNT
Maximum number of features allowed in the system
MAX_FEATURE_NAME_LENGTH
Maximum length for a feature name
STORAGE_ACCOUNT_SEED
Storage account PDA seed for the features map

Functions§

check_id
Returns true if given pubkey is the program ID.
genesis_storage
Create genesis storage data with initial authority
get_storage_account_address
Derive the storage account address
id
Returns the program ID.
validate_feature_name
Validates a feature name