Architecture
The protocol is made up of 3 abstract contracts, 11 core contracts, 1 interaction contracts, 2 library contracts, & 2 renderer contracts.
Abstract
LightOperatable
: Abstract contract to keep track of permissions.LightManager
: Keeps track of reference addresses in the protocol.LightUpgradeable
: Base upgradeable contract for core contracts
Core
LightController
: Responsible for management of registry of contractsLightCuration
: Signalize Light spacesLightDeployer
: Deployer scripts for the Light protocolLightEpochManager
: Manage epoch length of the protocolLightOperatorStore
: Keeps track of permissions and access rightsLightOrb
: Logic for Light orbsLightRewardsManager
: Rewards manager for Light protocolLightSpace
: Logic for Light spacesLightStaking
: Implementation for stakingLightToken
: $LIGHT token implementationLightXP
: $LXP token implementation
Interaction
LightCore
: Core contract for the Light protocol
Libraries
BancorFormula
: Fork of bancor formula for the bonding curveTokenUtils
: Common utils for tokens
Renderer
LightENS
: Data source to stream ENS names on-chainLightRenderer
: On-chain renderer for Light orbs