@ape.swap/bonds-sdk 1.0.27 → 1.0.28
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/.idea/bonds-app.iml +12 -0
- package/.idea/inspectionProfiles/Project_Default.xml +16 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/README.md +46 -1
- package/package.json +104 -30
- package/public/favicon.ico +0 -0
- package/public/index.html +43 -0
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +25 -0
- package/public/robots.txt +3 -0
- package/src/App.css +38 -0
- package/src/App.test.tsx +9 -0
- package/src/App.tsx +30 -0
- package/src/index.css +22 -0
- package/src/index.tsx +20 -0
- package/src/logo.svg +1 -0
- package/src/react-app-env.d.ts +1 -0
- package/src/reportWebVitals.ts +15 -0
- package/src/setupTests.ts +5 -0
- package/src/theme/base.ts +127 -0
- package/src/theme/colors.ts +93 -0
- package/src/theme/components.ts +385 -0
- package/src/theme/display.ts +2 -0
- package/src/theme/index.ts +10 -0
- package/src/theme/types.ts +10 -0
- package/src/views/Bonds/Bonds.tsx +77 -0
- package/src/views/Bonds/index.ts +2 -0
- package/src/views/Bonds/styles.scss +24 -0
- package/src/views/Bonds/styles.ts +91 -0
- package/src/views/Bonds/type.ts +34 -0
- package/src/views/index.ts +1 -0
- package/src/wallet/ConnectionOptions.tsx +59 -0
- package/src/wallet/Option.tsx +44 -0
- package/src/wallet/config.ts +23 -0
- package/src/wallet/connections.ts +92 -0
- package/src/wallet/constants.ts +43 -0
- package/src/wallet/injected.ts +17 -0
- package/src/wallet/network.ts +23 -0
- package/src/wallet/provider.tsx +35 -0
- package/src/wallet/wallet-connect.ts +25 -0
- package/tsconfig.json +27 -0
- package/dist/cjs/index.js +0 -160073
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/App.d.ts +0 -3
- package/dist/cjs/types/components/Button/Button.d.ts +0 -4
- package/dist/cjs/types/components/Button/index.d.ts +0 -1
- package/dist/cjs/types/components/Button/styles.d.ts +0 -3
- package/dist/cjs/types/components/Button/types.d.ts +0 -32
- package/dist/cjs/types/components/CurrencyLogo/Logo.d.ts +0 -11
- package/dist/cjs/types/components/CurrencyLogo/index.d.ts +0 -9
- package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +0 -5
- package/dist/cjs/types/components/Dropdown/DropdownItem.d.ts +0 -4
- package/dist/cjs/types/components/Dropdown/index.d.ts +0 -3
- package/dist/cjs/types/components/Dropdown/styles.d.ts +0 -4
- package/dist/cjs/types/components/Dropdown/types.d.ts +0 -58
- package/dist/cjs/types/components/Flex/index.d.ts +0 -5
- package/dist/cjs/types/components/Input/Input.d.ts +0 -10
- package/dist/cjs/types/components/Input/NumericInput.d.ts +0 -9
- package/dist/cjs/types/components/Input/index.d.ts +0 -2
- package/dist/cjs/types/components/ListView/ListCard.d.ts +0 -4
- package/dist/cjs/types/components/ListView/ListView.d.ts +0 -7
- package/dist/cjs/types/components/ListView/ListViewContent.d.ts +0 -4
- package/dist/cjs/types/components/ListView/ListViewLayout/index.d.ts +0 -5
- package/dist/cjs/types/components/ListView/ListViewMenu/MenuSelect.d.ts +0 -9
- package/dist/cjs/types/components/ListView/ListViewMenu/index.d.ts +0 -4
- package/dist/cjs/types/components/ListView/ListViewMenu/styles.d.ts +0 -2
- package/dist/cjs/types/components/ListView/ListViewMenu/types.d.ts +0 -22
- package/dist/cjs/types/components/ListView/components/InfoContent.d.ts +0 -10
- package/dist/cjs/types/components/ListView/components/StyledTag.d.ts +0 -6
- package/dist/cjs/types/components/ListView/styles.d.ts +0 -2
- package/dist/cjs/types/components/ListView/types.d.ts +0 -51
- package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +0 -7
- package/dist/cjs/types/components/ProgressBar/ProgressBarWrapper.d.ts +0 -14
- package/dist/cjs/types/components/ServiceTokenDisplay/index.d.ts +0 -18
- package/dist/cjs/types/components/ServiceTokenDisplay/styles.d.ts +0 -12
- package/dist/cjs/types/components/Text/index.d.ts +0 -4
- package/dist/cjs/types/components/Text/types.d.ts +0 -23
- package/dist/cjs/types/components/index.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Button/Button.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Button/IconButton.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Button/index.d.ts +0 -2
- package/dist/cjs/types/components/uikit/Button/styles.d.ts +0 -3
- package/dist/cjs/types/components/uikit/Button/types.d.ts +0 -46
- package/dist/cjs/types/components/uikit/Checkbox/index.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Checkbox/types.d.ts +0 -11
- package/dist/cjs/types/components/uikit/Dropdown/Dropdown.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Dropdown/DropdownItem.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Dropdown/index.d.ts +0 -3
- package/dist/cjs/types/components/uikit/Dropdown/styles.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Dropdown/types.d.ts +0 -58
- package/dist/cjs/types/components/uikit/Flex/index.d.ts +0 -5
- package/dist/cjs/types/components/uikit/Input/Input.d.ts +0 -10
- package/dist/cjs/types/components/uikit/Input/NumericInput.d.ts +0 -10
- package/dist/cjs/types/components/uikit/Input/StyledInput.d.ts +0 -11
- package/dist/cjs/types/components/uikit/Input/index.d.ts +0 -3
- package/dist/cjs/types/components/uikit/Link/index.d.ts +0 -9
- package/dist/cjs/types/components/uikit/Modal/ModalFooter.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Modal/ModalHeader.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Modal/index.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Modal/styles.d.ts +0 -3
- package/dist/cjs/types/components/uikit/Modal/types.d.ts +0 -17
- package/dist/cjs/types/components/uikit/Select/Select.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Select/SelectItem.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Select/index.d.ts +0 -2
- package/dist/cjs/types/components/uikit/Select/styles.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Select/types.d.ts +0 -55
- package/dist/cjs/types/components/uikit/Skeleton/index.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Skeleton/styles.d.ts +0 -5
- package/dist/cjs/types/components/uikit/Skeleton/types.d.ts +0 -18
- package/dist/cjs/types/components/uikit/Spinner/index.d.ts +0 -5
- package/dist/cjs/types/components/uikit/Svg/Icons/AbondFullLogo.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/AbondSmallLogo.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/AccountMonkey.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/ApebondLogo.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/ApeswapSmallLogo.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Arrow.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Audit.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/BananaIcon.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/BillsM1.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/BillsM2.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/BillsM3.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Bridge.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Bubble.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Calculator.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Calendar.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Cancelled.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Card.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Caret.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Chain.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Chart.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Chat.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Close.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Cog.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Collapse.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Copy.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Discord.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/DiscordNew.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Docs.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/DocsV2.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Ellipse.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Error.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Expand.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Explorer.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/External.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Farm.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Fav.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/FilledURL.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Fire.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Frame.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/FullLogo.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Gnana.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/GreenShield.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Hamburger.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/HamburgerClosed.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Home.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Info.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/InfoSolid.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Insight.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Instagram.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Island.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Language.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/LanguageIcon.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/LineChart.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/LiquidityIcon.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Logout.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Medium.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/MenuSettings.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Message.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Migrate.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Moon.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/More.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/NFA.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/NavCaret.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/PlaceholderMonkey.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Play.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Pool.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Positions.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/ProfileDark.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/ProfileIcon.d.ts +0 -7
- package/dist/cjs/types/components/uikit/Svg/Icons/ProfileLight.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Question.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/QuestionCircle.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/QuestionFill.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Quiz.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Receipt.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Reddit.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Rocket.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/ScrollTop.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Search.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Send.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Settings.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Share.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Success.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/SuccessOutline.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/SwapArrows.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/SwitchArrows.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Tag.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Telegram.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/TelegramNew.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/TextLogo.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/TickShield.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Trade.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Trash.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Twitter.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/URL.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Vaults.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Verified.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Wallet.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Warning.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Watch.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/Website.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/WebsiteNew.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/WhitepaperNew.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/XNew.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/YellowQuestionMark.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/ZapArrow.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/ZapIcon.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/index.d.ts +0 -107
- package/dist/cjs/types/components/uikit/Svg/Icons/polygonNew.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/Icons/types.d.ts +0 -16
- package/dist/cjs/types/components/uikit/Svg/index.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/styles.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/ABOND.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/ARBITRUM.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/AVAX.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/BANANA.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/BNB.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/BSC.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/CELO.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/CRONOS.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/ETH.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/FANTOM.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/GNANA.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/GNOSIS.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/INEVM.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/LIGHTLINK.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/LINEA.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/OKX.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/OPTIMISM.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/POLYGON.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/POLYGONZK.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/TLOS.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/tokens/index.d.ts +0 -20
- package/dist/cjs/types/components/uikit/Svg/types.d.ts +0 -166
- package/dist/cjs/types/components/uikit/Svg/walletIcons/BinanceChain.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/Bitkeep.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/Brave.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/Coinbase.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/MadWallet.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/MathWallet.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/Metamask.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/Nabox.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/OKX.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/OntoWallet.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/SafePalWallet.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/SocialLogin.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/TokenPocket.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/TorusWallet.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/TrustWallet.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/Unstoppable.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/WalletConnect.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Svg/walletIcons/WalletImage.d.ts +0 -3
- package/dist/cjs/types/components/uikit/Svg/walletIcons/index.d.ts +0 -18
- package/dist/cjs/types/components/uikit/SwiperDots/index.d.ts +0 -6
- package/dist/cjs/types/components/uikit/Tabs/Tab.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Tabs/TabPanel.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Tabs/Tabs.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Tabs/index.d.ts +0 -2
- package/dist/cjs/types/components/uikit/Tabs/styles.d.ts +0 -3
- package/dist/cjs/types/components/uikit/Tabs/types.d.ts +0 -54
- package/dist/cjs/types/components/uikit/Tag/ListTag.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Tag/Tag.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Tag/index.d.ts +0 -3
- package/dist/cjs/types/components/uikit/Tag/styles.d.ts +0 -10
- package/dist/cjs/types/components/uikit/Tag/types.d.ts +0 -48
- package/dist/cjs/types/components/uikit/Text/index.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Text/types.d.ts +0 -23
- package/dist/cjs/types/components/uikit/Toggle/index.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Toggle/styles.d.ts +0 -3
- package/dist/cjs/types/components/uikit/Toggle/types.d.ts +0 -31
- package/dist/cjs/types/components/uikit/Tooltip/index.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Tooltip/styles.d.ts +0 -4
- package/dist/cjs/types/components/uikit/Tooltip/types.d.ts +0 -17
- package/dist/cjs/types/components/uikit/TutorialModal/index.d.ts +0 -4
- package/dist/cjs/types/components/uikit/TutorialModal/styles.d.ts +0 -8
- package/dist/cjs/types/components/uikit/TutorialModal/types.d.ts +0 -22
- package/dist/cjs/types/components/uikit/TutorialModal/useTutorialModal.d.ts +0 -6
- package/dist/cjs/types/components/uikit/index.d.ts +0 -18
- package/dist/cjs/types/index.d.ts +0 -2
- package/dist/cjs/types/main.d.ts +0 -1
- package/dist/cjs/types/theme/base.d.ts +0 -103
- package/dist/cjs/types/theme/colors.d.ts +0 -88
- package/dist/cjs/types/theme/components.d.ts +0 -439
- package/dist/cjs/types/theme/display.d.ts +0 -2
- package/dist/cjs/types/theme/index.d.ts +0 -2
- package/dist/cjs/types/theme/types.d.ts +0 -10
- package/dist/cjs/types/utils/connection/activate.d.ts +0 -3
- package/dist/cjs/types/utils/connection/index.d.ts +0 -8
- package/dist/cjs/types/utils/connection/types.d.ts +0 -14
- package/dist/cjs/types/utils/connection/utils.d.ts +0 -8
- package/dist/cjs/types/utils/formatNumbers.d.ts +0 -36
- package/dist/cjs/types/utils/getBalanceNumber.d.ts +0 -4
- package/dist/cjs/types/utils/getTimePeriods.d.ts +0 -14
- package/dist/cjs/types/utils/index.d.ts +0 -16
- package/dist/cjs/types/utils/isZero.d.ts +0 -5
- package/dist/cjs/types/utils/localStorageHelpers.d.ts +0 -3
- package/dist/cjs/types/utils/multicall.d.ts +0 -7
- package/dist/cjs/types/utils/numbers.d.ts +0 -1
- package/dist/cjs/types/utils/safeNamehash.d.ts +0 -1
- package/dist/cjs/types/utils/supportedChainId.d.ts +0 -6
- package/dist/cjs/types/utils/switchChain.d.ts +0 -3
- package/dist/cjs/types/utils/track.d.ts +0 -7
- package/dist/cjs/types/views/Bonds/Bonds.d.ts +0 -7
- package/dist/cjs/types/views/Bonds/index.d.ts +0 -1
- package/dist/cjs/types/views/Bonds/styles.d.ts +0 -4
- package/dist/cjs/types/views/Bonds/type.d.ts +0 -33
- package/dist/cjs/types/views/BondsWithProvider/BondsWithProvider.d.ts +0 -3
- package/dist/cjs/types/views/BondsWithProvider/index.d.ts +0 -1
- package/dist/cjs/types/views/index.d.ts +0 -1
- package/dist/cjs/types/wallet/ConnectionOptions.d.ts +0 -10
- package/dist/cjs/types/wallet/Option.d.ts +0 -9
- package/dist/cjs/types/wallet/config.d.ts +0 -13
- package/dist/cjs/types/wallet/connections.d.ts +0 -21
- package/dist/cjs/types/wallet/constants.d.ts +0 -21
- package/dist/cjs/types/wallet/injected.d.ts +0 -2
- package/dist/cjs/types/wallet/network.d.ts +0 -2
- package/dist/cjs/types/wallet/provider.d.ts +0 -4
- package/dist/cjs/types/wallet/wallet-connect.d.ts +0 -2
- package/dist/esm/index.js +0 -160048
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/App.d.ts +0 -3
- package/dist/esm/types/components/Button/Button.d.ts +0 -4
- package/dist/esm/types/components/Button/index.d.ts +0 -1
- package/dist/esm/types/components/Button/styles.d.ts +0 -3
- package/dist/esm/types/components/Button/types.d.ts +0 -32
- package/dist/esm/types/components/CurrencyLogo/Logo.d.ts +0 -11
- package/dist/esm/types/components/CurrencyLogo/index.d.ts +0 -9
- package/dist/esm/types/components/Dropdown/Dropdown.d.ts +0 -5
- package/dist/esm/types/components/Dropdown/DropdownItem.d.ts +0 -4
- package/dist/esm/types/components/Dropdown/index.d.ts +0 -3
- package/dist/esm/types/components/Dropdown/styles.d.ts +0 -4
- package/dist/esm/types/components/Dropdown/types.d.ts +0 -58
- package/dist/esm/types/components/Flex/index.d.ts +0 -5
- package/dist/esm/types/components/Input/Input.d.ts +0 -10
- package/dist/esm/types/components/Input/NumericInput.d.ts +0 -9
- package/dist/esm/types/components/Input/index.d.ts +0 -2
- package/dist/esm/types/components/ListView/ListCard.d.ts +0 -4
- package/dist/esm/types/components/ListView/ListView.d.ts +0 -7
- package/dist/esm/types/components/ListView/ListViewContent.d.ts +0 -4
- package/dist/esm/types/components/ListView/ListViewLayout/index.d.ts +0 -5
- package/dist/esm/types/components/ListView/ListViewMenu/MenuSelect.d.ts +0 -9
- package/dist/esm/types/components/ListView/ListViewMenu/index.d.ts +0 -4
- package/dist/esm/types/components/ListView/ListViewMenu/styles.d.ts +0 -2
- package/dist/esm/types/components/ListView/ListViewMenu/types.d.ts +0 -22
- package/dist/esm/types/components/ListView/components/InfoContent.d.ts +0 -10
- package/dist/esm/types/components/ListView/components/StyledTag.d.ts +0 -6
- package/dist/esm/types/components/ListView/styles.d.ts +0 -2
- package/dist/esm/types/components/ListView/types.d.ts +0 -51
- package/dist/esm/types/components/ProgressBar/ProgressBar.d.ts +0 -7
- package/dist/esm/types/components/ProgressBar/ProgressBarWrapper.d.ts +0 -14
- package/dist/esm/types/components/ServiceTokenDisplay/index.d.ts +0 -18
- package/dist/esm/types/components/ServiceTokenDisplay/styles.d.ts +0 -12
- package/dist/esm/types/components/Text/index.d.ts +0 -4
- package/dist/esm/types/components/Text/types.d.ts +0 -23
- package/dist/esm/types/components/index.d.ts +0 -4
- package/dist/esm/types/components/uikit/Button/Button.d.ts +0 -4
- package/dist/esm/types/components/uikit/Button/IconButton.d.ts +0 -4
- package/dist/esm/types/components/uikit/Button/index.d.ts +0 -2
- package/dist/esm/types/components/uikit/Button/styles.d.ts +0 -3
- package/dist/esm/types/components/uikit/Button/types.d.ts +0 -46
- package/dist/esm/types/components/uikit/Checkbox/index.d.ts +0 -4
- package/dist/esm/types/components/uikit/Checkbox/types.d.ts +0 -11
- package/dist/esm/types/components/uikit/Dropdown/Dropdown.d.ts +0 -4
- package/dist/esm/types/components/uikit/Dropdown/DropdownItem.d.ts +0 -4
- package/dist/esm/types/components/uikit/Dropdown/index.d.ts +0 -3
- package/dist/esm/types/components/uikit/Dropdown/styles.d.ts +0 -4
- package/dist/esm/types/components/uikit/Dropdown/types.d.ts +0 -58
- package/dist/esm/types/components/uikit/Flex/index.d.ts +0 -5
- package/dist/esm/types/components/uikit/Input/Input.d.ts +0 -10
- package/dist/esm/types/components/uikit/Input/NumericInput.d.ts +0 -10
- package/dist/esm/types/components/uikit/Input/StyledInput.d.ts +0 -11
- package/dist/esm/types/components/uikit/Input/index.d.ts +0 -3
- package/dist/esm/types/components/uikit/Link/index.d.ts +0 -9
- package/dist/esm/types/components/uikit/Modal/ModalFooter.d.ts +0 -4
- package/dist/esm/types/components/uikit/Modal/ModalHeader.d.ts +0 -4
- package/dist/esm/types/components/uikit/Modal/index.d.ts +0 -4
- package/dist/esm/types/components/uikit/Modal/styles.d.ts +0 -3
- package/dist/esm/types/components/uikit/Modal/types.d.ts +0 -17
- package/dist/esm/types/components/uikit/Select/Select.d.ts +0 -4
- package/dist/esm/types/components/uikit/Select/SelectItem.d.ts +0 -4
- package/dist/esm/types/components/uikit/Select/index.d.ts +0 -2
- package/dist/esm/types/components/uikit/Select/styles.d.ts +0 -4
- package/dist/esm/types/components/uikit/Select/types.d.ts +0 -55
- package/dist/esm/types/components/uikit/Skeleton/index.d.ts +0 -4
- package/dist/esm/types/components/uikit/Skeleton/styles.d.ts +0 -5
- package/dist/esm/types/components/uikit/Skeleton/types.d.ts +0 -18
- package/dist/esm/types/components/uikit/Spinner/index.d.ts +0 -5
- package/dist/esm/types/components/uikit/Svg/Icons/AbondFullLogo.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/AbondSmallLogo.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/AccountMonkey.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/ApebondLogo.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/ApeswapSmallLogo.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Arrow.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Audit.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/BananaIcon.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/BillsM1.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/BillsM2.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/BillsM3.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Bridge.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Bubble.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Calculator.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Calendar.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Cancelled.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Card.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Caret.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Chain.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Chart.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Chat.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Close.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Cog.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Collapse.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Copy.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Discord.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/DiscordNew.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Docs.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/DocsV2.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Ellipse.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Error.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Expand.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Explorer.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/External.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Farm.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Fav.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/FilledURL.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Fire.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Frame.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/FullLogo.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Gnana.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/GreenShield.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Hamburger.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/HamburgerClosed.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Home.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Info.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/InfoSolid.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Insight.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Instagram.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Island.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Language.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/LanguageIcon.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/LineChart.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/LiquidityIcon.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Logout.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Medium.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/MenuSettings.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Message.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Migrate.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Moon.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/More.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/NFA.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/NavCaret.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/PlaceholderMonkey.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Play.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Pool.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Positions.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/ProfileDark.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/ProfileIcon.d.ts +0 -7
- package/dist/esm/types/components/uikit/Svg/Icons/ProfileLight.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Question.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/QuestionCircle.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/QuestionFill.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Quiz.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Receipt.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Reddit.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Rocket.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/ScrollTop.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Search.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Send.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Settings.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Share.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Success.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/SuccessOutline.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/SwapArrows.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/SwitchArrows.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Tag.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Telegram.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/TelegramNew.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/TextLogo.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/TickShield.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Trade.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Trash.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Twitter.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/URL.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Vaults.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Verified.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Wallet.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Warning.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Watch.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/Website.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/WebsiteNew.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/WhitepaperNew.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/XNew.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/YellowQuestionMark.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/ZapArrow.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/ZapIcon.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/index.d.ts +0 -107
- package/dist/esm/types/components/uikit/Svg/Icons/polygonNew.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/Icons/types.d.ts +0 -16
- package/dist/esm/types/components/uikit/Svg/index.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/styles.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/ABOND.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/ARBITRUM.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/AVAX.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/BANANA.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/BNB.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/BSC.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/CELO.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/CRONOS.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/ETH.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/FANTOM.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/GNANA.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/GNOSIS.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/INEVM.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/LIGHTLINK.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/LINEA.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/OKX.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/OPTIMISM.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/POLYGON.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/POLYGONZK.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/TLOS.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/tokens/index.d.ts +0 -20
- package/dist/esm/types/components/uikit/Svg/types.d.ts +0 -166
- package/dist/esm/types/components/uikit/Svg/walletIcons/BinanceChain.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/Bitkeep.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/Brave.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/Coinbase.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/MadWallet.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/MathWallet.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/Metamask.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/Nabox.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/OKX.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/OntoWallet.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/SafePalWallet.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/SocialLogin.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/TokenPocket.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/TorusWallet.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/TrustWallet.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/Unstoppable.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/WalletConnect.d.ts +0 -4
- package/dist/esm/types/components/uikit/Svg/walletIcons/WalletImage.d.ts +0 -3
- package/dist/esm/types/components/uikit/Svg/walletIcons/index.d.ts +0 -18
- package/dist/esm/types/components/uikit/SwiperDots/index.d.ts +0 -6
- package/dist/esm/types/components/uikit/Tabs/Tab.d.ts +0 -4
- package/dist/esm/types/components/uikit/Tabs/TabPanel.d.ts +0 -4
- package/dist/esm/types/components/uikit/Tabs/Tabs.d.ts +0 -4
- package/dist/esm/types/components/uikit/Tabs/index.d.ts +0 -2
- package/dist/esm/types/components/uikit/Tabs/styles.d.ts +0 -3
- package/dist/esm/types/components/uikit/Tabs/types.d.ts +0 -54
- package/dist/esm/types/components/uikit/Tag/ListTag.d.ts +0 -4
- package/dist/esm/types/components/uikit/Tag/Tag.d.ts +0 -4
- package/dist/esm/types/components/uikit/Tag/index.d.ts +0 -3
- package/dist/esm/types/components/uikit/Tag/styles.d.ts +0 -10
- package/dist/esm/types/components/uikit/Tag/types.d.ts +0 -48
- package/dist/esm/types/components/uikit/Text/index.d.ts +0 -4
- package/dist/esm/types/components/uikit/Text/types.d.ts +0 -23
- package/dist/esm/types/components/uikit/Toggle/index.d.ts +0 -4
- package/dist/esm/types/components/uikit/Toggle/styles.d.ts +0 -3
- package/dist/esm/types/components/uikit/Toggle/types.d.ts +0 -31
- package/dist/esm/types/components/uikit/Tooltip/index.d.ts +0 -4
- package/dist/esm/types/components/uikit/Tooltip/styles.d.ts +0 -4
- package/dist/esm/types/components/uikit/Tooltip/types.d.ts +0 -17
- package/dist/esm/types/components/uikit/TutorialModal/index.d.ts +0 -4
- package/dist/esm/types/components/uikit/TutorialModal/styles.d.ts +0 -8
- package/dist/esm/types/components/uikit/TutorialModal/types.d.ts +0 -22
- package/dist/esm/types/components/uikit/TutorialModal/useTutorialModal.d.ts +0 -6
- package/dist/esm/types/components/uikit/index.d.ts +0 -18
- package/dist/esm/types/index.d.ts +0 -2
- package/dist/esm/types/main.d.ts +0 -1
- package/dist/esm/types/theme/base.d.ts +0 -103
- package/dist/esm/types/theme/colors.d.ts +0 -88
- package/dist/esm/types/theme/components.d.ts +0 -439
- package/dist/esm/types/theme/display.d.ts +0 -2
- package/dist/esm/types/theme/index.d.ts +0 -2
- package/dist/esm/types/theme/types.d.ts +0 -10
- package/dist/esm/types/utils/connection/activate.d.ts +0 -3
- package/dist/esm/types/utils/connection/index.d.ts +0 -8
- package/dist/esm/types/utils/connection/types.d.ts +0 -14
- package/dist/esm/types/utils/connection/utils.d.ts +0 -8
- package/dist/esm/types/utils/formatNumbers.d.ts +0 -36
- package/dist/esm/types/utils/getBalanceNumber.d.ts +0 -4
- package/dist/esm/types/utils/getTimePeriods.d.ts +0 -14
- package/dist/esm/types/utils/index.d.ts +0 -16
- package/dist/esm/types/utils/isZero.d.ts +0 -5
- package/dist/esm/types/utils/localStorageHelpers.d.ts +0 -3
- package/dist/esm/types/utils/multicall.d.ts +0 -7
- package/dist/esm/types/utils/numbers.d.ts +0 -1
- package/dist/esm/types/utils/safeNamehash.d.ts +0 -1
- package/dist/esm/types/utils/supportedChainId.d.ts +0 -6
- package/dist/esm/types/utils/switchChain.d.ts +0 -3
- package/dist/esm/types/utils/track.d.ts +0 -7
- package/dist/esm/types/views/Bonds/Bonds.d.ts +0 -7
- package/dist/esm/types/views/Bonds/index.d.ts +0 -1
- package/dist/esm/types/views/Bonds/styles.d.ts +0 -4
- package/dist/esm/types/views/Bonds/type.d.ts +0 -33
- package/dist/esm/types/views/BondsWithProvider/BondsWithProvider.d.ts +0 -3
- package/dist/esm/types/views/BondsWithProvider/index.d.ts +0 -1
- package/dist/esm/types/views/index.d.ts +0 -1
- package/dist/esm/types/wallet/ConnectionOptions.d.ts +0 -10
- package/dist/esm/types/wallet/Option.d.ts +0 -9
- package/dist/esm/types/wallet/config.d.ts +0 -13
- package/dist/esm/types/wallet/connections.d.ts +0 -21
- package/dist/esm/types/wallet/constants.d.ts +0 -21
- package/dist/esm/types/wallet/injected.d.ts +0 -2
- package/dist/esm/types/wallet/network.d.ts +0 -2
- package/dist/esm/types/wallet/provider.d.ts +0 -4
- package/dist/esm/types/wallet/wallet-connect.d.ts +0 -2
- package/dist/index.d.ts +0 -87
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="inheritedJdk" />
|
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
+
</component>
|
|
12
|
+
</module>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
+
<inspection_tool class="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true">
|
|
6
|
+
<option name="myValues">
|
|
7
|
+
<value>
|
|
8
|
+
<list size="1">
|
|
9
|
+
<item index="0" class="java.lang.String" itemvalue="sx" />
|
|
10
|
+
</list>
|
|
11
|
+
</value>
|
|
12
|
+
</option>
|
|
13
|
+
<option name="myCustomValuesEnabled" value="true" />
|
|
14
|
+
</inspection_tool>
|
|
15
|
+
</profile>
|
|
16
|
+
</component>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/bonds-app.iml" filepath="$PROJECT_DIR$/.idea/bonds-app.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/README.md
CHANGED
|
@@ -1 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
# Getting Started with Create React App
|
|
2
|
+
|
|
3
|
+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
|
4
|
+
|
|
5
|
+
## Available Scripts
|
|
6
|
+
|
|
7
|
+
In the project directory, you can run:
|
|
8
|
+
|
|
9
|
+
### `npm start`
|
|
10
|
+
|
|
11
|
+
Runs the app in the development mode.\
|
|
12
|
+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
|
13
|
+
|
|
14
|
+
The page will reload if you make edits.\
|
|
15
|
+
You will also see any lint errors in the console.
|
|
16
|
+
|
|
17
|
+
### `npm test`
|
|
18
|
+
|
|
19
|
+
Launches the test runner in the interactive watch mode.\
|
|
20
|
+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
|
21
|
+
|
|
22
|
+
### `npm run build`
|
|
23
|
+
|
|
24
|
+
Builds the app for production to the `build` folder.\
|
|
25
|
+
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
26
|
+
|
|
27
|
+
The build is minified and the filenames include the hashes.\
|
|
28
|
+
Your app is ready to be deployed!
|
|
29
|
+
|
|
30
|
+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
|
31
|
+
|
|
32
|
+
### `npm run eject`
|
|
33
|
+
|
|
34
|
+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
|
35
|
+
|
|
36
|
+
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
|
37
|
+
|
|
38
|
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
|
|
39
|
+
|
|
40
|
+
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
|
41
|
+
|
|
42
|
+
## Learn More
|
|
43
|
+
|
|
44
|
+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
|
45
|
+
|
|
46
|
+
To learn React, check out the [React documentation](https://reactjs.org/).
|
package/package.json
CHANGED
|
@@ -3,18 +3,7 @@
|
|
|
3
3
|
"description": "Ape Bond SDK",
|
|
4
4
|
"author": "Ape Bond",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "1.0.
|
|
7
|
-
"main": "dist/cjs/index.js",
|
|
8
|
-
"module": "dist/esm/index.js",
|
|
9
|
-
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
],
|
|
12
|
-
"types": "dist/index.d.ts",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"dev": "vite",
|
|
15
|
-
"build": "rimraf dist && rollup -c",
|
|
16
|
-
"lint": "eslint --ext .js,.jsx,.ts,.tsx src --max-warnings=0 && tsc --noEmit"
|
|
17
|
-
},
|
|
6
|
+
"version": "1.0.28",
|
|
18
7
|
"peerDependencies": {
|
|
19
8
|
"@emotion/react": "^11.11.4",
|
|
20
9
|
"axios": "1.6.8",
|
|
@@ -27,6 +16,7 @@
|
|
|
27
16
|
"devDependencies": {
|
|
28
17
|
"@ape.swap/apeswap-lists": "2.0.0",
|
|
29
18
|
"@ape.swap/sdk-core": "^1.0.2",
|
|
19
|
+
"@babel/plugin-transform-private-property-in-object": "^7.24.7",
|
|
30
20
|
"@emotion/react": "^11.10.5",
|
|
31
21
|
"@emotion/styled": "^11.10.6",
|
|
32
22
|
"@reduxjs/toolkit": "^1.9.1",
|
|
@@ -36,21 +26,87 @@
|
|
|
36
26
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
37
27
|
"@tanstack/react-query": "4",
|
|
38
28
|
"@tanstack/react-query-devtools": "^4.29.19",
|
|
29
|
+
"@testing-library/jest-dom": "^5.17.0",
|
|
30
|
+
"@testing-library/react": "^13.4.0",
|
|
31
|
+
"@testing-library/user-event": "^13.5.0",
|
|
32
|
+
"@types/jest": "^27.5.2",
|
|
39
33
|
"@types/lodash": "^4.17.6",
|
|
40
|
-
"@types/node": "^
|
|
41
|
-
"@types/react": "^18.
|
|
42
|
-
"@types/react-dom": "^18.
|
|
34
|
+
"@types/node": "^16.18.101",
|
|
35
|
+
"@types/react": "^18.3.3",
|
|
36
|
+
"@types/react-dom": "^18.3.0",
|
|
43
37
|
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
44
38
|
"@typescript-eslint/parser": "^7.6.0",
|
|
45
39
|
"@uniswap/redux-multicall": "^1.1.8",
|
|
46
40
|
"@uniswap/token-lists": "^1.0.0-beta.31",
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"@web3-react/
|
|
50
|
-
"@web3-react/
|
|
51
|
-
"@web3-react/
|
|
52
|
-
"@web3-react/
|
|
41
|
+
"@web3-react/coinbase-wallet": "^8.2.0",
|
|
42
|
+
"@web3-react/core": "^8.2.0",
|
|
43
|
+
"@web3-react/eip1193": "^8.2.0",
|
|
44
|
+
"@web3-react/empty": "^8.2.0",
|
|
45
|
+
"@web3-react/gnosis-safe": "^8.2.0",
|
|
46
|
+
"@web3-react/metamask": "^8.2.1",
|
|
47
|
+
"@web3-react/network": "^8.2.0",
|
|
48
|
+
"@web3-react/types": "^8.2.0",
|
|
49
|
+
"@web3-react/url": "^8.2.0",
|
|
50
|
+
"@web3-react/walletconnect-v2": "^8.3.3",
|
|
51
|
+
"axios": "1.6.8",
|
|
52
|
+
"cids": "^1.1.9",
|
|
53
|
+
"eslint": "8.57.0",
|
|
54
|
+
"eslint-plugin-react": "^7.34.1",
|
|
55
|
+
"ethers": "5.7.2",
|
|
56
|
+
"framer-motion": "^9.0.1",
|
|
57
|
+
"lodash": "^4.17.21",
|
|
58
|
+
"lottie-react": "^2.4.0",
|
|
59
|
+
"multicodec": "^3.2.1",
|
|
60
|
+
"next": "13.5.6",
|
|
61
|
+
"numbro": "^2.3.6",
|
|
62
|
+
"prettier": "^3.2.5",
|
|
63
|
+
"react": "^18.3.1",
|
|
64
|
+
"react-dom": "^18.3.1",
|
|
65
|
+
"react-redux": "^8.0.5",
|
|
66
|
+
"react-scripts": "5.0.1",
|
|
67
|
+
"rimraf": "^5.0.5",
|
|
68
|
+
"rollup": "^4.14.0",
|
|
69
|
+
"rollup-plugin-dts": "^6.1.0",
|
|
70
|
+
"theme-ui": "^0.15.3",
|
|
71
|
+
"tslib": "^2.6.2",
|
|
72
|
+
"typescript": "^4.9.5",
|
|
73
|
+
"web-vitals": "^2.1.4"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@ape.swap/apeswap-lists": "2.0.0",
|
|
77
|
+
"@ape.swap/sdk-core": "^1.0.2",
|
|
78
|
+
"@emotion/react": "^11.11.4",
|
|
79
|
+
"@emotion/styled": "^11.10.6",
|
|
80
|
+
"@reduxjs/toolkit": "^1.9.1",
|
|
81
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
82
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
83
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
84
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
85
|
+
"@tanstack/react-query": "4",
|
|
86
|
+
"@tanstack/react-query-devtools": "^4.29.19",
|
|
87
|
+
"@testing-library/jest-dom": "^5.17.0",
|
|
88
|
+
"@testing-library/react": "^13.4.0",
|
|
89
|
+
"@testing-library/user-event": "^13.5.0",
|
|
90
|
+
"@types/jest": "^27.5.2",
|
|
91
|
+
"@types/lodash": "^4.17.6",
|
|
92
|
+
"@types/node": "^16.18.101",
|
|
93
|
+
"@types/react": "^18.3.3",
|
|
94
|
+
"@types/react-dom": "^18.3.0",
|
|
95
|
+
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
96
|
+
"@typescript-eslint/parser": "^7.6.0",
|
|
97
|
+
"@uniswap/redux-multicall": "^1.1.8",
|
|
98
|
+
"@uniswap/token-lists": "^1.0.0-beta.31",
|
|
99
|
+
"@web3-react/coinbase-wallet": "^8.2.0",
|
|
100
|
+
"@web3-react/core": "^8.2.0",
|
|
101
|
+
"@web3-react/eip1193": "^8.2.0",
|
|
102
|
+
"@web3-react/empty": "^8.2.0",
|
|
103
|
+
"@web3-react/gnosis-safe": "^8.2.0",
|
|
104
|
+
"@web3-react/metamask": "^8.2.1",
|
|
105
|
+
"@web3-react/network": "^8.2.0",
|
|
106
|
+
"@web3-react/types": "^8.2.0",
|
|
107
|
+
"@web3-react/url": "^8.2.0",
|
|
53
108
|
"@web3-react/walletconnect": "^8.2.3",
|
|
109
|
+
"@web3-react/walletconnect-v2": "^8.3.3",
|
|
54
110
|
"axios": "1.6.8",
|
|
55
111
|
"cids": "^1.1.9",
|
|
56
112
|
"eslint": "8.57.0",
|
|
@@ -66,19 +122,37 @@
|
|
|
66
122
|
"react": "^18.2.0",
|
|
67
123
|
"react-dom": "^18.2.0",
|
|
68
124
|
"react-redux": "^8.0.5",
|
|
125
|
+
"react-scripts": "5.0.1",
|
|
69
126
|
"rimraf": "^5.0.5",
|
|
70
127
|
"rollup": "^4.14.0",
|
|
71
128
|
"rollup-plugin-dts": "^6.1.0",
|
|
72
|
-
"
|
|
73
|
-
"theme-ui": "^0.15.3",
|
|
129
|
+
"theme-ui": "^0.16.2",
|
|
74
130
|
"tslib": "^2.6.2",
|
|
75
|
-
"typescript": "
|
|
76
|
-
"
|
|
131
|
+
"typescript": "^4.9.5",
|
|
132
|
+
"web-vitals": "^2.1.4"
|
|
77
133
|
},
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
134
|
+
"scripts": {
|
|
135
|
+
"start": "react-scripts start",
|
|
136
|
+
"build": "react-scripts build",
|
|
137
|
+
"test": "react-scripts test",
|
|
138
|
+
"eject": "react-scripts eject"
|
|
139
|
+
},
|
|
140
|
+
"eslintConfig": {
|
|
141
|
+
"extends": [
|
|
142
|
+
"react-app",
|
|
143
|
+
"react-app/jest"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"browserslist": {
|
|
147
|
+
"production": [
|
|
148
|
+
">0.2%",
|
|
149
|
+
"not dead",
|
|
150
|
+
"not op_mini all"
|
|
151
|
+
],
|
|
152
|
+
"development": [
|
|
153
|
+
"last 1 chrome version",
|
|
154
|
+
"last 1 firefox version",
|
|
155
|
+
"last 1 safari version"
|
|
156
|
+
]
|
|
83
157
|
}
|
|
84
158
|
}
|
|
Binary file
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<meta name="theme-color" content="#000000" />
|
|
8
|
+
<meta
|
|
9
|
+
name="description"
|
|
10
|
+
content="Web site created using create-react-app"
|
|
11
|
+
/>
|
|
12
|
+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
13
|
+
<!--
|
|
14
|
+
manifest.json provides metadata used when your web app is installed on a
|
|
15
|
+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
16
|
+
-->
|
|
17
|
+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
18
|
+
<!--
|
|
19
|
+
Notice the use of %PUBLIC_URL% in the tags above.
|
|
20
|
+
It will be replaced with the URL of the `public` folder during the build.
|
|
21
|
+
Only files inside the `public` folder can be referenced from the HTML.
|
|
22
|
+
|
|
23
|
+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
24
|
+
work correctly both with client-side routing and a non-root public URL.
|
|
25
|
+
Learn how to configure a non-root public URL by running `npm run build`.
|
|
26
|
+
-->
|
|
27
|
+
<title>React App</title>
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
31
|
+
<div id="root"></div>
|
|
32
|
+
<!--
|
|
33
|
+
This HTML file is a template.
|
|
34
|
+
If you open it directly in the browser, you will see an empty page.
|
|
35
|
+
|
|
36
|
+
You can add webfonts, meta tags, or analytics to this file.
|
|
37
|
+
The build step will place the bundled scripts into the <body> tag.
|
|
38
|
+
|
|
39
|
+
To begin the development, run `npm start` or `yarn start`.
|
|
40
|
+
To create a production bundle, use `npm run build` or `yarn build`.
|
|
41
|
+
-->
|
|
42
|
+
</body>
|
|
43
|
+
</html>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"short_name": "React App",
|
|
3
|
+
"name": "Create React App Sample",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "favicon.ico",
|
|
7
|
+
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
+
"type": "image/x-icon"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"src": "logo192.png",
|
|
12
|
+
"type": "image/png",
|
|
13
|
+
"sizes": "192x192"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "logo512.png",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"sizes": "512x512"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"start_url": ".",
|
|
22
|
+
"display": "standalone",
|
|
23
|
+
"theme_color": "#000000",
|
|
24
|
+
"background_color": "#ffffff"
|
|
25
|
+
}
|
package/src/App.css
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.App {
|
|
2
|
+
text-align: center;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.App-logo {
|
|
6
|
+
height: 40vmin;
|
|
7
|
+
pointer-events: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
11
|
+
.App-logo {
|
|
12
|
+
animation: App-logo-spin infinite 20s linear;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.App-header {
|
|
17
|
+
background-color: #282c34;
|
|
18
|
+
min-height: 100vh;
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
font-size: calc(10px + 2vmin);
|
|
24
|
+
color: white;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.App-link {
|
|
28
|
+
color: #61dafb;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@keyframes App-logo-spin {
|
|
32
|
+
from {
|
|
33
|
+
transform: rotate(0deg);
|
|
34
|
+
}
|
|
35
|
+
to {
|
|
36
|
+
transform: rotate(360deg);
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/App.test.tsx
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { render, screen } from '@testing-library/react';
|
|
3
|
+
import App from './App';
|
|
4
|
+
|
|
5
|
+
test('renders learn react link', () => {
|
|
6
|
+
render(<App />);
|
|
7
|
+
const linkElement = screen.getByText(/learn react/i);
|
|
8
|
+
expect(linkElement).toBeInTheDocument();
|
|
9
|
+
});
|
package/src/App.tsx
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import './App.css';
|
|
3
|
+
import { useWeb3React } from '@web3-react/core';
|
|
4
|
+
import { ConnectionType } from './wallet/connections';
|
|
5
|
+
import { ConnectionOptions } from './wallet/ConnectionOptions';
|
|
6
|
+
import Bonds from './views/Bonds/Bonds';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
function App() {
|
|
10
|
+
const { chainId, account, isActive } = useWeb3React();
|
|
11
|
+
const [connectionType, setConnectionType] = useState<ConnectionType | null>(null);
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<>
|
|
15
|
+
<ConnectionOptions
|
|
16
|
+
activeConnectionType={connectionType}
|
|
17
|
+
isConnectionActive={isActive}
|
|
18
|
+
onActivate={setConnectionType}
|
|
19
|
+
onDeactivate={setConnectionType}
|
|
20
|
+
/>
|
|
21
|
+
<p>{account}</p>
|
|
22
|
+
<p>{connectionType}</p>
|
|
23
|
+
|
|
24
|
+
<Bonds />
|
|
25
|
+
|
|
26
|
+
</>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export default App;
|
package/src/index.css
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
4
|
+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
5
|
+
sans-serif;
|
|
6
|
+
-webkit-font-smoothing: antialiased;
|
|
7
|
+
-moz-osx-font-smoothing: grayscale;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
code {
|
|
11
|
+
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
12
|
+
monospace;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/*.bondrow-container {*/
|
|
16
|
+
/* border-color: hotpink !important;*/
|
|
17
|
+
/* border-radius: 0px !important;*/
|
|
18
|
+
/* background-color: pink !important;*/
|
|
19
|
+
/* margin-bottom: 25px !important;*/
|
|
20
|
+
/*}*/
|
|
21
|
+
|
|
22
|
+
|
package/src/index.tsx
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// src/index.tsx
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import ReactDOM from 'react-dom/client';
|
|
4
|
+
import './index.css';
|
|
5
|
+
import App from './App';
|
|
6
|
+
import reportWebVitals from './reportWebVitals';
|
|
7
|
+
import { Web3ReactProvider } from '@web3-react/core'; // Import Web3ReactProvider
|
|
8
|
+
import { Web3ContextProvider } from './wallet/provider';
|
|
9
|
+
|
|
10
|
+
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
|
|
11
|
+
|
|
12
|
+
root.render(
|
|
13
|
+
<React.StrictMode>
|
|
14
|
+
<Web3ContextProvider>
|
|
15
|
+
<App />
|
|
16
|
+
</Web3ContextProvider>
|
|
17
|
+
</React.StrictMode>
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
reportWebVitals();
|
package/src/logo.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="react-scripts" />
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReportHandler } from 'web-vitals';
|
|
2
|
+
|
|
3
|
+
const reportWebVitals = (onPerfEntry?: ReportHandler) => {
|
|
4
|
+
if (onPerfEntry && onPerfEntry instanceof Function) {
|
|
5
|
+
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
|
|
6
|
+
getCLS(onPerfEntry);
|
|
7
|
+
getFID(onPerfEntry);
|
|
8
|
+
getFCP(onPerfEntry);
|
|
9
|
+
getLCP(onPerfEntry);
|
|
10
|
+
getTTFB(onPerfEntry);
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default reportWebVitals;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { MediaQueries } from './types'
|
|
2
|
+
export const breakpointMap: { [key: string]: number } = {
|
|
3
|
+
xs: 370,
|
|
4
|
+
sm: 576,
|
|
5
|
+
md: 852,
|
|
6
|
+
lg: 968,
|
|
7
|
+
xl: 1080,
|
|
8
|
+
xxl: 1200,
|
|
9
|
+
xxxl: 1550,
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const mediaQueries: MediaQueries = {
|
|
13
|
+
xs: `@media screen and (min-width: ${breakpointMap.xs}px)`,
|
|
14
|
+
sm: `@media screen and (min-width: ${breakpointMap.sm}px)`,
|
|
15
|
+
md: `@media screen and (min-width: ${breakpointMap.md}px)`,
|
|
16
|
+
lg: `@media screen and (min-width: ${breakpointMap.lg}px)`,
|
|
17
|
+
xl: `@media screen and (min-width: ${breakpointMap.xl}px)`,
|
|
18
|
+
xxl: `@media screen and (min-width: ${breakpointMap.xxl}px)`,
|
|
19
|
+
xxxl: `@media screen and (min-width: ${breakpointMap.xxxl}px)`,
|
|
20
|
+
nav: `@media screen and (min-width: ${breakpointMap.lg}px)`,
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const baseTheme = {
|
|
24
|
+
breakpoints: [
|
|
25
|
+
`${breakpointMap.xs}px`,
|
|
26
|
+
`${breakpointMap.sm}px`,
|
|
27
|
+
`${breakpointMap.md}px`,
|
|
28
|
+
`${breakpointMap.lg}px`,
|
|
29
|
+
`${breakpointMap.xl}px`,
|
|
30
|
+
`${breakpointMap.xxl}px`,
|
|
31
|
+
`${breakpointMap.xxxl}px`,
|
|
32
|
+
],
|
|
33
|
+
space: [0, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 48, 64],
|
|
34
|
+
fontSizes: [12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 48, 64],
|
|
35
|
+
borderWidths: [0, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 48, 64],
|
|
36
|
+
mediaQueries,
|
|
37
|
+
fontWeights: {
|
|
38
|
+
light: 400,
|
|
39
|
+
normal: 600,
|
|
40
|
+
bold: 700,
|
|
41
|
+
},
|
|
42
|
+
fonts: {
|
|
43
|
+
body: 'Poppins, sans-serif',
|
|
44
|
+
poppins: 'Poppins',
|
|
45
|
+
},
|
|
46
|
+
radii: {
|
|
47
|
+
small: '6px',
|
|
48
|
+
default: '16px',
|
|
49
|
+
normal: '10px',
|
|
50
|
+
card: '32px',
|
|
51
|
+
circle: '50%',
|
|
52
|
+
},
|
|
53
|
+
zIndices: { dropdown: 10, modal: 102 },
|
|
54
|
+
styles: {
|
|
55
|
+
root: {
|
|
56
|
+
fontFamily: 'body',
|
|
57
|
+
webkitFontSmoothing: 'antialiasing',
|
|
58
|
+
fontWeight: 600,
|
|
59
|
+
color: 'text',
|
|
60
|
+
bg: 'white1',
|
|
61
|
+
textDecoration: 'none',
|
|
62
|
+
},
|
|
63
|
+
a: {
|
|
64
|
+
color: 'text',
|
|
65
|
+
textDecoration: 'none',
|
|
66
|
+
':hover': {
|
|
67
|
+
color: 'secondary',
|
|
68
|
+
textDecoration: 'underline',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
nav: {
|
|
72
|
+
textDecoration: 'none',
|
|
73
|
+
breakpoints: [`@media screen and (min-width: ${breakpointMap.lg}px)`],
|
|
74
|
+
a: {
|
|
75
|
+
textDecoration: 'none',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
progress: {
|
|
79
|
+
primary: 'primary',
|
|
80
|
+
color: 'green',
|
|
81
|
+
background: '#DAA628',
|
|
82
|
+
height: '20px',
|
|
83
|
+
},
|
|
84
|
+
hr: {
|
|
85
|
+
background: 'dividerColor',
|
|
86
|
+
height: '1px',
|
|
87
|
+
border: 'none',
|
|
88
|
+
},
|
|
89
|
+
h1: {
|
|
90
|
+
variant: 'text.heading',
|
|
91
|
+
fontSize: '30px',
|
|
92
|
+
lineHeight: '45px',
|
|
93
|
+
},
|
|
94
|
+
h2: {
|
|
95
|
+
variant: 'text.heading',
|
|
96
|
+
fontSize: '25px',
|
|
97
|
+
lineHeight: '37px',
|
|
98
|
+
},
|
|
99
|
+
h3: {
|
|
100
|
+
variant: 'text.heading',
|
|
101
|
+
fontSize: '22px',
|
|
102
|
+
lineHeight: '33px',
|
|
103
|
+
},
|
|
104
|
+
h4: {
|
|
105
|
+
variant: 'text.heading',
|
|
106
|
+
fontSize: '20px',
|
|
107
|
+
lineHeight: '30px',
|
|
108
|
+
},
|
|
109
|
+
h5: {
|
|
110
|
+
variant: 'text.heading',
|
|
111
|
+
fontSize: '16px',
|
|
112
|
+
lineHeight: '24px',
|
|
113
|
+
},
|
|
114
|
+
banner: {
|
|
115
|
+
variant: 'text.heading',
|
|
116
|
+
fontWeight: '800',
|
|
117
|
+
fontSize: '60px',
|
|
118
|
+
lineHeight: '66px',
|
|
119
|
+
},
|
|
120
|
+
input: {
|
|
121
|
+
fontFamily: 'base',
|
|
122
|
+
fontWeight: 'base',
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export default baseTheme
|