iwa 0.0.18__py3-none-any.whl → 0.0.20__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. iwa/core/chainlist.py +116 -0
  2. iwa/core/constants.py +1 -0
  3. iwa/core/contracts/cache.py +131 -0
  4. iwa/core/contracts/contract.py +7 -0
  5. iwa/core/rpc_monitor.py +60 -0
  6. iwa/plugins/olas/constants.py +41 -39
  7. iwa/plugins/olas/contracts/abis/mech_marketplace_v1.json +828 -0
  8. iwa/plugins/olas/contracts/activity_checker.py +63 -25
  9. iwa/plugins/olas/contracts/mech_marketplace_v1.py +68 -0
  10. iwa/plugins/olas/contracts/staking.py +115 -19
  11. iwa/plugins/olas/events.py +141 -0
  12. iwa/plugins/olas/scripts/test_full_mech_flow.py +1 -1
  13. iwa/plugins/olas/service_manager/base.py +7 -2
  14. iwa/plugins/olas/service_manager/lifecycle.py +30 -5
  15. iwa/plugins/olas/service_manager/mech.py +251 -42
  16. iwa/plugins/olas/service_manager/staking.py +6 -2
  17. iwa/plugins/olas/tests/test_olas_integration.py +38 -10
  18. iwa/plugins/olas/tests/test_service_manager.py +7 -1
  19. iwa/plugins/olas/tests/test_service_manager_errors.py +22 -11
  20. iwa/plugins/olas/tests/test_service_manager_flows.py +24 -8
  21. iwa/plugins/olas/tests/test_service_staking.py +59 -15
  22. iwa/plugins/olas/tests/test_staking_validation.py +8 -14
  23. iwa/tools/reset_tenderly.py +2 -2
  24. iwa/tools/test_chainlist.py +38 -0
  25. iwa/web/routers/olas/staking.py +9 -4
  26. {iwa-0.0.18.dist-info → iwa-0.0.20.dist-info}/METADATA +1 -1
  27. {iwa-0.0.18.dist-info → iwa-0.0.20.dist-info}/RECORD +32 -24
  28. tests/test_rpc_efficiency.py +103 -0
  29. {iwa-0.0.18.dist-info → iwa-0.0.20.dist-info}/WHEEL +0 -0
  30. {iwa-0.0.18.dist-info → iwa-0.0.20.dist-info}/entry_points.txt +0 -0
  31. {iwa-0.0.18.dist-info → iwa-0.0.20.dist-info}/licenses/LICENSE +0 -0
  32. {iwa-0.0.18.dist-info → iwa-0.0.20.dist-info}/top_level.txt +0 -0
