@tokemak/constants 0.0.2
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.d.ts +137 -0
- package/dist/index.js +2161 -0
- package/package.json +23 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
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
|
+
declare const BASE_GAS_COSTS_FALLBACK: {
|
|
6
|
+
lock: bigint;
|
|
7
|
+
approve: bigint;
|
|
8
|
+
approveAndLock: bigint;
|
|
9
|
+
unlock: bigint;
|
|
10
|
+
requestUnlock: bigint;
|
|
11
|
+
migrate: bigint;
|
|
12
|
+
stake: bigint;
|
|
13
|
+
approveAndStake: bigint;
|
|
14
|
+
unstake: bigint;
|
|
15
|
+
requestUnstake: bigint;
|
|
16
|
+
depositStake: bigint;
|
|
17
|
+
wethApproveDepositStake: bigint;
|
|
18
|
+
wethDepositStake: bigint;
|
|
19
|
+
swapDepositStake: bigint;
|
|
20
|
+
swapApproveDepositStake: bigint;
|
|
21
|
+
unstakeAutoEth: bigint;
|
|
22
|
+
stakeAutoEth: bigint;
|
|
23
|
+
deposit: bigint;
|
|
24
|
+
wethDeposit: bigint;
|
|
25
|
+
wethApproveDeposit: bigint;
|
|
26
|
+
swapDeposit: bigint;
|
|
27
|
+
swapApproveDeposit: bigint;
|
|
28
|
+
withdraw: bigint;
|
|
29
|
+
withdrawWeth: bigint;
|
|
30
|
+
swapWithdraw: bigint;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
declare const CURVE_API_URL = "https://api.curve.finance/api/getPools/ethereum/factory-crypto";
|
|
34
|
+
declare const TOKE_CURVE_POOL_ID = "factory-crypto-55";
|
|
35
|
+
|
|
36
|
+
declare const GITBOOK_LINK_V1 = "https://docs.tokemak.xyz/";
|
|
37
|
+
declare const GITBOOK_LINK_V2 = "https://docs.tokemak.xyz/";
|
|
38
|
+
declare const GITHUB_LINK = "https://github.com/Tokemak";
|
|
39
|
+
declare const TWITTER_LINK = "https://x.com/tokemakxyz";
|
|
40
|
+
declare const MEDIUM_LINK = "https://medium.com/tokemak";
|
|
41
|
+
declare const DISCORD_LINK = "http://discord.gg/tokemak";
|
|
42
|
+
declare const TOKEMAK_RADIO_LINK = "https://www.tokemak.radio/";
|
|
43
|
+
declare const COINGECKO_LINK = "https://www.coingecko.com/en/coins/tokemak";
|
|
44
|
+
declare const TOKEMERCH_LINK = "https://tokemerch.xyz/";
|
|
45
|
+
declare const TOKEBASE_LINK = "https://tokebase.xyz/";
|
|
46
|
+
declare const RADIO_LINK = "https://www.tokemak.radio/";
|
|
47
|
+
declare const GOVERNANCE_LINK = "https://snapshot.tokemak.xyz/#/";
|
|
48
|
+
declare const CAREERS_LINK = "https://app.smartmatchjobs.com/job_searches/jobs_board?job_search_client_uuid=f99544ab-25a8-4242-a46e-57440c5342bd";
|
|
49
|
+
declare const AUDITS_LINK = "https://docs.tokemak.xyz/developer-docs/security-and-audits";
|
|
50
|
+
declare const BUG_BOUNTY_LINK = "https://r.xyz/bug-bounty/programs/tokemak";
|
|
51
|
+
declare const SPLASH_WEBSITE_LINK = "https://www.tokemak.xyz/";
|
|
52
|
+
declare const V1_SPLASH_LINK = "https://v1.tokemak.xyz/";
|
|
53
|
+
declare const V1_APP_LINK = "https://v1.tokemak.xyz/";
|
|
54
|
+
declare const V2_APP_LINK = "https://app.tokemak.xyz/";
|
|
55
|
+
declare const V2_MARKETPLACE_LINK = "https://marketplace.tokemak.xyz/";
|
|
56
|
+
declare const BLOG_WEBSITE_LINK = "https://blog.tokemak.xyz/";
|
|
57
|
+
declare const TERMS_OF_SERVICE_LINK = "https://app.tokemak.xyz/terms";
|
|
58
|
+
declare const TALLY_LINK = "tally.so";
|
|
59
|
+
declare const V2_ANNOUNCEMENT_ARTICLE_LINK = "https://blog.tokemak.xyz/post/autopilot-guarded-launch-announcement";
|
|
60
|
+
declare const ACCTOKE_DOCS_LINK = "https://docs.tokemak.xyz/toke/acctoke";
|
|
61
|
+
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";
|
|
62
|
+
declare const HALBORN_LINK = "https://www.halborn.com/";
|
|
63
|
+
declare const IMMUNEFI_LINK = "https://immunefi.com/";
|
|
64
|
+
declare const SHERLOCK_LINK = "https://sherlock.xyz/";
|
|
65
|
+
declare const CERTORA_LINK = "https://www.certora.com/";
|
|
66
|
+
declare const ETHERSCAN_LINK = "https://etherscan.io/";
|
|
67
|
+
declare const BASESCAN_LINK = "https://basescan.org/";
|
|
68
|
+
declare const HEXENS_LINK = "https://hexens.io/";
|
|
69
|
+
declare const CURVE_POOL_LINK = "https://curve.finance/#/ethereum/pools/factory-crypto-55/swap";
|
|
70
|
+
declare const SUSHI_SWAP_LINK = "https://www.sushi.com/swap?chainId=1&token0=NATIVE&token1=0x2e9d63788249371f1DFC918a52f8d799F4a38C94&swapAmount=";
|
|
71
|
+
declare const INCH_SWAP_LINK = "https://app.1inch.io/#/1/simple/swap/ETH/TOKE";
|
|
72
|
+
declare const COW_SWAP_LINK = "https://swap.cow.fi/#/1/swap/ETH/TOKE";
|
|
73
|
+
declare const LLAMASWAP_LINK = "https://swap.defillama.com/?chain=ethereum&from=0x0000000000000000000000000000000000000000&to=0x2e9d63788249371f1dfc918a52f8d799f4a38c94";
|
|
74
|
+
declare const SUSHI_LP_LINK = "https://www.sushi.com/ethereum/pool/v2/0xd4e7a6e2d03e4e48dfc27dd3f46df1c176647e38/add";
|
|
75
|
+
declare const CURVE_LP_LINK = "https://curve.finance/#/ethereum/pools/factory-crypto-55/deposit";
|
|
76
|
+
declare const CONVEX_STAKE_LINK = "https://curve.convexfinance.com/stake/ethereum/99";
|
|
77
|
+
declare const CONVEX_CLAIM_LINK = "https://curve.convexfinance.com/claim";
|
|
78
|
+
|
|
79
|
+
declare const TOKEMAK_PROD_REWARDS_URL = "https://auto-rewards-prod-bucket-pool-stats-api-tokemakxyz.s3.amazonaws.com/current.json";
|
|
80
|
+
declare const TOKEMAK_ACCTOKE_SUBGRAPH_URL = "https://subgraph.satsuma-prod.com/ba2506a7b20f/tokemak/AccToke/api";
|
|
81
|
+
declare const TOKEMAK_LAUNCH_TIMESTAMP = 1726491784;
|
|
82
|
+
declare const TOKEMAK_LAUNCH_TIMESTAMP_1_DAY_BEFORE = 1726420573;
|
|
83
|
+
declare const TOKEMAK_SWAP_PRICING_URL = "https://swaps-pricing.tokemaklabs.com/price";
|
|
84
|
+
declare const TOKEMAK_PRICES_STAGING_URL = "https://generic-swaps-prices-infra-staging-v2.tokemak.workers.dev/prices";
|
|
85
|
+
declare const TOKEMAK_SWAP_QUOTE_URL = "https://swaps-pricing.tokemaklabs.com/swap-quote-v2";
|
|
86
|
+
declare const TOKEMAK_GENSTRAT_APRS_API_URL = "https://genstrat-aprs.tokemaklabs.com/api/aprs";
|
|
87
|
+
declare const TOKEMAK_DYNAMIC_SWAP_ROUTES_URL = "https://dynamic-swap-routes.tokemaklabs.com";
|
|
88
|
+
|
|
89
|
+
declare const LOCK_FAQS: {
|
|
90
|
+
question: string;
|
|
91
|
+
answer: react_jsx_runtime.JSX.Element;
|
|
92
|
+
}[];
|
|
93
|
+
|
|
94
|
+
declare const TOOLTIPS: {
|
|
95
|
+
AUTO_REBALANCED: string;
|
|
96
|
+
AUTO_COMPOUNDED: string;
|
|
97
|
+
OPTIMIZED_YIELD: string;
|
|
98
|
+
LEVERAGE_FREE: string;
|
|
99
|
+
TRANSPARENT: string;
|
|
100
|
+
AUDITED: string;
|
|
101
|
+
PARTIAL_SYSTEM_ACTIVE: string;
|
|
102
|
+
TOTAL_ETH: string;
|
|
103
|
+
NAV_PER_SHARE: string;
|
|
104
|
+
IDLE_ETH: string;
|
|
105
|
+
TVL: string;
|
|
106
|
+
TOTAL_TOKE: string;
|
|
107
|
+
TOTAL_EMISSIONS_PER_DAY: string;
|
|
108
|
+
TOTAL_AUTOETH_DISTRIBUTED: string;
|
|
109
|
+
UNLOCK_REQUEST_PERIOD: string;
|
|
110
|
+
MINIMUM_LOCK_DURATION: string;
|
|
111
|
+
NEXT_UNLOCK_REQUEST_PERIOD: string;
|
|
112
|
+
STARTS_EARNING_AUTOETH: string;
|
|
113
|
+
AVAILABLE_TO_UNLOCK: string;
|
|
114
|
+
ACC_TOKE: string;
|
|
115
|
+
APR: string;
|
|
116
|
+
CURRENT_AUTO_RELOCK: string;
|
|
117
|
+
NEW_AUTO_RELOCK: string;
|
|
118
|
+
GAS_FEE: string;
|
|
119
|
+
CONVEX_TO_EARN: string;
|
|
120
|
+
STARTS_EARNING_TOKE: string;
|
|
121
|
+
AVAILABLE_TO_UNSTAKE: string;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
declare const layerzeroScan = "https://layerzeroscan.com/";
|
|
125
|
+
declare const SUPPORTED_TOKE_CHAINS: INetwork[];
|
|
126
|
+
|
|
127
|
+
declare const MIN_STOKE_MONTHS = 1;
|
|
128
|
+
declare const MAX_STOKE_MONTHS = 4;
|
|
129
|
+
declare const SUPPORTED_STOKE_PROD_CHAINS: _tokemak_tokenlist.INetwork[];
|
|
130
|
+
declare const SUPPORTED_STOKE_DEV_CHAINS: _tokemak_tokenlist.INetwork[];
|
|
131
|
+
declare const SUPPORTED_STOKE_CHAINS: _tokemak_tokenlist.INetwork[];
|
|
132
|
+
|
|
133
|
+
declare const SUPPORTED_PROD_CHAINS: INetwork[];
|
|
134
|
+
declare const SUPPORTED_DEV_CHAINS: INetwork[];
|
|
135
|
+
declare const SUPPORTED_CHAINS: INetwork[];
|
|
136
|
+
|
|
137
|
+
export { ACCTOKE_DOCS_LINK, AUDITS_LINK, 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, DISCORD_LINK, ETHERSCAN_LINK, GITBOOK_LINK_V1, GITBOOK_LINK_V2, GITHUB_LINK, GOVERNANCE_LINK, HALBORN_LINK, HEXENS_LINK, IMMUNEFI_LINK, INCH_SWAP_LINK, LLAMASWAP_LINK, LOCK_FAQS, MAX_STOKE_MONTHS, MEDIUM_LINK, MIN_STOKE_MONTHS, RADIO_LINK, SHERLOCK_LINK, 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, 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, TOKE_CURVE_POOL_ID, TOOLTIPS, TWITTER_LINK, V1_APP_LINK, V1_SPLASH_LINK, V2_ANNOUNCEMENT_ARTICLE_LINK, V2_APP_LINK, V2_MARKETPLACE_LINK, V2_TOUR_LINK, layerzeroScan };
|