@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,1448 +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
- "name": "defaultFactoryXFAI",
133
- "outputs": [
134
- {
135
- "internalType": "contract IXFAIFactory",
136
- "name": "",
137
- "type": "address"
138
- }
139
- ],
140
- "stateMutability": "view",
141
- "type": "function"
142
- },
143
- {
144
- "inputs": [
145
- {
146
- "internalType": "uint32",
147
- "name": "secondsAgo",
148
- "type": "uint32"
149
- }
150
- ],
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
- "name": "getETHPrice",
165
- "outputs": [
166
- {
167
- "internalType": "uint256",
168
- "name": "",
169
- "type": "uint256"
170
- }
171
- ],
172
- "stateMutability": "view",
173
- "type": "function"
174
- },
175
- {
176
- "inputs": [
177
- {
178
- "internalType": "address",
179
- "name": "token",
180
- "type": "address"
181
- },
182
- {
183
- "internalType": "uint256",
184
- "name": "_decimals",
185
- "type": "uint256"
186
- }
187
- ],
188
- "name": "getLPPrice",
189
- "outputs": [
190
- {
191
- "internalType": "uint256",
192
- "name": "",
193
- "type": "uint256"
194
- }
195
- ],
196
- "stateMutability": "view",
197
- "type": "function"
198
- },
199
- {
200
- "inputs": [
201
- {
202
- "internalType": "address",
203
- "name": "token0",
204
- "type": "address"
205
- },
206
- {
207
- "internalType": "address",
208
- "name": "token1",
209
- "type": "address"
210
- }
211
- ],
212
- "name": "getLPPriceAlgebra",
213
- "outputs": [
214
- {
215
- "internalType": "uint256",
216
- "name": "price",
217
- "type": "uint256"
218
- }
219
- ],
220
- "stateMutability": "view",
221
- "type": "function"
222
- },
223
- {
224
- "inputs": [
225
- {
226
- "internalType": "contract IAlgebraFactory",
227
- "name": "factoryAlgebra",
228
- "type": "address"
229
- },
230
- {
231
- "internalType": "address",
232
- "name": "token0",
233
- "type": "address"
234
- },
235
- {
236
- "internalType": "address",
237
- "name": "token1",
238
- "type": "address"
239
- }
240
- ],
241
- "name": "getLPPriceAlgebraFromFactory",
242
- "outputs": [
243
- {
244
- "internalType": "uint256",
245
- "name": "price",
246
- "type": "uint256"
247
- }
248
- ],
249
- "stateMutability": "view",
250
- "type": "function"
251
- },
252
- {
253
- "inputs": [
254
- {
255
- "internalType": "address",
256
- "name": "token",
257
- "type": "address"
258
- },
259
- {
260
- "internalType": "enum IPriceGetterV2.Protocol",
261
- "name": "protocol",
262
- "type": "uint8"
263
- },
264
- {
265
- "internalType": "contract IApeFactory",
266
- "name": "factoryV2",
267
- "type": "address"
268
- },
269
- {
270
- "internalType": "contract IUniswapV3Factory",
271
- "name": "factoryV3",
272
- "type": "address"
273
- },
274
- {
275
- "internalType": "contract IAlgebraFactory",
276
- "name": "factoryAlgebra",
277
- "type": "address"
278
- },
279
- {
280
- "internalType": "contract ISolidlyFactory",
281
- "name": "factorySolidly",
282
- "type": "address"
283
- }
284
- ],
285
- "name": "getLPPriceFromFactory",
286
- "outputs": [
287
- {
288
- "internalType": "uint256",
289
- "name": "price",
290
- "type": "uint256"
291
- }
292
- ],
293
- "stateMutability": "view",
294
- "type": "function"
295
- },
296
- {
297
- "inputs": [
298
- {
299
- "internalType": "contract Hypervisor",
300
- "name": "lp",
301
- "type": "address"
302
- }
303
- ],
304
- "name": "getLPPriceGamma",
305
- "outputs": [
306
- {
307
- "internalType": "uint256",
308
- "name": "price",
309
- "type": "uint256"
310
- }
311
- ],
312
- "stateMutability": "view",
313
- "type": "function"
314
- },
315
- {
316
- "inputs": [
317
- {
318
- "internalType": "contract IAlgebraFactory",
319
- "name": "factory",
320
- "type": "address"
321
- },
322
- {
323
- "internalType": "contract IApeFactory",
324
- "name": "factoryV2",
325
- "type": "address"
326
- },
327
- {
328
- "internalType": "contract Hypervisor",
329
- "name": "lp",
330
- "type": "address"
331
- }
332
- ],
333
- "name": "getLPPriceGammaFromFactory",
334
- "outputs": [
335
- {
336
- "internalType": "uint256",
337
- "name": "price",
338
- "type": "uint256"
339
- }
340
- ],
341
- "stateMutability": "view",
342
- "type": "function"
343
- },
344
- {
345
- "inputs": [
346
- {
347
- "internalType": "address",
348
- "name": "lp",
349
- "type": "address"
350
- }
351
- ],
352
- "name": "getLPPriceSolidly",
353
- "outputs": [
354
- {
355
- "internalType": "uint256",
356
- "name": "price",
357
- "type": "uint256"
358
- }
359
- ],
360
- "stateMutability": "view",
361
- "type": "function"
362
- },
363
- {
364
- "inputs": [
365
- {
366
- "internalType": "contract ISolidlyFactory",
367
- "name": "factorySolidly",
368
- "type": "address"
369
- },
370
- {
371
- "internalType": "address",
372
- "name": "lp",
373
- "type": "address"
374
- }
375
- ],
376
- "name": "getLPPriceSolidlyFromFactory",
377
- "outputs": [
378
- {
379
- "internalType": "uint256",
380
- "name": "price",
381
- "type": "uint256"
382
- }
383
- ],
384
- "stateMutability": "view",
385
- "type": "function"
386
- },
387
- {
388
- "inputs": [
389
- {
390
- "internalType": "address",
391
- "name": "lp",
392
- "type": "address"
393
- }
394
- ],
395
- "name": "getLPPriceV2",
396
- "outputs": [
397
- {
398
- "internalType": "uint256",
399
- "name": "price",
400
- "type": "uint256"
401
- }
402
- ],
403
- "stateMutability": "view",
404
- "type": "function"
405
- },
406
- {
407
- "inputs": [
408
- {
409
- "internalType": "contract IApeFactory",
410
- "name": "factoryV2",
411
- "type": "address"
412
- },
413
- {
414
- "internalType": "address",
415
- "name": "lp",
416
- "type": "address"
417
- }
418
- ],
419
- "name": "getLPPriceV2FromFactory",
420
- "outputs": [
421
- {
422
- "internalType": "uint256",
423
- "name": "price",
424
- "type": "uint256"
425
- }
426
- ],
427
- "stateMutability": "view",
428
- "type": "function"
429
- },
430
- {
431
- "inputs": [
432
- {
433
- "internalType": "address",
434
- "name": "token0",
435
- "type": "address"
436
- },
437
- {
438
- "internalType": "address",
439
- "name": "token1",
440
- "type": "address"
441
- },
442
- {
443
- "internalType": "uint24",
444
- "name": "fee",
445
- "type": "uint24"
446
- }
447
- ],
448
- "name": "getLPPriceV3",
449
- "outputs": [
450
- {
451
- "internalType": "uint256",
452
- "name": "price",
453
- "type": "uint256"
454
- }
455
- ],
456
- "stateMutability": "view",
457
- "type": "function"
458
- },
459
- {
460
- "inputs": [
461
- {
462
- "internalType": "address",
463
- "name": "factoryV3",
464
- "type": "address"
465
- },
466
- {
467
- "internalType": "address",
468
- "name": "token0",
469
- "type": "address"
470
- },
471
- {
472
- "internalType": "address",
473
- "name": "token1",
474
- "type": "address"
475
- },
476
- {
477
- "internalType": "uint24",
478
- "name": "fee",
479
- "type": "uint24"
480
- }
481
- ],
482
- "name": "getLPPriceV3FromFactory",
483
- "outputs": [
484
- {
485
- "internalType": "uint256",
486
- "name": "price",
487
- "type": "uint256"
488
- }
489
- ],
490
- "stateMutability": "view",
491
- "type": "function"
492
- },
493
- {
494
- "inputs": [
495
- {
496
- "internalType": "address",
497
- "name": "lp",
498
- "type": "address"
499
- }
500
- ],
501
- "name": "getLPPriceXFAI",
502
- "outputs": [
503
- {
504
- "internalType": "uint256",
505
- "name": "price",
506
- "type": "uint256"
507
- }
508
- ],
509
- "stateMutability": "view",
510
- "type": "function"
511
- },
512
- {
513
- "inputs": [
514
- {
515
- "internalType": "contract IXFAIFactory",
516
- "name": "factoryXFAI",
517
- "type": "address"
518
- },
519
- {
520
- "internalType": "address",
521
- "name": "lp",
522
- "type": "address"
523
- }
524
- ],
525
- "name": "getLPPriceXFAIFromFactory",
526
- "outputs": [
527
- {
528
- "internalType": "uint256",
529
- "name": "price",
530
- "type": "uint256"
531
- }
532
- ],
533
- "stateMutability": "view",
534
- "type": "function"
535
- },
536
- {
537
- "inputs": [
538
- {
539
- "internalType": "address[]",
540
- "name": "tokens",
541
- "type": "address[]"
542
- },
543
- {
544
- "internalType": "uint256",
545
- "name": "_decimals",
546
- "type": "uint256"
547
- }
548
- ],
549
- "name": "getLPPrices",
550
- "outputs": [
551
- {
552
- "internalType": "uint256[]",
553
- "name": "prices",
554
- "type": "uint256[]"
555
- }
556
- ],
557
- "stateMutability": "view",
558
- "type": "function"
559
- },
560
- {
561
- "inputs": [
562
- {
563
- "internalType": "address[]",
564
- "name": "tokens",
565
- "type": "address[]"
566
- }
567
- ],
568
- "name": "getLPPricesV2",
569
- "outputs": [
570
- {
571
- "internalType": "uint256[]",
572
- "name": "prices",
573
- "type": "uint256[]"
574
- }
575
- ],
576
- "stateMutability": "view",
577
- "type": "function"
578
- },
579
- {
580
- "inputs": [
581
- {
582
- "internalType": "contract IApeFactory",
583
- "name": "factoryV2",
584
- "type": "address"
585
- },
586
- {
587
- "internalType": "address[]",
588
- "name": "tokens",
589
- "type": "address[]"
590
- }
591
- ],
592
- "name": "getLPPricesV2FromFactory",
593
- "outputs": [
594
- {
595
- "internalType": "uint256[]",
596
- "name": "prices",
597
- "type": "uint256[]"
598
- }
599
- ],
600
- "stateMutability": "view",
601
- "type": "function"
602
- },
603
- {
604
- "inputs": [
605
- {
606
- "internalType": "address[]",
607
- "name": "tokens0",
608
- "type": "address[]"
609
- },
610
- {
611
- "internalType": "address[]",
612
- "name": "tokens1",
613
- "type": "address[]"
614
- },
615
- {
616
- "internalType": "uint24[]",
617
- "name": "fees",
618
- "type": "uint24[]"
619
- }
620
- ],
621
- "name": "getLPPricesV3",
622
- "outputs": [
623
- {
624
- "internalType": "uint256[]",
625
- "name": "prices",
626
- "type": "uint256[]"
627
- }
628
- ],
629
- "stateMutability": "view",
630
- "type": "function"
631
- },
632
- {
633
- "inputs": [
634
- {
635
- "internalType": "contract IUniswapV3Factory",
636
- "name": "factoryV3",
637
- "type": "address"
638
- },
639
- {
640
- "internalType": "address[]",
641
- "name": "tokens0",
642
- "type": "address[]"
643
- },
644
- {
645
- "internalType": "address[]",
646
- "name": "tokens1",
647
- "type": "address[]"
648
- },
649
- {
650
- "internalType": "uint24[]",
651
- "name": "fees",
652
- "type": "uint24[]"
653
- }
654
- ],
655
- "name": "getLPPricesV3FromFactory",
656
- "outputs": [
657
- {
658
- "internalType": "uint256[]",
659
- "name": "prices",
660
- "type": "uint256[]"
661
- }
662
- ],
663
- "stateMutability": "view",
664
- "type": "function"
665
- },
666
- {
667
- "inputs": [],
668
- "name": "getNativePrice",
669
- "outputs": [
670
- {
671
- "internalType": "uint256",
672
- "name": "",
673
- "type": "uint256"
674
- }
675
- ],
676
- "stateMutability": "view",
677
- "type": "function"
678
- },
679
- {
680
- "inputs": [
681
- {
682
- "internalType": "enum IPriceGetterV2.Protocol",
683
- "name": "protocol",
684
- "type": "uint8"
685
- }
686
- ],
687
- "name": "getNativePrice",
688
- "outputs": [
689
- {
690
- "internalType": "uint256",
691
- "name": "nativePrice",
692
- "type": "uint256"
693
- }
694
- ],
695
- "stateMutability": "view",
696
- "type": "function"
697
- },
698
- {
699
- "inputs": [
700
- {
701
- "internalType": "enum IPriceGetterV2.Protocol",
702
- "name": "protocol",
703
- "type": "uint8"
704
- },
705
- {
706
- "internalType": "contract IApeFactory",
707
- "name": "factoryV2",
708
- "type": "address"
709
- },
710
- {
711
- "internalType": "contract IUniswapV3Factory",
712
- "name": "factoryV3",
713
- "type": "address"
714
- },
715
- {
716
- "internalType": "contract ISolidlyFactory",
717
- "name": "factorySolidly",
718
- "type": "address"
719
- }
720
- ],
721
- "name": "getNativePriceFromFactory",
722
- "outputs": [
723
- {
724
- "internalType": "uint256",
725
- "name": "nativePrice",
726
- "type": "uint256"
727
- }
728
- ],
729
- "stateMutability": "view",
730
- "type": "function"
731
- },
732
- {
733
- "inputs": [
734
- {
735
- "internalType": "address",
736
- "name": "token",
737
- "type": "address"
738
- },
739
- {
740
- "internalType": "uint32",
741
- "name": "secondsAgo",
742
- "type": "uint32"
743
- }
744
- ],
745
- "name": "getPrice",
746
- "outputs": [
747
- {
748
- "internalType": "uint256",
749
- "name": "",
750
- "type": "uint256"
751
- }
752
- ],
753
- "stateMutability": "view",
754
- "type": "function"
755
- },
756
- {
757
- "inputs": [
758
- {
759
- "internalType": "address",
760
- "name": "token",
761
- "type": "address"
762
- },
763
- {
764
- "internalType": "enum IPriceGetterV2.Protocol",
765
- "name": "protocol",
766
- "type": "uint8"
767
- }
768
- ],
769
- "name": "getPrice",
770
- "outputs": [
771
- {
772
- "internalType": "uint256",
773
- "name": "price",
774
- "type": "uint256"
775
- }
776
- ],
777
- "stateMutability": "view",
778
- "type": "function"
779
- },
780
- {
781
- "inputs": [
782
- {
783
- "internalType": "address",
784
- "name": "token",
785
- "type": "address"
786
- },
787
- {
788
- "internalType": "uint256",
789
- "name": "_decimals",
790
- "type": "uint256"
791
- }
792
- ],
793
- "name": "getPrice",
794
- "outputs": [
795
- {
796
- "internalType": "uint256",
797
- "name": "",
798
- "type": "uint256"
799
- }
800
- ],
801
- "stateMutability": "view",
802
- "type": "function"
803
- },
804
- {
805
- "inputs": [
806
- {
807
- "internalType": "address",
808
- "name": "token",
809
- "type": "address"
810
- }
811
- ],
812
- "name": "getPriceAlgebra",
813
- "outputs": [
814
- {
815
- "internalType": "uint256",
816
- "name": "price",
817
- "type": "uint256"
818
- }
819
- ],
820
- "stateMutability": "view",
821
- "type": "function"
822
- },
823
- {
824
- "inputs": [
825
- {
826
- "internalType": "contract IAlgebraFactory",
827
- "name": "factoryAlgebra",
828
- "type": "address"
829
- },
830
- {
831
- "internalType": "address",
832
- "name": "token",
833
- "type": "address"
834
- }
835
- ],
836
- "name": "getPriceAlgebraFromFactory",
837
- "outputs": [
838
- {
839
- "internalType": "uint256",
840
- "name": "price",
841
- "type": "uint256"
842
- }
843
- ],
844
- "stateMutability": "view",
845
- "type": "function"
846
- },
847
- {
848
- "inputs": [
849
- {
850
- "internalType": "address",
851
- "name": "token",
852
- "type": "address"
853
- },
854
- {
855
- "internalType": "enum IPriceGetterV2.Protocol",
856
- "name": "protocol",
857
- "type": "uint8"
858
- },
859
- {
860
- "internalType": "contract IApeFactory",
861
- "name": "factoryV2",
862
- "type": "address"
863
- },
864
- {
865
- "internalType": "contract IUniswapV3Factory",
866
- "name": "factoryV3",
867
- "type": "address"
868
- },
869
- {
870
- "internalType": "contract IAlgebraFactory",
871
- "name": "factoryAlgebra",
872
- "type": "address"
873
- },
874
- {
875
- "internalType": "contract ISolidlyFactory",
876
- "name": "factorySolidly",
877
- "type": "address"
878
- },
879
- {
880
- "internalType": "contract IXFAIFactory",
881
- "name": "factoryXFAI",
882
- "type": "address"
883
- }
884
- ],
885
- "name": "getPriceFromFactory",
886
- "outputs": [
887
- {
888
- "internalType": "uint256",
889
- "name": "price",
890
- "type": "uint256"
891
- }
892
- ],
893
- "stateMutability": "view",
894
- "type": "function"
895
- },
896
- {
897
- "inputs": [
898
- {
899
- "internalType": "address",
900
- "name": "token",
901
- "type": "address"
902
- }
903
- ],
904
- "name": "getPriceV2",
905
- "outputs": [
906
- {
907
- "internalType": "uint256",
908
- "name": "price",
909
- "type": "uint256"
910
- }
911
- ],
912
- "stateMutability": "view",
913
- "type": "function"
914
- },
915
- {
916
- "inputs": [
917
- {
918
- "internalType": "contract IApeFactory",
919
- "name": "factoryV2",
920
- "type": "address"
921
- },
922
- {
923
- "internalType": "address",
924
- "name": "token",
925
- "type": "address"
926
- }
927
- ],
928
- "name": "getPriceV2FromFactory",
929
- "outputs": [
930
- {
931
- "internalType": "uint256",
932
- "name": "price",
933
- "type": "uint256"
934
- }
935
- ],
936
- "stateMutability": "view",
937
- "type": "function"
938
- },
939
- {
940
- "inputs": [
941
- {
942
- "internalType": "address",
943
- "name": "token",
944
- "type": "address"
945
- }
946
- ],
947
- "name": "getPriceV3",
948
- "outputs": [
949
- {
950
- "internalType": "uint256",
951
- "name": "price",
952
- "type": "uint256"
953
- }
954
- ],
955
- "stateMutability": "view",
956
- "type": "function"
957
- },
958
- {
959
- "inputs": [
960
- {
961
- "internalType": "contract IUniswapV3Factory",
962
- "name": "factoryV3",
963
- "type": "address"
964
- },
965
- {
966
- "internalType": "address",
967
- "name": "token",
968
- "type": "address"
969
- }
970
- ],
971
- "name": "getPriceV3FromFactory",
972
- "outputs": [
973
- {
974
- "internalType": "uint256",
975
- "name": "price",
976
- "type": "uint256"
977
- }
978
- ],
979
- "stateMutability": "view",
980
- "type": "function"
981
- },
982
- {
983
- "inputs": [
984
- {
985
- "internalType": "address",
986
- "name": "token",
987
- "type": "address"
988
- }
989
- ],
990
- "name": "getPriceXFAI",
991
- "outputs": [
992
- {
993
- "internalType": "uint256",
994
- "name": "price",
995
- "type": "uint256"
996
- }
997
- ],
998
- "stateMutability": "view",
999
- "type": "function"
1000
- },
1001
- {
1002
- "inputs": [
1003
- {
1004
- "internalType": "contract IXFAIFactory",
1005
- "name": "factoryXFAI",
1006
- "type": "address"
1007
- },
1008
- {
1009
- "internalType": "address",
1010
- "name": "token",
1011
- "type": "address"
1012
- }
1013
- ],
1014
- "name": "getPriceXFAIFromFactory",
1015
- "outputs": [
1016
- {
1017
- "internalType": "uint256",
1018
- "name": "price",
1019
- "type": "uint256"
1020
- }
1021
- ],
1022
- "stateMutability": "view",
1023
- "type": "function"
1024
- },
1025
- {
1026
- "inputs": [
1027
- {
1028
- "internalType": "address[]",
1029
- "name": "tokens",
1030
- "type": "address[]"
1031
- },
1032
- {
1033
- "internalType": "enum IPriceGetterV2.Protocol",
1034
- "name": "protocol",
1035
- "type": "uint8"
1036
- }
1037
- ],
1038
- "name": "getPrices",
1039
- "outputs": [
1040
- {
1041
- "internalType": "uint256[]",
1042
- "name": "prices",
1043
- "type": "uint256[]"
1044
- }
1045
- ],
1046
- "stateMutability": "view",
1047
- "type": "function"
1048
- },
1049
- {
1050
- "inputs": [
1051
- {
1052
- "internalType": "address[]",
1053
- "name": "tokens",
1054
- "type": "address[]"
1055
- },
1056
- {
1057
- "internalType": "uint256",
1058
- "name": "_decimals",
1059
- "type": "uint256"
1060
- }
1061
- ],
1062
- "name": "getPrices",
1063
- "outputs": [
1064
- {
1065
- "internalType": "uint256[]",
1066
- "name": "prices",
1067
- "type": "uint256[]"
1068
- }
1069
- ],
1070
- "stateMutability": "view",
1071
- "type": "function"
1072
- },
1073
- {
1074
- "inputs": [
1075
- {
1076
- "internalType": "address[]",
1077
- "name": "tokens",
1078
- "type": "address[]"
1079
- },
1080
- {
1081
- "internalType": "uint32",
1082
- "name": "secondsAgo",
1083
- "type": "uint32"
1084
- }
1085
- ],
1086
- "name": "getPrices",
1087
- "outputs": [
1088
- {
1089
- "internalType": "uint256[]",
1090
- "name": "prices",
1091
- "type": "uint256[]"
1092
- }
1093
- ],
1094
- "stateMutability": "view",
1095
- "type": "function"
1096
- },
1097
- {
1098
- "inputs": [
1099
- {
1100
- "internalType": "address[]",
1101
- "name": "tokens",
1102
- "type": "address[]"
1103
- },
1104
- {
1105
- "internalType": "enum IPriceGetterV2.Protocol",
1106
- "name": "protocol",
1107
- "type": "uint8"
1108
- },
1109
- {
1110
- "internalType": "contract IApeFactory",
1111
- "name": "factoryV2",
1112
- "type": "address"
1113
- },
1114
- {
1115
- "internalType": "contract IUniswapV3Factory",
1116
- "name": "factoryV3",
1117
- "type": "address"
1118
- },
1119
- {
1120
- "internalType": "contract IAlgebraFactory",
1121
- "name": "factoryAlgebra",
1122
- "type": "address"
1123
- },
1124
- {
1125
- "internalType": "contract ISolidlyFactory",
1126
- "name": "factorySolidly",
1127
- "type": "address"
1128
- },
1129
- {
1130
- "internalType": "contract IXFAIFactory",
1131
- "name": "factoryXFAI",
1132
- "type": "address"
1133
- }
1134
- ],
1135
- "name": "getPricesFromFactory",
1136
- "outputs": [
1137
- {
1138
- "internalType": "uint256[]",
1139
- "name": "prices",
1140
- "type": "uint256[]"
1141
- }
1142
- ],
1143
- "stateMutability": "view",
1144
- "type": "function"
1145
- },
1146
- {
1147
- "inputs": [
1148
- {
1149
- "internalType": "address",
1150
- "name": "token",
1151
- "type": "address"
1152
- }
1153
- ],
1154
- "name": "getRawPrice",
1155
- "outputs": [
1156
- {
1157
- "internalType": "uint256",
1158
- "name": "",
1159
- "type": "uint256"
1160
- }
1161
- ],
1162
- "stateMutability": "view",
1163
- "type": "function"
1164
- },
1165
- {
1166
- "inputs": [
1167
- {
1168
- "internalType": "address[]",
1169
- "name": "tokens",
1170
- "type": "address[]"
1171
- }
1172
- ],
1173
- "name": "getRawPrices",
1174
- "outputs": [
1175
- {
1176
- "internalType": "uint256[]",
1177
- "name": "prices",
1178
- "type": "uint256[]"
1179
- }
1180
- ],
1181
- "stateMutability": "view",
1182
- "type": "function"
1183
- },
1184
- {
1185
- "inputs": [
1186
- {
1187
- "internalType": "address",
1188
- "name": "_wNative",
1189
- "type": "address"
1190
- },
1191
- {
1192
- "internalType": "uint256",
1193
- "name": "_nativeLiquidityThreshold",
1194
- "type": "uint256"
1195
- },
1196
- {
1197
- "internalType": "contract IApeFactory",
1198
- "name": "_defaultFactoryV2",
1199
- "type": "address"
1200
- },
1201
- {
1202
- "internalType": "contract IUniswapV3Factory",
1203
- "name": "_defaultFactoryV3",
1204
- "type": "address"
1205
- },
1206
- {
1207
- "internalType": "contract IAlgebraFactory",
1208
- "name": "_defaultFactoryAlgebra",
1209
- "type": "address"
1210
- },
1211
- {
1212
- "internalType": "contract ISolidlyFactory",
1213
- "name": "_defaultFactorySolidly",
1214
- "type": "address"
1215
- },
1216
- {
1217
- "internalType": "contract IXFAIFactory",
1218
- "name": "_defaultFactoryXFAI",
1219
- "type": "address"
1220
- },
1221
- {
1222
- "internalType": "address[]",
1223
- "name": "_stableUsdTokens",
1224
- "type": "address[]"
1225
- },
1226
- {
1227
- "internalType": "address[]",
1228
- "name": "_oracleTokens",
1229
- "type": "address[]"
1230
- },
1231
- {
1232
- "internalType": "address[]",
1233
- "name": "_oracles",
1234
- "type": "address[]"
1235
- }
1236
- ],
1237
- "name": "initialize",
1238
- "outputs": [],
1239
- "stateMutability": "nonpayable",
1240
- "type": "function"
1241
- },
1242
- {
1243
- "inputs": [],
1244
- "name": "nativeLiquidityThreshold",
1245
- "outputs": [
1246
- {
1247
- "internalType": "uint256",
1248
- "name": "",
1249
- "type": "uint256"
1250
- }
1251
- ],
1252
- "stateMutability": "view",
1253
- "type": "function"
1254
- },
1255
- {
1256
- "inputs": [],
1257
- "name": "owner",
1258
- "outputs": [
1259
- {
1260
- "internalType": "address",
1261
- "name": "",
1262
- "type": "address"
1263
- }
1264
- ],
1265
- "stateMutability": "view",
1266
- "type": "function"
1267
- },
1268
- {
1269
- "inputs": [
1270
- {
1271
- "internalType": "address",
1272
- "name": "token",
1273
- "type": "address"
1274
- }
1275
- ],
1276
- "name": "removeTokenOracle",
1277
- "outputs": [],
1278
- "stateMutability": "nonpayable",
1279
- "type": "function"
1280
- },
1281
- {
1282
- "inputs": [],
1283
- "name": "renounceOwnership",
1284
- "outputs": [],
1285
- "stateMutability": "nonpayable",
1286
- "type": "function"
1287
- },
1288
- {
1289
- "inputs": [],
1290
- "name": "secondsAgo",
1291
- "outputs": [
1292
- {
1293
- "internalType": "uint24",
1294
- "name": "",
1295
- "type": "uint24"
1296
- }
1297
- ],
1298
- "stateMutability": "view",
1299
- "type": "function"
1300
- },
1301
- {
1302
- "inputs": [
1303
- {
1304
- "internalType": "enum IPriceGetterV2.Protocol",
1305
- "name": "_protocol",
1306
- "type": "uint8"
1307
- },
1308
- {
1309
- "internalType": "address",
1310
- "name": "_factory",
1311
- "type": "address"
1312
- }
1313
- ],
1314
- "name": "setDefaultFactory",
1315
- "outputs": [],
1316
- "stateMutability": "nonpayable",
1317
- "type": "function"
1318
- },
1319
- {
1320
- "inputs": [
1321
- {
1322
- "internalType": "uint256",
1323
- "name": "_nativeLiquidityThreshold",
1324
- "type": "uint256"
1325
- }
1326
- ],
1327
- "name": "setNativeLiquidityThreshold",
1328
- "outputs": [],
1329
- "stateMutability": "nonpayable",
1330
- "type": "function"
1331
- },
1332
- {
1333
- "inputs": [
1334
- {
1335
- "internalType": "address",
1336
- "name": "token",
1337
- "type": "address"
1338
- },
1339
- {
1340
- "internalType": "address",
1341
- "name": "oracleAddress",
1342
- "type": "address"
1343
- },
1344
- {
1345
- "internalType": "enum PriceGetterV2.OracleType",
1346
- "name": "oracleType",
1347
- "type": "uint8"
1348
- }
1349
- ],
1350
- "name": "setTokenOracle",
1351
- "outputs": [],
1352
- "stateMutability": "nonpayable",
1353
- "type": "function"
1354
- },
1355
- {
1356
- "inputs": [
1357
- {
1358
- "internalType": "address",
1359
- "name": "",
1360
- "type": "address"
1361
- }
1362
- ],
1363
- "name": "stableUsdTokenDecimals",
1364
- "outputs": [
1365
- {
1366
- "internalType": "uint8",
1367
- "name": "",
1368
- "type": "uint8"
1369
- }
1370
- ],
1371
- "stateMutability": "view",
1372
- "type": "function"
1373
- },
1374
- {
1375
- "inputs": [
1376
- {
1377
- "internalType": "uint256",
1378
- "name": "",
1379
- "type": "uint256"
1380
- }
1381
- ],
1382
- "name": "stableUsdTokens",
1383
- "outputs": [
1384
- {
1385
- "internalType": "address",
1386
- "name": "",
1387
- "type": "address"
1388
- }
1389
- ],
1390
- "stateMutability": "view",
1391
- "type": "function"
1392
- },
1393
- {
1394
- "inputs": [
1395
- {
1396
- "internalType": "address",
1397
- "name": "",
1398
- "type": "address"
1399
- }
1400
- ],
1401
- "name": "tokenOracles",
1402
- "outputs": [
1403
- {
1404
- "internalType": "enum PriceGetterV2.OracleType",
1405
- "name": "oracleType",
1406
- "type": "uint8"
1407
- },
1408
- {
1409
- "internalType": "address",
1410
- "name": "oracleAddress",
1411
- "type": "address"
1412
- },
1413
- {
1414
- "internalType": "uint8",
1415
- "name": "oracleDecimals",
1416
- "type": "uint8"
1417
- }
1418
- ],
1419
- "stateMutability": "view",
1420
- "type": "function"
1421
- },
1422
- {
1423
- "inputs": [
1424
- {
1425
- "internalType": "address",
1426
- "name": "newOwner",
1427
- "type": "address"
1428
- }
1429
- ],
1430
- "name": "transferOwnership",
1431
- "outputs": [],
1432
- "stateMutability": "nonpayable",
1433
- "type": "function"
1434
- },
1435
- {
1436
- "inputs": [],
1437
- "name": "wNative",
1438
- "outputs": [
1439
- {
1440
- "internalType": "address",
1441
- "name": "",
1442
- "type": "address"
1443
- }
1444
- ],
1445
- "stateMutability": "view",
1446
- "type": "function"
1447
- }
1448
- ]