@ape.swap/bonds-sdk 1.0.77 → 1.0.78-2.test.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BondMenu/BondMenu.d.ts +12 -0
- package/dist/components/BondMenu/BondMenu.js +40 -0
- package/dist/components/BondMenu/useChainFilterOption.d.ts +4 -0
- package/dist/components/BondMenu/useChainFilterOption.js +30 -0
- package/dist/components/BondRows/BondRow.d.ts +9 -0
- package/dist/components/BondRows/BondRow.js +81 -0
- package/dist/components/BondRows/BondRowHeader.d.ts +16 -0
- package/dist/components/BondRows/BondRowHeader.js +12 -0
- package/dist/components/BondRows/BondRowsByChain.d.ts +9 -0
- package/dist/components/BondRows/BondRowsByChain.js +13 -0
- package/dist/components/BondRows/BondRowsWithTitle.d.ts +9 -0
- package/dist/components/BondRows/BondRowsWithTitle.js +20 -0
- package/dist/components/BondRows/ChainTitle.d.ts +8 -0
- package/dist/components/BondRows/ChainTitle.js +18 -0
- package/dist/components/MenuSelect/MenuSelect.d.ts +8 -0
- package/dist/components/MenuSelect/MenuSelect.js +36 -0
- package/dist/components/MenuSelect/RecommendationSelector.d.ts +7 -0
- package/dist/components/MenuSelect/RecommendationSelector.js +32 -0
- package/dist/components/MenuSelect/types.d.ts +22 -0
- package/dist/components/NetworkFilter/index.d.ts +6 -0
- package/dist/components/NetworkFilter/index.js +66 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +8 -0
- package/dist/components/ProgressBar/ProgressBar.js +10 -0
- package/dist/components/ProgressBar/ProgressBarWrapper.d.ts +14 -0
- package/dist/components/ProgressBar/ProgressBarWrapper.js +9 -0
- package/dist/components/ProgressBar/styles.d.ts +2 -0
- package/dist/components/ProgressBar/styles.js +82 -0
- package/dist/components/TokenInfoAndName/index.d.ts +9 -0
- package/dist/components/TokenInfoAndName/index.js +40 -0
- package/dist/components/Tooltip/ButtonsRow.d.ts +8 -0
- package/dist/components/Tooltip/ButtonsRow.js +21 -0
- package/dist/components/Tooltip/Tooltip.d.ts +18 -0
- package/dist/components/Tooltip/Tooltip.js +13 -0
- package/dist/components/Tooltip/styles.d.ts +2 -0
- package/dist/components/Tooltip/styles.js +44 -0
- package/dist/components/uikit-sdk/Button/IconButton.js +33 -0
- package/dist/components/uikit-sdk/Checkbox/index.d.ts +3 -0
- package/dist/components/uikit-sdk/Checkbox/index.js +46 -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/Input.js +72 -0
- package/dist/components/uikit-sdk/Input/NumericInput.d.ts +9 -0
- package/dist/components/uikit-sdk/Input/StyledInput.js +26 -0
- package/dist/components/uikit-sdk/Modal/ModalFooter.js +21 -0
- package/dist/components/uikit-sdk/Modal/ModalHeader.js +31 -0
- package/dist/components/uikit-sdk/Modal/index.js +46 -0
- package/dist/components/uikit-sdk/Select/Select.js +61 -0
- package/dist/components/uikit-sdk/Select/SelectItem.d.ts +3 -0
- package/dist/components/uikit-sdk/Select/SelectItem.js +40 -0
- package/dist/components/uikit-sdk/Skeleton/styles.d.ts +5 -0
- package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/AllChains.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.js +17 -0
- package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Audit.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/BillsM1.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/BillsM2.js +17 -0
- package/dist/components/uikit-sdk/Svg/Icons/BillsM3.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Bridge.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Bubble.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Calculator.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Calendar.js +5 -0
- package/dist/components/uikit-sdk/Svg/Icons/Cancelled.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Card.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Caret.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Chain.js +9 -0
- package/dist/components/uikit-sdk/Svg/Icons/Chart.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Chat.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Close.js +9 -0
- package/dist/components/uikit-sdk/Svg/Icons/Cog.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/Icons/Cog.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Collapse.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Copy.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Discord.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Docs.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/DocsV2.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Ellipse.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Error.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Expand.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Explorer.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/External.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Farm.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Fav.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/FilledURL.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Fire.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/Frame.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/FullLogo.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/Gnana.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Home.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Hot.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Hot.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/Info.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Insight.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Island.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Logout.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Medium.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Message.js +9 -0
- package/dist/components/uikit-sdk/Svg/Icons/Migrate.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Moon.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/More.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/NFA.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/NavCaret.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Play.js +5 -0
- package/dist/components/uikit-sdk/Svg/Icons/Pool.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Positions.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/Question.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Quiz.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Receipt.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Rocket.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Search.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Send.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Settings.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Share.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Sort.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Sort.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Success.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Tag.js +5 -0
- package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/TextLogo.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/TickShield.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Trade.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Trash.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/URL.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Vaults.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Verified.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/Wallet.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Warning.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Watch.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/Website.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/XNew.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.js +6 -0
- package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +16 -0
- package/dist/components/uikit-sdk/Svg/Icons/index.d.ts +110 -0
- package/dist/components/uikit-sdk/Svg/Icons/index.js +112 -0
- package/dist/components/uikit-sdk/Svg/Icons/polygonNew.js +16 -0
- package/dist/components/uikit-sdk/Svg/index.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/index.js +347 -0
- package/dist/components/uikit-sdk/Svg/tokens/ABOND.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/BANANA.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/BASE.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/BNB.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/BSC.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/CELO.js +5 -0
- package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/ETH.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/GNANA.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/OKX.js +5 -0
- package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +6 -0
- package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +6 -0
- package/dist/components/uikit-sdk/Svg/types.d.ts +171 -0
- package/dist/components/uikit-sdk/Svg/types.js +165 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.js +6 -0
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.js +5 -0
- package/dist/components/uikit-sdk/Tag/ListTag.js +20 -0
- package/dist/components/uikit-sdk/Tag/styles.d.ts +8 -0
- package/dist/components/uikit-sdk/Tag/types.js +34 -0
- package/dist/components/uikit-sdk/Text/index.js +35 -0
- package/dist/components/uikit-sdk/TokenImage/index.d.ts +7 -0
- package/dist/components/uikit-sdk/TokenImage/index.js +18 -0
- package/dist/components/uikit-sdk/TooltipBubble/index.js +66 -0
- package/dist/components/uikit-sdk/TooltipBubble/styles.js +60 -0
- package/dist/components/uikit-sdk/index.d.ts +10 -0
- package/dist/components/uikit-sdk/index.js +12 -0
- package/dist/config/abi/bond.json +450 -0
- package/dist/config/abi/erc20.json +117 -0
- package/dist/config/abi/multicallv2.json +143 -0
- package/dist/config/abi/types/Banana.d.ts +417 -0
- package/dist/config/abi/types/Banana.js +1 -0
- package/dist/config/abi/types/Bond.d.ts +803 -0
- package/dist/config/abi/types/Bond.js +1 -0
- package/dist/config/abi/types/BondNft.d.ts +603 -0
- package/dist/config/abi/types/BondNft.js +1 -0
- package/dist/config/abi/types/EnsPublicResolver.d.ts +513 -0
- package/dist/config/abi/types/EnsPublicResolver.js +1 -0
- package/dist/config/abi/types/EnsRegistrar.d.ts +274 -0
- package/dist/config/abi/types/EnsRegistrar.js +1 -0
- package/dist/config/abi/types/Erc20.d.ts +168 -0
- package/dist/config/abi/types/Erc20.js +1 -0
- package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
- package/dist/config/abi/types/Erc20_bytes32.js +1 -0
- package/dist/config/abi/types/JungleChef.d.ts +260 -0
- package/dist/config/abi/types/JungleChef.js +1 -0
- package/dist/config/abi/types/LaunchBonds.d.ts +1362 -0
- package/dist/config/abi/types/LaunchBonds.js +1 -0
- package/dist/config/abi/types/LensContract.d.ts +295 -0
- package/dist/config/abi/types/LensContract.js +1 -0
- package/dist/config/abi/types/LockVeAbond.d.ts +1279 -0
- package/dist/config/abi/types/LockVeAbond.js +1 -0
- package/dist/config/abi/types/MigrationBond.d.ts +1136 -0
- package/dist/config/abi/types/MigrationBond.js +1 -0
- package/dist/config/abi/types/MigrationFveAbond.d.ts +290 -0
- package/dist/config/abi/types/MigrationFveAbond.js +1 -0
- package/dist/config/abi/types/MiniComplexRewarder.d.ts +469 -0
- package/dist/config/abi/types/MiniComplexRewarder.js +1 -0
- package/dist/config/abi/types/Multicallv2.d.ts +150 -0
- package/dist/config/abi/types/Multicallv2.js +1 -0
- package/dist/config/abi/types/Multicallv3.d.ts +98 -0
- package/dist/config/abi/types/Multicallv3.js +1 -0
- package/dist/config/abi/types/NonFungibleApes.d.ts +532 -0
- package/dist/config/abi/types/NonFungibleApes.js +1 -0
- package/dist/config/abi/types/NonFungibleBananas.d.ts +505 -0
- package/dist/config/abi/types/NonFungibleBananas.js +1 -0
- package/dist/config/abi/types/PriceGetter.d.ts +713 -0
- package/dist/config/abi/types/PriceGetter.js +1 -0
- package/dist/config/abi/types/PriceGetterLinea.d.ts +789 -0
- package/dist/config/abi/types/PriceGetterLinea.js +1 -0
- package/dist/config/abi/types/PriceGetterV2.d.ts +729 -0
- package/dist/config/abi/types/PriceGetterV2.js +1 -0
- package/dist/config/abi/types/SousChef.d.ts +579 -0
- package/dist/config/abi/types/SousChef.js +1 -0
- package/dist/config/abi/types/Treasury.d.ts +277 -0
- package/dist/config/abi/types/Treasury.js +1 -0
- package/dist/config/abi/types/Weth.d.ts +221 -0
- package/dist/config/abi/types/Weth.js +1 -0
- package/dist/config/abi/types/Zap.d.ts +528 -0
- package/dist/config/abi/types/Zap.js +1 -0
- package/dist/config/abi/types/common.d.ts +22 -0
- package/dist/config/abi/types/common.js +1 -0
- package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
- package/dist/config/abi/types/factories/Banana__factory.js +628 -0
- package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
- package/dist/config/abi/types/factories/BondNft__factory.js +951 -0
- package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
- package/dist/config/abi/types/factories/Bond__factory.js +1042 -0
- package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
- package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +833 -0
- package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
- package/dist/config/abi/types/factories/EnsRegistrar__factory.js +439 -0
- package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
- package/dist/config/abi/types/factories/Erc20__factory.js +239 -0
- package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
- package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +47 -0
- package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
- package/dist/config/abi/types/factories/JungleChef__factory.js +326 -0
- package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
- package/dist/config/abi/types/factories/LaunchBonds__factory.js +2031 -0
- package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
- package/dist/config/abi/types/factories/LensContract__factory.js +338 -0
- package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
- package/dist/config/abi/types/factories/LockVeAbond__factory.js +2215 -0
- package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
- package/dist/config/abi/types/factories/MigrationBond__factory.js +1656 -0
- package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
- package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +346 -0
- package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
- package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +586 -0
- package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
- package/dist/config/abi/types/factories/Multicallv2__factory.js +160 -0
- package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
- package/dist/config/abi/types/factories/Multicallv3__factory.js +109 -0
- package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
- package/dist/config/abi/types/factories/NonFungibleApes__factory.js +810 -0
- package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
- package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +756 -0
- package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
- package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +1465 -0
- package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
- package/dist/config/abi/types/factories/PriceGetterV2__factory.js +1364 -0
- package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
- package/dist/config/abi/types/factories/PriceGetter__factory.js +1326 -0
- package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
- package/dist/config/abi/types/factories/SousChef__factory.js +666 -0
- package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
- package/dist/config/abi/types/factories/Treasury__factory.js +309 -0
- package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
- package/dist/config/abi/types/factories/Weth__factory.js +296 -0
- package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
- package/dist/config/abi/types/factories/Zap__factory.js +889 -0
- package/dist/config/abi/types/factories/index.d.ts +25 -0
- package/dist/config/abi/types/factories/index.js +28 -0
- package/dist/config/abi/types/index.d.ts +51 -0
- package/dist/config/abi/types/index.js +26 -0
- package/dist/config/constants/addresses.d.ts +20 -0
- package/dist/config/constants/addresses.js +116 -0
- package/dist/config/constants/api.d.ts +6 -0
- package/dist/config/constants/api.js +6 -0
- package/dist/config/constants/chains.d.ts +48 -0
- package/dist/config/constants/chains.js +436 -0
- package/dist/config/constants/lifiRouting.d.ts +2 -0
- package/dist/config/constants/lifiRouting.js +6 -0
- package/dist/config/constants/lists.d.ts +10 -0
- package/dist/config/constants/lists.js +21 -0
- package/dist/config/constants/meta.d.ts +11 -0
- package/dist/config/constants/meta.js +92 -0
- package/dist/config/constants/misc.d.ts +3 -0
- package/dist/config/constants/misc.js +4 -0
- package/dist/config/constants/networks.d.ts +2 -0
- package/dist/config/constants/networks.js +44 -0
- package/dist/config/constants/products.d.ts +21 -0
- package/dist/config/constants/products.js +58 -0
- package/dist/config/constants/queryKeys.d.ts +24 -0
- package/dist/config/constants/queryKeys.js +24 -0
- package/dist/config/constants/tokens.d.ts +6 -0
- package/dist/config/constants/tokens.js +452 -0
- package/dist/config/constants/tutorials.d.ts +7 -0
- package/dist/config/constants/tutorials.js +80 -0
- package/dist/config/localization/languages.d.ts +11 -0
- package/dist/config/localization/languages.js +83 -0
- package/dist/config/localization/translations.json +918 -0
- package/dist/contexts/Localization/Provider.d.ts +7 -0
- package/dist/contexts/Localization/Provider.js +134 -0
- package/dist/contexts/Localization/helpers.d.ts +3 -0
- package/dist/contexts/Localization/helpers.js +63 -0
- package/dist/contexts/Localization/index.d.ts +3 -0
- package/dist/contexts/Localization/index.js +2 -0
- package/dist/contexts/Localization/types.d.ts +21 -0
- package/dist/contexts/Localization/types.js +1 -0
- package/dist/contexts/Localization/useTranslation.d.ts +2 -0
- package/dist/contexts/Localization/useTranslation.js +10 -0
- package/dist/contexts/ModalContext.js +4 -15
- package/dist/contexts/RefreshContext.d.ts +10 -0
- package/dist/contexts/RefreshContext.js +78 -0
- package/dist/enum/apeswaplists.d.ts +418 -0
- package/dist/enum/apeswaplists.js +152 -0
- package/dist/enum/tooltips.d.ts +13 -0
- package/dist/enum/tooltips.js +13 -0
- package/dist/hooks/useCookie.d.ts +9 -0
- package/dist/hooks/useCookie.js +29 -0
- package/dist/hooks/usePendingVesting.d.ts +5 -0
- package/dist/hooks/usePendingVesting.js +13 -0
- package/dist/hooks/useRefresh.d.ts +6 -0
- package/dist/hooks/useRefresh.js +7 -0
- package/dist/hooks/useTimer.d.ts +2 -0
- package/dist/hooks/useTimer.js +13 -0
- package/dist/hooks/useTopThreeTags.d.ts +2 -0
- package/dist/hooks/useTopThreeTags.js +25 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +5 -3
- package/dist/providers/index.d.ts +8 -0
- package/dist/providers/index.js +12 -0
- package/dist/scss/BondMenu.scss +29 -0
- package/dist/scss/BondModal.scss +409 -0
- package/dist/scss/BondRow.scss +98 -0
- package/dist/scss/BondRowHeader.scss +124 -0
- package/dist/scss/BondRowsByChain.scss +5 -0
- package/dist/scss/BondRowsWithTitle.scss +4 -0
- package/dist/scss/Bonds.scss +17 -0
- package/dist/scss/ProgressBar.scss +13 -0
- package/dist/scss/TokenInfoName.scss +45 -0
- package/dist/scss/YourBonds.scss +198 -0
- package/dist/scss/YourBondsModal.scss +314 -0
- package/dist/theme/colors.d.ts +3 -2
- package/dist/theme/colors.js +5 -4
- package/dist/types/bonds.d.ts +35 -1
- package/dist/types/yourbonds.d.ts +93 -0
- package/dist/types/yourbonds.js +1 -0
- package/dist/utils/convertToTokenValue.d.ts +4 -0
- package/dist/utils/convertToTokenValue.js +24 -0
- package/dist/utils/formatNumber.d.ts +2 -0
- package/dist/utils/formatNumber.js +34 -0
- package/dist/utils/formatNumbers.d.ts +36 -0
- package/dist/utils/formatNumbers.js +148 -0
- package/dist/utils/getBalanceNumber.d.ts +4 -0
- package/dist/utils/getBalanceNumber.js +18 -0
- package/dist/utils/index.d.ts +16 -0
- package/dist/utils/index.js +127 -0
- package/dist/utils/localStorageHelpers.d.ts +3 -0
- package/dist/utils/localStorageHelpers.js +47 -0
- package/dist/utils/multicall.d.ts +7 -0
- package/dist/utils/multicall.js +90 -0
- package/dist/utils/roundNumber.d.ts +7 -0
- package/dist/utils/roundNumber.js +14 -0
- package/dist/utils/track.d.ts +7 -0
- package/dist/utils/track.js +17 -0
- package/dist/views/BondModal/BondModal.d.ts +13 -0
- package/dist/views/BondModal/BondModal.js +277 -0
- package/dist/views/BondModal/helper.d.ts +10 -0
- package/dist/views/BondModal/helper.js +54 -0
- package/dist/views/BondModal/index.d.ts +4 -0
- package/dist/views/BondModal/index.js +18 -0
- package/dist/views/Bonds/Bonds.d.ts +17 -0
- package/dist/views/Bonds/Bonds.js +174 -0
- package/dist/views/YourBonds/YourBonds.d.ts +15 -0
- package/dist/views/YourBonds/YourBonds.js +276 -0
- package/dist/views/YourBonds/fetchBillsUser.d.ts +17 -0
- package/dist/views/YourBonds/fetchBillsUser.js +235 -0
- package/dist/views/YourBonds/getBillNftData.d.ts +9 -0
- package/dist/views/YourBonds/getBillNftData.js +109 -0
- package/dist/views/YourBondsModal/YourBondsModal.d.ts +10 -0
- package/dist/views/YourBondsModal/YourBondsModal.js +173 -0
- package/dist/views/YourBondsModal/styles.d.ts +2 -0
- package/dist/views/YourBondsModal/styles.js +12 -0
- package/package.json +37 -13
- package/dist/components/BondModal/BondModal.d.ts +0 -10
- package/dist/components/BondModal/BondModal.js +0 -30
- package/dist/components/BondSingle/BondSingle.d.ts +0 -5
- package/dist/components/BondSingle/BondSingle.js +0 -45
- package/dist/components/Bonds/Bonds.d.ts +0 -13
- package/dist/components/Bonds/Bonds.js +0 -152
- package/dist/components/Bonds/styles.d.ts +0 -4
- package/dist/components/Bonds/styles.js +0 -75
- package/dist/components/uikit/Button/IconButton.js +0 -33
- package/dist/components/uikit/Checkbox/index.d.ts +0 -4
- package/dist/components/uikit/Checkbox/index.js +0 -46
- package/dist/components/uikit/Dropdown/Dropdown.d.ts +0 -4
- package/dist/components/uikit/Dropdown/Dropdown.js +0 -58
- package/dist/components/uikit/Dropdown/DropdownItem.d.ts +0 -4
- package/dist/components/uikit/Dropdown/DropdownItem.js +0 -47
- package/dist/components/uikit/Dropdown/index.d.ts +0 -3
- package/dist/components/uikit/Dropdown/index.js +0 -2
- package/dist/components/uikit/Dropdown/styles.js +0 -16
- package/dist/components/uikit/Dropdown/types.d.ts +0 -58
- package/dist/components/uikit/Dropdown/types.js +0 -22
- package/dist/components/uikit/Flex/index.d.ts +0 -3
- package/dist/components/uikit/Input/Input.d.ts +0 -4
- package/dist/components/uikit/Input/Input.js +0 -72
- package/dist/components/uikit/Input/NumericInput.d.ts +0 -10
- package/dist/components/uikit/Input/StyledInput.js +0 -37
- package/dist/components/uikit/Link/index.d.ts +0 -9
- package/dist/components/uikit/Link/index.js +0 -29
- package/dist/components/uikit/Modal/ModalFooter.js +0 -32
- package/dist/components/uikit/Modal/ModalHeader.js +0 -31
- package/dist/components/uikit/Modal/index.js +0 -55
- package/dist/components/uikit/Select/Select.js +0 -61
- package/dist/components/uikit/Select/SelectItem.d.ts +0 -4
- package/dist/components/uikit/Select/SelectItem.js +0 -40
- package/dist/components/uikit/Skeleton/styles.d.ts +0 -5
- package/dist/components/uikit/Spinner/apeSpinner.json +0 -2764
- package/dist/components/uikit/Spinner/index.d.ts +0 -5
- package/dist/components/uikit/Spinner/index.js +0 -20
- package/dist/components/uikit/Svg/Icons/AbondFullLogo.js +0 -27
- package/dist/components/uikit/Svg/Icons/AbondSmallLogo.js +0 -17
- package/dist/components/uikit/Svg/Icons/AccountMonkey.js +0 -27
- package/dist/components/uikit/Svg/Icons/ApebondLogo.js +0 -28
- package/dist/components/uikit/Svg/Icons/ApeswapSmallLogo.js +0 -17
- package/dist/components/uikit/Svg/Icons/Arrow.js +0 -27
- package/dist/components/uikit/Svg/Icons/Audit.js +0 -27
- package/dist/components/uikit/Svg/Icons/BananaIcon.js +0 -17
- package/dist/components/uikit/Svg/Icons/BillsM1.js +0 -27
- package/dist/components/uikit/Svg/Icons/BillsM2.js +0 -28
- package/dist/components/uikit/Svg/Icons/BillsM3.js +0 -27
- package/dist/components/uikit/Svg/Icons/Bridge.js +0 -27
- package/dist/components/uikit/Svg/Icons/Bubble.js +0 -27
- package/dist/components/uikit/Svg/Icons/Calculator.js +0 -27
- package/dist/components/uikit/Svg/Icons/Calendar.js +0 -16
- package/dist/components/uikit/Svg/Icons/Cancelled.js +0 -27
- package/dist/components/uikit/Svg/Icons/Card.js +0 -27
- package/dist/components/uikit/Svg/Icons/Caret.js +0 -27
- package/dist/components/uikit/Svg/Icons/Chain.js +0 -20
- package/dist/components/uikit/Svg/Icons/Chart.js +0 -27
- package/dist/components/uikit/Svg/Icons/Chat.js +0 -27
- package/dist/components/uikit/Svg/Icons/Close.js +0 -20
- package/dist/components/uikit/Svg/Icons/Cog.d.ts +0 -4
- package/dist/components/uikit/Svg/Icons/Cog.js +0 -27
- package/dist/components/uikit/Svg/Icons/Collapse.js +0 -27
- package/dist/components/uikit/Svg/Icons/Copy.js +0 -27
- package/dist/components/uikit/Svg/Icons/Discord.js +0 -27
- package/dist/components/uikit/Svg/Icons/DiscordNew.js +0 -27
- package/dist/components/uikit/Svg/Icons/Docs.js +0 -27
- package/dist/components/uikit/Svg/Icons/DocsV2.js +0 -27
- package/dist/components/uikit/Svg/Icons/Ellipse.js +0 -27
- package/dist/components/uikit/Svg/Icons/Error.js +0 -27
- package/dist/components/uikit/Svg/Icons/Expand.js +0 -27
- package/dist/components/uikit/Svg/Icons/Explorer.js +0 -27
- package/dist/components/uikit/Svg/Icons/External.js +0 -27
- package/dist/components/uikit/Svg/Icons/Farm.js +0 -27
- package/dist/components/uikit/Svg/Icons/Fav.js +0 -27
- package/dist/components/uikit/Svg/Icons/FilledURL.js +0 -27
- package/dist/components/uikit/Svg/Icons/Fire.js +0 -17
- package/dist/components/uikit/Svg/Icons/Frame.js +0 -27
- package/dist/components/uikit/Svg/Icons/FullLogo.js +0 -17
- package/dist/components/uikit/Svg/Icons/Gnana.js +0 -27
- package/dist/components/uikit/Svg/Icons/GreenShield.d.ts +0 -4
- package/dist/components/uikit/Svg/Icons/GreenShield.js +0 -17
- package/dist/components/uikit/Svg/Icons/Hamburger.js +0 -27
- package/dist/components/uikit/Svg/Icons/HamburgerClosed.js +0 -27
- package/dist/components/uikit/Svg/Icons/Home.js +0 -27
- package/dist/components/uikit/Svg/Icons/Info.js +0 -27
- package/dist/components/uikit/Svg/Icons/InfoSolid.js +0 -27
- package/dist/components/uikit/Svg/Icons/Insight.js +0 -27
- package/dist/components/uikit/Svg/Icons/Instagram.js +0 -27
- package/dist/components/uikit/Svg/Icons/Island.js +0 -27
- package/dist/components/uikit/Svg/Icons/LanguageIcon.js +0 -27
- package/dist/components/uikit/Svg/Icons/LineChart.js +0 -17
- package/dist/components/uikit/Svg/Icons/LiquidityIcon.js +0 -27
- package/dist/components/uikit/Svg/Icons/Logout.js +0 -27
- package/dist/components/uikit/Svg/Icons/Medium.js +0 -27
- package/dist/components/uikit/Svg/Icons/MenuSettings.js +0 -27
- package/dist/components/uikit/Svg/Icons/Message.js +0 -20
- package/dist/components/uikit/Svg/Icons/Migrate.js +0 -27
- package/dist/components/uikit/Svg/Icons/Moon.js +0 -27
- package/dist/components/uikit/Svg/Icons/More.js +0 -27
- package/dist/components/uikit/Svg/Icons/NFA.js +0 -27
- package/dist/components/uikit/Svg/Icons/NavCaret.js +0 -27
- package/dist/components/uikit/Svg/Icons/PlaceholderMonkey.d.ts +0 -4
- package/dist/components/uikit/Svg/Icons/PlaceholderMonkey.js +0 -27
- package/dist/components/uikit/Svg/Icons/Play.js +0 -16
- package/dist/components/uikit/Svg/Icons/Pool.js +0 -27
- package/dist/components/uikit/Svg/Icons/Positions.js +0 -27
- package/dist/components/uikit/Svg/Icons/ProfileDark.js +0 -17
- package/dist/components/uikit/Svg/Icons/ProfileLight.js +0 -17
- package/dist/components/uikit/Svg/Icons/Question.js +0 -17
- package/dist/components/uikit/Svg/Icons/QuestionCircle.js +0 -27
- package/dist/components/uikit/Svg/Icons/QuestionFill.js +0 -27
- package/dist/components/uikit/Svg/Icons/Quiz.js +0 -27
- package/dist/components/uikit/Svg/Icons/Receipt.js +0 -27
- package/dist/components/uikit/Svg/Icons/Reddit.js +0 -27
- package/dist/components/uikit/Svg/Icons/Rocket.js +0 -27
- package/dist/components/uikit/Svg/Icons/ScrollTop.js +0 -27
- package/dist/components/uikit/Svg/Icons/Search.js +0 -27
- package/dist/components/uikit/Svg/Icons/Send.js +0 -27
- package/dist/components/uikit/Svg/Icons/Settings.js +0 -27
- package/dist/components/uikit/Svg/Icons/Share.js +0 -27
- package/dist/components/uikit/Svg/Icons/Success.js +0 -27
- package/dist/components/uikit/Svg/Icons/SuccessOutline.js +0 -27
- package/dist/components/uikit/Svg/Icons/SwapArrows.js +0 -27
- package/dist/components/uikit/Svg/Icons/SwitchArrows.d.ts +0 -4
- package/dist/components/uikit/Svg/Icons/SwitchArrows.js +0 -27
- package/dist/components/uikit/Svg/Icons/Tag.js +0 -16
- package/dist/components/uikit/Svg/Icons/Telegram.js +0 -27
- package/dist/components/uikit/Svg/Icons/TelegramNew.js +0 -27
- package/dist/components/uikit/Svg/Icons/TextLogo.js +0 -17
- package/dist/components/uikit/Svg/Icons/TickShield.js +0 -27
- package/dist/components/uikit/Svg/Icons/Trade.js +0 -27
- package/dist/components/uikit/Svg/Icons/Trash.js +0 -27
- package/dist/components/uikit/Svg/Icons/Twitter.js +0 -27
- package/dist/components/uikit/Svg/Icons/URL.js +0 -27
- package/dist/components/uikit/Svg/Icons/Vaults.js +0 -27
- package/dist/components/uikit/Svg/Icons/Verified.js +0 -17
- package/dist/components/uikit/Svg/Icons/Wallet.js +0 -27
- package/dist/components/uikit/Svg/Icons/Warning.js +0 -27
- package/dist/components/uikit/Svg/Icons/Watch.js +0 -27
- package/dist/components/uikit/Svg/Icons/Website.js +0 -27
- package/dist/components/uikit/Svg/Icons/WebsiteNew.js +0 -27
- package/dist/components/uikit/Svg/Icons/WhitepaperNew.js +0 -27
- package/dist/components/uikit/Svg/Icons/XNew.js +0 -27
- package/dist/components/uikit/Svg/Icons/YellowQuestionMark.js +0 -17
- package/dist/components/uikit/Svg/Icons/ZapArrow.js +0 -27
- package/dist/components/uikit/Svg/Icons/ZapIcon.js +0 -27
- package/dist/components/uikit/Svg/Icons/index.d.ts +0 -107
- package/dist/components/uikit/Svg/Icons/index.js +0 -109
- package/dist/components/uikit/Svg/Icons/polygonNew.js +0 -27
- package/dist/components/uikit/Svg/index.d.ts +0 -4
- package/dist/components/uikit/Svg/index.js +0 -341
- package/dist/components/uikit/Svg/styles.d.ts +0 -4
- package/dist/components/uikit/Svg/tokens/ABOND.js +0 -17
- package/dist/components/uikit/Svg/tokens/ARBITRUM.js +0 -17
- package/dist/components/uikit/Svg/tokens/AVAX.js +0 -17
- package/dist/components/uikit/Svg/tokens/BANANA.js +0 -17
- package/dist/components/uikit/Svg/tokens/BASE.js +0 -17
- package/dist/components/uikit/Svg/tokens/BNB.js +0 -17
- package/dist/components/uikit/Svg/tokens/BSC.js +0 -17
- package/dist/components/uikit/Svg/tokens/CELO.js +0 -16
- package/dist/components/uikit/Svg/tokens/CRONOS.js +0 -17
- package/dist/components/uikit/Svg/tokens/ETH.js +0 -17
- package/dist/components/uikit/Svg/tokens/FANTOM.js +0 -17
- package/dist/components/uikit/Svg/tokens/GNANA.js +0 -17
- package/dist/components/uikit/Svg/tokens/GNOSIS.js +0 -17
- package/dist/components/uikit/Svg/tokens/INEVM.js +0 -17
- package/dist/components/uikit/Svg/tokens/IOTA.js +0 -17
- package/dist/components/uikit/Svg/tokens/LIGHTLINK.js +0 -17
- package/dist/components/uikit/Svg/tokens/LINEA.js +0 -17
- package/dist/components/uikit/Svg/tokens/OKX.js +0 -16
- package/dist/components/uikit/Svg/tokens/OPTIMISM.js +0 -19
- package/dist/components/uikit/Svg/tokens/POLYGON.js +0 -17
- package/dist/components/uikit/Svg/tokens/POLYGONZK.js +0 -17
- package/dist/components/uikit/Svg/tokens/TLOS.js +0 -17
- package/dist/components/uikit/Svg/types.d.ts +0 -168
- package/dist/components/uikit/Svg/types.js +0 -162
- package/dist/components/uikit/Svg/walletIcons/BinanceChain.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/BinanceChain.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/Bitkeep.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/Bitkeep.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/Brave.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/Brave.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/Coinbase.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/Coinbase.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/MadWallet.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/MathWallet.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/MathWallet.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/Metamask.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/Metamask.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/Nabox.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/Nabox.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/OKX.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/OKX.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/OntoWallet.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/OntoWallet.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/SafePalWallet.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/SafePalWallet.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/SocialLogin.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/SocialLogin.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/TokenPocket.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/TokenPocket.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/TorusWallet.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/TorusWallet.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/TrustWallet.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/TrustWallet.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/Unstoppable.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/WalletConnect.d.ts +0 -4
- package/dist/components/uikit/Svg/walletIcons/WalletConnect.js +0 -17
- package/dist/components/uikit/Svg/walletIcons/WalletImage.js +0 -16
- package/dist/components/uikit/SwiperDots/index.d.ts +0 -6
- package/dist/components/uikit/SwiperDots/index.js +0 -14
- package/dist/components/uikit/Tabs/Tab.d.ts +0 -4
- package/dist/components/uikit/Tabs/Tab.js +0 -34
- package/dist/components/uikit/Tabs/TabPanel.d.ts +0 -4
- package/dist/components/uikit/Tabs/TabPanel.js +0 -29
- package/dist/components/uikit/Tabs/Tabs.d.ts +0 -4
- package/dist/components/uikit/Tabs/Tabs.js +0 -67
- package/dist/components/uikit/Tabs/index.d.ts +0 -2
- package/dist/components/uikit/Tabs/index.js +0 -2
- package/dist/components/uikit/Tabs/styles.d.ts +0 -3
- package/dist/components/uikit/Tabs/styles.js +0 -40
- package/dist/components/uikit/Tabs/types.d.ts +0 -54
- package/dist/components/uikit/Tabs/types.js +0 -22
- package/dist/components/uikit/Tag/ListTag.js +0 -20
- package/dist/components/uikit/Tag/styles.d.ts +0 -5
- package/dist/components/uikit/Tag/types.js +0 -34
- package/dist/components/uikit/Text/index.js +0 -35
- package/dist/components/uikit/Toggle/index.d.ts +0 -4
- package/dist/components/uikit/Toggle/index.js +0 -63
- package/dist/components/uikit/Toggle/styles.d.ts +0 -3
- package/dist/components/uikit/Toggle/styles.js +0 -39
- package/dist/components/uikit/Toggle/types.d.ts +0 -31
- package/dist/components/uikit/Toggle/types.js +0 -17
- package/dist/components/uikit/Tooltip/index.js +0 -66
- package/dist/components/uikit/Tooltip/styles.js +0 -60
- package/dist/components/uikit/TutorialModal/index.d.ts +0 -4
- package/dist/components/uikit/TutorialModal/index.js +0 -52
- package/dist/components/uikit/TutorialModal/styles.d.ts +0 -8
- package/dist/components/uikit/TutorialModal/styles.js +0 -86
- package/dist/components/uikit/TutorialModal/types.d.ts +0 -22
- package/dist/components/uikit/TutorialModal/useTutorialModal.d.ts +0 -6
- package/dist/components/uikit/TutorialModal/useTutorialModal.js +0 -20
- package/dist/components/uikit/index.d.ts +0 -18
- package/dist/components/uikit/index.js +0 -20
- package/dist/scss/bondmodal.scss +0 -92
- package/dist/scss/bonds.scss +0 -70
- package/dist/scss/bondsingle.scss +0 -70
- /package/dist/components/{uikit/Modal → MenuSelect}/types.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Button/Button.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Button/Button.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Button/IconButton.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Button/index.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Button/index.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Button/styles.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Button/styles.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Button/types.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Button/types.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Checkbox/types.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Checkbox/types.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Flex/index.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Input/NumericInput.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Input/StyledInput.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Input/index.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Input/index.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Modal/ModalFooter.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Modal/ModalHeader.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Modal/index.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Modal/styles.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Modal/styles.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Modal/types.d.ts +0 -0
- /package/dist/components/{uikit/TutorialModal → uikit-sdk/Modal}/types.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Select/Select.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Select/index.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Select/index.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Select/styles.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Select/styles.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Select/types.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Select/types.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Skeleton/index.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Skeleton/index.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Skeleton/styles.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Skeleton/types.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Skeleton/types.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/AbondFullLogo.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/AbondSmallLogo.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/AccountMonkey.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/ApebondLogo.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/ApeswapSmallLogo.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Arrow.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Audit.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/BananaIcon.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/BillsM1.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/BillsM2.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/BillsM3.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Bridge.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Bubble.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Calculator.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Calendar.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Cancelled.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Card.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Caret.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Chain.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Chart.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Chat.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Close.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Collapse.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Copy.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Discord.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/DiscordNew.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Docs.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/DocsV2.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Ellipse.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Error.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Expand.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Explorer.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/External.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Farm.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Fav.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/FilledURL.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Fire.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Frame.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/FullLogo.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Gnana.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Hamburger.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/HamburgerClosed.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Home.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Info.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/InfoSolid.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Insight.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Instagram.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Island.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Language.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Language.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/LanguageIcon.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/LineChart.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/LiquidityIcon.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Logout.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Medium.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/MenuSettings.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Message.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Migrate.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Moon.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/More.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/NFA.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/NavCaret.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Play.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Pool.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Positions.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/ProfileDark.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/ProfileIcon.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/ProfileIcon.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/ProfileLight.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Question.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/QuestionCircle.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/QuestionFill.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Quiz.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Receipt.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Reddit.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Rocket.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/ScrollTop.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Search.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Send.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Settings.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Share.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Success.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/SuccessOutline.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/SwapArrows.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Tag.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Telegram.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/TelegramNew.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/TextLogo.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/TickShield.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Trade.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Trash.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Twitter.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/URL.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Vaults.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Verified.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Wallet.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Warning.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Watch.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/Website.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/WebsiteNew.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/WhitepaperNew.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/XNew.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/YellowQuestionMark.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/ZapArrow.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/ZapIcon.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/polygonNew.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/types.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/Icons/types.js +0 -0
- /package/dist/components/{uikit/Dropdown → uikit-sdk/Svg}/styles.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/styles.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/ABOND.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/ARBITRUM.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/AVAX.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/BANANA.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/BASE.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/BNB.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/BSC.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/CELO.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/CRONOS.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/ETH.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/FANTOM.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/GNANA.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/GNOSIS.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/INEVM.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/IOTA.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/LIGHTLINK.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/LINEA.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/OKX.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/OPTIMISM.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/POLYGON.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/POLYGONZK.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/TLOS.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/index.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/tokens/index.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/walletIcons/MadWallet.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/walletIcons/Unstoppable.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/walletIcons/WalletImage.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/walletIcons/index.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Svg/walletIcons/index.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Tag/ListTag.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Tag/Tag.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Tag/Tag.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Tag/index.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Tag/index.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Tag/styles.js +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Tag/types.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Text/index.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Text/types.d.ts +0 -0
- /package/dist/components/{uikit → uikit-sdk}/Text/types.js +0 -0
- /package/dist/components/{uikit/Tooltip → uikit-sdk/TooltipBubble}/index.d.ts +0 -0
- /package/dist/components/{uikit/Tooltip → uikit-sdk/TooltipBubble}/styles.d.ts +0 -0
- /package/dist/components/{uikit/Tooltip → uikit-sdk/TooltipBubble}/types.d.ts +0 -0
- /package/dist/components/{uikit/Tooltip → uikit-sdk/TooltipBubble}/types.js +0 -0
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
23
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
import billAbi from '../../config/abi/bond.json';
|
|
49
|
+
import BigNumber from 'bignumber.js';
|
|
50
|
+
import { getBillNftBatchData } from './getBillNftData';
|
|
51
|
+
import multicall from '../../utils/multicall';
|
|
52
|
+
import { BillVersion } from '../../enum/apeswaplists';
|
|
53
|
+
import { ACF_TO_ABOND } from '../../config/constants/addresses';
|
|
54
|
+
/**
|
|
55
|
+
* Fetches user-owned bill NFT data for a given set of owned bills data, chain ID, and bills.
|
|
56
|
+
* @param ownedBillsData An array of objects containing the ID, bill NFT address, and contract address of the owned bills.
|
|
57
|
+
* @param chainId The ID of the blockchain network.
|
|
58
|
+
* @param bills An array of objects containing the contract address and user-owned bill NFT data.
|
|
59
|
+
* @returns An array of objects containing the ID and data of the user-owned bill NFTs.
|
|
60
|
+
*/
|
|
61
|
+
export var fetchUserOwnedBillNftData = function (ownedBillsData, chainId, bills) { return __awaiter(void 0, void 0, void 0, function () {
|
|
62
|
+
var billsToFetch, billsFetched, groupedBillsToFetch, groupedBillsToFetchArray, billNftData, billNftDataFlat, result;
|
|
63
|
+
return __generator(this, function (_a) {
|
|
64
|
+
switch (_a.label) {
|
|
65
|
+
case 0:
|
|
66
|
+
billsToFetch = [];
|
|
67
|
+
billsFetched = [];
|
|
68
|
+
// Loop through each owned bill and check if it exists in the bills array
|
|
69
|
+
ownedBillsData === null || ownedBillsData === void 0 ? void 0 : ownedBillsData.forEach(function (_a) {
|
|
70
|
+
var id = _a.id, billNftAddress = _a.billNftAddress, contractAddress = _a.contractAddress;
|
|
71
|
+
var bill = bills
|
|
72
|
+
.find(function (b) { return b.billAddress[chainId] === contractAddress; });
|
|
73
|
+
// ?.userOwnedBillsNftData?.find((u) => +u.tokenId === +id)
|
|
74
|
+
// If the bill exists in the bills array, add it to the billsFetched array
|
|
75
|
+
if (bill) {
|
|
76
|
+
billsFetched.push({ id: id, data: bill });
|
|
77
|
+
}
|
|
78
|
+
// If the bill doesn't exist in the bills array, add it to the billsToFetch array
|
|
79
|
+
billsToFetch.push({ id: id, billNftAddress: billNftAddress, chainId: chainId });
|
|
80
|
+
});
|
|
81
|
+
groupedBillsToFetch = billsToFetch === null || billsToFetch === void 0 ? void 0 : billsToFetch.reduce(function (acc, bill) {
|
|
82
|
+
var key = "".concat(bill === null || bill === void 0 ? void 0 : bill.billNftAddress, "-").concat(bill === null || bill === void 0 ? void 0 : bill.chainId);
|
|
83
|
+
if (!acc[key]) {
|
|
84
|
+
acc[key] = {
|
|
85
|
+
billNftAddress: bill === null || bill === void 0 ? void 0 : bill.billNftAddress,
|
|
86
|
+
chainId: bill === null || bill === void 0 ? void 0 : bill.chainId,
|
|
87
|
+
ids: [],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
acc[key].ids.push(bill === null || bill === void 0 ? void 0 : bill.id);
|
|
91
|
+
return acc;
|
|
92
|
+
}, {});
|
|
93
|
+
groupedBillsToFetchArray = Object.values(groupedBillsToFetch);
|
|
94
|
+
return [4 /*yield*/, Promise.all(groupedBillsToFetchArray.map(function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
95
|
+
var billNftAddress = _b.billNftAddress, chainId = _b.chainId, ids = _b.ids;
|
|
96
|
+
return __generator(this, function (_c) {
|
|
97
|
+
return [2 /*return*/, getBillNftBatchData(ids, billNftAddress, chainId)];
|
|
98
|
+
});
|
|
99
|
+
}); }))
|
|
100
|
+
// Flatten the resulting array of arrays into a single array
|
|
101
|
+
];
|
|
102
|
+
case 1:
|
|
103
|
+
billNftData = _a.sent();
|
|
104
|
+
billNftDataFlat = billNftData.flat();
|
|
105
|
+
result = billsFetched.concat(billNftDataFlat.map(function (data) { return ({ id: data.tokenId, data: data }); }));
|
|
106
|
+
return [2 /*return*/, result];
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
}); };
|
|
110
|
+
/* MODIFIED FUNCTION FROM FRONTEND SPECIFICALLY FOR THE SDK */
|
|
111
|
+
export var fetchUserOwnedBillsDataAsync = function (chainId, account, bondData) { return __awaiter(void 0, void 0, void 0, function () {
|
|
112
|
+
var bonds, userOwnedBills_1, mapUserOwnedBills_1, userOwnedBillsData, ownedBillsData, userBillNftData_1, combinedData, error_1;
|
|
113
|
+
return __generator(this, function (_a) {
|
|
114
|
+
switch (_a.label) {
|
|
115
|
+
case 0:
|
|
116
|
+
_a.trys.push([0, 3, , 4]);
|
|
117
|
+
bonds = bondData.filter(function (bond) {
|
|
118
|
+
return bond.billVersion !== BillVersion.FixedPrice &&
|
|
119
|
+
(bond === null || bond === void 0 ? void 0 : bond.chainId) === chainId &&
|
|
120
|
+
bond.type !== 'migration' &&
|
|
121
|
+
bond.billAddress.toLowerCase() !== ACF_TO_ABOND.toLowerCase();
|
|
122
|
+
});
|
|
123
|
+
return [4 /*yield*/, fetchUserOwnedBills(chainId, account, bonds)];
|
|
124
|
+
case 1:
|
|
125
|
+
userOwnedBills_1 = _a.sent();
|
|
126
|
+
mapUserOwnedBills_1 = bonds.map(function (bill) {
|
|
127
|
+
return userOwnedBills_1.filter(function (b) { return b.address.toLowerCase() === bill.billAddress.toLowerCase(); });
|
|
128
|
+
});
|
|
129
|
+
userOwnedBillsData = bonds.map(function (bill, i) { return ({
|
|
130
|
+
index: bill.index,
|
|
131
|
+
userOwnedBills: mapUserOwnedBills_1[i],
|
|
132
|
+
}); });
|
|
133
|
+
ownedBillsData = mapUserOwnedBills_1.flatMap(function (bs) {
|
|
134
|
+
return bs.map(function (b) {
|
|
135
|
+
return { id: b.id, billNftAddress: b.billNftAddress, contractAddress: b.address };
|
|
136
|
+
});
|
|
137
|
+
});
|
|
138
|
+
return [4 /*yield*/, fetchUserOwnedBillNftData(ownedBillsData, chainId, bonds)
|
|
139
|
+
// Merge userBillNftData into userOwnedBillsData
|
|
140
|
+
];
|
|
141
|
+
case 2:
|
|
142
|
+
userBillNftData_1 = _a.sent();
|
|
143
|
+
combinedData = userOwnedBillsData.map(function (data) {
|
|
144
|
+
var enrichedUserBills = data.userOwnedBills.map(function (bill) {
|
|
145
|
+
var nftData = userBillNftData_1.find(function (nft) { return nft.id === parseInt(bill.id); });
|
|
146
|
+
return __assign(__assign({}, bill), { nftData: nftData ? nftData : undefined });
|
|
147
|
+
});
|
|
148
|
+
return __assign(__assign({}, data), { userOwnedBills: enrichedUserBills });
|
|
149
|
+
});
|
|
150
|
+
return [2 /*return*/, Promise.resolve(combinedData)];
|
|
151
|
+
case 3:
|
|
152
|
+
error_1 = _a.sent();
|
|
153
|
+
console.error('Error fetching user owned bills data:', error_1);
|
|
154
|
+
return [2 /*return*/, Promise.reject(error_1)];
|
|
155
|
+
case 4: return [2 /*return*/];
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}); };
|
|
159
|
+
/* MODIFIED FUNCTION FROM FRONTEND SPECIFICALLY FOR THE SDK */
|
|
160
|
+
export var fetchUserOwnedBills = function (chainId, account, bonds) { return __awaiter(void 0, void 0, void 0, function () {
|
|
161
|
+
var billIdCalls, billIds, billsPendingRewardCall, billDataCalls, billVersions, billData, pendingRewardsCall, result, i, billDataPos, data;
|
|
162
|
+
var _a, _b, _c, _d, _e;
|
|
163
|
+
return __generator(this, function (_f) {
|
|
164
|
+
switch (_f.label) {
|
|
165
|
+
case 0:
|
|
166
|
+
billIdCalls = bonds.map(function (b) { return ({
|
|
167
|
+
address: b.billAddress,
|
|
168
|
+
name: 'getBillIds',
|
|
169
|
+
params: [account],
|
|
170
|
+
}); });
|
|
171
|
+
return [4 /*yield*/, multicall(chainId, billAbi, billIdCalls, true, 15)];
|
|
172
|
+
case 1:
|
|
173
|
+
billIds = _f.sent();
|
|
174
|
+
billsPendingRewardCall = [];
|
|
175
|
+
billDataCalls = [];
|
|
176
|
+
billVersions = [];
|
|
177
|
+
billIds.forEach(function (idArray, index) {
|
|
178
|
+
return idArray[0].forEach(function (id) {
|
|
179
|
+
return id.gt(0) &&
|
|
180
|
+
(billDataCalls.push({
|
|
181
|
+
address: bonds[index].billAddress,
|
|
182
|
+
name: bonds[index].billVersion !== BillVersion.V1 ? 'getBillInfo' : 'billInfo',
|
|
183
|
+
params: [id],
|
|
184
|
+
bond: bonds[index]
|
|
185
|
+
}),
|
|
186
|
+
billDataCalls.push({ address: bonds[index].billAddress, name: 'billNft' }),
|
|
187
|
+
billsPendingRewardCall.push({
|
|
188
|
+
address: bonds[index].billAddress,
|
|
189
|
+
name: bonds[index].billVersion !== BillVersion.V1 ? 'claimablePayout' : 'pendingPayoutFor',
|
|
190
|
+
params: [id],
|
|
191
|
+
bond: bonds[index]
|
|
192
|
+
}),
|
|
193
|
+
billVersions.push(bonds[index].billVersion));
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
return [4 /*yield*/, multicall(chainId, billAbi, billDataCalls, true, 150)];
|
|
197
|
+
case 2:
|
|
198
|
+
billData = _f.sent();
|
|
199
|
+
return [4 /*yield*/, multicall(chainId, billAbi, billsPendingRewardCall)];
|
|
200
|
+
case 3:
|
|
201
|
+
pendingRewardsCall = _f.sent();
|
|
202
|
+
result = [];
|
|
203
|
+
for (i = 0; i < billsPendingRewardCall.length; i++) {
|
|
204
|
+
billDataPos = i === 0 ? 0 : i * 2;
|
|
205
|
+
data = billVersions[i] !== BillVersion.V1
|
|
206
|
+
? {
|
|
207
|
+
address: billsPendingRewardCall[i].address,
|
|
208
|
+
id: billsPendingRewardCall[i].params[0].toString(),
|
|
209
|
+
payout: new BigNumber((_a = billData[billDataPos][0]) === null || _a === void 0 ? void 0 : _a.payout.toString())
|
|
210
|
+
.minus((_b = billData[billDataPos][0]) === null || _b === void 0 ? void 0 : _b.payoutClaimed.toString())
|
|
211
|
+
.toString(),
|
|
212
|
+
billNftAddress: billData[billDataPos + 1][0].toString(),
|
|
213
|
+
vesting: (_c = billData[billDataPos][0]) === null || _c === void 0 ? void 0 : _c.vesting.toString(),
|
|
214
|
+
lastBlockTimestamp: (_d = billData[billDataPos][0]) === null || _d === void 0 ? void 0 : _d.lastClaimTimestamp.toString(),
|
|
215
|
+
truePricePaid: (_e = billData[billDataPos][0]) === null || _e === void 0 ? void 0 : _e.truePricePaid.toString(),
|
|
216
|
+
pendingRewards: pendingRewardsCall[i][0].toString(),
|
|
217
|
+
bond: billsPendingRewardCall[i].bond
|
|
218
|
+
}
|
|
219
|
+
: {
|
|
220
|
+
address: billsPendingRewardCall[i].address,
|
|
221
|
+
id: billsPendingRewardCall[i].params[0].toString(),
|
|
222
|
+
payout: billData[billDataPos][0].toString(),
|
|
223
|
+
billNftAddress: billData[billDataPos + 1][0].toString(),
|
|
224
|
+
vesting: billData[billDataPos][1].toString(),
|
|
225
|
+
lastBlockTimestamp: billData[billDataPos][2].toString(),
|
|
226
|
+
truePricePaid: billData[billDataPos][3].toString(),
|
|
227
|
+
pendingRewards: pendingRewardsCall[i][0].toString(),
|
|
228
|
+
bond: billsPendingRewardCall[i].bond
|
|
229
|
+
};
|
|
230
|
+
result.push(data);
|
|
231
|
+
}
|
|
232
|
+
return [2 /*return*/, result];
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
}); };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const getBillNftData: (billNftId: string, billNftAddress: string, chainId: number) => Promise<any>;
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves batch data for a list of bill NFT IDs from the API.
|
|
4
|
+
* @param billNftIds - An array of bill NFT IDs to retrieve data for.
|
|
5
|
+
* @param billNftAddress - The address of the bill NFT contract.
|
|
6
|
+
* @param chainId - The ID of the blockchain network to retrieve data from.
|
|
7
|
+
* @returns A Promise that resolves to the batch data for the specified bill NFT IDs, or null if an error occurs.
|
|
8
|
+
*/
|
|
9
|
+
export declare const getBillNftBatchData: (billNftIds: string[], billNftAddress: string, chainId: number) => Promise<any>;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
12
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
+
function step(op) {
|
|
15
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
+
switch (op[0]) {
|
|
20
|
+
case 0: case 1: t = op; break;
|
|
21
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
+
default:
|
|
25
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
+
if (t[2]) _.ops.pop();
|
|
30
|
+
_.trys.pop(); continue;
|
|
31
|
+
}
|
|
32
|
+
op = body.call(thisArg, _);
|
|
33
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
import axiosRetry from 'axios-retry';
|
|
38
|
+
import axios from 'axios';
|
|
39
|
+
import { apiV2BaseUrl } from '../../config/constants/api';
|
|
40
|
+
export var getBillNftData = function (billNftId, billNftAddress, chainId) { return __awaiter(void 0, void 0, void 0, function () {
|
|
41
|
+
var response, billNftDataResp, error_1;
|
|
42
|
+
return __generator(this, function (_a) {
|
|
43
|
+
switch (_a.label) {
|
|
44
|
+
case 0:
|
|
45
|
+
_a.trys.push([0, 3, , 4]);
|
|
46
|
+
axiosRetry(axios, {
|
|
47
|
+
retries: 5,
|
|
48
|
+
retryCondition: function () { return true; },
|
|
49
|
+
});
|
|
50
|
+
return [4 /*yield*/, axios.get("".concat(apiV2BaseUrl, "/bills/single/").concat(chainId, "/").concat(billNftAddress, "/").concat(billNftId))];
|
|
51
|
+
case 1:
|
|
52
|
+
response = _a.sent();
|
|
53
|
+
return [4 /*yield*/, response.data];
|
|
54
|
+
case 2:
|
|
55
|
+
billNftDataResp = _a.sent();
|
|
56
|
+
if (billNftDataResp.statusCode === 500) {
|
|
57
|
+
return [2 /*return*/, null];
|
|
58
|
+
}
|
|
59
|
+
return [2 /*return*/, billNftDataResp];
|
|
60
|
+
case 3:
|
|
61
|
+
error_1 = _a.sent();
|
|
62
|
+
return [2 /*return*/, null];
|
|
63
|
+
case 4: return [2 /*return*/];
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}); };
|
|
67
|
+
/**
|
|
68
|
+
* Retrieves batch data for a list of bill NFT IDs from the API.
|
|
69
|
+
* @param billNftIds - An array of bill NFT IDs to retrieve data for.
|
|
70
|
+
* @param billNftAddress - The address of the bill NFT contract.
|
|
71
|
+
* @param chainId - The ID of the blockchain network to retrieve data from.
|
|
72
|
+
* @returns A Promise that resolves to the batch data for the specified bill NFT IDs, or null if an error occurs.
|
|
73
|
+
*/
|
|
74
|
+
export var getBillNftBatchData = function (billNftIds, billNftAddress, chainId) { return __awaiter(void 0, void 0, void 0, function () {
|
|
75
|
+
var response, billNftDataResp, error_2;
|
|
76
|
+
return __generator(this, function (_a) {
|
|
77
|
+
switch (_a.label) {
|
|
78
|
+
case 0:
|
|
79
|
+
_a.trys.push([0, 3, , 4]);
|
|
80
|
+
// Retry the request up to 5 times if it fails
|
|
81
|
+
axiosRetry(axios, {
|
|
82
|
+
retries: 5,
|
|
83
|
+
retryCondition: function () { return true; },
|
|
84
|
+
});
|
|
85
|
+
// If no bill NFT IDs are provided, return null
|
|
86
|
+
if (!billNftIds || billNftIds.length === 0) {
|
|
87
|
+
return [2 /*return*/, null];
|
|
88
|
+
}
|
|
89
|
+
return [4 /*yield*/, axios.get("".concat(apiV2BaseUrl, "/bills/batch/").concat(chainId, "/").concat(billNftAddress, "/?billIds[]=").concat(billNftIds.join('&billIds[]=')))
|
|
90
|
+
// If the response status code is 500, return null
|
|
91
|
+
];
|
|
92
|
+
case 1:
|
|
93
|
+
response = _a.sent();
|
|
94
|
+
return [4 /*yield*/, response.data];
|
|
95
|
+
case 2:
|
|
96
|
+
billNftDataResp = _a.sent();
|
|
97
|
+
if (billNftDataResp.statusCode === 500) {
|
|
98
|
+
return [2 /*return*/, null];
|
|
99
|
+
}
|
|
100
|
+
// Return the batch data for the specified bill NFT IDs
|
|
101
|
+
return [2 /*return*/, billNftDataResp];
|
|
102
|
+
case 3:
|
|
103
|
+
error_2 = _a.sent();
|
|
104
|
+
// If an error occurs, return null
|
|
105
|
+
return [2 /*return*/, null];
|
|
106
|
+
case 4: return [2 /*return*/];
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
}); };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** @jsxImportSource theme-ui */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { UserBill } from '../../types/yourbonds';
|
|
4
|
+
import '../../scss/YourBondsModal.scss';
|
|
5
|
+
declare const YourBondsModal: ({ isOpen, onClose, userBill }: {
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
userBill: UserBill | undefined;
|
|
9
|
+
}) => React.JSX.Element | null;
|
|
10
|
+
export default YourBondsModal;
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
12
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
+
function step(op) {
|
|
15
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
+
switch (op[0]) {
|
|
20
|
+
case 0: case 1: t = op; break;
|
|
21
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
+
default:
|
|
25
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
+
if (t[2]) _.ops.pop();
|
|
30
|
+
_.trys.pop(); continue;
|
|
31
|
+
}
|
|
32
|
+
op = body.call(thisArg, _);
|
|
33
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "theme-ui/jsx-runtime";
|
|
38
|
+
/** @jsxImportSource theme-ui */
|
|
39
|
+
import React, { useEffect, useState } from 'react';
|
|
40
|
+
import { Flex, Spinner } from 'theme-ui';
|
|
41
|
+
import { BigNumber } from 'bignumber.js';
|
|
42
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
|
43
|
+
import { NETWORK_ICONS, NETWORK_LABEL } from '../../config/constants/chains';
|
|
44
|
+
import { getBalanceNumber } from '../../utils/getBalanceNumber';
|
|
45
|
+
import { getFirstNonZeroDigits } from '../../utils/roundNumber';
|
|
46
|
+
import TokenImage from '../../components/uikit-sdk/TokenImage';
|
|
47
|
+
import { Button, ListTag, Skeleton, Svg, Text, TooltipBubble } from '../../components/uikit-sdk';
|
|
48
|
+
import { UserBillTooltipText } from '../../enum/tooltips';
|
|
49
|
+
import { getPendingVesting } from '../../hooks/usePendingVesting';
|
|
50
|
+
import { formatNumberSI } from '../../utils/formatNumber';
|
|
51
|
+
import { StyledHeadingText, TraitsContentContainer } from './styles';
|
|
52
|
+
import '../../scss/YourBondsModal.scss';
|
|
53
|
+
import { useChainId, useSwitchChain, useWaitForTransactionReceipt, useWriteContract } from 'wagmi';
|
|
54
|
+
import BOND_ABI from '../../config/abi/bond.json';
|
|
55
|
+
var YourBondsModal = function (_a) {
|
|
56
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
57
|
+
var isOpen = _a.isOpen, onClose = _a.onClose, userBill = _a.userBill;
|
|
58
|
+
if (!isOpen)
|
|
59
|
+
return null;
|
|
60
|
+
var chainId = useChainId();
|
|
61
|
+
var _r = useSwitchChain(), chains = _r.chains, switchChain = _r.switchChain;
|
|
62
|
+
var _s = useWriteContract(), hash = _s.data, isPending = _s.isPending, writeContract = _s.writeContract, writeContractAsync = _s.writeContractAsync;
|
|
63
|
+
var _t = useWaitForTransactionReceipt({
|
|
64
|
+
confirmations: 4,
|
|
65
|
+
chainId: userBill === null || userBill === void 0 ? void 0 : userBill.bond.chainId,
|
|
66
|
+
hash: hash,
|
|
67
|
+
}), isConfirming = _t.isLoading, isConfirmed = _t.isSuccess;
|
|
68
|
+
var _u = useState(null), claimTx = _u[0], setClaimTx = _u[1];
|
|
69
|
+
var _v = useState(null), toastMessage = _v[0], setToastMessage = _v[1];
|
|
70
|
+
var handleClaim = function (billId, billAddress) { return __awaiter(void 0, void 0, void 0, function () {
|
|
71
|
+
var address, tx, error_1;
|
|
72
|
+
return __generator(this, function (_a) {
|
|
73
|
+
switch (_a.label) {
|
|
74
|
+
case 0:
|
|
75
|
+
address = billAddress;
|
|
76
|
+
_a.label = 1;
|
|
77
|
+
case 1:
|
|
78
|
+
_a.trys.push([1, 3, , 4]);
|
|
79
|
+
return [4 /*yield*/, writeContractAsync({
|
|
80
|
+
address: address,
|
|
81
|
+
abi: BOND_ABI,
|
|
82
|
+
functionName: 'redeem',
|
|
83
|
+
args: [billId],
|
|
84
|
+
})];
|
|
85
|
+
case 2:
|
|
86
|
+
tx = _a.sent();
|
|
87
|
+
if (tx) {
|
|
88
|
+
setClaimTx(tx);
|
|
89
|
+
}
|
|
90
|
+
return [3 /*break*/, 4];
|
|
91
|
+
case 3:
|
|
92
|
+
error_1 = _a.sent();
|
|
93
|
+
console.error('Approval failed:', error_1);
|
|
94
|
+
return [3 /*break*/, 4];
|
|
95
|
+
case 4: return [2 /*return*/];
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
}); };
|
|
99
|
+
// Confirmation message
|
|
100
|
+
useEffect(function () {
|
|
101
|
+
if (isConfirmed) {
|
|
102
|
+
setToastMessage("Transaction Complete.");
|
|
103
|
+
setTimeout(function () { return setToastMessage(null); }, 10000);
|
|
104
|
+
}
|
|
105
|
+
}, [claimTx, isConfirmed]);
|
|
106
|
+
// Functions to calculate display values for modal
|
|
107
|
+
var totalPending = function (userBill) {
|
|
108
|
+
var _a, _b, _c, _d;
|
|
109
|
+
return getBalanceNumber(new BigNumber((_a = userBill === null || userBill === void 0 ? void 0 : userBill.payout) !== null && _a !== void 0 ? _a : 0), (_d = (_c = (_b = userBill.bond.earnToken) === null || _b === void 0 ? void 0 : _b.decimals) === null || _c === void 0 ? void 0 : _c[chainId]) !== null && _d !== void 0 ? _d : 18);
|
|
110
|
+
};
|
|
111
|
+
var claimable = function (userBill) {
|
|
112
|
+
var _a, _b, _c;
|
|
113
|
+
return getBalanceNumber(new BigNumber(userBill.pendingRewards), (_c = (_b = (_a = userBill.bond.earnToken) === null || _a === void 0 ? void 0 : _a.decimals) === null || _b === void 0 ? void 0 : _b[chainId]) !== null && _c !== void 0 ? _c : 18);
|
|
114
|
+
};
|
|
115
|
+
var earnTokenPrice = function (bond) {
|
|
116
|
+
var _a;
|
|
117
|
+
return getFirstNonZeroDigits(parseFloat((_a = bond === null || bond === void 0 ? void 0 : bond.payoutTokenPrice) !== null && _a !== void 0 ? _a : '0'));
|
|
118
|
+
};
|
|
119
|
+
var BILL_ATTRIBUTES = ['The Legend', 'The Location', 'The Moment', 'The Trend', 'The Innovation'];
|
|
120
|
+
var _w = useState(false), isOpenTraits = _w[0], setIsOpenTraits = _w[1];
|
|
121
|
+
var attributes = (_c = (_b = userBill.nftData) === null || _b === void 0 ? void 0 : _b.data.attributes) === null || _c === void 0 ? void 0 : _c.filter(function (attrib) { return BILL_ATTRIBUTES.includes(attrib.trait_type); });
|
|
122
|
+
var _x = useState(false), isImageLoaded = _x[0], setIsImageLoaded = _x[1];
|
|
123
|
+
var _y = useState(null), imageSrc = _y[0], setImageSrc = _y[1];
|
|
124
|
+
useEffect(function () {
|
|
125
|
+
var loadImage = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
126
|
+
var image_1, error_2;
|
|
127
|
+
var _a;
|
|
128
|
+
return __generator(this, function (_b) {
|
|
129
|
+
switch (_b.label) {
|
|
130
|
+
case 0:
|
|
131
|
+
_b.trys.push([0, 2, , 3]);
|
|
132
|
+
image_1 = new Image();
|
|
133
|
+
image_1.src = (_a = userBill.nftData) === null || _a === void 0 ? void 0 : _a.data.image;
|
|
134
|
+
return [4 /*yield*/, new Promise(function (resolve, reject) {
|
|
135
|
+
image_1.onload = resolve;
|
|
136
|
+
image_1.onerror = reject;
|
|
137
|
+
})];
|
|
138
|
+
case 1:
|
|
139
|
+
_b.sent();
|
|
140
|
+
setImageSrc(image_1.src);
|
|
141
|
+
setIsImageLoaded(true);
|
|
142
|
+
return [3 /*break*/, 3];
|
|
143
|
+
case 2:
|
|
144
|
+
error_2 = _b.sent();
|
|
145
|
+
console.error('Error loading image:', error_2);
|
|
146
|
+
setIsImageLoaded(false);
|
|
147
|
+
return [3 /*break*/, 3];
|
|
148
|
+
case 3: return [2 /*return*/];
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}); };
|
|
152
|
+
loadImage();
|
|
153
|
+
}, [userBill]);
|
|
154
|
+
return (_jsx(_Fragment, { children: _jsx(React.Fragment, { children: _jsx(Flex, { className: "yourbondsmodal-backdrop", onClick: onClose, children: !isImageLoaded ? (_jsxs(Flex, { className: "yourbondsmodal-spinner", children: [" ", _jsx(Spinner, { size: 100 }), " "] }))
|
|
155
|
+
: (_jsxs(Flex, { className: "yourbondsmodal-content", onClick: function (event) { return event.stopPropagation(); }, children: [toastMessage && (_jsx(Flex, { className: "toast", children: toastMessage })), _jsx(Flex, { className: "yourbondsmodal-header", children: _jsx(Flex, { className: "svg-close", onClick: onClose, children: _jsx(Svg, { icon: "close" }) }) }), _jsxs(Flex, { className: "yourbondsmodal table-container", children: [_jsx(Flex, { className: "yourbondsmodal bondimage", children: _jsx("img", { src: imageSrc, style: { display: isImageLoaded ? "block" : "none" } }) }), _jsxs(Flex, { className: "yourbondsmodal yourbondinfo", children: [_jsxs(Flex, { className: "yourbondinfo title-container", children: [_jsx(Flex, { className: "title-container bondicon", children: _jsxs("div", { className: "icon-container", children: [_jsx(Svg, { width: 18, height: 18, icon: (_d = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[userBill.bond.chainId]) !== null && _d !== void 0 ? _d : 'question' }), _jsx(TokenImage, { symbol: (_e = userBill.bond.showcaseTokenName) !== null && _e !== void 0 ? _e : userBill.bond.earnToken.symbol, size: 40 })] }) }), _jsx(Flex, { className: "title-container tokenname", children: _jsx(StyledHeadingText, { children: (_f = userBill.bond) === null || _f === void 0 ? void 0 : _f.showcaseTokenName }) }), _jsx(Flex, { className: "title-container tokentags", children: (_g = userBill.bond.tags) === null || _g === void 0 ? void 0 : _g.slice(0, 1).map(function (tag) {
|
|
156
|
+
return (_jsx(Flex, { sx: { marginRight: '10px' }, children: _jsx(ListTag, { variant: tag === 'Cex Fund' ? 'cex_fund' : 'liquidity', text: tag === null || tag === void 0 ? void 0 : tag.toUpperCase() }) }, tag));
|
|
157
|
+
}) }), _jsxs(Text, { sx: { color: 'text', opacity: '0.6', fontSize: ['12px', '12px', '12px', '16px'] }, children: ["#", userBill.id] })] }), _jsxs(Flex, { className: "yourbondinfo blocks-container", children: [_jsxs(Flex, { className: "attributes-container", children: [_jsxs(Flex, { className: "attributes-header", sx: { borderRadius: "".concat(isOpenTraits ? '6px 6px 0px 0px' : 'normal'),
|
|
158
|
+
display: ['none', 'none', 'none', 'flex'] }, onClick: function () { return setIsOpenTraits(!isOpenTraits); }, children: [_jsxs(Flex, { sx: { gap: '10px', alignItems: 'center' }, children: [_jsx(Svg, { icon: "tag", direction: "down" }), _jsx(Text, { sx: { fontSize: '12px', fontWeight: 400, color: 'text', opacity: '0.6' }, children: "Traits" })] }), _jsx(Svg, { icon: "caret", direction: isOpenTraits ? 'up' : 'down' })] }), _jsx(AnimatePresence, { children: isOpenTraits && (_jsx(motion.div, { initial: { height: 0 }, animate: { height: 'fit-content' }, transition: { opacity: { duration: 0.2 } }, exit: { height: 0 }, sx: { overflow: 'hidden', width: '100%' }, children: _jsx(Flex, { sx: { flexDirection: 'column', gap: '1px' }, children: attributes
|
|
159
|
+
? attributes.map(function (a) { return (_jsxs(TraitsContentContainer, { children: [_jsx(Text, { sx: { fontSize: '10px', fontWeight: 500 }, children: a === null || a === void 0 ? void 0 : a.trait_type }), _jsx(Text, { sx: { fontSize: '10px', fontWeight: 500 }, children: a === null || a === void 0 ? void 0 : a.value })] }, a.value)); })
|
|
160
|
+
: BILL_ATTRIBUTES.map(function (attrib) {
|
|
161
|
+
return (_jsxs(TraitsContentContainer, { children: [_jsx(Text, { sx: { fontSize: '10px', fontWeight: 500 }, children: attrib }), _jsx(Skeleton, { width: "150px" })] }, attrib));
|
|
162
|
+
}) }) })) })] }), _jsxs(Flex, { className: "yourbondinfo-block row-vested", children: [_jsxs(Flex, { className: "yourbondinfo-block header", children: [_jsx(Flex, { className: "yourbondinfo-block header-title", children: "Fully Vested" }), _jsx(Flex, { className: "yourbondinfo-block header-tooltip", children: _jsx(TooltipBubble, { className: "tooltip-bubble", body: _jsx(Flex, { children: UserBillTooltipText.FullyVested }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) }) })] }), _jsxs(Flex, { className: "yourbondinfo-block info", children: [_jsx(Flex, { className: "block-info icon" }), _jsx(Flex, { className: "block-info text", children: _jsx(Text, { sx: { fontSize: ['12px', '12px', '12px', '19px'], fontWeight: 700 }, children: getPendingVesting((_h = userBill.lastBlockTimestamp) !== null && _h !== void 0 ? _h : '', (_j = userBill.vesting) !== null && _j !== void 0 ? _j : '') }) })] })] }), _jsxs(Flex, { className: "yourbondinfo-block row-pending", children: [_jsxs(Flex, { className: "yourbondinfo-block header", children: [_jsx(Flex, { className: "yourbondinfo-block header-title", children: "Pending" }), _jsx(Flex, { className: "yourbondinfo-block header-tooltip", children: _jsx(TooltipBubble, { className: "tooltip-bubble", body: _jsx(Flex, { children: UserBillTooltipText.Pending }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) }) })] }), _jsxs(Flex, { className: "yourbondinfo-block info", children: [_jsx(Flex, { className: "block-info icon", children: _jsxs("div", { className: "icon-container-small", children: [_jsx(Svg, { width: 10, height: 10, icon: (_k = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[userBill.bond.chainId]) !== null && _k !== void 0 ? _k : 'question' }), _jsx(TokenImage, { symbol: (_l = userBill.bond.showcaseTokenName) !== null && _l !== void 0 ? _l : userBill.bond.earnToken.symbol, size: 25 })] }) }), _jsxs(Flex, { className: "block-info text", children: [_jsx(Text, { sx: { fontSize: ['12px', '12px', '12px', '19px'], fontWeight: 700 }, children: formatNumberSI(parseFloat(totalPending(userBill).toFixed(4)), 4) }), _jsx(Text, { sx: { fontSize: ['10px', '10px', '10px', '12px'], fontWeight: [500, 500, 500, 400], paddingLeft: '10px' }, children: "($".concat((totalPending(userBill) * ((_m = parseFloat(earnTokenPrice(userBill.bond))) !== null && _m !== void 0 ? _m : 0)).toFixed(2), ")") })] })] })] }), _jsxs(Flex, { className: "yourbondinfo-block row-claimable", children: [_jsxs(Flex, { className: "yourbondinfo-block header", children: [_jsx(Flex, { className: "yourbondinfo-block header-title", children: "Claimable" }), _jsx(Flex, { className: "yourbondinfo-block header-tooltip", children: _jsx(TooltipBubble, { className: "tooltip-bubble", body: _jsx(Flex, { children: UserBillTooltipText.Claimable }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) }) })] }), _jsxs(Flex, { className: "yourbondinfo-block info", children: [_jsx(Flex, { className: "block-info icon", children: _jsxs("div", { className: "icon-container-small", children: [_jsx(Svg, { width: 10, height: 10, icon: (_o = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[userBill.bond.chainId]) !== null && _o !== void 0 ? _o : 'question' }), _jsx(TokenImage, { symbol: (_p = userBill.bond.showcaseTokenName) !== null && _p !== void 0 ? _p : userBill.bond.earnToken.symbol, size: 25 })] }) }), _jsxs(Flex, { className: "block-info text", children: [_jsx(Text, { sx: { fontSize: ['12px', '12px', '12px', '19px'], fontWeight: 700 }, children: formatNumberSI(parseFloat(claimable(userBill).toFixed(4)), 4) }), _jsx(Text, { sx: { fontSize: ['10px', '10px', '10px', '12px'], fontWeight: [500, 500, 500, 400], paddingLeft: '10px' }, children: "($".concat((claimable(userBill) * ((_q = parseFloat(earnTokenPrice(userBill.bond))) !== null && _q !== void 0 ? _q : 0)).toFixed(2), ")") })] })] })] })] }), _jsxs(Flex, { className: "yourbondinfo button-container", children: [_jsx(Flex, { className: "button-container claim", children: chainId !== (userBill === null || userBill === void 0 ? void 0 : userBill.bond.chainId) ?
|
|
163
|
+
_jsxs(Button, { className: "switch-button", disabled: claimable(userBill) === 0 || isPending, onClick: function (event) {
|
|
164
|
+
event.stopPropagation();
|
|
165
|
+
switchChain({ chainId: userBill.bond.chainId });
|
|
166
|
+
}, children: ["Switch to ", NETWORK_LABEL[userBill.bond.chainId]] })
|
|
167
|
+
:
|
|
168
|
+
_jsx(Button, { className: "claim-button", disabled: claimable(userBill) === 0 || isPending, onClick: function (event) {
|
|
169
|
+
event.stopPropagation();
|
|
170
|
+
handleClaim(userBill.id, userBill.address);
|
|
171
|
+
}, children: "Claim" }) }), _jsx(Flex, { className: "button-container transfer", children: _jsx(Button, { className: "transfer-button", variant: "secondary", disabled: true, onClick: function () { window.open('https://ape.bond/swap', '_blank'); }, children: "TRANSFER" }) })] })] })] })] })) }) }, userBill.address) }));
|
|
172
|
+
};
|
|
173
|
+
export default YourBondsModal;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import styled from "@emotion/styled";
|
|
6
|
+
import { Flex, Text } from "../../components/uikit-sdk";
|
|
7
|
+
export var StyledHeadingText = styled(Text)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: 12px;\n align-self: center;\n @media screen and (min-width: 1180px) {\n font-size: 22px;\n }\n"], ["\n font-size: 12px;\n align-self: center;\n @media screen and (min-width: 1180px) {\n font-size: 22px;\n }\n"])));
|
|
8
|
+
export var TraitsContentContainer = styled(Flex)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n justify-content: space-between;\n background: ", ";\n padding: 0px 15px;\n &:last-child {\n border-radius: 0px 0px 6px 6px;\n }\n @media screen and (max-width: 667px) {\n :first-of-type {\n border-radius: 6px 6px 0px 0px;\n }\n }\n"], ["\n justify-content: space-between;\n background: ", ";\n padding: 0px 15px;\n &:last-child {\n border-radius: 0px 0px 6px 6px;\n }\n @media screen and (max-width: 667px) {\n :first-of-type {\n border-radius: 6px 6px 0px 0px;\n }\n }\n"])), function (_a) {
|
|
9
|
+
var theme = _a.theme;
|
|
10
|
+
return theme.colors.white4;
|
|
11
|
+
});
|
|
12
|
+
var templateObject_1, templateObject_2;
|