@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,28 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
export { Banana__factory } from "./Banana__factory";
|
|
5
|
-
export { Bond__factory } from "./Bond__factory";
|
|
6
|
-
export { BondNft__factory } from "./BondNft__factory";
|
|
7
|
-
export { EnsPublicResolver__factory } from "./EnsPublicResolver__factory";
|
|
8
|
-
export { EnsRegistrar__factory } from "./EnsRegistrar__factory";
|
|
9
|
-
export { Erc20__factory } from "./Erc20__factory";
|
|
10
|
-
export { Erc20_bytes32__factory } from "./Erc20_bytes32__factory";
|
|
11
|
-
export { JungleChef__factory } from "./JungleChef__factory";
|
|
12
|
-
export { LaunchBonds__factory } from "./LaunchBonds__factory";
|
|
13
|
-
export { LensContract__factory } from "./LensContract__factory";
|
|
14
|
-
export { LockVeAbond__factory } from "./LockVeAbond__factory";
|
|
15
|
-
export { MigrationBond__factory } from "./MigrationBond__factory";
|
|
16
|
-
export { MigrationFveAbond__factory } from "./MigrationFveAbond__factory";
|
|
17
|
-
export { MiniComplexRewarder__factory } from "./MiniComplexRewarder__factory";
|
|
18
|
-
export { Multicallv2__factory } from "./Multicallv2__factory";
|
|
19
|
-
export { Multicallv3__factory } from "./Multicallv3__factory";
|
|
20
|
-
export { NonFungibleApes__factory } from "./NonFungibleApes__factory";
|
|
21
|
-
export { NonFungibleBananas__factory } from "./NonFungibleBananas__factory";
|
|
22
|
-
export { PriceGetter__factory } from "./PriceGetter__factory";
|
|
23
|
-
export { PriceGetterLinea__factory } from "./PriceGetterLinea__factory";
|
|
24
|
-
export { PriceGetterV2__factory } from "./PriceGetterV2__factory";
|
|
25
|
-
export { SousChef__factory } from "./SousChef__factory";
|
|
26
|
-
export { Treasury__factory } from "./Treasury__factory";
|
|
27
|
-
export { Weth__factory } from "./Weth__factory";
|
|
28
|
-
export { Zap__factory } from "./Zap__factory";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export * as factories from "./factories";
|
|
2
|
-
export { Banana__factory } from "./factories/Banana__factory";
|
|
3
|
-
export { Bond__factory } from "./factories/Bond__factory";
|
|
4
|
-
export { BondNft__factory } from "./factories/BondNft__factory";
|
|
5
|
-
export { EnsPublicResolver__factory } from "./factories/EnsPublicResolver__factory";
|
|
6
|
-
export { EnsRegistrar__factory } from "./factories/EnsRegistrar__factory";
|
|
7
|
-
export { Erc20_bytes32__factory } from "./factories/Erc20_bytes32__factory";
|
|
8
|
-
export { Erc20__factory } from "./factories/Erc20__factory";
|
|
9
|
-
export { JungleChef__factory } from "./factories/JungleChef__factory";
|
|
10
|
-
export { LaunchBonds__factory } from "./factories/LaunchBonds__factory";
|
|
11
|
-
export { LensContract__factory } from "./factories/LensContract__factory";
|
|
12
|
-
export { LockVeAbond__factory } from "./factories/LockVeAbond__factory";
|
|
13
|
-
export { MigrationBond__factory } from "./factories/MigrationBond__factory";
|
|
14
|
-
export { MigrationFveAbond__factory } from "./factories/MigrationFveAbond__factory";
|
|
15
|
-
export { MiniComplexRewarder__factory } from "./factories/MiniComplexRewarder__factory";
|
|
16
|
-
export { Multicallv2__factory } from "./factories/Multicallv2__factory";
|
|
17
|
-
export { Multicallv3__factory } from "./factories/Multicallv3__factory";
|
|
18
|
-
export { NonFungibleApes__factory } from "./factories/NonFungibleApes__factory";
|
|
19
|
-
export { NonFungibleBananas__factory } from "./factories/NonFungibleBananas__factory";
|
|
20
|
-
export { PriceGetterLinea__factory } from "./factories/PriceGetterLinea__factory";
|
|
21
|
-
export { PriceGetterV2__factory } from "./factories/PriceGetterV2__factory";
|
|
22
|
-
export { PriceGetter__factory } from "./factories/PriceGetter__factory";
|
|
23
|
-
export { SousChef__factory } from "./factories/SousChef__factory";
|
|
24
|
-
export { Treasury__factory } from "./factories/Treasury__factory";
|
|
25
|
-
export { Weth__factory } from "./factories/Weth__factory";
|
|
26
|
-
export { Zap__factory } from "./factories/Zap__factory";
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2
|
-
import { SupportedChainId } from '@ape.swap/sdk-core';
|
|
3
|
-
import { ChainId } from './chains';
|
|
4
|
-
export var BANANA_ADDRESSES = (_a = {},
|
|
5
|
-
_a[SupportedChainId.BSC_TESTNET] = '0x4Fb99590cA95fc3255D9fA66a1cA46c43C34b09a',
|
|
6
|
-
_a[SupportedChainId.BSC] = '0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95',
|
|
7
|
-
_a[SupportedChainId.POLYGON] = '0x5d47baba0d66083c52009271faf3f50dcc01023c',
|
|
8
|
-
_a[SupportedChainId.MAINNET] = '0x92df60c51c710a1b1c20e42d85e221f3a1bfc7f2',
|
|
9
|
-
_a[SupportedChainId.TLOS] = '0x667fd83e24ca1d935d36717d305d54fa0cac991c',
|
|
10
|
-
_a[SupportedChainId.ARBITRUM_ONE] = '0xd978F8489e1245568704407a479a71FcCe2aFE8F',
|
|
11
|
-
_a);
|
|
12
|
-
export var GNANA_ADDRESSES = (_b = {},
|
|
13
|
-
_b[SupportedChainId.BSC] = '0xdDb3Bd8645775F59496c821E4F55A7eA6A6dc299',
|
|
14
|
-
_b[SupportedChainId.BSC_TESTNET] = '0x9407026d236DEAE22CC1F3c419A9e47CBfCFE9E5',
|
|
15
|
-
_b);
|
|
16
|
-
export var ABOND_ADDRESSES = (_c = {},
|
|
17
|
-
_c[SupportedChainId.BSC] = '0x34294AfABCbaFfc616ac6614F6d2e17260b78BEd',
|
|
18
|
-
_c[SupportedChainId.MAINNET] = '0xe6828D65bf5023AE1851D90D8783Cc821ba7eeE1',
|
|
19
|
-
_c[SupportedChainId.POLYGON] = '0xe6828D65bf5023AE1851D90D8783Cc821ba7eeE1',
|
|
20
|
-
_c);
|
|
21
|
-
// used as default swap output token
|
|
22
|
-
export var USDC = (_d = {},
|
|
23
|
-
_d[ChainId.POLYGON_ZK] = '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035',
|
|
24
|
-
_d[ChainId.AVALANCHE] = '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E',
|
|
25
|
-
_d[ChainId.OPTIMISM] = '0x7F5c764cBc14f9669B88837ca1490cCa17c31607',
|
|
26
|
-
_d[ChainId.FANTOM] = '0x04068DA6C83AFCFA0e13ba15A6696662335D5B75',
|
|
27
|
-
_d[ChainId.GNOSIS] = '0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83',
|
|
28
|
-
_d);
|
|
29
|
-
export var SWAP_ROUTER_ADDRESSES = (_e = {},
|
|
30
|
-
_e[ChainId.BSC] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
31
|
-
_e[ChainId.POLYGON] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
32
|
-
_e[ChainId.MAINNET] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
33
|
-
_e[ChainId.TLOS] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
34
|
-
_e[ChainId.ARBITRUM_ONE] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
35
|
-
_e[ChainId.AVALANCHE] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
36
|
-
_e[ChainId.FANTOM] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
37
|
-
_e[ChainId.OPTIMISM] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
38
|
-
_e[ChainId.POLYGON_ZK] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
39
|
-
_e[ChainId.GNOSIS] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
40
|
-
_e[ChainId.LINEA] = '0xDE1E598b81620773454588B85D6b5D4eEC32573e',
|
|
41
|
-
_e[ChainId.BASE] = '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE',
|
|
42
|
-
_e);
|
|
43
|
-
export var PRICE_GETTER_ADDRESSES = (_f = {},
|
|
44
|
-
_f[SupportedChainId.BSC_TESTNET] = '0x85d2C626E28a42E184cF8e32db1461013D23331D',
|
|
45
|
-
_f[SupportedChainId.BSC] = '0xF08Fc6d054880699A8a5Ebc363238c98B39FEbC9', // Price getter V2.2
|
|
46
|
-
_f[SupportedChainId.POLYGON] = '0x6908356faC751dA36F4ec1B4ADBc56d0B3862155', // Price getter v2.1
|
|
47
|
-
_f[SupportedChainId.MAINNET] = '0x10ffd467e8701fc2887b3df9b9a31adfefd388ec', // Price getter V2.1
|
|
48
|
-
_f[SupportedChainId.TLOS] = '0x85d2C626E28a42E184cF8e32db1461013D23331D',
|
|
49
|
-
_f[SupportedChainId.ARBITRUM_ONE] = '0xfa7598C50fbA17b64EBB8Ed2058564D9b5359b03', // Price getter V2.1
|
|
50
|
-
_f[ChainId.LINEA] = '0x35b1eadAbaDD0Edd26076247f3dEdF9E15De8D5D',
|
|
51
|
-
_f[ChainId.LIGHTLINK] = '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4',
|
|
52
|
-
_f[ChainId.IOTA] = '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4',
|
|
53
|
-
_f[ChainId.BASE] = '0x2e6AB3cc819BE64886C1bB403813cCBec0407a5b',
|
|
54
|
-
_f);
|
|
55
|
-
// This is the multicall v3
|
|
56
|
-
export var MULTICALL = (_g = {},
|
|
57
|
-
_g[SupportedChainId.BSC] = '0x47A307e3167820daf22a377D777371753758f59c',
|
|
58
|
-
_g[SupportedChainId.BSC_TESTNET] = '0x3ce277594919dfCCedf1F42843366b530518fB79',
|
|
59
|
-
_g[SupportedChainId.POLYGON] = '0x1F98415757620B543A52E61c46B32eB19261F984',
|
|
60
|
-
_g[SupportedChainId.POLYGON_MUMBAI] = '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
|
|
61
|
-
_g[SupportedChainId.MAINNET] = '0x1F98415757620B543A52E61c46B32eB19261F984',
|
|
62
|
-
_g[SupportedChainId.TLOS] = '0xf553b2be7aac670bcd812ba64a5025d9f5095ab5',
|
|
63
|
-
_g[SupportedChainId.ARBITRUM_ONE] = '0xC169b45E7A157Fe3fa248673576bcadcaFd8757B',
|
|
64
|
-
_g[ChainId.AVALANCHE] = '0xce96d67e45ea7c5d2c0ee234059d9616f8cf1afc',
|
|
65
|
-
_g[ChainId.INJECTED_EVM_TESTNET] = '0x75B6D0902CE996D9F1A6d5784835986D88f944C6',
|
|
66
|
-
_g[ChainId.SEPOLIA] = '0x0c5e96420De43bBFDba3bC24543C22D272E33732',
|
|
67
|
-
_g[ChainId.INEVM] = '0x63806777284CdCf6140e402fdFd3c175648F52E3',
|
|
68
|
-
_g[ChainId.LINEA] = '0x0a11a37Eff2e32Fd532F6e1C30e77B7DCBeF2de1',
|
|
69
|
-
_g[ChainId.LIGHTLINK] = '0xD2f432d6260Ce513eA499Bc30a720e78ad26B4A1',
|
|
70
|
-
_g[ChainId.BASE] = '0xce512f490Bf09C4544A12a7264750B28FbE9AD76',
|
|
71
|
-
_g[ChainId.IOTA] = '0x048a5E910E44021A00c3769872Ff3804c2241deD',
|
|
72
|
-
_g);
|
|
73
|
-
export var MULTICALL_V2 = (_h = {},
|
|
74
|
-
_h[SupportedChainId.BSC] = '0x38ce767d81de3940CFa5020B55af1A400ED4F657',
|
|
75
|
-
_h[SupportedChainId.BSC_TESTNET] = '0x67ADCB4dF3931b0C5Da724058ADC2174a9844412',
|
|
76
|
-
_h[SupportedChainId.POLYGON] = '0x95028E5B8a734bb7E2071F96De89BABe75be9C8E',
|
|
77
|
-
_h[SupportedChainId.MAINNET] = '0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441',
|
|
78
|
-
_h[SupportedChainId.TLOS] = '0xa1a283f10f578201a97a8f69d8c15828b778f04b',
|
|
79
|
-
_h[SupportedChainId.ARBITRUM_ONE] = '0x089d8780e1c0789d0ef786bf001bee52d8351cad',
|
|
80
|
-
_h[ChainId.AVALANCHE] = '0xaad9d7d0c94f8bd2117fafaf3c35f77e9908740f',
|
|
81
|
-
_h[ChainId.FANTOM] = '0xdb9e00ce3b7afd5fece9b515c7f647e716282781',
|
|
82
|
-
_h[ChainId.OPTIMISM] = '0xdb9e00ce3b7afd5fece9b515c7f647e716282781',
|
|
83
|
-
_h[ChainId.POLYGON_ZK] = '0xe9654472e5bb9152cc5ef8c53c89839a8dc1f411',
|
|
84
|
-
_h[ChainId.CRONOS] = '0xDb9e00CE3B7AFD5fEce9B515c7f647E716282781',
|
|
85
|
-
_h[ChainId.GNOSIS] = '0xDb9e00CE3B7AFD5fEce9B515c7f647E716282781',
|
|
86
|
-
_h[ChainId.INJECTED_EVM_TESTNET] = '0xB52705F7082BFEB70E9dB26aD265ebEDB88D51f2',
|
|
87
|
-
_h[ChainId.SEPOLIA] = '0x4170Ebf53bbA01eb45594ad6F090d7FE5407be68',
|
|
88
|
-
_h[ChainId.INEVM] = '0x7039F6DDB900762c33842e406fB908EB8a03fB84',
|
|
89
|
-
_h[ChainId.LINEA] = '0x3f6F9c727C9fdf70Fe56f6e22Bc4dcb75206a78c',
|
|
90
|
-
_h[ChainId.LIGHTLINK] = '0xb9a543d7B7dF05C8845AeA6627dE4a6622Ac863C',
|
|
91
|
-
_h[ChainId.IOTA] = '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
92
|
-
_h[ChainId.BASE] = '0xDF845ff2dA2325Df9C6CC3DDF7418C54E16bbFDF',
|
|
93
|
-
_h);
|
|
94
|
-
export var SoulZapTokenManager = (_j = {},
|
|
95
|
-
_j[ChainId.POLYGON] = '0x3F15Ee3d7dd7AcFB14625A1E2FBce22912Fa91be',
|
|
96
|
-
_j[ChainId.LINEA] = '0x93b636d58656B2CCA69c539e511C14eb3b71DA2f',
|
|
97
|
-
_j[ChainId.BSC] = '0x7119014f0d75A7a31b875F79cE14b2a32B34B067',
|
|
98
|
-
_j[ChainId.BASE] = '0x0B750790dCa8f289fAB5eFd1a48EfAb969e51D16',
|
|
99
|
-
_j[ChainId.ARBITRUM_ONE] = '0x22572A548Ff26Fc5725a17dfd233F49a98c17EE7',
|
|
100
|
-
_j);
|
|
101
|
-
export var LENS_CONTRACT = (_k = {},
|
|
102
|
-
_k[SupportedChainId.BSC_TESTNET] = '0xcC51213d12431249001548228124c3bFAa359F96',
|
|
103
|
-
_k[SupportedChainId.BSC] = '0x2108f3a25C379d26fe29140F3991c24ed54B5Ec3',
|
|
104
|
-
_k);
|
|
105
|
-
export var LOCK_VEABOND_ADDRESSES = (_l = {},
|
|
106
|
-
_l[SupportedChainId.BSC] = '0x36cc29Cd24D55Fe8E56532A0fCc13978bf9f7293',
|
|
107
|
-
_l);
|
|
108
|
-
export var veABOND_ADDRESSES = (_m = {},
|
|
109
|
-
_m[SupportedChainId.BSC] = '0x1cE1b8e28E4D4c1C4dA01b69f5434A9Fb7BE023D',
|
|
110
|
-
_m[SupportedChainId.MAINNET] = '0x1cE1b8e28E4D4c1C4dA01b69f5434A9Fb7BE023D',
|
|
111
|
-
_m);
|
|
112
|
-
export var FEVEABOND_CLAIM_ADDRESSES = (_o = {},
|
|
113
|
-
_o[SupportedChainId.BSC] = '0x57b3e16f98fc83E39C6E53Bab4F8909c67F17A80',
|
|
114
|
-
_o);
|
|
115
|
-
export var CEX_BILL_ADDRESS = '0x6D7637683eaD28F775F56506602191fdE417fF60';
|
|
116
|
-
export var ACF_TO_ABOND = '0xEce2b9C3704632Ce760271B0b84E3A4A698Ca962';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export var apiV2BaseUrl = 'https://staging-api.ape.bond';
|
|
2
|
-
export var bondsRealTimeApi = 'https://realtime-api-staging.ape.bond/bonds';
|
|
3
|
-
export var baseUrlStrapi = 'https://apeswap-strapi.herokuapp.com';
|
|
4
|
-
export var mailChimpUrl = "";
|
|
5
|
-
export var LHD_API_TEMP = 'https://lhd-temp-api.herokuapp.com';
|
|
6
|
-
export var LHD_API = 'https://lhd-api.apeswap.finance';
|
|
@@ -1,436 +0,0 @@
|
|
|
1
|
-
var _a, _b, _c, _d, _e;
|
|
2
|
-
// Network chain ids
|
|
3
|
-
import { icons } from '../../components/uikit-sdk/Svg/types';
|
|
4
|
-
import { APESWAP_LIST_REPO } from './lists';
|
|
5
|
-
export var AVERAGE_L1_BLOCK_TIME = 12000;
|
|
6
|
-
//This is the list of supported EVM chains
|
|
7
|
-
export var ChainId;
|
|
8
|
-
(function (ChainId) {
|
|
9
|
-
ChainId[ChainId["MAINNET"] = 1] = "MAINNET";
|
|
10
|
-
ChainId[ChainId["ARBITRUM_ONE"] = 42161] = "ARBITRUM_ONE";
|
|
11
|
-
ChainId[ChainId["POLYGON"] = 137] = "POLYGON";
|
|
12
|
-
ChainId[ChainId["POLYGON_MUMBAI"] = 80001] = "POLYGON_MUMBAI";
|
|
13
|
-
ChainId[ChainId["BSC"] = 56] = "BSC";
|
|
14
|
-
ChainId[ChainId["BSC_TESTNET"] = 97] = "BSC_TESTNET";
|
|
15
|
-
ChainId[ChainId["TLOS"] = 40] = "TLOS";
|
|
16
|
-
ChainId[ChainId["AVALANCHE"] = 43114] = "AVALANCHE";
|
|
17
|
-
ChainId[ChainId["OPTIMISM"] = 10] = "OPTIMISM";
|
|
18
|
-
ChainId[ChainId["FANTOM"] = 250] = "FANTOM";
|
|
19
|
-
ChainId[ChainId["CRONOS"] = 25] = "CRONOS";
|
|
20
|
-
ChainId[ChainId["POLYGON_ZK"] = 1101] = "POLYGON_ZK";
|
|
21
|
-
ChainId[ChainId["CELO"] = 42220] = "CELO";
|
|
22
|
-
ChainId[ChainId["GNOSIS"] = 100] = "GNOSIS";
|
|
23
|
-
ChainId[ChainId["OKX"] = 66] = "OKX";
|
|
24
|
-
ChainId[ChainId["INJECTED_EVM_TESTNET"] = 2424] = "INJECTED_EVM_TESTNET";
|
|
25
|
-
ChainId[ChainId["INEVM"] = 2525] = "INEVM";
|
|
26
|
-
ChainId[ChainId["SEPOLIA"] = 11155111] = "SEPOLIA";
|
|
27
|
-
ChainId[ChainId["LINEA"] = 59144] = "LINEA";
|
|
28
|
-
ChainId[ChainId["LIGHTLINK"] = 1890] = "LIGHTLINK";
|
|
29
|
-
ChainId[ChainId["IOTA"] = 8822] = "IOTA";
|
|
30
|
-
ChainId[ChainId["IOTA_TESTNET"] = 1075] = "IOTA_TESTNET";
|
|
31
|
-
ChainId[ChainId["BASE"] = 8453] = "BASE";
|
|
32
|
-
})(ChainId || (ChainId = {}));
|
|
33
|
-
// These are the lists we will display to the user
|
|
34
|
-
export var MAINNET_CHAINS = [
|
|
35
|
-
ChainId.MAINNET,
|
|
36
|
-
ChainId.BSC,
|
|
37
|
-
ChainId.POLYGON,
|
|
38
|
-
ChainId.BASE,
|
|
39
|
-
ChainId.IOTA,
|
|
40
|
-
ChainId.LINEA,
|
|
41
|
-
ChainId.ARBITRUM_ONE,
|
|
42
|
-
ChainId.LIGHTLINK,
|
|
43
|
-
];
|
|
44
|
-
export var DEX_ONLY_CHAINS = [
|
|
45
|
-
ChainId.AVALANCHE,
|
|
46
|
-
ChainId.OPTIMISM,
|
|
47
|
-
ChainId.FANTOM,
|
|
48
|
-
//ChainId.CRONOS, temporarily disabled
|
|
49
|
-
ChainId.POLYGON_ZK,
|
|
50
|
-
ChainId.GNOSIS,
|
|
51
|
-
];
|
|
52
|
-
export var CHAIN_NAMES = (_a = {},
|
|
53
|
-
_a[ChainId.MAINNET] = 'mainnet',
|
|
54
|
-
_a[ChainId.ARBITRUM_ONE] = 'arbitrum_one',
|
|
55
|
-
_a[ChainId.POLYGON] = 'polygon',
|
|
56
|
-
_a[ChainId.POLYGON_MUMBAI] = 'polygon_mumbai',
|
|
57
|
-
_a[ChainId.BSC] = 'bnb_chain',
|
|
58
|
-
_a[ChainId.BSC_TESTNET] = 'bnb_chain_testnet',
|
|
59
|
-
_a[ChainId.TLOS] = 'telos',
|
|
60
|
-
_a[ChainId.AVALANCHE] = 'avalanche',
|
|
61
|
-
_a[ChainId.OPTIMISM] = 'optimism',
|
|
62
|
-
_a[ChainId.FANTOM] = 'fantom',
|
|
63
|
-
_a[ChainId.CRONOS] = 'cronos',
|
|
64
|
-
_a[ChainId.POLYGON_ZK] = 'polygon_zk',
|
|
65
|
-
_a[ChainId.CELO] = 'celo',
|
|
66
|
-
_a[ChainId.GNOSIS] = 'gnosis',
|
|
67
|
-
_a[ChainId.OKX] = 'okexchain',
|
|
68
|
-
_a[ChainId.INJECTED_EVM_TESTNET] = 'InEVM (test)',
|
|
69
|
-
_a[ChainId.INEVM] = 'inEVM',
|
|
70
|
-
_a[ChainId.SEPOLIA] = 'Sepolia',
|
|
71
|
-
_a[ChainId.LINEA] = 'Linea',
|
|
72
|
-
_a[ChainId.LIGHTLINK] = 'Lightlink_Phoenix',
|
|
73
|
-
_a[ChainId.IOTA] = 'Iota',
|
|
74
|
-
_a[ChainId.IOTA_TESTNET] = 'Iota_Testnet',
|
|
75
|
-
_a[ChainId.BASE] = 'Base',
|
|
76
|
-
_a);
|
|
77
|
-
// Network Icons
|
|
78
|
-
export var NETWORK_ICONS = (_b = {},
|
|
79
|
-
_b[ChainId.BSC] = icons.BNB_TOKEN,
|
|
80
|
-
_b[ChainId.POLYGON] = icons.POLYGON_TOKEN,
|
|
81
|
-
_b[ChainId.MAINNET] = icons.ETH_TOKEN,
|
|
82
|
-
_b[ChainId.TLOS] = icons.TLOS_TOKEN,
|
|
83
|
-
_b[ChainId.ARBITRUM_ONE] = icons.ARBITRUM_TOKEN,
|
|
84
|
-
_b[ChainId.AVALANCHE] = icons.AVAX_TOKEN,
|
|
85
|
-
_b[ChainId.OPTIMISM] = icons.OPTIMISM_TOKEN,
|
|
86
|
-
_b[ChainId.FANTOM] = icons.FANTOM_TOKEN,
|
|
87
|
-
_b[ChainId.CRONOS] = icons.CRONOS_TOKEN,
|
|
88
|
-
_b[ChainId.POLYGON_ZK] = icons.POLYGONZK_TOKEN,
|
|
89
|
-
_b[ChainId.CELO] = icons.CELO_TOKEN,
|
|
90
|
-
_b[ChainId.GNOSIS] = icons.GNOSIS_TOKEN,
|
|
91
|
-
_b[ChainId.OKX] = icons.OKX_TOKEN,
|
|
92
|
-
_b[ChainId.INJECTED_EVM_TESTNET] = icons.INEVM,
|
|
93
|
-
_b[ChainId.INEVM] = icons.INEVM,
|
|
94
|
-
_b[ChainId.SEPOLIA] = icons.ETH_TOKEN,
|
|
95
|
-
_b[ChainId.LINEA] = icons.LINEA,
|
|
96
|
-
_b[ChainId.LIGHTLINK] = icons.LIGHTLINK,
|
|
97
|
-
_b[ChainId.IOTA] = icons.IOTA,
|
|
98
|
-
_b[ChainId.BASE] = icons.BASE,
|
|
99
|
-
_b);
|
|
100
|
-
// Network labels
|
|
101
|
-
export var NETWORK_LABEL = (_c = {},
|
|
102
|
-
_c[ChainId.BSC] = 'BNB',
|
|
103
|
-
_c[ChainId.BSC_TESTNET] = 'BNB Testnet',
|
|
104
|
-
_c[ChainId.POLYGON] = 'Polygon',
|
|
105
|
-
_c[ChainId.POLYGON_MUMBAI] = 'Polygon Testnet',
|
|
106
|
-
_c[ChainId.MAINNET] = 'Ethereum',
|
|
107
|
-
_c[ChainId.TLOS] = 'Telos',
|
|
108
|
-
_c[ChainId.ARBITRUM_ONE] = 'Arbitrum',
|
|
109
|
-
_c[ChainId.AVALANCHE] = 'Avalanche',
|
|
110
|
-
_c[ChainId.OPTIMISM] = 'Optimism',
|
|
111
|
-
_c[ChainId.FANTOM] = 'Fantom',
|
|
112
|
-
_c[ChainId.CRONOS] = 'Cronos',
|
|
113
|
-
_c[ChainId.POLYGON_ZK] = 'zkEVM',
|
|
114
|
-
_c[ChainId.CELO] = 'Celo',
|
|
115
|
-
_c[ChainId.GNOSIS] = 'Gnosis',
|
|
116
|
-
_c[ChainId.OKX] = 'OKXChain',
|
|
117
|
-
_c[ChainId.INJECTED_EVM_TESTNET] = 'InEVM (test)',
|
|
118
|
-
_c[ChainId.INEVM] = 'inEVM',
|
|
119
|
-
_c[ChainId.SEPOLIA] = 'Sepolia',
|
|
120
|
-
_c[ChainId.LINEA] = 'Linea',
|
|
121
|
-
_c[ChainId.LIGHTLINK] = 'Lightlink',
|
|
122
|
-
_c[ChainId.IOTA] = 'Iota',
|
|
123
|
-
_c[ChainId.IOTA_TESTNET] = 'Iota Testnet',
|
|
124
|
-
_c[ChainId.BASE] = 'Base',
|
|
125
|
-
_c);
|
|
126
|
-
// Network block explorers
|
|
127
|
-
export var BLOCK_EXPLORER = (_d = {},
|
|
128
|
-
_d[ChainId.MAINNET] = 'https://etherscan.io',
|
|
129
|
-
_d[ChainId.ARBITRUM_ONE] = 'https://arbiscan.io',
|
|
130
|
-
_d[ChainId.POLYGON] = 'https://polygonscan.com',
|
|
131
|
-
_d[ChainId.POLYGON_MUMBAI] = 'https://mumbai.polygonscan.com',
|
|
132
|
-
_d[ChainId.BSC] = 'https://bscscan.com',
|
|
133
|
-
_d[ChainId.BSC_TESTNET] = 'https://testnet.bscscan.com',
|
|
134
|
-
_d[ChainId.TLOS] = 'https://www.teloscan.io',
|
|
135
|
-
_d[ChainId.AVALANCHE] = 'https://cchain.explorer.avax.network',
|
|
136
|
-
_d[ChainId.OPTIMISM] = 'https://optimistic.etherscan.io',
|
|
137
|
-
_d[ChainId.FANTOM] = 'https://ftmscan.com',
|
|
138
|
-
_d[ChainId.CRONOS] = 'https://cronos.crypto.org/explorer',
|
|
139
|
-
_d[ChainId.POLYGON_ZK] = 'https://zkevm.polygonscan.com',
|
|
140
|
-
_d[ChainId.CELO] = 'https://explorer.celo.org',
|
|
141
|
-
_d[ChainId.GNOSIS] = 'https://blockscout.com/xdai/mainnet',
|
|
142
|
-
_d[ChainId.OKX] = 'https://www.oklink.com/en/okc',
|
|
143
|
-
_d[ChainId.INJECTED_EVM_TESTNET] = 'https://testnet.explorer.inevm.com',
|
|
144
|
-
_d[ChainId.INEVM] = 'https://explorer.inevm.com',
|
|
145
|
-
_d[ChainId.SEPOLIA] = 'https://sepolia.etherscan.io',
|
|
146
|
-
_d[ChainId.LINEA] = 'https://lineascan.build',
|
|
147
|
-
_d[ChainId.LIGHTLINK] = 'https://phoenix.lightlink.io',
|
|
148
|
-
_d[ChainId.IOTA] = 'https://explorer.evm.iota.org',
|
|
149
|
-
_d[ChainId.IOTA_TESTNET] = 'https://explorer.evm.testnet.iotaledger.net/',
|
|
150
|
-
_d[ChainId.BASE] = 'https://basescan.org',
|
|
151
|
-
_d);
|
|
152
|
-
export var CHAIN_PARAMS = (_e = {},
|
|
153
|
-
_e[ChainId.BSC] = {
|
|
154
|
-
chainId: '0x38',
|
|
155
|
-
chainName: 'Binance Smart Chain',
|
|
156
|
-
nativeCurrency: {
|
|
157
|
-
name: 'bnb',
|
|
158
|
-
symbol: 'BNB',
|
|
159
|
-
decimals: 18,
|
|
160
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/BNB.svg"),
|
|
161
|
-
},
|
|
162
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.BSC]],
|
|
163
|
-
logoURI: "".concat(APESWAP_LIST_REPO, "/assets/wbnb.png"),
|
|
164
|
-
},
|
|
165
|
-
_e[ChainId.BSC_TESTNET] = {
|
|
166
|
-
chainId: '0x61',
|
|
167
|
-
chainName: 'Binance Smart Chain Testnet',
|
|
168
|
-
nativeCurrency: {
|
|
169
|
-
name: 'bnb',
|
|
170
|
-
symbol: 'BNB',
|
|
171
|
-
decimals: 18,
|
|
172
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/BNB.svg"),
|
|
173
|
-
},
|
|
174
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.BSC_TESTNET]],
|
|
175
|
-
logoURI: "".concat(APESWAP_LIST_REPO, "/assets/wbnb.png"),
|
|
176
|
-
},
|
|
177
|
-
_e[ChainId.POLYGON] = {
|
|
178
|
-
chainId: '0x89',
|
|
179
|
-
chainName: 'Matic',
|
|
180
|
-
nativeCurrency: {
|
|
181
|
-
name: 'Matic',
|
|
182
|
-
symbol: 'MATIC',
|
|
183
|
-
decimals: 18,
|
|
184
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/MATIC.svg"),
|
|
185
|
-
},
|
|
186
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.POLYGON]],
|
|
187
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon.svg',
|
|
188
|
-
},
|
|
189
|
-
_e[ChainId.POLYGON_MUMBAI] = {
|
|
190
|
-
chainId: '0x89',
|
|
191
|
-
chainName: 'Matic',
|
|
192
|
-
nativeCurrency: {
|
|
193
|
-
name: 'Matic',
|
|
194
|
-
symbol: 'MATIC',
|
|
195
|
-
decimals: 18,
|
|
196
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/MATIC.svg"),
|
|
197
|
-
},
|
|
198
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.POLYGON_MUMBAI]],
|
|
199
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon.svg',
|
|
200
|
-
},
|
|
201
|
-
_e[ChainId.MAINNET] = {
|
|
202
|
-
chainId: '0x1',
|
|
203
|
-
chainName: 'Ethereum',
|
|
204
|
-
nativeCurrency: {
|
|
205
|
-
name: 'Ethereum',
|
|
206
|
-
symbol: 'ETH',
|
|
207
|
-
decimals: 18,
|
|
208
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
209
|
-
},
|
|
210
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.MAINNET]],
|
|
211
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
|
|
212
|
-
},
|
|
213
|
-
_e[ChainId.TLOS] = {
|
|
214
|
-
chainId: '0x28',
|
|
215
|
-
chainName: 'Telos',
|
|
216
|
-
nativeCurrency: {
|
|
217
|
-
name: 'Telos',
|
|
218
|
-
symbol: 'TLOS',
|
|
219
|
-
decimals: 18,
|
|
220
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/TLOS.svg"),
|
|
221
|
-
},
|
|
222
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.TLOS]],
|
|
223
|
-
logoURI: "".concat(APESWAP_LIST_REPO, "/assets/wtlos.svg"),
|
|
224
|
-
},
|
|
225
|
-
_e[ChainId.ARBITRUM_ONE] = {
|
|
226
|
-
chainId: '0xa4b1',
|
|
227
|
-
chainName: 'Arbitrum',
|
|
228
|
-
nativeCurrency: {
|
|
229
|
-
name: 'Ether',
|
|
230
|
-
symbol: 'ETH',
|
|
231
|
-
decimals: 18,
|
|
232
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
233
|
-
},
|
|
234
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.ARBITRUM_ONE]],
|
|
235
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum.svg',
|
|
236
|
-
},
|
|
237
|
-
_e[ChainId.AVALANCHE] = {
|
|
238
|
-
chainId: '0xa86a',
|
|
239
|
-
chainName: 'Avalanche Mainnet',
|
|
240
|
-
nativeCurrency: {
|
|
241
|
-
name: 'AVAX',
|
|
242
|
-
symbol: 'AVAX',
|
|
243
|
-
decimals: 18,
|
|
244
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/AVAX.svg"),
|
|
245
|
-
},
|
|
246
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.AVALANCHE]],
|
|
247
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche.svg',
|
|
248
|
-
},
|
|
249
|
-
_e[ChainId.OPTIMISM] = {
|
|
250
|
-
chainId: '0xa',
|
|
251
|
-
chainName: 'Optimism',
|
|
252
|
-
nativeCurrency: {
|
|
253
|
-
name: 'ETH',
|
|
254
|
-
symbol: 'ETH',
|
|
255
|
-
decimals: 18,
|
|
256
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
257
|
-
},
|
|
258
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.OPTIMISM]],
|
|
259
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism.svg',
|
|
260
|
-
},
|
|
261
|
-
_e[ChainId.FANTOM] = {
|
|
262
|
-
chainId: '0xfa',
|
|
263
|
-
chainName: 'Fantom Opera',
|
|
264
|
-
nativeCurrency: {
|
|
265
|
-
name: 'FTM',
|
|
266
|
-
symbol: 'FTM',
|
|
267
|
-
decimals: 18,
|
|
268
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/FTM.svg"),
|
|
269
|
-
},
|
|
270
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.FANTOM]],
|
|
271
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fantom.svg',
|
|
272
|
-
},
|
|
273
|
-
_e[ChainId.CRONOS] = {
|
|
274
|
-
chainId: '0x19',
|
|
275
|
-
chainName: 'Cronos',
|
|
276
|
-
nativeCurrency: {
|
|
277
|
-
name: 'CRO',
|
|
278
|
-
symbol: 'CRO',
|
|
279
|
-
decimals: 18,
|
|
280
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/CRO.svg"),
|
|
281
|
-
},
|
|
282
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.CRONOS]],
|
|
283
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/cronos.svg',
|
|
284
|
-
},
|
|
285
|
-
_e[ChainId.POLYGON_ZK] = {
|
|
286
|
-
chainId: '0x44d',
|
|
287
|
-
chainName: 'zkEVM',
|
|
288
|
-
nativeCurrency: {
|
|
289
|
-
name: 'ETH',
|
|
290
|
-
symbol: 'ETH',
|
|
291
|
-
decimals: 18,
|
|
292
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
293
|
-
},
|
|
294
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.POLYGON_ZK]],
|
|
295
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
|
|
296
|
-
},
|
|
297
|
-
_e[ChainId.CELO] = {
|
|
298
|
-
chainId: '0xa4ec',
|
|
299
|
-
chainName: 'Celo Mainnet',
|
|
300
|
-
nativeCurrency: {
|
|
301
|
-
name: 'CELO',
|
|
302
|
-
symbol: 'CELO',
|
|
303
|
-
decimals: 18,
|
|
304
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/CELO.svg"),
|
|
305
|
-
},
|
|
306
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.CELO]],
|
|
307
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/celo.svg',
|
|
308
|
-
},
|
|
309
|
-
_e[ChainId.GNOSIS] = {
|
|
310
|
-
chainId: '0x64',
|
|
311
|
-
chainName: 'Gnosis',
|
|
312
|
-
nativeCurrency: {
|
|
313
|
-
name: 'xDai',
|
|
314
|
-
symbol: 'xDai',
|
|
315
|
-
decimals: 18,
|
|
316
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/XDAI.svg"),
|
|
317
|
-
},
|
|
318
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.GNOSIS]],
|
|
319
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/gnosis.svg',
|
|
320
|
-
},
|
|
321
|
-
_e[ChainId.OKX] = {
|
|
322
|
-
chainId: '0x42',
|
|
323
|
-
chainName: 'OKXChain Mainnet',
|
|
324
|
-
nativeCurrency: {
|
|
325
|
-
name: 'OKT',
|
|
326
|
-
symbol: 'OKT',
|
|
327
|
-
decimals: 18,
|
|
328
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/OKT.svg"),
|
|
329
|
-
},
|
|
330
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.GNOSIS]],
|
|
331
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/okx.svg',
|
|
332
|
-
},
|
|
333
|
-
_e[ChainId.INJECTED_EVM_TESTNET] = {
|
|
334
|
-
chainId: '0x978',
|
|
335
|
-
chainName: 'InEVM (test)',
|
|
336
|
-
nativeCurrency: {
|
|
337
|
-
name: 'INJ',
|
|
338
|
-
symbol: 'INJ',
|
|
339
|
-
decimals: 18,
|
|
340
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
341
|
-
},
|
|
342
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.INJECTED_EVM_TESTNET]],
|
|
343
|
-
logoURI: 'https://docs.injective.network/img/injective.svg',
|
|
344
|
-
},
|
|
345
|
-
_e[ChainId.INEVM] = {
|
|
346
|
-
chainId: '0x978',
|
|
347
|
-
chainName: 'InEVM',
|
|
348
|
-
nativeCurrency: {
|
|
349
|
-
name: 'INJ',
|
|
350
|
-
symbol: 'INJ',
|
|
351
|
-
decimals: 18,
|
|
352
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/INJ.svg"),
|
|
353
|
-
},
|
|
354
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.INEVM]],
|
|
355
|
-
logoURI: 'https://docs.injective.network/img/injective.svg',
|
|
356
|
-
},
|
|
357
|
-
_e[ChainId.SEPOLIA] = {
|
|
358
|
-
chainId: '0xaa36a7',
|
|
359
|
-
chainName: 'Sepolia',
|
|
360
|
-
nativeCurrency: {
|
|
361
|
-
name: 'ETH',
|
|
362
|
-
symbol: 'ETH',
|
|
363
|
-
decimals: 18,
|
|
364
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
365
|
-
},
|
|
366
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.SEPOLIA]],
|
|
367
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
|
|
368
|
-
},
|
|
369
|
-
_e[ChainId.LINEA] = {
|
|
370
|
-
chainId: '0xe708',
|
|
371
|
-
chainName: 'Linea',
|
|
372
|
-
nativeCurrency: {
|
|
373
|
-
name: 'ETH',
|
|
374
|
-
symbol: 'ETH',
|
|
375
|
-
decimals: 18,
|
|
376
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
377
|
-
},
|
|
378
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.LINEA]],
|
|
379
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
|
|
380
|
-
},
|
|
381
|
-
_e[ChainId.LIGHTLINK] = {
|
|
382
|
-
chainId: '0x762',
|
|
383
|
-
chainName: 'Lightlink Phoenix',
|
|
384
|
-
nativeCurrency: {
|
|
385
|
-
name: 'ETH',
|
|
386
|
-
symbol: 'ETH',
|
|
387
|
-
decimals: 18,
|
|
388
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
389
|
-
},
|
|
390
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.LIGHTLINK]],
|
|
391
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
|
|
392
|
-
},
|
|
393
|
-
_e[ChainId.IOTA] = {
|
|
394
|
-
chainId: '0x2276',
|
|
395
|
-
chainName: 'IOTA',
|
|
396
|
-
nativeCurrency: {
|
|
397
|
-
name: 'IOTA',
|
|
398
|
-
symbol: 'IOTA',
|
|
399
|
-
decimals: 18,
|
|
400
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/IOTA.svg"),
|
|
401
|
-
},
|
|
402
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.IOTA]],
|
|
403
|
-
logoURI: "".concat(APESWAP_LIST_REPO, "/assets/IOTA.svg"),
|
|
404
|
-
},
|
|
405
|
-
_e[ChainId.IOTA_TESTNET] = {
|
|
406
|
-
chainId: '0x433',
|
|
407
|
-
chainName: 'IOTA',
|
|
408
|
-
nativeCurrency: {
|
|
409
|
-
name: 'IOTA',
|
|
410
|
-
symbol: 'IOTA',
|
|
411
|
-
decimals: 18,
|
|
412
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/IOTA.svg"),
|
|
413
|
-
},
|
|
414
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.IOTA_TESTNET]],
|
|
415
|
-
logoURI: "".concat(APESWAP_LIST_REPO, "/assets/IOTA.svg"),
|
|
416
|
-
},
|
|
417
|
-
_e[ChainId.BASE] = {
|
|
418
|
-
chainId: '0x2105',
|
|
419
|
-
chainName: 'BASE',
|
|
420
|
-
nativeCurrency: {
|
|
421
|
-
name: 'ETH',
|
|
422
|
-
symbol: 'ETH',
|
|
423
|
-
decimals: 18,
|
|
424
|
-
logo: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
425
|
-
},
|
|
426
|
-
blockExplorerUrls: [BLOCK_EXPLORER[ChainId.BASE]],
|
|
427
|
-
logoURI: "".concat(APESWAP_LIST_REPO, "/assets/ETH.svg"),
|
|
428
|
-
},
|
|
429
|
-
_e);
|
|
430
|
-
export var getChainInfo = function (chainId) {
|
|
431
|
-
var _a;
|
|
432
|
-
if (chainId) {
|
|
433
|
-
return (_a = CHAIN_PARAMS[chainId]) !== null && _a !== void 0 ? _a : undefined;
|
|
434
|
-
}
|
|
435
|
-
return undefined;
|
|
436
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
2
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
3
|
-
if (ar || !(i in from)) {
|
|
4
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
5
|
-
ar[i] = from[i];
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
9
|
-
};
|
|
10
|
-
export var APESWAP_LIST_REPO_BRANCH = 'staging';
|
|
11
|
-
export var APESWAP_LISTS_URL = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-lists/".concat(APESWAP_LIST_REPO_BRANCH);
|
|
12
|
-
export var APESWAP_LIST_REPO = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-token-lists/".concat(APESWAP_LIST_REPO_BRANCH);
|
|
13
|
-
export var APESWAP = "".concat(APESWAP_LIST_REPO, "/lists/apeswap.json");
|
|
14
|
-
export var LIFI = 'https://li.quest/v1/tokens';
|
|
15
|
-
export var UNSUPPORTED_LIST_URLS = [];
|
|
16
|
-
// default lists to be 'active' aka searched across
|
|
17
|
-
export var DEFAULT_ACTIVE_LIST_URLS = [APESWAP, LIFI];
|
|
18
|
-
// need to load unsupported tokens as well
|
|
19
|
-
export var DEFAULT_INACTIVE_LIST_URLS = UNSUPPORTED_LIST_URLS;
|
|
20
|
-
export var DEFAULT_LIST_OF_LISTS = __spreadArray(__spreadArray([], DEFAULT_ACTIVE_LIST_URLS, true), DEFAULT_INACTIVE_LIST_URLS, true);
|
|
21
|
-
export var APE_CHAIN_LISTS = [1, 56, 137, 42161, 2525];
|