@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,85 +1,81 @@
|
|
|
1
|
-
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from
|
|
2
|
-
import type { FunctionFragment, Result, EventFragment } from
|
|
3
|
-
import type { Listener, Provider } from
|
|
4
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from
|
|
1
|
+
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from 'ethers';
|
|
2
|
+
import type { FunctionFragment, Result, EventFragment } from '@ethersproject/abi';
|
|
3
|
+
import type { Listener, Provider } from '@ethersproject/providers';
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common';
|
|
5
5
|
export interface PriceGetterInterface extends utils.Interface {
|
|
6
6
|
functions: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
7
|
+
'DECIMALS()': FunctionFragment;
|
|
8
|
+
'FACTORY()': FunctionFragment;
|
|
9
|
+
'INITCODEHASH()': FunctionFragment;
|
|
10
|
+
'defaultFactoryAlgebra()': FunctionFragment;
|
|
11
|
+
'defaultFactorySolidly()': FunctionFragment;
|
|
12
|
+
'defaultFactoryV2()': FunctionFragment;
|
|
13
|
+
'defaultFactoryV3()': FunctionFragment;
|
|
14
|
+
'getETHPrice(uint32)': FunctionFragment;
|
|
15
|
+
'getETHPrice()': FunctionFragment;
|
|
16
|
+
'getLPPrice(address,uint256)': FunctionFragment;
|
|
17
|
+
'getLPPriceAlgebra(address,address)': FunctionFragment;
|
|
18
|
+
'getLPPriceAlgebraFromFactory(address,address,address)': FunctionFragment;
|
|
19
|
+
'getLPPriceFromFactory(address,uint8,address,address,address,address)': FunctionFragment;
|
|
20
|
+
'getLPPriceGamma(address)': FunctionFragment;
|
|
21
|
+
'getLPPriceGammaFromFactory(address,address,address)': FunctionFragment;
|
|
22
|
+
'getLPPriceSolidly(address)': FunctionFragment;
|
|
23
|
+
'getLPPriceSolidlyFromFactory(address,address)': FunctionFragment;
|
|
24
|
+
'getLPPriceSteerFromFactory(address,address,address)': FunctionFragment;
|
|
25
|
+
'getLPPriceV2(address)': FunctionFragment;
|
|
26
|
+
'getLPPriceV2FromFactory(address,address)': FunctionFragment;
|
|
27
|
+
'getLPPriceV3(address,address,uint24)': FunctionFragment;
|
|
28
|
+
'getLPPriceV3FromFactory(address,address,address,uint24)': FunctionFragment;
|
|
29
|
+
'getLPPrices(address[],uint256)': FunctionFragment;
|
|
30
|
+
'getLPPricesSolidly(address[])': FunctionFragment;
|
|
31
|
+
'getLPPricesSolidlyFromFactory(address,address[])': FunctionFragment;
|
|
32
|
+
'getLPPricesV2(address[])': FunctionFragment;
|
|
33
|
+
'getLPPricesV2FromFactory(address,address[])': FunctionFragment;
|
|
34
|
+
'getLPPricesV3(address[],address[],uint24[])': FunctionFragment;
|
|
35
|
+
'getLPPricesV3FromFactory(address,address[],address[],uint24[])': FunctionFragment;
|
|
36
|
+
'getNativePrice()': FunctionFragment;
|
|
37
|
+
'getNativePrice(uint8)': FunctionFragment;
|
|
38
|
+
'getNativePriceFromFactory(uint8,address,address,address)': FunctionFragment;
|
|
39
|
+
'getPrice(address,uint32)': FunctionFragment;
|
|
40
|
+
'getPriceAlgebra(address)': FunctionFragment;
|
|
41
|
+
'getPriceAlgebraFromFactory(address,address)': FunctionFragment;
|
|
42
|
+
'getPriceFromFactory(address,uint8,address,address,address,address)': FunctionFragment;
|
|
43
|
+
'getPriceV2(address)': FunctionFragment;
|
|
44
|
+
'getPriceV2FromFactory(address,address)': FunctionFragment;
|
|
45
|
+
'getPriceV3(address)': FunctionFragment;
|
|
46
|
+
'getPriceV3FromFactory(address,address)': FunctionFragment;
|
|
47
|
+
'getPrices(address[],uint8)': FunctionFragment;
|
|
48
|
+
'getPrices(address[],uint256)': FunctionFragment;
|
|
49
|
+
'getPrices(address[],uint32)': FunctionFragment;
|
|
50
|
+
'getPricesFromFactory(address[],uint8,address,address,address,address)': FunctionFragment;
|
|
51
|
+
'getRawPrice(address)': FunctionFragment;
|
|
52
|
+
'getRawPrices(address[])': FunctionFragment;
|
|
53
|
+
'initialize(address,address,address,address,address,address[],address[],address[])': FunctionFragment;
|
|
54
|
+
'owner()': FunctionFragment;
|
|
55
|
+
'removeTokenOracle(address)': FunctionFragment;
|
|
56
|
+
'renounceOwnership()': FunctionFragment;
|
|
57
|
+
'secondsAgo()': FunctionFragment;
|
|
58
|
+
'setTokenOracle(address,address,uint8)': FunctionFragment;
|
|
59
|
+
'stableUsdTokenDecimals(address)': FunctionFragment;
|
|
60
|
+
'stableUsdTokens(uint256)': FunctionFragment;
|
|
61
|
+
'tokenOracles(address)': FunctionFragment;
|
|
62
|
+
'transferOwnership(address)': FunctionFragment;
|
|
63
|
+
'wNative()': FunctionFragment;
|
|
64
64
|
};
|
|
65
|
-
getFunction(nameOrSignatureOrTopic:
|
|
66
|
-
encodeFunctionData(functionFragment:
|
|
67
|
-
encodeFunctionData(functionFragment:
|
|
68
|
-
encodeFunctionData(functionFragment:
|
|
69
|
-
encodeFunctionData(functionFragment:
|
|
70
|
-
encodeFunctionData(functionFragment:
|
|
71
|
-
encodeFunctionData(functionFragment:
|
|
72
|
-
encodeFunctionData(functionFragment:
|
|
73
|
-
encodeFunctionData(functionFragment:
|
|
74
|
-
encodeFunctionData(functionFragment:
|
|
75
|
-
encodeFunctionData(functionFragment:
|
|
76
|
-
encodeFunctionData(functionFragment:
|
|
77
|
-
encodeFunctionData(functionFragment:
|
|
78
|
-
|
|
79
|
-
PromiseOrValue<string>,
|
|
80
|
-
PromiseOrValue<string>
|
|
81
|
-
]): string;
|
|
82
|
-
encodeFunctionData(functionFragment: "getLPPriceFromFactory", values: [
|
|
65
|
+
getFunction(nameOrSignatureOrTopic: 'DECIMALS' | 'FACTORY' | 'INITCODEHASH' | 'defaultFactoryAlgebra' | 'defaultFactorySolidly' | 'defaultFactoryV2' | 'defaultFactoryV3' | 'getETHPrice(uint32)' | 'getETHPrice()' | 'getLPPrice' | 'getLPPriceAlgebra' | 'getLPPriceAlgebraFromFactory' | 'getLPPriceFromFactory' | 'getLPPriceGamma' | 'getLPPriceGammaFromFactory' | 'getLPPriceSolidly' | 'getLPPriceSolidlyFromFactory' | 'getLPPriceSteerFromFactory' | 'getLPPriceV2' | 'getLPPriceV2FromFactory' | 'getLPPriceV3' | 'getLPPriceV3FromFactory' | 'getLPPrices' | 'getLPPricesSolidly' | 'getLPPricesSolidlyFromFactory' | 'getLPPricesV2' | 'getLPPricesV2FromFactory' | 'getLPPricesV3' | 'getLPPricesV3FromFactory' | 'getNativePrice()' | 'getNativePrice(uint8)' | 'getNativePriceFromFactory' | 'getPrice' | 'getPriceAlgebra' | 'getPriceAlgebraFromFactory' | 'getPriceFromFactory' | 'getPriceV2' | 'getPriceV2FromFactory' | 'getPriceV3' | 'getPriceV3FromFactory' | 'getPrices(address[],uint8)' | 'getPrices(address[],uint256)' | 'getPrices(address[],uint32)' | 'getPricesFromFactory' | 'getRawPrice' | 'getRawPrices' | 'initialize' | 'owner' | 'removeTokenOracle' | 'renounceOwnership' | 'secondsAgo' | 'setTokenOracle' | 'stableUsdTokenDecimals' | 'stableUsdTokens' | 'tokenOracles' | 'transferOwnership' | 'wNative'): FunctionFragment;
|
|
66
|
+
encodeFunctionData(functionFragment: 'DECIMALS', values?: undefined): string;
|
|
67
|
+
encodeFunctionData(functionFragment: 'FACTORY', values?: undefined): string;
|
|
68
|
+
encodeFunctionData(functionFragment: 'INITCODEHASH', values?: undefined): string;
|
|
69
|
+
encodeFunctionData(functionFragment: 'defaultFactoryAlgebra', values?: undefined): string;
|
|
70
|
+
encodeFunctionData(functionFragment: 'defaultFactorySolidly', values?: undefined): string;
|
|
71
|
+
encodeFunctionData(functionFragment: 'defaultFactoryV2', values?: undefined): string;
|
|
72
|
+
encodeFunctionData(functionFragment: 'defaultFactoryV3', values?: undefined): string;
|
|
73
|
+
encodeFunctionData(functionFragment: 'getETHPrice(uint32)', values: [PromiseOrValue<BigNumberish>]): string;
|
|
74
|
+
encodeFunctionData(functionFragment: 'getETHPrice()', values?: undefined): string;
|
|
75
|
+
encodeFunctionData(functionFragment: 'getLPPrice', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
76
|
+
encodeFunctionData(functionFragment: 'getLPPriceAlgebra', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
77
|
+
encodeFunctionData(functionFragment: 'getLPPriceAlgebraFromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
78
|
+
encodeFunctionData(functionFragment: 'getLPPriceFromFactory', values: [
|
|
83
79
|
PromiseOrValue<string>,
|
|
84
80
|
PromiseOrValue<BigNumberish>,
|
|
85
81
|
PromiseOrValue<string>,
|
|
@@ -87,60 +83,34 @@ export interface PriceGetterInterface extends utils.Interface {
|
|
|
87
83
|
PromiseOrValue<string>,
|
|
88
84
|
PromiseOrValue<string>
|
|
89
85
|
]): string;
|
|
90
|
-
encodeFunctionData(functionFragment:
|
|
91
|
-
encodeFunctionData(functionFragment:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
]): string;
|
|
96
|
-
encodeFunctionData(functionFragment:
|
|
97
|
-
encodeFunctionData(functionFragment:
|
|
98
|
-
encodeFunctionData(functionFragment:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
]): string;
|
|
103
|
-
encodeFunctionData(functionFragment:
|
|
104
|
-
encodeFunctionData(functionFragment:
|
|
105
|
-
encodeFunctionData(functionFragment:
|
|
106
|
-
PromiseOrValue<string>,
|
|
107
|
-
PromiseOrValue<string>,
|
|
108
|
-
PromiseOrValue<BigNumberish>
|
|
109
|
-
]): string;
|
|
110
|
-
encodeFunctionData(functionFragment: "getLPPriceV3FromFactory", values: [
|
|
111
|
-
PromiseOrValue<string>,
|
|
86
|
+
encodeFunctionData(functionFragment: 'getLPPriceGamma', values: [PromiseOrValue<string>]): string;
|
|
87
|
+
encodeFunctionData(functionFragment: 'getLPPriceGammaFromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
88
|
+
encodeFunctionData(functionFragment: 'getLPPriceSolidly', values: [PromiseOrValue<string>]): string;
|
|
89
|
+
encodeFunctionData(functionFragment: 'getLPPriceSolidlyFromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
90
|
+
encodeFunctionData(functionFragment: 'getLPPriceSteerFromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
91
|
+
encodeFunctionData(functionFragment: 'getLPPriceV2', values: [PromiseOrValue<string>]): string;
|
|
92
|
+
encodeFunctionData(functionFragment: 'getLPPriceV2FromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
93
|
+
encodeFunctionData(functionFragment: 'getLPPriceV3', values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
94
|
+
encodeFunctionData(functionFragment: 'getLPPriceV3FromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
95
|
+
encodeFunctionData(functionFragment: 'getLPPrices', values: [PromiseOrValue<string>[], PromiseOrValue<BigNumberish>]): string;
|
|
96
|
+
encodeFunctionData(functionFragment: 'getLPPricesSolidly', values: [PromiseOrValue<string>[]]): string;
|
|
97
|
+
encodeFunctionData(functionFragment: 'getLPPricesSolidlyFromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>[]]): string;
|
|
98
|
+
encodeFunctionData(functionFragment: 'getLPPricesV2', values: [PromiseOrValue<string>[]]): string;
|
|
99
|
+
encodeFunctionData(functionFragment: 'getLPPricesV2FromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>[]]): string;
|
|
100
|
+
encodeFunctionData(functionFragment: 'getLPPricesV3', values: [PromiseOrValue<string>[], PromiseOrValue<string>[], PromiseOrValue<BigNumberish>[]]): string;
|
|
101
|
+
encodeFunctionData(functionFragment: 'getLPPricesV3FromFactory', values: [
|
|
112
102
|
PromiseOrValue<string>,
|
|
113
|
-
PromiseOrValue<string>,
|
|
114
|
-
PromiseOrValue<BigNumberish>
|
|
115
|
-
]): string;
|
|
116
|
-
encodeFunctionData(functionFragment: "getLPPrices", values: [PromiseOrValue<string>[], PromiseOrValue<BigNumberish>]): string;
|
|
117
|
-
encodeFunctionData(functionFragment: "getLPPricesSolidly", values: [PromiseOrValue<string>[]]): string;
|
|
118
|
-
encodeFunctionData(functionFragment: "getLPPricesSolidlyFromFactory", values: [PromiseOrValue<string>, PromiseOrValue<string>[]]): string;
|
|
119
|
-
encodeFunctionData(functionFragment: "getLPPricesV2", values: [PromiseOrValue<string>[]]): string;
|
|
120
|
-
encodeFunctionData(functionFragment: "getLPPricesV2FromFactory", values: [PromiseOrValue<string>, PromiseOrValue<string>[]]): string;
|
|
121
|
-
encodeFunctionData(functionFragment: "getLPPricesV3", values: [
|
|
122
103
|
PromiseOrValue<string>[],
|
|
123
104
|
PromiseOrValue<string>[],
|
|
124
105
|
PromiseOrValue<BigNumberish>[]
|
|
125
106
|
]): string;
|
|
126
|
-
encodeFunctionData(functionFragment:
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
]): string;
|
|
132
|
-
encodeFunctionData(functionFragment:
|
|
133
|
-
encodeFunctionData(functionFragment: "getNativePrice(uint8)", values: [PromiseOrValue<BigNumberish>]): string;
|
|
134
|
-
encodeFunctionData(functionFragment: "getNativePriceFromFactory", values: [
|
|
135
|
-
PromiseOrValue<BigNumberish>,
|
|
136
|
-
PromiseOrValue<string>,
|
|
137
|
-
PromiseOrValue<string>,
|
|
138
|
-
PromiseOrValue<string>
|
|
139
|
-
]): string;
|
|
140
|
-
encodeFunctionData(functionFragment: "getPrice", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
141
|
-
encodeFunctionData(functionFragment: "getPriceAlgebra", values: [PromiseOrValue<string>]): string;
|
|
142
|
-
encodeFunctionData(functionFragment: "getPriceAlgebraFromFactory", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
143
|
-
encodeFunctionData(functionFragment: "getPriceFromFactory", values: [
|
|
107
|
+
encodeFunctionData(functionFragment: 'getNativePrice()', values?: undefined): string;
|
|
108
|
+
encodeFunctionData(functionFragment: 'getNativePrice(uint8)', values: [PromiseOrValue<BigNumberish>]): string;
|
|
109
|
+
encodeFunctionData(functionFragment: 'getNativePriceFromFactory', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
110
|
+
encodeFunctionData(functionFragment: 'getPrice', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
111
|
+
encodeFunctionData(functionFragment: 'getPriceAlgebra', values: [PromiseOrValue<string>]): string;
|
|
112
|
+
encodeFunctionData(functionFragment: 'getPriceAlgebraFromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
113
|
+
encodeFunctionData(functionFragment: 'getPriceFromFactory', values: [
|
|
144
114
|
PromiseOrValue<string>,
|
|
145
115
|
PromiseOrValue<BigNumberish>,
|
|
146
116
|
PromiseOrValue<string>,
|
|
@@ -148,14 +118,14 @@ export interface PriceGetterInterface extends utils.Interface {
|
|
|
148
118
|
PromiseOrValue<string>,
|
|
149
119
|
PromiseOrValue<string>
|
|
150
120
|
]): string;
|
|
151
|
-
encodeFunctionData(functionFragment:
|
|
152
|
-
encodeFunctionData(functionFragment:
|
|
153
|
-
encodeFunctionData(functionFragment:
|
|
154
|
-
encodeFunctionData(functionFragment:
|
|
155
|
-
encodeFunctionData(functionFragment:
|
|
156
|
-
encodeFunctionData(functionFragment:
|
|
157
|
-
encodeFunctionData(functionFragment:
|
|
158
|
-
encodeFunctionData(functionFragment:
|
|
121
|
+
encodeFunctionData(functionFragment: 'getPriceV2', values: [PromiseOrValue<string>]): string;
|
|
122
|
+
encodeFunctionData(functionFragment: 'getPriceV2FromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
123
|
+
encodeFunctionData(functionFragment: 'getPriceV3', values: [PromiseOrValue<string>]): string;
|
|
124
|
+
encodeFunctionData(functionFragment: 'getPriceV3FromFactory', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
125
|
+
encodeFunctionData(functionFragment: 'getPrices(address[],uint8)', values: [PromiseOrValue<string>[], PromiseOrValue<BigNumberish>]): string;
|
|
126
|
+
encodeFunctionData(functionFragment: 'getPrices(address[],uint256)', values: [PromiseOrValue<string>[], PromiseOrValue<BigNumberish>]): string;
|
|
127
|
+
encodeFunctionData(functionFragment: 'getPrices(address[],uint32)', values: [PromiseOrValue<string>[], PromiseOrValue<BigNumberish>]): string;
|
|
128
|
+
encodeFunctionData(functionFragment: 'getPricesFromFactory', values: [
|
|
159
129
|
PromiseOrValue<string>[],
|
|
160
130
|
PromiseOrValue<BigNumberish>,
|
|
161
131
|
PromiseOrValue<string>,
|
|
@@ -163,9 +133,9 @@ export interface PriceGetterInterface extends utils.Interface {
|
|
|
163
133
|
PromiseOrValue<string>,
|
|
164
134
|
PromiseOrValue<string>
|
|
165
135
|
]): string;
|
|
166
|
-
encodeFunctionData(functionFragment:
|
|
167
|
-
encodeFunctionData(functionFragment:
|
|
168
|
-
encodeFunctionData(functionFragment:
|
|
136
|
+
encodeFunctionData(functionFragment: 'getRawPrice', values: [PromiseOrValue<string>]): string;
|
|
137
|
+
encodeFunctionData(functionFragment: 'getRawPrices', values: [PromiseOrValue<string>[]]): string;
|
|
138
|
+
encodeFunctionData(functionFragment: 'initialize', values: [
|
|
169
139
|
PromiseOrValue<string>,
|
|
170
140
|
PromiseOrValue<string>,
|
|
171
141
|
PromiseOrValue<string>,
|
|
@@ -175,83 +145,79 @@ export interface PriceGetterInterface extends utils.Interface {
|
|
|
175
145
|
PromiseOrValue<string>[],
|
|
176
146
|
PromiseOrValue<string>[]
|
|
177
147
|
]): string;
|
|
178
|
-
encodeFunctionData(functionFragment:
|
|
179
|
-
encodeFunctionData(functionFragment:
|
|
180
|
-
encodeFunctionData(functionFragment:
|
|
181
|
-
encodeFunctionData(functionFragment:
|
|
182
|
-
encodeFunctionData(functionFragment:
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
]): string;
|
|
187
|
-
encodeFunctionData(functionFragment:
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
decodeFunctionResult(functionFragment:
|
|
193
|
-
decodeFunctionResult(functionFragment:
|
|
194
|
-
decodeFunctionResult(functionFragment:
|
|
195
|
-
decodeFunctionResult(functionFragment:
|
|
196
|
-
decodeFunctionResult(functionFragment:
|
|
197
|
-
decodeFunctionResult(functionFragment:
|
|
198
|
-
decodeFunctionResult(functionFragment:
|
|
199
|
-
decodeFunctionResult(functionFragment:
|
|
200
|
-
decodeFunctionResult(functionFragment:
|
|
201
|
-
decodeFunctionResult(functionFragment:
|
|
202
|
-
decodeFunctionResult(functionFragment:
|
|
203
|
-
decodeFunctionResult(functionFragment:
|
|
204
|
-
decodeFunctionResult(functionFragment:
|
|
205
|
-
decodeFunctionResult(functionFragment:
|
|
206
|
-
decodeFunctionResult(functionFragment:
|
|
207
|
-
decodeFunctionResult(functionFragment:
|
|
208
|
-
decodeFunctionResult(functionFragment:
|
|
209
|
-
decodeFunctionResult(functionFragment:
|
|
210
|
-
decodeFunctionResult(functionFragment:
|
|
211
|
-
decodeFunctionResult(functionFragment:
|
|
212
|
-
decodeFunctionResult(functionFragment:
|
|
213
|
-
decodeFunctionResult(functionFragment:
|
|
214
|
-
decodeFunctionResult(functionFragment:
|
|
215
|
-
decodeFunctionResult(functionFragment:
|
|
216
|
-
decodeFunctionResult(functionFragment:
|
|
217
|
-
decodeFunctionResult(functionFragment:
|
|
218
|
-
decodeFunctionResult(functionFragment:
|
|
219
|
-
decodeFunctionResult(functionFragment:
|
|
220
|
-
decodeFunctionResult(functionFragment:
|
|
221
|
-
decodeFunctionResult(functionFragment:
|
|
222
|
-
decodeFunctionResult(functionFragment:
|
|
223
|
-
decodeFunctionResult(functionFragment:
|
|
224
|
-
decodeFunctionResult(functionFragment:
|
|
225
|
-
decodeFunctionResult(functionFragment:
|
|
226
|
-
decodeFunctionResult(functionFragment:
|
|
227
|
-
decodeFunctionResult(functionFragment:
|
|
228
|
-
decodeFunctionResult(functionFragment:
|
|
229
|
-
decodeFunctionResult(functionFragment:
|
|
230
|
-
decodeFunctionResult(functionFragment:
|
|
231
|
-
decodeFunctionResult(functionFragment:
|
|
232
|
-
decodeFunctionResult(functionFragment:
|
|
233
|
-
decodeFunctionResult(functionFragment:
|
|
234
|
-
decodeFunctionResult(functionFragment:
|
|
235
|
-
decodeFunctionResult(functionFragment:
|
|
236
|
-
decodeFunctionResult(functionFragment:
|
|
237
|
-
decodeFunctionResult(functionFragment:
|
|
238
|
-
decodeFunctionResult(functionFragment:
|
|
239
|
-
decodeFunctionResult(functionFragment:
|
|
240
|
-
decodeFunctionResult(functionFragment:
|
|
241
|
-
decodeFunctionResult(functionFragment:
|
|
242
|
-
decodeFunctionResult(functionFragment:
|
|
243
|
-
decodeFunctionResult(functionFragment:
|
|
244
|
-
decodeFunctionResult(functionFragment:
|
|
245
|
-
decodeFunctionResult(functionFragment: "stableUsdTokens", data: BytesLike): Result;
|
|
246
|
-
decodeFunctionResult(functionFragment: "tokenOracles", data: BytesLike): Result;
|
|
247
|
-
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
248
|
-
decodeFunctionResult(functionFragment: "wNative", data: BytesLike): Result;
|
|
148
|
+
encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
|
|
149
|
+
encodeFunctionData(functionFragment: 'removeTokenOracle', values: [PromiseOrValue<string>]): string;
|
|
150
|
+
encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
|
|
151
|
+
encodeFunctionData(functionFragment: 'secondsAgo', values?: undefined): string;
|
|
152
|
+
encodeFunctionData(functionFragment: 'setTokenOracle', values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
153
|
+
encodeFunctionData(functionFragment: 'stableUsdTokenDecimals', values: [PromiseOrValue<string>]): string;
|
|
154
|
+
encodeFunctionData(functionFragment: 'stableUsdTokens', values: [PromiseOrValue<BigNumberish>]): string;
|
|
155
|
+
encodeFunctionData(functionFragment: 'tokenOracles', values: [PromiseOrValue<string>]): string;
|
|
156
|
+
encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>]): string;
|
|
157
|
+
encodeFunctionData(functionFragment: 'wNative', values?: undefined): string;
|
|
158
|
+
decodeFunctionResult(functionFragment: 'DECIMALS', data: BytesLike): Result;
|
|
159
|
+
decodeFunctionResult(functionFragment: 'FACTORY', data: BytesLike): Result;
|
|
160
|
+
decodeFunctionResult(functionFragment: 'INITCODEHASH', data: BytesLike): Result;
|
|
161
|
+
decodeFunctionResult(functionFragment: 'defaultFactoryAlgebra', data: BytesLike): Result;
|
|
162
|
+
decodeFunctionResult(functionFragment: 'defaultFactorySolidly', data: BytesLike): Result;
|
|
163
|
+
decodeFunctionResult(functionFragment: 'defaultFactoryV2', data: BytesLike): Result;
|
|
164
|
+
decodeFunctionResult(functionFragment: 'defaultFactoryV3', data: BytesLike): Result;
|
|
165
|
+
decodeFunctionResult(functionFragment: 'getETHPrice(uint32)', data: BytesLike): Result;
|
|
166
|
+
decodeFunctionResult(functionFragment: 'getETHPrice()', data: BytesLike): Result;
|
|
167
|
+
decodeFunctionResult(functionFragment: 'getLPPrice', data: BytesLike): Result;
|
|
168
|
+
decodeFunctionResult(functionFragment: 'getLPPriceAlgebra', data: BytesLike): Result;
|
|
169
|
+
decodeFunctionResult(functionFragment: 'getLPPriceAlgebraFromFactory', data: BytesLike): Result;
|
|
170
|
+
decodeFunctionResult(functionFragment: 'getLPPriceFromFactory', data: BytesLike): Result;
|
|
171
|
+
decodeFunctionResult(functionFragment: 'getLPPriceGamma', data: BytesLike): Result;
|
|
172
|
+
decodeFunctionResult(functionFragment: 'getLPPriceGammaFromFactory', data: BytesLike): Result;
|
|
173
|
+
decodeFunctionResult(functionFragment: 'getLPPriceSolidly', data: BytesLike): Result;
|
|
174
|
+
decodeFunctionResult(functionFragment: 'getLPPriceSolidlyFromFactory', data: BytesLike): Result;
|
|
175
|
+
decodeFunctionResult(functionFragment: 'getLPPriceSteerFromFactory', data: BytesLike): Result;
|
|
176
|
+
decodeFunctionResult(functionFragment: 'getLPPriceV2', data: BytesLike): Result;
|
|
177
|
+
decodeFunctionResult(functionFragment: 'getLPPriceV2FromFactory', data: BytesLike): Result;
|
|
178
|
+
decodeFunctionResult(functionFragment: 'getLPPriceV3', data: BytesLike): Result;
|
|
179
|
+
decodeFunctionResult(functionFragment: 'getLPPriceV3FromFactory', data: BytesLike): Result;
|
|
180
|
+
decodeFunctionResult(functionFragment: 'getLPPrices', data: BytesLike): Result;
|
|
181
|
+
decodeFunctionResult(functionFragment: 'getLPPricesSolidly', data: BytesLike): Result;
|
|
182
|
+
decodeFunctionResult(functionFragment: 'getLPPricesSolidlyFromFactory', data: BytesLike): Result;
|
|
183
|
+
decodeFunctionResult(functionFragment: 'getLPPricesV2', data: BytesLike): Result;
|
|
184
|
+
decodeFunctionResult(functionFragment: 'getLPPricesV2FromFactory', data: BytesLike): Result;
|
|
185
|
+
decodeFunctionResult(functionFragment: 'getLPPricesV3', data: BytesLike): Result;
|
|
186
|
+
decodeFunctionResult(functionFragment: 'getLPPricesV3FromFactory', data: BytesLike): Result;
|
|
187
|
+
decodeFunctionResult(functionFragment: 'getNativePrice()', data: BytesLike): Result;
|
|
188
|
+
decodeFunctionResult(functionFragment: 'getNativePrice(uint8)', data: BytesLike): Result;
|
|
189
|
+
decodeFunctionResult(functionFragment: 'getNativePriceFromFactory', data: BytesLike): Result;
|
|
190
|
+
decodeFunctionResult(functionFragment: 'getPrice', data: BytesLike): Result;
|
|
191
|
+
decodeFunctionResult(functionFragment: 'getPriceAlgebra', data: BytesLike): Result;
|
|
192
|
+
decodeFunctionResult(functionFragment: 'getPriceAlgebraFromFactory', data: BytesLike): Result;
|
|
193
|
+
decodeFunctionResult(functionFragment: 'getPriceFromFactory', data: BytesLike): Result;
|
|
194
|
+
decodeFunctionResult(functionFragment: 'getPriceV2', data: BytesLike): Result;
|
|
195
|
+
decodeFunctionResult(functionFragment: 'getPriceV2FromFactory', data: BytesLike): Result;
|
|
196
|
+
decodeFunctionResult(functionFragment: 'getPriceV3', data: BytesLike): Result;
|
|
197
|
+
decodeFunctionResult(functionFragment: 'getPriceV3FromFactory', data: BytesLike): Result;
|
|
198
|
+
decodeFunctionResult(functionFragment: 'getPrices(address[],uint8)', data: BytesLike): Result;
|
|
199
|
+
decodeFunctionResult(functionFragment: 'getPrices(address[],uint256)', data: BytesLike): Result;
|
|
200
|
+
decodeFunctionResult(functionFragment: 'getPrices(address[],uint32)', data: BytesLike): Result;
|
|
201
|
+
decodeFunctionResult(functionFragment: 'getPricesFromFactory', data: BytesLike): Result;
|
|
202
|
+
decodeFunctionResult(functionFragment: 'getRawPrice', data: BytesLike): Result;
|
|
203
|
+
decodeFunctionResult(functionFragment: 'getRawPrices', data: BytesLike): Result;
|
|
204
|
+
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
|
|
205
|
+
decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
|
|
206
|
+
decodeFunctionResult(functionFragment: 'removeTokenOracle', data: BytesLike): Result;
|
|
207
|
+
decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
|
|
208
|
+
decodeFunctionResult(functionFragment: 'secondsAgo', data: BytesLike): Result;
|
|
209
|
+
decodeFunctionResult(functionFragment: 'setTokenOracle', data: BytesLike): Result;
|
|
210
|
+
decodeFunctionResult(functionFragment: 'stableUsdTokenDecimals', data: BytesLike): Result;
|
|
211
|
+
decodeFunctionResult(functionFragment: 'stableUsdTokens', data: BytesLike): Result;
|
|
212
|
+
decodeFunctionResult(functionFragment: 'tokenOracles', data: BytesLike): Result;
|
|
213
|
+
decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
|
|
214
|
+
decodeFunctionResult(functionFragment: 'wNative', data: BytesLike): Result;
|
|
249
215
|
events: {
|
|
250
|
-
|
|
251
|
-
|
|
216
|
+
'Initialized(uint8)': EventFragment;
|
|
217
|
+
'OwnershipTransferred(address,address)': EventFragment;
|
|
252
218
|
};
|
|
253
|
-
getEvent(nameOrSignatureOrTopic:
|
|
254
|
-
getEvent(nameOrSignatureOrTopic:
|
|
219
|
+
getEvent(nameOrSignatureOrTopic: 'Initialized'): EventFragment;
|
|
220
|
+
getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
|
|
255
221
|
}
|
|
256
222
|
export interface InitializedEventObject {
|
|
257
223
|
version: number;
|
|
@@ -262,10 +228,7 @@ export interface OwnershipTransferredEventObject {
|
|
|
262
228
|
previousOwner: string;
|
|
263
229
|
newOwner: string;
|
|
264
230
|
}
|
|
265
|
-
export type OwnershipTransferredEvent = TypedEvent<[
|
|
266
|
-
string,
|
|
267
|
-
string
|
|
268
|
-
], OwnershipTransferredEventObject>;
|
|
231
|
+
export type OwnershipTransferredEvent = TypedEvent<[string, string], OwnershipTransferredEventObject>;
|
|
269
232
|
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
|
|
270
233
|
export interface PriceGetter extends BaseContract {
|
|
271
234
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -289,8 +252,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
289
252
|
defaultFactorySolidly(overrides?: CallOverrides): Promise<[string]>;
|
|
290
253
|
defaultFactoryV2(overrides?: CallOverrides): Promise<[string]>;
|
|
291
254
|
defaultFactoryV3(overrides?: CallOverrides): Promise<[string]>;
|
|
292
|
-
|
|
293
|
-
|
|
255
|
+
'getETHPrice(uint32)'(secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
256
|
+
'getETHPrice()'(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
294
257
|
getLPPrice(token: PromiseOrValue<string>, _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
295
258
|
getLPPriceAlgebra(token0: PromiseOrValue<string>, token1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber] & {
|
|
296
259
|
price: BigNumber;
|
|
@@ -349,8 +312,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
349
312
|
getLPPricesV3FromFactory(factoryV3: PromiseOrValue<string>, tokens0: PromiseOrValue<string>[], tokens1: PromiseOrValue<string>[], fees: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<[BigNumber[]] & {
|
|
350
313
|
prices: BigNumber[];
|
|
351
314
|
}>;
|
|
352
|
-
|
|
353
|
-
|
|
315
|
+
'getNativePrice()'(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
316
|
+
'getNativePrice(uint8)'(protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
|
|
354
317
|
nativePrice: BigNumber;
|
|
355
318
|
}>;
|
|
356
319
|
getNativePriceFromFactory(protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber] & {
|
|
@@ -378,13 +341,13 @@ export interface PriceGetter extends BaseContract {
|
|
|
378
341
|
getPriceV3FromFactory(factoryV3: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber] & {
|
|
379
342
|
price: BigNumber;
|
|
380
343
|
}>;
|
|
381
|
-
|
|
344
|
+
'getPrices(address[],uint8)'(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber[]] & {
|
|
382
345
|
prices: BigNumber[];
|
|
383
346
|
}>;
|
|
384
|
-
|
|
347
|
+
'getPrices(address[],uint256)'(tokens: PromiseOrValue<string>[], _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber[]] & {
|
|
385
348
|
prices: BigNumber[];
|
|
386
349
|
}>;
|
|
387
|
-
|
|
350
|
+
'getPrices(address[],uint32)'(tokens: PromiseOrValue<string>[], secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber[]] & {
|
|
388
351
|
prices: BigNumber[];
|
|
389
352
|
}>;
|
|
390
353
|
getPricesFromFactory(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factoryAlgebra: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber[]] & {
|
|
@@ -431,8 +394,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
431
394
|
defaultFactorySolidly(overrides?: CallOverrides): Promise<string>;
|
|
432
395
|
defaultFactoryV2(overrides?: CallOverrides): Promise<string>;
|
|
433
396
|
defaultFactoryV3(overrides?: CallOverrides): Promise<string>;
|
|
434
|
-
|
|
435
|
-
|
|
397
|
+
'getETHPrice(uint32)'(secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
398
|
+
'getETHPrice()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
436
399
|
getLPPrice(token: PromiseOrValue<string>, _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
437
400
|
getLPPriceAlgebra(token0: PromiseOrValue<string>, token1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
438
401
|
getLPPriceAlgebraFromFactory(factoryAlgebra: PromiseOrValue<string>, token0: PromiseOrValue<string>, token1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -453,8 +416,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
453
416
|
getLPPricesV2FromFactory(factoryV2: PromiseOrValue<string>, tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
454
417
|
getLPPricesV3(tokens0: PromiseOrValue<string>[], tokens1: PromiseOrValue<string>[], fees: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
455
418
|
getLPPricesV3FromFactory(factoryV3: PromiseOrValue<string>, tokens0: PromiseOrValue<string>[], tokens1: PromiseOrValue<string>[], fees: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
456
|
-
|
|
457
|
-
|
|
419
|
+
'getNativePrice()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
420
|
+
'getNativePrice(uint8)'(protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
458
421
|
getNativePriceFromFactory(protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
459
422
|
getPrice(token: PromiseOrValue<string>, secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
460
423
|
getPriceAlgebra(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -464,9 +427,9 @@ export interface PriceGetter extends BaseContract {
|
|
|
464
427
|
getPriceV2FromFactory(factoryV2: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
465
428
|
getPriceV3(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
466
429
|
getPriceV3FromFactory(factoryV3: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
430
|
+
'getPrices(address[],uint8)'(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
431
|
+
'getPrices(address[],uint256)'(tokens: PromiseOrValue<string>[], _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
432
|
+
'getPrices(address[],uint32)'(tokens: PromiseOrValue<string>[], secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
470
433
|
getPricesFromFactory(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factoryAlgebra: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
471
434
|
getRawPrice(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
472
435
|
getRawPrices(tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
@@ -507,8 +470,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
507
470
|
defaultFactorySolidly(overrides?: CallOverrides): Promise<string>;
|
|
508
471
|
defaultFactoryV2(overrides?: CallOverrides): Promise<string>;
|
|
509
472
|
defaultFactoryV3(overrides?: CallOverrides): Promise<string>;
|
|
510
|
-
|
|
511
|
-
|
|
473
|
+
'getETHPrice(uint32)'(secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
474
|
+
'getETHPrice()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
512
475
|
getLPPrice(token: PromiseOrValue<string>, _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
513
476
|
getLPPriceAlgebra(token0: PromiseOrValue<string>, token1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
514
477
|
getLPPriceAlgebraFromFactory(factoryAlgebra: PromiseOrValue<string>, token0: PromiseOrValue<string>, token1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -529,8 +492,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
529
492
|
getLPPricesV2FromFactory(factoryV2: PromiseOrValue<string>, tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
530
493
|
getLPPricesV3(tokens0: PromiseOrValue<string>[], tokens1: PromiseOrValue<string>[], fees: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
531
494
|
getLPPricesV3FromFactory(factoryV3: PromiseOrValue<string>, tokens0: PromiseOrValue<string>[], tokens1: PromiseOrValue<string>[], fees: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
532
|
-
|
|
533
|
-
|
|
495
|
+
'getNativePrice()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
496
|
+
'getNativePrice(uint8)'(protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
534
497
|
getNativePriceFromFactory(protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
535
498
|
getPrice(token: PromiseOrValue<string>, secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
536
499
|
getPriceAlgebra(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -540,9 +503,9 @@ export interface PriceGetter extends BaseContract {
|
|
|
540
503
|
getPriceV2FromFactory(factoryV2: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
541
504
|
getPriceV3(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
542
505
|
getPriceV3FromFactory(factoryV3: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
506
|
+
'getPrices(address[],uint8)'(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
507
|
+
'getPrices(address[],uint256)'(tokens: PromiseOrValue<string>[], _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
508
|
+
'getPrices(address[],uint32)'(tokens: PromiseOrValue<string>[], secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
546
509
|
getPricesFromFactory(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factoryAlgebra: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
547
510
|
getRawPrice(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
548
511
|
getRawPrices(tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber[]>;
|
|
@@ -567,9 +530,9 @@ export interface PriceGetter extends BaseContract {
|
|
|
567
530
|
wNative(overrides?: CallOverrides): Promise<string>;
|
|
568
531
|
};
|
|
569
532
|
filters: {
|
|
570
|
-
|
|
533
|
+
'Initialized(uint8)'(version?: null): InitializedEventFilter;
|
|
571
534
|
Initialized(version?: null): InitializedEventFilter;
|
|
572
|
-
|
|
535
|
+
'OwnershipTransferred(address,address)'(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
573
536
|
OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
574
537
|
};
|
|
575
538
|
estimateGas: {
|
|
@@ -580,8 +543,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
580
543
|
defaultFactorySolidly(overrides?: CallOverrides): Promise<BigNumber>;
|
|
581
544
|
defaultFactoryV2(overrides?: CallOverrides): Promise<BigNumber>;
|
|
582
545
|
defaultFactoryV3(overrides?: CallOverrides): Promise<BigNumber>;
|
|
583
|
-
|
|
584
|
-
|
|
546
|
+
'getETHPrice(uint32)'(secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
547
|
+
'getETHPrice()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
585
548
|
getLPPrice(token: PromiseOrValue<string>, _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
586
549
|
getLPPriceAlgebra(token0: PromiseOrValue<string>, token1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
587
550
|
getLPPriceAlgebraFromFactory(factoryAlgebra: PromiseOrValue<string>, token0: PromiseOrValue<string>, token1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -602,8 +565,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
602
565
|
getLPPricesV2FromFactory(factoryV2: PromiseOrValue<string>, tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber>;
|
|
603
566
|
getLPPricesV3(tokens0: PromiseOrValue<string>[], tokens1: PromiseOrValue<string>[], fees: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<BigNumber>;
|
|
604
567
|
getLPPricesV3FromFactory(factoryV3: PromiseOrValue<string>, tokens0: PromiseOrValue<string>[], tokens1: PromiseOrValue<string>[], fees: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<BigNumber>;
|
|
605
|
-
|
|
606
|
-
|
|
568
|
+
'getNativePrice()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
569
|
+
'getNativePrice(uint8)'(protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
607
570
|
getNativePriceFromFactory(protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
608
571
|
getPrice(token: PromiseOrValue<string>, secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
609
572
|
getPriceAlgebra(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -613,9 +576,9 @@ export interface PriceGetter extends BaseContract {
|
|
|
613
576
|
getPriceV2FromFactory(factoryV2: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
614
577
|
getPriceV3(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
615
578
|
getPriceV3FromFactory(factoryV3: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
579
|
+
'getPrices(address[],uint8)'(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
580
|
+
'getPrices(address[],uint256)'(tokens: PromiseOrValue<string>[], _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
581
|
+
'getPrices(address[],uint32)'(tokens: PromiseOrValue<string>[], secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
619
582
|
getPricesFromFactory(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factoryAlgebra: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
620
583
|
getRawPrice(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
621
584
|
getRawPrices(tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -649,8 +612,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
649
612
|
defaultFactorySolidly(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
650
613
|
defaultFactoryV2(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
651
614
|
defaultFactoryV3(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
652
|
-
|
|
653
|
-
|
|
615
|
+
'getETHPrice(uint32)'(secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
616
|
+
'getETHPrice()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
654
617
|
getLPPrice(token: PromiseOrValue<string>, _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
655
618
|
getLPPriceAlgebra(token0: PromiseOrValue<string>, token1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
656
619
|
getLPPriceAlgebraFromFactory(factoryAlgebra: PromiseOrValue<string>, token0: PromiseOrValue<string>, token1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -671,8 +634,8 @@ export interface PriceGetter extends BaseContract {
|
|
|
671
634
|
getLPPricesV2FromFactory(factoryV2: PromiseOrValue<string>, tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
672
635
|
getLPPricesV3(tokens0: PromiseOrValue<string>[], tokens1: PromiseOrValue<string>[], fees: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
673
636
|
getLPPricesV3FromFactory(factoryV3: PromiseOrValue<string>, tokens0: PromiseOrValue<string>[], tokens1: PromiseOrValue<string>[], fees: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
674
|
-
|
|
675
|
-
|
|
637
|
+
'getNativePrice()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
638
|
+
'getNativePrice(uint8)'(protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
676
639
|
getNativePriceFromFactory(protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
677
640
|
getPrice(token: PromiseOrValue<string>, secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
678
641
|
getPriceAlgebra(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -682,9 +645,9 @@ export interface PriceGetter extends BaseContract {
|
|
|
682
645
|
getPriceV2FromFactory(factoryV2: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
683
646
|
getPriceV3(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
684
647
|
getPriceV3FromFactory(factoryV3: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
648
|
+
'getPrices(address[],uint8)'(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
649
|
+
'getPrices(address[],uint256)'(tokens: PromiseOrValue<string>[], _decimals: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
650
|
+
'getPrices(address[],uint32)'(tokens: PromiseOrValue<string>[], secondsAgo: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
688
651
|
getPricesFromFactory(tokens: PromiseOrValue<string>[], protocol: PromiseOrValue<BigNumberish>, factoryV2: PromiseOrValue<string>, factoryV3: PromiseOrValue<string>, factoryAlgebra: PromiseOrValue<string>, factorySolidly: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
689
652
|
getRawPrice(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
690
653
|
getRawPrices(tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<PopulatedTransaction>;
|