@goodaofi/bonds-sdk 3.0.123
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/README.md +156 -0
- package/dist/assets/output-2LTDuc8n.css +174 -0
- package/dist/components/AccordionText/index.d.ts +6 -0
- package/dist/components/BondFilters/BondFilters.d.ts +11 -0
- package/dist/components/ChainOptionList/ChainOptionsButtons.d.ts +8 -0
- package/dist/components/ChainOptionList/ChainOptionsList.d.ts +7 -0
- package/dist/components/ChainOptionList/constants.d.ts +5 -0
- package/dist/components/ChainOptionList/styles.d.ts +2 -0
- package/dist/components/ConnectButton/RainbowKitButton.d.ts +3 -0
- package/dist/components/ConnectButton/index.d.ts +3 -0
- package/dist/components/CountdownTimer/CountdownTimer.d.ts +4 -0
- package/dist/components/FavIcons/AddFavToken.d.ts +6 -0
- package/dist/components/FavIcons/FavFilter.d.ts +6 -0
- package/dist/components/LoadingSpinner/index.d.ts +6 -0
- package/dist/components/MenuSelect/MenuSelect.d.ts +8 -0
- package/dist/components/MenuSelect/RecommendationSelector.d.ts +7 -0
- package/dist/components/MenuSelect/types.d.ts +22 -0
- package/dist/components/NetworkFilter/index.d.ts +6 -0
- package/dist/components/PlaceholderMonkey/index.d.ts +5 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +7 -0
- package/dist/components/ProgressBar/ProgressBarWrapper.d.ts +14 -0
- package/dist/components/ProgressBar/styles.d.ts +2 -0
- package/dist/components/RestrictedRegionModal/index.d.ts +5 -0
- package/dist/components/SafeHTMLComponent/index.d.ts +5 -0
- package/dist/components/SlippageModal/index.d.ts +3 -0
- package/dist/components/StepBubble/index.d.ts +9 -0
- package/dist/components/Toast/index.d.ts +7 -0
- package/dist/components/Toast/styles.d.ts +3 -0
- package/dist/components/TokenInfoAndName/index.d.ts +9 -0
- package/dist/components/TokenSelectorModal/TokenRow.d.ts +9 -0
- package/dist/components/TokenSelectorModal/index.d.ts +11 -0
- package/dist/components/TokenSelectorPanel/index.d.ts +16 -0
- package/dist/components/Tooltip/ButtonsRow.d.ts +10 -0
- package/dist/components/Tooltip/Tooltip.d.ts +13 -0
- package/dist/components/Tooltip/styles.d.ts +2 -0
- package/dist/components/YouTooltip/YouTooltip.d.ts +3 -0
- package/dist/components/uikit-sdk/Button/Button.d.ts +4 -0
- package/dist/components/uikit-sdk/Button/IconButton.d.ts +4 -0
- package/dist/components/uikit-sdk/Button/index.d.ts +2 -0
- package/dist/components/uikit-sdk/Button/styles.d.ts +3 -0
- package/dist/components/uikit-sdk/Button/types.d.ts +46 -0
- package/dist/components/uikit-sdk/Checkbox/index.d.ts +3 -0
- package/dist/components/uikit-sdk/Checkbox/types.d.ts +11 -0
- package/dist/components/uikit-sdk/Flex/index.d.ts +5 -0
- package/dist/components/uikit-sdk/Input/Input.d.ts +9 -0
- package/dist/components/uikit-sdk/Input/NumericInput.d.ts +9 -0
- package/dist/components/uikit-sdk/Input/index.d.ts +2 -0
- package/dist/components/uikit-sdk/LoadingDots/index.d.ts +2 -0
- package/dist/components/uikit-sdk/Modal/ModalFooter.d.ts +4 -0
- package/dist/components/uikit-sdk/Modal/ModalHeader.d.ts +4 -0
- package/dist/components/uikit-sdk/Modal/index.d.ts +4 -0
- package/dist/components/uikit-sdk/Modal/styles.d.ts +3 -0
- package/dist/components/uikit-sdk/Modal/types.d.ts +17 -0
- package/dist/components/uikit-sdk/Select/Select.d.ts +4 -0
- package/dist/components/uikit-sdk/Select/SelectItem.d.ts +3 -0
- package/dist/components/uikit-sdk/Select/index.d.ts +2 -0
- package/dist/components/uikit-sdk/Select/styles.d.ts +4 -0
- package/dist/components/uikit-sdk/Select/types.d.ts +55 -0
- package/dist/components/uikit-sdk/Skeleton/index.d.ts +4 -0
- package/dist/components/uikit-sdk/Skeleton/styles.d.ts +5 -0
- package/dist/components/uikit-sdk/Skeleton/types.d.ts +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/AllChains.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Arrow.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Audit.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/BillsM1.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/BillsM2.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/BillsM3.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Bridge.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Bubble.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Calculator.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Calendar.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Cancelled.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Card.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Caret.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Chain.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Chart.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Chat.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Close.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Cog.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/Icons/Collapse.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Copy.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Discord.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Docs.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/DocsV2.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Ellipse.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Error.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Expand.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Explorer.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/External.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Farcaster.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Farm.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Fav.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/FilledURL.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Fire.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/FirePink.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Frame.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/FullLogo.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Gnana.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/Icons/Hamburger.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Home.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Hot.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Info.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Insight.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Instagram.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Island.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Language.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/LineChart.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Logout.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Medium.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Message.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Migrate.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Moon.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/More.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/NFA.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/NavCaret.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkeyAlt.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/Icons/Play.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Pool.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Positions.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/ProfileIcon.d.ts +7 -0
- package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Question.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Quiz.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Receipt.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Reddit.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Rocket.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Search.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Send.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Settings.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Share.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Sort.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Star.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/StarFilled.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Success.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/Icons/Tag.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Telegram.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/TextLogo.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Tick.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/TickShield.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Timer.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Trade.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Trash.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Twitter.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/URL.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Vaults.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Verified.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Wallet.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Warning.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Watch.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Website.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/XNew.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/index.d.ts +117 -0
- package/dist/components/uikit-sdk/Svg/Icons/polygonNew.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/types.d.ts +16 -0
- package/dist/components/uikit-sdk/Svg/index.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/styles.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/ABOND.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/AVAX.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/BANANA.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/BASE.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/BERA.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/BLAST.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/BNB.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/BSC.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/CELO.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/CRONOS.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/CROSSFI.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/ETH.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/FANTOM.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/GNANA.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/GraphLinq.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/INEVM.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/IOTA.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/KATANA.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/LINEA.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/MONAD.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/OKX.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/POLYGON.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/SONIC.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/TLOS.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/UNICHAIN.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/index.d.ts +29 -0
- package/dist/components/uikit-sdk/Svg/types.d.ts +186 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/index.d.ts +18 -0
- package/dist/components/uikit-sdk/SwiperDots/index.d.ts +6 -0
- package/dist/components/uikit-sdk/TabNav/index.d.ts +8 -0
- package/dist/components/uikit-sdk/Tag/ListTag.d.ts +4 -0
- package/dist/components/uikit-sdk/Tag/index.d.ts +1 -0
- package/dist/components/uikit-sdk/Tag/types.d.ts +3 -0
- package/dist/components/uikit-sdk/Text/index.d.ts +4 -0
- package/dist/components/uikit-sdk/Text/types.d.ts +23 -0
- package/dist/components/uikit-sdk/Toggle/index.d.ts +8 -0
- package/dist/components/uikit-sdk/Toggle/styles.d.ts +3 -0
- package/dist/components/uikit-sdk/TokenImage/index.d.ts +8 -0
- package/dist/components/uikit-sdk/TooltipBubble/index.d.ts +4 -0
- package/dist/components/uikit-sdk/TooltipBubble/styles.d.ts +4 -0
- package/dist/components/uikit-sdk/TooltipBubble/types.d.ts +18 -0
- package/dist/components/uikit-sdk/index.d.ts +15 -0
- package/dist/config/abi/types/Banana.d.ts +394 -0
- package/dist/config/abi/types/Bond.d.ts +758 -0
- package/dist/config/abi/types/BondNft.d.ts +556 -0
- package/dist/config/abi/types/EnsPublicResolver.d.ts +437 -0
- package/dist/config/abi/types/EnsRegistrar.d.ts +254 -0
- package/dist/config/abi/types/Erc20.d.ts +156 -0
- package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
- package/dist/config/abi/types/JungleChef.d.ts +245 -0
- package/dist/config/abi/types/LaunchBonds.d.ts +1306 -0
- package/dist/config/abi/types/LensContract.d.ts +276 -0
- package/dist/config/abi/types/LockVeAbond.d.ts +1173 -0
- package/dist/config/abi/types/MigrationBond.d.ts +1074 -0
- package/dist/config/abi/types/MigrationFveAbond.d.ts +284 -0
- package/dist/config/abi/types/MiniComplexRewarder.d.ts +423 -0
- package/dist/config/abi/types/Multicallv2.d.ts +139 -0
- package/dist/config/abi/types/Multicallv3.d.ts +98 -0
- package/dist/config/abi/types/NonFungibleApes.d.ts +492 -0
- package/dist/config/abi/types/NonFungibleBananas.d.ts +468 -0
- package/dist/config/abi/types/PriceGetter.d.ts +676 -0
- package/dist/config/abi/types/PriceGetterLinea.d.ts +756 -0
- package/dist/config/abi/types/PriceGetterV2.d.ts +692 -0
- package/dist/config/abi/types/SousChef.d.ts +542 -0
- package/dist/config/abi/types/Treasury.d.ts +274 -0
- package/dist/config/abi/types/Weth.d.ts +206 -0
- package/dist/config/abi/types/Zap.d.ts +484 -0
- package/dist/config/abi/types/common.d.ts +22 -0
- package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
- package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
- package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
- package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
- package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
- package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
- package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
- package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
- package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
- package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
- package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
- package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
- package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
- package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
- package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
- package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
- package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
- package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
- package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
- package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
- package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
- package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
- package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
- package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
- package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
- package/dist/config/abi/types/factories/index.d.ts +25 -0
- package/dist/config/abi/types/index.d.ts +51 -0
- package/dist/config/constants/addresses.d.ts +10 -0
- package/dist/config/constants/chains.d.ts +7 -0
- package/dist/config/constants/networks.d.ts +2 -0
- package/dist/config/constants/queryKeys.d.ts +47 -0
- package/dist/config/constants/tokens.d.ts +5 -0
- package/dist/config/constants/tooltips.d.ts +17 -0
- package/dist/config/constants/variables.d.ts +6 -0
- package/dist/contexts/ModalContext.d.ts +14 -0
- package/dist/contexts/Popups.d.ts +5 -0
- package/dist/contexts/RefreshContext.d.ts +10 -0
- package/dist/contexts/SwiperProvider.d.ts +12 -0
- package/dist/hooks/useDebounce.d.ts +1 -0
- package/dist/hooks/useIsMobile.d.ts +1 -0
- package/dist/hooks/useModal.d.ts +3 -0
- package/dist/hooks/useMonitorTxHash.d.ts +25 -0
- package/dist/hooks/useRefresh.d.ts +6 -0
- package/dist/hooks/useSendReferenceId.d.ts +2 -0
- package/dist/hooks/useSortedZapList.d.ts +9 -0
- package/dist/hooks/useSwiper.d.ts +2 -0
- package/dist/hooks/useTimer.d.ts +2 -0
- package/dist/hooks/useTokenFromZapList.d.ts +3 -0
- package/dist/hooks/useTopTags.d.ts +2 -0
- package/dist/main.d.ts +10 -0
- package/dist/main.js +96120 -0
- package/dist/providers/index.d.ts +6 -0
- package/dist/state/abtesting/useABTesting.d.ts +11 -0
- package/dist/state/abtesting/useCookie.d.ts +9 -0
- package/dist/state/activeView/index.d.ts +9 -0
- package/dist/state/allowance/useAllowance.d.ts +15 -0
- package/dist/state/balance/useCurrencyBalance.d.ts +4 -0
- package/dist/state/balance/useUserTokensBalance.d.ts +10 -0
- package/dist/state/bondApiStats/useGetBondApiStats.d.ts +25 -0
- package/dist/state/bondApiStats/useUserApiStats.d.ts +22 -0
- package/dist/state/bonds/useBondNFTData.d.ts +5 -0
- package/dist/state/bonds/useBondsData.d.ts +9 -0
- package/dist/state/bonds/useBondsList.d.ts +4 -0
- package/dist/state/bonds/useGetBondRecommendations.d.ts +28 -0
- package/dist/state/bonds/useHotBonds.d.ts +6 -0
- package/dist/state/bonds/useTierProofSignature.d.ts +4 -0
- package/dist/state/bonds/useUserBonds.d.ts +6 -0
- package/dist/state/bonds/utils.d.ts +4 -0
- package/dist/state/chainFilterOption/useChainFilterOption.d.ts +4 -0
- package/dist/state/favoriteTokens/useFavoriteTokens.d.ts +4 -0
- package/dist/state/geoFencing/useGeoFencing.d.ts +5 -0
- package/dist/state/popups/usePopups.d.ts +14 -0
- package/dist/state/preTGEBonds/usePreTGEList.d.ts +4 -0
- package/dist/state/preTGEBonds/usePreTGEUserBonds.d.ts +26 -0
- package/dist/state/price/useCurrencyPrice.d.ts +3 -0
- package/dist/state/slippage/useSlippage.d.ts +1 -0
- package/dist/state/tiers/useTierPoints.d.ts +35 -0
- package/dist/state/tokenPrices/useTokenPrices.d.ts +11 -0
- package/dist/state/useSDKConfig.d.ts +35 -0
- package/dist/state/zap/getChainParam.d.ts +16 -0
- package/dist/state/zap/useSoulZapBondQuote.d.ts +4 -0
- package/dist/state/zap/useSoulZapTokenQuote.d.ts +3 -0
- package/dist/styles.css +1989 -0
- package/dist/theme/base.d.ts +112 -0
- package/dist/theme/colors.d.ts +20 -0
- package/dist/theme/components.d.ts +431 -0
- package/dist/theme/index.d.ts +2 -0
- package/dist/types/bonds.d.ts +30 -0
- package/dist/types/yourbonds.d.ts +81 -0
- package/dist/utils/convertToTokenValue.d.ts +4 -0
- package/dist/utils/dates/formatDate.d.ts +1 -0
- package/dist/utils/displayHelpers.d.ts +31 -0
- package/dist/utils/formatNumber.d.ts +3 -0
- package/dist/utils/formatNumbers.d.ts +33 -0
- package/dist/utils/getBalanceNumber.d.ts +2 -0
- package/dist/utils/getDotPos.d.ts +1 -0
- package/dist/utils/getNativeTicker.d.ts +2 -0
- package/dist/utils/getTimePeriods.d.ts +14 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/localStorageHelpers.d.ts +3 -0
- package/dist/utils/multicall.d.ts +7 -0
- package/dist/utils/numbers.d.ts +5 -0
- package/dist/utils/remove0xPrefix.d.ts +1 -0
- package/dist/utils/reportError.d.ts +8 -0
- package/dist/utils/roundNumber.d.ts +7 -0
- package/dist/utils/track.d.ts +7 -0
- package/dist/views/Bonds/Bonds.d.ts +9 -0
- package/dist/views/Bonds/components/BannerTestnet/BannerTestnet.d.ts +6 -0
- package/dist/views/Bonds/components/BondRows/BondRow.d.ts +24 -0
- package/dist/views/Bonds/components/BondRows/BondRowsByChain.d.ts +9 -0
- package/dist/views/Bonds/components/BondRows/BondRowsWithTitle.d.ts +10 -0
- package/dist/views/Bonds/components/BondRows/ChainTitle.d.ts +8 -0
- package/dist/views/Bonds/components/BondRows/ModalHandler.d.ts +7 -0
- package/dist/views/Bonds/components/BondsMenu/BondsMenu.d.ts +13 -0
- package/dist/views/Bonds/components/BonusComponents/BonusComponent.d.ts +11 -0
- package/dist/views/Bonds/components/BonusComponents/BonusContainer.d.ts +11 -0
- package/dist/views/Bonds/components/BonusComponents/BonusTable.d.ts +9 -0
- package/dist/views/Bonds/components/BuyAgainRow/index.d.ts +3 -0
- package/dist/views/Bonds/components/CheckURL/index.d.ts +4 -0
- package/dist/views/Bonds/components/HotBondCards/HotBondCard.d.ts +6 -0
- package/dist/views/Bonds/components/HotBondCards/index.d.ts +4 -0
- package/dist/views/Bonds/components/HotBondCards/styles.d.ts +2 -0
- package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.d.ts +13 -0
- package/dist/views/Bonds/components/RecommendationCards/index.d.ts +11 -0
- package/dist/views/Bonds/components/RecommendationCards/styles.d.ts +2 -0
- package/dist/views/Bonds/index.d.ts +4 -0
- package/dist/views/Bonds/utils.d.ts +18 -0
- package/dist/views/BuyBond/BuyBond.d.ts +10 -0
- package/dist/views/BuyBond/BuyBondModal.d.ts +4 -0
- package/dist/views/BuyBond/components/BondCards.d.ts +6 -0
- package/dist/views/BuyBond/components/BondModalHeader.d.ts +8 -0
- package/dist/views/BuyBond/components/BondModalMinTierHeader.d.ts +5 -0
- package/dist/views/BuyBond/components/Estimations.d.ts +11 -0
- package/dist/views/BuyBond/components/ExpandedViewButton.d.ts +6 -0
- package/dist/views/BuyBond/components/GetUpToComponent/GetUpToComponent.d.ts +8 -0
- package/dist/views/BuyBond/components/NewRateModal/NewRateModal.d.ts +12 -0
- package/dist/views/BuyBond/components/NoBonusModal/NoBonusModal.d.ts +7 -0
- package/dist/views/BuyBond/components/ProjectDescription.d.ts +6 -0
- package/dist/views/BuyBond/findHighestTrueBondPrice.d.ts +15 -0
- package/dist/views/BuyBond/index.d.ts +7 -0
- package/dist/views/FullBondsView/FullBondsView.d.ts +7 -0
- package/dist/views/FullBondsView/index.d.ts +4 -0
- package/dist/views/GooSale/GooSale.d.ts +7 -0
- package/dist/views/GooSale/bondsList.d.ts +554 -0
- package/dist/views/GooSale/components/BannerTestnet/BannerTestnet.d.ts +6 -0
- package/dist/views/GooSale/components/BondFilters/BondFilters.d.ts +7 -0
- package/dist/views/GooSale/components/BondRows/BondRow.d.ts +16 -0
- package/dist/views/GooSale/components/BondRows/BondRowsByChain.d.ts +7 -0
- package/dist/views/GooSale/components/BondRows/BondRowsWithTitle.d.ts +8 -0
- package/dist/views/GooSale/components/BondRows/ChainTitle.d.ts +7 -0
- package/dist/views/GooSale/components/BondRows/ModalHandler.d.ts +7 -0
- package/dist/views/GooSale/components/BondsMenu/BondsMenu.d.ts +12 -0
- package/dist/views/GooSale/components/BonusComponents/BonusComponent.d.ts +11 -0
- package/dist/views/GooSale/components/BonusComponents/BonusContainer.d.ts +11 -0
- package/dist/views/GooSale/components/BonusComponents/BonusTable.d.ts +9 -0
- package/dist/views/GooSale/components/BuyBond/BuyBond.d.ts +19 -0
- package/dist/views/GooSale/components/BuyBond/BuyBondModal.d.ts +4 -0
- package/dist/views/GooSale/components/BuyBond/components/BondCards.d.ts +9 -0
- package/dist/views/GooSale/components/BuyBond/components/BondModalHeader.d.ts +9 -0
- package/dist/views/GooSale/components/BuyBond/components/BondModalMinTierHeader.d.ts +5 -0
- package/dist/views/GooSale/components/BuyBond/components/Estimations.d.ts +13 -0
- package/dist/views/GooSale/components/BuyBond/components/ExpandedViewButton.d.ts +6 -0
- package/dist/views/GooSale/components/BuyBond/components/GetUpToComponent/GetUpToComponent.d.ts +8 -0
- package/dist/views/GooSale/components/BuyBond/components/NewRateModal/NewRateModal.d.ts +12 -0
- package/dist/views/GooSale/components/BuyBond/components/NoBonusModal/NoBonusModal.d.ts +7 -0
- package/dist/views/GooSale/components/BuyBond/components/ProjectDescription.d.ts +6 -0
- package/dist/views/GooSale/components/BuyBond/findHighestTrueBondPrice.d.ts +15 -0
- package/dist/views/GooSale/components/BuyBond/index.d.ts +7 -0
- package/dist/views/GooSale/components/CheckURL/index.d.ts +4 -0
- package/dist/views/GooSale/components/HotBondCards/HotBondCard.d.ts +6 -0
- package/dist/views/GooSale/components/HotBondCards/index.d.ts +4 -0
- package/dist/views/GooSale/components/HotBondCards/styles.d.ts +2 -0
- package/dist/views/GooSale/components/NetworkFilter/index.d.ts +5 -0
- package/dist/views/GooSale/components/ProgressBar/ProgressBar.d.ts +7 -0
- package/dist/views/GooSale/components/ProgressBar/styles.d.ts +2 -0
- package/dist/views/GooSale/components/RecommendationCards/SmallRecommendationCard.d.ts +13 -0
- package/dist/views/GooSale/components/RecommendationCards/index.d.ts +11 -0
- package/dist/views/GooSale/components/RecommendationCards/styles.d.ts +2 -0
- package/dist/views/GooSale/components/TokenInfoAndName/index.d.ts +9 -0
- package/dist/views/GooSale/components/Tooltip/ButtonsRow.d.ts +7 -0
- package/dist/views/GooSale/components/Tooltip/Tooltip.d.ts +12 -0
- package/dist/views/GooSale/components/Tooltip/styles.d.ts +2 -0
- package/dist/views/GooSale/components/TransactionModal/TransactionModal.d.ts +19 -0
- package/dist/views/GooSale/components/YourGoo/YourGoo.d.ts +1 -0
- package/dist/views/GooSale/hooks/preTGEGooBonds/usePreTGEList.d.ts +4 -0
- package/dist/views/GooSale/hooks/preTGEGooBonds/usePreTGEUserBonds.d.ts +30 -0
- package/dist/views/GooSale/hooks/useGooEligibility.d.ts +7 -0
- package/dist/views/GooSale/hooks/useSaleInfo.d.ts +41 -0
- package/dist/views/GooSale/hooks/useUserInfo.d.ts +12 -0
- package/dist/views/GooSale/hooks/useYourGoo.d.ts +19 -0
- package/dist/views/GooSale/index.d.ts +4 -0
- package/dist/views/GooSale/utils.d.ts +31 -0
- package/dist/views/PreTGEBonds/components/BuyComponent/BondCards.d.ts +6 -0
- package/dist/views/PreTGEBonds/components/BuyComponent/ParticipationSuccessful.d.ts +8 -0
- package/dist/views/PreTGEBonds/components/BuyComponent/PreTGEBuyComponent.d.ts +8 -0
- package/dist/views/PreTGEBonds/components/BuyComponent/PreTGEModalHandler.d.ts +7 -0
- package/dist/views/PreTGEBonds/components/BuyComponent/styles.d.ts +22 -0
- package/dist/views/PreTGEBonds/components/PreTGEUserRows/PreTGEActions.d.ts +6 -0
- package/dist/views/PreTGEBonds/components/PreTGEUserRows/PreTGEUserRow.d.ts +7 -0
- package/dist/views/ProjectView/ProjectView.d.ts +13 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.d.ts +6 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.d.ts +7 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.d.ts +6 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/styles.d.ts +2 -0
- package/dist/views/ProjectView/components/BondLeaderboard/index.d.ts +6 -0
- package/dist/views/ProjectView/components/BondStats/index.d.ts +6 -0
- package/dist/views/ProjectView/components/BondStats/styles.d.ts +2 -0
- package/dist/views/ProjectView/components/BondStats/types.d.ts +43 -0
- package/dist/views/ProjectView/components/BondStats/utils.d.ts +1 -0
- package/dist/views/ProjectView/components/NavPanel/index.d.ts +5 -0
- package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.d.ts +9 -0
- package/dist/views/ProjectView/components/PriceChart/components/LineChart.d.ts +9 -0
- package/dist/views/ProjectView/components/PriceChart/components/utils.d.ts +1 -0
- package/dist/views/ProjectView/components/PriceChart/index.d.ts +8 -0
- package/dist/views/ProjectView/components/PriceChart/styles.d.ts +2 -0
- package/dist/views/ProjectView/components/ProjectInfo/index.d.ts +6 -0
- package/dist/views/ProjectView/components/ProjectInfo/styles.d.ts +2 -0
- package/dist/views/ProjectView/components/RecommendationCards/index.d.ts +3 -0
- package/dist/views/ProjectView/index.d.ts +7 -0
- package/dist/views/ProjectView/styles.d.ts +2 -0
- package/dist/views/SingleBond/SingleBond.d.ts +6 -0
- package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.d.ts +8 -0
- package/dist/views/SingleBond/index.d.ts +7 -0
- package/dist/views/TransactionModal/TransactionModal.d.ts +19 -0
- package/dist/views/YourBonds/YourBonds.d.ts +7 -0
- package/dist/views/YourBonds/components/ClaimAll/ClaimAllModal.d.ts +3 -0
- package/dist/views/YourBonds/components/ClaimAll/index.d.ts +3 -0
- package/dist/views/YourBonds/components/UserBondRow/index.d.ts +6 -0
- package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.d.ts +12 -0
- package/dist/views/YourBonds/fetchBillsUser.d.ts +5 -0
- package/dist/views/YourBonds/getBillNftData.d.ts +9 -0
- package/dist/views/YourBonds/index.d.ts +4 -0
- package/dist/views/YourBondsModal/YourBondsModal.d.ts +7 -0
- package/dist/views/YourBondsModal/components/LinkShare/LinkShare.d.ts +7 -0
- package/dist/views/YourBondsModal/components/LinkShare/styles.d.ts +2 -0
- package/dist/views/YourBondsModal/components/LinkShare/templateImageShare.d.ts +2 -0
- package/dist/views/YourBondsModal/components/LinkShare/utils.d.ts +2 -0
- package/dist/views/YourBondsModal/components/Recommendations/CardRecommendation.d.ts +7 -0
- package/dist/views/YourBondsModal/components/Recommendations/CardRecommendationsMobile.d.ts +6 -0
- package/dist/views/YourBondsModal/components/Recommendations/Recommendations.d.ts +6 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/TransferAction.d.ts +8 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/index.d.ts +8 -0
- package/dist/views/ZapModal/index.d.ts +13 -0
- package/dist/views/ZapModal/styles.d.ts +2 -0
- package/package.json +100 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BondsData } from '../../../../../types/bonds';
|
|
3
|
+
declare const BondCards: ({ bondData, tgeDate, maxUserBuy, type, }: {
|
|
4
|
+
bondData: BondsData;
|
|
5
|
+
tgeDate: string;
|
|
6
|
+
maxUserBuy: number;
|
|
7
|
+
type: string;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
|
+
export default BondCards;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BondsData } from '../../../../../types/bonds';
|
|
3
|
+
declare const BondModalHeader: ({ bondData, btcPrice, onDismiss, showProjectInfoButton, }: {
|
|
4
|
+
bondData: BondsData;
|
|
5
|
+
btcPrice: number;
|
|
6
|
+
onDismiss?: () => void;
|
|
7
|
+
showProjectInfoButton?: boolean;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
|
+
export default BondModalHeader;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BondsData } from '../../../../../types/bonds';
|
|
3
|
+
import { GooSaleContractData } from '../../../hooks/useSaleInfo';
|
|
4
|
+
declare const Estimations: ({ depositAmount, saleData, bondData, youSpendString, isZap, fetchingZapQuote, zapError, }: {
|
|
5
|
+
depositAmount: string;
|
|
6
|
+
saleData?: GooSaleContractData;
|
|
7
|
+
bondData: BondsData;
|
|
8
|
+
youSpendString?: string;
|
|
9
|
+
isZap?: boolean;
|
|
10
|
+
fetchingZapQuote?: boolean;
|
|
11
|
+
zapError?: boolean;
|
|
12
|
+
}) => React.JSX.Element;
|
|
13
|
+
export default Estimations;
|
package/dist/views/GooSale/components/BuyBond/components/GetUpToComponent/GetUpToComponent.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BondsData } from '../../../../../../types/bonds';
|
|
3
|
+
interface GetUpToComponentProps {
|
|
4
|
+
bond: BondsData;
|
|
5
|
+
depositAmount: string;
|
|
6
|
+
}
|
|
7
|
+
declare const GetUpToComponent: React.FC<GetUpToComponentProps>;
|
|
8
|
+
export default GetUpToComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BondsData } from '../../../../../../types/bonds';
|
|
3
|
+
declare const NewRateModal: ({ bond, zapTrueBondPrice, depositAmount, youSpendString, fetchingZapQuote, zapError, onDismiss, }: {
|
|
4
|
+
bond?: BondsData;
|
|
5
|
+
zapTrueBondPrice?: string;
|
|
6
|
+
depositAmount: string;
|
|
7
|
+
youSpendString?: string;
|
|
8
|
+
fetchingZapQuote?: boolean;
|
|
9
|
+
zapError?: boolean;
|
|
10
|
+
onDismiss?: () => void;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
|
+
export default NewRateModal;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BondsData, TrueBondPrices } from '../../../../types/bonds';
|
|
2
|
+
/**
|
|
3
|
+
* Finds the highest TrueBondPrices element where userPoints is higher than points in the array.
|
|
4
|
+
* @param userPoints - The user's points as a string representing a BigNumber.
|
|
5
|
+
* @param bondData - Bond Data containing an array of TrueBondPrices to analyze.
|
|
6
|
+
* @returns The highest TrueBondPrices element where userPoints is higher than the item's points, or `undefined` if none matches.
|
|
7
|
+
*/
|
|
8
|
+
export declare const findHighestTrueBondPrice: (userPoints?: string | null, bondData?: BondsData) => TrueBondPrices | undefined;
|
|
9
|
+
export declare const findHighestTrueBondPrices: (userPoints?: string | null, trueBondPrices?: TrueBondPrices[]) => TrueBondPrices | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Finds the TrueBondPrices element with the highest points in the array, regardless of user points.
|
|
12
|
+
* @param bondData - Bond Data containing an array of TrueBondPrices to analyze.
|
|
13
|
+
* @returns The TrueBondPrices element with the highest points, or `undefined` if no data is available.
|
|
14
|
+
*/
|
|
15
|
+
export declare const findHighestTrueBondPriceUserAgnostic: (bondData?: BondsData) => TrueBondPrices | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BuyBondProps } from './BuyBond';
|
|
3
|
+
import { SDKProps } from '../../../../state/useSDKConfig';
|
|
4
|
+
interface Props extends SDKProps, BuyBondProps {
|
|
5
|
+
}
|
|
6
|
+
declare const BuyBondModalWithProviders: React.FC<Props>;
|
|
7
|
+
export default BuyBondModalWithProviders;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ThemeUIStyleObject } from 'theme-ui';
|
|
2
|
+
export declare const styles: Record<'listCardContainer' | 'listViewContainer' | 'titleContainer' | 'infoContentMobile' | 'tokensContainer' | 'titleText' | 'skeleton' | 'valueText' | 'secondaryText' | 'cardContentContainer' | 'animationDiv' | 'expandedWrapper', ThemeUIStyleObject>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChainId } from '@ape.swap/apeswap-lists';
|
|
3
|
+
export interface SmallCardBond {
|
|
4
|
+
vestingTerm: number;
|
|
5
|
+
payoutTokenName: string;
|
|
6
|
+
contractAddress: string;
|
|
7
|
+
bonus: number;
|
|
8
|
+
chainId: ChainId;
|
|
9
|
+
}
|
|
10
|
+
declare const SmallRecommendationCard: ({ recommendation }: {
|
|
11
|
+
recommendation: SmallCardBond;
|
|
12
|
+
}) => React.JSX.Element;
|
|
13
|
+
export default SmallRecommendationCard;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChainId } from '@ape.swap/apeswap-lists';
|
|
3
|
+
export interface SmallCardBond {
|
|
4
|
+
vestingTerm: number;
|
|
5
|
+
payoutTokenName: string;
|
|
6
|
+
contractAddress: string;
|
|
7
|
+
bonus: number;
|
|
8
|
+
chainId: ChainId;
|
|
9
|
+
}
|
|
10
|
+
declare const RecommendationCards: () => React.JSX.Element;
|
|
11
|
+
export default RecommendationCards;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const NETWORK_COLORS: Partial<Record<number, string>>;
|
|
2
|
+
declare const TokenInfoAndName: ({ tokenSymbol, chain, tag, vestEnds, isHotBond, }: {
|
|
3
|
+
tokenSymbol?: string;
|
|
4
|
+
chain?: number;
|
|
5
|
+
tag?: string;
|
|
6
|
+
vestEnds?: string;
|
|
7
|
+
isHotBond?: boolean;
|
|
8
|
+
}) => import("react").JSX.Element;
|
|
9
|
+
export default TokenInfoAndName;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface TooltipProps {
|
|
3
|
+
earnTokenSymbol: string;
|
|
4
|
+
bondContract: string;
|
|
5
|
+
projectLink?: string;
|
|
6
|
+
twitter?: string;
|
|
7
|
+
audit?: string;
|
|
8
|
+
chain: number;
|
|
9
|
+
isSoldOut?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const BondInfoTooltip: React.FunctionComponent<TooltipProps>;
|
|
12
|
+
export default BondInfoTooltip;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ApprovalState } from '../../../../state/allowance/useAllowance';
|
|
3
|
+
import { Token } from '@ape.swap/apeswap-lists';
|
|
4
|
+
import { GooSaleBondData } from '../BuyBond/BuyBond';
|
|
5
|
+
declare const TransactionModal: ({ onDismiss, txChain, approvalState, approveCallback, loadingTx, txCallback, bondData, inputToken, inputValue, depositAmount, buyTxHash, rateChanged, }: {
|
|
6
|
+
onDismiss?: () => void;
|
|
7
|
+
txChain?: number;
|
|
8
|
+
approvalState?: ApprovalState;
|
|
9
|
+
approveCallback?: () => Promise<void>;
|
|
10
|
+
loadingTx?: boolean;
|
|
11
|
+
txCallback?: () => void;
|
|
12
|
+
bondData: GooSaleBondData | undefined;
|
|
13
|
+
inputToken: Token | "NATIVE" | undefined;
|
|
14
|
+
inputValue: string;
|
|
15
|
+
depositAmount: string;
|
|
16
|
+
buyTxHash?: string;
|
|
17
|
+
rateChanged: boolean;
|
|
18
|
+
}) => React.JSX.Element;
|
|
19
|
+
export default TransactionModal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const YourGoo: () => import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { PreTGEConfig } from '@ape.swap/apeswap-lists';
|
|
3
|
+
export default function usePreTGEList(): UseQueryResult<PreTGEConfig[]>;
|
|
4
|
+
export declare const getPreTGEList: (apiRealTimeURL: string, apiUrl: string) => Promise<PreTGEConfig[]>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { PreTGEConfig } from '@ape.swap/apeswap-lists';
|
|
3
|
+
import { UserBill } from '../../../../types/yourbonds';
|
|
4
|
+
import { TokenPrices } from '../../../../state/tokenPrices/useTokenPrices';
|
|
5
|
+
import { GooSaleContractData } from '../useSaleInfo';
|
|
6
|
+
export interface AccountInfo {
|
|
7
|
+
hasRedeemed: boolean;
|
|
8
|
+
hasRefunded?: boolean;
|
|
9
|
+
payout: string;
|
|
10
|
+
depositAmount: string;
|
|
11
|
+
payoutClaimed: string;
|
|
12
|
+
vesting: string;
|
|
13
|
+
vestingTerm: string;
|
|
14
|
+
vestingStartTimestamp: string;
|
|
15
|
+
lastClaimTimestamp: string;
|
|
16
|
+
truePricePaid: string;
|
|
17
|
+
}
|
|
18
|
+
export interface PreTGEUserBonds extends PreTGEConfig {
|
|
19
|
+
accountInfo?: AccountInfo;
|
|
20
|
+
userOwnedBillsData?: UserBill;
|
|
21
|
+
finalized?: boolean;
|
|
22
|
+
initPrice?: number;
|
|
23
|
+
initialRelease?: number;
|
|
24
|
+
}
|
|
25
|
+
export default function usePreTGEUserGooBonds(): UseQueryResult<PreTGEUserBonds[]>;
|
|
26
|
+
type GooContractWithChain = GooSaleContractData & {
|
|
27
|
+
chainId: number;
|
|
28
|
+
};
|
|
29
|
+
export declare const fetchGooPreTGEUserBonds: (chains: number[], tokenPrices: TokenPrices[], gooContracts: GooContractWithChain[], account: string, apiUrl: string, tgeTimestamp?: number) => Promise<PreTGEUserBonds[]>;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { Token } from '@ape.swap/apeswap-lists';
|
|
3
|
+
export interface GooSaleContractData {
|
|
4
|
+
address: string;
|
|
5
|
+
type: 'goo' | 'sgoo';
|
|
6
|
+
principalToken: Token;
|
|
7
|
+
salePrice: number;
|
|
8
|
+
discount: number;
|
|
9
|
+
vestingLinear: number;
|
|
10
|
+
vestingCliff: number;
|
|
11
|
+
}
|
|
12
|
+
export interface StageInfo {
|
|
13
|
+
stageNumber: number;
|
|
14
|
+
key: string;
|
|
15
|
+
startTime: number;
|
|
16
|
+
endTime: number;
|
|
17
|
+
hardCapSats: number;
|
|
18
|
+
totalBilledSats: number;
|
|
19
|
+
activeReservationsSats: number;
|
|
20
|
+
maxUserPurchaseSats: number;
|
|
21
|
+
minTierAccess: number;
|
|
22
|
+
contractsByChain: Record<number, GooSaleContractData[]>;
|
|
23
|
+
totalsByChain: Record<number, number>;
|
|
24
|
+
progressPercentage: number;
|
|
25
|
+
remainingPercentage: number;
|
|
26
|
+
isActive: boolean;
|
|
27
|
+
hasEnded: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface SaleInfo {
|
|
30
|
+
stages: StageInfo[];
|
|
31
|
+
currentStage: StageInfo | null;
|
|
32
|
+
nextStage: StageInfo | null;
|
|
33
|
+
isInBreakPeriod: boolean;
|
|
34
|
+
totalHardCap: number;
|
|
35
|
+
totalBilled: number;
|
|
36
|
+
overallProgress: number;
|
|
37
|
+
TGEPrice: number;
|
|
38
|
+
TGEDate: Date;
|
|
39
|
+
}
|
|
40
|
+
export default function useSaleInfo(): UseQueryResult<SaleInfo>;
|
|
41
|
+
export declare const getSaleInfo: (isFake: boolean, apiAddress: string) => Promise<SaleInfo>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
export interface UserInfo {
|
|
3
|
+
user: string;
|
|
4
|
+
tier: number;
|
|
5
|
+
totalAllowance: number;
|
|
6
|
+
consumedPerChain: Record<number, number>;
|
|
7
|
+
totalConsumed: number;
|
|
8
|
+
availableAllowance: number;
|
|
9
|
+
stage: string;
|
|
10
|
+
}
|
|
11
|
+
export default function useUserInfo(userAddress?: string): UseQueryResult<UserInfo | null>;
|
|
12
|
+
export declare const getUserInfo: (userAddress: string, apiAddress: string) => Promise<UserInfo | null>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
interface StageData {
|
|
3
|
+
key: string;
|
|
4
|
+
depositToGooBond: string;
|
|
5
|
+
depositToSGooBond: string;
|
|
6
|
+
gooPayout: string;
|
|
7
|
+
sGooPayout: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UserGooData {
|
|
10
|
+
user: string;
|
|
11
|
+
stages: StageData[];
|
|
12
|
+
depositToGooBond: string;
|
|
13
|
+
depositToSGooBond: string;
|
|
14
|
+
gooPayout: string;
|
|
15
|
+
sGooPayout: string;
|
|
16
|
+
}
|
|
17
|
+
export default function useYourGoo(userAddress?: string): UseQueryResult<UserGooData | null>;
|
|
18
|
+
export declare const getUserGooData: (userAddress: string, apiAddress: string) => Promise<UserGooData | null>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BondsData } from '../../types/bonds';
|
|
2
|
+
import { BillsConfig, ChainId } from '@ape.swap/apeswap-lists';
|
|
3
|
+
export declare const isBondSoldOut: (bill: BondsData, showLowValueBonds?: boolean) => boolean;
|
|
4
|
+
export declare const vestingTime: (vestingTerm?: number) => {
|
|
5
|
+
years: number;
|
|
6
|
+
months: number;
|
|
7
|
+
days: number;
|
|
8
|
+
hours: number;
|
|
9
|
+
minutes: number;
|
|
10
|
+
seconds: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const remainingPercentage: (bond: BondsData) => number;
|
|
13
|
+
export declare const getDiscountColor: (discount?: number) => string;
|
|
14
|
+
export declare const calculateARR: (bond: BondsData | BillsConfig, useTiers: boolean) => string;
|
|
15
|
+
export declare const isBondSupported: (SDKVersion: string, bondVersion: string) => boolean;
|
|
16
|
+
export declare const getRemainingTokensString: (bond: BondsData | BillsConfig) => string;
|
|
17
|
+
export declare const getGooSaleVestingString: (vestingCliff?: number, vestingTerm?: number) => string;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @param depositAmount Amount of BTC deposit
|
|
21
|
+
* @param price Price of GOO in sats
|
|
22
|
+
* @returns Estimated amount of GOO tokens
|
|
23
|
+
*/
|
|
24
|
+
export declare const getGooSaleOutputAmount: (depositAmount: string, price: number) => number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @param price Price of GOO in sats
|
|
28
|
+
* @returns Price of GOO in USD
|
|
29
|
+
*/
|
|
30
|
+
export declare const getGooUsdPrice: (price?: number, btcPrice?: number) => string | 0;
|
|
31
|
+
export declare const getAllowListProofSig: (apiAddress: string, account: string, bondAddress: string, chainId: ChainId, amount: string) => Promise<string | null>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BondsData } from '../../../../types/bonds';
|
|
3
|
+
declare const ParticipationSuccessful: ({ onDismiss, bond, inputAmount, }: {
|
|
4
|
+
onDismiss?: () => void;
|
|
5
|
+
bond: BondsData;
|
|
6
|
+
inputAmount?: string;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export default ParticipationSuccessful;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const PreTGEBuyComponent: ({ bondAddress, bondChain, onDismiss, handlePurchasedBond, }: {
|
|
3
|
+
bondAddress: string;
|
|
4
|
+
bondChain: number;
|
|
5
|
+
onDismiss?: () => void;
|
|
6
|
+
handlePurchasedBond: (hash: string, inputAmount: string) => void;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export default PreTGEBuyComponent;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ThemeUIStyleObject } from 'theme-ui';
|
|
2
|
+
export declare const styles: Record<'buyContainer' | 'cardContainer' | 'infoRowsContainer' | 'infoRow' | 'infoTitle' | 'infoData', ThemeUIStyleObject>;
|
|
3
|
+
export declare const colorMap: {
|
|
4
|
+
0: string;
|
|
5
|
+
1: string;
|
|
6
|
+
2: string;
|
|
7
|
+
3: string;
|
|
8
|
+
4: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const colorMap2: {
|
|
11
|
+
bronze: string;
|
|
12
|
+
silver: string;
|
|
13
|
+
gold: string;
|
|
14
|
+
diamond: string;
|
|
15
|
+
legend: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const textColorMap: {
|
|
18
|
+
silver: string;
|
|
19
|
+
gold: string;
|
|
20
|
+
diamond: string;
|
|
21
|
+
legend: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PreTGEUserBonds } from '../../../../state/preTGEBonds/usePreTGEUserBonds';
|
|
3
|
+
declare const PreTgeUserRow: ({ userBond, isGooSale }: {
|
|
4
|
+
userBond: PreTGEUserBonds;
|
|
5
|
+
isGooSale?: boolean;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
|
+
export default PreTgeUserRow;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface HistoricalPrices {
|
|
3
|
+
timestamp: string;
|
|
4
|
+
open: number;
|
|
5
|
+
close: number;
|
|
6
|
+
}
|
|
7
|
+
export interface ProjectViewProps {
|
|
8
|
+
bondAddress: string;
|
|
9
|
+
bondChain: string;
|
|
10
|
+
historicalPrices?: HistoricalPrices[] | null;
|
|
11
|
+
}
|
|
12
|
+
declare const ProjectView: React.FC<ProjectViewProps>;
|
|
13
|
+
export default ProjectView;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const options: {
|
|
2
|
+
scales: {
|
|
3
|
+
y: {
|
|
4
|
+
grid: {
|
|
5
|
+
display: boolean;
|
|
6
|
+
color: string;
|
|
7
|
+
drawOnChartArea: boolean;
|
|
8
|
+
};
|
|
9
|
+
beginAtZero: boolean;
|
|
10
|
+
};
|
|
11
|
+
x: {
|
|
12
|
+
grid: {
|
|
13
|
+
display: boolean;
|
|
14
|
+
color: string;
|
|
15
|
+
drawOnChartArea: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
plugins: {
|
|
20
|
+
legend: {
|
|
21
|
+
display: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
pointRadius: number;
|
|
25
|
+
responsive: boolean;
|
|
26
|
+
maintainAspectRatio: boolean;
|
|
27
|
+
};
|
|
28
|
+
export interface ChartDataset {
|
|
29
|
+
label: string;
|
|
30
|
+
data: number[];
|
|
31
|
+
fill: boolean;
|
|
32
|
+
borderColor: string;
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
tension: number;
|
|
35
|
+
}
|
|
36
|
+
export interface ChartData {
|
|
37
|
+
labels: string[];
|
|
38
|
+
datasets: ChartDataset[];
|
|
39
|
+
}
|
|
40
|
+
export declare const chartOptions: {
|
|
41
|
+
label: string;
|
|
42
|
+
value: string;
|
|
43
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function stripDate(input: number): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HistoricalPrices } from '../../../ProjectView';
|
|
3
|
+
declare const CandleStickChart: ({ historicalPrices, hasDiscount, bondPrice, tokenPrice, }: {
|
|
4
|
+
historicalPrices?: HistoricalPrices[] | null;
|
|
5
|
+
hasDiscount: boolean;
|
|
6
|
+
bondPrice: string;
|
|
7
|
+
tokenPrice: string;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
|
+
export default CandleStickChart;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HistoricalPrices } from '../../../ProjectView';
|
|
3
|
+
declare const LineChart: ({ historicalPrices, hasDiscount, bondPrice, tokenPrice, }: {
|
|
4
|
+
historicalPrices?: HistoricalPrices[] | null;
|
|
5
|
+
hasDiscount: boolean;
|
|
6
|
+
bondPrice: string;
|
|
7
|
+
tokenPrice: string;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
|
+
export default LineChart;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const determineValues: (input: number) => [number, number];
|