iwa/core/chainlist.py ADDED
@@ -0,0 +1,116 @@
1
+ """Module for fetching and parsing RPCs from Chainlist.org."""
2
+ import json
3
+ import time
4
+ from dataclasses import dataclass
5
+ from typing import Any, Dict, List, Optional
6
+
7
+ import requests
8
+
9
+ from iwa.core.constants import CACHE_DIR
10
+
11
+
12
+ @dataclass
13
+ class RPCNode:
14
+ """Represents a single RPC node with its properties."""
15
+
16
+ url: str
17
+ is_working: bool
18
+ privacy: Optional[str] = None
19
+ tracking: Optional[str] = None
20
+
21
+ @property
22
+ def is_tracking(self) -> bool:
23
+ """Returns True if the RPC is known to track user data."""
24
+ return self.privacy == "privacy" or self.tracking in ("limited", "yes")
25
+
26
+
27
+ class ChainlistRPC:
28
+ """Fetcher and parser for Chainlist RPC data."""
29
+
30
+ URL = "https://chainlist.org/rpcs.json"
31
+ CACHE_PATH = CACHE_DIR / "chainlist_rpcs.json"
32
+ CACHE_TTL = 86400 # 24 hours
33
+
34
+ def __init__(self) -> None:
35
+ """Initialize the ChainlistRPC instance."""
36
+ self._data: List[Dict[str, Any]] = []
37
+
38
+ def fetch_data(self, force_refresh: bool = False) -> None:
39
+ """Fetches the RPC data from Chainlist with local caching."""
40
+ # 1. Try local cache first unless force_refresh is requested
41
+ if not force_refresh and self.CACHE_PATH.exists():
42
+ try:
43
+ mtime = self.CACHE_PATH.stat().st_mtime
44
+ if time.time() - mtime < self.CACHE_TTL:
45
+ with self.CACHE_PATH.open("r") as f:
46
+ self._data = json.load(f)
47
+ if self._data:
48
+ return
49
+ except Exception as e:
50
+ print(f"Error reading Chainlist cache: {e}")
51
+
52
+ # 2. Fetch from remote
53
+ try:
54
+ response = requests.get(self.URL, timeout=10)
55
+ response.raise_for_status()
56
+ self._data = response.json()
57
+
58
+ # 3. Update local cache
59
+ if self._data:
60
+ self.CACHE_PATH.parent.mkdir(parents=True, exist_ok=True)
61
+ with self.CACHE_PATH.open("w") as f:
62
+ json.dump(self._data, f)
63
+ except requests.RequestException as e:
64
+ print(f"Error fetching Chainlist data from {self.URL}: {e}")
65
+ # Fallback to expired cache if available
66
+ if not self._data and self.CACHE_PATH.exists():
67
+ try:
68
+ with self.CACHE_PATH.open("r") as f:
69
+ self._data = json.load(f)
70
+ except Exception:
71
+ pass
72
+ if not self._data:
73
+ self._data = []
74
+
75
+ def get_chain_data(self, chain_id: int) -> Optional[Dict[str, Any]]:
76
+ """Returns the raw chain data for a specific chain ID."""
77
+ if not self._data:
78
+ self.fetch_data()
79
+
80
+ for entry in self._data:
81
+ if entry.get('chainId') == chain_id:
82
+ return entry
83
+ return None
84
+
85
+ def get_rpcs(self, chain_id: int) -> List[RPCNode]:
86
+ """Returns a list of RPCNode objects for a parsed and cleaner view."""
87
+ chain_data = self.get_chain_data(chain_id)
88
+ if not chain_data:
89
+ return []
90
+
91
+ raw_rpcs = chain_data.get('rpc', [])
92
+ nodes = []
93
+ for rpc in raw_rpcs:
94
+ nodes.append(RPCNode(
95
+ url=rpc.get('url', ''),
96
+ is_working=True,
97
+ privacy=rpc.get('privacy'),
98
+ tracking=rpc.get('tracking')
99
+ ))
100
+ return nodes
101
+
102
+ def get_https_rpcs(self, chain_id: int) -> List[str]:
103
+ """Returns a list of HTTPS RPC URLs for the given chain."""
104
+ rpcs = self.get_rpcs(chain_id)
105
+ return [
106
+ node.url for node in rpcs
107
+ if node.url.startswith("https://") or node.url.startswith("http://")
108
+ ]
109
+
110
+ def get_wss_rpcs(self, chain_id: int) -> List[str]:
111
+ """Returns a list of WSS RPC URLs for the given chain."""
112
+ rpcs = self.get_rpcs(chain_id)
113
+ return [
114
+ node.url for node in rpcs
115
+ if node.url.startswith("wss://") or node.url.startswith("ws://")
116
+ ]
iwa/core/constants.py CHANGED
@@ -8,6 +8,7 @@ PROJECT_ROOT = Path(__file__).parent.parent.parent.parent
8
8
 
9
9
  # Data directory for runtime files
10
10
  DATA_DIR = Path("data")
11
+ CACHE_DIR = DATA_DIR / "cache"
11
12
 
12
13
  # secrets.env is at project root (NOT in data/)
13
14
  SECRETS_PATH = Path("secrets.env")
