11"""Subscription tier definitions and limits for 0pnMatrx.
22
3- Three tiers gate access to the platform's 30 blockchain services:
4- - FREE ($0) — generous limits for personal use
5- - PRO ($4.99) — higher limits, priority, early access
6- - ENTERPRISE ($19.99) — unlimited usage, team accounts, API access
3+ Three tiers gate access to the platform's blockchain services:
4+ - FREE — generous limits for personal use
5+ - PRO — higher limits, priority, early access
6+ - ENTERPRISE — unlimited usage, team accounts, API access
7+
8+ # Pricing is defined in the MTRX iOS app
79"""
810
911from __future__ import annotations
@@ -44,6 +46,21 @@ def from_str(cls, value: str) -> "SubscriptionTier":
4446 "api_access" : False ,
4547 "priority_support" : False ,
4648 "early_access" : False ,
49+ "flash_loans" : False ,
50+ "bridge_per_month" : 5 ,
51+ "private_transfers_per_month" : 3 ,
52+ "prediction_market_bets_per_month" : 10 ,
53+ "decentralized_storage_gb" : 0.1 ,
54+ "streaming_payments_active" : 3 ,
55+ "rwa_fractional_buy_per_month" : 2 ,
56+ "perp_trading" : False ,
57+ "leveraged_positions" : False ,
58+ "ai_model_trading" : False ,
59+ "carbon_credits_per_month" : 5 ,
60+ "game_tournaments_per_month" : 3 ,
61+ "social_posts_per_month" : 20 ,
62+ "zk_proofs_per_month" : 5 ,
63+ "compute_jobs_per_month" : 3 ,
4764 },
4865 SubscriptionTier .PRO : {
4966 "contract_conversions_per_month" : 100 ,
@@ -61,6 +78,21 @@ def from_str(cls, value: str) -> "SubscriptionTier":
6178 "api_access" : False ,
6279 "priority_support" : False ,
6380 "early_access" : True ,
81+ "flash_loans" : False ,
82+ "bridge_per_month" : 50 ,
83+ "private_transfers_per_month" : 25 ,
84+ "prediction_market_bets_per_month" : 200 ,
85+ "decentralized_storage_gb" : 10 ,
86+ "streaming_payments_active" : 25 ,
87+ "rwa_fractional_buy_per_month" : 20 ,
88+ "perp_trading" : False ,
89+ "leveraged_positions" : False ,
90+ "ai_model_trading" : False ,
91+ "carbon_credits_per_month" : 50 ,
92+ "game_tournaments_per_month" : 25 ,
93+ "social_posts_per_month" : 200 ,
94+ "zk_proofs_per_month" : 50 ,
95+ "compute_jobs_per_month" : 25 ,
6496 },
6597 SubscriptionTier .ENTERPRISE : {
6698 "contract_conversions_per_month" : - 1 ,
@@ -78,15 +110,24 @@ def from_str(cls, value: str) -> "SubscriptionTier":
78110 "api_access" : True ,
79111 "priority_support" : True ,
80112 "early_access" : True ,
113+ "flash_loans" : True ,
114+ "bridge_per_month" : - 1 ,
115+ "private_transfers_per_month" : - 1 ,
116+ "prediction_market_bets_per_month" : - 1 ,
117+ "decentralized_storage_gb" : - 1 ,
118+ "streaming_payments_active" : - 1 ,
119+ "rwa_fractional_buy_per_month" : - 1 ,
120+ "perp_trading" : True ,
121+ "leveraged_positions" : True ,
122+ "ai_model_trading" : True ,
123+ "carbon_credits_per_month" : - 1 ,
124+ "game_tournaments_per_month" : - 1 ,
125+ "social_posts_per_month" : - 1 ,
126+ "zk_proofs_per_month" : - 1 ,
127+ "compute_jobs_per_month" : - 1 ,
81128 },
82129}
83130
84- TIER_PRICES : dict [SubscriptionTier , float ] = {
85- SubscriptionTier .FREE : 0.00 ,
86- SubscriptionTier .PRO : 4.99 ,
87- SubscriptionTier .ENTERPRISE : 19.99 ,
88- }
89-
90131# Human-readable feature descriptions for upgrade messages
91132FEATURE_DESCRIPTIONS : dict [str , str ] = {
92133 "contract_conversions_per_month" : "contract conversions/month" ,
@@ -104,6 +145,21 @@ def from_str(cls, value: str) -> "SubscriptionTier":
104145 "api_access" : "direct API access" ,
105146 "priority_support" : "priority support" ,
106147 "early_access" : "early access to new features" ,
148+ "flash_loans" : "flash loans" ,
149+ "bridge_per_month" : "cross-chain bridges/month" ,
150+ "private_transfers_per_month" : "private transfers/month" ,
151+ "prediction_market_bets_per_month" : "prediction market bets/month" ,
152+ "decentralized_storage_gb" : "decentralized storage (GB)" ,
153+ "streaming_payments_active" : "active payment streams" ,
154+ "rwa_fractional_buy_per_month" : "RWA fractional purchases/month" ,
155+ "perp_trading" : "perpetual trading" ,
156+ "leveraged_positions" : "leveraged positions" ,
157+ "ai_model_trading" : "AI model trading" ,
158+ "carbon_credits_per_month" : "carbon credit purchases/month" ,
159+ "game_tournaments_per_month" : "tournament entries/month" ,
160+ "social_posts_per_month" : "on-chain social posts/month" ,
161+ "zk_proofs_per_month" : "zero-knowledge proofs/month" ,
162+ "compute_jobs_per_month" : "compute jobs/month" ,
107163}
108164
109165
0 commit comments