@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.
Files changed (455) hide show
  1. package/dist/components/AccordionText/index.d.ts +9 -0
  2. package/dist/components/BondRows/BondRow.d.ts +3 -2
  3. package/dist/components/BondRows/BondRowHeader.d.ts +2 -3
  4. package/dist/components/BondRows/BondRowsByChain.d.ts +3 -3
  5. package/dist/components/BondRows/BondRowsWithTitle.d.ts +3 -3
  6. package/dist/components/DisconnectedPlaceholder/index.d.ts +3 -0
  7. package/dist/components/SlippageModal/index.d.ts +3 -0
  8. package/dist/components/TokenInfoAndName/index.d.ts +3 -2
  9. package/dist/components/TokenSelectorModal/TokenRow.d.ts +8 -0
  10. package/dist/components/TokenSelectorModal/index.d.ts +11 -0
  11. package/dist/components/TokenSelectorPanel/index.d.ts +15 -0
  12. package/dist/components/uikit-sdk/Modal/index.d.ts +1 -1
  13. package/dist/components/uikit-sdk/Toggle/index.d.ts +8 -0
  14. package/dist/components/uikit-sdk/Toggle/styles.d.ts +3 -0
  15. package/dist/components/uikit-sdk/TokenImage/index.d.ts +3 -2
  16. package/dist/components/uikit-sdk/index.d.ts +1 -0
  17. package/dist/config/abi/types/Banana.d.ts +103 -126
  18. package/dist/config/abi/types/Bond.d.ts +176 -221
  19. package/dist/config/abi/types/BondNft.d.ts +160 -207
  20. package/dist/config/abi/types/EnsPublicResolver.d.ts +129 -205
  21. package/dist/config/abi/types/EnsRegistrar.d.ts +62 -82
  22. package/dist/config/abi/types/Erc20.d.ts +40 -52
  23. package/dist/config/abi/types/Erc20_bytes32.d.ts +11 -11
  24. package/dist/config/abi/types/JungleChef.d.ts +64 -79
  25. package/dist/config/abi/types/LaunchBonds.d.ts +299 -355
  26. package/dist/config/abi/types/LensContract.d.ts +58 -77
  27. package/dist/config/abi/types/LockVeAbond.d.ts +328 -434
  28. package/dist/config/abi/types/MigrationBond.d.ts +268 -330
  29. package/dist/config/abi/types/MigrationFveAbond.d.ts +83 -89
  30. package/dist/config/abi/types/MiniComplexRewarder.d.ts +99 -145
  31. package/dist/config/abi/types/Multicallv2.d.ts +35 -46
  32. package/dist/config/abi/types/Multicallv3.d.ts +14 -14
  33. package/dist/config/abi/types/NonFungibleApes.d.ts +130 -170
  34. package/dist/config/abi/types/NonFungibleBananas.d.ts +135 -172
  35. package/dist/config/abi/types/PriceGetter.d.ts +218 -255
  36. package/dist/config/abi/types/PriceGetterLinea.d.ts +254 -287
  37. package/dist/config/abi/types/PriceGetterV2.d.ts +239 -276
  38. package/dist/config/abi/types/SousChef.d.ts +140 -177
  39. package/dist/config/abi/types/Treasury.d.ts +66 -69
  40. package/dist/config/abi/types/Weth.d.ts +53 -68
  41. package/dist/config/abi/types/Zap.d.ts +97 -141
  42. package/dist/config/abi/types/common.d.ts +3 -3
  43. package/dist/config/abi/types/factories/Banana__factory.d.ts +3 -3
  44. package/dist/config/abi/types/factories/BondNft__factory.d.ts +3 -3
  45. package/dist/config/abi/types/factories/Bond__factory.d.ts +3 -3
  46. package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +3 -3
  47. package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +3 -3
  48. package/dist/config/abi/types/factories/Erc20__factory.d.ts +3 -3
  49. package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +3 -3
  50. package/dist/config/abi/types/factories/JungleChef__factory.d.ts +3 -3
  51. package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +3 -3
  52. package/dist/config/abi/types/factories/LensContract__factory.d.ts +3 -3
  53. package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +3 -3
  54. package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +3 -3
  55. package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +3 -3
  56. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +3 -3
  57. package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +3 -3
  58. package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +3 -3
  59. package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +3 -3
  60. package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +3 -3
  61. package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +3 -3
  62. package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +3 -3
  63. package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +3 -3
  64. package/dist/config/abi/types/factories/SousChef__factory.d.ts +3 -3
  65. package/dist/config/abi/types/factories/Treasury__factory.d.ts +3 -3
  66. package/dist/config/abi/types/factories/Weth__factory.d.ts +3 -3
  67. package/dist/config/abi/types/factories/Zap__factory.d.ts +3 -3
  68. package/dist/config/abi/types/factories/index.d.ts +25 -25
  69. package/dist/config/abi/types/index.d.ts +51 -51
  70. package/dist/config/constants/addresses.d.ts +0 -8
  71. package/dist/config/constants/queryKeys.d.ts +10 -2
  72. package/dist/config/constants/tokens.d.ts +3 -6
  73. package/dist/config/constants/zapInputTokens.d.ts +2 -0
  74. package/dist/hooks/useTokenFromZapList.d.ts +3 -0
  75. package/dist/hooks/useTopThreeTags.d.ts +2 -2
  76. package/dist/main.d.ts +7 -0
  77. package/dist/main.js +73492 -0
  78. package/dist/providers/index.d.ts +0 -3
  79. package/dist/scss/AccordionText.scss +11 -0
  80. package/dist/scss/BondMenu.scss +2 -2
  81. package/dist/scss/BondModal.scss +305 -234
  82. package/dist/scss/BondRow.scss +5 -5
  83. package/dist/scss/BondRowHeader.scss +7 -7
  84. package/dist/scss/Bonds.scss +2 -1
  85. package/dist/scss/TokenInfoName.scss +60 -0
  86. package/dist/scss/YourBonds.scss +19 -14
  87. package/dist/scss/YourBondsModal.scss +3 -3
  88. package/dist/scss/index.scss +12 -0
  89. package/dist/state/allowance/useAllowance.d.ts +15 -0
  90. package/dist/state/balance/useCurrencyBalance.d.ts +4 -0
  91. package/dist/state/bonds/useBondNFTData.d.ts +5 -0
  92. package/dist/state/bonds/useBondsData.d.ts +4 -0
  93. package/dist/state/bonds/useBondsList.d.ts +4 -0
  94. package/dist/state/bonds/useHotBonds.d.ts +3 -0
  95. package/dist/state/bonds/useUserBonds.d.ts +5 -0
  96. package/dist/state/price/useCurrencyPrice.d.ts +3 -0
  97. package/dist/state/slippage/useSlippage.d.ts +1 -0
  98. package/dist/state/tokenPrices/useTokenPrices.d.ts +29 -0
  99. package/dist/state/zap/getChainParam.d.ts +12 -0
  100. package/dist/state/zap/useSoulZapBondQuote.d.ts +4 -0
  101. package/dist/state/zap/useSoulZapTokenQuote.d.ts +3 -0
  102. package/dist/types/bonds.d.ts +4 -41
  103. package/dist/types/yourbonds.d.ts +54 -69
  104. package/dist/utils/displayHelpers.d.ts +13 -0
  105. package/dist/utils/getNativeTicker.d.ts +3 -0
  106. package/dist/utils/index.d.ts +1 -1
  107. package/dist/views/BondModal/BondModal.d.ts +7 -6
  108. package/dist/views/BondModal/helper.d.ts +6 -6
  109. package/dist/views/BondModal/index.d.ts +2 -2
  110. package/dist/views/Bonds/Bonds.d.ts +7 -10
  111. package/dist/views/Bonds/components/CheckURL/index.d.ts +4 -0
  112. package/dist/views/Bonds/index.d.ts +4 -0
  113. package/dist/views/Bonds/utils.d.ts +14 -0
  114. package/dist/views/FullBondsView/FullBondsView.d.ts +7 -0
  115. package/dist/views/FullBondsView/index.d.ts +3 -0
  116. package/dist/views/YourBonds/YourBonds.d.ts +1 -11
  117. package/dist/views/YourBonds/components/UserBondRow/index.d.ts +6 -0
  118. package/dist/views/YourBonds/fetchBillsUser.d.ts +4 -5
  119. package/dist/views/YourBonds/index.d.ts +3 -0
  120. package/dist/views/YourBondsModal/YourBondsModal.d.ts +4 -5
  121. package/dist/views/ZapModal/index.d.ts +14 -0
  122. package/dist/views/ZapModal/styles.d.ts +2 -0
  123. package/package.json +24 -24
  124. package/dist/components/BondMenu/BondMenu.js +0 -40
  125. package/dist/components/BondMenu/useChainFilterOption.js +0 -30
  126. package/dist/components/BondRows/BondRow.js +0 -81
  127. package/dist/components/BondRows/BondRowHeader.js +0 -12
  128. package/dist/components/BondRows/BondRowsByChain.js +0 -13
  129. package/dist/components/BondRows/BondRowsWithTitle.js +0 -20
  130. package/dist/components/BondRows/ChainTitle.js +0 -18
  131. package/dist/components/MenuSelect/MenuSelect.js +0 -36
  132. package/dist/components/MenuSelect/RecommendationSelector.js +0 -32
  133. package/dist/components/MenuSelect/types.js +0 -1
  134. package/dist/components/NetworkFilter/index.js +0 -66
  135. package/dist/components/ProgressBar/ProgressBar.js +0 -10
  136. package/dist/components/ProgressBar/ProgressBarWrapper.js +0 -9
  137. package/dist/components/ProgressBar/styles.js +0 -82
  138. package/dist/components/TokenInfoAndName/index.js +0 -61
  139. package/dist/components/Tooltip/ButtonsRow.js +0 -21
  140. package/dist/components/Tooltip/Tooltip.js +0 -13
  141. package/dist/components/Tooltip/styles.js +0 -44
  142. package/dist/components/uikit-sdk/Button/Button.js +0 -91
  143. package/dist/components/uikit-sdk/Button/IconButton.js +0 -33
  144. package/dist/components/uikit-sdk/Button/index.js +0 -2
  145. package/dist/components/uikit-sdk/Button/styles.js +0 -30
  146. package/dist/components/uikit-sdk/Button/types.js +0 -37
  147. package/dist/components/uikit-sdk/Checkbox/index.js +0 -46
  148. package/dist/components/uikit-sdk/Checkbox/types.js +0 -5
  149. package/dist/components/uikit-sdk/Flex/index.js +0 -29
  150. package/dist/components/uikit-sdk/Input/Input.js +0 -72
  151. package/dist/components/uikit-sdk/Input/NumericInput.js +0 -35
  152. package/dist/components/uikit-sdk/Input/StyledInput.js +0 -26
  153. package/dist/components/uikit-sdk/Input/index.js +0 -3
  154. package/dist/components/uikit-sdk/Modal/ModalFooter.js +0 -21
  155. package/dist/components/uikit-sdk/Modal/ModalHeader.js +0 -31
  156. package/dist/components/uikit-sdk/Modal/index.js +0 -46
  157. package/dist/components/uikit-sdk/Modal/styles.js +0 -62
  158. package/dist/components/uikit-sdk/Modal/types.js +0 -1
  159. package/dist/components/uikit-sdk/Select/Select.js +0 -61
  160. package/dist/components/uikit-sdk/Select/SelectItem.js +0 -40
  161. package/dist/components/uikit-sdk/Select/index.js +0 -2
  162. package/dist/components/uikit-sdk/Select/styles.js +0 -50
  163. package/dist/components/uikit-sdk/Select/types.js +0 -37
  164. package/dist/components/uikit-sdk/Skeleton/index.js +0 -31
  165. package/dist/components/uikit-sdk/Skeleton/styles.js +0 -40
  166. package/dist/components/uikit-sdk/Skeleton/types.js +0 -10
  167. package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.js +0 -16
  168. package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.js +0 -6
  169. package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.js +0 -16
  170. package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +0 -6
  171. package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.js +0 -17
  172. package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.js +0 -6
  173. package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +0 -16
  174. package/dist/components/uikit-sdk/Svg/Icons/Audit.js +0 -16
  175. package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.js +0 -6
  176. package/dist/components/uikit-sdk/Svg/Icons/BillsM1.js +0 -16
  177. package/dist/components/uikit-sdk/Svg/Icons/BillsM2.js +0 -17
  178. package/dist/components/uikit-sdk/Svg/Icons/BillsM3.js +0 -16
  179. package/dist/components/uikit-sdk/Svg/Icons/Bridge.js +0 -16
  180. package/dist/components/uikit-sdk/Svg/Icons/Bubble.js +0 -16
  181. package/dist/components/uikit-sdk/Svg/Icons/Calculator.js +0 -16
  182. package/dist/components/uikit-sdk/Svg/Icons/Calendar.js +0 -5
  183. package/dist/components/uikit-sdk/Svg/Icons/Cancelled.js +0 -16
  184. package/dist/components/uikit-sdk/Svg/Icons/Card.js +0 -16
  185. package/dist/components/uikit-sdk/Svg/Icons/Caret.js +0 -16
  186. package/dist/components/uikit-sdk/Svg/Icons/Chain.js +0 -9
  187. package/dist/components/uikit-sdk/Svg/Icons/Chart.js +0 -16
  188. package/dist/components/uikit-sdk/Svg/Icons/Chat.js +0 -16
  189. package/dist/components/uikit-sdk/Svg/Icons/Close.js +0 -9
  190. package/dist/components/uikit-sdk/Svg/Icons/Cog.js +0 -16
  191. package/dist/components/uikit-sdk/Svg/Icons/Collapse.js +0 -16
  192. package/dist/components/uikit-sdk/Svg/Icons/Copy.js +0 -16
  193. package/dist/components/uikit-sdk/Svg/Icons/Discord.js +0 -16
  194. package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.js +0 -16
  195. package/dist/components/uikit-sdk/Svg/Icons/Docs.js +0 -16
  196. package/dist/components/uikit-sdk/Svg/Icons/DocsV2.js +0 -16
  197. package/dist/components/uikit-sdk/Svg/Icons/Ellipse.js +0 -16
  198. package/dist/components/uikit-sdk/Svg/Icons/Error.js +0 -16
  199. package/dist/components/uikit-sdk/Svg/Icons/Expand.js +0 -16
  200. package/dist/components/uikit-sdk/Svg/Icons/Explorer.js +0 -16
  201. package/dist/components/uikit-sdk/Svg/Icons/External.js +0 -16
  202. package/dist/components/uikit-sdk/Svg/Icons/Farm.js +0 -16
  203. package/dist/components/uikit-sdk/Svg/Icons/Fav.js +0 -16
  204. package/dist/components/uikit-sdk/Svg/Icons/FilledURL.js +0 -16
  205. package/dist/components/uikit-sdk/Svg/Icons/Fire.js +0 -6
  206. package/dist/components/uikit-sdk/Svg/Icons/Frame.js +0 -16
  207. package/dist/components/uikit-sdk/Svg/Icons/FullLogo.js +0 -6
  208. package/dist/components/uikit-sdk/Svg/Icons/Gnana.js +0 -16
  209. package/dist/components/uikit-sdk/Svg/Icons/GreenShield.js +0 -6
  210. package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +0 -16
  211. package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.js +0 -16
  212. package/dist/components/uikit-sdk/Svg/Icons/Home.js +0 -16
  213. package/dist/components/uikit-sdk/Svg/Icons/Hot.js +0 -6
  214. package/dist/components/uikit-sdk/Svg/Icons/Info.js +0 -16
  215. package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.js +0 -16
  216. package/dist/components/uikit-sdk/Svg/Icons/Insight.js +0 -16
  217. package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +0 -16
  218. package/dist/components/uikit-sdk/Svg/Icons/Island.js +0 -16
  219. package/dist/components/uikit-sdk/Svg/Icons/Language.js +0 -16
  220. package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.js +0 -16
  221. package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +0 -6
  222. package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.js +0 -16
  223. package/dist/components/uikit-sdk/Svg/Icons/Logout.js +0 -16
  224. package/dist/components/uikit-sdk/Svg/Icons/Medium.js +0 -16
  225. package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.js +0 -16
  226. package/dist/components/uikit-sdk/Svg/Icons/Message.js +0 -9
  227. package/dist/components/uikit-sdk/Svg/Icons/Migrate.js +0 -16
  228. package/dist/components/uikit-sdk/Svg/Icons/Moon.js +0 -16
  229. package/dist/components/uikit-sdk/Svg/Icons/More.js +0 -16
  230. package/dist/components/uikit-sdk/Svg/Icons/NFA.js +0 -16
  231. package/dist/components/uikit-sdk/Svg/Icons/NavCaret.js +0 -16
  232. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +0 -16
  233. package/dist/components/uikit-sdk/Svg/Icons/Play.js +0 -5
  234. package/dist/components/uikit-sdk/Svg/Icons/Pool.js +0 -16
  235. package/dist/components/uikit-sdk/Svg/Icons/Positions.js +0 -16
  236. package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.js +0 -6
  237. package/dist/components/uikit-sdk/Svg/Icons/ProfileIcon.js +0 -16
  238. package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.js +0 -6
  239. package/dist/components/uikit-sdk/Svg/Icons/Question.js +0 -6
  240. package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +0 -16
  241. package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.js +0 -16
  242. package/dist/components/uikit-sdk/Svg/Icons/Quiz.js +0 -16
  243. package/dist/components/uikit-sdk/Svg/Icons/Receipt.js +0 -16
  244. package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +0 -16
  245. package/dist/components/uikit-sdk/Svg/Icons/Rocket.js +0 -16
  246. package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.js +0 -16
  247. package/dist/components/uikit-sdk/Svg/Icons/Search.js +0 -16
  248. package/dist/components/uikit-sdk/Svg/Icons/Send.js +0 -16
  249. package/dist/components/uikit-sdk/Svg/Icons/Settings.js +0 -16
  250. package/dist/components/uikit-sdk/Svg/Icons/Share.js +0 -16
  251. package/dist/components/uikit-sdk/Svg/Icons/Sort.js +0 -16
  252. package/dist/components/uikit-sdk/Svg/Icons/Success.js +0 -16
  253. package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.js +0 -16
  254. package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.js +0 -16
  255. package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.js +0 -16
  256. package/dist/components/uikit-sdk/Svg/Icons/Tag.js +0 -5
  257. package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +0 -16
  258. package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.js +0 -16
  259. package/dist/components/uikit-sdk/Svg/Icons/TextLogo.js +0 -6
  260. package/dist/components/uikit-sdk/Svg/Icons/TickShield.js +0 -16
  261. package/dist/components/uikit-sdk/Svg/Icons/Trade.js +0 -16
  262. package/dist/components/uikit-sdk/Svg/Icons/Trash.js +0 -16
  263. package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +0 -16
  264. package/dist/components/uikit-sdk/Svg/Icons/URL.js +0 -16
  265. package/dist/components/uikit-sdk/Svg/Icons/Vaults.js +0 -16
  266. package/dist/components/uikit-sdk/Svg/Icons/Verified.js +0 -6
  267. package/dist/components/uikit-sdk/Svg/Icons/Wallet.js +0 -16
  268. package/dist/components/uikit-sdk/Svg/Icons/Warning.js +0 -16
  269. package/dist/components/uikit-sdk/Svg/Icons/Watch.js +0 -16
  270. package/dist/components/uikit-sdk/Svg/Icons/Website.js +0 -16
  271. package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.js +0 -16
  272. package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.js +0 -16
  273. package/dist/components/uikit-sdk/Svg/Icons/XNew.js +0 -16
  274. package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.js +0 -6
  275. package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +0 -16
  276. package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +0 -16
  277. package/dist/components/uikit-sdk/Svg/Icons/index.js +0 -112
  278. package/dist/components/uikit-sdk/Svg/Icons/polygonNew.js +0 -16
  279. package/dist/components/uikit-sdk/Svg/Icons/types.js +0 -1
  280. package/dist/components/uikit-sdk/Svg/index.js +0 -347
  281. package/dist/components/uikit-sdk/Svg/styles.js +0 -16
  282. package/dist/components/uikit-sdk/Svg/tokens/ABOND.js +0 -6
  283. package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +0 -6
  284. package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +0 -6
  285. package/dist/components/uikit-sdk/Svg/tokens/BANANA.js +0 -6
  286. package/dist/components/uikit-sdk/Svg/tokens/BASE.js +0 -6
  287. package/dist/components/uikit-sdk/Svg/tokens/BNB.js +0 -6
  288. package/dist/components/uikit-sdk/Svg/tokens/BSC.js +0 -6
  289. package/dist/components/uikit-sdk/Svg/tokens/CELO.js +0 -5
  290. package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +0 -6
  291. package/dist/components/uikit-sdk/Svg/tokens/ETH.js +0 -6
  292. package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +0 -6
  293. package/dist/components/uikit-sdk/Svg/tokens/GNANA.js +0 -6
  294. package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +0 -6
  295. package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +0 -6
  296. package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +0 -6
  297. package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +0 -6
  298. package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +0 -6
  299. package/dist/components/uikit-sdk/Svg/tokens/OKX.js +0 -5
  300. package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +0 -8
  301. package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +0 -6
  302. package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +0 -6
  303. package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +0 -6
  304. package/dist/components/uikit-sdk/Svg/tokens/index.js +0 -22
  305. package/dist/components/uikit-sdk/Svg/types.js +0 -165
  306. package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.js +0 -6
  307. package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.js +0 -6
  308. package/dist/components/uikit-sdk/Svg/walletIcons/Brave.js +0 -6
  309. package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.js +0 -6
  310. package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.js +0 -6
  311. package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.js +0 -6
  312. package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.js +0 -6
  313. package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.js +0 -6
  314. package/dist/components/uikit-sdk/Svg/walletIcons/OKX.js +0 -6
  315. package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.js +0 -6
  316. package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.js +0 -6
  317. package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.js +0 -6
  318. package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.js +0 -6
  319. package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.js +0 -6
  320. package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.js +0 -6
  321. package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.js +0 -6
  322. package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.js +0 -6
  323. package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.js +0 -5
  324. package/dist/components/uikit-sdk/Svg/walletIcons/index.js +0 -18
  325. package/dist/components/uikit-sdk/Tag/ListTag.js +0 -20
  326. package/dist/components/uikit-sdk/Tag/Tag.js +0 -42
  327. package/dist/components/uikit-sdk/Tag/index.js +0 -2
  328. package/dist/components/uikit-sdk/Tag/styles.js +0 -44
  329. package/dist/components/uikit-sdk/Tag/types.js +0 -34
  330. package/dist/components/uikit-sdk/Text/index.js +0 -35
  331. package/dist/components/uikit-sdk/Text/types.js +0 -13
  332. package/dist/components/uikit-sdk/TokenImage/index.js +0 -18
  333. package/dist/components/uikit-sdk/TooltipBubble/index.js +0 -66
  334. package/dist/components/uikit-sdk/TooltipBubble/styles.js +0 -60
  335. package/dist/components/uikit-sdk/TooltipBubble/types.js +0 -8
  336. package/dist/components/uikit-sdk/index.js +0 -12
  337. package/dist/config/abi/bond.json +0 -450
  338. package/dist/config/abi/erc20.json +0 -117
  339. package/dist/config/abi/multicallv2.json +0 -143
  340. package/dist/config/abi/types/Banana.js +0 -1
  341. package/dist/config/abi/types/Bond.js +0 -1
  342. package/dist/config/abi/types/BondNft.js +0 -1
  343. package/dist/config/abi/types/EnsPublicResolver.js +0 -1
  344. package/dist/config/abi/types/EnsRegistrar.js +0 -1
  345. package/dist/config/abi/types/Erc20.js +0 -1
  346. package/dist/config/abi/types/Erc20_bytes32.js +0 -1
  347. package/dist/config/abi/types/JungleChef.js +0 -1
  348. package/dist/config/abi/types/LaunchBonds.js +0 -1
  349. package/dist/config/abi/types/LensContract.js +0 -1
  350. package/dist/config/abi/types/LockVeAbond.js +0 -1
  351. package/dist/config/abi/types/MigrationBond.js +0 -1
  352. package/dist/config/abi/types/MigrationFveAbond.js +0 -1
  353. package/dist/config/abi/types/MiniComplexRewarder.js +0 -1
  354. package/dist/config/abi/types/Multicallv2.js +0 -1
  355. package/dist/config/abi/types/Multicallv3.js +0 -1
  356. package/dist/config/abi/types/NonFungibleApes.js +0 -1
  357. package/dist/config/abi/types/NonFungibleBananas.js +0 -1
  358. package/dist/config/abi/types/PriceGetter.js +0 -1
  359. package/dist/config/abi/types/PriceGetterLinea.js +0 -1
  360. package/dist/config/abi/types/PriceGetterV2.js +0 -1
  361. package/dist/config/abi/types/SousChef.js +0 -1
  362. package/dist/config/abi/types/Treasury.js +0 -1
  363. package/dist/config/abi/types/Weth.js +0 -1
  364. package/dist/config/abi/types/Zap.js +0 -1
  365. package/dist/config/abi/types/common.js +0 -1
  366. package/dist/config/abi/types/factories/Banana__factory.js +0 -628
  367. package/dist/config/abi/types/factories/BondNft__factory.js +0 -951
  368. package/dist/config/abi/types/factories/Bond__factory.js +0 -1042
  369. package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +0 -833
  370. package/dist/config/abi/types/factories/EnsRegistrar__factory.js +0 -439
  371. package/dist/config/abi/types/factories/Erc20__factory.js +0 -239
  372. package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +0 -47
  373. package/dist/config/abi/types/factories/JungleChef__factory.js +0 -326
  374. package/dist/config/abi/types/factories/LaunchBonds__factory.js +0 -2031
  375. package/dist/config/abi/types/factories/LensContract__factory.js +0 -338
  376. package/dist/config/abi/types/factories/LockVeAbond__factory.js +0 -2215
  377. package/dist/config/abi/types/factories/MigrationBond__factory.js +0 -1656
  378. package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +0 -346
  379. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +0 -586
  380. package/dist/config/abi/types/factories/Multicallv2__factory.js +0 -160
  381. package/dist/config/abi/types/factories/Multicallv3__factory.js +0 -109
  382. package/dist/config/abi/types/factories/NonFungibleApes__factory.js +0 -810
  383. package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +0 -756
  384. package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +0 -1465
  385. package/dist/config/abi/types/factories/PriceGetterV2__factory.js +0 -1364
  386. package/dist/config/abi/types/factories/PriceGetter__factory.js +0 -1326
  387. package/dist/config/abi/types/factories/SousChef__factory.js +0 -666
  388. package/dist/config/abi/types/factories/Treasury__factory.js +0 -309
  389. package/dist/config/abi/types/factories/Weth__factory.js +0 -296
  390. package/dist/config/abi/types/factories/Zap__factory.js +0 -889
  391. package/dist/config/abi/types/factories/index.js +0 -28
  392. package/dist/config/abi/types/index.js +0 -26
  393. package/dist/config/constants/addresses.js +0 -116
  394. package/dist/config/constants/api.js +0 -6
  395. package/dist/config/constants/chains.js +0 -436
  396. package/dist/config/constants/lifiRouting.js +0 -6
  397. package/dist/config/constants/lists.js +0 -21
  398. package/dist/config/constants/meta.js +0 -92
  399. package/dist/config/constants/misc.js +0 -4
  400. package/dist/config/constants/networks.js +0 -44
  401. package/dist/config/constants/products.js +0 -58
  402. package/dist/config/constants/queryKeys.js +0 -24
  403. package/dist/config/constants/tokens.js +0 -452
  404. package/dist/config/constants/tutorials.js +0 -80
  405. package/dist/config/localization/languages.js +0 -83
  406. package/dist/config/localization/translations.json +0 -918
  407. package/dist/contexts/Localization/Provider.js +0 -134
  408. package/dist/contexts/Localization/helpers.js +0 -63
  409. package/dist/contexts/Localization/index.js +0 -2
  410. package/dist/contexts/Localization/types.js +0 -1
  411. package/dist/contexts/Localization/useTranslation.js +0 -10
  412. package/dist/contexts/ModalContext.js +0 -67
  413. package/dist/contexts/RefreshContext.js +0 -78
  414. package/dist/enum/apeswaplists.d.ts +0 -418
  415. package/dist/enum/apeswaplists.js +0 -152
  416. package/dist/enum/tooltips.js +0 -13
  417. package/dist/hooks/useCookie.js +0 -29
  418. package/dist/hooks/useIsAbond.js +0 -10
  419. package/dist/hooks/useModal.js +0 -39
  420. package/dist/hooks/usePendingVesting.js +0 -13
  421. package/dist/hooks/useRefresh.js +0 -7
  422. package/dist/hooks/useTimer.js +0 -13
  423. package/dist/hooks/useTopThreeTags.js +0 -25
  424. package/dist/index.d.ts +0 -5
  425. package/dist/index.js +0 -6
  426. package/dist/providers/index.js +0 -12
  427. package/dist/theme/base.js +0 -123
  428. package/dist/theme/colors.js +0 -93
  429. package/dist/theme/components.js +0 -338
  430. package/dist/theme/display.js +0 -2
  431. package/dist/theme/index.js +0 -15
  432. package/dist/theme/types.js +0 -1
  433. package/dist/types/bonds.js +0 -1
  434. package/dist/types/yourbonds.js +0 -1
  435. package/dist/utils/convertToTokenValue.js +0 -24
  436. package/dist/utils/formatNumber.js +0 -34
  437. package/dist/utils/formatNumbers.js +0 -148
  438. package/dist/utils/getBalanceNumber.js +0 -18
  439. package/dist/utils/getTimePeriods.js +0 -44
  440. package/dist/utils/index.js +0 -127
  441. package/dist/utils/localStorageHelpers.js +0 -47
  442. package/dist/utils/multicall.js +0 -90
  443. package/dist/utils/numbers.js +0 -111
  444. package/dist/utils/roundNumber.js +0 -14
  445. package/dist/utils/track.js +0 -17
  446. package/dist/views/BondModal/BondModal.js +0 -277
  447. package/dist/views/BondModal/helper.js +0 -54
  448. package/dist/views/BondModal/index.js +0 -18
  449. package/dist/views/Bonds/Bonds.js +0 -174
  450. package/dist/views/YourBonds/YourBonds.js +0 -276
  451. package/dist/views/YourBonds/fetchBillsUser.js +0 -235
  452. package/dist/views/YourBonds/getBillNftData.js +0 -109
  453. package/dist/views/YourBondsModal/YourBondsModal.js +0 -173
  454. package/dist/views/YourBondsModal/styles.js +0 -12
  455. /package/dist/{enum → config/constants}/tooltips.d.ts +0 -0
