ι = 0 — Verified On-Chain

Shariah Compliance Proof

Every value on this page is read live from our verified smart contracts on Arbitrum Sepolia. No trust required — verify it yourself on Arbiscan.

Live On-Chain Verification

Mark Price (OracleAdapter)
Index Price (OracleAdapter)
F computed = (Mark−Index)/Index
F on-chain (FundingEngine.getFundingRate)loading...
ι (interest parameter)0 ← hardcoded constant
Insurance Fund

Values refresh every 10–15 seconds from Arbitrum Sepolia (chainId 421614).

Islamic Finance Principles

01No Riba (ι = 0)ENFORCED
The funding rate formula F = (Mark − Index) / Index contains no interest floor or riba component. The parameter ι is hardcoded to zero in FundingEngine.sol and cannot be changed — it is a constant, not a variable. This is proven by Ackerer, Hugonnier & Jermann (2024), Theorem 3 / Proposition 3: when r_a ≈ r_b (both parties use the same stablecoin), the no-arbitrage condition uniquely determines ι = 0.
02No Maysir (Excessive Speculation)ENFORCED
Maximum leverage is hardcoded as MAX_LEVERAGE = 5 in ShariahRegistry.sol (a constant, not a settable parameter). Every position open call passes through validatePosition() which reverts if leverage > 5. Utility-focused framing: the protocol is designed for hedging, not pure speculation.
03No Gharar (Uncertainty / Hidden Risk)ENFORCED
All 21 contracts are verified on Arbiscan — source code is public. No proxy contracts, no upgradeable contracts (OZ upgradeable deliberately NOT installed). No admin backdoors. The only governance is a 48-hour timelock with Shariah board veto. All fees, liquidation parameters, and funding mechanics are visible on-chain. 21-pass internal audit completed with 302 findings fixed.
04Takaful Insurance FundPARTIAL
An on-chain insurance fund holds collateral to cover bad debt from insolvent positions. 50% of all liquidation penalties flow to this fund. No yield is generated on idle capital (no staking or lending of insurance funds). This is the seed of a full Takaful structure planned for Layer 3.
05Halal Asset ApprovalENFORCED
ShariahRegistry.sol requires each collateral asset to be approved by the Shariah board multisig. The approval stores an IPFS hash pointing to the fatwa document on Pinata. Testnet USDC is approved — fatwa CID QmVztQvWd5QkD5euhiUb2ycwr2SHL928Y2AC9rnWCMn7c2 is recorded in ShariahRegistry.fatwaIPFS[USDC]. PAXG and XAUT pending formal board review for mainnet.
06Everlasting Options — κ-Rate Pricing (Layer 2)DEPLOYED
EverlastingOption.sol implements the actuarially fair takaful pricing formula from Ackerer, Hugonnier & Jermann (2024) Proposition 6 at ι = 0: Π(x, K) = [K^{1−β} / (β₊ − β₋)] · x^β, where β = ½ ± √(¼ + 2κ/σ²). The κ-rate (convergence intensity) replaces the interest rate r entirely — no riba in the formula. 759/759 tests pass including fuzz and invariant suites. Deployed to Arbitrum Sepolia (2026-03-10). This is the pricing engine for Layer 2 Perpetual Sukuk and Layer 3 Takaful.

Mathematical Proof (Ackerer et al. 2025, Mathematical Finance)

Grand Valuation Equation (Ackerer Theorem 3):
F = (r_a − r_b − ι) × x + (Mark − Index) / Index
For stablecoin-margined perps (USDC):
r_a ≈ r_b (both legs use USDC, same borrowing cost)
∴ r_a − r_b = 0
∴ F = −ι × x + (Mark − Index) / Index
No-arbitrage + Proposition 3 uniquely determines ι = 0
∴ F = (Mark − Index) / Index [no riba term]

Reference: Ackerer, D., Hugonnier, J., & Jermann, U. (2025). Perpetual Futures Pricing. Mathematical Finance, DOI:10.1111/mafi.70018. The Baraka implementation follows Theorem 3 / Proposition 3 precisely — see NatSpec comments in FundingEngine.sol. The κ-rate monetary framework and everlasting option pricing (Proposition 6) are developed in Ahmed (2026), SSRN 6322778 / 6322858 — available at baraka.arcusquantfund.com.

