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