@ape.swap/bonds-sdk 1.0.220 → 1.0.221
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/components/Bonds/Bonds.js +5 -5
- package/dist/components/Tooltip/ButtonsRow.js +1 -1
- package/dist/components/uikit-sdk/Tag/ListTag.d.ts +4 -0
- package/dist/components/uikit-sdk/Tag/ListTag.js +20 -0
- package/dist/components/uikit-sdk/Tag/Tag.d.ts +4 -0
- package/dist/components/uikit-sdk/Tag/Tag.js +42 -0
- package/dist/components/uikit-sdk/Tag/index.d.ts +3 -0
- package/dist/components/uikit-sdk/Tag/index.js +2 -0
- package/dist/components/uikit-sdk/Tag/styles.d.ts +9 -0
- package/dist/components/uikit-sdk/Tag/styles.js +44 -0
- package/dist/components/uikit-sdk/Tag/types.d.ts +48 -0
- package/dist/components/uikit-sdk/Tag/types.js +34 -0
- package/dist/components/uikit-sdk/index.d.ts +1 -0
- package/dist/components/uikit-sdk/index.js +1 -0
- package/dist/enum/apeswaplists.d.ts +419 -0
- package/dist/enum/apeswaplists.js +1 -0
- package/package.json +1 -1
- package/dist/enum/chains.d.ts +0 -17
- package/dist/enum/chains.js +0 -18
|
@@ -57,12 +57,12 @@ import getTimePeriods from '../../utils/getTimePeriods';
|
|
|
57
57
|
import { defaultTheme } from '../../theme';
|
|
58
58
|
import '../../scss/Bonds.scss';
|
|
59
59
|
import { BigNumber } from 'bignumber.js';
|
|
60
|
-
import { ChainId } from '../../enum/
|
|
60
|
+
import { ChainId } from '../../enum/apeswaplists';
|
|
61
61
|
import ProgressBarWrapper from '../ProgressBar/ProgressBarWrapper';
|
|
62
62
|
import ProgressBar from '../ProgressBar/ProgressBar';
|
|
63
63
|
import { formatDollar, formatValue } from '../../utils/formatNumbers';
|
|
64
64
|
import { TooltipText } from '../../enum/tooltips';
|
|
65
|
-
import { TooltipBubble, Svg } from '../uikit-sdk';
|
|
65
|
+
import { TooltipBubble, Svg, ListTag } from '../uikit-sdk';
|
|
66
66
|
import Tooltip from '../Tooltip/Tooltip';
|
|
67
67
|
import { BLOCK_EXPLORER } from '../../config/constants/chains';
|
|
68
68
|
var Bonds = function (_a) {
|
|
@@ -187,8 +187,8 @@ var Bonds = function (_a) {
|
|
|
187
187
|
return "".concat(explorerLink, "/address/").concat(bond === null || bond === void 0 ? void 0 : bond.billAddress);
|
|
188
188
|
};
|
|
189
189
|
return (_jsxs(ThemeUIProvider, __assign({ theme: defaultTheme }, { children: [isActive && account && _jsx("p", { children: account }), isActive && account && _jsx("button", __assign({ onClick: handleApprove }, { children: "Approve USDT" })), _jsxs(Flex, __assign({ className: "container table-container" }, { children: [_jsxs(Flex, __assign({ className: "container header-container" }, { children: [_jsx(Flex, __assign({ className: "column column-token" }, { children: "Tokens" })), _jsx(Flex, { className: "column column-tokeninfo" }), _jsx(Flex, __assign({ className: "column column-discount" }, { children: _jsxs(TooltipBubble, __assign({ body: _jsx(Flex, { children: TooltipText.Discount }), width: "230px", placement: "bottomLeft", transformTip: "translate(18%, -4%)" }, { children: ["Discount", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }))] })) })), _jsx(Flex, __assign({ className: "column column-arr" }, { children: _jsxs(TooltipBubble, __assign({ body: _jsx(Flex, { children: TooltipText.ARR }), width: "230px", placement: "bottomLeft", transformTip: "translate(8%, -5%)" }, { children: ["ARR", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }))] })) })), _jsx(Flex, __assign({ className: "column column-term" }, { children: _jsxs(TooltipBubble, __assign({ body: _jsx(Flex, { children: TooltipText.Terms }), width: "230px", placement: "bottomRight", transformTip: "translate(11%, -5%)" }, { children: ["Terms", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }))] })) })), _jsx(Flex, __assign({ className: "column column-tokensremaining" }, { children: _jsxs(TooltipBubble, __assign({ body: _jsx(Flex, { children: TooltipText.TokensRemaining }), width: "230px", placement: "bottomRight", transformTip: "translate(12%, -4%)" }, { children: ["Tokens Remaining", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }))] })) })), _jsx(Flex, { className: "column column-hotbond" })] })), sortedBonds.map(function (bond) {
|
|
190
|
-
var _a, _b, _c, _d, _e;
|
|
191
|
-
return (_jsxs(Flex, __assign({ className: "container bondrow-container", onClick: function () { return rowClick(bond); } }, { children: [_jsx(Flex, __assign({ className: "column column-token" }, { children: bond.showcaseTokenName })), _jsxs(Flex, __assign({ className: "column column-tokeninfo" }, { children: [_jsx(TooltipBubble, __assign({ body: _jsx(Tooltip, { tokenContract: (bond === null || bond === void 0 ? void 0 : bond.payoutToken) || '', secondURL: getBillContractURL(bond), secondURLTitle: 'View Bond Contract', thirdURL: "https://dashboard.ape.bond/bond/".concat((_a = bond === null || bond === void 0 ? void 0 : bond.billAddress) === null || _a === void 0 ? void 0 : _a.toLowerCase()), thirdURLTitle: 'View Insights', twitter: bond === null || bond === void 0 ? void 0 : bond.twitter, projectLink: bond === null || bond === void 0 ? void 0 : bond.projectLink, audit: bond === null || bond === void 0 ? void 0 : bond.audit, chain: (_b = bond.chainId) !== null && _b !== void 0 ? _b : ChainId.BSC }), width: "205px", placement: "bottomRight", transformTip: "translate(11%, 0%)" }, { children: _jsx(Svg, { icon: "infoSolid", width: "12px" }) })), _jsx(Flex, __assign({ className: "column-tokeninfo icon" }, { children: _jsx(Svg, { icon: "expand", width: "15px", color: "white2" }) }))] })), _jsx(Flex, __assign({ className: "column column-discount ".concat(getDiscountColor(bond === null || bond === void 0 ? void 0 : bond.discount)) }, { children: "".concat((
|
|
190
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
191
|
+
return (_jsxs(Flex, __assign({ className: "container bondrow-container", onClick: function () { return rowClick(bond); } }, { children: [_jsx(Flex, __assign({ className: "column column-token" }, { children: bond.showcaseTokenName })), _jsxs(Flex, __assign({ className: "column column-tokeninfo" }, { children: [_jsx(TooltipBubble, __assign({ body: _jsx(Tooltip, { tokenContract: (bond === null || bond === void 0 ? void 0 : bond.payoutToken) || '', secondURL: getBillContractURL(bond), secondURLTitle: 'View Bond Contract', thirdURL: "https://dashboard.ape.bond/bond/".concat((_a = bond === null || bond === void 0 ? void 0 : bond.billAddress) === null || _a === void 0 ? void 0 : _a.toLowerCase()), thirdURLTitle: 'View Insights', twitter: bond === null || bond === void 0 ? void 0 : bond.twitter, projectLink: bond === null || bond === void 0 ? void 0 : bond.projectLink, audit: bond === null || bond === void 0 ? void 0 : bond.audit, chain: (_b = bond.chainId) !== null && _b !== void 0 ? _b : ChainId.BSC }), width: "205px", placement: "bottomRight", transformTip: "translate(11%, 0%)" }, { children: _jsx(Svg, { icon: "infoSolid", width: "12px" }) })), _jsx(Flex, __assign({ className: "column-tokeninfo icon" }, { children: _jsx(Svg, { icon: "expand", width: "15px", color: "white2" }) })), _jsx(ListTag, { text: (_c = bond === null || bond === void 0 ? void 0 : bond.tags) === null || _c === void 0 ? void 0 : _c[0], variant: ((_d = bond === null || bond === void 0 ? void 0 : bond.tags) === null || _d === void 0 ? void 0 : _d[0]) === 'Cex Fund' ? 'cex_fund' : 'liquidity' })] })), _jsx(Flex, __assign({ className: "column column-discount ".concat(getDiscountColor(bond === null || bond === void 0 ? void 0 : bond.discount)) }, { children: "".concat((_e = bond === null || bond === void 0 ? void 0 : bond.discount) === null || _e === void 0 ? void 0 : _e.toFixed(2), "%") })), _jsx(Flex, __assign({ className: "column column-arr" }, { children: "".concat(((((_f = bond === null || bond === void 0 ? void 0 : bond.discount) !== null && _f !== void 0 ? _f : 0) * 365) / vestingTime(bond.vestingTerm).days).toFixed(2), "%") })), _jsx(Flex, __assign({ className: "column column-term" }, { children: vestingTime(bond.vestingTerm).days ? "".concat(vestingTime(bond.vestingTerm).days, " D") : '-' })), _jsx(Flex, __assign({ className: "column column-tokensremaining" }, { children: _jsx(ProgressBarWrapper, { title: '', value: _jsx(ProgressBar, { value: remainingPercentage(bond) }), style: {
|
|
192
192
|
width: '127px',
|
|
193
193
|
height: '25px',
|
|
194
194
|
flexDirection: 'column',
|
|
@@ -197,7 +197,7 @@ var Bonds = function (_a) {
|
|
|
197
197
|
}, showTooltip: true, toolTip: "".concat(remainingTokensFormat(bond), " ").concat(bond.payoutTokenName, " (").concat(formatDollar({
|
|
198
198
|
num: remainingTokensUsd(bond).toNumber(),
|
|
199
199
|
isPrice: true,
|
|
200
|
-
}), ")") }) })), _jsx(Flex, __assign({ className: "column column-hotbond" }, { children: _jsx(Flex, __assign({ className: "column column-icon" }, { children: hotBonds.includes(bond.billAddress.toLowerCase()) && ((
|
|
200
|
+
}), ")") }) })), _jsx(Flex, __assign({ className: "column column-hotbond" }, { children: _jsx(Flex, __assign({ className: "column column-icon" }, { children: hotBonds.includes(bond.billAddress.toLowerCase()) && ((_g = bond.discount) !== null && _g !== void 0 ? _g : 0) > 0 && (_jsx(Svg, { icon: "hot", width: "20px" })) })) }))] }), bond.billAddress));
|
|
201
201
|
})] }))] })));
|
|
202
202
|
};
|
|
203
203
|
export default Bonds;
|
|
@@ -13,7 +13,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
|
|
|
13
13
|
import { styles } from './styles';
|
|
14
14
|
import { useWeb3React } from '@web3-react/core';
|
|
15
15
|
import { Flex, Svg, Text } from '../uikit-sdk';
|
|
16
|
-
import { ChainId } from '../../enum/
|
|
16
|
+
import { ChainId } from '../../enum/apeswaplists';
|
|
17
17
|
import { Link } from 'theme-ui';
|
|
18
18
|
var ButtonsRow = function (_a) {
|
|
19
19
|
var projectLink = _a.projectLink, twitter = _a.twitter, bubble = _a.bubble, audit = _a.audit;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
|
|
13
|
+
import { styles } from './styles';
|
|
14
|
+
import { lpTags } from './types';
|
|
15
|
+
import Flex from '../Flex';
|
|
16
|
+
var ListTag = function (_a) {
|
|
17
|
+
var variant = _a.variant, _b = _a.text, text = _b === void 0 ? '' : _b, styleCustom = _a.styleCustom;
|
|
18
|
+
return (_jsx(Flex, __assign({ variant: variant, sx: __assign(__assign({}, styles.listTagCont({ variant: variant })), styleCustom) }, { children: text ? (_jsx(Flex, __assign({ sx: styles.tagText({ variant: variant }) }, { children: text }))) : (_jsxs(Flex, __assign({ sx: styles.tagText({ variant: variant }) }, { children: [variant.toUpperCase().replace('_', ' '), " ", lpTags.includes(variant) && 'LP'] }))) })));
|
|
19
|
+
};
|
|
20
|
+
export default ListTag;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsxs as _jsxs } from "theme-ui/jsx-runtime";
|
|
24
|
+
import React from 'react';
|
|
25
|
+
import { StyledTag } from './styles';
|
|
26
|
+
var Tag = function (_a) {
|
|
27
|
+
var startIcon = _a.startIcon, endIcon = _a.endIcon, children = _a.children, props = __rest(_a, ["startIcon", "endIcon", "children"]);
|
|
28
|
+
return (_jsxs(StyledTag, __assign({}, props, { children: [React.isValidElement(startIcon) &&
|
|
29
|
+
React.cloneElement(startIcon, {
|
|
30
|
+
//@ts-ignore
|
|
31
|
+
mr: '0.5rem',
|
|
32
|
+
}), children, React.isValidElement(endIcon) &&
|
|
33
|
+
React.cloneElement(endIcon, {
|
|
34
|
+
//@ts-ignore
|
|
35
|
+
ml: '0.5rem',
|
|
36
|
+
})] })));
|
|
37
|
+
};
|
|
38
|
+
Tag.defaultProps = {
|
|
39
|
+
variant: 'primary',
|
|
40
|
+
outline: false,
|
|
41
|
+
};
|
|
42
|
+
export default Tag;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ThemeUIStyleObject } from 'theme-ui';
|
|
3
|
+
export declare const StyledTag: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const styles: Record<'listTagCont' | 'tagText', (props: {
|
|
8
|
+
variant?: any;
|
|
9
|
+
}) => ThemeUIStyleObject>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import styled from '@emotion/styled';
|
|
6
|
+
var getThemeTextColor = function (_a) {
|
|
7
|
+
var outline = _a.outline, _b = _a.variant, variant = _b === void 0 ? 'primary' : _b;
|
|
8
|
+
return (outline ? variant : '#ffffff');
|
|
9
|
+
};
|
|
10
|
+
export var StyledTag = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: 16px;\n color: ", ";\n display: inline-flex;\n font-size: 14px;\n font-weight: 300;\n height: 28px;\n line-height: 1.5;\n padding: 0 8px;\n white-space: nowrap;\n\n svg {\n fill: ", ";\n }\n"], ["\n align-items: center;\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: 16px;\n color: ", ";\n display: inline-flex;\n font-size: 14px;\n font-weight: 300;\n height: 28px;\n line-height: 1.5;\n padding: 0 8px;\n white-space: nowrap;\n\n svg {\n fill: ", ";\n }\n"])), function (_a) {
|
|
11
|
+
var outline = _a.outline, _b = _a.variant, variant = _b === void 0 ? 'primary' : _b;
|
|
12
|
+
return (outline ? 'transparent' : variant);
|
|
13
|
+
}, function (_a) {
|
|
14
|
+
var _b = _a.variant, variant = _b === void 0 ? 'primary' : _b;
|
|
15
|
+
return variant;
|
|
16
|
+
}, getThemeTextColor, getThemeTextColor);
|
|
17
|
+
export var styles = {
|
|
18
|
+
listTagCont: function (_a) {
|
|
19
|
+
var _b = _a.variant, variant = _b === void 0 ? 'ape' : _b;
|
|
20
|
+
return ({
|
|
21
|
+
alignItems: 'center',
|
|
22
|
+
background: function (theme) { var _a, _b, _c, _d, _e; return (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.listTagBg) === null || _b === void 0 ? void 0 : _b[variant]) !== null && _c !== void 0 ? _c : (_e = (_d = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _d === void 0 ? void 0 : _d.listTagBg) === null || _e === void 0 ? void 0 : _e.default; },
|
|
23
|
+
borderRadius: '3px',
|
|
24
|
+
display: 'inline-flex',
|
|
25
|
+
height: '15px',
|
|
26
|
+
padding: '0 5px',
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
tagText: function (_a) {
|
|
30
|
+
var _b = _a.variant, variant = _b === void 0 ? 'ape' : _b;
|
|
31
|
+
return ({
|
|
32
|
+
color: function (theme) {
|
|
33
|
+
var _a, _b, _c, _d, _e;
|
|
34
|
+
return ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.listTagTextColor) === null || _b === void 0 ? void 0 : _b[variant])
|
|
35
|
+
? (_d = (_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.listTagTextColor) === null || _d === void 0 ? void 0 : _d[variant]
|
|
36
|
+
: (_e = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _e === void 0 ? void 0 : _e.primaryBright;
|
|
37
|
+
},
|
|
38
|
+
fontSize: '10px',
|
|
39
|
+
fontWeight: 600,
|
|
40
|
+
lineHeight: '15px',
|
|
41
|
+
});
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
var templateObject_1;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SpaceProps } from 'styled-system';
|
|
3
|
+
import { ThemeUIStyleObject } from 'theme-ui';
|
|
4
|
+
export declare const variants: {
|
|
5
|
+
readonly PRIMARY: "primary";
|
|
6
|
+
readonly SUCCESS: "success";
|
|
7
|
+
readonly BINANCE: "binance";
|
|
8
|
+
readonly ERROR: "error";
|
|
9
|
+
readonly SECONDARY: "secondary";
|
|
10
|
+
readonly TEXTDISABLED: "textDisabled";
|
|
11
|
+
readonly TEXTSUBTLE: "textSubtle";
|
|
12
|
+
};
|
|
13
|
+
export type Variants = (typeof variants)[keyof typeof variants];
|
|
14
|
+
export interface TagProps extends SpaceProps {
|
|
15
|
+
variant?: Variants;
|
|
16
|
+
startIcon?: ReactNode;
|
|
17
|
+
endIcon?: ReactNode;
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
outline?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const listTagVariants: {
|
|
22
|
+
readonly APE: "ape";
|
|
23
|
+
readonly UNI: "uni";
|
|
24
|
+
readonly ARK: "ark";
|
|
25
|
+
readonly NEW: "new";
|
|
26
|
+
readonly HOT: "hot";
|
|
27
|
+
readonly AUTO: "auto";
|
|
28
|
+
readonly MAX: "max";
|
|
29
|
+
readonly yield: "yield";
|
|
30
|
+
readonly BETA: "beta";
|
|
31
|
+
readonly LIQUIDITY: "liquidity";
|
|
32
|
+
readonly RESERVE: "reserve";
|
|
33
|
+
readonly LAUNCH: "launch";
|
|
34
|
+
readonly bondLp: "bondLp";
|
|
35
|
+
readonly migration: "migration";
|
|
36
|
+
readonly CEX_FUND: "cex_fund";
|
|
37
|
+
readonly QuickswapV2: "QuickSwap v2";
|
|
38
|
+
readonly PancakeSwapV2: "PancakeSwap v2";
|
|
39
|
+
readonly expired: "expired";
|
|
40
|
+
readonly permalock: "permalock";
|
|
41
|
+
};
|
|
42
|
+
export type ListTagVariants = (typeof listTagVariants)[keyof typeof listTagVariants];
|
|
43
|
+
export interface ListTagProps extends SpaceProps {
|
|
44
|
+
variant: ListTagVariants;
|
|
45
|
+
text?: string;
|
|
46
|
+
styleCustom?: ThemeUIStyleObject;
|
|
47
|
+
}
|
|
48
|
+
export declare const lpTags: string[];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { LiquidityDex } from '../../../enum/apeswaplists';
|
|
3
|
+
export var variants = {
|
|
4
|
+
PRIMARY: 'primary',
|
|
5
|
+
SUCCESS: 'success',
|
|
6
|
+
BINANCE: 'binance',
|
|
7
|
+
ERROR: 'error',
|
|
8
|
+
SECONDARY: 'secondary',
|
|
9
|
+
TEXTDISABLED: 'textDisabled',
|
|
10
|
+
TEXTSUBTLE: 'textSubtle',
|
|
11
|
+
};
|
|
12
|
+
export var listTagVariants = (_a = {
|
|
13
|
+
APE: 'ape',
|
|
14
|
+
UNI: 'uni',
|
|
15
|
+
ARK: 'ark',
|
|
16
|
+
NEW: 'new',
|
|
17
|
+
HOT: 'hot',
|
|
18
|
+
AUTO: 'auto',
|
|
19
|
+
MAX: 'max',
|
|
20
|
+
yield: 'yield',
|
|
21
|
+
BETA: 'beta',
|
|
22
|
+
LIQUIDITY: 'liquidity',
|
|
23
|
+
RESERVE: 'reserve',
|
|
24
|
+
LAUNCH: 'launch',
|
|
25
|
+
bondLp: 'bondLp',
|
|
26
|
+
migration: 'migration',
|
|
27
|
+
CEX_FUND: 'cex_fund'
|
|
28
|
+
},
|
|
29
|
+
_a[LiquidityDex.QuickswapV2] = 'QuickSwap v2',
|
|
30
|
+
_a[LiquidityDex.PancakeSwapV2] = 'PancakeSwap v2',
|
|
31
|
+
_a.expired = 'expired',
|
|
32
|
+
_a.permalock = 'permalock',
|
|
33
|
+
_a);
|
|
34
|
+
export var lpTags = ['ape', 'uni', 'ark'];
|
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
export declare enum QuoteToken {
|
|
2
|
+
'BNB' = "BNB",
|
|
3
|
+
'BANANA' = "BANANA",
|
|
4
|
+
'BUSD' = "BUSD",
|
|
5
|
+
'TWT' = "TWT",
|
|
6
|
+
'UST' = "UST",
|
|
7
|
+
'ETH' = "ETH",
|
|
8
|
+
'USDT' = "USDT"
|
|
9
|
+
}
|
|
10
|
+
export declare enum PoolCategory {
|
|
11
|
+
'COMMUNITY' = "Community",
|
|
12
|
+
'APEZONE' = "ApeZone",
|
|
13
|
+
'CORE' = "Core",
|
|
14
|
+
'REAL_YIELD' = "Real Yield",
|
|
15
|
+
'JUNGLE' = "Jungle"
|
|
16
|
+
}
|
|
17
|
+
export declare enum ChainId {
|
|
18
|
+
MAINNET = 1,
|
|
19
|
+
MATIC = 137,
|
|
20
|
+
MATIC_TESTNET = 80001,
|
|
21
|
+
BSC = 56,
|
|
22
|
+
BSC_TESTNET = 97,
|
|
23
|
+
TLOS = 40,
|
|
24
|
+
ARBITRUM = 42161,
|
|
25
|
+
INEVM_TESTNET = 2424,
|
|
26
|
+
INEVM = 2525,
|
|
27
|
+
SEPOLIA = 11155111,
|
|
28
|
+
LINEA = 59144,
|
|
29
|
+
LIGHTLINK = 1890,
|
|
30
|
+
IOTA_TESTNET = 1075,
|
|
31
|
+
IOTA = 8822,
|
|
32
|
+
BASE = 8453
|
|
33
|
+
}
|
|
34
|
+
export declare enum LiquidityDex {
|
|
35
|
+
ApeSwapV2 = "ApeSwapV2",
|
|
36
|
+
ApeSwapV3 = "ApeSwapV3",
|
|
37
|
+
PancakeSwapV2 = "PancakeSwapV2",
|
|
38
|
+
PancakeSwapV3 = "PancakeSwapV3",
|
|
39
|
+
SushiSwapV3 = "SushiSwapV3",
|
|
40
|
+
UniswapV2 = "UniswapV2",
|
|
41
|
+
ThenaV1 = "ThenaV1",
|
|
42
|
+
/**
|
|
43
|
+
* Initially, LiquidityDex was for the price getter and that checks algebra pricing
|
|
44
|
+
* (gamma wraps over it so no pricing there).
|
|
45
|
+
* Now we use it for zapVersion as well where Gamma is better.
|
|
46
|
+
*/
|
|
47
|
+
Algebra = "Algebra",
|
|
48
|
+
QuickswapV2 = "QuickswapV2",
|
|
49
|
+
UniswapV3 = "UniswapV3",
|
|
50
|
+
External = "External",
|
|
51
|
+
Spartadex = "Spartadex",
|
|
52
|
+
Nile = "Nile",
|
|
53
|
+
XFAI = "XFAI",
|
|
54
|
+
Lynex = "Lynex",
|
|
55
|
+
Metavault = "Metavault",
|
|
56
|
+
Elektrik = "Elektrik",
|
|
57
|
+
Synthswap = "Synthswap",
|
|
58
|
+
Aerodrome = "Aerodrome",
|
|
59
|
+
SmarDex = "SmarDex",
|
|
60
|
+
MagicSea = "MagicSea"
|
|
61
|
+
}
|
|
62
|
+
export declare enum IchiSupportedDex {
|
|
63
|
+
Ascent = "Ascent",
|
|
64
|
+
Blueprint = "Blueprint",
|
|
65
|
+
Cleo = "Cleo",
|
|
66
|
+
Equalizer = "Equalizer",
|
|
67
|
+
Fenix = "Fenix",
|
|
68
|
+
Forge = "Forge",
|
|
69
|
+
Henjin = "Henjin",
|
|
70
|
+
Kinetix = "Kinetix",
|
|
71
|
+
Linehub = "Linehub",
|
|
72
|
+
Lynex = "Lynex",
|
|
73
|
+
Metavault = "Metavault",
|
|
74
|
+
Nile = "Nile",
|
|
75
|
+
Pancakeswap = "PancakeSwap",
|
|
76
|
+
Quickswap = "QuickSwap",
|
|
77
|
+
Ramses = "Ramses",
|
|
78
|
+
Retro = "Retro",
|
|
79
|
+
SaucerSwap = "SaucerSwap",
|
|
80
|
+
SpiritSwap = "SpiritSwap",
|
|
81
|
+
Sushiswap = "SushiSwap",
|
|
82
|
+
Thena = "Thena",
|
|
83
|
+
Thirdfy = "Thirdfy",
|
|
84
|
+
UniswapV3 = "Uniswap V3",
|
|
85
|
+
Velocore = "Velocore",
|
|
86
|
+
XSwap = "XSwap"
|
|
87
|
+
}
|
|
88
|
+
export declare enum ZapVersion {
|
|
89
|
+
External = "External",
|
|
90
|
+
ZapV1 = "ZapV1",
|
|
91
|
+
Wido = "Wido",
|
|
92
|
+
SoulZap = "SoulZap",
|
|
93
|
+
SoulZapApi = "SoulZapApi"
|
|
94
|
+
}
|
|
95
|
+
export declare enum Protocols {
|
|
96
|
+
Both = 1,
|
|
97
|
+
V2 = 2,
|
|
98
|
+
V3 = 3,
|
|
99
|
+
Algebra = 4,
|
|
100
|
+
Gamma = 5,
|
|
101
|
+
Steer = 6,
|
|
102
|
+
Solidly = 7,
|
|
103
|
+
XFAI = 8
|
|
104
|
+
}
|
|
105
|
+
export interface FarmStyles {
|
|
106
|
+
deprecated: string;
|
|
107
|
+
warning: string;
|
|
108
|
+
featured: string;
|
|
109
|
+
inactive: string;
|
|
110
|
+
}
|
|
111
|
+
export interface Token {
|
|
112
|
+
symbol: string;
|
|
113
|
+
address: Partial<Record<ChainId, string>>;
|
|
114
|
+
active: boolean;
|
|
115
|
+
decimals?: Partial<Record<ChainId, number | null>>;
|
|
116
|
+
dontFetch?: boolean;
|
|
117
|
+
lpToken?: boolean;
|
|
118
|
+
price?: number;
|
|
119
|
+
liquidityDex?: Partial<Record<ChainId, LiquidityDex>>;
|
|
120
|
+
getLpUrl?: Partial<Record<ChainId, string>>;
|
|
121
|
+
ichiUnderlyingDex?: IchiSupportedDex;
|
|
122
|
+
}
|
|
123
|
+
export interface MasterChef {
|
|
124
|
+
pid: Partial<Record<ChainId, number>>;
|
|
125
|
+
address: Partial<Record<ChainId, string>>;
|
|
126
|
+
rewardsPerBlock: Partial<Record<ChainId, string>>;
|
|
127
|
+
rewardToken: Token;
|
|
128
|
+
}
|
|
129
|
+
export declare enum BillVersion {
|
|
130
|
+
V1 = "V1",
|
|
131
|
+
V2 = "V2",
|
|
132
|
+
FixedPrice = "FixedPrice",
|
|
133
|
+
V3 = "V3",
|
|
134
|
+
TieredSale = "TieredSale",
|
|
135
|
+
FlashTieredSale = "FlashTieredSale"
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* This enum defines the art collection used to generate the art for a bill (bond).
|
|
139
|
+
*
|
|
140
|
+
* NOTE: Collections start at 1. The collection number provides a method to make new releases around
|
|
141
|
+
* the same theme or project.
|
|
142
|
+
*/
|
|
143
|
+
export declare enum BillArtCollection {
|
|
144
|
+
ApeSwap_Collection1 = "ApeSwap_Collection1",
|
|
145
|
+
Quickswap_Collection1 = "Quickswap_Collection1",
|
|
146
|
+
ApeBond_Collection1 = "ApeBond_Collection1",
|
|
147
|
+
CexFundBond_Collection1 = "CexFundBond_Collection1",
|
|
148
|
+
PlanetIX_Collection1 = "PlanetIX_Collection1",
|
|
149
|
+
ETH_Collection1 = "ETH_Collection1",
|
|
150
|
+
inEVM_Collection1 = "inEVM_Collection1",
|
|
151
|
+
AITECH_Collection1 = "AITECH_Collection1"
|
|
152
|
+
}
|
|
153
|
+
export declare const defaultBillArtCollection = BillArtCollection.ApeSwap_Collection1;
|
|
154
|
+
export declare const MigrationVestingTerms: {
|
|
155
|
+
readonly '60d': 5184000;
|
|
156
|
+
readonly '120d': 10368000;
|
|
157
|
+
readonly '180d': 15552000;
|
|
158
|
+
readonly '360d': 31104000;
|
|
159
|
+
};
|
|
160
|
+
export declare type MigrationVestingTermType = typeof MigrationVestingTerms[keyof typeof MigrationVestingTerms];
|
|
161
|
+
export interface LaunchProjectConfig {
|
|
162
|
+
index: number;
|
|
163
|
+
projectId: string;
|
|
164
|
+
projectName: string;
|
|
165
|
+
bonds: TieredSaleBondConfig[];
|
|
166
|
+
saleStartTime: string;
|
|
167
|
+
totalAllocation: string;
|
|
168
|
+
salePriceString: string;
|
|
169
|
+
vestingTimeString: string;
|
|
170
|
+
projectInfo: {
|
|
171
|
+
shortDescription: string;
|
|
172
|
+
fullDescription: string;
|
|
173
|
+
tags: string[];
|
|
174
|
+
socials: {
|
|
175
|
+
twitter: string;
|
|
176
|
+
discord?: string;
|
|
177
|
+
website: string;
|
|
178
|
+
whitepaper: string;
|
|
179
|
+
tokenomicsURL: string;
|
|
180
|
+
teaserVideo: string;
|
|
181
|
+
telegram?: string;
|
|
182
|
+
};
|
|
183
|
+
images: {
|
|
184
|
+
launchpadImg: string;
|
|
185
|
+
launchpadSmallImg: string;
|
|
186
|
+
launchpadIcon: string;
|
|
187
|
+
headerImg: string;
|
|
188
|
+
headerImgMobile: string;
|
|
189
|
+
websiteImg: string;
|
|
190
|
+
whitepaperImg: string;
|
|
191
|
+
partnersImg: string;
|
|
192
|
+
tokenomicsImg: string;
|
|
193
|
+
teaserImg: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
export interface TieredSaleBondConfig {
|
|
198
|
+
index: number;
|
|
199
|
+
contractAddress: Partial<Record<ChainId, string>>;
|
|
200
|
+
billVersion: BillVersion;
|
|
201
|
+
billType: 'fcfs' | 'oversubscription';
|
|
202
|
+
token: Token;
|
|
203
|
+
earnToken: Token;
|
|
204
|
+
billNnftAddress: Partial<Record<ChainId, string>>;
|
|
205
|
+
soldOut: boolean;
|
|
206
|
+
billArt: {
|
|
207
|
+
collection: BillArtCollection;
|
|
208
|
+
};
|
|
209
|
+
initTime: Partial<Record<ChainId, number>>;
|
|
210
|
+
finishTime: Partial<Record<ChainId, number>>;
|
|
211
|
+
redeemTime?: Partial<Record<ChainId, number>>;
|
|
212
|
+
startVestingTimestamp: Partial<Record<ChainId, number>>;
|
|
213
|
+
initPrice: Partial<Record<ChainId, number>>;
|
|
214
|
+
initialRelease: number;
|
|
215
|
+
}
|
|
216
|
+
export interface FlashBondConfig extends TieredSaleBondConfig {
|
|
217
|
+
round: string;
|
|
218
|
+
totalRaiseString: string;
|
|
219
|
+
discountString: string;
|
|
220
|
+
tierString: string;
|
|
221
|
+
}
|
|
222
|
+
export declare enum LaunchBondTiers {
|
|
223
|
+
Bronze = 0,
|
|
224
|
+
Silver = 1,
|
|
225
|
+
Gold = 2,
|
|
226
|
+
Diamond = 3,
|
|
227
|
+
Legend = 4
|
|
228
|
+
}
|
|
229
|
+
export interface BillsConfig {
|
|
230
|
+
index: number;
|
|
231
|
+
cmcId?: number;
|
|
232
|
+
chainId: ChainId;
|
|
233
|
+
contractAddress: Partial<Record<ChainId, string>>;
|
|
234
|
+
billVersion: BillVersion;
|
|
235
|
+
billType: 'liquidity' | 'reserve' | 'launch' | 'migration' | 'cex';
|
|
236
|
+
token: Token;
|
|
237
|
+
quoteToken: Token;
|
|
238
|
+
lpToken: Token;
|
|
239
|
+
earnToken: Token;
|
|
240
|
+
billNnftAddress: Partial<Record<ChainId, string>>;
|
|
241
|
+
inactive?: boolean;
|
|
242
|
+
projectLink?: string;
|
|
243
|
+
twitter?: string;
|
|
244
|
+
initTime?: Partial<Record<ChainId, number>>;
|
|
245
|
+
initPrice?: Partial<Record<ChainId, number>>;
|
|
246
|
+
audit?: string;
|
|
247
|
+
soldOut?: boolean;
|
|
248
|
+
billArt?: {
|
|
249
|
+
collection: BillArtCollection;
|
|
250
|
+
};
|
|
251
|
+
showcaseToken?: Token;
|
|
252
|
+
bondPartner?: string;
|
|
253
|
+
shortDescription?: string;
|
|
254
|
+
fullDescription?: string;
|
|
255
|
+
featuredURLS?: string[];
|
|
256
|
+
partnersURLS?: string[];
|
|
257
|
+
tags?: string[];
|
|
258
|
+
onlyPartner?: boolean;
|
|
259
|
+
vestingTerm?: number;
|
|
260
|
+
multiplier?: number;
|
|
261
|
+
}
|
|
262
|
+
export declare enum VaultVersion {
|
|
263
|
+
V1 = "V1",
|
|
264
|
+
V2 = "V2",
|
|
265
|
+
V3 = "V3"
|
|
266
|
+
}
|
|
267
|
+
export interface VaultConfig {
|
|
268
|
+
id: number;
|
|
269
|
+
pid: number;
|
|
270
|
+
type: 'MAX' | 'AUTO' | 'BURN';
|
|
271
|
+
version: VaultVersion;
|
|
272
|
+
availableChains: number[];
|
|
273
|
+
stratAddress: Partial<Record<ChainId, string>>;
|
|
274
|
+
platform: string;
|
|
275
|
+
token: Token;
|
|
276
|
+
quoteToken?: Token;
|
|
277
|
+
stakeToken: Token;
|
|
278
|
+
rewardToken: Token;
|
|
279
|
+
masterchef: MasterChef;
|
|
280
|
+
inactive?: boolean;
|
|
281
|
+
depositFee?: number;
|
|
282
|
+
rewardsInSeconds?: boolean;
|
|
283
|
+
fee?: string;
|
|
284
|
+
}
|
|
285
|
+
export interface FarmConfig {
|
|
286
|
+
pid: number;
|
|
287
|
+
lpSymbol: string;
|
|
288
|
+
lpAddresses: Partial<Record<ChainId, string>>;
|
|
289
|
+
tokenSymbol: string;
|
|
290
|
+
style?: keyof FarmStyles;
|
|
291
|
+
image?: string;
|
|
292
|
+
disableApr?: boolean;
|
|
293
|
+
tokenAddresses: Partial<Record<ChainId, string>>;
|
|
294
|
+
quoteTokenSymbol: QuoteToken;
|
|
295
|
+
quoteTokenAdresses: Partial<Record<ChainId, string>>;
|
|
296
|
+
multiplier?: string;
|
|
297
|
+
isCommunity?: boolean;
|
|
298
|
+
dual?: {
|
|
299
|
+
rewardPerBlock: number;
|
|
300
|
+
earnLabel: string;
|
|
301
|
+
endBlock: number;
|
|
302
|
+
};
|
|
303
|
+
projectLink?: string;
|
|
304
|
+
}
|
|
305
|
+
export interface PoolConfig {
|
|
306
|
+
sousId: number;
|
|
307
|
+
image?: string;
|
|
308
|
+
tokenName: string;
|
|
309
|
+
stakingToken: Token;
|
|
310
|
+
stakingLimit?: number;
|
|
311
|
+
bonusEndBlock?: number;
|
|
312
|
+
bonusEndTime?: number;
|
|
313
|
+
rewardToken: Token | null;
|
|
314
|
+
contractAddress: Partial<Record<ChainId, string>>;
|
|
315
|
+
poolCategory?: PoolCategory;
|
|
316
|
+
projectLink: string;
|
|
317
|
+
twitter?: string;
|
|
318
|
+
tokenPerBlock?: string;
|
|
319
|
+
rewardsPerSecond?: string;
|
|
320
|
+
sortOrder?: number;
|
|
321
|
+
harvest?: boolean;
|
|
322
|
+
reflect?: boolean;
|
|
323
|
+
isFinished?: boolean;
|
|
324
|
+
tokenDecimals: number;
|
|
325
|
+
displayDecimals?: number;
|
|
326
|
+
lpStaking?: boolean;
|
|
327
|
+
lpTokens?: {
|
|
328
|
+
token: Token;
|
|
329
|
+
quoteToken: Token;
|
|
330
|
+
};
|
|
331
|
+
forAdmins?: boolean;
|
|
332
|
+
emergencyWithdraw?: boolean;
|
|
333
|
+
isEarnTokenLp?: boolean;
|
|
334
|
+
zapable?: boolean;
|
|
335
|
+
audit?: string;
|
|
336
|
+
}
|
|
337
|
+
export interface DualFarmConfig {
|
|
338
|
+
pid: number;
|
|
339
|
+
network: number;
|
|
340
|
+
stakeTokenAddress: string;
|
|
341
|
+
rewarderAddress: string;
|
|
342
|
+
dualImage?: boolean;
|
|
343
|
+
stakeTokens: {
|
|
344
|
+
token0: Token;
|
|
345
|
+
token1: Token;
|
|
346
|
+
};
|
|
347
|
+
rewardTokens: {
|
|
348
|
+
token0: Token;
|
|
349
|
+
token1?: Token;
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
export interface JungleFarmConfig {
|
|
353
|
+
jungleId: number;
|
|
354
|
+
image?: string;
|
|
355
|
+
tokenName: string;
|
|
356
|
+
stakingToken: Token;
|
|
357
|
+
stakingLimit?: number;
|
|
358
|
+
bonusEndBlock?: number;
|
|
359
|
+
bonusEndTime?: number;
|
|
360
|
+
rewardToken: Token;
|
|
361
|
+
contractAddress: Partial<Record<ChainId, string>>;
|
|
362
|
+
projectLink: string;
|
|
363
|
+
twitter?: string;
|
|
364
|
+
tokenPerBlock?: string;
|
|
365
|
+
sortOrder?: number;
|
|
366
|
+
harvest?: boolean;
|
|
367
|
+
reflect?: boolean;
|
|
368
|
+
isFinished?: boolean;
|
|
369
|
+
tokenDecimals: number;
|
|
370
|
+
displayDecimals?: number;
|
|
371
|
+
lpStaking?: boolean;
|
|
372
|
+
lpTokens?: {
|
|
373
|
+
token: Token;
|
|
374
|
+
quoteToken: Token;
|
|
375
|
+
};
|
|
376
|
+
forAdmins?: boolean;
|
|
377
|
+
emergencyWithdraw?: boolean;
|
|
378
|
+
isEarnTokenLp?: boolean;
|
|
379
|
+
network: number;
|
|
380
|
+
unZapable?: boolean;
|
|
381
|
+
rewardsPerSecond?: string;
|
|
382
|
+
audit?: string;
|
|
383
|
+
}
|
|
384
|
+
export interface NfaStakingPoolConfig {
|
|
385
|
+
sousId: number;
|
|
386
|
+
tier: number;
|
|
387
|
+
rewardToken: Token;
|
|
388
|
+
contractAddress: Partial<Record<ChainId, string>>;
|
|
389
|
+
tokenPerBlock: string;
|
|
390
|
+
isFinished: boolean;
|
|
391
|
+
endBlock: number;
|
|
392
|
+
}
|
|
393
|
+
export interface IaoConfig {
|
|
394
|
+
id: string;
|
|
395
|
+
isActive: boolean;
|
|
396
|
+
isLinear: boolean;
|
|
397
|
+
address: string;
|
|
398
|
+
name: string;
|
|
399
|
+
subTitle?: string;
|
|
400
|
+
description?: string;
|
|
401
|
+
launchDate: string;
|
|
402
|
+
launchTime: string;
|
|
403
|
+
saleAmount: string;
|
|
404
|
+
raiseAmount: string;
|
|
405
|
+
totalAmountRaised?: string;
|
|
406
|
+
bananaToBurn?: string;
|
|
407
|
+
projectSiteUrl: string;
|
|
408
|
+
currency: string;
|
|
409
|
+
currencyAddress: string;
|
|
410
|
+
offeringCurrency: string;
|
|
411
|
+
tokenDecimals: number;
|
|
412
|
+
releaseBlockNumber: number;
|
|
413
|
+
vestingTime?: string;
|
|
414
|
+
vesting?: boolean;
|
|
415
|
+
startBlock?: number;
|
|
416
|
+
burnedTxUrl?: string;
|
|
417
|
+
expires?: number;
|
|
418
|
+
vestingTimeSeconds?: number;
|
|
419
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
package/dist/enum/chains.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare enum ChainId {
|
|
2
|
-
MAINNET = 1,
|
|
3
|
-
MATIC = 137,
|
|
4
|
-
MATIC_TESTNET = 80001,
|
|
5
|
-
BSC = 56,
|
|
6
|
-
BSC_TESTNET = 97,
|
|
7
|
-
TLOS = 40,
|
|
8
|
-
ARBITRUM = 42161,
|
|
9
|
-
INEVM_TESTNET = 2424,
|
|
10
|
-
INEVM = 2525,
|
|
11
|
-
SEPOLIA = 11155111,
|
|
12
|
-
LINEA = 59144,
|
|
13
|
-
LIGHTLINK = 1890,
|
|
14
|
-
IOTA_TESTNET = 1075,
|
|
15
|
-
IOTA = 8822,
|
|
16
|
-
BASE = 8453
|
|
17
|
-
}
|
package/dist/enum/chains.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export var ChainId;
|
|
2
|
-
(function (ChainId) {
|
|
3
|
-
ChainId[ChainId["MAINNET"] = 1] = "MAINNET";
|
|
4
|
-
ChainId[ChainId["MATIC"] = 137] = "MATIC";
|
|
5
|
-
ChainId[ChainId["MATIC_TESTNET"] = 80001] = "MATIC_TESTNET";
|
|
6
|
-
ChainId[ChainId["BSC"] = 56] = "BSC";
|
|
7
|
-
ChainId[ChainId["BSC_TESTNET"] = 97] = "BSC_TESTNET";
|
|
8
|
-
ChainId[ChainId["TLOS"] = 40] = "TLOS";
|
|
9
|
-
ChainId[ChainId["ARBITRUM"] = 42161] = "ARBITRUM";
|
|
10
|
-
ChainId[ChainId["INEVM_TESTNET"] = 2424] = "INEVM_TESTNET";
|
|
11
|
-
ChainId[ChainId["INEVM"] = 2525] = "INEVM";
|
|
12
|
-
ChainId[ChainId["SEPOLIA"] = 11155111] = "SEPOLIA";
|
|
13
|
-
ChainId[ChainId["LINEA"] = 59144] = "LINEA";
|
|
14
|
-
ChainId[ChainId["LIGHTLINK"] = 1890] = "LIGHTLINK";
|
|
15
|
-
ChainId[ChainId["IOTA_TESTNET"] = 1075] = "IOTA_TESTNET";
|
|
16
|
-
ChainId[ChainId["IOTA"] = 8822] = "IOTA";
|
|
17
|
-
ChainId[ChainId["BASE"] = 8453] = "BASE";
|
|
18
|
-
})(ChainId || (ChainId = {}));
|