@opendatalabs/vana-sdk 2.1.0 → 2.2.0
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.
- package/dist/config/contracts.config.cjs +352 -0
- package/dist/config/contracts.config.cjs.map +1 -0
- package/dist/config/contracts.config.d.ts +90 -0
- package/dist/config/contracts.config.js +327 -0
- package/dist/config/contracts.config.js.map +1 -0
- package/dist/contracts/contractController.cjs +1 -1
- package/dist/contracts/contractController.cjs.map +1 -1
- package/dist/contracts/contractController.js +1 -1
- package/dist/contracts/contractController.js.map +1 -1
- package/dist/controllers/data.cjs +1 -1
- package/dist/controllers/data.cjs.map +1 -1
- package/dist/controllers/data.js +1 -1
- package/dist/controllers/data.js.map +1 -1
- package/dist/controllers/permissions.cjs +1 -1
- package/dist/controllers/permissions.cjs.map +1 -1
- package/dist/controllers/permissions.js +1 -1
- package/dist/controllers/permissions.js.map +1 -1
- package/dist/controllers/schemas.cjs +1 -1
- package/dist/controllers/schemas.cjs.map +1 -1
- package/dist/controllers/schemas.js +1 -1
- package/dist/controllers/schemas.js.map +1 -1
- package/dist/crypto/ecies/__tests__/interface.test.d.ts +1 -0
- package/dist/crypto/ecies/__tests__/utils.test.d.ts +1 -0
- package/dist/generated/abi/ComputeEngineImplementation.cjs.map +1 -1
- package/dist/generated/abi/ComputeEngineImplementation.js.map +1 -1
- package/dist/generated/abi/ComputeEngineTreasuryImplementation.cjs +536 -0
- package/dist/generated/abi/ComputeEngineTreasuryImplementation.cjs.map +1 -0
- package/dist/generated/abi/ComputeEngineTreasuryImplementation.d.ts +393 -0
- package/dist/generated/abi/ComputeEngineTreasuryImplementation.js +512 -0
- package/dist/generated/abi/ComputeEngineTreasuryImplementation.js.map +1 -0
- package/dist/generated/abi/ComputeInstructionRegistryImplementation.cjs.map +1 -1
- package/dist/generated/abi/ComputeInstructionRegistryImplementation.js.map +1 -1
- package/dist/generated/abi/DATFactoryImplementation.cjs.map +1 -1
- package/dist/generated/abi/DATFactoryImplementation.js.map +1 -1
- package/dist/generated/abi/DATImplementation.cjs.map +1 -1
- package/dist/generated/abi/DATImplementation.js.map +1 -1
- package/dist/generated/abi/DATPausableImplementation.cjs.map +1 -1
- package/dist/generated/abi/DATPausableImplementation.js.map +1 -1
- package/dist/generated/abi/DATVotesImplementation.cjs.map +1 -1
- package/dist/generated/abi/DATVotesImplementation.js.map +1 -1
- package/dist/generated/abi/DLPPerformanceImplementation.cjs.map +1 -1
- package/dist/generated/abi/DLPPerformanceImplementation.js.map +1 -1
- package/dist/generated/abi/DLPRegistryImplementation.cjs.map +1 -1
- package/dist/generated/abi/DLPRegistryImplementation.js.map +1 -1
- package/dist/generated/abi/DLPRegistryTreasuryImplementation.cjs.map +1 -1
- package/dist/generated/abi/DLPRegistryTreasuryImplementation.js.map +1 -1
- package/dist/generated/abi/DLPRewardDeployerImplementation.cjs.map +1 -1
- package/dist/generated/abi/DLPRewardDeployerImplementation.js.map +1 -1
- package/dist/generated/abi/DLPRewardSwapImplementation.cjs.map +1 -1
- package/dist/generated/abi/DLPRewardSwapImplementation.js.map +1 -1
- package/dist/generated/abi/DataPortabilityGranteesImplementation.cjs.map +1 -1
- package/dist/generated/abi/DataPortabilityGranteesImplementation.js.map +1 -1
- package/dist/generated/abi/DataPortabilityPermissionsImplementation.cjs.map +1 -1
- package/dist/generated/abi/DataPortabilityPermissionsImplementation.js.map +1 -1
- package/dist/generated/abi/DataPortabilityServersImplementation.cjs.map +1 -1
- package/dist/generated/abi/DataPortabilityServersImplementation.js.map +1 -1
- package/dist/generated/abi/DataRefinerRegistryImplementation.cjs.map +1 -1
- package/dist/generated/abi/DataRefinerRegistryImplementation.js.map +1 -1
- package/dist/generated/abi/DataRegistryImplementation.cjs.map +1 -1
- package/dist/generated/abi/DataRegistryImplementation.js.map +1 -1
- package/dist/generated/abi/QueryEngineImplementation.cjs.map +1 -1
- package/dist/generated/abi/QueryEngineImplementation.js.map +1 -1
- package/dist/generated/abi/SwapHelperImplementation.cjs.map +1 -1
- package/dist/generated/abi/SwapHelperImplementation.js.map +1 -1
- package/dist/generated/abi/TeePoolDedicatedGpuImplementation.cjs.map +1 -1
- package/dist/generated/abi/TeePoolDedicatedGpuImplementation.js.map +1 -1
- package/dist/generated/abi/TeePoolDedicatedStandardImplementation.cjs.map +1 -1
- package/dist/generated/abi/TeePoolDedicatedStandardImplementation.js.map +1 -1
- package/dist/generated/abi/TeePoolEphemeralStandardImplementation.cjs.map +1 -1
- package/dist/generated/abi/TeePoolEphemeralStandardImplementation.js.map +1 -1
- package/dist/generated/abi/TeePoolPersistentGpuImplementation.cjs.map +1 -1
- package/dist/generated/abi/TeePoolPersistentGpuImplementation.js.map +1 -1
- package/dist/generated/abi/TeePoolPersistentStandardImplementation.cjs.map +1 -1
- package/dist/generated/abi/TeePoolPersistentStandardImplementation.js.map +1 -1
- package/dist/generated/abi/TeePoolPhalaImplementation.cjs.map +1 -1
- package/dist/generated/abi/TeePoolPhalaImplementation.js.map +1 -1
- package/dist/generated/abi/UniswapV3QuoterV2Implementation.cjs +297 -0
- package/dist/generated/abi/UniswapV3QuoterV2Implementation.cjs.map +1 -0
- package/dist/generated/abi/UniswapV3QuoterV2Implementation.d.ts +206 -0
- package/dist/generated/abi/UniswapV3QuoterV2Implementation.js +273 -0
- package/dist/generated/abi/UniswapV3QuoterV2Implementation.js.map +1 -0
- package/dist/generated/abi/VanaEpochImplementation.cjs.map +1 -1
- package/dist/generated/abi/VanaEpochImplementation.js.map +1 -1
- package/dist/generated/abi/VanaPoolEntityImplementation.cjs.map +1 -1
- package/dist/generated/abi/VanaPoolEntityImplementation.js.map +1 -1
- package/dist/generated/abi/VanaPoolStakingImplementation.cjs.map +1 -1
- package/dist/generated/abi/VanaPoolStakingImplementation.js.map +1 -1
- package/dist/generated/abi/VanaPoolTreasuryImplementation.cjs.map +1 -1
- package/dist/generated/abi/VanaPoolTreasuryImplementation.js.map +1 -1
- package/dist/generated/abi/VanaTreasuryImplementation.cjs +536 -0
- package/dist/generated/abi/VanaTreasuryImplementation.cjs.map +1 -0
- package/dist/generated/abi/VanaTreasuryImplementation.d.ts +393 -0
- package/dist/generated/abi/VanaTreasuryImplementation.js +512 -0
- package/dist/generated/abi/VanaTreasuryImplementation.js.map +1 -0
- package/dist/generated/abi/WVANAImplementation.cjs +339 -0
- package/dist/generated/abi/WVANAImplementation.cjs.map +1 -0
- package/dist/generated/abi/WVANAImplementation.d.ts +244 -0
- package/dist/generated/abi/WVANAImplementation.js +315 -0
- package/dist/generated/abi/WVANAImplementation.js.map +1 -0
- package/dist/generated/abi/index.cjs +2 -0
- package/dist/generated/abi/index.cjs.map +1 -1
- package/dist/generated/abi/index.d.ts +392 -0
- package/dist/generated/abi/index.js +2 -0
- package/dist/generated/abi/index.js.map +1 -1
- package/dist/{config → generated}/addresses.cjs +126 -69
- package/dist/generated/addresses.cjs.map +1 -0
- package/dist/{config → generated}/addresses.d.ts +127 -160
- package/dist/{config → generated}/addresses.js +126 -69
- package/dist/generated/addresses.js.map +1 -0
- package/dist/generated/event-types.cjs.map +1 -1
- package/dist/generated/event-types.d.ts +338 -389
- package/dist/generated/eventRegistry.cjs +1666 -571
- package/dist/generated/eventRegistry.cjs.map +1 -1
- package/dist/generated/eventRegistry.d.ts +2 -2
- package/dist/generated/eventRegistry.js +1666 -571
- package/dist/generated/eventRegistry.js.map +1 -1
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.js +2 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.node.cjs +3 -1
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.d.ts +1 -1
- package/dist/index.node.js +2 -1
- package/dist/index.node.js.map +1 -1
- package/dist/utils/blockchain/registry.cjs +1 -1
- package/dist/utils/blockchain/registry.cjs.map +1 -1
- package/dist/utils/blockchain/registry.js +1 -1
- package/dist/utils/blockchain/registry.js.map +1 -1
- package/dist/utils/multicall.cjs +1 -1
- package/dist/utils/multicall.cjs.map +1 -1
- package/dist/utils/multicall.js +1 -1
- package/dist/utils/multicall.js.map +1 -1
- package/package.json +3 -2
- package/dist/config/addresses.cjs.map +0 -1
- package/dist/config/addresses.js.map +0 -1
|
@@ -1,34 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Complete registry of Vana protocol contract addresses.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* across all supported Vana networks. Each contract entry contains an `addresses` object
|
|
7
|
-
* with chain ID keys mapped to the deployed contract address on that network.
|
|
4
|
+
* This file is AUTO-GENERATED by the discover-addresses script.
|
|
5
|
+
* DO NOT EDIT THIS FILE MANUALLY.
|
|
8
6
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* - Chain IDs: 14800 (Vana Mainnet), 1480 (Moksha Testnet)
|
|
7
|
+
* To add contracts:
|
|
8
|
+
* 1. Edit src/config/contracts.config.ts
|
|
9
|
+
* 2. Run `npm run discover-addresses`
|
|
13
10
|
*
|
|
14
|
-
* **Usage:**
|
|
15
|
-
* Access contract addresses via `getContractAddress(chainId, contractName)` rather than
|
|
16
|
-
* directly accessing this object to ensure proper error handling and validation.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* // Get DataRegistry address for mainnet
|
|
21
|
-
* const address = getContractAddress(14800, "DataRegistry");
|
|
22
|
-
*
|
|
23
|
-
* // Available contracts include:
|
|
24
|
-
* // - DataRegistry: User file registration and metadata
|
|
25
|
-
* // - DataPortabilityPermissions: Gasless permission grants
|
|
26
|
-
* // - DataPortabilityServers: Trusted server registry
|
|
27
|
-
* // - DataPortabilityGrantees: Application registry
|
|
28
|
-
* // Plus many more protocol contracts
|
|
29
|
-
* ```
|
|
30
11
|
* @category Configuration
|
|
31
12
|
*/
|
|
13
|
+
import type { VanaContract } from "./abi";
|
|
32
14
|
export declare const CONTRACTS: {
|
|
33
15
|
readonly DataPortabilityPermissions: {
|
|
34
16
|
readonly addresses: {
|
|
@@ -54,34 +36,22 @@ export declare const CONTRACTS: {
|
|
|
54
36
|
readonly 1480: "0x8C8788f98385F6ba1adD4234e551ABba0f82Cb7C";
|
|
55
37
|
};
|
|
56
38
|
};
|
|
57
|
-
readonly TeePoolPhala: {
|
|
58
|
-
readonly addresses: {
|
|
59
|
-
readonly 14800: "0xE8EC6BD73b23Ad40E6B9a6f4bD343FAc411bD99A";
|
|
60
|
-
readonly 1480: "0xE8EC6BD73b23Ad40E6B9a6f4bD343FAc411bD99A";
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
39
|
readonly ComputeEngine: {
|
|
64
40
|
readonly addresses: {
|
|
65
41
|
readonly 14800: "0xb2BFe33FA420c45F1Cf1287542ad81ae935447bd";
|
|
66
42
|
readonly 1480: "0xb2BFe33FA420c45F1Cf1287542ad81ae935447bd";
|
|
67
43
|
};
|
|
68
44
|
};
|
|
69
|
-
readonly DataRefinerRegistry: {
|
|
70
|
-
readonly addresses: {
|
|
71
|
-
readonly 14800: "0x93c3EF89369fDcf08Be159D9DeF0F18AB6Be008c";
|
|
72
|
-
readonly 1480: "0x93c3EF89369fDcf08Be159D9DeF0F18AB6Be008c";
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
45
|
readonly QueryEngine: {
|
|
76
46
|
readonly addresses: {
|
|
77
47
|
readonly 14800: "0xd25Eb66EA2452cf3238A2eC6C1FD1B7F5B320490";
|
|
78
48
|
readonly 1480: "0xd25Eb66EA2452cf3238A2eC6C1FD1B7F5B320490";
|
|
79
49
|
};
|
|
80
50
|
};
|
|
81
|
-
readonly
|
|
51
|
+
readonly DataRefinerRegistry: {
|
|
82
52
|
readonly addresses: {
|
|
83
|
-
readonly 14800: "
|
|
84
|
-
readonly 1480: "
|
|
53
|
+
readonly 14800: "0x93c3EF89369fDcf08Be159D9DeF0F18AB6Be008c";
|
|
54
|
+
readonly 1480: "0x93c3EF89369fDcf08Be159D9DeF0F18AB6Be008c";
|
|
85
55
|
};
|
|
86
56
|
};
|
|
87
57
|
readonly ComputeInstructionRegistry: {
|
|
@@ -90,6 +60,12 @@ export declare const CONTRACTS: {
|
|
|
90
60
|
readonly 1480: "0x5786B12b4c6Ba2bFAF0e77Ed30Bf6d32805563A5";
|
|
91
61
|
};
|
|
92
62
|
};
|
|
63
|
+
readonly TeePoolPhala: {
|
|
64
|
+
readonly addresses: {
|
|
65
|
+
readonly 14800: "0xE8EC6BD73b23Ad40E6B9a6f4bD343FAc411bD99A";
|
|
66
|
+
readonly 1480: "0xE8EC6BD73b23Ad40E6B9a6f4bD343FAc411bD99A";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
93
69
|
readonly TeePoolEphemeralStandard: {
|
|
94
70
|
readonly addresses: {
|
|
95
71
|
readonly 14800: "0xe124bae846D5ec157f75Bd9e68ca87C4d2AB835A";
|
|
@@ -132,58 +108,22 @@ export declare const CONTRACTS: {
|
|
|
132
108
|
readonly 1480: "0x4D59880a924526d1dD33260552Ff4328b1E18a43";
|
|
133
109
|
};
|
|
134
110
|
};
|
|
135
|
-
readonly DLPRegistryTreasury: {
|
|
136
|
-
readonly addresses: {
|
|
137
|
-
readonly 14800: "0xb12ce1d27bEeFe39b6F0110b1AB77C21Aa0c9F9a";
|
|
138
|
-
readonly 1480: "0xb12ce1d27bEeFe39b6F0110b1AB77C21Aa0c9F9a";
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
readonly DLPPerformance: {
|
|
142
|
-
readonly addresses: {
|
|
143
|
-
readonly 14800: "0x847715C7DB37cF286611182Be0bD333cbfa29cc1";
|
|
144
|
-
readonly 1480: "0x847715C7DB37cF286611182Be0bD333cbfa29cc1";
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
111
|
readonly DLPRewardDeployer: {
|
|
148
112
|
readonly addresses: {
|
|
149
113
|
readonly 14800: "0xEFD0F9Ba9De70586b7c4189971cF754adC923B04";
|
|
150
114
|
readonly 1480: "0xEFD0F9Ba9De70586b7c4189971cF754adC923B04";
|
|
151
115
|
};
|
|
152
116
|
};
|
|
153
|
-
readonly DLPRewardDeployerTreasury: {
|
|
154
|
-
readonly addresses: {
|
|
155
|
-
readonly 14800: "0xb547ca8Fe4990fe330FeAeb1C2EBb42F925Af5b8";
|
|
156
|
-
readonly 1480: "0xb547ca8Fe4990fe330FeAeb1C2EBb42F925Af5b8";
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
readonly DLPRewardSwap: {
|
|
160
|
-
readonly addresses: {
|
|
161
|
-
readonly 14800: "0x7c6862C46830F0fc3bF3FF509EA1bD0EE7267fB0";
|
|
162
|
-
readonly 1480: "0x7c6862C46830F0fc3bF3FF509EA1bD0EE7267fB0";
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
readonly SwapHelper: {
|
|
166
|
-
readonly addresses: {
|
|
167
|
-
readonly 14800: "0x55D5e6F73326315bF2E091e97F04f0770e5C54e2";
|
|
168
|
-
readonly 1480: "0x55D5e6F73326315bF2E091e97F04f0770e5C54e2";
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
117
|
readonly VanaPoolStaking: {
|
|
172
118
|
readonly addresses: {
|
|
173
119
|
readonly 14800: "0x641C18E2F286c86f96CE95C8ec1EB9fC0415Ca0e";
|
|
174
120
|
readonly 1480: "0x641C18E2F286c86f96CE95C8ec1EB9fC0415Ca0e";
|
|
175
121
|
};
|
|
176
122
|
};
|
|
177
|
-
readonly
|
|
178
|
-
readonly addresses: {
|
|
179
|
-
readonly 14800: "0x44f20490A82e1f1F1cC25Dd3BA8647034eDdce30";
|
|
180
|
-
readonly 1480: "0x44f20490A82e1f1F1cC25Dd3BA8647034eDdce30";
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
readonly VanaPoolTreasury: {
|
|
123
|
+
readonly DATFactory: {
|
|
184
124
|
readonly addresses: {
|
|
185
|
-
readonly 14800: "
|
|
186
|
-
readonly 1480: "
|
|
125
|
+
readonly 14800: "0x40f8bccF35a75ecef63BC3B1B3E06ffEB9220644";
|
|
126
|
+
readonly 1480: "0x40f8bccF35a75ecef63BC3B1B3E06ffEB9220644";
|
|
187
127
|
};
|
|
188
128
|
};
|
|
189
129
|
readonly DAT: {
|
|
@@ -192,12 +132,6 @@ export declare const CONTRACTS: {
|
|
|
192
132
|
readonly 1480: "0xA706b93ccED89f13340673889e29F0a5cd84212d";
|
|
193
133
|
};
|
|
194
134
|
};
|
|
195
|
-
readonly DATFactory: {
|
|
196
|
-
readonly addresses: {
|
|
197
|
-
readonly 14800: "0x40f8bccF35a75ecef63BC3B1B3E06ffEB9220644";
|
|
198
|
-
readonly 1480: "0x40f8bccF35a75ecef63BC3B1B3E06ffEB9220644";
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
135
|
readonly DATPausable: {
|
|
202
136
|
readonly addresses: {
|
|
203
137
|
readonly 14800: "0xe69FE86f0B95cC2f8416Fe22815c85DC8887e76e";
|
|
@@ -210,6 +144,24 @@ export declare const CONTRACTS: {
|
|
|
210
144
|
readonly 1480: "0xaE04c8A77E9B27869eb563720524A9aE0baf1831";
|
|
211
145
|
};
|
|
212
146
|
};
|
|
147
|
+
readonly WVANA: {
|
|
148
|
+
readonly addresses: {
|
|
149
|
+
readonly 14800: "0xbccc4b4c6530F82FE309c5E845E50b5E9C89f2AD";
|
|
150
|
+
readonly 1480: "0x00EDdD9621Fb08436d0331c149D1690909a5906d";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
readonly UniswapV3NonfungiblePositionManager: {
|
|
154
|
+
readonly addresses: {
|
|
155
|
+
readonly 14800: "0x48Bd633f4B9128a38Ebb4a48b6975EB3Eaf1931b";
|
|
156
|
+
readonly 1480: "0x45a2992e1bFdCF9b9AcE0a84A238f2E56F481816";
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
readonly UniswapV3QuoterV2: {
|
|
160
|
+
readonly addresses: {
|
|
161
|
+
readonly 14800: "0x3152246f3CD4dD465292Dd4Ffd792E2Cf602e332";
|
|
162
|
+
readonly 1480: "0x1b13728ea3C90863990aC0e05987CfeC1888908c";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
213
165
|
readonly Multicall3: {
|
|
214
166
|
readonly addresses: {
|
|
215
167
|
readonly 14800: "0xD8d2dFca27E8797fd779F8547166A2d3B29d360E";
|
|
@@ -222,35 +174,97 @@ export declare const CONTRACTS: {
|
|
|
222
174
|
readonly 1480: "0x8807e8BCDFbaA8c2761760f3FBA37F6f7F2C5b2d";
|
|
223
175
|
};
|
|
224
176
|
};
|
|
177
|
+
readonly ComputeEngineTreasury: {
|
|
178
|
+
readonly addresses: {
|
|
179
|
+
readonly 14800: "0xceB33C501B624D984bD1Ed3298f6D1d8F7CE03d1";
|
|
180
|
+
readonly 1480: "0xceB33C501B624D984bD1Ed3298f6D1d8F7CE03d1";
|
|
181
|
+
};
|
|
182
|
+
readonly _meta: {
|
|
183
|
+
readonly discoveredFrom: "ComputeEngine";
|
|
184
|
+
readonly lastUpdated: "2025-10-31";
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
readonly VanaTreasury: {
|
|
188
|
+
readonly addresses: {
|
|
189
|
+
readonly 14800: "0x8B32Ef32f22e72cc25D53f6E858f57cAe7E198f9";
|
|
190
|
+
readonly 1480: "0x8B32Ef32f22e72cc25D53f6E858f57cAe7E198f9";
|
|
191
|
+
};
|
|
192
|
+
readonly _meta: {
|
|
193
|
+
readonly discoveredFrom: "QueryEngine";
|
|
194
|
+
readonly lastUpdated: "2025-10-31";
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
readonly DLPPerformance: {
|
|
198
|
+
readonly addresses: {
|
|
199
|
+
readonly 14800: "0x847715C7DB37cF286611182Be0bD333cbfa29cc1";
|
|
200
|
+
readonly 1480: "0x847715C7DB37cF286611182Be0bD333cbfa29cc1";
|
|
201
|
+
};
|
|
202
|
+
readonly _meta: {
|
|
203
|
+
readonly discoveredFrom: "VanaEpoch";
|
|
204
|
+
readonly lastUpdated: "2025-10-31";
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
readonly DLPRegistryTreasury: {
|
|
208
|
+
readonly addresses: {
|
|
209
|
+
readonly 14800: "0xb12ce1d27bEeFe39b6F0110b1AB77C21Aa0c9F9a";
|
|
210
|
+
readonly 1480: "0xb12ce1d27bEeFe39b6F0110b1AB77C21Aa0c9F9a";
|
|
211
|
+
};
|
|
212
|
+
readonly _meta: {
|
|
213
|
+
readonly discoveredFrom: "DLPRegistry";
|
|
214
|
+
readonly lastUpdated: "2025-10-31";
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
readonly DLPRewardDeployerTreasury: {
|
|
218
|
+
readonly addresses: {
|
|
219
|
+
readonly 14800: "0xb547ca8Fe4990fe330FeAeb1C2EBb42F925Af5b8";
|
|
220
|
+
readonly 1480: "0xb547ca8Fe4990fe330FeAeb1C2EBb42F925Af5b8";
|
|
221
|
+
};
|
|
222
|
+
readonly _meta: {
|
|
223
|
+
readonly discoveredFrom: "DLPRewardDeployer";
|
|
224
|
+
readonly lastUpdated: "2025-10-31";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
readonly DLPRewardSwap: {
|
|
228
|
+
readonly addresses: {
|
|
229
|
+
readonly 14800: "0x7c6862C46830F0fc3bF3FF509EA1bD0EE7267fB0";
|
|
230
|
+
readonly 1480: "0x7c6862C46830F0fc3bF3FF509EA1bD0EE7267fB0";
|
|
231
|
+
};
|
|
232
|
+
readonly _meta: {
|
|
233
|
+
readonly discoveredFrom: "DLPRewardDeployer";
|
|
234
|
+
readonly lastUpdated: "2025-10-31";
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
readonly VanaPoolTreasury: {
|
|
238
|
+
readonly addresses: {
|
|
239
|
+
readonly 14800: "0x143BE72CF2541604A7691933CAccd6D9cC17c003";
|
|
240
|
+
readonly 1480: "0x143BE72CF2541604A7691933CAccd6D9cC17c003";
|
|
241
|
+
};
|
|
242
|
+
readonly _meta: {
|
|
243
|
+
readonly discoveredFrom: "VanaPoolStaking";
|
|
244
|
+
readonly lastUpdated: "2025-10-31";
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
readonly VanaPoolEntity: {
|
|
248
|
+
readonly addresses: {
|
|
249
|
+
readonly 14800: "0x44f20490A82e1f1F1cC25Dd3BA8647034eDdce30";
|
|
250
|
+
readonly 1480: "0x44f20490A82e1f1F1cC25Dd3BA8647034eDdce30";
|
|
251
|
+
};
|
|
252
|
+
readonly _meta: {
|
|
253
|
+
readonly discoveredFrom: "VanaPoolStaking";
|
|
254
|
+
readonly lastUpdated: "2025-10-31";
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
readonly SwapHelper: {
|
|
258
|
+
readonly addresses: {
|
|
259
|
+
readonly 14800: "0x55D5e6F73326315bF2E091e97F04f0770e5C54e2";
|
|
260
|
+
readonly 1480: "0x55D5e6F73326315bF2E091e97F04f0770e5C54e2";
|
|
261
|
+
};
|
|
262
|
+
readonly _meta: {
|
|
263
|
+
readonly discoveredFrom: "DLPRewardSwap";
|
|
264
|
+
readonly lastUpdated: "2025-10-31";
|
|
265
|
+
};
|
|
266
|
+
};
|
|
225
267
|
};
|
|
226
|
-
/**
|
|
227
|
-
* Registry of deprecated Vana protocol contracts maintained for backwards compatibility.
|
|
228
|
-
*
|
|
229
|
-
* @remarks
|
|
230
|
-
* This registry contains contract addresses for older versions of the Vana protocol
|
|
231
|
-
* that have been superseded by newer implementations. These contracts are maintained
|
|
232
|
-
* for backwards compatibility with existing applications but should not be used in
|
|
233
|
-
* new development.
|
|
234
|
-
*
|
|
235
|
-
* **Migration Path:**
|
|
236
|
-
* - `TeePool` → Use specific pool types (TeePoolPhala, TeePoolDedicatedGpu, etc.)
|
|
237
|
-
* - Other deprecated contracts → Check the main CONTRACTS registry for current versions
|
|
238
|
-
*
|
|
239
|
-
* **Usage:**
|
|
240
|
-
* Access legacy contract addresses via `getContractAddress(chainId, contractName)` which
|
|
241
|
-
* checks both current and legacy registries automatically.
|
|
242
|
-
*
|
|
243
|
-
* @deprecated Use the main CONTRACTS registry for new development
|
|
244
|
-
* @example
|
|
245
|
-
* ```typescript
|
|
246
|
-
* // Legacy usage (still supported for backwards compatibility)
|
|
247
|
-
* const oldPoolAddress = getContractAddress(14800, "TeePool");
|
|
248
|
-
*
|
|
249
|
-
* // Recommended for new development
|
|
250
|
-
* const newPoolAddress = getContractAddress(14800, "TeePoolPhala");
|
|
251
|
-
* ```
|
|
252
|
-
* @category Configuration
|
|
253
|
-
*/
|
|
254
268
|
export declare const LEGACY_CONTRACTS: {
|
|
255
269
|
readonly TeePool: {
|
|
256
270
|
readonly addresses: {
|
|
@@ -310,55 +324,8 @@ export declare const LEGACY_ADDRESSES: {
|
|
|
310
324
|
readonly 14800: any;
|
|
311
325
|
readonly 1480: any;
|
|
312
326
|
};
|
|
313
|
-
import type { VanaContract } from "../generated/abi";
|
|
314
327
|
/**
|
|
315
328
|
* Retrieves the deployed contract address for a specific Vana protocol contract on a given chain.
|
|
316
|
-
*
|
|
317
|
-
* @remarks
|
|
318
|
-
* This function provides type-safe access to contract addresses across all supported Vana networks.
|
|
319
|
-
* It automatically searches both current and legacy contract registries to ensure backwards
|
|
320
|
-
* compatibility while providing clear error messages for unsupported combinations.
|
|
321
|
-
*
|
|
322
|
-
* The function validates that both the chain ID and contract name are supported before
|
|
323
|
-
* attempting address lookup, helping developers identify deployment or configuration issues
|
|
324
|
-
* early in the development process.
|
|
325
|
-
*
|
|
326
|
-
* **Supported Chains:**
|
|
327
|
-
* - 14800: Vana Mainnet
|
|
328
|
-
* - 1480: Moksha Testnet
|
|
329
|
-
*
|
|
330
|
-
* **Contract Categories:**
|
|
331
|
-
* - Data Management: DataRegistry, DataRefinerRegistry
|
|
332
|
-
* - Permissions: DataPortabilityPermissions, DataPortabilityServers, DataPortabilityGrantees
|
|
333
|
-
* - Computing: TeePoolPhala, TeePoolDedicatedGpu, etc.
|
|
334
|
-
* - Token & Governance: DATImplementation, VanaPoolStaking, etc.
|
|
335
|
-
*
|
|
336
|
-
* @param chainId - The chain ID to look up the contract on (14800 for mainnet, 1480 for testnet)
|
|
337
|
-
* @param contract - The contract name to get the address for (use TypeScript autocomplete for available options)
|
|
338
|
-
* @returns The contract address as a checksummed hex string (0x...)
|
|
339
|
-
* @throws {Error} When contract address not found for the specified contract and chain combination.
|
|
340
|
-
* This typically indicates the contract is not deployed on the requested network.
|
|
341
|
-
* @example
|
|
342
|
-
* ```typescript
|
|
343
|
-
* // Get core protocol contract addresses
|
|
344
|
-
* const dataRegistry = getContractAddress(14800, 'DataRegistry');
|
|
345
|
-
* const permissions = getContractAddress(14800, 'DataPortabilityPermissions');
|
|
346
|
-
* const trustedServers = getContractAddress(14800, 'DataPortabilityServers');
|
|
347
|
-
*
|
|
348
|
-
* // Handle unsupported combinations gracefully
|
|
349
|
-
* try {
|
|
350
|
-
* const address = getContractAddress(1480, 'DataRegistry');
|
|
351
|
-
* console.log('DataRegistry testnet address:', address);
|
|
352
|
-
* } catch (error) {
|
|
353
|
-
* console.error('Contract not available on testnet:', error.message);
|
|
354
|
-
* // Fallback to mainnet or show user-friendly error
|
|
355
|
-
* }
|
|
356
|
-
*
|
|
357
|
-
* // TypeScript provides autocomplete for contract names
|
|
358
|
-
* const poolAddress = getContractAddress(14800, 'TeePoolPhala'); // ✅ Valid
|
|
359
|
-
* // const invalid = getContractAddress(14800, 'InvalidContract'); // ❌ TypeScript error
|
|
360
|
-
* ```
|
|
361
|
-
* @category Configuration
|
|
362
329
|
*/
|
|
363
330
|
export declare const getContractAddress: (chainId: keyof typeof CONTRACT_ADDRESSES, contract: VanaContract) => `0x${string}`;
|
|
364
331
|
export declare const getUtilityAddress: (chainId: keyof typeof UTILITY_ADDRESSES, contract: keyof (typeof UTILITY_ADDRESSES)[keyof typeof UTILITY_ADDRESSES]) => `0x${string}`;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
const CONTRACTS = {
|
|
2
|
-
//
|
|
2
|
+
// ========================================
|
|
3
|
+
// ENTRY POINTS (from contracts.config.ts)
|
|
4
|
+
// ========================================
|
|
3
5
|
DataPortabilityPermissions: {
|
|
4
6
|
addresses: {
|
|
5
7
|
14800: "0xD54523048AdD05b4d734aFaE7C68324Ebb7373eF",
|
|
@@ -24,35 +26,22 @@ const CONTRACTS = {
|
|
|
24
26
|
1480: "0x8C8788f98385F6ba1adD4234e551ABba0f82Cb7C"
|
|
25
27
|
}
|
|
26
28
|
},
|
|
27
|
-
TeePoolPhala: {
|
|
28
|
-
addresses: {
|
|
29
|
-
14800: "0xE8EC6BD73b23Ad40E6B9a6f4bD343FAc411bD99A",
|
|
30
|
-
1480: "0xE8EC6BD73b23Ad40E6B9a6f4bD343FAc411bD99A"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
29
|
ComputeEngine: {
|
|
34
30
|
addresses: {
|
|
35
31
|
14800: "0xb2BFe33FA420c45F1Cf1287542ad81ae935447bd",
|
|
36
32
|
1480: "0xb2BFe33FA420c45F1Cf1287542ad81ae935447bd"
|
|
37
33
|
}
|
|
38
34
|
},
|
|
39
|
-
// Data Access Infrastructure
|
|
40
|
-
DataRefinerRegistry: {
|
|
41
|
-
addresses: {
|
|
42
|
-
14800: "0x93c3EF89369fDcf08Be159D9DeF0F18AB6Be008c",
|
|
43
|
-
1480: "0x93c3EF89369fDcf08Be159D9DeF0F18AB6Be008c"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
35
|
QueryEngine: {
|
|
47
36
|
addresses: {
|
|
48
37
|
14800: "0xd25Eb66EA2452cf3238A2eC6C1FD1B7F5B320490",
|
|
49
38
|
1480: "0xd25Eb66EA2452cf3238A2eC6C1FD1B7F5B320490"
|
|
50
39
|
}
|
|
51
40
|
},
|
|
52
|
-
|
|
41
|
+
DataRefinerRegistry: {
|
|
53
42
|
addresses: {
|
|
54
|
-
14800: "
|
|
55
|
-
1480: "
|
|
43
|
+
14800: "0x93c3EF89369fDcf08Be159D9DeF0F18AB6Be008c",
|
|
44
|
+
1480: "0x93c3EF89369fDcf08Be159D9DeF0F18AB6Be008c"
|
|
56
45
|
}
|
|
57
46
|
},
|
|
58
47
|
ComputeInstructionRegistry: {
|
|
@@ -61,7 +50,12 @@ const CONTRACTS = {
|
|
|
61
50
|
1480: "0x5786B12b4c6Ba2bFAF0e77Ed30Bf6d32805563A5"
|
|
62
51
|
}
|
|
63
52
|
},
|
|
64
|
-
|
|
53
|
+
TeePoolPhala: {
|
|
54
|
+
addresses: {
|
|
55
|
+
14800: "0xE8EC6BD73b23Ad40E6B9a6f4bD343FAc411bD99A",
|
|
56
|
+
1480: "0xE8EC6BD73b23Ad40E6B9a6f4bD343FAc411bD99A"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
65
59
|
TeePoolEphemeralStandard: {
|
|
66
60
|
addresses: {
|
|
67
61
|
14800: "0xe124bae846D5ec157f75Bd9e68ca87C4d2AB835A",
|
|
@@ -92,7 +86,6 @@ const CONTRACTS = {
|
|
|
92
86
|
1480: "0xB1686FA9620bBf851714d1cB47b8a4Bf4664644E"
|
|
93
87
|
}
|
|
94
88
|
},
|
|
95
|
-
// DLP Reward System
|
|
96
89
|
VanaEpoch: {
|
|
97
90
|
addresses: {
|
|
98
91
|
14800: "0x2063cFF0609D59bCCc196E20Eb58A8696a6b15A0",
|
|
@@ -105,74 +98,30 @@ const CONTRACTS = {
|
|
|
105
98
|
1480: "0x4D59880a924526d1dD33260552Ff4328b1E18a43"
|
|
106
99
|
}
|
|
107
100
|
},
|
|
108
|
-
DLPRegistryTreasury: {
|
|
109
|
-
addresses: {
|
|
110
|
-
14800: "0xb12ce1d27bEeFe39b6F0110b1AB77C21Aa0c9F9a",
|
|
111
|
-
1480: "0xb12ce1d27bEeFe39b6F0110b1AB77C21Aa0c9F9a"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
DLPPerformance: {
|
|
115
|
-
addresses: {
|
|
116
|
-
14800: "0x847715C7DB37cF286611182Be0bD333cbfa29cc1",
|
|
117
|
-
1480: "0x847715C7DB37cF286611182Be0bD333cbfa29cc1"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
101
|
DLPRewardDeployer: {
|
|
121
102
|
addresses: {
|
|
122
103
|
14800: "0xEFD0F9Ba9De70586b7c4189971cF754adC923B04",
|
|
123
104
|
1480: "0xEFD0F9Ba9De70586b7c4189971cF754adC923B04"
|
|
124
105
|
}
|
|
125
106
|
},
|
|
126
|
-
DLPRewardDeployerTreasury: {
|
|
127
|
-
addresses: {
|
|
128
|
-
14800: "0xb547ca8Fe4990fe330FeAeb1C2EBb42F925Af5b8",
|
|
129
|
-
1480: "0xb547ca8Fe4990fe330FeAeb1C2EBb42F925Af5b8"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
DLPRewardSwap: {
|
|
133
|
-
addresses: {
|
|
134
|
-
14800: "0x7c6862C46830F0fc3bF3FF509EA1bD0EE7267fB0",
|
|
135
|
-
1480: "0x7c6862C46830F0fc3bF3FF509EA1bD0EE7267fB0"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
SwapHelper: {
|
|
139
|
-
addresses: {
|
|
140
|
-
14800: "0x55D5e6F73326315bF2E091e97F04f0770e5C54e2",
|
|
141
|
-
1480: "0x55D5e6F73326315bF2E091e97F04f0770e5C54e2"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
// VanaPool (Staking)
|
|
145
107
|
VanaPoolStaking: {
|
|
146
108
|
addresses: {
|
|
147
109
|
14800: "0x641C18E2F286c86f96CE95C8ec1EB9fC0415Ca0e",
|
|
148
110
|
1480: "0x641C18E2F286c86f96CE95C8ec1EB9fC0415Ca0e"
|
|
149
111
|
}
|
|
150
112
|
},
|
|
151
|
-
|
|
152
|
-
addresses: {
|
|
153
|
-
14800: "0x44f20490A82e1f1F1cC25Dd3BA8647034eDdce30",
|
|
154
|
-
1480: "0x44f20490A82e1f1F1cC25Dd3BA8647034eDdce30"
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
VanaPoolTreasury: {
|
|
113
|
+
DATFactory: {
|
|
158
114
|
addresses: {
|
|
159
|
-
14800: "
|
|
160
|
-
1480: "
|
|
115
|
+
14800: "0x40f8bccF35a75ecef63BC3B1B3E06ffEB9220644",
|
|
116
|
+
1480: "0x40f8bccF35a75ecef63BC3B1B3E06ffEB9220644"
|
|
161
117
|
}
|
|
162
118
|
},
|
|
163
|
-
// DLP Deployment Contracts
|
|
164
119
|
DAT: {
|
|
165
120
|
addresses: {
|
|
166
121
|
14800: "0xA706b93ccED89f13340673889e29F0a5cd84212d",
|
|
167
122
|
1480: "0xA706b93ccED89f13340673889e29F0a5cd84212d"
|
|
168
123
|
}
|
|
169
124
|
},
|
|
170
|
-
DATFactory: {
|
|
171
|
-
addresses: {
|
|
172
|
-
14800: "0x40f8bccF35a75ecef63BC3B1B3E06ffEB9220644",
|
|
173
|
-
1480: "0x40f8bccF35a75ecef63BC3B1B3E06ffEB9220644"
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
125
|
DATPausable: {
|
|
177
126
|
addresses: {
|
|
178
127
|
14800: "0xe69FE86f0B95cC2f8416Fe22815c85DC8887e76e",
|
|
@@ -185,7 +134,24 @@ const CONTRACTS = {
|
|
|
185
134
|
1480: "0xaE04c8A77E9B27869eb563720524A9aE0baf1831"
|
|
186
135
|
}
|
|
187
136
|
},
|
|
188
|
-
|
|
137
|
+
WVANA: {
|
|
138
|
+
addresses: {
|
|
139
|
+
14800: "0xbccc4b4c6530F82FE309c5E845E50b5E9C89f2AD",
|
|
140
|
+
1480: "0x00EDdD9621Fb08436d0331c149D1690909a5906d"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
UniswapV3NonfungiblePositionManager: {
|
|
144
|
+
addresses: {
|
|
145
|
+
14800: "0x48Bd633f4B9128a38Ebb4a48b6975EB3Eaf1931b",
|
|
146
|
+
1480: "0x45a2992e1bFdCF9b9AcE0a84A238f2E56F481816"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
UniswapV3QuoterV2: {
|
|
150
|
+
addresses: {
|
|
151
|
+
14800: "0x3152246f3CD4dD465292Dd4Ffd792E2Cf602e332",
|
|
152
|
+
1480: "0x1b13728ea3C90863990aC0e05987CfeC1888908c"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
189
155
|
Multicall3: {
|
|
190
156
|
addresses: {
|
|
191
157
|
14800: "0xD8d2dFca27E8797fd779F8547166A2d3B29d360E",
|
|
@@ -197,17 +163,108 @@ const CONTRACTS = {
|
|
|
197
163
|
14800: "0x8807e8BCDFbaA8c2761760f3FBA37F6f7F2C5b2d",
|
|
198
164
|
1480: "0x8807e8BCDFbaA8c2761760f3FBA37F6f7F2C5b2d"
|
|
199
165
|
}
|
|
166
|
+
},
|
|
167
|
+
// ========================================
|
|
168
|
+
// AUTO-DISCOVERED (via on-chain queries)
|
|
169
|
+
// ========================================
|
|
170
|
+
ComputeEngineTreasury: {
|
|
171
|
+
addresses: {
|
|
172
|
+
14800: "0xceB33C501B624D984bD1Ed3298f6D1d8F7CE03d1",
|
|
173
|
+
1480: "0xceB33C501B624D984bD1Ed3298f6D1d8F7CE03d1"
|
|
174
|
+
},
|
|
175
|
+
_meta: {
|
|
176
|
+
discoveredFrom: "ComputeEngine",
|
|
177
|
+
lastUpdated: "2025-10-31"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
VanaTreasury: {
|
|
181
|
+
addresses: {
|
|
182
|
+
14800: "0x8B32Ef32f22e72cc25D53f6E858f57cAe7E198f9",
|
|
183
|
+
1480: "0x8B32Ef32f22e72cc25D53f6E858f57cAe7E198f9"
|
|
184
|
+
},
|
|
185
|
+
_meta: {
|
|
186
|
+
discoveredFrom: "QueryEngine",
|
|
187
|
+
lastUpdated: "2025-10-31"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
DLPPerformance: {
|
|
191
|
+
addresses: {
|
|
192
|
+
14800: "0x847715C7DB37cF286611182Be0bD333cbfa29cc1",
|
|
193
|
+
1480: "0x847715C7DB37cF286611182Be0bD333cbfa29cc1"
|
|
194
|
+
},
|
|
195
|
+
_meta: {
|
|
196
|
+
discoveredFrom: "VanaEpoch",
|
|
197
|
+
lastUpdated: "2025-10-31"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
DLPRegistryTreasury: {
|
|
201
|
+
addresses: {
|
|
202
|
+
14800: "0xb12ce1d27bEeFe39b6F0110b1AB77C21Aa0c9F9a",
|
|
203
|
+
1480: "0xb12ce1d27bEeFe39b6F0110b1AB77C21Aa0c9F9a"
|
|
204
|
+
},
|
|
205
|
+
_meta: {
|
|
206
|
+
discoveredFrom: "DLPRegistry",
|
|
207
|
+
lastUpdated: "2025-10-31"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
DLPRewardDeployerTreasury: {
|
|
211
|
+
addresses: {
|
|
212
|
+
14800: "0xb547ca8Fe4990fe330FeAeb1C2EBb42F925Af5b8",
|
|
213
|
+
1480: "0xb547ca8Fe4990fe330FeAeb1C2EBb42F925Af5b8"
|
|
214
|
+
},
|
|
215
|
+
_meta: {
|
|
216
|
+
discoveredFrom: "DLPRewardDeployer",
|
|
217
|
+
lastUpdated: "2025-10-31"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
DLPRewardSwap: {
|
|
221
|
+
addresses: {
|
|
222
|
+
14800: "0x7c6862C46830F0fc3bF3FF509EA1bD0EE7267fB0",
|
|
223
|
+
1480: "0x7c6862C46830F0fc3bF3FF509EA1bD0EE7267fB0"
|
|
224
|
+
},
|
|
225
|
+
_meta: {
|
|
226
|
+
discoveredFrom: "DLPRewardDeployer",
|
|
227
|
+
lastUpdated: "2025-10-31"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
VanaPoolTreasury: {
|
|
231
|
+
addresses: {
|
|
232
|
+
14800: "0x143BE72CF2541604A7691933CAccd6D9cC17c003",
|
|
233
|
+
1480: "0x143BE72CF2541604A7691933CAccd6D9cC17c003"
|
|
234
|
+
},
|
|
235
|
+
_meta: {
|
|
236
|
+
discoveredFrom: "VanaPoolStaking",
|
|
237
|
+
lastUpdated: "2025-10-31"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
VanaPoolEntity: {
|
|
241
|
+
addresses: {
|
|
242
|
+
14800: "0x44f20490A82e1f1F1cC25Dd3BA8647034eDdce30",
|
|
243
|
+
1480: "0x44f20490A82e1f1F1cC25Dd3BA8647034eDdce30"
|
|
244
|
+
},
|
|
245
|
+
_meta: {
|
|
246
|
+
discoveredFrom: "VanaPoolStaking",
|
|
247
|
+
lastUpdated: "2025-10-31"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
SwapHelper: {
|
|
251
|
+
addresses: {
|
|
252
|
+
14800: "0x55D5e6F73326315bF2E091e97F04f0770e5C54e2",
|
|
253
|
+
1480: "0x55D5e6F73326315bF2E091e97F04f0770e5C54e2"
|
|
254
|
+
},
|
|
255
|
+
_meta: {
|
|
256
|
+
discoveredFrom: "DLPRewardSwap",
|
|
257
|
+
lastUpdated: "2025-10-31"
|
|
258
|
+
}
|
|
200
259
|
}
|
|
201
260
|
};
|
|
202
261
|
const LEGACY_CONTRACTS = {
|
|
203
|
-
// DEPRECATED: Original Intel SGX TeePool (PRO-347)
|
|
204
262
|
TeePool: {
|
|
205
263
|
addresses: {
|
|
206
264
|
14800: "0x3c92fD91639b41f13338CE62f19131e7d19eaa0D",
|
|
207
265
|
1480: "0x3c92fD91639b41f13338CE62f19131e7d19eaa0D"
|
|
208
266
|
}
|
|
209
267
|
},
|
|
210
|
-
// DEPRECATED: DLPRoot system (replaced by VanaPool + DLPRewards)
|
|
211
268
|
DLPRootEpoch: {
|
|
212
269
|
addresses: {
|
|
213
270
|
14800: "0xc3d176cF6BccFCB9225b53B87a95147218e1537F",
|