@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,216 +1,188 @@
|
|
|
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 SousChefInterface 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
|
-
|
|
7
|
+
'REWARD_TOKEN()': FunctionFragment;
|
|
8
|
+
'STAKE_TOKEN()': FunctionFragment;
|
|
9
|
+
'bonusEndTime()': FunctionFragment;
|
|
10
|
+
'deposit(uint256)': FunctionFragment;
|
|
11
|
+
'depositRewards(uint256)': FunctionFragment;
|
|
12
|
+
'depositTo(uint256,address)': FunctionFragment;
|
|
13
|
+
'emergencyRewardWithdraw(uint256)': FunctionFragment;
|
|
14
|
+
'emergencyWithdraw()': FunctionFragment;
|
|
15
|
+
'getMultiplier(uint256,uint256)': FunctionFragment;
|
|
16
|
+
'getStakeTokenFeeBalance()': FunctionFragment;
|
|
17
|
+
'getUnharvestedRewards()': FunctionFragment;
|
|
18
|
+
'initialize(address,address,uint256,uint256,uint256)': FunctionFragment;
|
|
19
|
+
'isNativeTokenReward()': FunctionFragment;
|
|
20
|
+
'owner()': FunctionFragment;
|
|
21
|
+
'pendingReward(address)': FunctionFragment;
|
|
22
|
+
'poolInfo()': FunctionFragment;
|
|
23
|
+
'renounceOwnership()': FunctionFragment;
|
|
24
|
+
'rewardBalance()': FunctionFragment;
|
|
25
|
+
'rewardPerSecond()': FunctionFragment;
|
|
26
|
+
'setBonusEndTime(uint256)': FunctionFragment;
|
|
27
|
+
'setRewardPerSecond(uint256)': FunctionFragment;
|
|
28
|
+
'skimStakeTokenFees(address)': FunctionFragment;
|
|
29
|
+
'startTime()': FunctionFragment;
|
|
30
|
+
'sweepToken(address)': FunctionFragment;
|
|
31
|
+
'totalRewardsAllocated()': FunctionFragment;
|
|
32
|
+
'totalRewardsPaid()': FunctionFragment;
|
|
33
|
+
'totalStakeTokenBalance()': FunctionFragment;
|
|
34
|
+
'totalStaked()': FunctionFragment;
|
|
35
|
+
'transferOwnership(address)': FunctionFragment;
|
|
36
|
+
'updatePool()': FunctionFragment;
|
|
37
|
+
'userInfo(address)': FunctionFragment;
|
|
38
|
+
'withdraw(uint256)': FunctionFragment;
|
|
39
39
|
};
|
|
40
|
-
getFunction(nameOrSignatureOrTopic:
|
|
41
|
-
encodeFunctionData(functionFragment:
|
|
42
|
-
encodeFunctionData(functionFragment:
|
|
43
|
-
encodeFunctionData(functionFragment:
|
|
44
|
-
encodeFunctionData(functionFragment:
|
|
45
|
-
encodeFunctionData(functionFragment:
|
|
46
|
-
encodeFunctionData(functionFragment:
|
|
47
|
-
encodeFunctionData(functionFragment:
|
|
48
|
-
encodeFunctionData(functionFragment:
|
|
49
|
-
encodeFunctionData(functionFragment:
|
|
50
|
-
encodeFunctionData(functionFragment:
|
|
51
|
-
encodeFunctionData(functionFragment:
|
|
52
|
-
encodeFunctionData(functionFragment:
|
|
40
|
+
getFunction(nameOrSignatureOrTopic: 'REWARD_TOKEN' | 'STAKE_TOKEN' | 'bonusEndTime' | 'deposit' | 'depositRewards' | 'depositTo' | 'emergencyRewardWithdraw' | 'emergencyWithdraw' | 'getMultiplier' | 'getStakeTokenFeeBalance' | 'getUnharvestedRewards' | 'initialize' | 'isNativeTokenReward' | 'owner' | 'pendingReward' | 'poolInfo' | 'renounceOwnership' | 'rewardBalance' | 'rewardPerSecond' | 'setBonusEndTime' | 'setRewardPerSecond' | 'skimStakeTokenFees' | 'startTime' | 'sweepToken' | 'totalRewardsAllocated' | 'totalRewardsPaid' | 'totalStakeTokenBalance' | 'totalStaked' | 'transferOwnership' | 'updatePool' | 'userInfo' | 'withdraw'): FunctionFragment;
|
|
41
|
+
encodeFunctionData(functionFragment: 'REWARD_TOKEN', values?: undefined): string;
|
|
42
|
+
encodeFunctionData(functionFragment: 'STAKE_TOKEN', values?: undefined): string;
|
|
43
|
+
encodeFunctionData(functionFragment: 'bonusEndTime', values?: undefined): string;
|
|
44
|
+
encodeFunctionData(functionFragment: 'deposit', values: [PromiseOrValue<BigNumberish>]): string;
|
|
45
|
+
encodeFunctionData(functionFragment: 'depositRewards', values: [PromiseOrValue<BigNumberish>]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: 'depositTo', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
|
|
47
|
+
encodeFunctionData(functionFragment: 'emergencyRewardWithdraw', values: [PromiseOrValue<BigNumberish>]): string;
|
|
48
|
+
encodeFunctionData(functionFragment: 'emergencyWithdraw', values?: undefined): string;
|
|
49
|
+
encodeFunctionData(functionFragment: 'getMultiplier', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
|
|
50
|
+
encodeFunctionData(functionFragment: 'getStakeTokenFeeBalance', values?: undefined): string;
|
|
51
|
+
encodeFunctionData(functionFragment: 'getUnharvestedRewards', values?: undefined): string;
|
|
52
|
+
encodeFunctionData(functionFragment: 'initialize', values: [
|
|
53
53
|
PromiseOrValue<string>,
|
|
54
54
|
PromiseOrValue<string>,
|
|
55
55
|
PromiseOrValue<BigNumberish>,
|
|
56
56
|
PromiseOrValue<BigNumberish>,
|
|
57
57
|
PromiseOrValue<BigNumberish>
|
|
58
58
|
]): string;
|
|
59
|
-
encodeFunctionData(functionFragment:
|
|
60
|
-
encodeFunctionData(functionFragment:
|
|
61
|
-
encodeFunctionData(functionFragment:
|
|
62
|
-
encodeFunctionData(functionFragment:
|
|
63
|
-
encodeFunctionData(functionFragment:
|
|
64
|
-
encodeFunctionData(functionFragment:
|
|
65
|
-
encodeFunctionData(functionFragment:
|
|
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
|
-
encodeFunctionData(functionFragment:
|
|
79
|
-
decodeFunctionResult(functionFragment:
|
|
80
|
-
decodeFunctionResult(functionFragment:
|
|
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:
|
|
95
|
-
decodeFunctionResult(functionFragment:
|
|
96
|
-
decodeFunctionResult(functionFragment:
|
|
97
|
-
decodeFunctionResult(functionFragment:
|
|
98
|
-
decodeFunctionResult(functionFragment:
|
|
99
|
-
decodeFunctionResult(functionFragment:
|
|
100
|
-
decodeFunctionResult(functionFragment:
|
|
101
|
-
decodeFunctionResult(functionFragment:
|
|
102
|
-
decodeFunctionResult(functionFragment:
|
|
103
|
-
decodeFunctionResult(functionFragment:
|
|
104
|
-
decodeFunctionResult(functionFragment:
|
|
105
|
-
decodeFunctionResult(functionFragment:
|
|
106
|
-
decodeFunctionResult(functionFragment:
|
|
107
|
-
decodeFunctionResult(functionFragment:
|
|
108
|
-
decodeFunctionResult(functionFragment:
|
|
109
|
-
decodeFunctionResult(functionFragment:
|
|
110
|
-
decodeFunctionResult(functionFragment:
|
|
59
|
+
encodeFunctionData(functionFragment: 'isNativeTokenReward', values?: undefined): string;
|
|
60
|
+
encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
|
|
61
|
+
encodeFunctionData(functionFragment: 'pendingReward', values: [PromiseOrValue<string>]): string;
|
|
62
|
+
encodeFunctionData(functionFragment: 'poolInfo', values?: undefined): string;
|
|
63
|
+
encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
|
|
64
|
+
encodeFunctionData(functionFragment: 'rewardBalance', values?: undefined): string;
|
|
65
|
+
encodeFunctionData(functionFragment: 'rewardPerSecond', values?: undefined): string;
|
|
66
|
+
encodeFunctionData(functionFragment: 'setBonusEndTime', values: [PromiseOrValue<BigNumberish>]): string;
|
|
67
|
+
encodeFunctionData(functionFragment: 'setRewardPerSecond', values: [PromiseOrValue<BigNumberish>]): string;
|
|
68
|
+
encodeFunctionData(functionFragment: 'skimStakeTokenFees', values: [PromiseOrValue<string>]): string;
|
|
69
|
+
encodeFunctionData(functionFragment: 'startTime', values?: undefined): string;
|
|
70
|
+
encodeFunctionData(functionFragment: 'sweepToken', values: [PromiseOrValue<string>]): string;
|
|
71
|
+
encodeFunctionData(functionFragment: 'totalRewardsAllocated', values?: undefined): string;
|
|
72
|
+
encodeFunctionData(functionFragment: 'totalRewardsPaid', values?: undefined): string;
|
|
73
|
+
encodeFunctionData(functionFragment: 'totalStakeTokenBalance', values?: undefined): string;
|
|
74
|
+
encodeFunctionData(functionFragment: 'totalStaked', values?: undefined): string;
|
|
75
|
+
encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>]): string;
|
|
76
|
+
encodeFunctionData(functionFragment: 'updatePool', values?: undefined): string;
|
|
77
|
+
encodeFunctionData(functionFragment: 'userInfo', values: [PromiseOrValue<string>]): string;
|
|
78
|
+
encodeFunctionData(functionFragment: 'withdraw', values: [PromiseOrValue<BigNumberish>]): string;
|
|
79
|
+
decodeFunctionResult(functionFragment: 'REWARD_TOKEN', data: BytesLike): Result;
|
|
80
|
+
decodeFunctionResult(functionFragment: 'STAKE_TOKEN', data: BytesLike): Result;
|
|
81
|
+
decodeFunctionResult(functionFragment: 'bonusEndTime', data: BytesLike): Result;
|
|
82
|
+
decodeFunctionResult(functionFragment: 'deposit', data: BytesLike): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: 'depositRewards', data: BytesLike): Result;
|
|
84
|
+
decodeFunctionResult(functionFragment: 'depositTo', data: BytesLike): Result;
|
|
85
|
+
decodeFunctionResult(functionFragment: 'emergencyRewardWithdraw', data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: 'emergencyWithdraw', data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: 'getMultiplier', data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: 'getStakeTokenFeeBalance', data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: 'getUnharvestedRewards', data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(functionFragment: 'isNativeTokenReward', data: BytesLike): Result;
|
|
92
|
+
decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: 'pendingReward', data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: 'poolInfo', data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: 'rewardBalance', data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: 'rewardPerSecond', data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: 'setBonusEndTime', data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: 'setRewardPerSecond', data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: 'skimStakeTokenFees', data: BytesLike): Result;
|
|
101
|
+
decodeFunctionResult(functionFragment: 'startTime', data: BytesLike): Result;
|
|
102
|
+
decodeFunctionResult(functionFragment: 'sweepToken', data: BytesLike): Result;
|
|
103
|
+
decodeFunctionResult(functionFragment: 'totalRewardsAllocated', data: BytesLike): Result;
|
|
104
|
+
decodeFunctionResult(functionFragment: 'totalRewardsPaid', data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(functionFragment: 'totalStakeTokenBalance', data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: 'totalStaked', data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: 'updatePool', data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: 'userInfo', data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(functionFragment: 'withdraw', data: BytesLike): Result;
|
|
111
111
|
events: {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
112
|
+
'Deposit(address,address,uint256)': EventFragment;
|
|
113
|
+
'DepositRewards(uint256)': EventFragment;
|
|
114
|
+
'EmergencyRewardWithdraw(address,uint256)': EventFragment;
|
|
115
|
+
'EmergencySweepWithdraw(address,address,uint256)': EventFragment;
|
|
116
|
+
'EmergencyWithdraw(address,uint256)': EventFragment;
|
|
117
|
+
'LogUpdatePool(uint256,uint256)': EventFragment;
|
|
118
|
+
'OwnershipTransferred(address,address)': EventFragment;
|
|
119
|
+
'SkimStakeTokenFees(address,uint256)': EventFragment;
|
|
120
|
+
'Withdraw(address,uint256)': EventFragment;
|
|
121
121
|
};
|
|
122
|
-
getEvent(nameOrSignatureOrTopic:
|
|
123
|
-
getEvent(nameOrSignatureOrTopic:
|
|
124
|
-
getEvent(nameOrSignatureOrTopic:
|
|
125
|
-
getEvent(nameOrSignatureOrTopic:
|
|
126
|
-
getEvent(nameOrSignatureOrTopic:
|
|
127
|
-
getEvent(nameOrSignatureOrTopic:
|
|
128
|
-
getEvent(nameOrSignatureOrTopic:
|
|
129
|
-
getEvent(nameOrSignatureOrTopic:
|
|
130
|
-
getEvent(nameOrSignatureOrTopic:
|
|
122
|
+
getEvent(nameOrSignatureOrTopic: 'Deposit'): EventFragment;
|
|
123
|
+
getEvent(nameOrSignatureOrTopic: 'DepositRewards'): EventFragment;
|
|
124
|
+
getEvent(nameOrSignatureOrTopic: 'EmergencyRewardWithdraw'): EventFragment;
|
|
125
|
+
getEvent(nameOrSignatureOrTopic: 'EmergencySweepWithdraw'): EventFragment;
|
|
126
|
+
getEvent(nameOrSignatureOrTopic: 'EmergencyWithdraw'): EventFragment;
|
|
127
|
+
getEvent(nameOrSignatureOrTopic: 'LogUpdatePool'): EventFragment;
|
|
128
|
+
getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
|
|
129
|
+
getEvent(nameOrSignatureOrTopic: 'SkimStakeTokenFees'): EventFragment;
|
|
130
|
+
getEvent(nameOrSignatureOrTopic: 'Withdraw'): EventFragment;
|
|
131
131
|
}
|
|
132
132
|
export interface DepositEventObject {
|
|
133
133
|
sender: string;
|
|
134
134
|
user: string;
|
|
135
135
|
amount: BigNumber;
|
|
136
136
|
}
|
|
137
|
-
export type DepositEvent = TypedEvent<[
|
|
138
|
-
string,
|
|
139
|
-
string,
|
|
140
|
-
BigNumber
|
|
141
|
-
], DepositEventObject>;
|
|
137
|
+
export type DepositEvent = TypedEvent<[string, string, BigNumber], DepositEventObject>;
|
|
142
138
|
export type DepositEventFilter = TypedEventFilter<DepositEvent>;
|
|
143
139
|
export interface DepositRewardsEventObject {
|
|
144
140
|
amount: BigNumber;
|
|
145
141
|
}
|
|
146
|
-
export type DepositRewardsEvent = TypedEvent<[
|
|
147
|
-
BigNumber
|
|
148
|
-
], DepositRewardsEventObject>;
|
|
142
|
+
export type DepositRewardsEvent = TypedEvent<[BigNumber], DepositRewardsEventObject>;
|
|
149
143
|
export type DepositRewardsEventFilter = TypedEventFilter<DepositRewardsEvent>;
|
|
150
144
|
export interface EmergencyRewardWithdrawEventObject {
|
|
151
145
|
user: string;
|
|
152
146
|
amount: BigNumber;
|
|
153
147
|
}
|
|
154
|
-
export type EmergencyRewardWithdrawEvent = TypedEvent<[
|
|
155
|
-
string,
|
|
156
|
-
BigNumber
|
|
157
|
-
], EmergencyRewardWithdrawEventObject>;
|
|
148
|
+
export type EmergencyRewardWithdrawEvent = TypedEvent<[string, BigNumber], EmergencyRewardWithdrawEventObject>;
|
|
158
149
|
export type EmergencyRewardWithdrawEventFilter = TypedEventFilter<EmergencyRewardWithdrawEvent>;
|
|
159
150
|
export interface EmergencySweepWithdrawEventObject {
|
|
160
151
|
user: string;
|
|
161
152
|
token: string;
|
|
162
153
|
amount: BigNumber;
|
|
163
154
|
}
|
|
164
|
-
export type EmergencySweepWithdrawEvent = TypedEvent<[
|
|
165
|
-
string,
|
|
166
|
-
string,
|
|
167
|
-
BigNumber
|
|
168
|
-
], EmergencySweepWithdrawEventObject>;
|
|
155
|
+
export type EmergencySweepWithdrawEvent = TypedEvent<[string, string, BigNumber], EmergencySweepWithdrawEventObject>;
|
|
169
156
|
export type EmergencySweepWithdrawEventFilter = TypedEventFilter<EmergencySweepWithdrawEvent>;
|
|
170
157
|
export interface EmergencyWithdrawEventObject {
|
|
171
158
|
user: string;
|
|
172
159
|
amount: BigNumber;
|
|
173
160
|
}
|
|
174
|
-
export type EmergencyWithdrawEvent = TypedEvent<[
|
|
175
|
-
string,
|
|
176
|
-
BigNumber
|
|
177
|
-
], EmergencyWithdrawEventObject>;
|
|
161
|
+
export type EmergencyWithdrawEvent = TypedEvent<[string, BigNumber], EmergencyWithdrawEventObject>;
|
|
178
162
|
export type EmergencyWithdrawEventFilter = TypedEventFilter<EmergencyWithdrawEvent>;
|
|
179
163
|
export interface LogUpdatePoolEventObject {
|
|
180
164
|
bonusEndTime: BigNumber;
|
|
181
165
|
rewardPerSecond: BigNumber;
|
|
182
166
|
}
|
|
183
|
-
export type LogUpdatePoolEvent = TypedEvent<[
|
|
184
|
-
BigNumber,
|
|
185
|
-
BigNumber
|
|
186
|
-
], LogUpdatePoolEventObject>;
|
|
167
|
+
export type LogUpdatePoolEvent = TypedEvent<[BigNumber, BigNumber], LogUpdatePoolEventObject>;
|
|
187
168
|
export type LogUpdatePoolEventFilter = TypedEventFilter<LogUpdatePoolEvent>;
|
|
188
169
|
export interface OwnershipTransferredEventObject {
|
|
189
170
|
previousOwner: string;
|
|
190
171
|
newOwner: string;
|
|
191
172
|
}
|
|
192
|
-
export type OwnershipTransferredEvent = TypedEvent<[
|
|
193
|
-
string,
|
|
194
|
-
string
|
|
195
|
-
], OwnershipTransferredEventObject>;
|
|
173
|
+
export type OwnershipTransferredEvent = TypedEvent<[string, string], OwnershipTransferredEventObject>;
|
|
196
174
|
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
|
|
197
175
|
export interface SkimStakeTokenFeesEventObject {
|
|
198
176
|
user: string;
|
|
199
177
|
amount: BigNumber;
|
|
200
178
|
}
|
|
201
|
-
export type SkimStakeTokenFeesEvent = TypedEvent<[
|
|
202
|
-
string,
|
|
203
|
-
BigNumber
|
|
204
|
-
], SkimStakeTokenFeesEventObject>;
|
|
179
|
+
export type SkimStakeTokenFeesEvent = TypedEvent<[string, BigNumber], SkimStakeTokenFeesEventObject>;
|
|
205
180
|
export type SkimStakeTokenFeesEventFilter = TypedEventFilter<SkimStakeTokenFeesEvent>;
|
|
206
181
|
export interface WithdrawEventObject {
|
|
207
182
|
user: string;
|
|
208
183
|
amount: BigNumber;
|
|
209
184
|
}
|
|
210
|
-
export type WithdrawEvent = TypedEvent<[
|
|
211
|
-
string,
|
|
212
|
-
BigNumber
|
|
213
|
-
], WithdrawEventObject>;
|
|
185
|
+
export type WithdrawEvent = TypedEvent<[string, BigNumber], WithdrawEventObject>;
|
|
214
186
|
export type WithdrawEventFilter = TypedEventFilter<WithdrawEvent>;
|
|
215
187
|
export interface SousChef extends BaseContract {
|
|
216
188
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -295,10 +267,7 @@ export interface SousChef extends BaseContract {
|
|
|
295
267
|
updatePool(overrides?: Overrides & {
|
|
296
268
|
from?: PromiseOrValue<string>;
|
|
297
269
|
}): Promise<ContractTransaction>;
|
|
298
|
-
userInfo(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
299
|
-
BigNumber,
|
|
300
|
-
BigNumber
|
|
301
|
-
] & {
|
|
270
|
+
userInfo(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
|
|
302
271
|
amount: BigNumber;
|
|
303
272
|
rewardDebt: BigNumber;
|
|
304
273
|
}>;
|
|
@@ -372,10 +341,7 @@ export interface SousChef extends BaseContract {
|
|
|
372
341
|
updatePool(overrides?: Overrides & {
|
|
373
342
|
from?: PromiseOrValue<string>;
|
|
374
343
|
}): Promise<ContractTransaction>;
|
|
375
|
-
userInfo(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
376
|
-
BigNumber,
|
|
377
|
-
BigNumber
|
|
378
|
-
] & {
|
|
344
|
+
userInfo(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
|
|
379
345
|
amount: BigNumber;
|
|
380
346
|
rewardDebt: BigNumber;
|
|
381
347
|
}>;
|
|
@@ -423,33 +389,30 @@ export interface SousChef extends BaseContract {
|
|
|
423
389
|
totalStaked(overrides?: CallOverrides): Promise<BigNumber>;
|
|
424
390
|
transferOwnership(newOwner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
425
391
|
updatePool(overrides?: CallOverrides): Promise<void>;
|
|
426
|
-
userInfo(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
427
|
-
BigNumber,
|
|
428
|
-
BigNumber
|
|
429
|
-
] & {
|
|
392
|
+
userInfo(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
|
|
430
393
|
amount: BigNumber;
|
|
431
394
|
rewardDebt: BigNumber;
|
|
432
395
|
}>;
|
|
433
396
|
withdraw(_amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
434
397
|
};
|
|
435
398
|
filters: {
|
|
436
|
-
|
|
399
|
+
'Deposit(address,address,uint256)'(sender?: PromiseOrValue<string> | null, user?: PromiseOrValue<string> | null, amount?: null): DepositEventFilter;
|
|
437
400
|
Deposit(sender?: PromiseOrValue<string> | null, user?: PromiseOrValue<string> | null, amount?: null): DepositEventFilter;
|
|
438
|
-
|
|
401
|
+
'DepositRewards(uint256)'(amount?: null): DepositRewardsEventFilter;
|
|
439
402
|
DepositRewards(amount?: null): DepositRewardsEventFilter;
|
|
440
|
-
|
|
403
|
+
'EmergencyRewardWithdraw(address,uint256)'(user?: PromiseOrValue<string> | null, amount?: null): EmergencyRewardWithdrawEventFilter;
|
|
441
404
|
EmergencyRewardWithdraw(user?: PromiseOrValue<string> | null, amount?: null): EmergencyRewardWithdrawEventFilter;
|
|
442
|
-
|
|
405
|
+
'EmergencySweepWithdraw(address,address,uint256)'(user?: PromiseOrValue<string> | null, token?: PromiseOrValue<string> | null, amount?: null): EmergencySweepWithdrawEventFilter;
|
|
443
406
|
EmergencySweepWithdraw(user?: PromiseOrValue<string> | null, token?: PromiseOrValue<string> | null, amount?: null): EmergencySweepWithdrawEventFilter;
|
|
444
|
-
|
|
407
|
+
'EmergencyWithdraw(address,uint256)'(user?: PromiseOrValue<string> | null, amount?: null): EmergencyWithdrawEventFilter;
|
|
445
408
|
EmergencyWithdraw(user?: PromiseOrValue<string> | null, amount?: null): EmergencyWithdrawEventFilter;
|
|
446
|
-
|
|
409
|
+
'LogUpdatePool(uint256,uint256)'(bonusEndTime?: null, rewardPerSecond?: null): LogUpdatePoolEventFilter;
|
|
447
410
|
LogUpdatePool(bonusEndTime?: null, rewardPerSecond?: null): LogUpdatePoolEventFilter;
|
|
448
|
-
|
|
411
|
+
'OwnershipTransferred(address,address)'(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
449
412
|
OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
450
|
-
|
|
413
|
+
'SkimStakeTokenFees(address,uint256)'(user?: PromiseOrValue<string> | null, amount?: null): SkimStakeTokenFeesEventFilter;
|
|
451
414
|
SkimStakeTokenFees(user?: PromiseOrValue<string> | null, amount?: null): SkimStakeTokenFeesEventFilter;
|
|
452
|
-
|
|
415
|
+
'Withdraw(address,uint256)'(user?: PromiseOrValue<string> | null, amount?: null): WithdrawEventFilter;
|
|
453
416
|
Withdraw(user?: PromiseOrValue<string> | null, amount?: null): WithdrawEventFilter;
|
|
454
417
|
};
|
|
455
418
|
estimateGas: {
|
|
@@ -1,70 +1,70 @@
|
|
|
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 TreasuryInterface extends utils.Interface {
|
|
6
6
|
functions: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
7
|
+
'adminAddress()': FunctionFragment;
|
|
8
|
+
'banana()': FunctionFragment;
|
|
9
|
+
'bananaReserve()': FunctionFragment;
|
|
10
|
+
'buyFee()': FunctionFragment;
|
|
11
|
+
'goldenBanana()': FunctionFragment;
|
|
12
|
+
'goldenBananaReserve()': FunctionFragment;
|
|
13
|
+
'owner()': FunctionFragment;
|
|
14
|
+
'renounceOwnership()': FunctionFragment;
|
|
15
|
+
'sellPrice()': FunctionFragment;
|
|
16
|
+
'transferOwnership(address)': FunctionFragment;
|
|
17
|
+
'buy(uint256)': FunctionFragment;
|
|
18
|
+
'sell(uint256)': FunctionFragment;
|
|
19
|
+
'setAdmin(address)': FunctionFragment;
|
|
20
|
+
'adminWithdraw(uint256)': FunctionFragment;
|
|
21
|
+
'setBuyFee(uint256)': FunctionFragment;
|
|
22
|
+
'setSellPrice(uint256)': FunctionFragment;
|
|
23
|
+
'sync()': FunctionFragment;
|
|
24
24
|
};
|
|
25
|
-
getFunction(nameOrSignatureOrTopic:
|
|
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
|
-
encodeFunctionData(functionFragment:
|
|
42
|
-
encodeFunctionData(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:
|
|
57
|
-
decodeFunctionResult(functionFragment:
|
|
58
|
-
decodeFunctionResult(functionFragment:
|
|
59
|
-
decodeFunctionResult(functionFragment:
|
|
25
|
+
getFunction(nameOrSignatureOrTopic: 'adminAddress' | 'banana' | 'bananaReserve' | 'buyFee' | 'goldenBanana' | 'goldenBananaReserve' | 'owner' | 'renounceOwnership' | 'sellPrice' | 'transferOwnership' | 'buy' | 'sell' | 'setAdmin' | 'adminWithdraw' | 'setBuyFee' | 'setSellPrice' | 'sync'): FunctionFragment;
|
|
26
|
+
encodeFunctionData(functionFragment: 'adminAddress', values?: undefined): string;
|
|
27
|
+
encodeFunctionData(functionFragment: 'banana', values?: undefined): string;
|
|
28
|
+
encodeFunctionData(functionFragment: 'bananaReserve', values?: undefined): string;
|
|
29
|
+
encodeFunctionData(functionFragment: 'buyFee', values?: undefined): string;
|
|
30
|
+
encodeFunctionData(functionFragment: 'goldenBanana', values?: undefined): string;
|
|
31
|
+
encodeFunctionData(functionFragment: 'goldenBananaReserve', values?: undefined): string;
|
|
32
|
+
encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
|
|
33
|
+
encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
|
|
34
|
+
encodeFunctionData(functionFragment: 'sellPrice', values?: undefined): string;
|
|
35
|
+
encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>]): string;
|
|
36
|
+
encodeFunctionData(functionFragment: 'buy', values: [PromiseOrValue<BigNumberish>]): string;
|
|
37
|
+
encodeFunctionData(functionFragment: 'sell', values: [PromiseOrValue<BigNumberish>]): string;
|
|
38
|
+
encodeFunctionData(functionFragment: 'setAdmin', values: [PromiseOrValue<string>]): string;
|
|
39
|
+
encodeFunctionData(functionFragment: 'adminWithdraw', values: [PromiseOrValue<BigNumberish>]): string;
|
|
40
|
+
encodeFunctionData(functionFragment: 'setBuyFee', values: [PromiseOrValue<BigNumberish>]): string;
|
|
41
|
+
encodeFunctionData(functionFragment: 'setSellPrice', values: [PromiseOrValue<BigNumberish>]): string;
|
|
42
|
+
encodeFunctionData(functionFragment: 'sync', values?: undefined): string;
|
|
43
|
+
decodeFunctionResult(functionFragment: 'adminAddress', data: BytesLike): Result;
|
|
44
|
+
decodeFunctionResult(functionFragment: 'banana', data: BytesLike): Result;
|
|
45
|
+
decodeFunctionResult(functionFragment: 'bananaReserve', data: BytesLike): Result;
|
|
46
|
+
decodeFunctionResult(functionFragment: 'buyFee', data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(functionFragment: 'goldenBanana', data: BytesLike): Result;
|
|
48
|
+
decodeFunctionResult(functionFragment: 'goldenBananaReserve', data: BytesLike): Result;
|
|
49
|
+
decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
|
|
50
|
+
decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
|
|
51
|
+
decodeFunctionResult(functionFragment: 'sellPrice', data: BytesLike): Result;
|
|
52
|
+
decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
|
|
53
|
+
decodeFunctionResult(functionFragment: 'buy', data: BytesLike): Result;
|
|
54
|
+
decodeFunctionResult(functionFragment: 'sell', data: BytesLike): Result;
|
|
55
|
+
decodeFunctionResult(functionFragment: 'setAdmin', data: BytesLike): Result;
|
|
56
|
+
decodeFunctionResult(functionFragment: 'adminWithdraw', data: BytesLike): Result;
|
|
57
|
+
decodeFunctionResult(functionFragment: 'setBuyFee', data: BytesLike): Result;
|
|
58
|
+
decodeFunctionResult(functionFragment: 'setSellPrice', data: BytesLike): Result;
|
|
59
|
+
decodeFunctionResult(functionFragment: 'sync', data: BytesLike): Result;
|
|
60
60
|
events: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
'Buy(address,uint256)': EventFragment;
|
|
62
|
+
'OwnershipTransferred(address,address)': EventFragment;
|
|
63
|
+
'Sell(address,uint256)': EventFragment;
|
|
64
64
|
};
|
|
65
|
-
getEvent(nameOrSignatureOrTopic:
|
|
66
|
-
getEvent(nameOrSignatureOrTopic:
|
|
67
|
-
getEvent(nameOrSignatureOrTopic:
|
|
65
|
+
getEvent(nameOrSignatureOrTopic: 'Buy'): EventFragment;
|
|
66
|
+
getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
|
|
67
|
+
getEvent(nameOrSignatureOrTopic: 'Sell'): EventFragment;
|
|
68
68
|
}
|
|
69
69
|
export interface BuyEventObject {
|
|
70
70
|
user: string;
|
|
@@ -76,10 +76,7 @@ export interface OwnershipTransferredEventObject {
|
|
|
76
76
|
previousOwner: string;
|
|
77
77
|
newOwner: string;
|
|
78
78
|
}
|
|
79
|
-
export type OwnershipTransferredEvent = TypedEvent<[
|
|
80
|
-
string,
|
|
81
|
-
string
|
|
82
|
-
], OwnershipTransferredEventObject>;
|
|
79
|
+
export type OwnershipTransferredEvent = TypedEvent<[string, string], OwnershipTransferredEventObject>;
|
|
83
80
|
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
|
|
84
81
|
export interface SellEventObject {
|
|
85
82
|
user: string;
|
|
@@ -193,11 +190,11 @@ export interface Treasury extends BaseContract {
|
|
|
193
190
|
sync(overrides?: CallOverrides): Promise<void>;
|
|
194
191
|
};
|
|
195
192
|
filters: {
|
|
196
|
-
|
|
193
|
+
'Buy(address,uint256)'(user?: PromiseOrValue<string> | null, amount?: null): BuyEventFilter;
|
|
197
194
|
Buy(user?: PromiseOrValue<string> | null, amount?: null): BuyEventFilter;
|
|
198
|
-
|
|
195
|
+
'OwnershipTransferred(address,address)'(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
199
196
|
OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
200
|
-
|
|
197
|
+
'Sell(address,uint256)'(user?: PromiseOrValue<string> | null, amount?: null): SellEventFilter;
|
|
201
198
|
Sell(user?: PromiseOrValue<string> | null, amount?: null): SellEventFilter;
|
|
202
199
|
};
|
|
203
200
|
estimateGas: {
|