@tokemak/constants 0.1.2 → 0.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.
@@ -0,0 +1,179 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as _tokemak_tokenlist from '@tokemak/tokenlist';
3
+ import { INetwork } from '@tokemak/tokenlist';
4
+
5
+ /** Number of days after creation during which an autopool is considered "new" */
6
+ declare const NEW_AUTOPOOL_THRESHOLD_DAYS = 45;
7
+ /** Days per year used in APR → daily earnings calculations */
8
+ declare const DAYS_PER_YEAR = 365;
9
+ /** Addresses that indicate a generic (non-specific) strategy on an autopool */
10
+ declare const DEAD_ADDRESS = "0x000000000000000000000000000000000000dead";
11
+ declare const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
12
+
13
+ declare const BASE_GAS_COSTS_FALLBACK: {
14
+ lock: bigint;
15
+ approve: bigint;
16
+ approveAndLock: bigint;
17
+ unlock: bigint;
18
+ requestUnlock: bigint;
19
+ migrate: bigint;
20
+ stake: bigint;
21
+ approveAndStake: bigint;
22
+ unstake: bigint;
23
+ requestUnstake: bigint;
24
+ depositStake: bigint;
25
+ wethApproveDepositStake: bigint;
26
+ wethDepositStake: bigint;
27
+ swapDepositStake: bigint;
28
+ swapApproveDepositStake: bigint;
29
+ unstakeAutoEth: bigint;
30
+ stakeAutoEth: bigint;
31
+ deposit: bigint;
32
+ wethDeposit: bigint;
33
+ wethApproveDeposit: bigint;
34
+ swapDeposit: bigint;
35
+ swapApproveDeposit: bigint;
36
+ withdraw: bigint;
37
+ withdrawWeth: bigint;
38
+ swapWithdraw: bigint;
39
+ };
40
+
41
+ declare const CURVE_API_URL = "https://api.curve.finance/api/getPools/ethereum/factory-crypto";
42
+ declare const TOKE_CURVE_POOL_ID = "factory-crypto-55";
43
+
44
+ declare const GITBOOK_LINK_V1 = "https://docs.tokemak.xyz/";
45
+ declare const GITBOOK_LINK_V2 = "https://docs.tokemak.xyz/";
46
+ declare const GITHUB_LINK = "https://github.com/Tokemak";
47
+ declare const TWITTER_LINK = "https://x.com/autopools";
48
+ declare const MEDIUM_LINK = "https://medium.com/tokemak";
49
+ declare const DISCORD_LINK = "http://discord.gg/tokemak";
50
+ declare const TOKEMAK_RADIO_LINK = "https://www.tokemak.radio/";
51
+ declare const COINGECKO_LINK = "https://www.coingecko.com/en/coins/tokemak";
52
+ declare const TOKEMERCH_LINK = "https://tokemerch.xyz/";
53
+ declare const TOKEBASE_LINK = "https://tokebase.xyz/";
54
+ declare const RADIO_LINK = "https://www.tokemak.radio/";
55
+ declare const GOVERNANCE_LINK = "https://snapshot.tokemak.xyz/#/";
56
+ declare const CAREERS_LINK = "https://app.smartmatchjobs.com/job_searches/jobs_board?job_search_client_uuid=f99544ab-25a8-4242-a46e-57440c5342bd";
57
+ declare const AUDITS_LINK = "https://docs.tokemak.xyz/developer-docs/security-and-audits";
58
+ declare const BUG_BOUNTY_LINK = "https://r.xyz/bug-bounty/programs/tokemak";
59
+ declare const TLDR_AUTO_REBALANCING_LINK = "https://docs.tokemak.xyz/autopilot/autopilot-tl-dr/auto-rebalancing";
60
+ declare const TLDR_YIELD_OPTIMIZING_LINK = "https://docs.tokemak.xyz/autopilot/autopilot-tl-dr/yield-optimizing";
61
+ declare const TLDR_AUTO_COMPOUNDING_LINK = "https://docs.tokemak.xyz/autopilot/autopilot-tl-dr/auto-compounding";
62
+ declare const TLDR_DASHBOARD_LINK = "https://docs.tokemak.xyz/autopilot/autopilot-tl-dr/dashboard-and-tracking";
63
+ declare const SPLASH_WEBSITE_LINK = "https://www.tokemak.xyz/";
64
+ declare const V1_SPLASH_LINK = "https://v1.tokemak.xyz/";
65
+ declare const V1_APP_LINK = "https://v1.tokemak.xyz/";
66
+ declare const LEGACY_APP_LINK = "https://legacy.auto.finance";
67
+ declare const V2_APP_LINK = "https://app.auto.finance/";
68
+ declare const V2_MARKETPLACE_LINK = "https://marketplace.tokemak.xyz/";
69
+ declare const BLOG_WEBSITE_LINK = "https://blog.tokemak.xyz/";
70
+ declare const TERMS_OF_SERVICE_LINK = "https://app.auto.finance/terms";
71
+ declare const TALLY_LINK = "tally.so";
72
+ declare const V2_ANNOUNCEMENT_ARTICLE_LINK = "https://blog.tokemak.xyz/post/autopilot-guarded-launch-announcement";
73
+ declare const ACCTOKE_DOCS_LINK = "https://docs.tokemak.xyz/toke/acctoke";
74
+ declare const SAUTO_ANNOUNCEMENT_LINK = "https://blog.tokemak.xyz/post/toke-to-auto-migration-is-now-live";
75
+ declare const 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";
76
+ declare const HALBORN_LINK = "https://www.halborn.com/";
77
+ declare const IMMUNEFI_LINK = "https://immunefi.com/";
78
+ declare const SHERLOCK_LINK = "https://sherlock.xyz/";
79
+ declare const CERTORA_LINK = "https://www.certora.com/";
80
+ declare const ETHERSCAN_LINK = "https://etherscan.io/";
81
+ declare const BASESCAN_LINK = "https://basescan.org/";
82
+ declare const HEXENS_LINK = "https://hexens.io/";
83
+ declare const CURVE_POOL_LINK = "https://curve.finance/#/ethereum/pools/factory-crypto-55/swap";
84
+ declare const SUSHI_SWAP_LINK = "https://www.sushi.com/swap?chainId=1&token0=NATIVE&token1=0x2e9d63788249371f1DFC918a52f8d799F4a38C94&swapAmount=";
85
+ declare const INCH_SWAP_LINK = "https://app.1inch.io/#/1/simple/swap/ETH/TOKE";
86
+ declare const COW_SWAP_LINK = "https://swap.cow.fi/#/1/swap/ETH/TOKE";
87
+ declare const LLAMASWAP_LINK = "https://swap.defillama.com/?chain=ethereum&from=0x0000000000000000000000000000000000000000&to=0x2e9d63788249371f1dfc918a52f8d799f4a38c94";
88
+ declare const SUSHI_LP_LINK = "https://www.sushi.com/ethereum/pool/v2/0xd4e7a6e2d03e4e48dfc27dd3f46df1c176647e38/add";
89
+ declare const CURVE_LP_LINK = "https://curve.finance/#/ethereum/pools/factory-crypto-55/deposit";
90
+ declare const CONVEX_STAKE_LINK = "https://curve.convexfinance.com/stake/ethereum/99";
91
+ declare const CONVEX_CLAIM_LINK = "https://curve.convexfinance.com/claim";
92
+ declare const ANNOUNCEMENT_LINK = "https://blog.tokemak.xyz/post/auto-finance";
93
+ declare const TOKENS_BASE_LINK = "https://auto.finance/tokens";
94
+
95
+ declare const TOKEMAK_PROD_REWARDS_URL = "https://auto-rewards-prod-bucket-pool-stats-api-tokemakxyz.s3.amazonaws.com/current.json";
96
+ declare const TOKEMAK_ACCTOKE_SUBGRAPH_URL = "https://subgraph.satsuma-prod.com/ba2506a7b20f/tokemak/AccToke/api";
97
+ declare const TOKEMAK_LAUNCH_TIMESTAMP = 1726491784;
98
+ declare const TOKEMAK_LAUNCH_TIMESTAMP_1_DAY_BEFORE = 1726420573;
99
+ declare const TOKEMAK_SWAP_PRICING_URL = "https://swaps-pricing.tokemaklabs.com/price";
100
+ declare const TOKEMAK_PRICES_STAGING_URL = "https://swaps-pricing.tokemaklabs.com/prices";
101
+ declare const TOKEMAK_SWAP_QUOTE_URL = "https://swaps-pricing.tokemaklabs.com/swap-quote-v2";
102
+ declare const TOKEMAK_GENSTRAT_APRS_API_URL = "https://genstrat-aprs.tokemaklabs.com/api/aprs";
103
+ declare const TOKEMAK_DYNAMIC_SWAP_ROUTES_URL = "https://dynamic-swap-routes.tokemaklabs.com";
104
+ declare const AUTOPOOLS_APR_URL = "https://autopools-api.tokemaklabs.com/api";
105
+
106
+ declare const LOCK_FAQS: {
107
+ question: string;
108
+ answer: react_jsx_runtime.JSX.Element;
109
+ }[];
110
+
111
+ declare const TOOLTIPS: {
112
+ AUTO_REBALANCED: string;
113
+ AUTO_COMPOUNDED: string;
114
+ OPTIMIZED_YIELD: string;
115
+ LEVERAGE_FREE: string;
116
+ TRANSPARENT: string;
117
+ AUDITED: string;
118
+ PARTIAL_SYSTEM_ACTIVE: string;
119
+ TOTAL_ETH: string;
120
+ NAV_PER_SHARE: string;
121
+ IDLE_ETH: string;
122
+ TVL: string;
123
+ TOTAL_TOKE: string;
124
+ TOTAL_EMISSIONS_PER_DAY: string;
125
+ TOTAL_AUTOETH_DISTRIBUTED: string;
126
+ UNLOCK_REQUEST_PERIOD: string;
127
+ MINIMUM_LOCK_DURATION: string;
128
+ NEXT_UNLOCK_REQUEST_PERIOD: string;
129
+ STARTS_EARNING_AUTOETH: string;
130
+ AVAILABLE_TO_UNLOCK: string;
131
+ ACC_TOKE: string;
132
+ APR: string;
133
+ CURRENT_AUTO_RELOCK: string;
134
+ NEW_AUTO_RELOCK: string;
135
+ GAS_FEE: string;
136
+ CONVEX_TO_EARN: string;
137
+ STARTS_EARNING_TOKE: string;
138
+ AVAILABLE_TO_UNSTAKE: string;
139
+ };
140
+
141
+ declare const layerzeroScan = "https://layerzeroscan.com/";
142
+ declare const SUPPORTED_TOKE_CHAINS: INetwork[];
143
+
144
+ declare const MIN_STOKE_MONTHS = 1;
145
+ declare const MAX_STOKE_MONTHS = 4;
146
+ declare const SUPPORTED_STOKE_PROD_CHAINS: _tokemak_tokenlist.INetwork[];
147
+ declare const SUPPORTED_STOKE_DEV_CHAINS: _tokemak_tokenlist.INetwork[];
148
+ declare const SUPPORTED_STOKE_CHAINS: _tokemak_tokenlist.INetwork[];
149
+
150
+ declare const SUPPORTED_PROD_CHAINS: INetwork[];
151
+ declare const SUPPORTED_DEV_CHAINS: INetwork[];
152
+ declare const SUPPORTED_CHAINS: INetwork[];
153
+
154
+ declare const UNI_V4_POOL_ID = "0xc41ab7da3d68aee076df71ef0f7a4665abdb8d5a9bc72c17ac86b61fadb89846";
155
+ declare const MERKL_CREATOR_ADDRESS = "0x123cC4AFA59160C6328C0152cf333343F510e5A3";
156
+ declare const AUTO_UNI_V4_POOL_URL = "https://app.uniswap.org/explore/pools/ethereum/0xc41ab7da3d68aee076df71ef0f7a4665abdb8d5a9bc72c17ac86b61fadb89846";
157
+ declare const ETH_AUTO_FEE_TIER = 3000;
158
+ declare const MERKL_OPPORTUNITY_ID = "2837890339901340771";
159
+ declare const UNISWAP_V4_POOL_MANAGER: Record<number, `0x${string}`>;
160
+ declare const UNISWAP_V4_STATE_VIEW: Record<number, `0x${string}`>;
161
+ declare const UNISWAP_V4_POSITION_MANAGER: Record<number, `0x${string}`>;
162
+ declare const ETH_AUTO_V4_POOL_ID: "0xc41ab7da3d68aee076df71ef0f7a4665abdb8d5a9bc72c17ac86b61fadb89846";
163
+ declare const DEFILLAMA_YIELDS_API = "https://yields.llama.fi/pools";
164
+ declare const GRAPH_API_KEY = "fb6d69844db4795507676c9b6d495b14";
165
+
166
+ declare const SAUTO_PINNED_LOCK_CYCLE = 4241;
167
+ declare const SAUTO_PINNED_LOCK_CYCLE_DATE: number;
168
+ declare const SAUTO_LOCK_CYCLE_RENEWAL = "Tuesdays at 20:30:00 GMT";
169
+
170
+ /** Minimum token amount used when probing liquidation routes */
171
+ declare const LIQUIDATION_PROBE_AMOUNT = 100n;
172
+ /** Default slippage in basis points for dynamic swap route requests (20%) */
173
+ declare const DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS = 2000;
174
+ /** Placeholder address used for contract simulations when no user is connected */
175
+ declare const SIMULATION_PLACEHOLDER_ADDRESS = "0x8b4334d4812c530574bd4f2763fcd22de94a969b";
176
+
177
+ declare const BUILDER_CODE_DATA_SUFFIX: "0x62635f36796739787176320b0080218021802180218021802180218021";
178
+
179
+ export { ACCTOKE_DOCS_LINK, ANNOUNCEMENT_LINK, AUDITS_LINK, AUTOPOOLS_APR_URL, AUTO_UNI_V4_POOL_URL, BASESCAN_LINK, BASE_GAS_COSTS_FALLBACK, BLOG_WEBSITE_LINK, BUG_BOUNTY_LINK, BUILDER_CODE_DATA_SUFFIX, CAREERS_LINK, CERTORA_LINK, COINGECKO_LINK, CONVEX_CLAIM_LINK, CONVEX_STAKE_LINK, COW_SWAP_LINK, CURVE_API_URL, CURVE_LP_LINK, CURVE_POOL_LINK, DAYS_PER_YEAR, DEAD_ADDRESS, DEFILLAMA_YIELDS_API, DISCORD_LINK, DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS, ETHERSCAN_LINK, ETH_AUTO_FEE_TIER, ETH_AUTO_V4_POOL_ID, GITBOOK_LINK_V1, GITBOOK_LINK_V2, GITHUB_LINK, GOVERNANCE_LINK, GRAPH_API_KEY, HALBORN_LINK, HEXENS_LINK, IMMUNEFI_LINK, INCH_SWAP_LINK, LEGACY_APP_LINK, LIQUIDATION_PROBE_AMOUNT, LLAMASWAP_LINK, LOCK_FAQS, MAX_STOKE_MONTHS, MEDIUM_LINK, MERKL_CREATOR_ADDRESS, MERKL_OPPORTUNITY_ID, MIN_STOKE_MONTHS, NEW_AUTOPOOL_THRESHOLD_DAYS, RADIO_LINK, SAUTO_ANNOUNCEMENT_LINK, SAUTO_LOCK_CYCLE_RENEWAL, SAUTO_PINNED_LOCK_CYCLE, SAUTO_PINNED_LOCK_CYCLE_DATE, SHERLOCK_LINK, SIMULATION_PLACEHOLDER_ADDRESS, SPLASH_WEBSITE_LINK, SUPPORTED_CHAINS, SUPPORTED_DEV_CHAINS, SUPPORTED_PROD_CHAINS, SUPPORTED_STOKE_CHAINS, SUPPORTED_STOKE_DEV_CHAINS, SUPPORTED_STOKE_PROD_CHAINS, SUPPORTED_TOKE_CHAINS, SUSHI_LP_LINK, SUSHI_SWAP_LINK, TALLY_LINK, TERMS_OF_SERVICE_LINK, TLDR_AUTO_COMPOUNDING_LINK, TLDR_AUTO_REBALANCING_LINK, TLDR_DASHBOARD_LINK, TLDR_YIELD_OPTIMIZING_LINK, TOKEBASE_LINK, TOKEMAK_ACCTOKE_SUBGRAPH_URL, TOKEMAK_DYNAMIC_SWAP_ROUTES_URL, TOKEMAK_GENSTRAT_APRS_API_URL, TOKEMAK_LAUNCH_TIMESTAMP, TOKEMAK_LAUNCH_TIMESTAMP_1_DAY_BEFORE, TOKEMAK_PRICES_STAGING_URL, TOKEMAK_PROD_REWARDS_URL, TOKEMAK_RADIO_LINK, TOKEMAK_SWAP_PRICING_URL, TOKEMAK_SWAP_QUOTE_URL, TOKEMERCH_LINK, TOKENS_BASE_LINK, TOKE_CURVE_POOL_ID, TOOLTIPS, TWITTER_LINK, UNISWAP_V4_POOL_MANAGER, UNISWAP_V4_POSITION_MANAGER, UNISWAP_V4_STATE_VIEW, UNI_V4_POOL_ID, V1_APP_LINK, V1_SPLASH_LINK, V2_ANNOUNCEMENT_ARTICLE_LINK, V2_APP_LINK, V2_MARKETPLACE_LINK, V2_TOUR_LINK, ZERO_ADDRESS, layerzeroScan };
package/dist/index.d.ts CHANGED
@@ -174,4 +174,6 @@ declare const DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS = 2000;
174
174
  /** Placeholder address used for contract simulations when no user is connected */
