@ape.swap/bonds-sdk 1.0.779 → 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/AccordionText/index.d.ts +9 -0
- 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 +3 -2
- package/dist/components/TokenSelectorModal/TokenRow.d.ts +8 -0
- package/dist/components/TokenSelectorModal/index.d.ts +11 -0
- package/dist/components/TokenSelectorPanel/index.d.ts +15 -0
- 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 +3 -2
- 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 +10 -2
- package/dist/config/constants/tokens.d.ts +3 -6
- package/dist/config/constants/zapInputTokens.d.ts +2 -0
- package/dist/hooks/useTokenFromZapList.d.ts +3 -0
- package/dist/hooks/useTopThreeTags.d.ts +2 -2
- package/dist/main.d.ts +7 -0
- package/dist/main.js +73492 -0
- package/dist/providers/index.d.ts +0 -3
- package/dist/scss/AccordionText.scss +11 -0
- package/dist/scss/BondMenu.scss +2 -2
- package/dist/scss/BondModal.scss +305 -234
- package/dist/scss/BondRow.scss +5 -5
- package/dist/scss/BondRowHeader.scss +7 -7
- package/dist/scss/Bonds.scss +2 -1
- package/dist/scss/TokenInfoName.scss +60 -0
- 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 +15 -0
- package/dist/state/balance/useCurrencyBalance.d.ts +4 -0
- 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 +3 -0
- 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 +12 -0
- package/dist/state/zap/useSoulZapBondQuote.d.ts +4 -0
- package/dist/state/zap/useSoulZapTokenQuote.d.ts +3 -0
- 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 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/views/BondModal/BondModal.d.ts +7 -6
- 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 +7 -10
- package/dist/views/Bonds/components/CheckURL/index.d.ts +4 -0
- package/dist/views/Bonds/index.d.ts +4 -0
- 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/dist/views/ZapModal/index.d.ts +14 -0
- package/dist/views/ZapModal/styles.d.ts +2 -0
- package/package.json +24 -24
- 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 -61
- 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 -18
- 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/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 -24
- package/dist/config/constants/tokens.js +0 -452
- package/dist/config/constants/tutorials.js +0 -80
- 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/useTopThreeTags.js +0 -25
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -6
- package/dist/providers/index.js +0 -12
- 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/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 -277
- 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/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/{enum → config/constants}/tooltips.d.ts +0 -0
|
@@ -1,73 +1,73 @@
|
|
|
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 MigrationFveAbondInterface extends utils.Interface {
|
|
6
6
|
functions: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
'DEAD()': FunctionFragment;
|
|
8
|
+
'_init()': FunctionFragment;
|
|
9
|
+
'claim(uint256)': FunctionFragment;
|
|
10
|
+
'claim(address,uint256)': FunctionFragment;
|
|
11
|
+
'claimToken()': FunctionFragment;
|
|
12
|
+
'deposit(uint256)': FunctionFragment;
|
|
13
|
+
'depositors(address)': FunctionFragment;
|
|
14
|
+
'init()': FunctionFragment;
|
|
15
|
+
'owner()': FunctionFragment;
|
|
16
|
+
'renounceOwnership()': FunctionFragment;
|
|
17
|
+
'setDepositor(address,bool)': FunctionFragment;
|
|
18
|
+
'token()': FunctionFragment;
|
|
19
|
+
'totalAirdrop()': FunctionFragment;
|
|
20
|
+
'transferOwnership(address)': FunctionFragment;
|
|
21
|
+
've()': FunctionFragment;
|
|
22
|
+
'withdraw(uint256,address)': FunctionFragment;
|
|
23
23
|
};
|
|
24
|
-
getFunction(nameOrSignatureOrTopic:
|
|
25
|
-
encodeFunctionData(functionFragment:
|
|
26
|
-
encodeFunctionData(functionFragment:
|
|
27
|
-
encodeFunctionData(functionFragment:
|
|
28
|
-
encodeFunctionData(functionFragment:
|
|
29
|
-
encodeFunctionData(functionFragment:
|
|
30
|
-
encodeFunctionData(functionFragment:
|
|
31
|
-
encodeFunctionData(functionFragment:
|
|
32
|
-
encodeFunctionData(functionFragment:
|
|
33
|
-
encodeFunctionData(functionFragment:
|
|
34
|
-
encodeFunctionData(functionFragment:
|
|
35
|
-
encodeFunctionData(functionFragment:
|
|
36
|
-
encodeFunctionData(functionFragment:
|
|
37
|
-
encodeFunctionData(functionFragment:
|
|
38
|
-
encodeFunctionData(functionFragment:
|
|
39
|
-
encodeFunctionData(functionFragment:
|
|
40
|
-
encodeFunctionData(functionFragment:
|
|
41
|
-
decodeFunctionResult(functionFragment:
|
|
42
|
-
decodeFunctionResult(functionFragment:
|
|
43
|
-
decodeFunctionResult(functionFragment:
|
|
44
|
-
decodeFunctionResult(functionFragment:
|
|
45
|
-
decodeFunctionResult(functionFragment:
|
|
46
|
-
decodeFunctionResult(functionFragment:
|
|
47
|
-
decodeFunctionResult(functionFragment:
|
|
48
|
-
decodeFunctionResult(functionFragment:
|
|
49
|
-
decodeFunctionResult(functionFragment:
|
|
50
|
-
decodeFunctionResult(functionFragment:
|
|
51
|
-
decodeFunctionResult(functionFragment:
|
|
52
|
-
decodeFunctionResult(functionFragment:
|
|
53
|
-
decodeFunctionResult(functionFragment:
|
|
54
|
-
decodeFunctionResult(functionFragment:
|
|
55
|
-
decodeFunctionResult(functionFragment:
|
|
56
|
-
decodeFunctionResult(functionFragment:
|
|
24
|
+
getFunction(nameOrSignatureOrTopic: 'DEAD' | '_init' | 'claim(uint256)' | 'claim(address,uint256)' | 'claimToken' | 'deposit' | 'depositors' | 'init' | 'owner' | 'renounceOwnership' | 'setDepositor' | 'token' | 'totalAirdrop' | 'transferOwnership' | 've' | 'withdraw'): FunctionFragment;
|
|
25
|
+
encodeFunctionData(functionFragment: 'DEAD', values?: undefined): string;
|
|
26
|
+
encodeFunctionData(functionFragment: '_init', values?: undefined): string;
|
|
27
|
+
encodeFunctionData(functionFragment: 'claim(uint256)', values: [PromiseOrValue<BigNumberish>]): string;
|
|
28
|
+
encodeFunctionData(functionFragment: 'claim(address,uint256)', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
29
|
+
encodeFunctionData(functionFragment: 'claimToken', values?: undefined): string;
|
|
30
|
+
encodeFunctionData(functionFragment: 'deposit', values: [PromiseOrValue<BigNumberish>]): string;
|
|
31
|
+
encodeFunctionData(functionFragment: 'depositors', values: [PromiseOrValue<string>]): string;
|
|
32
|
+
encodeFunctionData(functionFragment: 'init', values?: undefined): string;
|
|
33
|
+
encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
|
|
34
|
+
encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
|
|
35
|
+
encodeFunctionData(functionFragment: 'setDepositor', values: [PromiseOrValue<string>, PromiseOrValue<boolean>]): string;
|
|
36
|
+
encodeFunctionData(functionFragment: 'token', values?: undefined): string;
|
|
37
|
+
encodeFunctionData(functionFragment: 'totalAirdrop', values?: undefined): string;
|
|
38
|
+
encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>]): string;
|
|
39
|
+
encodeFunctionData(functionFragment: 've', values?: undefined): string;
|
|
40
|
+
encodeFunctionData(functionFragment: 'withdraw', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
|
|
41
|
+
decodeFunctionResult(functionFragment: 'DEAD', data: BytesLike): Result;
|
|
42
|
+
decodeFunctionResult(functionFragment: '_init', data: BytesLike): Result;
|
|
43
|
+
decodeFunctionResult(functionFragment: 'claim(uint256)', data: BytesLike): Result;
|
|
44
|
+
decodeFunctionResult(functionFragment: 'claim(address,uint256)', data: BytesLike): Result;
|
|
45
|
+
decodeFunctionResult(functionFragment: 'claimToken', data: BytesLike): Result;
|
|
46
|
+
decodeFunctionResult(functionFragment: 'deposit', data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(functionFragment: 'depositors', data: BytesLike): Result;
|
|
48
|
+
decodeFunctionResult(functionFragment: 'init', data: BytesLike): Result;
|
|
49
|
+
decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
|
|
50
|
+
decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
|
|
51
|
+
decodeFunctionResult(functionFragment: 'setDepositor', data: BytesLike): Result;
|
|
52
|
+
decodeFunctionResult(functionFragment: 'token', data: BytesLike): Result;
|
|
53
|
+
decodeFunctionResult(functionFragment: 'totalAirdrop', data: BytesLike): Result;
|
|
54
|
+
decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
|
|
55
|
+
decodeFunctionResult(functionFragment: 've', data: BytesLike): Result;
|
|
56
|
+
decodeFunctionResult(functionFragment: 'withdraw', data: BytesLike): Result;
|
|
57
57
|
events: {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
'Claim(address,uint256)': EventFragment;
|
|
59
|
+
'Deposit(uint256)': EventFragment;
|
|
60
|
+
'Init()': EventFragment;
|
|
61
|
+
'OwnershipTransferred(address,address)': EventFragment;
|
|
62
|
+
'SetDepositor(address,bool)': EventFragment;
|
|
63
|
+
'Withdraw(uint256)': EventFragment;
|
|
64
64
|
};
|
|
65
|
-
getEvent(nameOrSignatureOrTopic:
|
|
66
|
-
getEvent(nameOrSignatureOrTopic:
|
|
67
|
-
getEvent(nameOrSignatureOrTopic:
|
|
68
|
-
getEvent(nameOrSignatureOrTopic:
|
|
69
|
-
getEvent(nameOrSignatureOrTopic:
|
|
70
|
-
getEvent(nameOrSignatureOrTopic:
|
|
65
|
+
getEvent(nameOrSignatureOrTopic: 'Claim'): EventFragment;
|
|
66
|
+
getEvent(nameOrSignatureOrTopic: 'Deposit'): EventFragment;
|
|
67
|
+
getEvent(nameOrSignatureOrTopic: 'Init'): EventFragment;
|
|
68
|
+
getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
|
|
69
|
+
getEvent(nameOrSignatureOrTopic: 'SetDepositor'): EventFragment;
|
|
70
|
+
getEvent(nameOrSignatureOrTopic: 'Withdraw'): EventFragment;
|
|
71
71
|
}
|
|
72
72
|
export interface ClaimEventObject {
|
|
73
73
|
to: string;
|
|
@@ -88,19 +88,13 @@ export interface OwnershipTransferredEventObject {
|
|
|
88
88
|
previousOwner: string;
|
|
89
89
|
newOwner: string;
|
|
90
90
|
}
|
|
91
|
-
export type OwnershipTransferredEvent = TypedEvent<[
|
|
92
|
-
string,
|
|
93
|
-
string
|
|
94
|
-
], OwnershipTransferredEventObject>;
|
|
91
|
+
export type OwnershipTransferredEvent = TypedEvent<[string, string], OwnershipTransferredEventObject>;
|
|
95
92
|
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
|
|
96
93
|
export interface SetDepositorEventObject {
|
|
97
94
|
depositor: string;
|
|
98
95
|
status: boolean;
|
|
99
96
|
}
|
|
100
|
-
export type SetDepositorEvent = TypedEvent<[
|
|
101
|
-
string,
|
|
102
|
-
boolean
|
|
103
|
-
], SetDepositorEventObject>;
|
|
97
|
+
export type SetDepositorEvent = TypedEvent<[string, boolean], SetDepositorEventObject>;
|
|
104
98
|
export type SetDepositorEventFilter = TypedEventFilter<SetDepositorEvent>;
|
|
105
99
|
export interface WithdrawEventObject {
|
|
106
100
|
amount: BigNumber;
|
|
@@ -126,10 +120,10 @@ export interface MigrationFveAbond extends BaseContract {
|
|
|
126
120
|
_init(overrides?: Overrides & {
|
|
127
121
|
from?: PromiseOrValue<string>;
|
|
128
122
|
}): Promise<ContractTransaction>;
|
|
129
|
-
|
|
123
|
+
'claim(uint256)'(_amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
130
124
|
from?: PromiseOrValue<string>;
|
|
131
125
|
}): Promise<ContractTransaction>;
|
|
132
|
-
|
|
126
|
+
'claim(address,uint256)'(_to: PromiseOrValue<string>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
133
127
|
from?: PromiseOrValue<string>;
|
|
134
128
|
}): Promise<ContractTransaction>;
|
|
135
129
|
claimToken(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -159,10 +153,10 @@ export interface MigrationFveAbond extends BaseContract {
|
|
|
159
153
|
_init(overrides?: Overrides & {
|
|
160
154
|
from?: PromiseOrValue<string>;
|
|
161
155
|
}): Promise<ContractTransaction>;
|
|
162
|
-
|
|
156
|
+
'claim(uint256)'(_amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
163
157
|
from?: PromiseOrValue<string>;
|
|
164
158
|
}): Promise<ContractTransaction>;
|
|
165
|
-
|
|
159
|
+
'claim(address,uint256)'(_to: PromiseOrValue<string>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
166
160
|
from?: PromiseOrValue<string>;
|
|
167
161
|
}): Promise<ContractTransaction>;
|
|
168
162
|
claimToken(overrides?: CallOverrides): Promise<string>;
|
|
@@ -190,8 +184,8 @@ export interface MigrationFveAbond extends BaseContract {
|
|
|
190
184
|
callStatic: {
|
|
191
185
|
DEAD(overrides?: CallOverrides): Promise<string>;
|
|
192
186
|
_init(overrides?: CallOverrides): Promise<void>;
|
|
193
|
-
|
|
194
|
-
|
|
187
|
+
'claim(uint256)'(_amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
188
|
+
'claim(address,uint256)'(_to: PromiseOrValue<string>, _amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
195
189
|
claimToken(overrides?: CallOverrides): Promise<string>;
|
|
196
190
|
deposit(amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
197
191
|
depositors(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
@@ -206,17 +200,17 @@ export interface MigrationFveAbond extends BaseContract {
|
|
|
206
200
|
withdraw(amount: PromiseOrValue<BigNumberish>, _to: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
207
201
|
};
|
|
208
202
|
filters: {
|
|
209
|
-
|
|
203
|
+
'Claim(address,uint256)'(to?: PromiseOrValue<string> | null, amount?: null): ClaimEventFilter;
|
|
210
204
|
Claim(to?: PromiseOrValue<string> | null, amount?: null): ClaimEventFilter;
|
|
211
|
-
|
|
205
|
+
'Deposit(uint256)'(amount?: null): DepositEventFilter;
|
|
212
206
|
Deposit(amount?: null): DepositEventFilter;
|
|
213
|
-
|
|
207
|
+
'Init()'(): InitEventFilter;
|
|
214
208
|
Init(): InitEventFilter;
|
|
215
|
-
|
|
209
|
+
'OwnershipTransferred(address,address)'(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
216
210
|
OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
217
|
-
|
|
211
|
+
'SetDepositor(address,bool)'(depositor?: PromiseOrValue<string> | null, status?: null): SetDepositorEventFilter;
|
|
218
212
|
SetDepositor(depositor?: PromiseOrValue<string> | null, status?: null): SetDepositorEventFilter;
|
|
219
|
-
|
|
213
|
+
'Withdraw(uint256)'(amount?: null): WithdrawEventFilter;
|
|
220
214
|
Withdraw(amount?: null): WithdrawEventFilter;
|
|
221
215
|
};
|
|
222
216
|
estimateGas: {
|
|
@@ -224,10 +218,10 @@ export interface MigrationFveAbond extends BaseContract {
|
|
|
224
218
|
_init(overrides?: Overrides & {
|
|
225
219
|
from?: PromiseOrValue<string>;
|
|
226
220
|
}): Promise<BigNumber>;
|
|
227
|
-
|
|
221
|
+
'claim(uint256)'(_amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
228
222
|
from?: PromiseOrValue<string>;
|
|
229
223
|
}): Promise<BigNumber>;
|
|
230
|
-
|
|
224
|
+
'claim(address,uint256)'(_to: PromiseOrValue<string>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
231
225
|
from?: PromiseOrValue<string>;
|
|
232
226
|
}): Promise<BigNumber>;
|
|
233
227
|
claimToken(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -258,10 +252,10 @@ export interface MigrationFveAbond extends BaseContract {
|
|
|
258
252
|
_init(overrides?: Overrides & {
|
|
259
253
|
from?: PromiseOrValue<string>;
|
|
260
254
|
}): Promise<PopulatedTransaction>;
|
|
261
|
-
|
|
255
|
+
'claim(uint256)'(_amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
262
256
|
from?: PromiseOrValue<string>;
|
|
263
257
|
}): Promise<PopulatedTransaction>;
|
|
264
|
-
|
|
258
|
+
'claim(address,uint256)'(_to: PromiseOrValue<string>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
265
259
|
from?: PromiseOrValue<string>;
|
|
266
260
|
}): Promise<PopulatedTransaction>;
|
|
267
261
|
claimToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1,7 +1,7 @@
|
|
|
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 declare namespace MiniRewarderTime {
|
|
6
6
|
type PoolInfoStruct = {
|
|
7
7
|
accBananaPerShare: PromiseOrValue<BigNumberish>;
|
|
@@ -16,116 +16,100 @@ export declare namespace MiniRewarderTime {
|
|
|
16
16
|
}
|
|
17
17
|
export interface MiniComplexRewarderInterface extends utils.Interface {
|
|
18
18
|
functions: {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
19
|
+
'MINIAPE_V2()': FunctionFragment;
|
|
20
|
+
'add(uint256,uint256)': FunctionFragment;
|
|
21
|
+
'claimOwnership()': FunctionFragment;
|
|
22
|
+
'initialize(address,uint256,address)': FunctionFragment;
|
|
23
|
+
'massUpdatePools(uint256[])': FunctionFragment;
|
|
24
|
+
'onBananaReward(uint256,address,address,uint256,uint256)': FunctionFragment;
|
|
25
|
+
'owner()': FunctionFragment;
|
|
26
|
+
'pendingOwner()': FunctionFragment;
|
|
27
|
+
'pendingToken(uint256,address)': FunctionFragment;
|
|
28
|
+
'pendingTokens(uint256,address,uint256)': FunctionFragment;
|
|
29
|
+
'poolIds(uint256)': FunctionFragment;
|
|
30
|
+
'poolInfo(uint256)': FunctionFragment;
|
|
31
|
+
'poolLength()': FunctionFragment;
|
|
32
|
+
'rewardPerSecond()': FunctionFragment;
|
|
33
|
+
'rewardToken()': FunctionFragment;
|
|
34
|
+
'set(uint256,uint256)': FunctionFragment;
|
|
35
|
+
'setRewardPerSecond(uint256)': FunctionFragment;
|
|
36
|
+
'totalAllocPoint()': FunctionFragment;
|
|
37
|
+
'transferOwnership(address,bool,bool)': FunctionFragment;
|
|
38
|
+
'updatePool(uint256)': FunctionFragment;
|
|
39
|
+
'userInfo(uint256,address)': FunctionFragment;
|
|
40
40
|
};
|
|
41
|
-
getFunction(nameOrSignatureOrTopic:
|
|
42
|
-
encodeFunctionData(functionFragment:
|
|
43
|
-
encodeFunctionData(functionFragment:
|
|
44
|
-
encodeFunctionData(functionFragment:
|
|
45
|
-
encodeFunctionData(functionFragment:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
PromiseOrValue<string>
|
|
49
|
-
]): string;
|
|
50
|
-
encodeFunctionData(functionFragment: "massUpdatePools", values: [PromiseOrValue<BigNumberish>[]]): string;
|
|
51
|
-
encodeFunctionData(functionFragment: "onBananaReward", values: [
|
|
41
|
+
getFunction(nameOrSignatureOrTopic: 'MINIAPE_V2' | 'add' | 'claimOwnership' | 'initialize' | 'massUpdatePools' | 'onBananaReward' | 'owner' | 'pendingOwner' | 'pendingToken' | 'pendingTokens' | 'poolIds' | 'poolInfo' | 'poolLength' | 'rewardPerSecond' | 'rewardToken' | 'set' | 'setRewardPerSecond' | 'totalAllocPoint' | 'transferOwnership' | 'updatePool' | 'userInfo'): FunctionFragment;
|
|
42
|
+
encodeFunctionData(functionFragment: 'MINIAPE_V2', values?: undefined): string;
|
|
43
|
+
encodeFunctionData(functionFragment: 'add', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
|
|
44
|
+
encodeFunctionData(functionFragment: 'claimOwnership', values?: undefined): string;
|
|
45
|
+
encodeFunctionData(functionFragment: 'initialize', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: 'massUpdatePools', values: [PromiseOrValue<BigNumberish>[]]): string;
|
|
47
|
+
encodeFunctionData(functionFragment: 'onBananaReward', values: [
|
|
52
48
|
PromiseOrValue<BigNumberish>,
|
|
53
49
|
PromiseOrValue<string>,
|
|
54
50
|
PromiseOrValue<string>,
|
|
55
51
|
PromiseOrValue<BigNumberish>,
|
|
56
52
|
PromiseOrValue<BigNumberish>
|
|
57
53
|
]): string;
|
|
58
|
-
encodeFunctionData(functionFragment:
|
|
59
|
-
encodeFunctionData(functionFragment:
|
|
60
|
-
encodeFunctionData(functionFragment:
|
|
61
|
-
encodeFunctionData(functionFragment:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
encodeFunctionData(functionFragment:
|
|
67
|
-
encodeFunctionData(functionFragment:
|
|
68
|
-
encodeFunctionData(functionFragment:
|
|
69
|
-
encodeFunctionData(functionFragment:
|
|
70
|
-
encodeFunctionData(functionFragment:
|
|
71
|
-
encodeFunctionData(functionFragment:
|
|
72
|
-
encodeFunctionData(functionFragment:
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
decodeFunctionResult(functionFragment:
|
|
82
|
-
decodeFunctionResult(functionFragment:
|
|
83
|
-
decodeFunctionResult(functionFragment:
|
|
84
|
-
decodeFunctionResult(functionFragment:
|
|
85
|
-
decodeFunctionResult(functionFragment:
|
|
86
|
-
decodeFunctionResult(functionFragment:
|
|
87
|
-
decodeFunctionResult(functionFragment:
|
|
88
|
-
decodeFunctionResult(functionFragment:
|
|
89
|
-
decodeFunctionResult(functionFragment:
|
|
90
|
-
decodeFunctionResult(functionFragment:
|
|
91
|
-
decodeFunctionResult(functionFragment:
|
|
92
|
-
decodeFunctionResult(functionFragment:
|
|
93
|
-
decodeFunctionResult(functionFragment:
|
|
94
|
-
decodeFunctionResult(functionFragment: "rewardPerSecond", data: BytesLike): Result;
|
|
95
|
-
decodeFunctionResult(functionFragment: "rewardToken", data: BytesLike): Result;
|
|
96
|
-
decodeFunctionResult(functionFragment: "set", data: BytesLike): Result;
|
|
97
|
-
decodeFunctionResult(functionFragment: "setRewardPerSecond", data: BytesLike): Result;
|
|
98
|
-
decodeFunctionResult(functionFragment: "totalAllocPoint", data: BytesLike): Result;
|
|
99
|
-
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
100
|
-
decodeFunctionResult(functionFragment: "updatePool", data: BytesLike): Result;
|
|
101
|
-
decodeFunctionResult(functionFragment: "userInfo", data: BytesLike): Result;
|
|
54
|
+
encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
|
|
55
|
+
encodeFunctionData(functionFragment: 'pendingOwner', values?: undefined): string;
|
|
56
|
+
encodeFunctionData(functionFragment: 'pendingToken', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
|
|
57
|
+
encodeFunctionData(functionFragment: 'pendingTokens', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
58
|
+
encodeFunctionData(functionFragment: 'poolIds', values: [PromiseOrValue<BigNumberish>]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: 'poolInfo', values: [PromiseOrValue<BigNumberish>]): string;
|
|
60
|
+
encodeFunctionData(functionFragment: 'poolLength', values?: undefined): string;
|
|
61
|
+
encodeFunctionData(functionFragment: 'rewardPerSecond', values?: undefined): string;
|
|
62
|
+
encodeFunctionData(functionFragment: 'rewardToken', values?: undefined): string;
|
|
63
|
+
encodeFunctionData(functionFragment: 'set', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: 'setRewardPerSecond', values: [PromiseOrValue<BigNumberish>]): string;
|
|
65
|
+
encodeFunctionData(functionFragment: 'totalAllocPoint', values?: undefined): string;
|
|
66
|
+
encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>, PromiseOrValue<boolean>, PromiseOrValue<boolean>]): string;
|
|
67
|
+
encodeFunctionData(functionFragment: 'updatePool', values: [PromiseOrValue<BigNumberish>]): string;
|
|
68
|
+
encodeFunctionData(functionFragment: 'userInfo', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
|
|
69
|
+
decodeFunctionResult(functionFragment: 'MINIAPE_V2', data: BytesLike): Result;
|
|
70
|
+
decodeFunctionResult(functionFragment: 'add', data: BytesLike): Result;
|
|
71
|
+
decodeFunctionResult(functionFragment: 'claimOwnership', data: BytesLike): Result;
|
|
72
|
+
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
|
|
73
|
+
decodeFunctionResult(functionFragment: 'massUpdatePools', data: BytesLike): Result;
|
|
74
|
+
decodeFunctionResult(functionFragment: 'onBananaReward', data: BytesLike): Result;
|
|
75
|
+
decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
|
|
76
|
+
decodeFunctionResult(functionFragment: 'pendingOwner', data: BytesLike): Result;
|
|
77
|
+
decodeFunctionResult(functionFragment: 'pendingToken', data: BytesLike): Result;
|
|
78
|
+
decodeFunctionResult(functionFragment: 'pendingTokens', data: BytesLike): Result;
|
|
79
|
+
decodeFunctionResult(functionFragment: 'poolIds', data: BytesLike): Result;
|
|
80
|
+
decodeFunctionResult(functionFragment: 'poolInfo', data: BytesLike): Result;
|
|
81
|
+
decodeFunctionResult(functionFragment: 'poolLength', data: BytesLike): Result;
|
|
82
|
+
decodeFunctionResult(functionFragment: 'rewardPerSecond', data: BytesLike): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: 'rewardToken', data: BytesLike): Result;
|
|
84
|
+
decodeFunctionResult(functionFragment: 'set', data: BytesLike): Result;
|
|
85
|
+
decodeFunctionResult(functionFragment: 'setRewardPerSecond', data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: 'totalAllocPoint', data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: 'updatePool', data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: 'userInfo', data: BytesLike): Result;
|
|
102
90
|
events: {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
91
|
+
'LogInit(address,uint256,address)': EventFragment;
|
|
92
|
+
'LogOnReward(address,uint256,uint256,address)': EventFragment;
|
|
93
|
+
'LogPoolAddition(uint256,uint256)': EventFragment;
|
|
94
|
+
'LogRewardPerSecond(uint256)': EventFragment;
|
|
95
|
+
'LogSetPool(uint256,uint256)': EventFragment;
|
|
96
|
+
'LogUpdatePool(uint256,uint64,uint256,uint256)': EventFragment;
|
|
97
|
+
'OwnershipTransferred(address,address)': EventFragment;
|
|
110
98
|
};
|
|
111
|
-
getEvent(nameOrSignatureOrTopic:
|
|
112
|
-
getEvent(nameOrSignatureOrTopic:
|
|
113
|
-
getEvent(nameOrSignatureOrTopic:
|
|
114
|
-
getEvent(nameOrSignatureOrTopic:
|
|
115
|
-
getEvent(nameOrSignatureOrTopic:
|
|
116
|
-
getEvent(nameOrSignatureOrTopic:
|
|
117
|
-
getEvent(nameOrSignatureOrTopic:
|
|
99
|
+
getEvent(nameOrSignatureOrTopic: 'LogInit'): EventFragment;
|
|
100
|
+
getEvent(nameOrSignatureOrTopic: 'LogOnReward'): EventFragment;
|
|
101
|
+
getEvent(nameOrSignatureOrTopic: 'LogPoolAddition'): EventFragment;
|
|
102
|
+
getEvent(nameOrSignatureOrTopic: 'LogRewardPerSecond'): EventFragment;
|
|
103
|
+
getEvent(nameOrSignatureOrTopic: 'LogSetPool'): EventFragment;
|
|
104
|
+
getEvent(nameOrSignatureOrTopic: 'LogUpdatePool'): EventFragment;
|
|
105
|
+
getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
|
|
118
106
|
}
|
|
119
107
|
export interface LogInitEventObject {
|
|
120
108
|
rewardToken: string;
|
|
121
109
|
rewardPerSecond: BigNumber;
|
|
122
110
|
MINI_APE_V2: string;
|
|
123
111
|
}
|
|
124
|
-
export type LogInitEvent = TypedEvent<[
|
|
125
|
-
string,
|
|
126
|
-
BigNumber,
|
|
127
|
-
string
|
|
128
|
-
], LogInitEventObject>;
|
|
112
|
+
export type LogInitEvent = TypedEvent<[string, BigNumber, string], LogInitEventObject>;
|
|
129
113
|
export type LogInitEventFilter = TypedEventFilter<LogInitEvent>;
|
|
130
114
|
export interface LogOnRewardEventObject {
|
|
131
115
|
user: string;
|
|
@@ -133,37 +117,24 @@ export interface LogOnRewardEventObject {
|
|
|
133
117
|
amount: BigNumber;
|
|
134
118
|
to: string;
|
|
135
119
|
}
|
|
136
|
-
export type LogOnRewardEvent = TypedEvent<[
|
|
137
|
-
string,
|
|
138
|
-
BigNumber,
|
|
139
|
-
BigNumber,
|
|
140
|
-
string
|
|
141
|
-
], LogOnRewardEventObject>;
|
|
120
|
+
export type LogOnRewardEvent = TypedEvent<[string, BigNumber, BigNumber, string], LogOnRewardEventObject>;
|
|
142
121
|
export type LogOnRewardEventFilter = TypedEventFilter<LogOnRewardEvent>;
|
|
143
122
|
export interface LogPoolAdditionEventObject {
|
|
144
123
|
pid: BigNumber;
|
|
145
124
|
allocPoint: BigNumber;
|
|
146
125
|
}
|
|
147
|
-
export type LogPoolAdditionEvent = TypedEvent<[
|
|
148
|
-
BigNumber,
|
|
149
|
-
BigNumber
|
|
150
|
-
], LogPoolAdditionEventObject>;
|
|
126
|
+
export type LogPoolAdditionEvent = TypedEvent<[BigNumber, BigNumber], LogPoolAdditionEventObject>;
|
|
151
127
|
export type LogPoolAdditionEventFilter = TypedEventFilter<LogPoolAdditionEvent>;
|
|
152
128
|
export interface LogRewardPerSecondEventObject {
|
|
153
129
|
rewardPerSecond: BigNumber;
|
|
154
130
|
}
|
|
155
|
-
export type LogRewardPerSecondEvent = TypedEvent<[
|
|
156
|
-
BigNumber
|
|
157
|
-
], LogRewardPerSecondEventObject>;
|
|
131
|
+
export type LogRewardPerSecondEvent = TypedEvent<[BigNumber], LogRewardPerSecondEventObject>;
|
|
158
132
|
export type LogRewardPerSecondEventFilter = TypedEventFilter<LogRewardPerSecondEvent>;
|
|
159
133
|
export interface LogSetPoolEventObject {
|
|
160
134
|
pid: BigNumber;
|
|
161
135
|
allocPoint: BigNumber;
|
|
162
136
|
}
|
|
163
|
-
export type LogSetPoolEvent = TypedEvent<[
|
|
164
|
-
BigNumber,
|
|
165
|
-
BigNumber
|
|
166
|
-
], LogSetPoolEventObject>;
|
|
137
|
+
export type LogSetPoolEvent = TypedEvent<[BigNumber, BigNumber], LogSetPoolEventObject>;
|
|
167
138
|
export type LogSetPoolEventFilter = TypedEventFilter<LogSetPoolEvent>;
|
|
168
139
|
export interface LogUpdatePoolEventObject {
|
|
169
140
|
pid: BigNumber;
|
|
@@ -171,21 +142,13 @@ export interface LogUpdatePoolEventObject {
|
|
|
171
142
|
lpSupply: BigNumber;
|
|
172
143
|
accBananaPerShare: BigNumber;
|
|
173
144
|
}
|
|
174
|
-
export type LogUpdatePoolEvent = TypedEvent<[
|
|
175
|
-
BigNumber,
|
|
176
|
-
BigNumber,
|
|
177
|
-
BigNumber,
|
|
178
|
-
BigNumber
|
|
179
|
-
], LogUpdatePoolEventObject>;
|
|
145
|
+
export type LogUpdatePoolEvent = TypedEvent<[BigNumber, BigNumber, BigNumber, BigNumber], LogUpdatePoolEventObject>;
|
|
180
146
|
export type LogUpdatePoolEventFilter = TypedEventFilter<LogUpdatePoolEvent>;
|
|
181
147
|
export interface OwnershipTransferredEventObject {
|
|
182
148
|
previousOwner: string;
|
|
183
149
|
newOwner: string;
|
|
184
150
|
}
|
|
185
|
-
export type OwnershipTransferredEvent = TypedEvent<[
|
|
186
|
-
string,
|
|
187
|
-
string
|
|
188
|
-
], OwnershipTransferredEventObject>;
|
|
151
|
+
export type OwnershipTransferredEvent = TypedEvent<[string, string], OwnershipTransferredEventObject>;
|
|
189
152
|
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
|
|
190
153
|
export interface MiniComplexRewarder extends BaseContract {
|
|
191
154
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -258,10 +221,7 @@ export interface MiniComplexRewarder extends BaseContract {
|
|
|
258
221
|
updatePool(pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
259
222
|
from?: PromiseOrValue<string>;
|
|
260
223
|
}): Promise<ContractTransaction>;
|
|
261
|
-
userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
262
|
-
BigNumber,
|
|
263
|
-
BigNumber
|
|
264
|
-
] & {
|
|
224
|
+
userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
|
|
265
225
|
amount: BigNumber;
|
|
266
226
|
rewardDebt: BigNumber;
|
|
267
227
|
}>;
|
|
@@ -318,10 +278,7 @@ export interface MiniComplexRewarder extends BaseContract {
|
|
|
318
278
|
updatePool(pid: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
319
279
|
from?: PromiseOrValue<string>;
|
|
320
280
|
}): Promise<ContractTransaction>;
|
|
321
|
-
userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
322
|
-
BigNumber,
|
|
323
|
-
BigNumber
|
|
324
|
-
] & {
|
|
281
|
+
userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
|
|
325
282
|
amount: BigNumber;
|
|
326
283
|
rewardDebt: BigNumber;
|
|
327
284
|
}>;
|
|
@@ -360,28 +317,25 @@ export interface MiniComplexRewarder extends BaseContract {
|
|
|
360
317
|
totalAllocPoint(overrides?: CallOverrides): Promise<BigNumber>;
|
|
361
318
|
transferOwnership(newOwner: PromiseOrValue<string>, direct: PromiseOrValue<boolean>, renounce: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
|
|
362
319
|
updatePool(pid: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<MiniRewarderTime.PoolInfoStructOutput>;
|
|
363
|
-
userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
364
|
-
BigNumber,
|
|
365
|
-
BigNumber
|
|
366
|
-
] & {
|
|
320
|
+
userInfo(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
|
|
367
321
|
amount: BigNumber;
|
|
368
322
|
rewardDebt: BigNumber;
|
|
369
323
|
}>;
|
|
370
324
|
};
|
|
371
325
|
filters: {
|
|
372
|
-
|
|
326
|
+
'LogInit(address,uint256,address)'(rewardToken?: null, rewardPerSecond?: null, MINI_APE_V2?: null): LogInitEventFilter;
|
|
373
327
|
LogInit(rewardToken?: null, rewardPerSecond?: null, MINI_APE_V2?: null): LogInitEventFilter;
|
|
374
|
-
|
|
328
|
+
'LogOnReward(address,uint256,uint256,address)'(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null, to?: PromiseOrValue<string> | null): LogOnRewardEventFilter;
|
|
375
329
|
LogOnReward(user?: PromiseOrValue<string> | null, pid?: PromiseOrValue<BigNumberish> | null, amount?: null, to?: PromiseOrValue<string> | null): LogOnRewardEventFilter;
|
|
376
|
-
|
|
330
|
+
'LogPoolAddition(uint256,uint256)'(pid?: PromiseOrValue<BigNumberish> | null, allocPoint?: null): LogPoolAdditionEventFilter;
|
|
377
331
|
LogPoolAddition(pid?: PromiseOrValue<BigNumberish> | null, allocPoint?: null): LogPoolAdditionEventFilter;
|
|
378
|
-
|
|
332
|
+
'LogRewardPerSecond(uint256)'(rewardPerSecond?: null): LogRewardPerSecondEventFilter;
|
|
379
333
|
LogRewardPerSecond(rewardPerSecond?: null): LogRewardPerSecondEventFilter;
|
|
380
|
-
|
|
334
|
+
'LogSetPool(uint256,uint256)'(pid?: PromiseOrValue<BigNumberish> | null, allocPoint?: null): LogSetPoolEventFilter;
|
|
381
335
|
LogSetPool(pid?: PromiseOrValue<BigNumberish> | null, allocPoint?: null): LogSetPoolEventFilter;
|
|
382
|
-
|
|
336
|
+
'LogUpdatePool(uint256,uint64,uint256,uint256)'(pid?: PromiseOrValue<BigNumberish> | null, lastRewardTime?: null, lpSupply?: null, accBananaPerShare?: null): LogUpdatePoolEventFilter;
|
|
383
337
|
LogUpdatePool(pid?: PromiseOrValue<BigNumberish> | null, lastRewardTime?: null, lpSupply?: null, accBananaPerShare?: null): LogUpdatePoolEventFilter;
|
|
384
|
-
|
|
338
|
+
'OwnershipTransferred(address,address)'(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
385
339
|
OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
386
340
|
};
|
|
387
341
|
estimateGas: {
|