@ape.swap/bonds-sdk 1.0.780 → 1.1.0-seedify
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/BondRows/BondRow.d.ts +3 -2
- package/dist/components/BondRows/BondRowHeader.d.ts +2 -3
- package/dist/components/BondRows/BondRowsByChain.d.ts +3 -3
- package/dist/components/BondRows/BondRowsWithTitle.d.ts +3 -3
- package/dist/components/DisconnectedPlaceholder/index.d.ts +3 -0
- package/dist/components/SlippageModal/index.d.ts +3 -0
- package/dist/components/TokenInfoAndName/index.d.ts +2 -2
- package/dist/components/TokenSelectorPanel/index.d.ts +1 -2
- package/dist/components/uikit-sdk/Modal/index.d.ts +1 -1
- package/dist/components/uikit-sdk/Toggle/index.d.ts +8 -0
- package/dist/components/uikit-sdk/Toggle/styles.d.ts +3 -0
- package/dist/components/uikit-sdk/TokenImage/index.d.ts +1 -1
- package/dist/components/uikit-sdk/index.d.ts +1 -0
- package/dist/config/abi/types/Banana.d.ts +103 -126
- package/dist/config/abi/types/Bond.d.ts +176 -221
- package/dist/config/abi/types/BondNft.d.ts +160 -207
- package/dist/config/abi/types/EnsPublicResolver.d.ts +129 -205
- package/dist/config/abi/types/EnsRegistrar.d.ts +62 -82
- package/dist/config/abi/types/Erc20.d.ts +40 -52
- package/dist/config/abi/types/Erc20_bytes32.d.ts +11 -11
- package/dist/config/abi/types/JungleChef.d.ts +64 -79
- package/dist/config/abi/types/LaunchBonds.d.ts +299 -355
- package/dist/config/abi/types/LensContract.d.ts +58 -77
- package/dist/config/abi/types/LockVeAbond.d.ts +328 -434
- package/dist/config/abi/types/MigrationBond.d.ts +268 -330
- package/dist/config/abi/types/MigrationFveAbond.d.ts +83 -89
- package/dist/config/abi/types/MiniComplexRewarder.d.ts +99 -145
- package/dist/config/abi/types/Multicallv2.d.ts +35 -46
- package/dist/config/abi/types/Multicallv3.d.ts +14 -14
- package/dist/config/abi/types/NonFungibleApes.d.ts +130 -170
- package/dist/config/abi/types/NonFungibleBananas.d.ts +135 -172
- package/dist/config/abi/types/PriceGetter.d.ts +218 -255
- package/dist/config/abi/types/PriceGetterLinea.d.ts +254 -287
- package/dist/config/abi/types/PriceGetterV2.d.ts +239 -276
- package/dist/config/abi/types/SousChef.d.ts +140 -177
- package/dist/config/abi/types/Treasury.d.ts +66 -69
- package/dist/config/abi/types/Weth.d.ts +53 -68
- package/dist/config/abi/types/Zap.d.ts +97 -141
- package/dist/config/abi/types/common.d.ts +3 -3
- package/dist/config/abi/types/factories/Banana__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/BondNft__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/Bond__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/Erc20__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/JungleChef__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/LensContract__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/SousChef__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/Treasury__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/Weth__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/Zap__factory.d.ts +3 -3
- package/dist/config/abi/types/factories/index.d.ts +25 -25
- package/dist/config/abi/types/index.d.ts +51 -51
- package/dist/config/constants/addresses.d.ts +0 -8
- package/dist/config/constants/queryKeys.d.ts +7 -2
- package/dist/config/constants/tokens.d.ts +2 -2
- package/dist/hooks/useTokenFromZapList.d.ts +1 -1
- package/dist/hooks/useTopThreeTags.d.ts +2 -2
- package/dist/main.d.ts +7 -0
- package/dist/main.js +73492 -0
- package/dist/scss/BondMenu.scss +2 -2
- package/dist/scss/BondModal.scss +74 -73
- package/dist/scss/BondRow.scss +5 -5
- package/dist/scss/BondRowHeader.scss +7 -7
- package/dist/scss/Bonds.scss +2 -1
- package/dist/scss/YourBonds.scss +19 -14
- package/dist/scss/YourBondsModal.scss +3 -3
- package/dist/scss/index.scss +12 -0
- package/dist/state/allowance/useAllowance.d.ts +8 -4
- package/dist/state/bonds/useBondNFTData.d.ts +5 -0
- package/dist/state/bonds/useBondsData.d.ts +4 -0
- package/dist/state/bonds/useBondsList.d.ts +4 -0
- package/dist/state/bonds/useHotBonds.d.ts +3 -0
- package/dist/state/bonds/useUserBonds.d.ts +5 -0
- package/dist/state/price/useCurrencyPrice.d.ts +1 -17
- package/dist/state/slippage/useSlippage.d.ts +1 -0
- package/dist/state/tokenPrices/useTokenPrices.d.ts +29 -0
- package/dist/state/zap/getChainParam.d.ts +1 -1
- package/dist/state/zap/useSoulZapBondQuote.d.ts +2 -2
- package/dist/types/bonds.d.ts +4 -41
- package/dist/types/yourbonds.d.ts +54 -69
- package/dist/utils/displayHelpers.d.ts +13 -0
- package/dist/utils/getNativeTicker.d.ts +3 -3
- package/dist/utils/index.d.ts +1 -1
- package/dist/views/BondModal/BondModal.d.ts +4 -7
- package/dist/views/BondModal/helper.d.ts +6 -6
- package/dist/views/BondModal/index.d.ts +2 -2
- package/dist/views/Bonds/Bonds.d.ts +6 -9
- package/dist/views/Bonds/components/CheckURL/index.d.ts +4 -0
- package/dist/views/Bonds/index.d.ts +2 -2
- package/dist/views/Bonds/utils.d.ts +14 -0
- package/dist/views/FullBondsView/FullBondsView.d.ts +7 -0
- package/dist/views/FullBondsView/index.d.ts +3 -0
- package/dist/views/YourBonds/YourBonds.d.ts +1 -11
- package/dist/views/YourBonds/components/UserBondRow/index.d.ts +6 -0
- package/dist/views/YourBonds/fetchBillsUser.d.ts +4 -5
- package/dist/views/YourBonds/index.d.ts +3 -0
- package/dist/views/YourBondsModal/YourBondsModal.d.ts +4 -5
- package/package.json +19 -24
- package/dist/components/AccordionText/index.js +0 -17
- package/dist/components/BondMenu/BondMenu.js +0 -40
- package/dist/components/BondMenu/useChainFilterOption.js +0 -30
- package/dist/components/BondRows/BondRow.js +0 -81
- package/dist/components/BondRows/BondRowHeader.js +0 -12
- package/dist/components/BondRows/BondRowsByChain.js +0 -13
- package/dist/components/BondRows/BondRowsWithTitle.js +0 -20
- package/dist/components/BondRows/ChainTitle.js +0 -18
- package/dist/components/MenuSelect/MenuSelect.js +0 -36
- package/dist/components/MenuSelect/RecommendationSelector.js +0 -32
- package/dist/components/MenuSelect/types.js +0 -1
- package/dist/components/NetworkFilter/index.js +0 -66
- package/dist/components/ProgressBar/ProgressBar.js +0 -10
- package/dist/components/ProgressBar/ProgressBarWrapper.js +0 -9
- package/dist/components/ProgressBar/styles.js +0 -82
- package/dist/components/TokenInfoAndName/index.js +0 -34
- package/dist/components/TokenSelectorModal/TokenRow.js +0 -18
- package/dist/components/TokenSelectorModal/index.js +0 -56
- package/dist/components/TokenSelectorPanel/index.js +0 -36
- package/dist/components/Tooltip/ButtonsRow.js +0 -21
- package/dist/components/Tooltip/Tooltip.js +0 -13
- package/dist/components/Tooltip/styles.js +0 -44
- package/dist/components/uikit-sdk/Button/Button.js +0 -91
- package/dist/components/uikit-sdk/Button/IconButton.js +0 -33
- package/dist/components/uikit-sdk/Button/index.js +0 -2
- package/dist/components/uikit-sdk/Button/styles.js +0 -30
- package/dist/components/uikit-sdk/Button/types.js +0 -37
- package/dist/components/uikit-sdk/Checkbox/index.js +0 -46
- package/dist/components/uikit-sdk/Checkbox/types.js +0 -5
- package/dist/components/uikit-sdk/Flex/index.js +0 -29
- package/dist/components/uikit-sdk/Input/Input.js +0 -72
- package/dist/components/uikit-sdk/Input/NumericInput.js +0 -35
- package/dist/components/uikit-sdk/Input/StyledInput.js +0 -26
- package/dist/components/uikit-sdk/Input/index.js +0 -3
- package/dist/components/uikit-sdk/Modal/ModalFooter.js +0 -21
- package/dist/components/uikit-sdk/Modal/ModalHeader.js +0 -31
- package/dist/components/uikit-sdk/Modal/index.js +0 -46
- package/dist/components/uikit-sdk/Modal/styles.js +0 -62
- package/dist/components/uikit-sdk/Modal/types.js +0 -1
- package/dist/components/uikit-sdk/Select/Select.js +0 -61
- package/dist/components/uikit-sdk/Select/SelectItem.js +0 -40
- package/dist/components/uikit-sdk/Select/index.js +0 -2
- package/dist/components/uikit-sdk/Select/styles.js +0 -50
- package/dist/components/uikit-sdk/Select/types.js +0 -37
- package/dist/components/uikit-sdk/Skeleton/index.js +0 -31
- package/dist/components/uikit-sdk/Skeleton/styles.js +0 -40
- package/dist/components/uikit-sdk/Skeleton/types.js +0 -10
- package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.js +0 -17
- package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Audit.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/BillsM1.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/BillsM2.js +0 -17
- package/dist/components/uikit-sdk/Svg/Icons/BillsM3.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Bridge.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Bubble.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Calculator.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Calendar.js +0 -5
- package/dist/components/uikit-sdk/Svg/Icons/Cancelled.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Card.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Caret.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Chain.js +0 -9
- package/dist/components/uikit-sdk/Svg/Icons/Chart.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Chat.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Close.js +0 -9
- package/dist/components/uikit-sdk/Svg/Icons/Cog.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Collapse.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Copy.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Discord.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Docs.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/DocsV2.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Ellipse.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Error.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Expand.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Explorer.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/External.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Farm.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Fav.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/FilledURL.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Fire.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/Frame.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/FullLogo.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/Gnana.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Home.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Hot.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/Info.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Insight.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Island.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Language.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Logout.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Medium.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Message.js +0 -9
- package/dist/components/uikit-sdk/Svg/Icons/Migrate.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Moon.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/More.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/NFA.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/NavCaret.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Play.js +0 -5
- package/dist/components/uikit-sdk/Svg/Icons/Pool.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Positions.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/ProfileIcon.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/Question.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Quiz.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Receipt.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Rocket.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Search.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Send.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Settings.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Share.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Sort.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Success.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Tag.js +0 -5
- package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/TextLogo.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/TickShield.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Trade.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Trash.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/URL.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Vaults.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Verified.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/Wallet.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Warning.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Watch.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/Website.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/XNew.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.js +0 -6
- package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/index.js +0 -112
- package/dist/components/uikit-sdk/Svg/Icons/polygonNew.js +0 -16
- package/dist/components/uikit-sdk/Svg/Icons/types.js +0 -1
- package/dist/components/uikit-sdk/Svg/index.js +0 -347
- package/dist/components/uikit-sdk/Svg/styles.js +0 -16
- package/dist/components/uikit-sdk/Svg/tokens/ABOND.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/BANANA.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/BASE.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/BNB.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/BSC.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/CELO.js +0 -5
- package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/ETH.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/GNANA.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/OKX.js +0 -5
- package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +0 -8
- package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +0 -6
- package/dist/components/uikit-sdk/Svg/tokens/index.js +0 -22
- package/dist/components/uikit-sdk/Svg/types.js +0 -165
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.js +0 -6
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.js +0 -5
- package/dist/components/uikit-sdk/Svg/walletIcons/index.js +0 -18
- package/dist/components/uikit-sdk/Tag/ListTag.js +0 -20
- package/dist/components/uikit-sdk/Tag/Tag.js +0 -42
- package/dist/components/uikit-sdk/Tag/index.js +0 -2
- package/dist/components/uikit-sdk/Tag/styles.js +0 -44
- package/dist/components/uikit-sdk/Tag/types.js +0 -34
- package/dist/components/uikit-sdk/Text/index.js +0 -35
- package/dist/components/uikit-sdk/Text/types.js +0 -13
- package/dist/components/uikit-sdk/TokenImage/index.js +0 -41
- package/dist/components/uikit-sdk/TooltipBubble/index.js +0 -66
- package/dist/components/uikit-sdk/TooltipBubble/styles.js +0 -60
- package/dist/components/uikit-sdk/TooltipBubble/types.js +0 -8
- package/dist/components/uikit-sdk/index.js +0 -12
- package/dist/config/abi/bond.json +0 -450
- package/dist/config/abi/erc20.json +0 -117
- package/dist/config/abi/multicallv2.json +0 -143
- package/dist/config/abi/price-getter-linea.json +0 -1448
- package/dist/config/abi/price-getter.json +0 -1309
- package/dist/config/abi/types/Banana.js +0 -1
- package/dist/config/abi/types/Bond.js +0 -1
- package/dist/config/abi/types/BondNft.js +0 -1
- package/dist/config/abi/types/EnsPublicResolver.js +0 -1
- package/dist/config/abi/types/EnsRegistrar.js +0 -1
- package/dist/config/abi/types/Erc20.js +0 -1
- package/dist/config/abi/types/Erc20_bytes32.js +0 -1
- package/dist/config/abi/types/JungleChef.js +0 -1
- package/dist/config/abi/types/LaunchBonds.js +0 -1
- package/dist/config/abi/types/LensContract.js +0 -1
- package/dist/config/abi/types/LockVeAbond.js +0 -1
- package/dist/config/abi/types/MigrationBond.js +0 -1
- package/dist/config/abi/types/MigrationFveAbond.js +0 -1
- package/dist/config/abi/types/MiniComplexRewarder.js +0 -1
- package/dist/config/abi/types/Multicallv2.js +0 -1
- package/dist/config/abi/types/Multicallv3.js +0 -1
- package/dist/config/abi/types/NonFungibleApes.js +0 -1
- package/dist/config/abi/types/NonFungibleBananas.js +0 -1
- package/dist/config/abi/types/PriceGetter.js +0 -1
- package/dist/config/abi/types/PriceGetterLinea.js +0 -1
- package/dist/config/abi/types/PriceGetterV2.js +0 -1
- package/dist/config/abi/types/SousChef.js +0 -1
- package/dist/config/abi/types/Treasury.js +0 -1
- package/dist/config/abi/types/Weth.js +0 -1
- package/dist/config/abi/types/Zap.js +0 -1
- package/dist/config/abi/types/common.js +0 -1
- package/dist/config/abi/types/factories/Banana__factory.js +0 -628
- package/dist/config/abi/types/factories/BondNft__factory.js +0 -951
- package/dist/config/abi/types/factories/Bond__factory.js +0 -1042
- package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +0 -833
- package/dist/config/abi/types/factories/EnsRegistrar__factory.js +0 -439
- package/dist/config/abi/types/factories/Erc20__factory.js +0 -239
- package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +0 -47
- package/dist/config/abi/types/factories/JungleChef__factory.js +0 -326
- package/dist/config/abi/types/factories/LaunchBonds__factory.js +0 -2031
- package/dist/config/abi/types/factories/LensContract__factory.js +0 -338
- package/dist/config/abi/types/factories/LockVeAbond__factory.js +0 -2215
- package/dist/config/abi/types/factories/MigrationBond__factory.js +0 -1656
- package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +0 -346
- package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +0 -586
- package/dist/config/abi/types/factories/Multicallv2__factory.js +0 -160
- package/dist/config/abi/types/factories/Multicallv3__factory.js +0 -109
- package/dist/config/abi/types/factories/NonFungibleApes__factory.js +0 -810
- package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +0 -756
- package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +0 -1465
- package/dist/config/abi/types/factories/PriceGetterV2__factory.js +0 -1364
- package/dist/config/abi/types/factories/PriceGetter__factory.js +0 -1326
- package/dist/config/abi/types/factories/SousChef__factory.js +0 -666
- package/dist/config/abi/types/factories/Treasury__factory.js +0 -309
- package/dist/config/abi/types/factories/Weth__factory.js +0 -296
- package/dist/config/abi/types/factories/Zap__factory.js +0 -889
- package/dist/config/abi/types/factories/index.js +0 -28
- package/dist/config/abi/types/index.js +0 -26
- package/dist/config/constants/addresses.js +0 -116
- package/dist/config/constants/api.js +0 -6
- package/dist/config/constants/chains.js +0 -436
- package/dist/config/constants/lifiRouting.js +0 -6
- package/dist/config/constants/lists.js +0 -21
- package/dist/config/constants/meta.js +0 -92
- package/dist/config/constants/misc.js +0 -4
- package/dist/config/constants/networks.js +0 -44
- package/dist/config/constants/products.js +0 -58
- package/dist/config/constants/queryKeys.js +0 -47
- package/dist/config/constants/tokens.js +0 -64
- package/dist/config/constants/tutorials.js +0 -80
- package/dist/config/constants/zapInputTokens.js +0 -356
- package/dist/config/localization/languages.js +0 -83
- package/dist/config/localization/translations.json +0 -918
- package/dist/contexts/Localization/Provider.js +0 -134
- package/dist/contexts/Localization/helpers.js +0 -63
- package/dist/contexts/Localization/index.js +0 -2
- package/dist/contexts/Localization/types.js +0 -1
- package/dist/contexts/Localization/useTranslation.js +0 -10
- package/dist/contexts/ModalContext.js +0 -67
- package/dist/contexts/RefreshContext.js +0 -78
- package/dist/enum/apeswaplists.d.ts +0 -418
- package/dist/enum/apeswaplists.js +0 -152
- package/dist/enum/tooltips.js +0 -13
- package/dist/hooks/useCookie.js +0 -29
- package/dist/hooks/useIsAbond.js +0 -10
- package/dist/hooks/useModal.js +0 -39
- package/dist/hooks/usePendingVesting.js +0 -13
- package/dist/hooks/useRefresh.js +0 -7
- package/dist/hooks/useTimer.js +0 -13
- package/dist/hooks/useTokenFromZapList.js +0 -10
- package/dist/hooks/useTopThreeTags.js +0 -25
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -6
- package/dist/providers/index.js +0 -18
- package/dist/state/allowance/useAllowance.js +0 -148
- package/dist/state/balance/useCurrencyBalance.js +0 -80
- package/dist/state/price/useCurrencyPrice.js +0 -397
- package/dist/state/zap/getChainParam.js +0 -34
- package/dist/state/zap/useSoulZapBondQuote.js +0 -177
- package/dist/state/zap/useSoulZapTokenQuote.js +0 -167
- package/dist/theme/base.js +0 -123
- package/dist/theme/colors.js +0 -93
- package/dist/theme/components.js +0 -338
- package/dist/theme/display.js +0 -2
- package/dist/theme/index.js +0 -15
- package/dist/theme/types.js +0 -1
- package/dist/types/bonds.js +0 -1
- package/dist/types/yourbonds.js +0 -1
- package/dist/utils/convertToTokenValue.js +0 -24
- package/dist/utils/formatNumber.js +0 -34
- package/dist/utils/formatNumbers.js +0 -148
- package/dist/utils/getBalanceNumber.js +0 -18
- package/dist/utils/getNativeTicker.js +0 -8
- package/dist/utils/getTimePeriods.js +0 -44
- package/dist/utils/index.js +0 -127
- package/dist/utils/localStorageHelpers.js +0 -47
- package/dist/utils/multicall.js +0 -90
- package/dist/utils/numbers.js +0 -111
- package/dist/utils/roundNumber.js +0 -14
- package/dist/utils/track.js +0 -17
- package/dist/views/BondModal/BondModal.js +0 -300
- package/dist/views/BondModal/helper.js +0 -54
- package/dist/views/BondModal/index.js +0 -18
- package/dist/views/Bonds/Bonds.js +0 -174
- package/dist/views/Bonds/index.js +0 -18
- package/dist/views/YourBonds/YourBonds.js +0 -276
- package/dist/views/YourBonds/fetchBillsUser.js +0 -235
- package/dist/views/YourBonds/getBillNftData.js +0 -109
- package/dist/views/YourBondsModal/YourBondsModal.js +0 -173
- package/dist/views/YourBondsModal/styles.js +0 -12
- package/dist/views/ZapModal/index.js +0 -150
- package/dist/views/ZapModal/styles.js +0 -35
- /package/dist/{enum → config/constants}/tooltips.d.ts +0 -0
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
export var ABOND_DEFAULT_META = {
|
|
2
|
-
title: 'ApeBond | Building A Sustainable DeFi Future',
|
|
3
|
-
description: 'ApeBond is a multi-chain bonding protocol committed to building a sustainable DeFi future for projects and communities.',
|
|
4
|
-
image: 'https://frontend-git-feat-metadata-ape-swap-finance.vercel.app/meta/apebond/logo.png',
|
|
5
|
-
twitterImage: 'https://frontend-git-feat-metadata-ape-swap-finance.vercel.app/meta/apebond/twitter.png',
|
|
6
|
-
favIco: '/meta/apebond/favicon.ico',
|
|
7
|
-
};
|
|
8
|
-
export var apebondCustomMeta = {
|
|
9
|
-
'/': {
|
|
10
|
-
title: 'Home Page | ApeBond: Building A Sustainable DeFi Future',
|
|
11
|
-
description: 'ApeBond is a multi-chain bonding protocol committed to building a sustainable DeFi future for projects and communities.',
|
|
12
|
-
},
|
|
13
|
-
'/swap': {
|
|
14
|
-
title: 'Swap | ApeBond',
|
|
15
|
-
description: "Easily swap cross-chain between hundreds of crypto tokens using ApeBond's decentralized exchange.",
|
|
16
|
-
},
|
|
17
|
-
'/earn': {
|
|
18
|
-
title: 'Earn | ApeBond',
|
|
19
|
-
description: 'Stake LPs or single tokens in ApeBond to earn rewards.',
|
|
20
|
-
},
|
|
21
|
-
'/bonds': {
|
|
22
|
-
title: 'Bonds | ApeBond',
|
|
23
|
-
description: 'Buy tokens at a discount that vest over time through a unique NFT.',
|
|
24
|
-
},
|
|
25
|
-
'/bond-markets': {
|
|
26
|
-
title: 'Bonds | ApeBond',
|
|
27
|
-
description: 'Buy tokens at a discount that vest over time through a unique NFT.',
|
|
28
|
-
},
|
|
29
|
-
'/bond-highlight': {
|
|
30
|
-
title: 'Bonds | ApeBond',
|
|
31
|
-
description: 'Buy tokens at a discount that vest over time through a unique NFT.',
|
|
32
|
-
},
|
|
33
|
-
'/liquidity-health': {
|
|
34
|
-
title: 'Liquidity Health Dashboard | ApeBond',
|
|
35
|
-
image: 'https://frontend-git-feat-metadata-ape-swap-finance.vercel.app/meta/apebond/lhd_meta.png',
|
|
36
|
-
twitterImage: 'https://frontend-git-feat-metadata-ape-swap-finance.vercel.app/meta/apebond/lhd_meta.png',
|
|
37
|
-
description: "ApeBond's Liquidity Health Dashboard provides insights into the quality and sustainability of cryptocurrency projects based on their liquidity.",
|
|
38
|
-
},
|
|
39
|
-
'/dashboard': {
|
|
40
|
-
title: 'Protocol Dashboard | ApeBond',
|
|
41
|
-
description: 'ApeBond is a multi-chain bonding protocol committed to building a sustainable DeFi future for projects and communities.',
|
|
42
|
-
},
|
|
43
|
-
'/pools': {
|
|
44
|
-
title: 'Staking Pools | ApeBond',
|
|
45
|
-
description: 'Stake in Staking Pools to earn partner project tokens.',
|
|
46
|
-
},
|
|
47
|
-
'/farms': {
|
|
48
|
-
title: 'Farms | ApeBond',
|
|
49
|
-
description: 'Stake your liquidity provider (LP) Farms to earn.',
|
|
50
|
-
},
|
|
51
|
-
'/pool': {
|
|
52
|
-
title: 'Liquidity | ApeBond',
|
|
53
|
-
description: 'Add liquidity to the ApeBond decentralized exchange to create LPs and earn trading fees..',
|
|
54
|
-
},
|
|
55
|
-
'/add': {
|
|
56
|
-
title: 'Liquidity | ApeBond',
|
|
57
|
-
description: 'Add liquidity to the ApeBond decentralized exchange to create LPs and earn trading fees..',
|
|
58
|
-
},
|
|
59
|
-
'/nft': {
|
|
60
|
-
title: 'Non Fungible Apes | ApeBond',
|
|
61
|
-
description: 'Buy and sell ApeBond NFTs and join our NFT community.',
|
|
62
|
-
},
|
|
63
|
-
'/vaults': {
|
|
64
|
-
title: 'BANANA Maximizers | ApeBond',
|
|
65
|
-
description: 'Stake your liquidity provider (LP) tokens in auto-compounding vaults to earn BANANA.',
|
|
66
|
-
},
|
|
67
|
-
'/jungle-farms': {
|
|
68
|
-
title: 'Jungle Farms | ApeBond',
|
|
69
|
-
description: 'Stake your liquidity provider (LP) tokens to earn partner project tokens.',
|
|
70
|
-
},
|
|
71
|
-
'/iao': {
|
|
72
|
-
title: 'Initial Ape Offerings | ApeBond',
|
|
73
|
-
description: 'Launch your crypto project with ApeBond, or commit into Initial Ape Offerings.',
|
|
74
|
-
},
|
|
75
|
-
'/gnana': {
|
|
76
|
-
title: 'GNANA | ApeBond',
|
|
77
|
-
description: 'Convert your BANANA to GNANA to gain exclusive access to governance, pools, and more.',
|
|
78
|
-
},
|
|
79
|
-
'/stats': {
|
|
80
|
-
title: 'ApeStats | ApeBond',
|
|
81
|
-
description: 'Track your portfolio on ApeBond using our custom dashboard.',
|
|
82
|
-
},
|
|
83
|
-
'/orders': {
|
|
84
|
-
title: 'Limit Orders | ApeBond',
|
|
85
|
-
description: 'Trade crypto tokens at the price you want using limit orders on the ApeBond DEX.',
|
|
86
|
-
},
|
|
87
|
-
'/the-problem-with-sush': {
|
|
88
|
-
title: 'The Problem With SushiSwap | Apebond',
|
|
89
|
-
image: 'https://apeswap.finance/sushi-problem.jpg',
|
|
90
|
-
twitterImage: 'https://apeswap.finance/sushi-problem.jpg',
|
|
91
|
-
},
|
|
92
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
import { ChainId } from './chains';
|
|
3
|
-
export var PUBLIC_RPC_URLS = (_a = {},
|
|
4
|
-
_a[ChainId.BSC] = [
|
|
5
|
-
'https://bsc-dataseed.binance.org/',
|
|
6
|
-
'https://bsc-dataseed1.defibit.io',
|
|
7
|
-
'https://endpoints.omniatech.io/v1/bsc/mainnet/public',
|
|
8
|
-
],
|
|
9
|
-
_a[ChainId.ARBITRUM_ONE] = ['https://arb1.arbitrum.io/rpc'],
|
|
10
|
-
_a[ChainId.BSC_TESTNET] = ['https://data-seed-prebsc-2-s3.binance.org:8545/'],
|
|
11
|
-
_a[ChainId.POLYGON] = [
|
|
12
|
-
'https://polygon-mainnet.public.blastapi.io/',
|
|
13
|
-
'https://polygon-rpc.com/',
|
|
14
|
-
'https://rpc-mainnet.matic.network',
|
|
15
|
-
'https://matic-mainnet.chainstacklabs.com',
|
|
16
|
-
],
|
|
17
|
-
_a[ChainId.POLYGON_MUMBAI] = ['https://matic-mumbai.chainstacklabs.com'],
|
|
18
|
-
_a[ChainId.MAINNET] = [
|
|
19
|
-
'https://ethereum-rpc.publicnode.com',
|
|
20
|
-
'https://eth-mainnet.public.blastapi.io',
|
|
21
|
-
'https://rpc.ankr.com/eth',
|
|
22
|
-
],
|
|
23
|
-
_a[ChainId.TLOS] = ['https://mainnet.telos.net/evm'],
|
|
24
|
-
_a[ChainId.AVALANCHE] = ['https://api.avax.network/ext/bc/C/rpc'],
|
|
25
|
-
_a[ChainId.OPTIMISM] = ['https://rpc.ankr.com/optimism', 'https://optimism.publicnode.com'],
|
|
26
|
-
_a[ChainId.FANTOM] = ['https://rpc.ftm.tools/', 'https://rpcapi.fantom.network'],
|
|
27
|
-
_a[ChainId.CRONOS] = ['https://evm-cronos.crypto.org'],
|
|
28
|
-
_a[ChainId.POLYGON_ZK] = ['https://zkevm-rpc.com'],
|
|
29
|
-
_a[ChainId.CELO] = ['https://forno.celo.org'],
|
|
30
|
-
_a[ChainId.GNOSIS] = ['https://rpc.gnosischain.com/', 'https://rpc.ankr.com/gnosis'],
|
|
31
|
-
_a[ChainId.OKX] = ['https://exchainrpc.okex.org'],
|
|
32
|
-
_a[ChainId.INJECTED_EVM_TESTNET] = ['https://inevm-testnet.rpc.caldera.xyz/http'],
|
|
33
|
-
_a[ChainId.INEVM] = ['https://mainnet.rpc.inevm.com/http'],
|
|
34
|
-
_a[ChainId.SEPOLIA] = ['https://eth-sepolia-public.unifra.io'],
|
|
35
|
-
_a[ChainId.LINEA] = [
|
|
36
|
-
'https://linea.blockpi.network/v1/rpc/public',
|
|
37
|
-
'https://linea.decubate.com',
|
|
38
|
-
'https://rpc.linea.build',
|
|
39
|
-
],
|
|
40
|
-
_a[ChainId.LIGHTLINK] = ['https://replicator.phoenix.lightlink.io/rpc/v1'],
|
|
41
|
-
_a[ChainId.IOTA] = ['https://json-rpc.evm.iotaledger.net/'],
|
|
42
|
-
_a[ChainId.IOTA_TESTNET] = ['https://json-rpc.evm.testnet.iotaledger.net/'],
|
|
43
|
-
_a[ChainId.BASE] = ['https://base-rpc.publicnode.com', 'https://mainnet.base.org'],
|
|
44
|
-
_a);
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
var _a, _b;
|
|
2
|
-
// enum to corresponding url
|
|
3
|
-
import { ChainId } from './chains';
|
|
4
|
-
export var LIST_VIEW_PRODUCTS;
|
|
5
|
-
(function (LIST_VIEW_PRODUCTS) {
|
|
6
|
-
LIST_VIEW_PRODUCTS["BILLS"] = "treasury-bills";
|
|
7
|
-
LIST_VIEW_PRODUCTS["MAXIMIZERS"] = "maximizers";
|
|
8
|
-
LIST_VIEW_PRODUCTS["JUNGLE_FARMS"] = "jungle-farms";
|
|
9
|
-
LIST_VIEW_PRODUCTS["POOLS"] = "pools";
|
|
10
|
-
LIST_VIEW_PRODUCTS["FARMS"] = "farms";
|
|
11
|
-
LIST_VIEW_PRODUCTS["EARN"] = "earn";
|
|
12
|
-
})(LIST_VIEW_PRODUCTS || (LIST_VIEW_PRODUCTS = {}));
|
|
13
|
-
export var OTHER_PRODUCTS;
|
|
14
|
-
(function (OTHER_PRODUCTS) {
|
|
15
|
-
OTHER_PRODUCTS["GNANA"] = "gnana";
|
|
16
|
-
OTHER_PRODUCTS["MIGRATE"] = "migrate";
|
|
17
|
-
OTHER_PRODUCTS["ZAP"] = "zap";
|
|
18
|
-
OTHER_PRODUCTS["IAO"] = "iao";
|
|
19
|
-
OTHER_PRODUCTS["NFA_COLLECTION"] = "nft";
|
|
20
|
-
OTHER_PRODUCTS["NFA_AUCTION"] = "auction";
|
|
21
|
-
OTHER_PRODUCTS["NFA_STAKING"] = "staking";
|
|
22
|
-
OTHER_PRODUCTS["V3"] = "v3";
|
|
23
|
-
})(OTHER_PRODUCTS || (OTHER_PRODUCTS = {}));
|
|
24
|
-
// Products on different chains and their available chains
|
|
25
|
-
// These products are list view components that have a specific chain redirect component
|
|
26
|
-
export var AVAILABLE_CHAINS_ON_LIST_VIEW_PRODUCTS = (_a = {},
|
|
27
|
-
_a[LIST_VIEW_PRODUCTS.BILLS] = [
|
|
28
|
-
ChainId.BSC,
|
|
29
|
-
ChainId.POLYGON,
|
|
30
|
-
ChainId.ARBITRUM_ONE,
|
|
31
|
-
ChainId.INEVM,
|
|
32
|
-
ChainId.MAINNET,
|
|
33
|
-
ChainId.LINEA,
|
|
34
|
-
ChainId.LIGHTLINK,
|
|
35
|
-
],
|
|
36
|
-
_a[LIST_VIEW_PRODUCTS.FARMS] = [ChainId.BSC, ChainId.POLYGON],
|
|
37
|
-
_a[LIST_VIEW_PRODUCTS.MAXIMIZERS] = [ChainId.BSC],
|
|
38
|
-
_a[LIST_VIEW_PRODUCTS.JUNGLE_FARMS] = [ChainId.BSC],
|
|
39
|
-
_a[LIST_VIEW_PRODUCTS.POOLS] = [ChainId.BSC, ChainId.POLYGON, ChainId.MAINNET],
|
|
40
|
-
_a[LIST_VIEW_PRODUCTS.EARN] = [ChainId.BSC, ChainId.POLYGON, ChainId.MAINNET],
|
|
41
|
-
_a);
|
|
42
|
-
// Full product names for readability
|
|
43
|
-
export var FULL_PRODUCT_NAMES = (_b = {},
|
|
44
|
-
_b[LIST_VIEW_PRODUCTS.BILLS] = 'Bonds',
|
|
45
|
-
_b[LIST_VIEW_PRODUCTS.MAXIMIZERS] = 'Banana Maximizers',
|
|
46
|
-
_b[LIST_VIEW_PRODUCTS.JUNGLE_FARMS] = 'Jungle Farms',
|
|
47
|
-
_b[LIST_VIEW_PRODUCTS.POOLS] = 'Pools',
|
|
48
|
-
_b[LIST_VIEW_PRODUCTS.FARMS] = 'Farms',
|
|
49
|
-
_b[LIST_VIEW_PRODUCTS.EARN] = 'Earn products',
|
|
50
|
-
_b[OTHER_PRODUCTS.GNANA] = 'Golden Banana',
|
|
51
|
-
_b[OTHER_PRODUCTS.MIGRATE] = 'Migrate',
|
|
52
|
-
_b[OTHER_PRODUCTS.ZAP] = 'Zap',
|
|
53
|
-
_b[OTHER_PRODUCTS.IAO] = 'Official IAO',
|
|
54
|
-
_b[OTHER_PRODUCTS.NFA_COLLECTION] = 'Nfa Collection',
|
|
55
|
-
_b[OTHER_PRODUCTS.NFA_AUCTION] = 'Nfa Auction',
|
|
56
|
-
_b[OTHER_PRODUCTS.NFA_STAKING] = 'Nfa Staking',
|
|
57
|
-
_b[OTHER_PRODUCTS.V3] = 'V3 Concentrated Liquidity',
|
|
58
|
-
_b);
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export var QUERY_KEYS = {
|
|
2
|
-
INDUSTRY_STATS: 'industryStats',
|
|
3
|
-
HISTORICAL_INDUSTRY_STATS: 'historicalIndustryStats',
|
|
4
|
-
LHD_PROFILES: 'lhdProfiles',
|
|
5
|
-
LHD_PROFILE: 'lhdProfile',
|
|
6
|
-
LHD_PASSWORD_VERIFIED: 'lhdPasswordVerified',
|
|
7
|
-
HOMEPAGE_STATS: 'homepageStats',
|
|
8
|
-
BOND_PAGE_STATS: 'bondPageStats',
|
|
9
|
-
LIVE_AND_UPCOMING: 'liveAndUpcoming',
|
|
10
|
-
TVL_STATS: 'tvlStats',
|
|
11
|
-
TOKEN_HISTORIC: 'tokenHistoric',
|
|
12
|
-
BONDS_LANDING: 'bondsLanding',
|
|
13
|
-
BOND_POST_REFERENCE: 'bondPostReference',
|
|
14
|
-
BOND_RECOMMENDATIONS: 'bondRecommendations',
|
|
15
|
-
TIERS: 'tiers',
|
|
16
|
-
BOND_STATS: 'bondStats',
|
|
17
|
-
USER_STATS: 'userStats',
|
|
18
|
-
HOT_BONDS: 'hotBonds',
|
|
19
|
-
CHAIN_FILTER_OPTION: 'chainFilterOption',
|
|
20
|
-
AB_TEST_VALUE: 'ABTestValue',
|
|
21
|
-
USE_CURRENCY_NEW: 'useCurrencyNew',
|
|
22
|
-
// used values on SDK
|
|
23
|
-
CURRENCY_BALANCE: 'currencyBalance',
|
|
24
|
-
CURRENCY_PRICE: 'currencyPrice',
|
|
25
|
-
ALLOWANCE: 'allowance',
|
|
26
|
-
ZAP_TOKEN_QUOTE: 'zapTokenQuote',
|
|
27
|
-
ZAP_BOND_QUOTE: 'zapBondQuote',
|
|
28
|
-
};
|
|
29
|
-
var asd = {
|
|
30
|
-
'0': {
|
|
31
|
-
chain: 'bnb',
|
|
32
|
-
recipient: '0x54e7b27A434249177d939b43Abf68EBAE8b0e519',
|
|
33
|
-
user: '0x54e7b27A434249177d939b43Abf68EBAE8b0e519',
|
|
34
|
-
lpData: {
|
|
35
|
-
lpType: 'ichi',
|
|
36
|
-
fromToken: '0x0000000000000000000000000000000000000000',
|
|
37
|
-
fromAmount: '1000000000000000',
|
|
38
|
-
vault: '0x55d398326f99059fF775485246999027B3197955',
|
|
39
|
-
slippage: 0.5,
|
|
40
|
-
},
|
|
41
|
-
protocolData: {
|
|
42
|
-
protocol: 'ApeBond',
|
|
43
|
-
bond: '0xdd0ba1445a24c83c3bdbc5efada3359e98ac706e',
|
|
44
|
-
depositer: '0x54e7b27A434249177d939b43Abf68EBAE8b0e519',
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2
|
-
import { ChainId } from "@ape.swap/apeswap-lists";
|
|
3
|
-
export var WNATIVE = (_a = {},
|
|
4
|
-
_a[ChainId.MAINNET] = {
|
|
5
|
-
symbol: 'wETH',
|
|
6
|
-
address: (_b = {},
|
|
7
|
-
_b[ChainId.MAINNET] = '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
8
|
-
_b),
|
|
9
|
-
decimals: (_c = {},
|
|
10
|
-
_c[ChainId.MAINNET] = 18,
|
|
11
|
-
_c),
|
|
12
|
-
active: true,
|
|
13
|
-
},
|
|
14
|
-
_a[ChainId.BSC] = {
|
|
15
|
-
symbol: 'wBNB',
|
|
16
|
-
address: (_d = {},
|
|
17
|
-
_d[ChainId.BSC] = '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c',
|
|
18
|
-
_d),
|
|
19
|
-
decimals: (_e = {},
|
|
20
|
-
_e[ChainId.BSC] = 18,
|
|
21
|
-
_e),
|
|
22
|
-
active: true,
|
|
23
|
-
},
|
|
24
|
-
_a[ChainId.MATIC] = {
|
|
25
|
-
symbol: 'wPOL',
|
|
26
|
-
address: (_f = {},
|
|
27
|
-
_f[ChainId.MATIC] = '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270',
|
|
28
|
-
_f),
|
|
29
|
-
decimals: (_g = {},
|
|
30
|
-
_g[ChainId.MATIC] = 18,
|
|
31
|
-
_g),
|
|
32
|
-
active: true,
|
|
33
|
-
},
|
|
34
|
-
_a[ChainId.ARBITRUM] = {
|
|
35
|
-
symbol: 'wETH',
|
|
36
|
-
address: (_h = {},
|
|
37
|
-
_h[ChainId.ARBITRUM] = '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1',
|
|
38
|
-
_h),
|
|
39
|
-
decimals: (_j = {},
|
|
40
|
-
_j[ChainId.ARBITRUM] = 18,
|
|
41
|
-
_j),
|
|
42
|
-
active: true,
|
|
43
|
-
},
|
|
44
|
-
_a[ChainId.LINEA] = {
|
|
45
|
-
symbol: 'wETH',
|
|
46
|
-
address: (_k = {},
|
|
47
|
-
_k[ChainId.LINEA] = '0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f',
|
|
48
|
-
_k),
|
|
49
|
-
decimals: (_l = {},
|
|
50
|
-
_l[ChainId.LINEA] = 18,
|
|
51
|
-
_l),
|
|
52
|
-
active: true,
|
|
53
|
-
},
|
|
54
|
-
_a[ChainId.BASE] = {
|
|
55
|
-
symbol: 'wETH',
|
|
56
|
-
address: (_m = {},
|
|
57
|
-
_m[ChainId.BASE] = '0x4200000000000000000000000000000000000006',
|
|
58
|
-
_m),
|
|
59
|
-
decimals: (_o = {},
|
|
60
|
-
_o[ChainId.BASE] = 18,
|
|
61
|
-
_o),
|
|
62
|
-
active: true,
|
|
63
|
-
},
|
|
64
|
-
_a);
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { SupportedChainId } from '@ape.swap/sdk-core';
|
|
2
|
-
export var getMetamaskLinks = function (chainId) {
|
|
3
|
-
switch (chainId) {
|
|
4
|
-
case SupportedChainId.BSC:
|
|
5
|
-
return 'https://docs.bnbchain.org/docs/wallet/metamask/';
|
|
6
|
-
case SupportedChainId.POLYGON:
|
|
7
|
-
return 'https://wiki.polygon.technology/docs/tools/wallets/metamask/config-polygon-on-metamask/';
|
|
8
|
-
case SupportedChainId.MAINNET:
|
|
9
|
-
return 'https://metamask.io/faqs/';
|
|
10
|
-
case SupportedChainId.TLOS:
|
|
11
|
-
return 'https://decentralizedcreator.com/add-telos-evm-network-to-metamask/';
|
|
12
|
-
case SupportedChainId.ARBITRUM_ONE:
|
|
13
|
-
return 'https://academy.binance.com/en/articles/how-to-add-arbitrum-to-metamask';
|
|
14
|
-
default:
|
|
15
|
-
return 'https://docs.bnbchain.org/docs/wallet/metamask/';
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export var ROUTE_NAMES = {
|
|
19
|
-
'/': 'HOME',
|
|
20
|
-
'/jungle-farms': 'JUNGLE_FARMS',
|
|
21
|
-
'/farms': 'FARMS',
|
|
22
|
-
'/swap': 'SWAP',
|
|
23
|
-
'/pools': 'POOLS',
|
|
24
|
-
'/maximizers': 'MAXIMIZERS_VAULTS',
|
|
25
|
-
'/add': 'ADD_LIQUIDITY',
|
|
26
|
-
//'/v3-add-liquidity': 'ADD_LIQUIDITY',
|
|
27
|
-
'/add-liquidity': 'ADD_LIQUIDITY_V2',
|
|
28
|
-
'/liquidity': 'ADD_LIQUIDITY_V2',
|
|
29
|
-
'/zap': 'ADD_LIQUIDITY_V2',
|
|
30
|
-
'/migrate': 'ADD_LIQUIDITY_V2',
|
|
31
|
-
'/find': 'ADD_LIQUIDITY_V2',
|
|
32
|
-
'/remove': 'ADD_LIQUIDITY_V2',
|
|
33
|
-
'/limit-orders': 'ORDERS',
|
|
34
|
-
'/iao': 'IAO',
|
|
35
|
-
'/gnana': 'GNANA',
|
|
36
|
-
'/bonds': 'TREASURY_BILL',
|
|
37
|
-
'/nft': 'NFT',
|
|
38
|
-
'/auction': 'AUCTION',
|
|
39
|
-
'/staking': 'STAKING',
|
|
40
|
-
'/apestats': 'APESTATS',
|
|
41
|
-
'/protocol-dashboard': 'PROTOCOL_DASHBOARD',
|
|
42
|
-
'/the-migration': 'THE_MIGRATION',
|
|
43
|
-
'/liquidity-health': 'LIQUIDITY_HEALTH',
|
|
44
|
-
'/migration': 'MIGRATION',
|
|
45
|
-
'/earn': 'EARN',
|
|
46
|
-
'/launchpad': 'LAUNCHPAD',
|
|
47
|
-
};
|
|
48
|
-
export var FARMS = {
|
|
49
|
-
BNB: 'bnb-chain-farms',
|
|
50
|
-
Polygon: 'polygon-farms',
|
|
51
|
-
Ethereum: '',
|
|
52
|
-
Telos: 'telos-farms',
|
|
53
|
-
};
|
|
54
|
-
export var apebond = 'https://docs.ape.bond/apebond/';
|
|
55
|
-
export var APEBOND_DOC_LINKS = {
|
|
56
|
-
HOME: "welcome/master",
|
|
57
|
-
JUNGLE_FARMS: 'products-and-features/stake/farms',
|
|
58
|
-
FARMS: "products-and-features/stake/farms",
|
|
59
|
-
SWAP: 'products-and-features/swap',
|
|
60
|
-
POOLS: 'products-and-features/stake/pools',
|
|
61
|
-
MAXIMIZERS_VAULTS: 'products-and-features/stake/vaults',
|
|
62
|
-
ADD_LIQUIDITY: 'products-and-features/exchange/liquidity/how-to-add-liquidity-v3',
|
|
63
|
-
ADD_LIQUIDITY_V2: 'products-and-features/exchange/liquidity/how-to-add-liquidity-v2',
|
|
64
|
-
LIQUIDITY: 'products-and-features/exchange/liquidity/how-to-add-liquidity-v3',
|
|
65
|
-
ORDERS: 'products-and-features/exchange/limit-orders',
|
|
66
|
-
IAO: 'products-and-features/raise/initial-ape-offerings-iaos',
|
|
67
|
-
GNANA: 'welcome/apeswap-tokens/gnana',
|
|
68
|
-
TREASURY_BILL: 'products-and-features/bonds',
|
|
69
|
-
NFT: 'products-and-features/collect/non-fungible-apes-nfas',
|
|
70
|
-
AUCTION: 'products-and-features/collect/non-fungible-apes-nfas/nfa-auction-house',
|
|
71
|
-
STAKING: 'products-and-features/stake',
|
|
72
|
-
APESTATS: 'products-and-features/apestats',
|
|
73
|
-
PROTOCOL_DASHBOARD: 'products-and-features/protocol-dashboard',
|
|
74
|
-
THE_MIGRATION: 'products-and-features/stake/hard-cap-migration-masterapev2',
|
|
75
|
-
LIQUIDITY_HEALTH: 'products-and-features/liquidity-health',
|
|
76
|
-
MIGRATION: 'products-and-features/abond-migration',
|
|
77
|
-
EARN: 'products-and-features/stake',
|
|
78
|
-
LAUNCHPAD: 'products-and-features/launchpad',
|
|
79
|
-
};
|
|
80
|
-
export var HELP_LINK = 'https://discord.com/channels/821817977917538375/1110438345701593088';
|