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