@@ -1,1364 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Contract, utils } from "ethers";
5
- var _abi = [
6
- {
7
- inputs: [],
8
- name: "T",
9
- type: "error",
10
- },
11
- {
12
- anonymous: false,
13
- inputs: [
14
- {
15
- indexed: false,
16
- internalType: "uint8",
17
- name: "version",
18
- type: "uint8",
19
- },
20
- ],
21
- name: "Initialized",
22
- type: "event",
23
- },
24
- {
25
- anonymous: false,
26
- inputs: [
27
- {
28
- indexed: true,
29
- internalType: "address",
30
- name: "previousOwner",
31
- type: "address",
32
- },
33
- {
34
- indexed: true,
35
- internalType: "address",
36
- name: "newOwner",
37
- type: "address",
38
- },
39
- ],
40
- name: "OwnershipTransferred",
41
- type: "event",
42
- },
43
- {
44
- inputs: [],
45
- name: "DECIMALS",
46
- outputs: [
47
- {
48
- internalType: "uint256",
49
- name: "",
50
- type: "uint256",
51
- },
52
- ],
53
- stateMutability: "pure",
54
- type: "function",
55
- },
56
- {
57
- inputs: [],
58
- name: "FACTORY",
59
- outputs: [
60
- {
61
- internalType: "address",
62
- name: "",
63
- type: "address",
64
- },
65
- ],
66
- stateMutability: "pure",
67
- type: "function",
68
- },
69
- {
70
- inputs: [],
71
- name: "INITCODEHASH",
72
- outputs: [
73
- {
74
- internalType: "bytes32",
75
- name: "",
76
- type: "bytes32",
77
- },
78
- ],
79
- stateMutability: "pure",
80
- type: "function",
81
- },
82
- {
83
- inputs: [],
84
- name: "defaultFactoryAlgebra",
85
- outputs: [
86
- {
87
- internalType: "contract IAlgebraFactory",
88
- name: "",
89
- type: "address",
90
- },
91
- ],
92
- stateMutability: "view",
93
- type: "function",
94
- },
95
- {
96
- inputs: [],
97
- name: "defaultFactorySolidly",
98
- outputs: [
99
- {
100
- internalType: "contract ISolidlyFactory",
101
- name: "",
102
- type: "address",
103
- },
104
- ],
105
- stateMutability: "view",
106
- type: "function",
107
- },
108
- {
109
- inputs: [],
110
- name: "defaultFactoryV2",
111
- outputs: [
112
- {
113
- internalType: "contract IApeFactory",
114
- name: "",
115
- type: "address",
116
- },
117
- ],
118
- stateMutability: "view",
119
- type: "function",
120
- },
121
- {
122
- inputs: [],
123
- name: "defaultFactoryV3",
124
- outputs: [
125
- {
126
- internalType: "contract IUniswapV3Factory",
127
- name: "",
128
- type: "address",
129
- },
130
- ],
131
- stateMutability: "view",
132
- type: "function",
133
- },
134
- {
135
- inputs: [
136
- {
137
- internalType: "uint32",
138
- name: "secondsAgo",
139
- type: "uint32",
140
- },
141
- ],
142
- name: "getETHPrice",
143
- outputs: [
144
- {
145
- internalType: "uint256",
146
- name: "",
147
- type: "uint256",
148
- },
149
- ],
150
- stateMutability: "view",
151
- type: "function",
152
- },
153
- {
154
- inputs: [],
155
- name: "getETHPrice",
156
- outputs: [
157
- {
158
- internalType: "uint256",
159
- name: "",
160
- type: "uint256",
161
- },
162
- ],
163
- stateMutability: "view",
164
- type: "function",
165
- },
166
- {
167
- inputs: [
168
- {
169
- internalType: "address",
170
- name: "token",
171
- type: "address",
172
- },
173
- {
174
- internalType: "uint256",
175
- name: "_decimals",
176
- type: "uint256",
177
- },
178
- ],
179
- name: "getLPPrice",
180
- outputs: [
181
- {
182
- internalType: "uint256",
183
- name: "",
184
- type: "uint256",
185
- },
186
- ],
187
- stateMutability: "view",
188
- type: "function",
189
- },
190
- {
191
- inputs: [
192
- {
193
- internalType: "address",
194
- name: "token0",
195
- type: "address",
196
- },
197
- {
198
- internalType: "address",
199
- name: "token1",
200
- type: "address",
201
- },
202
- ],
203
- name: "getLPPriceAlgebra",
204
- outputs: [
205
- {
206
- internalType: "uint256",
207
- name: "price",
208
- type: "uint256",
209
- },
210
- ],
211
- stateMutability: "view",
212
- type: "function",
213
- },
214
- {
215
- inputs: [
216
- {
217
- internalType: "contract IAlgebraFactory",
218
- name: "factoryAlgebra",
219
- type: "address",
220
- },
221
- {
222
- internalType: "address",
223
- name: "token0",
224
- type: "address",
225
- },
226
- {
227
- internalType: "address",
228
- name: "token1",
229
- type: "address",
230
- },
231
- ],
232
- name: "getLPPriceAlgebraFromFactory",
233
- outputs: [
234
- {
235
- internalType: "uint256",
236
- name: "price",
237
- type: "uint256",
238
- },
239
- ],
240
- stateMutability: "view",
241
- type: "function",
242
- },
243
- {
244
- inputs: [
245
- {
246
- internalType: "address",
247
- name: "token",
248
- type: "address",
249
- },
250
- {
251
- internalType: "enum IPriceGetterV2.Protocol",
252
- name: "protocol",
253
- type: "uint8",
254
- },
255
- {
256
- internalType: "contract IApeFactory",
257
- name: "factoryV2",
258
- type: "address",
259
- },
260
- {
261
- internalType: "contract IUniswapV3Factory",
262
- name: "factoryV3",
263
- type: "address",
264
- },
265
- {
266
- internalType: "contract IAlgebraFactory",
267
- name: "factoryAlgebra",
268
- type: "address",
269
- },
270
- {
271
- internalType: "contract ISolidlyFactory",
272
- name: "factorySolidly",
273
- type: "address",
274
- },
275
- ],
276
- name: "getLPPriceFromFactory",
277
- outputs: [
278
- {
279
- internalType: "uint256",
280
- name: "price",
281
- type: "uint256",
282
- },
283
- ],
284
- stateMutability: "view",
285
- type: "function",
286
- },
287
- {
288
- inputs: [
289
- {
290
- internalType: "contract Hypervisor",
291
- name: "lp",
292
- type: "address",
293
- },
294
- ],
295
- name: "getLPPriceGamma",
296
- outputs: [
297
- {
298
- internalType: "uint256",
299
- name: "price",
300
- type: "uint256",
301
- },
302
- ],
303
- stateMutability: "view",
304
- type: "function",
305
- },
306
- {
307
- inputs: [
308
- {
309
- internalType: "contract IAlgebraFactory",
310
- name: "factory",
311
- type: "address",
312
- },
313
- {
314
- internalType: "contract IApeFactory",
315
- name: "factoryV2",
316
- type: "address",
317
- },
318
- {
319
- internalType: "contract Hypervisor",
320
- name: "lp",
321
- type: "address",
322
- },
323
- ],
324
- name: "getLPPriceGammaFromFactory",
325
- outputs: [
326
- {
327
- internalType: "uint256",
328
- name: "price",
329
- type: "uint256",
330
- },
331
- ],
332
- stateMutability: "view",
333
- type: "function",
334
- },
335
- {
336
- inputs: [
337
- {
338
- internalType: "address",
339
- name: "lp",
340
- type: "address",
341
- },
342
- ],
343
- name: "getLPPriceSolidly",
344
- outputs: [
345
- {
346
- internalType: "uint256",
347
- name: "price",
348
- type: "uint256",
349
- },
350
- ],
351
- stateMutability: "view",
352
- type: "function",
353
- },
354
- {
355
- inputs: [
356
- {
357
- internalType: "contract ISolidlyFactory",
358
- name: "factorySolidly",
359
- type: "address",
360
- },
361
- {
362
- internalType: "address",
363
- name: "lp",
364
- type: "address",
365
- },
366
- ],
367
- name: "getLPPriceSolidlyFromFactory",
368
- outputs: [
369
- {
370
- internalType: "uint256",
371
- name: "price",
372
- type: "uint256",
373
- },
374
- ],
375
- stateMutability: "view",
376
- type: "function",
377
- },
378
- {
379
- inputs: [
380
- {
381
- internalType: "contract IUniswapV3Factory",
382
- name: "factoryV3",
383
- type: "address",
384
- },
385
- {
386
- internalType: "contract IApeFactory",
387
- name: "factoryV2",
388
- type: "address",
389
- },
390
- {
391
- internalType: "contract ISteerVault",
392
- name: "lp",
393
- type: "address",
394
- },
395
- ],
396
- name: "getLPPriceSteerFromFactory",
397
- outputs: [
398
- {
399
- internalType: "uint256",
400
- name: "price",
401
- type: "uint256",
402
- },
403
- ],
404
- stateMutability: "view",
405
- type: "function",
406
- },
407
- {
408
- inputs: [
409
- {
410
- internalType: "address",
411
- name: "lp",
412
- type: "address",
413
- },
414
- ],
415
- name: "getLPPriceV2",
416
- outputs: [
417
- {
418
- internalType: "uint256",
419
- name: "price",
420
- type: "uint256",
421
- },
422
- ],
423
- stateMutability: "view",
424
- type: "function",
425
- },
426
- {
427
- inputs: [
428
- {
429
- internalType: "contract IApeFactory",
430
- name: "factoryV2",
431
- type: "address",
432
- },
433
- {
434
- internalType: "address",
435
- name: "lp",
436
- type: "address",
437
- },
438
- ],
439
- name: "getLPPriceV2FromFactory",
440
- outputs: [
441
- {
442
- internalType: "uint256",
443
- name: "price",
444
- type: "uint256",
445
- },
446
- ],
447
- stateMutability: "view",
448
- type: "function",
449
- },
450
- {
451
- inputs: [
452
- {
453
- internalType: "address",
454
- name: "token0",
455
- type: "address",
456
- },
457
- {
458
- internalType: "address",
459
- name: "token1",
460
- type: "address",
461
- },
462
- {
463
- internalType: "uint24",
464
- name: "fee",
465
- type: "uint24",
466
- },
467
- ],
468
- name: "getLPPriceV3",
469
- outputs: [
470
- {
471
- internalType: "uint256",
472
- name: "price",
473
- type: "uint256",
474
- },
475
- ],
476
- stateMutability: "view",
477
- type: "function",
478
- },
479
- {
480
- inputs: [
481
- {
482
- internalType: "address",
483
- name: "factoryV3",
484
- type: "address",
485
- },
486
- {
487
- internalType: "address",
488
- name: "token0",
489
- type: "address",
490
- },
491
- {
492
- internalType: "address",
493
- name: "token1",
494
- type: "address",
495
- },
496
- {
497
- internalType: "uint24",
498
- name: "fee",
499
- type: "uint24",
500
- },
501
- ],
502
- name: "getLPPriceV3FromFactory",
503
- outputs: [
504
- {
505
- internalType: "uint256",
506
- name: "price",
507
- type: "uint256",
508
- },
509
- ],
510
- stateMutability: "view",
511
- type: "function",
512
- },
513
- {
514
- inputs: [
515
- {
516
- internalType: "address[]",
517
- name: "tokens",
518
- type: "address[]",
519
- },
520
- {
521
- internalType: "uint256",
522
- name: "_decimals",
523
- type: "uint256",
524
- },
525
- ],
526
- name: "getLPPrices",
527
- outputs: [
528
- {
529
- internalType: "uint256[]",
530
- name: "prices",
531
- type: "uint256[]",
532
- },
533
- ],
534
- stateMutability: "view",
535
- type: "function",
536
- },
537
- {
538
- inputs: [
539
- {
540
- internalType: "address[]",
541
- name: "tokens",
542
- type: "address[]",
543
- },
544
- ],
545
- name: "getLPPricesSolidly",
546
- outputs: [
547
- {
548
- internalType: "uint256[]",
549
- name: "prices",
550
- type: "uint256[]",
551
- },
552
- ],
553
- stateMutability: "view",
554
- type: "function",
555
- },
556
- {
557
- inputs: [
558
- {
559
- internalType: "contract ISolidlyFactory",
560
- name: "factorySolidly",
561
- type: "address",
562
- },
563
- {
564
- internalType: "address[]",
565
- name: "tokens",
566
- type: "address[]",
567
- },
568
- ],
569
- name: "getLPPricesSolidlyFromFactory",
570
- outputs: [
571
- {
572
- internalType: "uint256[]",
573
- name: "prices",
574
- type: "uint256[]",
575
- },
576
- ],
577
- stateMutability: "view",
578
- type: "function",
579
- },
580
- {
581
- inputs: [
582
- {
583
- internalType: "address[]",
584
- name: "tokens",
585
- type: "address[]",
586
- },
587
- ],
588
- name: "getLPPricesV2",
589
- outputs: [
590
- {
591
- internalType: "uint256[]",
592
- name: "prices",
593
- type: "uint256[]",
594
- },
595
- ],
596
- stateMutability: "view",
597
- type: "function",
598
- },
599
- {
600
- inputs: [
601
- {
602
- internalType: "contract IApeFactory",
603
- name: "factoryV2",
604
- type: "address",
605
- },
606
- {
607
- internalType: "address[]",
608
- name: "tokens",
609
- type: "address[]",
610
- },
611
- ],
612
- name: "getLPPricesV2FromFactory",
613
- outputs: [
614
- {
615
- internalType: "uint256[]",
616
- name: "prices",
617
- type: "uint256[]",
618
- },
619
- ],
620
- stateMutability: "view",
621
- type: "function",
622
- },
623
- {
624
- inputs: [
625
- {
626
- internalType: "address[]",
627
- name: "tokens0",
628
- type: "address[]",
629
- },
630
- {
631
- internalType: "address[]",
632
- name: "tokens1",
633
- type: "address[]",
634
- },
635
- {
636
- internalType: "uint24[]",
637
- name: "fees",
638
- type: "uint24[]",
639
- },
640
- ],
641
- name: "getLPPricesV3",
642
- outputs: [
643
- {
644
- internalType: "uint256[]",
645
- name: "prices",
646
- type: "uint256[]",
647
- },
648
- ],
649
- stateMutability: "view",
650
- type: "function",
651
- },
652
- {
653
- inputs: [
654
- {
655
- internalType: "contract IUniswapV3Factory",
656
- name: "factoryV3",
657
- type: "address",
658
- },
659
- {
660
- internalType: "address[]",
661
- name: "tokens0",
662
- type: "address[]",
663
- },
664
- {
665
- internalType: "address[]",
666
- name: "tokens1",
667
- type: "address[]",
668
- },
669
- {
670
- internalType: "uint24[]",
671
- name: "fees",
672
- type: "uint24[]",
673
- },
674
- ],
675
- name: "getLPPricesV3FromFactory",
676
- outputs: [
677
- {
678
- internalType: "uint256[]",
679
- name: "prices",
680
- type: "uint256[]",
681
- },
682
- ],
683
- stateMutability: "view",
684
- type: "function",
685
- },
686
- {
687
- inputs: [],
688
- name: "getNativePrice",
689
- outputs: [
690
- {
691
- internalType: "uint256",
692
- name: "",
693
- type: "uint256",
694
- },
695
- ],
696
- stateMutability: "view",
697
- type: "function",
698
- },
699
- {
700
- inputs: [
701
- {
702
- internalType: "enum IPriceGetterV2.Protocol",
703
- name: "protocol",
704
- type: "uint8",
705
- },
706
- ],
707
- name: "getNativePrice",
708
- outputs: [
709
- {
710
- internalType: "uint256",
711
- name: "nativePrice",
712
- type: "uint256",
713
- },
714
- ],
715
- stateMutability: "view",
716
- type: "function",
717
- },
718
- {
719
- inputs: [
720
- {
721
- internalType: "enum IPriceGetterV2.Protocol",
722
- name: "protocol",
723
- type: "uint8",
724
- },
725
- {
726
- internalType: "contract IApeFactory",
727
- name: "factoryV2",
728
- type: "address",
729
- },
730
- {
731
- internalType: "contract IUniswapV3Factory",
732
- name: "factoryV3",
733
- type: "address",
734
- },
735
- {
736
- internalType: "contract ISolidlyFactory",
737
- name: "factorySolidly",
738
- type: "address",
739
- },
740
- ],
741
- name: "getNativePriceFromFactory",
742
- outputs: [
743
- {
744
- internalType: "uint256",
745
- name: "nativePrice",
746
- type: "uint256",
747
- },
748
- ],
749
- stateMutability: "view",
750
- type: "function",
751
- },
752
- {
753
- inputs: [
754
- {
755
- internalType: "address",
756
- name: "token",
757
- type: "address",
758
- },
759
- {
760
- internalType: "uint32",
761
- name: "secondsAgo",
762
- type: "uint32",
763
- },
764
- ],
765
- name: "getPrice",
766
- outputs: [
767
- {
768
- internalType: "uint256",
769
- name: "",
770
- type: "uint256",
771
- },
772
- ],
773
- stateMutability: "view",
774
- type: "function",
775
- },
776
- {
777
- inputs: [
778
- {
779
- internalType: "address",
780
- name: "token",
781
- type: "address",
782
- },
783
- {
784
- internalType: "enum IPriceGetterV2.Protocol",
785
- name: "protocol",
786
- type: "uint8",
787
- },
788
- ],
789
- name: "getPrice",
790
- outputs: [
791
- {
792
- internalType: "uint256",
793
- name: "price",
794
- type: "uint256",
795
- },
796
- ],
797
- stateMutability: "view",
798
- type: "function",
799
- },
800
- {
801
- inputs: [
802
- {
803
- internalType: "address",
804
- name: "token",
805
- type: "address",
806
- },
807
- {
808
- internalType: "uint256",
809
- name: "_decimals",
810
- type: "uint256",
811
- },
812
- ],
813
- name: "getPrice",
814
- outputs: [
815
- {
816
- internalType: "uint256",
817
- name: "",
818
- type: "uint256",
819
- },
820
- ],
821
- stateMutability: "view",
822
- type: "function",
823
- },
824
- {
825
- inputs: [
826
- {
827
- internalType: "address",
828
- name: "token",
829
- type: "address",
830
- },
831
- ],
832
- name: "getPriceAlgebra",
833
- outputs: [
834
- {
835
- internalType: "uint256",
836
- name: "price",
837
- type: "uint256",
838
- },
839
- ],
840
- stateMutability: "view",
841
- type: "function",
842
- },
843
- {
844
- inputs: [
845
- {
846
- internalType: "contract IAlgebraFactory",
847
- name: "factoryAlgebra",
848
- type: "address",
849
- },
850
- {
851
- internalType: "address",
852
- name: "token",
853
- type: "address",
854
- },
855
- ],
856
- name: "getPriceAlgebraFromFactory",
857
- outputs: [
858
- {
859
- internalType: "uint256",
860
- name: "price",
861
- type: "uint256",
862
- },
863
- ],
864
- stateMutability: "view",
865
- type: "function",
866
- },
867
- {
868
- inputs: [
869
- {
870
- internalType: "address",
871
- name: "token",
872
- type: "address",
873
- },
874
- {
875
- internalType: "enum IPriceGetterV2.Protocol",
876
- name: "protocol",
877
- type: "uint8",
878
- },
879
- {
880
- internalType: "contract IApeFactory",
881
- name: "factoryV2",
882
- type: "address",
883
- },
884
- {
885
- internalType: "contract IUniswapV3Factory",
886
- name: "factoryV3",
887
- type: "address",
888
- },
889
- {
890
- internalType: "contract IAlgebraFactory",
891
- name: "factoryAlgebra",
892
- type: "address",
893
- },
894
- ],
895
- name: "getPriceFromFactory",
896
- outputs: [
897
- {
898
- internalType: "uint256",
899
- name: "price",
900
- type: "uint256",
901
- },
902
- ],
903
- stateMutability: "view",
904
- type: "function",
905
- },
906
- {
907
- inputs: [
908
- {
909
- internalType: "address",
910
- name: "token",
911
- type: "address",
912
- },
913
- ],
914
- name: "getPriceV2",
915
- outputs: [
916
- {
917
- internalType: "uint256",
918
- name: "price",
919
- type: "uint256",
920
- },
921
- ],
922
- stateMutability: "view",
923
- type: "function",
924
- },
925
- {
926
- inputs: [
927
- {
928
- internalType: "contract IApeFactory",
929
- name: "factoryV2",
930
- type: "address",
931
- },
932
- {
933
- internalType: "address",
934
- name: "token",
935
- type: "address",
936
- },
937
- ],
938
- name: "getPriceV2FromFactory",
939
- outputs: [
940
- {
941
- internalType: "uint256",
942
- name: "price",
943
- type: "uint256",
944
- },
945
- ],
946
- stateMutability: "view",
947
- type: "function",
948
- },
949
- {
950
- inputs: [
951
- {
952
- internalType: "address",
953
- name: "token",
954
- type: "address",
955
- },
956
- ],
957
- name: "getPriceV3",
958
- outputs: [
959
- {
960
- internalType: "uint256",
961
- name: "price",
962
- type: "uint256",
963
- },
964
- ],
965
- stateMutability: "view",
966
- type: "function",
967
- },
968
- {
969
- inputs: [
970
- {
971
- internalType: "contract IUniswapV3Factory",
972
- name: "factoryV3",
973
- type: "address",
974
- },
975
- {
976
- internalType: "address",
977
- name: "token",
978
- type: "address",
979
- },
980
- ],
981
- name: "getPriceV3FromFactory",
982
- outputs: [
983
- {
984
- internalType: "uint256",
985
- name: "price",
986
- type: "uint256",
987
- },
988
- ],
989
- stateMutability: "view",
990
- type: "function",
991
- },
992
- {
993
- inputs: [
994
- {
995
- internalType: "address[]",
996
- name: "tokens",
997
- type: "address[]",
998
- },
999
- {
1000
- internalType: "enum IPriceGetterV2.Protocol",
1001
- name: "protocol",
1002
- type: "uint8",
1003
- },
1004
- ],
1005
- name: "getPrices",
1006
- outputs: [
1007
- {
1008
- internalType: "uint256[]",
1009
- name: "prices",
1010
- type: "uint256[]",
1011
- },
1012
- ],
1013
- stateMutability: "view",
1014
- type: "function",
1015
- },
1016
- {
1017
- inputs: [
1018
- {
1019
- internalType: "address[]",
1020
- name: "tokens",
1021
- type: "address[]",
1022
- },
1023
- {
1024
- internalType: "uint256",
1025
- name: "_decimals",
1026
- type: "uint256",
1027
- },
1028
- ],
1029
- name: "getPrices",
1030
- outputs: [
1031
- {
1032
- internalType: "uint256[]",
1033
- name: "prices",
1034
- type: "uint256[]",
1035
- },
1036
- ],
1037
- stateMutability: "view",
1038
- type: "function",
1039
- },
1040
- {
1041
- inputs: [
1042
- {
1043
- internalType: "address[]",
1044
- name: "tokens",
1045
- type: "address[]",
1046
- },
1047
- {
1048
- internalType: "uint32",
1049
- name: "secondsAgo",
1050
- type: "uint32",
1051
- },
1052
- ],
1053
- name: "getPrices",
1054
- outputs: [
1055
- {
1056
- internalType: "uint256[]",
1057
- name: "prices",
1058
- type: "uint256[]",
1059
- },
1060
- ],
1061
- stateMutability: "view",
1062
- type: "function",
1063
- },
1064
- {
1065
- inputs: [
1066
- {
1067
- internalType: "address[]",
1068
- name: "tokens",
1069
- type: "address[]",
1070
- },
1071
- {
1072
- internalType: "enum IPriceGetterV2.Protocol",
1073
- name: "protocol",
1074
- type: "uint8",
1075
- },
1076
- {
1077
- internalType: "contract IApeFactory",
1078
- name: "factoryV2",
1079
- type: "address",
1080
- },
1081
- {
1082
- internalType: "contract IUniswapV3Factory",
1083
- name: "factoryV3",
1084
- type: "address",
1085
- },
1086
- {
1087
- internalType: "contract IAlgebraFactory",
1088
- name: "factoryAlgebra",
1089
- type: "address",
1090
- },
1091
- ],
1092
- name: "getPricesFromFactory",
1093
- outputs: [
1094
- {
1095
- internalType: "uint256[]",
1096
- name: "prices",
1097
- type: "uint256[]",
1098
- },
1099
- ],
1100
- stateMutability: "view",
1101
- type: "function",
1102
- },
1103
- {
1104
- inputs: [
1105
- {
1106
- internalType: "address",
1107
- name: "token",
1108
- type: "address",
1109
- },
1110
- ],
1111
- name: "getRawPrice",
1112
- outputs: [
1113
- {
1114
- internalType: "uint256",
1115
- name: "",
1116
- type: "uint256",
1117
- },
1118
- ],
1119
- stateMutability: "view",
1120
- type: "function",
1121
- },
1122
- {
1123
- inputs: [
1124
- {
1125
- internalType: "address[]",
1126
- name: "tokens",
1127
- type: "address[]",
1128
- },
1129
- ],
1130
- name: "getRawPrices",
1131
- outputs: [
1132
- {
1133
- internalType: "uint256[]",
1134
- name: "prices",
1135
- type: "uint256[]",
1136
- },
1137
- ],
1138
- stateMutability: "view",
1139
- type: "function",
1140
- },
1141
- {
1142
- inputs: [
1143
- {
1144
- internalType: "address",
1145
- name: "_wNative",
1146
- type: "address",
1147
- },
1148
- {
1149
- internalType: "contract IApeFactory",
1150
- name: "_defaultFactoryV2",
1151
- type: "address",
1152
- },
1153
- {
1154
- internalType: "contract IUniswapV3Factory",
1155
- name: "_defaultFactoryV3",
1156
- type: "address",
1157
- },
1158
- {
1159
- internalType: "contract IAlgebraFactory",
1160
- name: "_defaultFactoryAlgebra",
1161
- type: "address",
1162
- },
1163
- {
1164
- internalType: "contract ISolidlyFactory",
1165
- name: "_defaultFactorySolidly",
1166
- type: "address",
1167
- },
1168
- {
1169
- internalType: "address[]",
1170
- name: "_stableUsdTokens",
1171
- type: "address[]",
1172
- },
1173
- {
1174
- internalType: "address[]",
1175
- name: "_oracleTokens",
1176
- type: "address[]",
1177
- },
1178
- {
1179
- internalType: "address[]",
1180
- name: "_oracles",
1181
- type: "address[]",
1182
- },
1183
- ],
1184
- name: "initialize",
1185
- outputs: [],
1186
- stateMutability: "nonpayable",
1187
- type: "function",
1188
- },
1189
- {
1190
- inputs: [],
1191
- name: "owner",
1192
- outputs: [
1193
- {
1194
- internalType: "address",
1195
- name: "",
1196
- type: "address",
1197
- },
1198
- ],
1199
- stateMutability: "view",
1200
- type: "function",
1201
- },
1202
- {
1203
- inputs: [
1204
- {
1205
- internalType: "address",
1206
- name: "token",
1207
- type: "address",
1208
- },
1209
- ],
1210
- name: "removeTokenOracle",
1211
- outputs: [],
1212
- stateMutability: "nonpayable",
1213
- type: "function",
1214
- },
1215
- {
1216
- inputs: [],
1217
- name: "renounceOwnership",
1218
- outputs: [],
1219
- stateMutability: "nonpayable",
1220
- type: "function",
1221
- },
1222
- {
1223
- inputs: [],
1224
- name: "secondsAgo",
1225
- outputs: [
1226
- {
1227
- internalType: "uint24",
1228
- name: "",
1229
- type: "uint24",
1230
- },
1231
- ],
1232
- stateMutability: "view",
1233
- type: "function",
1234
- },
1235
- {
1236
- inputs: [
1237
- {
1238
- internalType: "address",
1239
- name: "token",
1240
- type: "address",
1241
- },
1242
- {
1243
- internalType: "address",
1244
- name: "oracleAddress",
1245
- type: "address",
1246
- },
1247
- {
1248
- internalType: "enum PriceGetterV2.OracleType",
1249
- name: "oracleType",
1250
- type: "uint8",
1251
- },
1252
- ],
1253
- name: "setTokenOracle",
1254
- outputs: [],
1255
- stateMutability: "nonpayable",
1256
- type: "function",
1257
- },
1258
- {
1259
- inputs: [
1260
- {
1261
- internalType: "address",
1262
- name: "",
1263
- type: "address",
1264
- },
1265
- ],
1266
- name: "stableUsdTokenDecimals",
1267
- outputs: [
1268
- {
1269
- internalType: "uint8",
1270
- name: "",
1271
- type: "uint8",
1272
- },
1273
- ],
1274
- stateMutability: "view",
1275
- type: "function",
1276
- },
1277
- {
1278
- inputs: [
1279
- {
1280
- internalType: "uint256",
1281
- name: "",
1282
- type: "uint256",
1283
- },
1284
- ],
1285
- name: "stableUsdTokens",
1286
- outputs: [
1287
- {
1288
- internalType: "address",
1289
- name: "",
1290
- type: "address",
1291
- },
1292
- ],
1293
- stateMutability: "view",
1294
- type: "function",
1295
- },
1296
- {
1297
- inputs: [
1298
- {
1299
- internalType: "address",
1300
- name: "",
1301
- type: "address",
1302
- },
1303
- ],
1304
- name: "tokenOracles",
1305
- outputs: [
1306
- {
1307
- internalType: "enum PriceGetterV2.OracleType",
1308
- name: "oracleType",
1309
- type: "uint8",
1310
- },
1311
- {
1312
- internalType: "address",
1313
- name: "oracleAddress",
1314
- type: "address",
1315
- },
1316
- {
1317
- internalType: "uint8",
1318
- name: "oracleDecimals",
1319
- type: "uint8",
1320
- },
1321
- ],
1322
- stateMutability: "view",
1323
- type: "function",
1324
- },
1325
- {
1326
- inputs: [
1327
- {
1328
- internalType: "address",
1329
- name: "newOwner",
1330
- type: "address",
1331
- },
1332
- ],
1333
- name: "transferOwnership",
1334
- outputs: [],
1335
- stateMutability: "nonpayable",
1336
- type: "function",
1337
- },
1338
- {
1339
- inputs: [],
1340
- name: "wNative",
1341
- outputs: [
1342
- {
1343
- internalType: "address",
1344
- name: "",
1345
- type: "address",
1346
- },
1347
- ],
1348
- stateMutability: "view",
1349
- type: "function",
1350
- },
1351
- ];
1352
- var PriceGetterV2__factory = /** @class */ (function () {
1353
- function PriceGetterV2__factory() {
1354
- }
1355
- PriceGetterV2__factory.createInterface = function () {
1356
- return new utils.Interface(_abi);
1357
- };
1358
- PriceGetterV2__factory.connect = function (address, signerOrProvider) {
1359
- return new Contract(address, _abi, signerOrProvider);
1360
- };
1361
- PriceGetterV2__factory.abi = _abi;
1362
- return PriceGetterV2__factory;
1363
- }());
1364
- export { PriceGetterV2__factory };