Overview
The ShiftCTRL Tab Protocol comprises both Onchain and Offchain modules.
Last updated
The ShiftCTRL Tab Protocol comprises both Onchain and Offchain modules.
Last updated
The Onchain module consists of a series of smart contracts deployed on the Arbitrum One blockchain. These smart contracts govern the Tab Protocol and Governance.
The Tab Protocol is a comprehensive suite of smart contracts designed to manage reserves, Tabs, vault operations, oracles, and risk. Each component works in tandem to ensure the stability and reliability of the protocol.
Governance is facilitated through a set of OpenZeppelin Governance smart contracts. These contracts, along with a timelock controller, ensure that only approved proposals are executed.
Offchain modules are integral to the Tab Protocol, focusing on oracle functions and risk monitoring.
Although these modules currently operate offchain due to the high costs associated with on-chain execution, this is a necessary design compromise for a self-funded project like ShiftCTRL.
We are fully committed to transitioning all components on-chain as soon as it becomes feasible.
The Tab Protocol's functionality relies on precise, real-time currency exchange rates, which are crucial for vault operations and risk monitoring.
The Tab Oracle module receives these live rates from whitelisted oracle feed providers, carefully vetted by the community through Onchain governance. By aggregating data from multiple sources at regular intervals, the exchange rates are derived using median values to ensure accuracy and reliability.
This median rate is then signed and retrieved whenever a user performs vault operations—such as opening new vaults or withdrawing Tab & reserves.
To maintain security, the Onchain smart contract verifies that the rate has been signed by an authorized signee, ensuring that only validated data is used in the protocol’s operations.
Note: The oracle has been bootstrapped using three currency exchange rate providers. As the protocol grows, we anticipate that more oracle feeds will come directly from the community, supported by a reward system that compensates these providers for their services.
The Tab Keeper module is essential to the stability of the Tab Protocol, continuously monitoring vaults to ensure their reserve ratios remain above the configured threshold. By regularly retrieving live exchange rates from the Tab Oracle, the module accurately assesses each vault’s reserve ratio.
If a vault’s reserve ratio falls below the set threshold (default 180%), a risk penalty is automatically applied to the vault. Should the ratio decline further and reach the liquidation threshold (default 120%), the Tab Keeper initiates vault liquidation. This process involves selling the reserves, starting at a higher price and gradually lowering it until sufficient reserves are sold to recover all outstanding Tabs from the liquidating vault, thereby protecting the integrity of the protocol.