Why Not Black-Scholes / Merton?

BSM is the industry standard for option pricing. It is also structurally incompatible with Islamic finance. Here is why — and how the AHJ everlasting option framework resolves it.

BLACK-SCHOLES / MERTON — HARAM
C = S·N(d₁) − K·e^(−rT)·N(d₂)
d₁ = [ln(S/K) + (r + σ²/2)T] / σ√T
↑ r appears twice. Removing it breaks the model.
AHJ EVERLASTING OPTION — HALAL
Π(x,K) = [K^(1−β) / (β₊−β₋)] · x^β
β = ½ ± √(¼ + 2κ/σ²)
↑ No r. No e^(−rT). No discounting at interest.
Discount factor
K · e^(−rT) ← this is riba
None — no discounting required
Maturity
Fixed T (days/months/years)
None — random stopping θ ~ Exp(κ)
Pricing parameter
r = risk-free rate (interest)
κ = convergence intensity (no interest)
Where rate comes from
Central bank / LIBOR / T-bills
On-chain perpetual convergence dynamics
Set r/ι = 0?
Breaks the model
Required by Theorem 3 — model works perfectly
Products priced
European options only
Perps · options · sukuk · takaful · iCDS
Shariah status
Structurally haram (r is riba)
Halal by construction (ι = 0 proven)

BSM prices options by discounting at the rate lenders charge for money over time — that is riba. AHJ prices everlasting options by the rate at which markets converge to equilibrium — that is not. The economic content is different even when the numerical values are similar. See Ahmed (2026), SSRN 6322858 for the full derivation.

Verified Contracts — Arbitrum Sepolia (21 deployed)

SubaccountManager
[L1] bytes32 subaccounts — isolation, multi-asset margin, cross-margining
0x9bA8dB4a
Vault
[L1] USDC custody — no rehypothecation, deposit/withdraw per subaccount
0xf2956271
FundingEngine
[L1] F = (Mark − Index) / Index, ι hardcoded to 0
0xc830f372
ShariahRegistry
[L1] Fatwa IPFS registry, asset approval, leverage ≤ 5× enforcement
0xf635896a
ComplianceOracle
[L1] On-chain Shariah compliance checks before every trade
0x439ddb34
OracleAdapter
[L1] Dual Chainlink feeds (60/40), κ-signal, staleness + circuit breaker
0x5492025E
MarginEngine
[L1] Open/close positions, BRKX fee tiers, ShariahRegistry on every open
0x6db60F38
FeeEngine
[L1] BRKX hold-based fee tiers (5.0 → 2.5 bps), maker/taker fee split
0x9b5e8ab5
OrderBook_BTC
[L1] BTC-USD on-chain limit order book — price-time priority, bid/ask levels
0xfa4d97f1
OrderBook_ETH
[L1] ETH-USD on-chain limit order book — price-time priority, bid/ask levels
0x54d8e430
MatchingEngine
[L1] On-chain CLOB — price-time priority, maker/taker settlement
0x2C96051f
BatchSettlement
[L1] Batch trade settlement — atomic multi-fill execution, gas-efficient netting
0x331e3b51
LiquidationEngine
[L1] 2% maintenance margin, 1% penalty (50/50 fund/liquidator)
0x944184Ed
AutoDeleveraging
[L1] ADL cascade when insurance fund depleted — ranked by profit ratio
0x4a0a315a
InsuranceFund
[L1] No yield on idle capital — seed for Takaful layer
0x76c272a9
GovernanceModule
[L1] 48h timelock, Shariah board veto, dual-track governance
0x77B69Dd6
BRKXToken
[L1] 100 M fixed supply, hold-based fee tiers (5.0 → 2.5 bps)
0x4E8729d1
EverlastingOption
[L2] κ-rate pricing engine — everlasting put/call at ι=0 (Ackerer 2024 Prop. 6)
0x67e1c802
TakafulPool
[L3] Tabarru mutual insurance — BTC/USDC pool, wakala 10% operator fee
0x06350393
PerpetualSukuk
[L3] Ijarah + embedded mudarabah call — fixed profit + upside sharing
0x7ab33f62
iCDS
[L4] Islamic Credit Default Swap — ta'awun protection, no speculation
0x504368eb