@tokemak/constants 0.0.3 → 0.1.1

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/index.mjs ADDED
@@ -0,0 +1,384 @@
1
+ // src/autopools.ts
2
+ var NEW_AUTOPOOL_THRESHOLD_DAYS = 45;
3
+ var DAYS_PER_YEAR = 365;
4
+ var DEAD_ADDRESS = "0x000000000000000000000000000000000000dead";
5
+ var ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
6
+
7
+ // src/baseGasCosts.ts
8
+ var BASE_GAS_COSTS_FALLBACK = {
9
+ lock: 123638n,
10
+ approve: 46540n,
11
+ approveAndLock: 123638n + 46540n,
12
+ unlock: 104187n,
13
+ requestUnlock: 119186n,
14
+ migrate: 242753n,
15
+ stake: 115339n,
16
+ approveAndStake: 115339n + 46540n,
17
+ unstake: 147611n,
18
+ requestUnstake: 102938n,
19
+ // with staking
20
+ depositStake: 250464n,
21
+ wethApproveDepositStake: 46040n + 256120n,
22
+ wethDepositStake: 256120n,
23
+ swapDepositStake: 548180n,
24
+ swapApproveDepositStake: 40221n + 548180n,
25
+ unstakeAutoEth: 127426n,
26
+ stakeAutoEth: 149541n,
27
+ // no staking
28
+ deposit: 166233n,
29
+ wethDeposit: 171870n,
30
+ wethApproveDeposit: 46040n + 171870n,
31
+ swapDeposit: 440117n,
32
+ swapApproveDeposit: 40221n + 440117n,
33
+ withdraw: 190628n,
34
+ withdrawWeth: 168630n,
35
+ swapWithdraw: 445664n
36
+ };
37
+
38
+ // src/curve.ts
39
+ var CURVE_API_URL = "https://api.curve.finance/api/getPools/ethereum/factory-crypto";
40
+ var TOKE_CURVE_POOL_ID = "factory-crypto-55";
41
+
42
+ // src/links.ts
43
+ var GITBOOK_LINK_V1 = "https://docs.tokemak.xyz/";
44
+ var GITBOOK_LINK_V2 = "https://docs.tokemak.xyz/";
45
+ var GITHUB_LINK = "https://github.com/Tokemak";
46
+ var TWITTER_LINK = "https://x.com/autopools";
47
+ var MEDIUM_LINK = "https://medium.com/tokemak";
48
+ var DISCORD_LINK = "http://discord.gg/tokemak";
49
+ var TOKEMAK_RADIO_LINK = "https://www.tokemak.radio/";
50
+ var COINGECKO_LINK = "https://www.coingecko.com/en/coins/tokemak";
51
+ var TOKEMERCH_LINK = "https://tokemerch.xyz/";
52
+ var TOKEBASE_LINK = "https://tokebase.xyz/";
53
+ var RADIO_LINK = "https://www.tokemak.radio/";
54
+ var GOVERNANCE_LINK = "https://snapshot.tokemak.xyz/#/";
55
+ var CAREERS_LINK = "https://app.smartmatchjobs.com/job_searches/jobs_board?job_search_client_uuid=f99544ab-25a8-4242-a46e-57440c5342bd";
56
+ var AUDITS_LINK = "https://docs.tokemak.xyz/developer-docs/security-and-audits";
57
+ var BUG_BOUNTY_LINK = "https://r.xyz/bug-bounty/programs/tokemak";
58
+ var TLDR_AUTO_REBALANCING_LINK = "https://docs.tokemak.xyz/autopilot/autopilot-tl-dr/auto-rebalancing";
59
+ var TLDR_YIELD_OPTIMIZING_LINK = "https://docs.tokemak.xyz/autopilot/autopilot-tl-dr/yield-optimizing";
60
+ var TLDR_AUTO_COMPOUNDING_LINK = "https://docs.tokemak.xyz/autopilot/autopilot-tl-dr/auto-compounding";
61
+ var TLDR_DASHBOARD_LINK = "https://docs.tokemak.xyz/autopilot/autopilot-tl-dr/dashboard-and-tracking";
62
+ var SPLASH_WEBSITE_LINK = "https://www.tokemak.xyz/";
63
+ var V1_SPLASH_LINK = "https://v1.tokemak.xyz/";
64
+ var V1_APP_LINK = "https://v1.tokemak.xyz/";
65
+ var LEGACY_APP_LINK = "https://legacy.auto.finance";
66
+ var V2_APP_LINK = "https://app.auto.finance/";
67
+ var V2_MARKETPLACE_LINK = "https://marketplace.tokemak.xyz/";
68
+ var BLOG_WEBSITE_LINK = "https://blog.tokemak.xyz/";
69
+ var TERMS_OF_SERVICE_LINK = "https://app.auto.finance/terms";
70
+ var TALLY_LINK = "tally.so";
71
+ var V2_ANNOUNCEMENT_ARTICLE_LINK = `${BLOG_WEBSITE_LINK}post/autopilot-guarded-launch-announcement`;
72
+ var ACCTOKE_DOCS_LINK = "https://docs.tokemak.xyz/toke/acctoke";
73
+ var SAUTO_ANNOUNCEMENT_LINK = `${BLOG_WEBSITE_LINK}post/toke-to-auto-migration-is-now-live`;
74
+ var V2_TOUR_LINK = "https://www.figma.com/proto/XXveJKkpeZSBpKwCY1yKWD/Diagrams-and-Explainers?page-id=308%3A144&type=design&node-id=310-3938&viewport=895%2C546%2C0.04&scaling=min-zoom&starting-point-node-id=310%3A2153";
75
+ var HALBORN_LINK = "https://www.halborn.com/";
76
+ var IMMUNEFI_LINK = "https://immunefi.com/";
77
+ var SHERLOCK_LINK = "https://sherlock.xyz/";
78
+ var CERTORA_LINK = "https://www.certora.com/";
79
+ var ETHERSCAN_LINK = "https://etherscan.io/";
80
+ var BASESCAN_LINK = "https://basescan.org/";
81
+ var HEXENS_LINK = "https://hexens.io/";
82
+ var CURVE_POOL_LINK = "https://curve.finance/#/ethereum/pools/factory-crypto-55/swap";
83
+ var SUSHI_SWAP_LINK = "https://www.sushi.com/swap?chainId=1&token0=NATIVE&token1=0x2e9d63788249371f1DFC918a52f8d799F4a38C94&swapAmount=";
84
+ var INCH_SWAP_LINK = "https://app.1inch.io/#/1/simple/swap/ETH/TOKE";
85
+ var COW_SWAP_LINK = "https://swap.cow.fi/#/1/swap/ETH/TOKE";
86
+ var LLAMASWAP_LINK = "https://swap.defillama.com/?chain=ethereum&from=0x0000000000000000000000000000000000000000&to=0x2e9d63788249371f1dfc918a52f8d799f4a38c94";
87
+ var SUSHI_LP_LINK = "https://www.sushi.com/ethereum/pool/v2/0xd4e7a6e2d03e4e48dfc27dd3f46df1c176647e38/add";
88
+ var CURVE_LP_LINK = "https://curve.finance/#/ethereum/pools/factory-crypto-55/deposit";
89
+ var CONVEX_STAKE_LINK = "https://curve.convexfinance.com/stake/ethereum/99";
90
+ var CONVEX_CLAIM_LINK = "https://curve.convexfinance.com/claim";
91
+ var ANNOUNCEMENT_LINK = "https://blog.tokemak.xyz/post/auto-finance";
92
+ var TOKENS_BASE_LINK = "https://auto.finance/tokens";
93
+
94
+ // src/tokemak.ts
95
+ var TOKEMAK_PROD_REWARDS_URL = "https://auto-rewards-prod-bucket-pool-stats-api-tokemakxyz.s3.amazonaws.com/current.json";
96
+ var TOKEMAK_ACCTOKE_SUBGRAPH_URL = "https://subgraph.satsuma-prod.com/ba2506a7b20f/tokemak/AccToke/api";
97
+ var TOKEMAK_LAUNCH_TIMESTAMP = 1726491784;
98
+ var TOKEMAK_LAUNCH_TIMESTAMP_1_DAY_BEFORE = 1726420573;
99
+ var TOKEMAK_SWAP_PRICING_URL = "https://swaps-pricing.tokemaklabs.com/price";
100
+ var TOKEMAK_PRICES_STAGING_URL = "https://swaps-pricing.tokemaklabs.com/prices";
101
+ var TOKEMAK_SWAP_QUOTE_URL = "https://swaps-pricing.tokemaklabs.com/swap-quote-v2";
102
+ var TOKEMAK_GENSTRAT_APRS_API_URL = "https://genstrat-aprs.tokemaklabs.com/api/aprs";
103
+ var TOKEMAK_DYNAMIC_SWAP_ROUTES_URL = "https://dynamic-swap-routes.tokemaklabs.com";
104
+ var AUTOPOOLS_APR_URL = "https://autopools-api.tokemaklabs.com/api";
105
+
106
+ // src/faqs.tsx
107
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
108
+ var LOCK_FAQS = [
109
+ {
110
+ question: "What is autoETH?",
111
+ answer: /* @__PURE__ */ jsxs(Fragment, { children: [
112
+ /* @__PURE__ */ jsx("b", { children: "autoETH is the receipt token for ETH deposited into an autoPool. " }),
113
+ "As a share of the pool autoETH represents a share of the underlying deployed assets and is reward-bearing.",
114
+ /* @__PURE__ */ jsx("br", {}),
115
+ /* @__PURE__ */ jsx("br", {}),
116
+ "The rewards are 50% of protocol owned assets (POA) revenue plus rewards accrued during the guarded launch."
117
+ ] })
118
+ },
119
+ {
120
+ question: "I have accTOKE, what do I need to do?",
121
+ answer: /* @__PURE__ */ jsxs(Fragment, { children: [
122
+ /* @__PURE__ */ jsx("b", { children: "No actions are necessary if you currently have accTOKE and want to partake in Tokemak\u2019s guarded launch of Autopilot." }),
123
+ " ",
124
+ "You will automatically start accruing rewards in the form of autoETH as the guarded launch goes live."
125
+ ] })
126
+ },
127
+ {
128
+ question: "I have staked TOKE (LD), what do I need to do?",
129
+ answer: /* @__PURE__ */ jsxs(Fragment, { children: [
130
+ /* @__PURE__ */ jsx("b", { children: "Migrate your TOKE to earn autoETH rewards." }),
131
+ /* @__PURE__ */ jsx("br", {}),
132
+ "The mechanics follow the same logic you are accustomed to from LDing in v1, user has to be staked for a full week before they begin earning rewards."
133
+ ] })
134
+ },
135
+ {
136
+ question: "How can I claim my accrued rewards?",
137
+ answer: /* @__PURE__ */ jsx(Fragment, { children: "Users will be able to withdraw their rewards after the guarded phase has been completed." })
138
+ },
139
+ {
140
+ question: "I do not see rewards accruing?",
141
+ answer: /* @__PURE__ */ jsx(Fragment, { children: "Once TOKE is locked it begins earning autoETH rewards, which will begin to accrue to your reward balance the following Wednesday." })
142
+ },
143
+ {
144
+ question: "What is the difference between accTOKE and locked TOKE?",
145
+ answer: /* @__PURE__ */ jsx(Fragment, { children: "accTOKE is the non-transferable accounting token for locked TOKE." })
146
+ },
147
+ {
148
+ question: "What happened to Tokemak cycles?",
149
+ answer: /* @__PURE__ */ jsx(Fragment, { children: 'In the context of the Tokemak protocol updates, "cycles" have been replaced with a weekly timeframe for simplicity. This change streamlines the process for managing and understanding reward distributions, locking periods, and other protocol operations that previously operated on a cycle basis.' })
150
+ }
151
+ ];
152
+
153
+ // src/tooltips.ts
154
+ var TOOLTIPS = {
155
+ // HOME PAGE
156
+ AUTO_REBALANCED: "Rebalances automatically optimized by Autopilot",
157
+ AUTO_COMPOUNDED: "Returns are auto-compounded into Autopool",
158
+ OPTIMIZED_YIELD: "Autopilot aims to optimize across included deployments and long-term outperform manual rebalances",
159
+ LEVERAGE_FREE: "Free from liquidation risks",
160
+ TRANSPARENT: "No black box - execution parameter constraints controlled fully on-chain, and full transparency of the Autopool's exposure.",
161
+ AUDITED: "Codebase has undergone multiple rigorous audits from top blockchain security firms.",
162
+ PARTIAL_SYSTEM_ACTIVE: "During guarded launch, Autopool is deploying to a limited amount of pools to test system stability and performance",
163
+ TOTAL_ETH: "Total amount of ETH in the system",
164
+ NAV_PER_SHARE: "Net asset value in ETH per Autopool share",
165
+ IDLE_ETH: "Not deployed yet, but still held by the Autopool. In addition, the system keeps an idle amount to reduce gas costs for small withdrawals.",
166
+ // ACCTOKE
167
+ TVL: "Total value in USD of TOKE locked",
168
+ TOTAL_TOKE: "Total amount of TOKE locked",
169
+ TOTAL_EMISSIONS_PER_DAY: "Total amount of autoETH rewards distributed to accTOKE holders per day",
170
+ TOTAL_AUTOETH_DISTRIBUTED: "Total amount of autoETH rewards distributed to accTOKE holders",
171
+ UNLOCK_REQUEST_PERIOD: "Period while your TOKE can be requested to be unlocked. This period lasts for 7 days and reoccurs monthly. Once requested, TOKE will be withdrawable within 7 days.",
172
+ MINIMUM_LOCK_DURATION: "The minimum amount of time your TOKE can be locked. Locks automatically renew every 4 weeks.",
173
+ NEXT_UNLOCK_REQUEST_PERIOD: "Next time when your TOKE can be requested to be unlocked. This period lasts for 7 days and reoccurs monthly.",
174
+ STARTS_EARNING_AUTOETH: "You begin earning autoETH once the accTOKE accounting system starts tracking your locked TOKE",
175
+ AVAILABLE_TO_UNLOCK: "Time until your TOKE will be available to be withdrawn",
176
+ ACC_TOKE: "",
177
+ APR: "APR of autoETH rewards distributed to accTOKE holders",
178
+ CURRENT_AUTO_RELOCK: "Current interval for your TOKE to be relocked. New recommended interval is 4 weeks to earn the maximum amount of autoETH rewards.",
179
+ NEW_AUTO_RELOCK: "New interval at which your TOKE will be automatically relocked.",
180
+ GAS_FEE: "The fee paid to the network to process your transaction. The fee is paid in ETH.",
181
+ // TOKE/ETH LP
182
+ CONVEX_TO_EARN: "Stake your TOKE Curve LP on Convex to earn rewards.",
183
+ STARTS_EARNING_TOKE: "You begin earning TOKE once the accounting system starts tracking your staked TOKE SUSHI LP.",
184
+ AVAILABLE_TO_UNSTAKE: "Time until your TOKE SUSHI LP will be available for unstaking"
185
+ };
186
+
187
+ // src/multichain.ts
188
+ import {
189
+ BASE_NETWORK,
190
+ ETHEREUM_NETWORK,
191
+ SONIC_NETWORK,
192
+ ARBITRUM_NETWORK,
193
+ PLASMA_NETWORK,
194
+ LINEA_NETWORK
195
+ } from "@tokemak/tokenlist";
196
+ var layerzeroScan = "https://layerzeroscan.com/";
197
+ var SUPPORTED_TOKE_CHAINS = [
198
+ ETHEREUM_NETWORK,
199
+ BASE_NETWORK,
200
+ SONIC_NETWORK,
201
+ ARBITRUM_NETWORK,
202
+ PLASMA_NETWORK,
203
+ LINEA_NETWORK
204
+ ];
205
+
206
+ // src/stoke.ts
207
+ import { BASE_NETWORK as BASE_NETWORK2, ETHEREUM_NETWORK as ETHEREUM_NETWORK2 } from "@tokemak/tokenlist";
208
+ var MIN_STOKE_MONTHS = 1;
209
+ var MAX_STOKE_MONTHS = 4;
210
+ var SUPPORTED_STOKE_PROD_CHAINS = [ETHEREUM_NETWORK2];
211
+ var SUPPORTED_STOKE_DEV_CHAINS = [ETHEREUM_NETWORK2, BASE_NETWORK2];
212
+ var SUPPORTED_STOKE_CHAINS = Array.from(
213
+ /* @__PURE__ */ new Set([...SUPPORTED_STOKE_PROD_CHAINS, ...SUPPORTED_STOKE_DEV_CHAINS])
214
+ );
215
+
216
+ // src/chains.ts
217
+ import { ALL_NETWORKS } from "@tokemak/tokenlist";
218
+ import {
219
+ SUPPORTED_DEV_NETWORKS_IDS,
220
+ SUPPORTED_PROD_NETWORKS_IDS
221
+ } from "@tokemak/config";
222
+ var SUPPORTED_PROD_CHAINS = SUPPORTED_PROD_NETWORKS_IDS.map((chainId) => {
223
+ const network = ALL_NETWORKS.find((network2) => network2.chainId === chainId);
224
+ return {
225
+ ...network,
226
+ chainId
227
+ };
228
+ });
229
+ var SUPPORTED_DEV_CHAINS = SUPPORTED_DEV_NETWORKS_IDS.map(
230
+ (chainId) => {
231
+ const network = ALL_NETWORKS.find((network2) => network2.chainId === chainId);
232
+ return {
233
+ ...network,
234
+ chainId
235
+ };
236
+ }
237
+ );
238
+ var SUPPORTED_CHAINS = Array.from(
239
+ /* @__PURE__ */ new Set([...SUPPORTED_PROD_CHAINS, ...SUPPORTED_DEV_CHAINS])
240
+ );
241
+
242
+ // src/uniswap.ts
243
+ var UNI_V4_POOL_ID = "0xc41ab7da3d68aee076df71ef0f7a4665abdb8d5a9bc72c17ac86b61fadb89846";
244
+ var MERKL_CREATOR_ADDRESS = "0x123cC4AFA59160C6328C0152cf333343F510e5A3";
245
+ var AUTO_UNI_V4_POOL_URL = "https://app.uniswap.org/explore/pools/ethereum/0xc41ab7da3d68aee076df71ef0f7a4665abdb8d5a9bc72c17ac86b61fadb89846";
246
+ var ETH_AUTO_FEE_TIER = 3e3;
247
+ var MERKL_OPPORTUNITY_ID = "2837890339901340771";
248
+ var UNISWAP_V4_POOL_MANAGER = {
249
+ 1: "0x000000000004444c5dc75cB358380D2e3dE08A90",
250
+ // Mainnet
251
+ 8453: "0x000000000004444c5dc75cB358380D2e3dE08A90",
252
+ // Base
253
+ 42161: "0x000000000004444c5dc75cB358380D2e3dE08A90"
254
+ // Arbitrum
255
+ };
256
+ var UNISWAP_V4_STATE_VIEW = {
257
+ 1: "0x7ffe42c4a5deea5b0fec41c94c136cf115597227",
258
+ // Mainnet
259
+ 8453: "0x7ffe42c4a5deea5b0fec41c94c136cf115597227",
260
+ // Base (verify this)
261
+ 42161: "0x7ffe42c4a5deea5b0fec41c94c136cf115597227"
262
+ // Arbitrum (verify this)
263
+ };
264
+ var UNISWAP_V4_POSITION_MANAGER = {
265
+ 1: "0xbD216513d74C8cf14cf4747E6AaA6420FF64ee9e",
266
+ // Mainnet
267
+ 8453: "0xbD216513d74C8cf14cf4747E6AaA6420FF64ee9e",
268
+ // Base
269
+ 42161: "0xbD216513d74C8cf14cf4747E6AaA6420FF64ee9e"
270
+ // Arbitrum
271
+ };
272
+ var ETH_AUTO_V4_POOL_ID = "0xc41ab7da3d68aee076df71ef0f7a4665abdb8d5a9bc72c17ac86b61fadb89846";
273
+ var DEFILLAMA_YIELDS_API = "https://yields.llama.fi/pools";
274
+ var GRAPH_API_KEY = "fb6d69844db4795507676c9b6d495b14";
275
+
276
+ // src/sauto.ts
277
+ var SAUTO_PINNED_LOCK_CYCLE = 4241;
278
+ var SAUTO_PINNED_LOCK_CYCLE_DATE = Date.parse(
279
+ "3 Feb 2026 20:30:00 GMT"
280
+ );
281
+ var SAUTO_LOCK_CYCLE_RENEWAL = "Tuesdays at 20:30:00 GMT";
282
+
283
+ // src/swaps.ts
284
+ var LIQUIDATION_PROBE_AMOUNT = 100n;
285
+ var DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS = 2e3;
286
+ var SIMULATION_PLACEHOLDER_ADDRESS = "0x8b4334d4812c530574bd4f2763fcd22de94a969b";
287
+ export {
288
+ ACCTOKE_DOCS_LINK,
289
+ ANNOUNCEMENT_LINK,
290
+ AUDITS_LINK,
291
+ AUTOPOOLS_APR_URL,
292
+ AUTO_UNI_V4_POOL_URL,
293
+ BASESCAN_LINK,
294
+ BASE_GAS_COSTS_FALLBACK,
295
+ BLOG_WEBSITE_LINK,
296
+ BUG_BOUNTY_LINK,
297
+ CAREERS_LINK,
298
+ CERTORA_LINK,
299
+ COINGECKO_LINK,
300
+ CONVEX_CLAIM_LINK,
301
+ CONVEX_STAKE_LINK,
302
+ COW_SWAP_LINK,
303
+ CURVE_API_URL,
304
+ CURVE_LP_LINK,
305
+ CURVE_POOL_LINK,
306
+ DAYS_PER_YEAR,
307
+ DEAD_ADDRESS,
308
+ DEFILLAMA_YIELDS_API,
309
+ DISCORD_LINK,
310
+ DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS,
311
+ ETHERSCAN_LINK,
312
+ ETH_AUTO_FEE_TIER,
313
+ ETH_AUTO_V4_POOL_ID,
314
+ GITBOOK_LINK_V1,
315
+ GITBOOK_LINK_V2,
316
+ GITHUB_LINK,
317
+ GOVERNANCE_LINK,
318
+ GRAPH_API_KEY,
319
+ HALBORN_LINK,
320
+ HEXENS_LINK,
321
+ IMMUNEFI_LINK,
322
+ INCH_SWAP_LINK,
323
+ LEGACY_APP_LINK,
324
+ LIQUIDATION_PROBE_AMOUNT,
325
+ LLAMASWAP_LINK,
326
+ LOCK_FAQS,
327
+ MAX_STOKE_MONTHS,
328
+ MEDIUM_LINK,
329
+ MERKL_CREATOR_ADDRESS,
330
+ MERKL_OPPORTUNITY_ID,
331
+ MIN_STOKE_MONTHS,
332
+ NEW_AUTOPOOL_THRESHOLD_DAYS,
333
+ RADIO_LINK,
334
+ SAUTO_ANNOUNCEMENT_LINK,
335
+ SAUTO_LOCK_CYCLE_RENEWAL,
336
+ SAUTO_PINNED_LOCK_CYCLE,
337
+ SAUTO_PINNED_LOCK_CYCLE_DATE,
338
+ SHERLOCK_LINK,
339
+ SIMULATION_PLACEHOLDER_ADDRESS,
340
+ SPLASH_WEBSITE_LINK,
341
+ SUPPORTED_CHAINS,
342
+ SUPPORTED_DEV_CHAINS,
343
+ SUPPORTED_PROD_CHAINS,
344
+ SUPPORTED_STOKE_CHAINS,
345
+ SUPPORTED_STOKE_DEV_CHAINS,
346
+ SUPPORTED_STOKE_PROD_CHAINS,
347
+ SUPPORTED_TOKE_CHAINS,
348
+ SUSHI_LP_LINK,
349
+ SUSHI_SWAP_LINK,
350
+ TALLY_LINK,
351
+ TERMS_OF_SERVICE_LINK,
352
+ TLDR_AUTO_COMPOUNDING_LINK,
353
+ TLDR_AUTO_REBALANCING_LINK,
354
+ TLDR_DASHBOARD_LINK,
355
+ TLDR_YIELD_OPTIMIZING_LINK,
356
+ TOKEBASE_LINK,
357
+ TOKEMAK_ACCTOKE_SUBGRAPH_URL,
358
+ TOKEMAK_DYNAMIC_SWAP_ROUTES_URL,
359
+ TOKEMAK_GENSTRAT_APRS_API_URL,
360
+ TOKEMAK_LAUNCH_TIMESTAMP,
361
+ TOKEMAK_LAUNCH_TIMESTAMP_1_DAY_BEFORE,
362
+ TOKEMAK_PRICES_STAGING_URL,
363
+ TOKEMAK_PROD_REWARDS_URL,
364
+ TOKEMAK_RADIO_LINK,
365
+ TOKEMAK_SWAP_PRICING_URL,
366
+ TOKEMAK_SWAP_QUOTE_URL,
367
+ TOKEMERCH_LINK,
368
+ TOKENS_BASE_LINK,
369
+ TOKE_CURVE_POOL_ID,
370
+ TOOLTIPS,
371
+ TWITTER_LINK,
372
+ UNISWAP_V4_POOL_MANAGER,
373
+ UNISWAP_V4_POSITION_MANAGER,
374
+ UNISWAP_V4_STATE_VIEW,
375
+ UNI_V4_POOL_ID,
376
+ V1_APP_LINK,
377
+ V1_SPLASH_LINK,
378
+ V2_ANNOUNCEMENT_ARTICLE_LINK,
379
+ V2_APP_LINK,
380
+ V2_MARKETPLACE_LINK,
381
+ V2_TOUR_LINK,
382
+ ZERO_ADDRESS,
383
+ layerzeroScan
384
+ };
package/package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "name": "@tokemak/constants",
3
- "version": "0.0.3",
3
+ "version": "0.1.1",
4
4
  "main": "./dist/index.js",
5
+ "module": "./dist/index.mjs",
5
6
  "types": "./dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": {
10
+ "types": "./dist/index.d.ts",
11
+ "default": "./dist/index.mjs"
12
+ },
13
+ "require": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.js"
16
+ }
17
+ }
18
+ },
6
19
  "sideEffects": false,
7
20
  "license": "MIT",
8
21
  "files": [
@@ -11,13 +24,12 @@
11
24
  "publishConfig": {
12
25
  "access": "public"
13
26
  },
14
- "type": "module",
15
27
  "dependencies": {
16
- "@tokemak/config": "0.0.3",
17
- "@tokemak/tokenlist": "0.0.2"
28
+ "@tokemak/config": "0.1.1",
29
+ "@tokemak/tokenlist": "0.1.1"
18
30
  },
19
31
  "scripts": {
20
- "build": "tsup src/index.ts --dts",
32
+ "build": "tsup",
21
33
  "lint": "eslint \"src/**/*.ts*\"",
22
34
  "clean": "rimraf .turbo node_modules dist"
23
35
  }