175
175
  declare const SIMULATION_PLACEHOLDER_ADDRESS = "0x8b4334d4812c530574bd4f2763fcd22de94a969b";
176
176
 
177
- export { ACCTOKE_DOCS_LINK, ANNOUNCEMENT_LINK, AUDITS_LINK, AUTOPOOLS_APR_URL, AUTO_UNI_V4_POOL_URL, BASESCAN_LINK, BASE_GAS_COSTS_FALLBACK, BLOG_WEBSITE_LINK, BUG_BOUNTY_LINK, CAREERS_LINK, CERTORA_LINK, COINGECKO_LINK, CONVEX_CLAIM_LINK, CONVEX_STAKE_LINK, COW_SWAP_LINK, CURVE_API_URL, CURVE_LP_LINK, CURVE_POOL_LINK, DAYS_PER_YEAR, DEAD_ADDRESS, DEFILLAMA_YIELDS_API, DISCORD_LINK, DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS, ETHERSCAN_LINK, ETH_AUTO_FEE_TIER, ETH_AUTO_V4_POOL_ID, GITBOOK_LINK_V1, GITBOOK_LINK_V2, GITHUB_LINK, GOVERNANCE_LINK, GRAPH_API_KEY, HALBORN_LINK, HEXENS_LINK, IMMUNEFI_LINK, INCH_SWAP_LINK, LEGACY_APP_LINK, LIQUIDATION_PROBE_AMOUNT, LLAMASWAP_LINK, LOCK_FAQS, MAX_STOKE_MONTHS, MEDIUM_LINK, MERKL_CREATOR_ADDRESS, MERKL_OPPORTUNITY_ID, MIN_STOKE_MONTHS, NEW_AUTOPOOL_THRESHOLD_DAYS, RADIO_LINK, SAUTO_ANNOUNCEMENT_LINK, SAUTO_LOCK_CYCLE_RENEWAL, SAUTO_PINNED_LOCK_CYCLE, SAUTO_PINNED_LOCK_CYCLE_DATE, SHERLOCK_LINK, SIMULATION_PLACEHOLDER_ADDRESS, SPLASH_WEBSITE_LINK, SUPPORTED_CHAINS, SUPPORTED_DEV_CHAINS, SUPPORTED_PROD_CHAINS, SUPPORTED_STOKE_CHAINS, SUPPORTED_STOKE_DEV_CHAINS, SUPPORTED_STOKE_PROD_CHAINS, SUPPORTED_TOKE_CHAINS, SUSHI_LP_LINK, SUSHI_SWAP_LINK, TALLY_LINK, TERMS_OF_SERVICE_LINK, TLDR_AUTO_COMPOUNDING_LINK, TLDR_AUTO_REBALANCING_LINK, TLDR_DASHBOARD_LINK, TLDR_YIELD_OPTIMIZING_LINK, TOKEBASE_LINK, TOKEMAK_ACCTOKE_SUBGRAPH_URL, TOKEMAK_DYNAMIC_SWAP_ROUTES_URL, TOKEMAK_GENSTRAT_APRS_API_URL, TOKEMAK_LAUNCH_TIMESTAMP, TOKEMAK_LAUNCH_TIMESTAMP_1_DAY_BEFORE, TOKEMAK_PRICES_STAGING_URL, TOKEMAK_PROD_REWARDS_URL, TOKEMAK_RADIO_LINK, TOKEMAK_SWAP_PRICING_URL, TOKEMAK_SWAP_QUOTE_URL, TOKEMERCH_LINK, TOKENS_BASE_LINK, TOKE_CURVE_POOL_ID, TOOLTIPS, TWITTER_LINK, UNISWAP_V4_POOL_MANAGER, UNISWAP_V4_POSITION_MANAGER, UNISWAP_V4_STATE_VIEW, UNI_V4_POOL_ID, V1_APP_LINK, V1_SPLASH_LINK, V2_ANNOUNCEMENT_ARTICLE_LINK, V2_APP_LINK, V2_MARKETPLACE_LINK, V2_TOUR_LINK, ZERO_ADDRESS, layerzeroScan };
177
+ declare const BUILDER_CODE_DATA_SUFFIX: "0x62635f36796739787176320b0080218021802180218021802180218021";
178
+
179
+ export { ACCTOKE_DOCS_LINK, ANNOUNCEMENT_LINK, AUDITS_LINK, AUTOPOOLS_APR_URL, AUTO_UNI_V4_POOL_URL, BASESCAN_LINK, BASE_GAS_COSTS_FALLBACK, BLOG_WEBSITE_LINK, BUG_BOUNTY_LINK, BUILDER_CODE_DATA_SUFFIX, CAREERS_LINK, CERTORA_LINK, COINGECKO_LINK, CONVEX_CLAIM_LINK, CONVEX_STAKE_LINK, COW_SWAP_LINK, CURVE_API_URL, CURVE_LP_LINK, CURVE_POOL_LINK, DAYS_PER_YEAR, DEAD_ADDRESS, DEFILLAMA_YIELDS_API, DISCORD_LINK, DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS, ETHERSCAN_LINK, ETH_AUTO_FEE_TIER, ETH_AUTO_V4_POOL_ID, GITBOOK_LINK_V1, GITBOOK_LINK_V2, GITHUB_LINK, GOVERNANCE_LINK, GRAPH_API_KEY, HALBORN_LINK, HEXENS_LINK, IMMUNEFI_LINK, INCH_SWAP_LINK, LEGACY_APP_LINK, LIQUIDATION_PROBE_AMOUNT, LLAMASWAP_LINK, LOCK_FAQS, MAX_STOKE_MONTHS, MEDIUM_LINK, MERKL_CREATOR_ADDRESS, MERKL_OPPORTUNITY_ID, MIN_STOKE_MONTHS, NEW_AUTOPOOL_THRESHOLD_DAYS, RADIO_LINK, SAUTO_ANNOUNCEMENT_LINK, SAUTO_LOCK_CYCLE_RENEWAL, SAUTO_PINNED_LOCK_CYCLE, SAUTO_PINNED_LOCK_CYCLE_DATE, SHERLOCK_LINK, SIMULATION_PLACEHOLDER_ADDRESS, SPLASH_WEBSITE_LINK, SUPPORTED_CHAINS, SUPPORTED_DEV_CHAINS, SUPPORTED_PROD_CHAINS, SUPPORTED_STOKE_CHAINS, SUPPORTED_STOKE_DEV_CHAINS, SUPPORTED_STOKE_PROD_CHAINS, SUPPORTED_TOKE_CHAINS, SUSHI_LP_LINK, SUSHI_SWAP_LINK, TALLY_LINK, TERMS_OF_SERVICE_LINK, TLDR_AUTO_COMPOUNDING_LINK, TLDR_AUTO_REBALANCING_LINK, TLDR_DASHBOARD_LINK, TLDR_YIELD_OPTIMIZING_LINK, TOKEBASE_LINK, TOKEMAK_ACCTOKE_SUBGRAPH_URL, TOKEMAK_DYNAMIC_SWAP_ROUTES_URL, TOKEMAK_GENSTRAT_APRS_API_URL, TOKEMAK_LAUNCH_TIMESTAMP, TOKEMAK_LAUNCH_TIMESTAMP_1_DAY_BEFORE, TOKEMAK_PRICES_STAGING_URL, TOKEMAK_PROD_REWARDS_URL, TOKEMAK_RADIO_LINK, TOKEMAK_SWAP_PRICING_URL, TOKEMAK_SWAP_QUOTE_URL, TOKEMERCH_LINK, TOKENS_BASE_LINK, TOKE_CURVE_POOL_ID, TOOLTIPS, TWITTER_LINK, UNISWAP_V4_POOL_MANAGER, UNISWAP_V4_POSITION_MANAGER, UNISWAP_V4_STATE_VIEW, UNI_V4_POOL_ID, V1_APP_LINK, V1_SPLASH_LINK, V2_ANNOUNCEMENT_ARTICLE_LINK, V2_APP_LINK, V2_MARKETPLACE_LINK, V2_TOUR_LINK, ZERO_ADDRESS, layerzeroScan };
package/dist/index.js CHANGED
@@ -29,6 +29,7 @@ __export(index_exports, {
29
29
  BASE_GAS_COSTS_FALLBACK: () => BASE_GAS_COSTS_FALLBACK,
30
30
  BLOG_WEBSITE_LINK: () => BLOG_WEBSITE_LINK,
31
31
  BUG_BOUNTY_LINK: () => BUG_BOUNTY_LINK,
32
+ BUILDER_CODE_DATA_SUFFIX: () => BUILDER_CODE_DATA_SUFFIX,
32
33
  CAREERS_LINK: () => CAREERS_LINK,
33
34
  CERTORA_LINK: () => CERTORA_LINK,
34
35
  COINGECKO_LINK: () => COINGECKO_LINK,
@@ -298,7 +299,7 @@ var TOOLTIPS = {
298
299
  APR: "APR of autoETH rewards distributed to accTOKE holders",
299
300
  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.",
300
301
  NEW_AUTO_RELOCK: "New interval at which your TOKE will be automatically relocked.",
301
- GAS_FEE: "The fee paid to the network to process your transaction. The fee is paid in ETH.",
302
+ GAS_FEE: "The fee paid to the network to process your transaction.",
302
303
  // TOKE/ETH LP
303
304
  CONVEX_TO_EARN: "Stake your TOKE Curve LP on Convex to earn rewards.",
304
305
  STARTS_EARNING_TOKE: "You begin earning TOKE once the accounting system starts tracking your staked TOKE SUSHI LP.",
@@ -314,7 +315,8 @@ var SUPPORTED_TOKE_CHAINS = [
314
315
  import_tokenlist.SONIC_NETWORK,
315
316
  import_tokenlist.ARBITRUM_NETWORK,
316
317
  import_tokenlist.PLASMA_NETWORK,
317
- import_tokenlist.LINEA_NETWORK
318
+ import_tokenlist.LINEA_NETWORK,
319
+ import_tokenlist.MONAD_NETWORK
318
320
  ];
319
321
 
320
322
  // src/stoke.ts
@@ -395,6 +397,9 @@ var SAUTO_LOCK_CYCLE_RENEWAL = "Tuesdays at 20:30:00 GMT";
395
397
  var LIQUIDATION_PROBE_AMOUNT = 100n;
396
398
  var DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS = 2e3;
397
399
  var SIMULATION_PLACEHOLDER_ADDRESS = "0x8b4334d4812c530574bd4f2763fcd22de94a969b";
400
+
401
+ // src/builderCode.ts
402
+ var BUILDER_CODE_DATA_SUFFIX = "0x62635f36796739787176320b0080218021802180218021802180218021";
398
403
  // Annotate the CommonJS export names for ESM import in node:
399
404
  0 && (module.exports = {
400
405
  ACCTOKE_DOCS_LINK,
@@ -406,6 +411,7 @@ var SIMULATION_PLACEHOLDER_ADDRESS = "0x8b4334d4812c530574bd4f2763fcd22de94a969b
406
411
  BASE_GAS_COSTS_FALLBACK,
407
412
  BLOG_WEBSITE_LINK,
408
413
  BUG_BOUNTY_LINK,
414
+ BUILDER_CODE_DATA_SUFFIX,
409
415
  CAREERS_LINK,
410
416
  CERTORA_LINK,
411
417
  COINGECKO_LINK,
package/dist/index.mjs CHANGED
@@ -177,7 +177,7 @@ var TOOLTIPS = {
177
177
  APR: "APR of autoETH rewards distributed to accTOKE holders",
178
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
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.",
180
+ GAS_FEE: "The fee paid to the network to process your transaction.",
181
181
  // TOKE/ETH LP
182
182
  CONVEX_TO_EARN: "Stake your TOKE Curve LP on Convex to earn rewards.",
183
183
  STARTS_EARNING_TOKE: "You begin earning TOKE once the accounting system starts tracking your staked TOKE SUSHI LP.",
@@ -186,12 +186,13 @@ var TOOLTIPS = {
186
186
 
187
187
  // src/multichain.ts
188
188
  import {
189
+ ARBITRUM_NETWORK,
189
190
  BASE_NETWORK,
190
191
  ETHEREUM_NETWORK,
191
- SONIC_NETWORK,
192
- ARBITRUM_NETWORK,
192
+ LINEA_NETWORK,
193
+ MONAD_NETWORK,
193
194
  PLASMA_NETWORK,
194
- LINEA_NETWORK
195
+ SONIC_NETWORK
195
196
  } from "@tokemak/tokenlist";
196
197
  var layerzeroScan = "https://layerzeroscan.com/";
197
198
  var SUPPORTED_TOKE_CHAINS = [
@@ -200,7 +201,8 @@ var SUPPORTED_TOKE_CHAINS = [
200
201
  SONIC_NETWORK,
201
202
  ARBITRUM_NETWORK,
202
203
  PLASMA_NETWORK,
203
- LINEA_NETWORK
204
+ LINEA_NETWORK,
205
+ MONAD_NETWORK
204
206
  ];
205
207
 
206
208
  // src/stoke.ts
@@ -284,6 +286,9 @@ var SAUTO_LOCK_CYCLE_RENEWAL = "Tuesdays at 20:30:00 GMT";
284
286
  var LIQUIDATION_PROBE_AMOUNT = 100n;
285
287
  var DYNAMIC_SWAP_DEFAULT_SLIPPAGE_BPS = 2e3;
286
288
  var SIMULATION_PLACEHOLDER_ADDRESS = "0x8b4334d4812c530574bd4f2763fcd22de94a969b";
289
+
290
+ // src/builderCode.ts
291
+ var BUILDER_CODE_DATA_SUFFIX = "0x62635f36796739787176320b0080218021802180218021802180218021";
287
292
  export {
288
293
  ACCTOKE_DOCS_LINK,
289
294
  ANNOUNCEMENT_LINK,
@@ -294,6 +299,7 @@ export {
294
299
  BASE_GAS_COSTS_FALLBACK,
295
300
  BLOG_WEBSITE_LINK,
296
301
  BUG_BOUNTY_LINK,
302
+ BUILDER_CODE_DATA_SUFFIX,
297
303
  CAREERS_LINK,
298
304
  CERTORA_LINK,
299
305
  COINGECKO_LINK,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokemak/constants",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -25,8 +25,8 @@
25
25
  "access": "public"
26
26
  },
27
27
  "dependencies": {
28
- "@tokemak/tokenlist": "0.1.2",
29
- "@tokemak/config": "0.1.1"
28
+ "@tokemak/config": "0.3.0",
29
+ "@tokemak/tokenlist": "0.2.0"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "tsup",