@@ -0,0 +1,131 @@
1
+ """Contract instance cache to reduce RPC calls during instantiation."""
2
+
3
+ import os
4
+ import time
5
+ from threading import Lock
6
+ from typing import Any, Dict, Optional, Type, TypeVar
7
+
8
+ from loguru import logger
9
+
10
+ T = TypeVar("T")
11
+
12
+
13
+ class ContractCache:
14
+ """Singleton cache for contract instances.
15
+
16
+ Stores contract instances keyed by (class, address, chain) to prevent
17
+ redundant instantiation and the associated RPC calls.
18
+ """
19
+
20
+ _instance = None
21
+ _lock = Lock()
22
+
23
+ def __new__(cls) -> "ContractCache":
24
+ """Ensure singleton instance."""
25
+ with cls._lock:
26
+ if cls._instance is None:
27
+ cls._instance = super(ContractCache, cls).__new__(cls)
28
+ cls._instance._contracts: Dict[str, Any] = {}
29
+ cls._instance._creation_times: Dict[str, float] = {}
30
+
31
+ # Default TTL: 1 hour, configurable via env var
32
+ env_ttl = os.environ.get("IWA_CONTRACT_CACHE_TTL")
33
+ try:
34
+ cls._instance.ttl = int(env_ttl) if env_ttl else 3600
35
+ except ValueError:
36
+ cls._instance.ttl = 3600
37
+ logger.warning(f"Invalid IWA_CONTRACT_CACHE_TTL value: {env_ttl}. Using 3600.")
38
+
39
+ return cls._instance
40
+
41
+ def get_contract(
42
+ self,
43
+ contract_cls: Type[T],
44
+ address: str,
45
+ chain_name: str,
46
+ ttl: Optional[int] = None,
47
+ ) -> T:
48
+ """Get a cached contract instance or create a new one.
49
+
50
+ Args:
51
+ contract_cls: The contract class to instantiate.
52
+ address: The contract address.
53
+ chain_name: The chain name.
54
+ ttl: Optional TTL override in seconds.
55
+
56
+ Returns:
57
+ The contract instance (cached or new).
58
+
59
+ """
60
+ if not address:
61
+ raise ValueError("Address is required for contract caching")
62
+
63
+ key = self._make_key(contract_cls, address, chain_name)
64
+ now = time.time()
65
+ expiry = (ttl if ttl is not None else self.ttl)
66
+
67
+ with self._lock:
68
+ # Check if cached and valid
69
+ if key in self._contracts:
70
+ created_at = self._creation_times.get(key, 0)
71
+ if now - created_at < expiry:
72
+ return self._contracts[key]
73
+ else:
74
+ logger.debug(f"Contract cache expired for {key}")
75
+ del self._contracts[key]
76
+ del self._creation_times[key]
77
+
78
+ # Create new instance
79
+ logger.debug(f"Creating new cached contract instance for {key}")
80
+ instance = contract_cls(address, chain_name=chain_name)
81
+ self._contracts[key] = instance
82
+ self._creation_times[key] = now
83
+ return instance
84
+
85
+ def get_if_cached(
86
+ self,
87
+ contract_cls: Type[T],
88
+ address: str,
89
+ chain_name: str,
90
+ ) -> Optional[T]:
91
+ """Get a cached contract instance if it exists and is valid.
92
+
93
+ Does NOT create a new instance if not found.
94
+ """
95
+ if not address:
96
+ return None
97
+
98
+ key = self._make_key(contract_cls, address, chain_name)
99
+ now = time.time()
100
+
101
+ with self._lock:
102
+ if key in self._contracts:
103
+ # Check TTL
104
+ created_at = self._creation_times.get(key, 0)
105
+ if now - created_at < self.ttl:
106
+ return self._contracts[key]
107
+ else:
108
+ # Expired, clean up
109
+ del self._contracts[key]
110
+ del self._creation_times[key]
111
+ return None
112
+
113
+ def _make_key(self, contract_cls: Type, address: str, chain_name: str) -> str:
114
+ """Create a unique cache key."""
115
+ return f"{contract_cls.__name__}:{chain_name.lower()}:{address.lower()}"
116
+
117
+ def clear(self) -> None:
118
+ """Clear all cached contracts."""
119
+ with self._lock:
120
+ self._contracts.clear()
121
+ self._creation_times.clear()
122
+ logger.debug("Contract cache cleared")
123
+
124
+ def invalidate(self, contract_cls: Type, address: str, chain_name: str) -> None:
125
+ """Invalidate a specific contract in the cache."""
126
+ key = self._make_key(contract_cls, address, chain_name)
127
+ with self._lock:
128
+ if key in self._contracts:
129
+ del self._contracts[key]
130
+ del self._creation_times[key]
131
+ logger.debug(f"Invalidated cache for {key}")
@@ -11,6 +11,7 @@ from web3.contract import Contract
11
11
  from web3.exceptions import ContractCustomError
