@0xbot/chat-react 1.0.9 → 1.0.10
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/AaveLendingPoolABI-CdLq16uB-BGiZ7zvm.mjs +4 -0
- package/dist/AaveLendingPoolAddressesProvider-EOSAznLK-BSWFPv4x.mjs +4 -0
- package/dist/AavePriceOracleABI-C2UEpXR4-C_hStKK4.mjs +4 -0
- package/dist/AaveProtocolDataProviderABI-0JclmmLX-DLxLoyai.mjs +4 -0
- package/dist/BaseDrops-BrQZPqKk-B26CkeNy.mjs +4 -0
- package/dist/D3MM_READ_ABI-B5536S-z-CL3RJ1A8.mjs +4 -0
- package/dist/D3Proxy-CKIzLOhI-CGvfWU5A.mjs +4 -0
- package/dist/DODO1155-DDY5Jxhf-DGclqdqY.mjs +4 -0
- package/dist/DODO721-Kl5REiwU-CjPebx7D.mjs +4 -0
- package/dist/DODOCirculationHelperABI-gu1sCqZ2-DKVM1578.mjs +4 -0
- package/dist/DODORouteProxy-51kl6QgI-DjkLwYNY.mjs +4 -0
- package/dist/DODOV1PmmHelperABI-DQqthyaE-1aS8xEGz.mjs +4 -0
- package/dist/DVM-DjtWbqiJ-BbQRScdF.mjs +4 -0
- package/dist/DropsERC721-7Bckjcar-cRaNDmuo.mjs +4 -0
- package/dist/FilterAdmin-jm_-DS1l-BsNgsP2z.mjs +4 -0
- package/dist/FilterERC1155V1-VIUlIHdF-KqUEDK8Y.mjs +4 -0
- package/dist/FilterERC721V1-CWDEPGmH-BeOtdHta.mjs +4 -0
- package/dist/Fragment-Bd_AXeVx-C-ytfCBz.mjs +4 -0
- package/dist/FundingABI-WqQDGVVa-CaLckA9D.mjs +4 -0
- package/dist/IdodoV2-DlW8pwaE-1tII4uF5.mjs +4 -0
- package/dist/LockedTokenVaultABI-CfBj0wEX-CB4fg14z.mjs +4 -0
- package/dist/MarginTrading-CQ5odvHB-hsA_0CMf.mjs +4 -0
- package/dist/MarginTradingFactory-2RKqvCSO-DgmL1WxL.mjs +4 -0
- package/dist/MerkleDistributorABI-Ctn26fnA-BbXWPnph.mjs +4 -0
- package/dist/NonfungiblePositionManager-c8Yw_9-Q-DoGzZtUT.mjs +4 -0
- package/dist/PancakePairABI-Cc9LuXnX-CSfuOSUk.mjs +4 -0
- package/dist/UniswapV3Pool-Da11VKXE-Bpirv2VX.mjs +4 -0
- package/dist/add-CHJpf5Lw.mjs +19 -0
- package/dist/all-wallets-D2hkkUJ3.mjs +10 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/app-store-CqLKqQ5V.mjs +21 -0
- package/dist/apple-B0XeUiD1.mjs +22 -0
- package/dist/arrow-bottom-aeJVAvnL.mjs +12 -0
- package/dist/arrow-bottom-circle-R6EgzTHW.mjs +15 -0
- package/dist/arrow-left-BqQ4buTv.mjs +12 -0
- package/dist/arrow-right-C6Ed0Mzu.mjs +12 -0
- package/dist/arrow-top-BidIjQzK.mjs +12 -0
- package/dist/bank-yI5ZTpcM.mjs +18 -0
- package/dist/baseFilterV1-BPjWXMKw-Hn2CtZK1.mjs +4 -0
- package/dist/basic-Ck_Otdyv.mjs +5718 -0
- package/dist/browser-DfN9W7W3.mjs +18 -0
- package/dist/bsc-3D5wcqPq-Crqli4pE.mjs +4 -0
- package/dist/card-DNVrOepi.mjs +18 -0
- package/dist/chat-library.es.js +4 -826
- package/dist/chat-library.umd.js +7758 -11
- package/dist/checkmark-Y_JAaFYi.mjs +15 -0
- package/dist/checkmark-bold-BaUBCwEZ.mjs +12 -0
- package/dist/chevron-bottom-DT-gLTLE.mjs +12 -0
- package/dist/chevron-left-Db6JDZK5.mjs +12 -0
- package/dist/chevron-right-CcBMjaBn.mjs +12 -0
- package/dist/chevron-top-RvW8f4V7.mjs +12 -0
- package/dist/chrome-store-DnpyKbMo.mjs +65 -0
- package/dist/classicalPoolABI-D5LxySAJ-D7PleszW.mjs +4 -0
- package/dist/clock-Bz19eiZx.mjs +12 -0
- package/dist/close-Pad_fUXU.mjs +12 -0
- package/dist/coinPlaceholder-B7RKkvE0.mjs +12 -0
- package/dist/compass-Dw45tdte.mjs +12 -0
- package/dist/components/DodoSwap.d.ts +14 -0
- package/dist/copy-CwnxEVdO.mjs +19 -0
- package/dist/core-BncCIRvy.mjs +16730 -0
- package/dist/cursor-C6uOuAov.mjs +7 -0
- package/dist/cursor-transparent-xIFYE_0X.mjs +16 -0
- package/dist/desktop-Dz5Hje94.mjs +13 -0
- package/dist/disconnect-CTdx5PqO.mjs +12 -0
- package/dist/discord-C-gRbozI.mjs +21 -0
- package/dist/dodoABI-CLkEBJ8P-Bu3dOG4h.mjs +4 -0
- package/dist/dodoBuyoutModel-BtQv3C3q-BdkKV4YI.mjs +4 -0
- package/dist/dodoCP-N8KA8JwJ-TdVQ5mZP.mjs +4 -0
- package/dist/dodoCPABI-CdAN0KhU-COvDVH7-.mjs +4 -0
- package/dist/dodoCPABIV2-yzF6FlEg-nSP7QBK6.mjs +4 -0
- package/dist/dodoCPFactory-CD0SxXT6-C-NYcE0L.mjs +4 -0
- package/dist/dodoCpProxy-D2AI9-4r-CNpIMaS9.mjs +4 -0
- package/dist/dodoCpProxyV2-CGZRqk2H-CFqfOsrA.mjs +4 -0
- package/dist/dodoCpProxyV202-CoZaEf_6-D3tcGKYm.mjs +4 -0
- package/dist/dodoCustomMintableERC20-CPpNoX1v-CheGl3pc.mjs +4 -0
- package/dist/dodoDPPAdmin-B-fmpTbV-DDnM12B9.mjs +4 -0
- package/dist/dodoDPPFactory-DwAkVskt-BlCcT0Y7.mjs +4 -0
- package/dist/dodoDSP-B6KYm-Cn-BlRNrfLD.mjs +4 -0
- package/dist/dodoDSPFactory-j1eg7Ez--DBzB5BJy.mjs +4 -0
- package/dist/dodoDVM-DDYx1JAy-Dvy00nJq.mjs +4 -0
- package/dist/dodoDVMFactory-FpnJdZb2-pnHsrTp3.mjs +4 -0
- package/dist/dodoDppProxy-A7PPYsqp-D06i9e-K.mjs +4 -0
- package/dist/dodoDropsProxy-vHUWsRNO-QPtLS8Fb.mjs +4 -0
- package/dist/dodoDspProxy-CU7OAvJG-jDB-e7lT.mjs +4 -0
- package/dist/dodoERC20V3Factory-Cz4XKDrU-BczFXEyV.mjs +4 -0
- package/dist/dodoEthProxyABI-CoX95QJI-ClpiGz9q.mjs +4 -0
- package/dist/dodoFeeImpl-zR9Qv4Tq-DEWk3Y40.mjs +4 -0
- package/dist/dodoFragment-4lxmE2XJ-CyrfbNi9.mjs +4 -0
- package/dist/dodoMineV3Proxy-xOGM7Jnv-DB_whEuY.mjs +4 -0
- package/dist/dodoMineV3ProxyOld-BqsZxJRU-D2D73qEi.mjs +4 -0
- package/dist/dodoMiningABI-9J5C_6kN-Dd9oBdgN.mjs +4 -0
- package/dist/dodoMiningReaderABI-DmUXA9Gv-5oVswgl3.mjs +4 -0
- package/dist/dodoNftERC1155-Bw6ID2NE-B6ec1_gD.mjs +4 -0
- package/dist/dodoNftERC721-CI1l0ip9-4w4aINlO.mjs +4 -0
- package/dist/dodoNftPoolProxy-DQkcZHUV-QkmZ2nMD.mjs +4 -0
- package/dist/dodoNftProxy-Di-aoLYM-DxMxz-31.mjs +4 -0
- package/dist/dodoNftVault-B4NZaXcd-CnVQXRy8.mjs +4 -0
- package/dist/dodoOracleABI-BxwZofBV-CMjdc9D8.mjs +4 -0
- package/dist/dodoPair-VN1aEVFz-yv3rmA46.mjs +4 -0
- package/dist/dodoPreminingABI-DU7ocR7L-DbnrMY8U.mjs +4 -0
- package/dist/dodoProxyV2-9ED9HqK5-D1IbsmqR.mjs +4 -0
- package/dist/dodoStarterProxy-B1TdMOvw-Dc_OorIU.mjs +4 -0
- package/dist/dodoTokenABI-Dd2DVUbK-H42B3M0V.mjs +4 -0
- package/dist/dodoUpCPFactoryABI-C1W0Q4Ft-BoaZdses.mjs +4 -0
- package/dist/dodoUpCpFactory-D8ifQyp--qgHD5MAq.mjs +4 -0
- package/dist/dodoV1PairProxy-DyRTqyPe-C8yy7JSs.mjs +4 -0
- package/dist/dodoZooABI-D9Uc4iLK-KrPSOwCN.mjs +4 -0
- package/dist/dppPoolABI-BvoeLJgK-CDxK1JW7.mjs +4 -0
- package/dist/erc20ABI-v08X4jmE-CVM8vD3s.mjs +4 -0
- package/dist/erc20Helper-CG659oLz-CFUQnmR-.mjs +4 -0
- package/dist/eth-B9cviUl5-CG8RPzNA.mjs +4 -0
- package/dist/etherscan-BoxwTKtb.mjs +10 -0
- package/dist/exclamation-triangle-lJzIh3b3.mjs +8 -0
- package/dist/extension-Cu9Cmk3m.mjs +12 -0
- package/dist/external-link-BvvHuuY0.mjs +12 -0
- package/dist/facebook-By3QHn59.mjs +30 -0
- package/dist/farcaster-B6Uk0IIz.mjs +16 -0
- package/dist/feeABI-DnQdJUpQ-DesVgwnT.mjs +4 -0
- package/dist/filters-7iolnXNp.mjs +12 -0
- package/dist/github-CbNFQ-rE.mjs +22 -0
- package/dist/google-B4kpRWe2.mjs +22 -0
- package/dist/help-circle-BHYOhZH-.mjs +16 -0
- package/dist/helper-DvTqUYSd-DjCOVcV8.mjs +22500 -0
- package/dist/id-B63SRnJH.mjs +16 -0
- package/dist/image-BFYG_I7p.mjs +8 -0
- package/dist/index-Cm7qS4de-ByNXzPPy.mjs +188 -0
- package/dist/index-Csyx760V.mjs +1037 -0
- package/dist/index-DId52aLZ.mjs +102718 -0
- package/dist/index-KEmmG3yM-D6PVhm18.mjs +390 -0
- package/dist/index.css +1 -1
- package/dist/info-MhMaxvuu.mjs +7 -0
- package/dist/info-circle-Br6R310O.mjs +16 -0
- package/dist/lightbulb-CvIgiu_8.mjs +7 -0
- package/dist/mail-C37s8I6x.mjs +12 -0
- package/dist/mobile-6yKClGQT.mjs +13 -0
- package/dist/more-CoCXkplN.mjs +15 -0
- package/dist/multicallABI-D9E1EeQD-BHmsV5Ww.mjs +4 -0
- package/dist/network-placeholder-RiVpBWSW.mjs +18 -0
- package/dist/nftContract-d4b6ObxG-DDocz_o1.mjs +4 -0
- package/dist/nftFilterAdmin-DMr_jrK_-CzdnxC1u.mjs +4 -0
- package/dist/nftPlaceholder-BqPW-YRA.mjs +12 -0
- package/dist/off-BYd8177g.mjs +12 -0
- package/dist/oneBitSettlement-DMzQ-0t_-6O4CfYZH.mjs +4 -0
- package/dist/play-store-DOI54pIO.mjs +36 -0
- package/dist/plus-D3V6i3OL.mjs +17 -0
- package/dist/qr-code-BMbd5nBQ.mjs +10 -0
- package/dist/react-datetime.cjs-BazkzJ-h.mjs +3535 -0
- package/dist/recycle-horizontal-Rf_bshe8.mjs +13 -0
- package/dist/refresh-D188VUaC.mjs +12 -0
- package/dist/reown-logo-BlqEBF0T.mjs +16 -0
- package/dist/search-BwlhXkfV.mjs +12 -0
- package/dist/secp256k1-B3zICmiT.mjs +1469 -0
- package/dist/secp256k1-DgHq90iL.mjs +1510 -0
- package/dist/send-gHEIp_-C.mjs +19 -0
- package/dist/setApprovalForAll-BvnCORJI-BsLcI446.mjs +4 -0
- package/dist/spaceIdABI-BS4XGAT1-BjuJy2_U.mjs +4 -0
- package/dist/spaceIdResolverABI-sYDT8GfP-D5rMp5Lb.mjs +4 -0
- package/dist/swapHorizontal-CSBQUUlD.mjs +12 -0
- package/dist/swapHorizontalBold-BJqpmrQd.mjs +12 -0
- package/dist/swapHorizontalMedium-R5UjzDTB.mjs +20 -0
- package/dist/swapHorizontalRoundedBold-Dajt5M8H.mjs +12 -0
- package/dist/swapVertical-C00VFvcQ.mjs +12 -0
- package/dist/telegram-BjMNjPGO.mjs +20 -0
- package/dist/three-dots-CzB3opP1.mjs +9 -0
- package/dist/twitch-BJyvHwSX.mjs +22 -0
- package/dist/twitterIcon-C13sV4pO.mjs +10 -0
- package/dist/types/index.d.ts +16 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/request.d.ts +1 -0
- package/dist/utils/version.d.ts +13 -0
- package/dist/v3MiningABI-ZjGBkolS-DpOFVbMt.mjs +4 -0
- package/dist/vdodo-ttc2RVOs-BsdVbO8I.mjs +4 -0
- package/dist/vdodoTokenABI-PldrbOSo-CmQmhg5z.mjs +4 -0
- package/dist/verify-CZf1Key9.mjs +12 -0
- package/dist/verify-filled-TxR2AkrB.mjs +12 -0
- package/dist/w3m-modal-CtlM8yh_.mjs +1471 -0
- package/dist/wallet-placeholder-BZj9RGcX.mjs +18 -0
- package/dist/wallet-w_3wvddk.mjs +12 -0
- package/dist/walletconnect-Dst7WudJ.mjs +36 -0
- package/dist/warning-circle-BAvO6TFh.mjs +16 -0
- package/dist/weth-Dz5DGEIF-y7HuL7DE.mjs +4 -0
- package/dist/x-Ch4skAxW.mjs +16 -0
- package/package.json +2 -1
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import { B as M, l as ue, f as Se, c as o, o as Oe, U as _e, K as $e, h as et } from "./index-DId52aLZ.mjs";
|
|
2
|
+
import * as Xe from "react";
|
|
3
|
+
import D, { useEffect as te, useState as ee, useMemo as W, useRef as le } from "react";
|
|
4
|
+
import { s as tt, h as it, E as rt, c as nt, d as xe, f as Q, b as Ee, a as Te, o as G, n as F, e as ot, u as Ae, r as ye, p as Ve, g as Ye, m as Pe, S as lt, L as Ne, R as st, i as E, T as se, C as at, j as we, k as je, l as ut, q as dt } from "./helper-DvTqUYSd-DjCOVcV8.mjs";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import "axios";
|
|
7
|
+
var qe = function(i, t) {
|
|
8
|
+
var r = arguments;
|
|
9
|
+
if (t == null || !it.call(t, "css"))
|
|
10
|
+
return Xe.createElement.apply(void 0, r);
|
|
11
|
+
var b = r.length, u = new Array(b);
|
|
12
|
+
u[0] = rt, u[1] = nt(i, t);
|
|
13
|
+
for (var s = 2; s < b; s++)
|
|
14
|
+
u[s] = r[s];
|
|
15
|
+
return Xe.createElement.apply(null, u);
|
|
16
|
+
};
|
|
17
|
+
(function(e) {
|
|
18
|
+
var i;
|
|
19
|
+
i || (i = e.JSX || (e.JSX = {}));
|
|
20
|
+
})(qe || (qe = {}));
|
|
21
|
+
function ct() {
|
|
22
|
+
for (var e = arguments.length, i = new Array(e), t = 0; t < e; t++)
|
|
23
|
+
i[t] = arguments[t];
|
|
24
|
+
return tt(i);
|
|
25
|
+
}
|
|
26
|
+
var Re = { color: void 0, size: void 0, className: void 0, style: void 0, attr: void 0 }, We = D.createContext && D.createContext(Re), pt = ["attr", "size", "title"];
|
|
27
|
+
function mt(e, i) {
|
|
28
|
+
if (e == null) return {};
|
|
29
|
+
var t, r, b = function(s, l) {
|
|
30
|
+
if (s == null) return {};
|
|
31
|
+
var h, z, a = {}, d = Object.keys(s);
|
|
32
|
+
for (z = 0; z < d.length; z++) h = d[z], l.indexOf(h) >= 0 || (a[h] = s[h]);
|
|
33
|
+
return a;
|
|
34
|
+
}(e, i);
|
|
35
|
+
if (Object.getOwnPropertySymbols) {
|
|
36
|
+
var u = Object.getOwnPropertySymbols(e);
|
|
37
|
+
for (r = 0; r < u.length; r++) t = u[r], i.indexOf(t) >= 0 || Object.prototype.propertyIsEnumerable.call(e, t) && (b[t] = e[t]);
|
|
38
|
+
}
|
|
39
|
+
return b;
|
|
40
|
+
}
|
|
41
|
+
function de() {
|
|
42
|
+
return de = Object.assign ? Object.assign.bind() : function(e) {
|
|
43
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
44
|
+
var t = arguments[i];
|
|
45
|
+
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
|
|
46
|
+
}
|
|
47
|
+
return e;
|
|
48
|
+
}, de.apply(this, arguments);
|
|
49
|
+
}
|
|
50
|
+
function Fe(e, i) {
|
|
51
|
+
var t = Object.keys(e);
|
|
52
|
+
if (Object.getOwnPropertySymbols) {
|
|
53
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
54
|
+
i && (r = r.filter(function(b) {
|
|
55
|
+
return Object.getOwnPropertyDescriptor(e, b).enumerable;
|
|
56
|
+
})), t.push.apply(t, r);
|
|
57
|
+
}
|
|
58
|
+
return t;
|
|
59
|
+
}
|
|
60
|
+
function ce(e) {
|
|
61
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
62
|
+
var t = arguments[i] != null ? arguments[i] : {};
|
|
63
|
+
i % 2 ? Fe(Object(t), !0).forEach(function(r) {
|
|
64
|
+
gt(e, r, t[r]);
|
|
65
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Fe(Object(t)).forEach(function(r) {
|
|
66
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
return e;
|
|
70
|
+
}
|
|
71
|
+
function gt(e, i, t) {
|
|
72
|
+
return (i = function(r) {
|
|
73
|
+
var b = function(u, s) {
|
|
74
|
+
if (typeof u != "object" || u === null) return u;
|
|
75
|
+
var l = u[Symbol.toPrimitive];
|
|
76
|
+
if (l !== void 0) {
|
|
77
|
+
var h = l.call(u, s);
|
|
78
|
+
if (typeof h != "object") return h;
|
|
79
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
80
|
+
}
|
|
81
|
+
return (s === "string" ? String : Number)(u);
|
|
82
|
+
}(r, "string");
|
|
83
|
+
return typeof b == "symbol" ? b : String(b);
|
|
84
|
+
}(i)) in e ? Object.defineProperty(e, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[i] = t, e;
|
|
85
|
+
}
|
|
86
|
+
function Ie(e) {
|
|
87
|
+
return e && e.map((i, t) => D.createElement(i.tag, ce({ key: t }, i.attr), Ie(i.child)));
|
|
88
|
+
}
|
|
89
|
+
function pe(e) {
|
|
90
|
+
return (i) => D.createElement(ht, de({ attr: ce({}, e.attr) }, i), Ie(e.child));
|
|
91
|
+
}
|
|
92
|
+
function ht(e) {
|
|
93
|
+
var i = (t) => {
|
|
94
|
+
var r, { attr: b, size: u, title: s } = e, l = mt(e, pt), h = u || t.size || "1em";
|
|
95
|
+
return t.className && (r = t.className), e.className && (r = (r ? r + " " : "") + e.className), D.createElement("svg", de({ stroke: "currentColor", fill: "currentColor", strokeWidth: "0" }, t.attr, b, l, { className: r, style: ce(ce({ color: e.color || t.color }, t.style), e.style), height: h, width: h, xmlns: "http://www.w3.org/2000/svg" }), s && D.createElement("title", null, s), e.children);
|
|
96
|
+
};
|
|
97
|
+
return We !== void 0 ? D.createElement(We.Consumer, null, (t) => i(t)) : i(Re);
|
|
98
|
+
}
|
|
99
|
+
function ft(e) {
|
|
100
|
+
return pe({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M13.293 6.293 7.586 12l5.707 5.707 1.414-1.414L10.414 12l4.293-4.293z" }, child: [] }] })(e);
|
|
101
|
+
}
|
|
102
|
+
function bt(e) {
|
|
103
|
+
return pe({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M10.707 17.707 16.414 12l-5.707-5.707-1.414 1.414L13.586 12l-4.293 4.293z" }, child: [] }] })(e);
|
|
104
|
+
}
|
|
105
|
+
function Mt(e) {
|
|
106
|
+
return pe({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M5 11h14v2H5z" }, child: [] }] })(e);
|
|
107
|
+
}
|
|
108
|
+
function vt(e) {
|
|
109
|
+
return pe({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z" }, child: [] }] })(e);
|
|
110
|
+
}
|
|
111
|
+
const He = F.input`
|
|
112
|
+
margin: 4px 10px 4px 6px;
|
|
113
|
+
border-radius: 10px;
|
|
114
|
+
border: 1px solid #373739;
|
|
115
|
+
padding: 4px 9px;
|
|
116
|
+
background-color: #1a1a1b;
|
|
117
|
+
color: #ffffff;
|
|
118
|
+
font-size: 14px;
|
|
119
|
+
font-weight: 400;
|
|
120
|
+
line-height: 20px;
|
|
121
|
+
outline: none;
|
|
122
|
+
width: 96px;
|
|
123
|
+
&:focus {
|
|
124
|
+
border-color: #fff;
|
|
125
|
+
|
|
126
|
+
${({ error: e }) => e && ct`
|
|
127
|
+
border-color: red;
|
|
128
|
+
`}
|
|
129
|
+
}
|
|
130
|
+
`, Je = "rgba(38, 39, 41, 0.3)";
|
|
131
|
+
function xt({ width: e, height: i, midPrice: t, pmmModel: r, params: b, baseTokenSymbol: u, quoteTokenSymbol: s, baseMinAndZoomMultiples: l, colorMap: h, setBaseMinAndZoomMultiples: z }) {
|
|
132
|
+
const a = ue.merge({ grid: "#2A2A2D", midPriceLine: "#313335", leftBg: [0, Je, 1, "#31645d"], leftLine: "#55f6db", leftColor: "", rightBg: [0, Je, 1, "#67303d"], rightLine: "#ff4f73", rightColor: "", tooltipBg: "#121212", tooltipColor: void 0 }, h), d = e, f = i - 18, H = d / 7, { buyBaseVert: O, sellBaseVert: S } = ot({ midPrice: t, q: b.q, q0: b.q0, pmmModel: r }), me = O.div(f), ie = S.div(f), U = le(null), T = le(null), { current: L } = U, V = le(0), Y = le(), { horizontalGridLines: ge, verticalGridLines: he } = function({ chartHeight: n, chartWidth: p, horizontalLineCount: g, verticalLineCount: m }) {
|
|
133
|
+
return W(() => {
|
|
134
|
+
const w = [], C = n / (g + 1), N = [], A = p / m;
|
|
135
|
+
for (let y = 0; y < g; y++) {
|
|
136
|
+
const j = C * (y + 1);
|
|
137
|
+
w.push([0, j, p, j]);
|
|
138
|
+
}
|
|
139
|
+
for (let y = 0; y < m; y++) {
|
|
140
|
+
const j = A * y + A / 2;
|
|
141
|
+
N.push([j, 0, j, n]);
|
|
142
|
+
}
|
|
143
|
+
return { horizontalGridLines: w, verticalGridLines: N };
|
|
144
|
+
}, [n, p, g, m]);
|
|
145
|
+
}({ chartHeight: f, chartWidth: d, horizontalLineCount: 9, verticalLineCount: 7 }), { horizontalLabelTickPoints: c, horizontalLabelTextPoints: P } = function({ chartHeight: n, chartWidth: p, xAxisPoints: g, oneXPx: m, baseMinAndZoomMultiples: w }) {
|
|
146
|
+
return W(() => {
|
|
147
|
+
const C = Ae(p, w.zoomMultiples), N = [], A = [];
|
|
148
|
+
for (let y = 0; y < g; y++) {
|
|
149
|
+
N.push([y * m + m / 2, n, y * m + m / 2, n + 4]);
|
|
150
|
+
const j = C.multipliedBy(y).multipliedBy(m).plus(C.multipliedBy(m / 2)).toNumber(), re = w.baseMin.multipliedBy(10 ** j), R = y * m, ne = n + 2 + 4, I = et(re);
|
|
151
|
+
A.push({ x: R, y: ne, text: I });
|
|
152
|
+
}
|
|
153
|
+
return { horizontalLabelTickPoints: N, horizontalLabelTextPoints: A };
|
|
154
|
+
}, [w.baseMin, w.zoomMultiples, n, p, m, g]);
|
|
155
|
+
}({ chartHeight: f, chartWidth: d, xAxisPoints: 7, oneXPx: H, baseMinAndZoomMultiples: l }), { quoteLinePoints: x, quoteLineAreaPoints: B, quoteLineAreaLinearGradientEndPointY: k, baseLinePoints: v, baseLineAreaPoints: J, baseLineAreaLinearGradientEndPointY: Z, midPriceLinePoints: Ke } = function({ chartHeight: n, chartWidth: p, midPrice: g, xPoints: m, pmmModel: w, baseMinAndZoomMultiples: C, buyYPortion: N, sellYPortion: A }) {
|
|
156
|
+
return W(() => {
|
|
157
|
+
const y = [], j = [], re = [], { baseMin: R, zoomMultiples: ne } = C, I = Ae(p, ne), _ = 2 * ne, ze = new M(_).div(m);
|
|
158
|
+
let q = new M(Math.log(g.div(R).toNumber()) / Math.log(10));
|
|
159
|
+
q = M.minimum(_, q), q = M.maximum(0, q);
|
|
160
|
+
for (let X = new M(0); X.lte(q); ) {
|
|
161
|
+
const be = R.multipliedBy(10 ** X.toNumber()), $ = ye({ val: be, model: w });
|
|
162
|
+
if (!$.vert.isNaN()) {
|
|
163
|
+
const Me = X.div(I).toNumber(), ve = n - $.vert.div(N).toNumber();
|
|
164
|
+
y.push(Me, ve);
|
|
165
|
+
}
|
|
166
|
+
X = X.plus(ze);
|
|
167
|
+
}
|
|
168
|
+
for (let X = q; X.lte(_); ) {
|
|
169
|
+
const be = R.multipliedBy(10 ** X.toNumber()), $ = ye({ val: be, model: w });
|
|
170
|
+
if (!$.vert.isNaN()) {
|
|
171
|
+
const Me = X.div(I).toNumber(), ve = n - $.vert.div(A).toNumber();
|
|
172
|
+
j.push(Me, ve);
|
|
173
|
+
}
|
|
174
|
+
X = X.plus(ze);
|
|
175
|
+
}
|
|
176
|
+
const K = q.div(I).toNumber(), [, fe] = y, Be = w.k.eq(0);
|
|
177
|
+
Be && y.push(K, fe || n), y.push(K, n), re.push(K, n, K, 0);
|
|
178
|
+
const ke = ye({ val: R.multipliedBy(10 ** _), model: w });
|
|
179
|
+
let oe = n;
|
|
180
|
+
const Ce = new M(_).div(I).toNumber();
|
|
181
|
+
return ke.vert.isNaN() || (oe = n - ke.vert.div(A).toNumber()), Be && j.length >= 2 && (j.unshift(K, oe), j.unshift(K, n)), j.push(Ce, oe), q.lte(0) && j.unshift(0, n), { quoteLinePoints: y, quoteLineAreaPoints: [0, n, 0, fe, ...y], quoteLineAreaLinearGradientEndPointY: fe, baseLinePoints: j, baseLineAreaPoints: [...j, Ce, n], baseLineAreaLinearGradientEndPointY: oe, midPriceLinePoints: re };
|
|
182
|
+
}, [C, p, m, g, w, n, N, A]);
|
|
183
|
+
}({ chartHeight: f, chartWidth: d, midPrice: t, xPoints: 50, pmmModel: r, baseMinAndZoomMultiples: l, buyYPortion: me, sellYPortion: ie }), Le = (n) => {
|
|
184
|
+
var p;
|
|
185
|
+
const g = n.target;
|
|
186
|
+
if (g && L) {
|
|
187
|
+
const m = (p = g.getStage()) === null || p === void 0 ? void 0 : p.getPointerPosition();
|
|
188
|
+
if (m) {
|
|
189
|
+
const { x: w } = m;
|
|
190
|
+
if (w > d) return void L.hide();
|
|
191
|
+
Pe({ x: w, tooltip: L, buyBaseVert: O, sellBaseVert: S, chartWidth: d, chartHeight: f, midPrice: t, pmmModel: r, baseTokenSymbol: u, quoteTokenSymbol: s, baseMinAndZoomMultiples: l, t: G, isHover: !0, color: a.tooltipColor, leftColor: a.leftLine, rightColor: a.rightLine });
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}, Qe = W(() => ue.throttle((n) => {
|
|
195
|
+
const { target: p } = n, g = p.getStage();
|
|
196
|
+
if (g) {
|
|
197
|
+
g.container().style.cursor = "grabbing";
|
|
198
|
+
const m = g == null ? void 0 : g.getPointerPosition();
|
|
199
|
+
if (m) {
|
|
200
|
+
const w = m.x - V.current;
|
|
201
|
+
V.current = m.x, Y.current = m.x, z((C) => C.baseMin === void 0 ? C : { baseMin: Ve({ dragDistance: w, prevBaseMin: C.baseMin, chartWidth: d, zoomMultiples: C.zoomMultiples }), zoomMultiples: C.zoomMultiples, targetMarginPriceX: 0 });
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}, 100), [d, z]), Ue = W(() => ue.throttle((n) => {
|
|
205
|
+
n.cancelBubble = !0, n.evt.preventDefault();
|
|
206
|
+
const p = n.evt.deltaY < 0;
|
|
207
|
+
z((g) => {
|
|
208
|
+
const m = Ye({ zoomIn: p, prevZoomMultiples: g.zoomMultiples });
|
|
209
|
+
return { baseMin: Q({ midPrice: t, zoomMultiples: m }), zoomMultiples: m, targetMarginPriceX: g.targetMarginPriceX };
|
|
210
|
+
});
|
|
211
|
+
}, 100), [t, z]);
|
|
212
|
+
return te(() => {
|
|
213
|
+
l.targetMarginPriceX > 0 && L !== null ? Pe({ x: l.targetMarginPriceX, tooltip: L, buyBaseVert: O, sellBaseVert: S, chartWidth: d, chartHeight: f, midPrice: t, pmmModel: r, baseTokenSymbol: u, quoteTokenSymbol: s, baseMinAndZoomMultiples: l, t: G, color: a.tooltipColor, leftColor: a.leftLine, rightColor: a.rightLine }) : Y.current !== void 0 && L !== null && Pe({ x: Y.current, tooltip: L, buyBaseVert: O, sellBaseVert: S, chartWidth: d, chartHeight: f, midPrice: t, pmmModel: r, baseTokenSymbol: u, quoteTokenSymbol: s, baseMinAndZoomMultiples: l, t: G, isHover: !0, color: a.tooltipColor, leftColor: a.leftLine, rightColor: a.rightLine });
|
|
214
|
+
}, [l, u, O, f, d, a.leftLine, a.rightLine, a.tooltipColor, t, r, s, S, L]), o.jsxs(lt, { ref: T, width: e, offsetY: -18, height: i + dt, draggable: !0, dragBoundFunc: function() {
|
|
215
|
+
return { x: this.absolutePosition().x, y: this.absolutePosition().y };
|
|
216
|
+
}, onMouseMove: Le, onMouseOver: Le, onMouseOut: () => {
|
|
217
|
+
L && L.hide();
|
|
218
|
+
}, onDragStart: function(n) {
|
|
219
|
+
const { target: p } = n, g = p.getStage();
|
|
220
|
+
if (g) {
|
|
221
|
+
const m = g.getPointerPosition();
|
|
222
|
+
m && (V.current = m.x);
|
|
223
|
+
}
|
|
224
|
+
}, onDragMove: Qe, onDragEnd: (n) => {
|
|
225
|
+
const { target: p } = n, g = p.getStage();
|
|
226
|
+
g && (g.container().style.cursor = "pointer");
|
|
227
|
+
}, onWheel: Ue, children: [o.jsxs(Ne, { children: [o.jsx(st, { x: 0, y: 0, width: e, height: f, stroke: a.grid, strokeWidth: 1 }), ge.map((n, p) => o.jsx(E, { points: n, stroke: a.grid, strokeWidth: 1, lineCap: "round", lineJoin: "round", listening: !1 }, p)), he.map((n, p) => o.jsx(E, { points: n, stroke: a.grid, strokeWidth: 1, lineCap: "round", lineJoin: "round", listening: !1 }, p)), c.map((n, p) => o.jsx(E, { points: n, stroke: "#9d9d9d", strokeWidth: 1, lineCap: "round", lineJoin: "round", listening: !1 }, p)), P.map((n, p) => o.jsx(se, { x: n.x, y: n.y, text: n.text, fontFamily: "Manrope", fontSize: 12, fill: "#9d9d9d", width: H, padding: 0, align: "center", verticalAlign: "bottom", listening: !1 }, p)), o.jsx(E, { points: B, closed: !0, listening: !1, lineCap: "round", lineJoin: "round", fillLinearGradientStartPoint: { x: 0, y: f }, fillLinearGradientEndPoint: { x: 0, y: k }, fillLinearGradientColorStops: a.leftBg }), o.jsx(E, { points: x, stroke: a.leftLine, strokeWidth: 2, lineCap: "round", lineJoin: "round", listening: !1 }), o.jsx(E, { points: J, closed: !0, listening: !1, lineCap: "round", lineJoin: "round", fillLinearGradientStartPoint: { x: d, y: f }, fillLinearGradientEndPoint: { x: d, y: Z }, fillLinearGradientColorStops: a.rightBg }), o.jsx(E, { points: v, stroke: a.rightLine, strokeWidth: 2, lineCap: "round", lineJoin: "round", listening: !1 }), o.jsx(E, { points: Ke, stroke: a.midPriceLine, strokeWidth: 2, lineCap: "round", lineJoin: "round", listening: !1 })] }), o.jsxs(Ne, { ref: U, visible: !1, listening: !1, children: [o.jsx(E, { points: [], stroke: "#ff4f73", strokeWidth: 1, lineCap: "round", lineJoin: "round", dash: [4, 6], id: "toolTipVertLine" }), o.jsx(E, { points: [], stroke: "ff4f73", strokeWidth: 1, lineCap: "round", lineJoin: "round", dash: [4, 6], id: "toolTipHoriLine" }), o.jsx(at, { x: 0, y: 0, radius: 5, fill: "#FF5072", stroke: "rgba(255, 80, 114, 0.3)", strokeWidth: 12, id: "joinCircle" }), o.jsxs(we, { x: 0, y: 0, id: "priceTextLabel", children: [o.jsx(je, { fill: a.tooltipBg, id: "priceTextLabel-tag" }), o.jsx(se, { text: "", fontSize: 12, fontFamily: "Manrope", padding: 4, fill: "#FF5072", id: "priceTextLabel-text" })] }), o.jsxs(we, { x: 0, y: 0, id: "slippageTextLabel", children: [o.jsx(je, { fill: a.tooltipBg, id: "slippageTextLabel-tag" }), o.jsx(se, { text: "", fontSize: 12, fontFamily: "Manrope", padding: 4, fill: "#FF5072", id: "slippageTextLabel-text" })] }), o.jsxs(we, { x: 0, y: 0, id: "toolTip", children: [o.jsx(je, { fill: a.tooltipBg, pointerDirection: "down", pointerWidth: 15, pointerHeight: 8, cornerRadius: 8, lineJoin: "round", id: "toolTip-tag" }), o.jsx(se, { text: "-", fontSize: 12, lineHeight: 17 / 12, padding: ut, fontFamily: "Manrope", fill: "#FFFFFF", id: "toolTip-text" })] })] })] });
|
|
228
|
+
}
|
|
229
|
+
const yt = F.button`
|
|
230
|
+
margin: 0;
|
|
231
|
+
border: none;
|
|
232
|
+
padding: 0;
|
|
233
|
+
background: none;
|
|
234
|
+
|
|
235
|
+
&:focus {
|
|
236
|
+
outline: none;
|
|
237
|
+
}
|
|
238
|
+
&:active {
|
|
239
|
+
outline: none;
|
|
240
|
+
}
|
|
241
|
+
`, Pt = F.div`
|
|
242
|
+
height: 100%;
|
|
243
|
+
`, wt = F.div`
|
|
244
|
+
display: flex;
|
|
245
|
+
align-items: center;
|
|
246
|
+
`, Ze = F.div`
|
|
247
|
+
border: 1px solid ${({ borderColor: e }) => e || "#2a2a2d"};
|
|
248
|
+
flex: 1 0 50%;
|
|
249
|
+
|
|
250
|
+
display: flex;
|
|
251
|
+
align-items: center;
|
|
252
|
+
justify-content: center;
|
|
253
|
+
font-size: 12px;
|
|
254
|
+
font-weight: 400;
|
|
255
|
+
line-height: 17px;
|
|
256
|
+
color: #606066;
|
|
257
|
+
|
|
258
|
+
& + & {
|
|
259
|
+
border-left: none;
|
|
260
|
+
}
|
|
261
|
+
`, Ge = F.span`
|
|
262
|
+
color: #85858d;
|
|
263
|
+
`, jt = F.div`
|
|
264
|
+
margin-top: 20px;
|
|
265
|
+
display: flex;
|
|
266
|
+
justify-content: center;
|
|
267
|
+
margin-bottom: 9px;
|
|
268
|
+
`, ae = F(yt)`
|
|
269
|
+
border-radius: 13px;
|
|
270
|
+
background-color: #373739;
|
|
271
|
+
width: 24px;
|
|
272
|
+
height: 24px;
|
|
273
|
+
font-size: 18px;
|
|
274
|
+
color: #85858d;
|
|
275
|
+
line-height: 0;
|
|
276
|
+
& + & {
|
|
277
|
+
margin-left: 10px;
|
|
278
|
+
}
|
|
279
|
+
&:first-child,
|
|
280
|
+
&:last-child {
|
|
281
|
+
font-size: 20px;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&:hover {
|
|
285
|
+
color: #fff;
|
|
286
|
+
}
|
|
287
|
+
`;
|
|
288
|
+
function De({ params: e, target: i, isBuy: t = !0 }) {
|
|
289
|
+
const r = new M(e.b), b = new M(e.q);
|
|
290
|
+
let u = new M(e.b0);
|
|
291
|
+
const s = new M(e.q0), l = new M(e.i), h = new M(e.k), { R: z } = e;
|
|
292
|
+
z === 1 && u.eq(r) && (u = _e(r, b.minus(s), new M(1).div(l), h));
|
|
293
|
+
const a = t ? r.plus(i) : r.minus(i);
|
|
294
|
+
if (a.lt(u) || r.eq(u)) {
|
|
295
|
+
let S = u.multipliedBy(u).div(a).div(a);
|
|
296
|
+
return S = new M(1).minus(h).plus(h.multipliedBy(S)), l.multipliedBy(S);
|
|
297
|
+
}
|
|
298
|
+
const d = new $e();
|
|
299
|
+
d.RStatus = z, d.B = r, d.B0 = u, d.Q = b, d.Q0 = s, d.i = l, d.k = h, d.mtFeeRate = new M(0), d.lpFeeRate = new M(0);
|
|
300
|
+
let f = new M(0);
|
|
301
|
+
f = t ? d.querySellBase(i) : d.queryBuyBase(i);
|
|
302
|
+
const H = t ? b.minus(f) : b.plus(f);
|
|
303
|
+
let O = s.multipliedBy(s).div(H).div(H);
|
|
304
|
+
return O = new M(1).minus(h).plus(h.multipliedBy(O)), l.div(O);
|
|
305
|
+
}
|
|
306
|
+
const St = ({ chartId: e, width: i = 834, height: t = 460, baseTokenSymbol: r, quoteTokenSymbol: b, pmmModel: u, pmmParams: s, midPrice: l = new M(0), colorMap: h, notShowAmountInput: z }) => {
|
|
307
|
+
(({ id: c }) => {
|
|
308
|
+
te(() => {
|
|
309
|
+
function P(v) {
|
|
310
|
+
v.preventDefault();
|
|
311
|
+
}
|
|
312
|
+
let x = !1;
|
|
313
|
+
try {
|
|
314
|
+
const v = { get passive() {
|
|
315
|
+
return x = !0, !1;
|
|
316
|
+
} };
|
|
317
|
+
window.addEventListener("test", () => {
|
|
318
|
+
}, v), window.removeEventListener("test", () => {
|
|
319
|
+
});
|
|
320
|
+
} catch {
|
|
321
|
+
x = !1;
|
|
322
|
+
}
|
|
323
|
+
const B = document.getElementById(c), k = !!x && { passive: !1 };
|
|
324
|
+
return B == null || B.addEventListener("wheel", P, k), () => {
|
|
325
|
+
B == null || B.removeEventListener("wheel", P);
|
|
326
|
+
};
|
|
327
|
+
}, [c]);
|
|
328
|
+
})({ id: e });
|
|
329
|
+
const [a, d] = ee(""), [f, H] = ee(""), [O, S] = ee("-"), [me, ie] = ee("-"), [U, T] = ee({ baseMin: new M(0), zoomMultiples: xe, targetMarginPriceX: 0 });
|
|
330
|
+
te(() => {
|
|
331
|
+
l !== void 0 && T((c) => ({ baseMin: Q({ midPrice: l, zoomMultiples: c.zoomMultiples }), zoomMultiples: c.zoomMultiples, targetMarginPriceX: c.targetMarginPriceX }));
|
|
332
|
+
}, [l]);
|
|
333
|
+
const L = W(() => ue.debounce(({ type: c, amount: P }) => {
|
|
334
|
+
P === "" && l && (T({ baseMin: Q({ midPrice: l, zoomMultiples: xe }), zoomMultiples: xe, targetMarginPriceX: 0 }), c === "buy" ? S("-") : ie("-"));
|
|
335
|
+
const x = new M(P);
|
|
336
|
+
if (!x.lte(0) && !x.isNaN() && (s != null && s.b) && !x.gte(s.b) && l) if (c === "buy") {
|
|
337
|
+
const B = De({ params: s, target: x });
|
|
338
|
+
T((k) => {
|
|
339
|
+
const v = Ee({ currentBaseMinAndZoomMultiples: k, targetPrice: B, midPrice: l, width: i });
|
|
340
|
+
if (v.isSkip) return { baseMin: k.baseMin, zoomMultiples: k.zoomMultiples, targetMarginPriceX: v.targetX };
|
|
341
|
+
if (v.targetX > 0) return { baseMin: v.baseMin, zoomMultiples: v.zoomMultiples, targetMarginPriceX: v.targetX };
|
|
342
|
+
const J = Te({ midPrice: l, width: i, type: c, targetPrice: B }), Z = J.zoomMultiples.dp(6).toNumber();
|
|
343
|
+
return { baseMin: Q({ midPrice: l, zoomMultiples: Z }), zoomMultiples: Z, targetMarginPriceX: J.targetX };
|
|
344
|
+
}), S(`${Se({ input: B.minus(l).div(l) })}`);
|
|
345
|
+
} else {
|
|
346
|
+
const B = function({ params: k, target: v }) {
|
|
347
|
+
return De({ params: k, target: v, isBuy: !1 });
|
|
348
|
+
}({ params: s, target: x });
|
|
349
|
+
T((k) => {
|
|
350
|
+
const v = Ee({ currentBaseMinAndZoomMultiples: k, targetPrice: B, midPrice: l, width: i });
|
|
351
|
+
if (v.isSkip) return { baseMin: k.baseMin, zoomMultiples: k.zoomMultiples, targetMarginPriceX: v.targetX };
|
|
352
|
+
if (v.targetX > 0) return { baseMin: v.baseMin, zoomMultiples: v.zoomMultiples, targetMarginPriceX: v.targetX };
|
|
353
|
+
const J = Te({ midPrice: l, width: i, type: c, targetPrice: B }), Z = J.zoomMultiples.dp(6).toNumber();
|
|
354
|
+
return { baseMin: Q({ midPrice: l, zoomMultiples: Z }), zoomMultiples: Z, targetMarginPriceX: J.targetX };
|
|
355
|
+
}), ie(`+${Se({ input: B.minus(l).div(l) })}`);
|
|
356
|
+
}
|
|
357
|
+
}, 300), [s, l, i]);
|
|
358
|
+
te(() => {
|
|
359
|
+
a !== void 0 && L({ type: "buy", amount: a });
|
|
360
|
+
}, [L, a]), te(() => {
|
|
361
|
+
f !== void 0 && L({ type: "sell", amount: f });
|
|
362
|
+
}, [L, f]);
|
|
363
|
+
const V = (c) => {
|
|
364
|
+
let P = 0;
|
|
365
|
+
P = c ? -0.1 * i : 0.1 * i, T((x) => x.baseMin === void 0 ? x : { baseMin: Ve({ dragDistance: P, prevBaseMin: x.baseMin, chartWidth: i, zoomMultiples: x.zoomMultiples }), zoomMultiples: x.zoomMultiples, targetMarginPriceX: x.targetMarginPriceX });
|
|
366
|
+
}, Y = (c) => {
|
|
367
|
+
T((P) => {
|
|
368
|
+
const x = Ye({ zoomIn: c != null && c, prevZoomMultiples: P.zoomMultiples });
|
|
369
|
+
return { baseMin: Q({ midPrice: l, zoomMultiples: x }), zoomMultiples: x, targetMarginPriceX: P.targetMarginPriceX };
|
|
370
|
+
});
|
|
371
|
+
}, ge = W(() => {
|
|
372
|
+
if (a === "") return !1;
|
|
373
|
+
const c = new M(a);
|
|
374
|
+
return !(!c.lte(0) && !c.isNaN() && (s != null && s.b) && !c.gte(s.b));
|
|
375
|
+
}, [a, s]), he = W(() => {
|
|
376
|
+
if (f === "") return !1;
|
|
377
|
+
const c = new M(f);
|
|
378
|
+
return !(!c.lte(0) && !c.isNaN() && (s != null && s.b) && !c.gte(s.b));
|
|
379
|
+
}, [f, s]);
|
|
380
|
+
return o.jsxs(Pt, { id: e, children: [z ? "" : o.jsxs(wt, { children: [o.jsxs(Ze, { borderColor: h && h.grid, children: [G("pool.chart.buy-amount", { symbol: r }), o.jsx(He, { value: a, error: ge, onChange: (c) => {
|
|
381
|
+
const P = Oe(c.target.value, 2);
|
|
382
|
+
P !== null && d(P);
|
|
383
|
+
} }), o.jsx(Ge, { children: G("pool.chart.price-impact", { amount: O }) })] }), o.jsxs(Ze, { borderColor: h && h.grid, children: [G("pool.chart.sell-amount", { symbol: r }), o.jsx(He, { value: f, error: he, onChange: (c) => {
|
|
384
|
+
const P = Oe(c.target.value, 2);
|
|
385
|
+
P !== null && H(P);
|
|
386
|
+
} }), o.jsx(Ge, { children: G("pool.chart.price-impact", { amount: me }) })] })] }), s !== void 0 && l !== void 0 && u !== void 0 && U.baseMin !== void 0 && l !== void 0 && o.jsx(xt, { width: i, height: t, params: s, midPrice: l, pmmModel: u, baseTokenSymbol: r, quoteTokenSymbol: b, baseMinAndZoomMultiples: U, colorMap: h, setBaseMinAndZoomMultiples: T }), o.jsxs(jt, { className: "operate-btn-wrapper", children: [o.jsx(ae, { onClick: () => V(!0), children: o.jsx(ft, {}) }), o.jsx(ae, { onClick: () => Y(!1), children: o.jsx(Mt, {}) }), o.jsx(ae, { onClick: () => Y(!0), children: o.jsx(vt, {}) }), o.jsx(ae, { onClick: () => V(!1), children: o.jsx(bt, {}) })] })] });
|
|
387
|
+
};
|
|
388
|
+
export {
|
|
389
|
+
St as default
|
|
390
|
+
};
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.message-container{display:flex}.message-align-right{justify-content:flex-end}.message-align-left{justify-content:flex-start}.chat-avatar{width:44px;height:44px;max-width:44px;max-height:44px;min-width:44px;min-height:44px;border-radius:8px;overflow:hidden;flex-shrink:0}.chat-avatar img{width:100%;height:100%;object-fit:cover}.message-bubble{padding:12px 16px;border-radius:8px;max-width:90%;font-size:14px;word-break:break-all;line-height:24px;background:#ffffff0d;color:#fff}@media (min-width: 768px){.message-bubble{max-width:70%;font-size:13px}}.chat-message{background-color:#ffffff1a}.message-spacing-small{gap:.5rem}.message-spacing-medium{gap:1rem}.message-loading{color:#fff;font-style:italic}.message-empty{color:#fff;font-style:italic;text-align:center}.chat-library{box-sizing:border-box;height:100%;position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:16px}.chat-container{flex:1;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.chat-container::-webkit-scrollbar{display:none}.chat-container-list{display:flex;flex-direction:column;gap:16px}.chat-bar{display:flex;align-items:center;gap:16px}.chat-bar-trash{width:24px;height:24px;min-width:24px;min-height:24px;color:#fff;cursor:pointer}.chat-bar-input{flex:1;height:44px;outline:none;border-radius:99999px;border:1px solid #ccc;background-color:transparent;color:#fff;padding:0 16px;min-width:0}.chat-bar-send{flex:none;width:auto;border:1px solid;height:48px;padding:0 32px;border-radius:99999px;cursor:pointer;background-color:transparent;transition:all .2s ease-in-out}.chat-bar-send:hover{background-color:var(--primary-color);color:#fff!important}.message{display:flex;gap:12px;max-width:80%}.message-self{align-self:flex-end;flex-direction:row-reverse}.message-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0}.message-avatar img{width:100%;height:100%;object-fit:cover}.message-content{flex:1;padding:12px 16px;border-radius:12px;background:#ffffff0d;color:#fff;font-size:14px;line-height:1.5}.message-self .message-content{background:var(--primary-color)}.message-loading{display:flex;align-items:center;gap:8px;color:#ffffff8c}.message-loading-dot{width:8px;height:8px;border-radius:50%;background:#ffffff8c;animation:loading 1.4s infinite ease-in-out}.message-loading-dot:nth-child(2){animation-delay:.2s}.message-loading-dot:nth-child(3){animation-delay:.4s}@keyframes loading{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
|
|
1
|
+
.message-container{display:flex}.message-align-right{justify-content:flex-end}.message-align-left{justify-content:flex-start}.chat-avatar{width:44px;height:44px;max-width:44px;max-height:44px;min-width:44px;min-height:44px;border-radius:8px;overflow:hidden;flex-shrink:0}.chat-avatar img{width:100%;height:100%;object-fit:cover}.message-bubble{padding:12px 16px;border-radius:8px;max-width:90%;font-size:14px;word-break:break-all;line-height:24px;background:#ffffff0d;color:#fff}@media (min-width: 768px){.message-bubble{max-width:70%;font-size:13px}}.chat-message{background-color:#ffffff1a}.chat-message p{margin:0}.message-spacing-small{gap:.5rem}.message-spacing-medium{gap:1rem}.message-loading{color:#fff;font-style:italic}.message-empty{color:#fff;font-style:italic;text-align:center}.chat-library{box-sizing:border-box;height:100%;position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:16px}.chat-container{flex:1;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.chat-container::-webkit-scrollbar{display:none}.chat-container-list{display:flex;flex-direction:column;gap:16px}.chat-bar{display:flex;align-items:center;gap:16px}.chat-bar-trash{width:24px;height:24px;min-width:24px;min-height:24px;color:#fff;cursor:pointer}.chat-bar-input{flex:1;height:44px;outline:none;border-radius:99999px;border:1px solid #ccc;background-color:transparent;color:#fff;padding:0 16px;min-width:0}.chat-bar-send{flex:none;width:auto;border:1px solid;height:48px;padding:0 32px;border-radius:99999px;cursor:pointer;background-color:transparent;transition:all .2s ease-in-out}.chat-bar-send:hover{background-color:var(--primary-color);color:#fff!important}.message{display:flex;gap:12px;max-width:80%}.message-self{align-self:flex-end;flex-direction:row-reverse}.message-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0}.message-avatar img{width:100%;height:100%;object-fit:cover}.message-content{flex:1;padding:12px 16px;border-radius:12px;background:#ffffff0d;color:#fff;font-size:14px;line-height:1.5}.message-self .message-content{background:var(--primary-color)}.message-loading{display:flex;align-items:center;gap:8px;color:#ffffff8c}.message-loading-dot{width:8px;height:8px;border-radius:50%;background:#ffffff8c;animation:loading 1.4s infinite ease-in-out}.message-loading-dot:nth-child(2){animation-delay:.2s}.message-loading-dot:nth-child(3){animation-delay:.4s}@keyframes loading{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.trade-btn{cursor:pointer;-webkit-user-select:none;user-select:none}.dodo-swap{position:fixed;z-index:1000;top:0;left:0;width:100%;height:100%;background-color:#00000059;display:flex;align-items:center;justify-content:center}.css-wzmf6s{display:none!important}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { m as C } from "./core-BncCIRvy.mjs";
|
|
2
|
+
const t = C`<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M9.125 6.875C9.125 6.57833 9.21298 6.28832 9.3778 6.04165C9.54262 5.79497 9.77689 5.60271 10.051 5.48918C10.3251 5.37565 10.6267 5.34594 10.9176 5.40382C11.2086 5.4617 11.4759 5.60456 11.6857 5.81434C11.8954 6.02412 12.0383 6.29139 12.0962 6.58236C12.1541 6.87334 12.1244 7.17494 12.0108 7.44903C11.8973 7.72311 11.705 7.95738 11.4584 8.1222C11.2117 8.28703 10.9217 8.375 10.625 8.375C10.2272 8.375 9.84565 8.21696 9.56434 7.93566C9.28304 7.65436 9.125 7.27282 9.125 6.875ZM21.125 11C21.125 13.0025 20.5312 14.9601 19.4186 16.6251C18.3061 18.2902 16.7248 19.5879 14.8747 20.3543C13.0246 21.1206 10.9888 21.3211 9.02471 20.9305C7.06066 20.5398 5.25656 19.5755 3.84055 18.1595C2.42454 16.7435 1.46023 14.9393 1.06955 12.9753C0.678878 11.0112 0.879387 8.97543 1.64572 7.12533C2.41206 5.27523 3.70981 3.69392 5.37486 2.58137C7.0399 1.46882 8.99747 0.875 11 0.875C13.6844 0.877978 16.258 1.94567 18.1562 3.84383C20.0543 5.74199 21.122 8.3156 21.125 11ZM18.875 11C18.875 9.44247 18.4131 7.91992 17.5478 6.62488C16.6825 5.32985 15.4526 4.32049 14.0136 3.72445C12.5747 3.12841 10.9913 2.97246 9.46367 3.27632C7.93607 3.58017 6.53288 4.3302 5.43154 5.43153C4.3302 6.53287 3.58018 7.93606 3.27632 9.46366C2.97246 10.9913 3.12841 12.5747 3.72445 14.0136C4.32049 15.4526 5.32985 16.6825 6.62489 17.5478C7.91993 18.4131 9.44248 18.875 11 18.875C13.0879 18.8728 15.0896 18.0424 16.566 16.566C18.0424 15.0896 18.8728 13.0879 18.875 11ZM12.125 14.4387V11.375C12.125 10.8777 11.9275 10.4008 11.5758 10.0492C11.2242 9.69754 10.7473 9.5 10.25 9.5C9.98433 9.4996 9.72708 9.59325 9.52383 9.76435C9.32058 9.93544 9.18444 10.173 9.13952 10.4348C9.09461 10.6967 9.14381 10.966 9.27843 11.195C9.41304 11.4241 9.62438 11.5981 9.875 11.6863V14.75C9.875 15.2473 10.0725 15.7242 10.4242 16.0758C10.7758 16.4275 11.2527 16.625 11.75 16.625C12.0157 16.6254 12.2729 16.5318 12.4762 16.3607C12.6794 16.1896 12.8156 15.952 12.8605 15.6902C12.9054 15.4283 12.8562 15.159 12.7216 14.93C12.587 14.7009 12.3756 14.5269 12.125 14.4387Z" fill="currentColor"/>
|
|
4
|
+
</svg>`;
|
|
5
|
+
export {
|
|
6
|
+
t as infoSvg
|
|
7
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { m as l } from "./core-BncCIRvy.mjs";
|
|
2
|
+
const e = l`<svg fill="none" viewBox="0 0 14 15">
|
|
3
|
+
<path
|
|
4
|
+
fill="currentColor"
|
|
5
|
+
d="M6 10.49a1 1 0 1 0 2 0v-2a1 1 0 0 0-2 0v2ZM7 4.49a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"
|
|
6
|
+
/>
|
|
7
|
+
<path
|
|
8
|
+
fill="currentColor"
|
|
9
|
+
fill-rule="evenodd"
|
|
10
|
+
d="M7 14.99a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm5-7a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"
|
|
11
|
+
clip-rule="evenodd"
|
|
12
|
+
/>
|
|
13
|
+
</svg>`;
|
|
14
|
+
export {
|
|
15
|
+
e as infoCircleSvg
|
|
16
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { m as C } from "./core-BncCIRvy.mjs";
|
|
2
|
+
const e = C`<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.00177 1.78569C3.8179 1.78569 2.85819 2.74508 2.85819 3.92855C2.85819 4.52287 3.09928 5.05956 3.49077 5.4485L3.5005 5.45817C3.64381 5.60054 3.76515 5.72108 3.85631 5.81845C3.93747 5.90512 4.05255 6.03218 4.12889 6.1805C4.16999 6.26034 4.19 6.30843 4.21768 6.39385C4.22145 6.40546 4.22499 6.41703 4.22833 6.42855H5.77521C5.77854 6.41703 5.78208 6.40547 5.78585 6.39385C5.81353 6.30843 5.83354 6.26034 5.87464 6.1805C5.95098 6.03218 6.06606 5.90512 6.14722 5.81845C6.23839 5.72108 6.35973 5.60053 6.50304 5.45816L6.51276 5.4485C6.90425 5.05956 7.14534 4.52287 7.14534 3.92855C7.14534 2.74508 6.18563 1.78569 5.00177 1.78569ZM5.71629 7.85712H4.28724C4.28724 8.21403 4.28876 8.40985 4.30703 8.54571C4.30727 8.54748 4.30751 8.54921 4.30774 8.55091C4.30944 8.55115 4.31118 8.55138 4.31295 8.55162C4.44884 8.56989 4.64474 8.5714 5.00177 8.5714C5.3588 8.5714 5.55469 8.56989 5.69059 8.55162C5.69236 8.55138 5.69409 8.55115 5.69579 8.55091C5.69603 8.54921 5.69627 8.54748 5.6965 8.54571C5.71477 8.40985 5.71629 8.21403 5.71629 7.85712ZM2.85819 7.14283C2.85819 6.9948 2.85796 6.91114 2.8548 6.85032C2.85461 6.84656 2.85441 6.84309 2.85421 6.83988C2.84393 6.8282 2.83047 6.81334 2.81301 6.79469C2.74172 6.71856 2.63908 6.61643 2.48342 6.46178C1.83307 5.81566 1.42914 4.91859 1.42914 3.92855C1.42914 1.9561 3.02866 0.357117 5.00177 0.357117C6.97487 0.357117 8.57439 1.9561 8.57439 3.92855C8.57439 4.91859 8.17047 5.81566 7.52012 6.46178C7.36445 6.61643 7.26182 6.71856 7.19053 6.79469C7.17306 6.81334 7.1596 6.8282 7.14932 6.83988C7.14912 6.84309 7.14892 6.84656 7.14873 6.85032C7.14557 6.91114 7.14534 6.9948 7.14534 7.14283V7.85712C7.14534 7.87009 7.14535 7.88304 7.14535 7.89598C7.14541 8.19889 7.14547 8.49326 7.11281 8.73606C7.076 9.00978 6.98631 9.32212 6.72678 9.58156C6.46726 9.841 6.15481 9.93065 5.881 9.96745C5.63813 10.0001 5.34365 10 5.04064 9.99998C5.0277 9.99998 5.01474 9.99998 5.00177 9.99998C4.98879 9.99998 4.97583 9.99998 4.96289 9.99998C4.65988 10 4.36541 10.0001 4.12253 9.96745C3.84872 9.93065 3.53628 9.841 3.27675 9.58156C3.01722 9.32212 2.92753 9.00978 2.89072 8.73606C2.85807 8.49326 2.85812 8.19889 2.85818 7.89598C2.85819 7.88304 2.85819 7.87008 2.85819 7.85712V7.14283ZM7.1243 6.86977C7.12366 6.87069 7.1233 6.87116 7.12327 6.87119C7.12323 6.87123 7.12356 6.87076 7.1243 6.86977ZM2.88027 6.8712C2.88025 6.87119 2.87988 6.8707 2.87921 6.86975C2.87995 6.87072 2.88028 6.8712 2.88027 6.8712Z" fill="#949E9E"/>
|
|
4
|
+
</svg>`;
|
|
5
|
+
export {
|
|
6
|
+
e as lightbulbSvg
|
|
7
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { m as c } from "./core-BncCIRvy.mjs";
|
|
2
|
+
const e = c`<svg fill="none" viewBox="0 0 16 16">
|
|
3
|
+
<path
|
|
4
|
+
fill="currentColor"
|
|
5
|
+
fill-rule="evenodd"
|
|
6
|
+
d="M4.83 1.34h6.34c.68 0 1.26 0 1.73.04.5.05.97.15 1.42.4.52.3.95.72 1.24 1.24.26.45.35.92.4 1.42.04.47.04 1.05.04 1.73v3.71c0 .69 0 1.26-.04 1.74-.05.5-.14.97-.4 1.41-.3.52-.72.95-1.24 1.25-.45.25-.92.35-1.42.4-.47.03-1.05.03-1.73.03H4.83c-.68 0-1.26 0-1.73-.04-.5-.04-.97-.14-1.42-.4-.52-.29-.95-.72-1.24-1.24a3.39 3.39 0 0 1-.4-1.41A20.9 20.9 0 0 1 0 9.88v-3.7c0-.7 0-1.27.04-1.74.05-.5.14-.97.4-1.42.3-.52.72-.95 1.24-1.24.45-.25.92-.35 1.42-.4.47-.04 1.05-.04 1.73-.04ZM3.28 3.38c-.36.03-.51.08-.6.14-.21.11-.39.29-.5.5a.8.8 0 0 0-.08.19l5.16 3.44c.45.3 1.03.3 1.48 0L13.9 4.2a.79.79 0 0 0-.08-.2c-.11-.2-.29-.38-.5-.5-.09-.05-.24-.1-.6-.13-.37-.04-.86-.04-1.6-.04H4.88c-.73 0-1.22 0-1.6.04ZM14 6.54 9.85 9.31a3.33 3.33 0 0 1-3.7 0L2 6.54v3.3c0 .74 0 1.22.03 1.6.04.36.1.5.15.6.11.2.29.38.5.5.09.05.24.1.6.14.37.03.86.03 1.6.03h6.25c.73 0 1.22 0 1.6-.03.35-.03.5-.09.6-.14.2-.12.38-.3.5-.5.05-.1.1-.24.14-.6.03-.38.03-.86.03-1.6v-3.3Z"
|
|
7
|
+
clip-rule="evenodd"
|
|
8
|
+
/>
|
|
9
|
+
</svg>`;
|
|
10
|
+
export {
|
|
11
|
+
e as mailSvg
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { m as l } from "./core-BncCIRvy.mjs";
|
|
2
|
+
const e = l`<svg fill="none" viewBox="0 0 20 20">
|
|
3
|
+
<path fill="currentColor" d="M10.81 5.81a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" />
|
|
4
|
+
<path
|
|
5
|
+
fill="currentColor"
|
|
6
|
+
fill-rule="evenodd"
|
|
7
|
+
d="M3 4.75A4.75 4.75 0 0 1 7.75 0h4.5A4.75 4.75 0 0 1 17 4.75v10.5A4.75 4.75 0 0 1 12.25 20h-4.5A4.75 4.75 0 0 1 3 15.25V4.75ZM7.75 2A2.75 2.75 0 0 0 5 4.75v10.5A2.75 2.75 0 0 0 7.75 18h4.5A2.75 2.75 0 0 0 15 15.25V4.75A2.75 2.75 0 0 0 12.25 2h-4.5Z"
|
|
8
|
+
clip-rule="evenodd"
|
|
9
|
+
/>
|
|
10
|
+
</svg>`;
|
|
11
|
+
export {
|
|
12
|
+
e as mobileSvg
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { m as l } from "./core-BncCIRvy.mjs";
|
|
2
|
+
const a = l`<svg fill="none" viewBox="0 0 41 40">
|
|
3
|
+
<path
|
|
4
|
+
style="fill: var(--wui-color-fg-100);"
|
|
5
|
+
fill-opacity=".05"
|
|
6
|
+
d="M.6 20a20 20 0 1 1 40 0 20 20 0 0 1-40 0Z"
|
|
7
|
+
/>
|
|
8
|
+
<path
|
|
9
|
+
fill="#949E9E"
|
|
10
|
+
d="M15.6 20.31a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM23.1 20.31a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM28.1 22.81a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"
|
|
11
|
+
/>
|
|
12
|
+
</svg>`;
|
|
13
|
+
export {
|
|
14
|
+
a as moreSvg
|
|
15
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var t = [{ constant: !0, inputs: [], name: "getCurrentBlockTimestamp", outputs: [{ name: "timestamp", type: "uint256" }], payable: !1, stateMutability: "view", type: "function" }, { constant: !1, inputs: [{ components: [{ name: "target", type: "address" }, { name: "callData", type: "bytes" }], name: "calls", type: "tuple[]" }], name: "aggregate", outputs: [{ name: "blockNumber", type: "uint256" }, { name: "returnData", type: "bytes[]" }], payable: !1, stateMutability: "nonpayable", type: "function" }, { constant: !0, inputs: [], name: "getLastBlockHash", outputs: [{ name: "blockHash", type: "bytes32" }], payable: !1, stateMutability: "view", type: "function" }, { constant: !0, inputs: [{ name: "addr", type: "address" }], name: "getEthBalance", outputs: [{ name: "balance", type: "uint256" }], payable: !1, stateMutability: "view", type: "function" }, { constant: !0, inputs: [], name: "getCurrentBlockDifficulty", outputs: [{ name: "difficulty", type: "uint256" }], payable: !1, stateMutability: "view", type: "function" }, { constant: !0, inputs: [], name: "getCurrentBlockGasLimit", outputs: [{ name: "gaslimit", type: "uint256" }], payable: !1, stateMutability: "view", type: "function" }, { constant: !0, inputs: [], name: "getCurrentBlockCoinbase", outputs: [{ name: "coinbase", type: "address" }], payable: !1, stateMutability: "view", type: "function" }, { constant: !0, inputs: [{ name: "blockNumber", type: "uint256" }], name: "getBlockHash", outputs: [{ name: "blockHash", type: "bytes32" }], payable: !1, stateMutability: "view", type: "function" }];
|
|
2
|
+
export {
|
|
3
|
+
t as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { m as l } from "./core-BncCIRvy.mjs";
|
|
2
|
+
const e = l`<svg fill="none" viewBox="0 0 22 20">
|
|
3
|
+
<path
|
|
4
|
+
fill="currentColor"
|
|
5
|
+
fill-rule="evenodd"
|
|
6
|
+
d="M16.32 13.62a3.14 3.14 0 1 1-.99 1.72l-1.6-.93a3.83 3.83 0 0 1-3.71 1 3.66 3.66 0 0 1-1.74-1l-1.6.94a3.14 3.14 0 1 1-1-1.73l1.6-.94a3.7 3.7 0 0 1 0-2 3.81 3.81 0 0 1 1.8-2.33c.29-.17.6-.3.92-.38V6.1a3.14 3.14 0 1 1 2 0l-.01.02v1.85H12a3.82 3.82 0 0 1 2.33 1.8 3.7 3.7 0 0 1 .39 2.91l1.6.93ZM2.6 16.54a1.14 1.14 0 0 0 1.98-1.14 1.14 1.14 0 0 0-1.98 1.14ZM11 2.01a1.14 1.14 0 1 0 0 2.28 1.14 1.14 0 0 0 0-2.28Zm1.68 10.45c.08-.19.14-.38.16-.58v-.05l.02-.13v-.13a1.92 1.92 0 0 0-.24-.8l-.11-.15a1.89 1.89 0 0 0-.74-.6 1.86 1.86 0 0 0-.77-.17h-.19a1.97 1.97 0 0 0-.89.34 1.98 1.98 0 0 0-.61.74 1.99 1.99 0 0 0-.16.9v.05a1.87 1.87 0 0 0 .24.74l.1.15c.12.16.26.3.42.42l.16.1.13.07.04.02a1.84 1.84 0 0 0 .76.17h.17a2 2 0 0 0 .91-.35 1.78 1.78 0 0 0 .52-.58l.03-.05a.84.84 0 0 0 .05-.11Zm5.15 4.5a1.14 1.14 0 0 0 1.14-1.97 1.13 1.13 0 0 0-1.55.41c-.32.55-.13 1.25.41 1.56Z"
|
|
7
|
+
clip-rule="evenodd"
|
|
8
|
+
/>
|
|
9
|
+
<path
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
fill-rule="evenodd"
|
|
12
|
+
d="M4.63 9.43a1.5 1.5 0 1 0 1.5-2.6 1.5 1.5 0 0 0-1.5 2.6Zm.32-1.55a.5.5 0 0 1 .68-.19.5.5 0 0 1 .18.68.5.5 0 0 1-.68.19.5.5 0 0 1-.18-.68ZM17.94 8.88a1.5 1.5 0 1 1-2.6-1.5 1.5 1.5 0 1 1 2.6 1.5ZM16.9 7.69a.5.5 0 0 0-.68.19.5.5 0 0 0 .18.68.5.5 0 0 0 .68-.19.5.5 0 0 0-.18-.68ZM9.75 17.75a1.5 1.5 0 1 1 2.6 1.5 1.5 1.5 0 1 1-2.6-1.5Zm1.05 1.18a.5.5 0 0 0 .68-.18.5.5 0 0 0-.18-.68.5.5 0 0 0-.68.18.5.5 0 0 0 .18.68Z"
|
|
13
|
+
clip-rule="evenodd"
|
|
14
|
+
/>
|
|
15
|
+
</svg>`;
|
|
16
|
+
export {
|
|
17
|
+
e as networkPlaceholderSvg
|
|
18
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = [{ anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "owner", type: "address" }, { indexed: !0, internalType: "address", name: "approved", type: "address" }, { indexed: !0, internalType: "uint256", name: "tokenId", type: "uint256" }], name: "Approval", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "owner", type: "address" }, { indexed: !0, internalType: "address", name: "operator", type: "address" }, { indexed: !1, internalType: "bool", name: "approved", type: "bool" }], name: "ApprovalForAll", type: "event" }, { anonymous: !1, inputs: [{ indexed: !1, internalType: "uint256", name: "mintAmount", type: "uint256" }], name: "BatchMint", type: "event" }, { anonymous: !1, inputs: [{ indexed: !1, internalType: "address", name: "account", type: "address" }, { indexed: !1, internalType: "uint256", name: "value", type: "uint256" }, { indexed: !1, internalType: "uint256", name: "tickets", type: "uint256" }], name: "BuyTicket", type: "event" }, { anonymous: !1, inputs: [{ indexed: !1, internalType: "address", name: "randomGenerator", type: "address" }], name: "ChangeRandomGenerator", type: "event" }, { anonymous: !1, inputs: [{ indexed: !1, internalType: "uint256", name: "curSellingTickets", type: "uint256" }, { indexed: !1, internalType: "uint256", name: "curPrice", type: "uint256" }], name: "ChangeSellingInfo", type: "event" }, { anonymous: !1, inputs: [{ indexed: !1, internalType: "uint256", name: "newTicketUnit", type: "uint256" }], name: "ChangeTicketUnit", type: "event" }, { anonymous: !1, inputs: [], name: "DisableRedeem", type: "event" }, { anonymous: !1, inputs: [], name: "EnableRedeem", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "previousOwner", type: "address" }, { indexed: !0, internalType: "address", name: "newOwner", type: "address" }], name: "OwnershipTransferPrepared", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "previousOwner", type: "address" }, { indexed: !0, internalType: "address", name: "newOwner", type: "address" }], name: "OwnershipTransferred", type: "event" }, { anonymous: !1, inputs: [{ indexed: !1, internalType: "address", name: "account", type: "address" }, { indexed: !1, internalType: "uint256", name: "tokenId", type: "uint256" }], name: "RedeemPrize", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "from", type: "address" }, { indexed: !0, internalType: "address", name: "to", type: "address" }, { indexed: !0, internalType: "uint256", name: "tokenId", type: "uint256" }], name: "Transfer", type: "event" }, { anonymous: !1, inputs: [{ indexed: !1, internalType: "address", name: "account", type: "address" }, { indexed: !1, internalType: "uint256", name: "amount", type: "uint256" }], name: "Withdraw", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "_CUR_PRCIE_", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_CUR_SELLING_TICKETS_", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_NEW_OWNER_", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_OWNER_", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_RANDOM_GENERATOR_", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_REDEEM_ALLOWED_", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_TICKET_UNIT_", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "", type: "uint256" }], name: "_TOKEN_IDS_", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_TOTAL_TICKETS_", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "string[]", name: "urls", type: "string[]" }], name: "batchMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "buyTicket", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "claimOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "disableRedeemPrize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "enableRedeemPrize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "tokenId", type: "uint256" }], name: "getApproved", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }], name: "getTickets", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseUri", type: "string" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "randomGenerator", type: "address" }], name: "init", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newOwner", type: "address" }], name: "initOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" }], name: "isApprovedForAll", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "tokenId", type: "uint256" }], name: "ownerOf", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "ticketNum", type: "uint256" }], name: "redeemPrize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" }], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" }], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }], name: "supportsInterface", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "index", type: "uint256" }], name: "tokenByIndex", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" }], name: "tokenOfOwnerByIndex", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "tokenId", type: "uint256" }], name: "tokenURI", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newOwner", type: "address" }], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newRandomGenerator", type: "address" }], name: "updateRandomGenerator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "newSellingTickets", type: "uint256" }, { internalType: "uint256", name: "newPrice", type: "uint256" }], name: "updateSellingInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "newTicketUnit", type: "uint256" }], name: "updateTicketUnit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" }];
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = [{ anonymous: !1, inputs: [{ indexed: !1, internalType: "address", name: "filter", type: "address" }], name: "AddFilter", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "owner", type: "address" }, { indexed: !0, internalType: "address", name: "spender", type: "address" }, { indexed: !1, internalType: "uint256", name: "amount", type: "uint256" }], name: "Approval", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "user", type: "address" }, { indexed: !1, internalType: "uint256", name: "value", type: "uint256" }], name: "Burn", type: "event" }, { anonymous: !1, inputs: [{ indexed: !1, internalType: "uint256", name: "fee", type: "uint256" }], name: "ChangeFeeRate", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "user", type: "address" }, { indexed: !1, internalType: "uint256", name: "value", type: "uint256" }], name: "Mint", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "previousOwner", type: "address" }, { indexed: !0, internalType: "address", name: "newOwner", type: "address" }], name: "OwnershipTransferPrepared", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "previousOwner", type: "address" }, { indexed: !0, internalType: "address", name: "newOwner", type: "address" }], name: "OwnershipTransferred", type: "event" }, { anonymous: !1, inputs: [{ indexed: !0, internalType: "address", name: "from", type: "address" }, { indexed: !0, internalType: "address", name: "to", type: "address" }, { indexed: !1, internalType: "uint256", name: "amount", type: "uint256" }], name: "Transfer", type: "event" }, { inputs: [], name: "_CONTROLLER_", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_FEE_RATE_", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "", type: "uint256" }], name: "_FILTERS_", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "_FILTER_REGISTRY_", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_INIT_SUPPLY_", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_MAINTAINER_", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_NEW_OWNER_", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "_OWNER_", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "balance", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "claimOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "decimals", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "newOwner", type: "address" }], name: "initOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newOwner", type: "address" }], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "initSupply", type: "uint256" }, { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "uint256", name: "feeRate", type: "uint256" }, { internalType: "address", name: "controller", type: "address" }, { internalType: "address", name: "maintainer", type: "address" }, { internalType: "address[]", name: "filters", type: "address[]" }], name: "init", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_creator", type: "address" }, { internalType: "uint256", name: "_initSupply", type: "uint256" }, { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "uint8", name: "_decimals", type: "uint8" }], name: "init", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "rawAmount", type: "uint256" }], name: "mintFragTo", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "rawAmount", type: "uint256" }], name: "burnFragFrom", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "rawAmount", type: "uint256" }], name: "queryMintFee", outputs: [{ internalType: "uint256", name: "poolFee", type: "uint256" }, { internalType: "uint256", name: "mtFee", type: "uint256" }, { internalType: "uint256", name: "afterChargedAmount", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "rawAmount", type: "uint256" }], name: "queryBurnFee", outputs: [{ internalType: "uint256", name: "poolFee", type: "uint256" }, { internalType: "uint256", name: "mtFee", type: "uint256" }, { internalType: "uint256", name: "afterChargedAmount", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "filter", type: "address" }], name: "isRegisteredFilter", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getFilters", outputs: [{ internalType: "address[]", name: "", type: "address[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address[]", name: "filters", type: "address[]" }], name: "addFilter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "newFeeRate", type: "uint256" }], name: "changeFeeRate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "newOwner", type: "address" }], name: "directTransferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "version", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "pure", type: "function" }];
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { m as c } from "./core-BncCIRvy.mjs";
|
|
2
|
+
const l = c`<svg fill="none" viewBox="0 0 20 20">
|
|
3
|
+
<path
|
|
4
|
+
fill="currentColor"
|
|
5
|
+
fill-rule="evenodd"
|
|
6
|
+
d="M9.13 1h1.71c1.46 0 2.63 0 3.56.1.97.1 1.8.33 2.53.85a5 5 0 0 1 1.1 1.11c.53.73.75 1.56.86 2.53.1.93.1 2.1.1 3.55v1.72c0 1.45 0 2.62-.1 3.55-.1.97-.33 1.8-.86 2.53a5 5 0 0 1-1.1 1.1c-.73.53-1.56.75-2.53.86-.93.1-2.1.1-3.55.1H9.13c-1.45 0-2.62 0-3.56-.1-.96-.1-1.8-.33-2.52-.85a5 5 0 0 1-1.1-1.11 5.05 5.05 0 0 1-.86-2.53c-.1-.93-.1-2.1-.1-3.55V9.14c0-1.45 0-2.62.1-3.55.1-.97.33-1.8.85-2.53a5 5 0 0 1 1.1-1.1 5.05 5.05 0 0 1 2.53-.86C6.51 1 7.67 1 9.13 1ZM5.79 3.09a3.1 3.1 0 0 0-1.57.48 3 3 0 0 0-.66.67c-.24.32-.4.77-.48 1.56-.1.82-.1 1.88-.1 3.4v1.6c0 1.15 0 2.04.05 2.76l.41-.42c.5-.5.93-.92 1.32-1.24.41-.33.86-.6 1.43-.7a3 3 0 0 1 .94 0c.35.06.66.2.95.37a17.11 17.11 0 0 0 .8.45c.1-.08.2-.2.41-.4l.04-.03a27 27 0 0 1 1.95-1.84 4.03 4.03 0 0 1 1.91-.94 4 4 0 0 1 1.25 0c.73.11 1.33.46 1.91.94l.64.55V9.2c0-1.52 0-2.58-.1-3.4a3.1 3.1 0 0 0-.48-1.56 3 3 0 0 0-.66-.67 3.1 3.1 0 0 0-1.56-.48C13.37 3 12.3 3 10.79 3h-1.6c-1.52 0-2.59 0-3.4.09Zm11.18 10-.04-.05a26.24 26.24 0 0 0-1.83-1.74c-.45-.36-.73-.48-.97-.52a2 2 0 0 0-.63 0c-.24.04-.51.16-.97.52-.46.38-1.01.93-1.83 1.74l-.02.02c-.17.18-.34.34-.49.47a2.04 2.04 0 0 1-1.08.5 1.97 1.97 0 0 1-1.25-.27l-.79-.46-.02-.02a.65.65 0 0 0-.24-.1 1 1 0 0 0-.31 0c-.08.02-.21.06-.49.28-.3.24-.65.59-1.2 1.14l-.56.56-.65.66a3 3 0 0 0 .62.6c.33.24.77.4 1.57.49.81.09 1.88.09 3.4.09h1.6c1.52 0 2.58 0 3.4-.09a3.1 3.1 0 0 0 1.56-.48 3 3 0 0 0 .66-.67c.24-.32.4-.77.49-1.56l.07-1.12Zm-8.02-1.03ZM4.99 7a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z"
|
|
7
|
+
clip-rule="evenodd"
|
|
8
|
+
/>
|
|
9
|
+
</svg>`;
|
|
10
|
+
export {
|
|
11
|
+
l as nftPlaceholderSvg
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { m as o } from "./core-BncCIRvy.mjs";
|
|
2
|
+
const l = o`<svg fill="none" viewBox="0 0 16 16">
|
|
3
|
+
<path
|
|
4
|
+
fill="currentColor"
|
|
5
|
+
fill-rule="evenodd"
|
|
6
|
+
d="M8 0a1 1 0 0 1 1 1v5.38a1 1 0 0 1-2 0V1a1 1 0 0 1 1-1ZM5.26 2.6a1 1 0 0 1-.28 1.39 5.46 5.46 0 1 0 6.04 0 1 1 0 1 1 1.1-1.67 7.46 7.46 0 1 1-8.25 0 1 1 0 0 1 1.4.28Z"
|
|
7
|
+
clip-rule="evenodd"
|
|
8
|
+
/>
|
|
9
|
+
</svg>`;
|
|
10
|
+
export {
|
|
11
|
+
l as offSvg
|
|
12
|
+
};
|