12
12
 
13
13
  from iwa.core.chain import ChainInterfaces
14
+ from iwa.core.rpc_monitor import RPCMonitor
14
15
  from iwa.core.utils import configure_logger
15
16
 
16
17
  logger = configure_logger()
@@ -221,6 +222,8 @@ class ContractInstance:
221
222
  # Re-evaluate self.contract on each retry to get current provider
222
223
  # This is critical for RPC rotation to work correctly
223
224
  method = getattr(self.contract.functions, method_name)
225
+ # Count the RPC call
226
+ RPCMonitor().increment(f"{self.name}.{method_name}")
224
227
  return method(*args).call()
225
228
 
226
229
  return self.chain_interface.with_retry(
@@ -277,6 +280,10 @@ class ContractInstance:
277
280
 
278
281
  try:
279
282
  tx_params = self.chain_interface.calculate_transaction_params(built_method, tx_params)
283
+
284
+ # Count the estimateGas/buildTransaction RPC calls
285
+ RPCMonitor().increment(f"{self.name}.{method_name}.estimate_gas")
286
+
280
287
  transaction = built_method.build_transaction(tx_params)
281
288
  return transaction
282
289
 
@@ -0,0 +1,60 @@
1
+ """RPC Monitor for tracking API usage."""
2
+ import threading
3
+ from collections import defaultdict
4
+ from typing import Dict
5
+
6
+ from iwa.core.utils import configure_logger
7
+
8
+ logger = configure_logger()
9
+
10
+
11
+ class RPCMonitor:
12
+ """Singleton monitor for tracking RPC usage."""
13
+
14
+ _instance = None
15
+ _lock = threading.Lock()
16
+
17
+ def __new__(cls):
18
+ """Create singleton instance."""
19
+ if cls._instance is None:
20
+ with cls._lock:
21
+ if cls._instance is None:
22
+ cls._instance = super(RPCMonitor, cls).__new__(cls)
23
+ cls._instance._initialized = False
24
+ return cls._instance
25
+
26
+ def __init__(self):
27
+ """Initialize monitor."""
28
+ if self._initialized:
29
+ return
30
+ self._counts: Dict[str, int] = defaultdict(int)
31
+ self._lock = threading.Lock()
32
+ self._initialized = True
33
+
34
+ def increment(self, metric_name: str, count: int = 1):
35
+ """Increment a metric counter."""
36
+ with self._lock:
37
+ self._counts[metric_name] += count
38
+
39
+ def get_counts(self) -> Dict[str, int]:
40
+ """Get a copy of current counts."""
41
+ with self._lock:
42
+ return dict(self._counts)
43
+
44
+ def log_stats(self):
45
+ """Log current statistics."""
46
+ stats = self.get_counts()
47
+ if not stats:
48
+ return
49
+
50
+ logger.info("RPC Stats Summary:")
51
+ total = 0
52
+ for k, v in sorted(stats.items()):
53
+ logger.info(f" {k}: {v}")
54
+ total += v
55
+ logger.info(f" TOTAL: {total}")
56
+
57
+ def clear(self):
58
+ """Clear all counters."""
59
+ with self._lock:
60
+ self._counts.clear()
@@ -54,10 +54,10 @@ OLAS_CONTRACTS: Dict[str, Dict[str, EthereumAddress]] = {
54
54
  # Legacy mech - used by NON-MM TRADER staking contracts (e.g., "Expert X (Yk OLAS)")
55
55
  # Activity checker calls agentMech.getRequestsCount(multisig) to count requests.
56
56
  "OLAS_MECH": EthereumAddress("0x77af31De935740567Cf4fF1986D04B2c964A786a"),
57
- # NEW Marketplace (v2) - used by MM staking contracts (e.g., "Expert X MM (Yk OLAS)")
58
- # Services staked in "Expert X MM" contracts MUST use marketplace requests.
57
+ # Marketplace v2 - used by newer MM staking contracts (e.g., "Expert X MM v2 (Yk OLAS)")
58
+ # Services staked in MM v2 contracts MUST use marketplace requests.
59
59
  # Legacy mech requests will NOT be counted by the activity checker.
60
- "OLAS_MECH_MARKETPLACE": EthereumAddress("0x735FAAb1c4Ec41128c367AFb5c3baC73509f70bB"),
60
+ "OLAS_MECH_MARKETPLACE_V2": EthereumAddress("0x735FAAb1c4Ec41128c367AFb5c3baC73509f70bB"),
61
61
  # Default priority mech for marketplace requests (from olas-operate-middleware)
62
62
  # This is the mech that will process requests sent via the marketplace.
63
63
  # Source: https://github.com/valory-xyz/olas-operate-middleware/blob/main/operate/ledger/profiles.py
@@ -65,8 +65,9 @@ OLAS_CONTRACTS: Dict[str, Dict[str, EthereumAddress]] = {
65
65
  "OLAS_MECH_MARKETPLACE_PRIORITY": EthereumAddress(
66
66
  "0xC05e7412439bD7e91730a6880E18d5D5873F632C"
67
67
  ),
68
- # OLD Marketplace (v1) - legacy, kept for reference
69
- "OLAS_MECH_MARKETPLACE_OLD": EthereumAddress("0x4554fE75c1f5576c1d7F765B2A036c199Adae329"),
68
+ # Marketplace v1 (VERSION 1.0.0) - older MM contracts (e.g., "Expert 17 MM v1")
69
+ # Uses different request signature than v2. trader_ant uses this.
70
+ "OLAS_MECH_MARKETPLACE_V1": EthereumAddress("0x4554fE75c1f5576c1d7F765B2A036c199Adae329"),
70
71
  },
71
72
  "ethereum": {
72
73
  "OLAS_SERVICE_REGISTRY": EthereumAddress("0x48b6F34dDAf31f94086BFB45e69e0618DDe3677b"),
@@ -75,49 +76,50 @@ OLAS_CONTRACTS: Dict[str, Dict[str, EthereumAddress]] = {
75
76
  "base": {
76
77
  "OLAS_SERVICE_REGISTRY": EthereumAddress("0x3841C312061daB948332A78F042Ec61Ad09fc3D8"),
77
78
  "OLAS_SERVICE_MANAGER": EthereumAddress("0xF36183B106692DeD8b6e3B2B7347C9665f8a09B1"),
78
- "OLAS_MECH_MARKETPLACE": EthereumAddress("0x4554fE75c1f5576c1d7F765B2A036c199Adae329"),
79
+ "OLAS_MECH_MARKETPLACE_V1": EthereumAddress("0x4554fE75c1f5576c1d7F765B2A036c199Adae329"),
79
80
  },
80
81
  }
81
82
 
82
83
  # TRADER-compatible staking contracts categorized by chain
83
84
  # See https://govern.olas.network/contracts
84
- # NOTE: All TRADER staking contracts use the LEGACY MECH for activity tracking.
85
- # The activity checker calls agentMech.getRequestsCount(multisig), where agentMech
86
- # is hardcoded to the legacy mech (0x77af31De935740567Cf4fF1986D04B2c964A786a).
87
85
  #
88
- # This means:
89
- # - Legacy mech requests (use_marketplace=False) -> COUNT for liveness rewards
90
- # - Marketplace mech requests (use_marketplace=True) -> DO NOT COUNT
86
+ # Categories (verified on-chain via activity checker's mechMarketplace):
87
+ # - Legacy: No marketplace, uses legacy mech (0x77af31De...). agentMech.getRequestsCount()
88
+ # - MM v1: Old marketplace (0x4554fE75...). mechMarketplace.mapRequestCounts()
89
+ # - MM v2: New marketplace (0x735FAAb1...). mechMarketplace.mapRequestCounts()
91
90
  #
92
- # For staking rewards, services MUST use legacy mech requests.
91
+ # IMPORTANT: Services MUST use the correct mech request type for their staking contract!
93
92
  OLAS_TRADER_STAKING_CONTRACTS: Dict[str, Dict[str, EthereumAddress]] = {
94
93
  "gnosis": {
95
- "Hobbyist 1 (100 OLAS)": EthereumAddress("0x389B46C259631Acd6a69Bde8B6cEe218230bAE8C"),
96
- "Hobbyist 2 (500 OLAS)": EthereumAddress("0x238EB6993b90A978ec6AAD7530D6429c949C08DA"),
97
- "Expert (1k OLAS)": EthereumAddress("0x5344B7DD311e5d3DdDd46A4f71481Bd7b05AAA3e"),
98
- "Expert 2 (1k OLAS)": EthereumAddress("0xb964e44c126410df341ae04B13aB10A985fE3513"),
99
- "Expert 3 (2k OLAS)": EthereumAddress("0x80faD33Cadb5F53f9D29F02Db97D682E8B101618"),
100
- "Expert 4 (10k OLAS)": EthereumAddress("0xaD9d891134443B443D7F30013c7e14Fe27F2E029"),
101
- "Expert 5 (10k OLAS)": EthereumAddress("0xE56dF1E563De1B10715cB313D514af350D207212"),
102
- "Expert 6 (1k OLAS)": EthereumAddress("0x2546214aEE7eEa4bEE7689C81231017CA231Dc93"),
103
- "Expert 7 (10k OLAS)": EthereumAddress("0xD7A3C8b975f71030135f1a66E9e23164d54fF455"),
104
- "Expert 8 (2k OLAS)": EthereumAddress("0x356C108D49C5eebd21c84c04E9162de41933030c"),
105
- "Expert 9 (10k OLAS)": EthereumAddress("0x17dBAe44BC5618Cc254055B386A29576b4F87015"),
106
- "Expert 10 (10k OLAS)": EthereumAddress("0xB0ef657b8302bd2c74B6E6D9B2b4b39145b19c6f"),
107
- "Expert 11 (10k OLAS)": EthereumAddress("0x3112c1613eAC3dBAE3D4E38CeF023eb9E2C91CF7"),
108
- "Expert 12 (10k OLAS)": EthereumAddress("0xF4a75F476801B3fBB2e7093aCDcc3576593Cc1fc"),
109
- "Expert 15 (10k OLAS)": EthereumAddress("0x88eB38FF79fBa8C19943C0e5Acfa67D5876AdCC1"),
110
- "Expert 16 (10k OLAS)": EthereumAddress("0x6c65430515c70a3f5E62107CC301685B7D46f991"),
111
- "Expert 17 (10k OLAS)": EthereumAddress("0x1430107A785C3A36a0C1FC0ee09B9631e2E72aFf"),
112
- "Expert 18 (10k OLAS)": EthereumAddress("0x041e679d04Fc0D4f75Eb937Dea729Df09a58e454"),
113
- "Expert 3 MM (1k OLAS)": EthereumAddress("0x75eeca6207be98cac3fde8a20ecd7b01e50b3472"),
114
- "Expert 4 MM (2k OLAS)": EthereumAddress("0x9c7f6103e3a72e4d1805b9c683ea5b370ec1a99f"),
115
- "Expert 5 MM (10k OLAS)": EthereumAddress("0xcdC603e0Ee55Aae92519f9770f214b2Be4967f7d"),
116
- "Expert 6 MM (10k OLAS)": EthereumAddress("0x22d6cd3d587d8391c3aae83a783f26c67ab54a85"),
117
- "Expert 7 MM (10k OLAS)": EthereumAddress("0xaaecdf4d0cbd6ca0622892ac6044472f3912a5f3"),
118
- "Expert 8 MM (10k OLAS)": EthereumAddress("0x168aed532a0cd8868c22fc77937af78b363652b1"),
119
- "Expert 9 MM (10k OLAS)": EthereumAddress("0xdda9cd214f12e7c2d58e871404a0a3b1177065c8"),
120
- "Expert 10 MM (10k OLAS)": EthereumAddress("0x53a38655b4e659ef4c7f88a26fbf5c67932c7156"),
94
+ # === LEGACY (no marketplace) ===
95
+ "Hobbyist 1 Legacy (100 OLAS)": EthereumAddress("0x389B46C259631Acd6a69Bde8B6cEe218230bAE8C"),
96
+ "Hobbyist 2 Legacy (500 OLAS)": EthereumAddress("0x238EB6993b90A978ec6AAD7530D6429c949C08DA"),
97
+ "Expert Legacy (1k OLAS)": EthereumAddress("0x5344B7DD311e5d3DdDd46A4f71481Bd7b05AAA3e"),
98
+ "Expert 2 Legacy (1k OLAS)": EthereumAddress("0xb964e44c126410df341ae04B13aB10A985fE3513"),
99
+ "Expert 3 Legacy (2k OLAS)": EthereumAddress("0x80faD33Cadb5F53f9D29F02Db97D682E8B101618"),
100
+ "Expert 4 Legacy (10k OLAS)": EthereumAddress("0xaD9d891134443B443D7F30013c7e14Fe27F2E029"),
101
+ "Expert 5 Legacy (10k OLAS)": EthereumAddress("0xE56dF1E563De1B10715cB313D514af350D207212"),
102
+ "Expert 6 Legacy (1k OLAS)": EthereumAddress("0x2546214aEE7eEa4bEE7689C81231017CA231Dc93"),
103
+ "Expert 7 Legacy (10k OLAS)": EthereumAddress("0xD7A3C8b975f71030135f1a66E9e23164d54fF455"),
104
+ "Expert 8 Legacy (2k OLAS)": EthereumAddress("0x356C108D49C5eebd21c84c04E9162de41933030c"),
105
+ "Expert 9 Legacy (10k OLAS)": EthereumAddress("0x17dBAe44BC5618Cc254055B386A29576b4F87015"),
106
+ "Expert 10 Legacy (10k OLAS)": EthereumAddress("0xB0ef657b8302bd2c74B6E6D9B2b4b39145b19c6f"),
107
+ "Expert 11 Legacy (10k OLAS)": EthereumAddress("0x3112c1613eAC3dBAE3D4E38CeF023eb9E2C91CF7"),
108
+ "Expert 12 Legacy (10k OLAS)": EthereumAddress("0xF4a75F476801B3fBB2e7093aCDcc3576593Cc1fc"),
109
+ # === MM v1 (old marketplace 0x4554fE75...) ===
110
+ "Expert 15 MM v1 (10k OLAS)": EthereumAddress("0x88eB38FF79fBa8C19943C0e5Acfa67D5876AdCC1"),
111
+ "Expert 16 MM v1 (10k OLAS)": EthereumAddress("0x6c65430515c70a3f5E62107CC301685B7D46f991"),
112
+ "Expert 17 MM v1 (10k OLAS)": EthereumAddress("0x1430107A785C3A36a0C1FC0ee09B9631e2E72aFf"),
113
+ "Expert 18 MM v1 (10k OLAS)": EthereumAddress("0x041e679d04Fc0D4f75Eb937Dea729Df09a58e454"),
114
+ # === MM v2 (new marketplace 0x735FAAb1...) ===
115
+ "Expert 3 MM v2 (1k OLAS)": EthereumAddress("0x75eeca6207be98cac3fde8a20ecd7b01e50b3472"),
116
+ "Expert 4 MM v2 (2k OLAS)": EthereumAddress("0x9c7f6103e3a72e4d1805b9c683ea5b370ec1a99f"),
117
+ "Expert 5 MM v2 (10k OLAS)": EthereumAddress("0xcdC603e0Ee55Aae92519f9770f214b2Be4967f7d"),
118
+ "Expert 6 MM v2 (10k OLAS)": EthereumAddress("0x22d6cd3d587d8391c3aae83a783f26c67ab54a85"),
119
+ "Expert 7 MM v2 (10k OLAS)": EthereumAddress("0xaaecdf4d0cbd6ca0622892ac6044472f3912a5f3"),
120
+ "Expert 8 MM v2 (10k OLAS)": EthereumAddress("0x168aed532a0cd8868c22fc77937af78b363652b1"),
121
+ "Expert 9 MM v2 (10k OLAS)": EthereumAddress("0xdda9cd214f12e7c2d58e871404a0a3b1177065c8"),
122
+ "Expert 10 MM v2 (10k OLAS)": EthereumAddress("0x53a38655b4e659ef4c7f88a26fbf5c67932c7156"),
121
123
  },
122
124
  "ethereum": {},
123
125
  "base": {},