@goodaofi/bonds-sdk 3.0.123

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 (519) hide show
  1. package/README.md +156 -0
  2. package/dist/assets/output-2LTDuc8n.css +174 -0
  3. package/dist/components/AccordionText/index.d.ts +6 -0
  4. package/dist/components/BondFilters/BondFilters.d.ts +11 -0
  5. package/dist/components/ChainOptionList/ChainOptionsButtons.d.ts +8 -0
  6. package/dist/components/ChainOptionList/ChainOptionsList.d.ts +7 -0
  7. package/dist/components/ChainOptionList/constants.d.ts +5 -0
  8. package/dist/components/ChainOptionList/styles.d.ts +2 -0
  9. package/dist/components/ConnectButton/RainbowKitButton.d.ts +3 -0
  10. package/dist/components/ConnectButton/index.d.ts +3 -0
  11. package/dist/components/CountdownTimer/CountdownTimer.d.ts +4 -0
  12. package/dist/components/FavIcons/AddFavToken.d.ts +6 -0
  13. package/dist/components/FavIcons/FavFilter.d.ts +6 -0
  14. package/dist/components/LoadingSpinner/index.d.ts +6 -0
  15. package/dist/components/MenuSelect/MenuSelect.d.ts +8 -0
  16. package/dist/components/MenuSelect/RecommendationSelector.d.ts +7 -0
  17. package/dist/components/MenuSelect/types.d.ts +22 -0
  18. package/dist/components/NetworkFilter/index.d.ts +6 -0
  19. package/dist/components/PlaceholderMonkey/index.d.ts +5 -0
  20. package/dist/components/ProgressBar/ProgressBar.d.ts +7 -0
  21. package/dist/components/ProgressBar/ProgressBarWrapper.d.ts +14 -0
  22. package/dist/components/ProgressBar/styles.d.ts +2 -0
  23. package/dist/components/RestrictedRegionModal/index.d.ts +5 -0
  24. package/dist/components/SafeHTMLComponent/index.d.ts +5 -0
  25. package/dist/components/SlippageModal/index.d.ts +3 -0
  26. package/dist/components/StepBubble/index.d.ts +9 -0
  27. package/dist/components/Toast/index.d.ts +7 -0
  28. package/dist/components/Toast/styles.d.ts +3 -0
  29. package/dist/components/TokenInfoAndName/index.d.ts +9 -0
  30. package/dist/components/TokenSelectorModal/TokenRow.d.ts +9 -0
  31. package/dist/components/TokenSelectorModal/index.d.ts +11 -0
  32. package/dist/components/TokenSelectorPanel/index.d.ts +16 -0
  33. package/dist/components/Tooltip/ButtonsRow.d.ts +10 -0
  34. package/dist/components/Tooltip/Tooltip.d.ts +13 -0
  35. package/dist/components/Tooltip/styles.d.ts +2 -0
  36. package/dist/components/YouTooltip/YouTooltip.d.ts +3 -0
  37. package/dist/components/uikit-sdk/Button/Button.d.ts +4 -0
  38. package/dist/components/uikit-sdk/Button/IconButton.d.ts +4 -0
  39. package/dist/components/uikit-sdk/Button/index.d.ts +2 -0
  40. package/dist/components/uikit-sdk/Button/styles.d.ts +3 -0
  41. package/dist/components/uikit-sdk/Button/types.d.ts +46 -0
  42. package/dist/components/uikit-sdk/Checkbox/index.d.ts +3 -0
  43. package/dist/components/uikit-sdk/Checkbox/types.d.ts +11 -0
  44. package/dist/components/uikit-sdk/Flex/index.d.ts +5 -0
  45. package/dist/components/uikit-sdk/Input/Input.d.ts +9 -0
  46. package/dist/components/uikit-sdk/Input/NumericInput.d.ts +9 -0
  47. package/dist/components/uikit-sdk/Input/index.d.ts +2 -0
  48. package/dist/components/uikit-sdk/LoadingDots/index.d.ts +2 -0
  49. package/dist/components/uikit-sdk/Modal/ModalFooter.d.ts +4 -0
  50. package/dist/components/uikit-sdk/Modal/ModalHeader.d.ts +4 -0
  51. package/dist/components/uikit-sdk/Modal/index.d.ts +4 -0
  52. package/dist/components/uikit-sdk/Modal/styles.d.ts +3 -0
  53. package/dist/components/uikit-sdk/Modal/types.d.ts +17 -0
  54. package/dist/components/uikit-sdk/Select/Select.d.ts +4 -0
  55. package/dist/components/uikit-sdk/Select/SelectItem.d.ts +3 -0
  56. package/dist/components/uikit-sdk/Select/index.d.ts +2 -0
  57. package/dist/components/uikit-sdk/Select/styles.d.ts +4 -0
  58. package/dist/components/uikit-sdk/Select/types.d.ts +55 -0
  59. package/dist/components/uikit-sdk/Skeleton/index.d.ts +4 -0
  60. package/dist/components/uikit-sdk/Skeleton/styles.d.ts +5 -0
  61. package/dist/components/uikit-sdk/Skeleton/types.d.ts +18 -0
  62. package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.d.ts +4 -0
  63. package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.d.ts +4 -0
  64. package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.d.ts +4 -0
  65. package/dist/components/uikit-sdk/Svg/Icons/AllChains.d.ts +4 -0
  66. package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.d.ts +4 -0
  67. package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.d.ts +4 -0
  68. package/dist/components/uikit-sdk/Svg/Icons/Arrow.d.ts +4 -0
  69. package/dist/components/uikit-sdk/Svg/Icons/Audit.d.ts +4 -0
  70. package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.d.ts +4 -0
  71. package/dist/components/uikit-sdk/Svg/Icons/BillsM1.d.ts +4 -0
  72. package/dist/components/uikit-sdk/Svg/Icons/BillsM2.d.ts +4 -0
  73. package/dist/components/uikit-sdk/Svg/Icons/BillsM3.d.ts +4 -0
  74. package/dist/components/uikit-sdk/Svg/Icons/Bridge.d.ts +4 -0
  75. package/dist/components/uikit-sdk/Svg/Icons/Bubble.d.ts +4 -0
  76. package/dist/components/uikit-sdk/Svg/Icons/Calculator.d.ts +4 -0
  77. package/dist/components/uikit-sdk/Svg/Icons/Calendar.d.ts +4 -0
  78. package/dist/components/uikit-sdk/Svg/Icons/Cancelled.d.ts +4 -0
  79. package/dist/components/uikit-sdk/Svg/Icons/Card.d.ts +4 -0
  80. package/dist/components/uikit-sdk/Svg/Icons/Caret.d.ts +4 -0
  81. package/dist/components/uikit-sdk/Svg/Icons/Chain.d.ts +4 -0
  82. package/dist/components/uikit-sdk/Svg/Icons/Chart.d.ts +4 -0
  83. package/dist/components/uikit-sdk/Svg/Icons/Chat.d.ts +4 -0
  84. package/dist/components/uikit-sdk/Svg/Icons/Close.d.ts +4 -0
  85. package/dist/components/uikit-sdk/Svg/Icons/Cog.d.ts +3 -0
  86. package/dist/components/uikit-sdk/Svg/Icons/Collapse.d.ts +4 -0
  87. package/dist/components/uikit-sdk/Svg/Icons/Copy.d.ts +4 -0
  88. package/dist/components/uikit-sdk/Svg/Icons/Discord.d.ts +4 -0
  89. package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.d.ts +4 -0
  90. package/dist/components/uikit-sdk/Svg/Icons/Docs.d.ts +4 -0
  91. package/dist/components/uikit-sdk/Svg/Icons/DocsV2.d.ts +4 -0
  92. package/dist/components/uikit-sdk/Svg/Icons/Ellipse.d.ts +4 -0
  93. package/dist/components/uikit-sdk/Svg/Icons/Error.d.ts +4 -0
  94. package/dist/components/uikit-sdk/Svg/Icons/Expand.d.ts +4 -0
  95. package/dist/components/uikit-sdk/Svg/Icons/Explorer.d.ts +4 -0
  96. package/dist/components/uikit-sdk/Svg/Icons/External.d.ts +4 -0
  97. package/dist/components/uikit-sdk/Svg/Icons/Farcaster.d.ts +4 -0
  98. package/dist/components/uikit-sdk/Svg/Icons/Farm.d.ts +4 -0
  99. package/dist/components/uikit-sdk/Svg/Icons/Fav.d.ts +4 -0
  100. package/dist/components/uikit-sdk/Svg/Icons/FilledURL.d.ts +4 -0
  101. package/dist/components/uikit-sdk/Svg/Icons/Fire.d.ts +4 -0
  102. package/dist/components/uikit-sdk/Svg/Icons/FirePink.d.ts +4 -0
  103. package/dist/components/uikit-sdk/Svg/Icons/Frame.d.ts +4 -0
  104. package/dist/components/uikit-sdk/Svg/Icons/FullLogo.d.ts +4 -0
  105. package/dist/components/uikit-sdk/Svg/Icons/Gnana.d.ts +4 -0
  106. package/dist/components/uikit-sdk/Svg/Icons/GreenShield.d.ts +3 -0
  107. package/dist/components/uikit-sdk/Svg/Icons/Hamburger.d.ts +4 -0
  108. package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.d.ts +4 -0
  109. package/dist/components/uikit-sdk/Svg/Icons/Home.d.ts +4 -0
  110. package/dist/components/uikit-sdk/Svg/Icons/Hot.d.ts +4 -0
  111. package/dist/components/uikit-sdk/Svg/Icons/Info.d.ts +4 -0
  112. package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.d.ts +4 -0
  113. package/dist/components/uikit-sdk/Svg/Icons/Insight.d.ts +4 -0
  114. package/dist/components/uikit-sdk/Svg/Icons/Instagram.d.ts +4 -0
  115. package/dist/components/uikit-sdk/Svg/Icons/Island.d.ts +4 -0
  116. package/dist/components/uikit-sdk/Svg/Icons/Language.d.ts +4 -0
  117. package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.d.ts +4 -0
  118. package/dist/components/uikit-sdk/Svg/Icons/LineChart.d.ts +4 -0
  119. package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.d.ts +4 -0
  120. package/dist/components/uikit-sdk/Svg/Icons/Logout.d.ts +4 -0
  121. package/dist/components/uikit-sdk/Svg/Icons/Medium.d.ts +4 -0
  122. package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.d.ts +4 -0
  123. package/dist/components/uikit-sdk/Svg/Icons/Message.d.ts +4 -0
  124. package/dist/components/uikit-sdk/Svg/Icons/Migrate.d.ts +4 -0
  125. package/dist/components/uikit-sdk/Svg/Icons/Moon.d.ts +4 -0
  126. package/dist/components/uikit-sdk/Svg/Icons/More.d.ts +4 -0
  127. package/dist/components/uikit-sdk/Svg/Icons/NFA.d.ts +4 -0
  128. package/dist/components/uikit-sdk/Svg/Icons/NavCaret.d.ts +4 -0
  129. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.d.ts +3 -0
  130. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkeyAlt.d.ts +3 -0
  131. package/dist/components/uikit-sdk/Svg/Icons/Play.d.ts +4 -0
  132. package/dist/components/uikit-sdk/Svg/Icons/Pool.d.ts +4 -0
  133. package/dist/components/uikit-sdk/Svg/Icons/Positions.d.ts +4 -0
  134. package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.d.ts +4 -0
  135. package/dist/components/uikit-sdk/Svg/Icons/ProfileIcon.d.ts +7 -0
  136. package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.d.ts +4 -0
  137. package/dist/components/uikit-sdk/Svg/Icons/Question.d.ts +4 -0
  138. package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.d.ts +4 -0
  139. package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.d.ts +4 -0
  140. package/dist/components/uikit-sdk/Svg/Icons/Quiz.d.ts +4 -0
  141. package/dist/components/uikit-sdk/Svg/Icons/Receipt.d.ts +4 -0
  142. package/dist/components/uikit-sdk/Svg/Icons/Reddit.d.ts +4 -0
  143. package/dist/components/uikit-sdk/Svg/Icons/Rocket.d.ts +4 -0
  144. package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.d.ts +4 -0
  145. package/dist/components/uikit-sdk/Svg/Icons/Search.d.ts +4 -0
  146. package/dist/components/uikit-sdk/Svg/Icons/Send.d.ts +4 -0
  147. package/dist/components/uikit-sdk/Svg/Icons/Settings.d.ts +4 -0
  148. package/dist/components/uikit-sdk/Svg/Icons/Share.d.ts +4 -0
  149. package/dist/components/uikit-sdk/Svg/Icons/Sort.d.ts +4 -0
  150. package/dist/components/uikit-sdk/Svg/Icons/Star.d.ts +4 -0
  151. package/dist/components/uikit-sdk/Svg/Icons/StarFilled.d.ts +4 -0
  152. package/dist/components/uikit-sdk/Svg/Icons/Success.d.ts +4 -0
  153. package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.d.ts +4 -0
  154. package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.d.ts +4 -0
  155. package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.d.ts +3 -0
  156. package/dist/components/uikit-sdk/Svg/Icons/Tag.d.ts +4 -0
  157. package/dist/components/uikit-sdk/Svg/Icons/Telegram.d.ts +4 -0
  158. package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.d.ts +4 -0
  159. package/dist/components/uikit-sdk/Svg/Icons/TextLogo.d.ts +4 -0
  160. package/dist/components/uikit-sdk/Svg/Icons/Tick.d.ts +4 -0
  161. package/dist/components/uikit-sdk/Svg/Icons/TickShield.d.ts +4 -0
  162. package/dist/components/uikit-sdk/Svg/Icons/Timer.d.ts +4 -0
  163. package/dist/components/uikit-sdk/Svg/Icons/Trade.d.ts +4 -0
  164. package/dist/components/uikit-sdk/Svg/Icons/Trash.d.ts +4 -0
  165. package/dist/components/uikit-sdk/Svg/Icons/Twitter.d.ts +4 -0
  166. package/dist/components/uikit-sdk/Svg/Icons/URL.d.ts +4 -0
  167. package/dist/components/uikit-sdk/Svg/Icons/Vaults.d.ts +4 -0
  168. package/dist/components/uikit-sdk/Svg/Icons/Verified.d.ts +4 -0
  169. package/dist/components/uikit-sdk/Svg/Icons/Wallet.d.ts +4 -0
  170. package/dist/components/uikit-sdk/Svg/Icons/Warning.d.ts +4 -0
  171. package/dist/components/uikit-sdk/Svg/Icons/Watch.d.ts +4 -0
  172. package/dist/components/uikit-sdk/Svg/Icons/Website.d.ts +4 -0
  173. package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.d.ts +4 -0
  174. package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.d.ts +4 -0
  175. package/dist/components/uikit-sdk/Svg/Icons/XNew.d.ts +4 -0
  176. package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.d.ts +4 -0
  177. package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.d.ts +4 -0
  178. package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.d.ts +4 -0
  179. package/dist/components/uikit-sdk/Svg/Icons/index.d.ts +117 -0
  180. package/dist/components/uikit-sdk/Svg/Icons/polygonNew.d.ts +4 -0
  181. package/dist/components/uikit-sdk/Svg/Icons/types.d.ts +16 -0
  182. package/dist/components/uikit-sdk/Svg/index.d.ts +3 -0
  183. package/dist/components/uikit-sdk/Svg/styles.d.ts +4 -0
  184. package/dist/components/uikit-sdk/Svg/tokens/ABOND.d.ts +4 -0
  185. package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.d.ts +4 -0
  186. package/dist/components/uikit-sdk/Svg/tokens/AVAX.d.ts +4 -0
  187. package/dist/components/uikit-sdk/Svg/tokens/BANANA.d.ts +4 -0
  188. package/dist/components/uikit-sdk/Svg/tokens/BASE.d.ts +4 -0
  189. package/dist/components/uikit-sdk/Svg/tokens/BERA.d.ts +4 -0
  190. package/dist/components/uikit-sdk/Svg/tokens/BLAST.d.ts +4 -0
  191. package/dist/components/uikit-sdk/Svg/tokens/BNB.d.ts +4 -0
  192. package/dist/components/uikit-sdk/Svg/tokens/BSC.d.ts +4 -0
  193. package/dist/components/uikit-sdk/Svg/tokens/CELO.d.ts +4 -0
  194. package/dist/components/uikit-sdk/Svg/tokens/CRONOS.d.ts +4 -0
  195. package/dist/components/uikit-sdk/Svg/tokens/CROSSFI.d.ts +4 -0
  196. package/dist/components/uikit-sdk/Svg/tokens/ETH.d.ts +4 -0
  197. package/dist/components/uikit-sdk/Svg/tokens/FANTOM.d.ts +4 -0
  198. package/dist/components/uikit-sdk/Svg/tokens/GNANA.d.ts +4 -0
  199. package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.d.ts +4 -0
  200. package/dist/components/uikit-sdk/Svg/tokens/GraphLinq.d.ts +4 -0
  201. package/dist/components/uikit-sdk/Svg/tokens/INEVM.d.ts +4 -0
  202. package/dist/components/uikit-sdk/Svg/tokens/IOTA.d.ts +4 -0
  203. package/dist/components/uikit-sdk/Svg/tokens/KATANA.d.ts +4 -0
  204. package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.d.ts +4 -0
  205. package/dist/components/uikit-sdk/Svg/tokens/LINEA.d.ts +4 -0
  206. package/dist/components/uikit-sdk/Svg/tokens/MONAD.d.ts +4 -0
  207. package/dist/components/uikit-sdk/Svg/tokens/OKX.d.ts +4 -0
  208. package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.d.ts +4 -0
  209. package/dist/components/uikit-sdk/Svg/tokens/POLYGON.d.ts +4 -0
  210. package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.d.ts +4 -0
  211. package/dist/components/uikit-sdk/Svg/tokens/SONIC.d.ts +4 -0
  212. package/dist/components/uikit-sdk/Svg/tokens/TLOS.d.ts +4 -0
  213. package/dist/components/uikit-sdk/Svg/tokens/UNICHAIN.d.ts +4 -0
  214. package/dist/components/uikit-sdk/Svg/tokens/index.d.ts +29 -0
  215. package/dist/components/uikit-sdk/Svg/types.d.ts +186 -0
  216. package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.d.ts +3 -0
  217. package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.d.ts +3 -0
  218. package/dist/components/uikit-sdk/Svg/walletIcons/Brave.d.ts +3 -0
  219. package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.d.ts +3 -0
  220. package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.d.ts +4 -0
  221. package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.d.ts +3 -0
  222. package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.d.ts +3 -0
  223. package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.d.ts +3 -0
  224. package/dist/components/uikit-sdk/Svg/walletIcons/OKX.d.ts +3 -0
  225. package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.d.ts +3 -0
  226. package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.d.ts +3 -0
  227. package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.d.ts +3 -0
  228. package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.d.ts +3 -0
  229. package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.d.ts +3 -0
  230. package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.d.ts +3 -0
  231. package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.d.ts +4 -0
  232. package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.d.ts +3 -0
  233. package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.d.ts +3 -0
  234. package/dist/components/uikit-sdk/Svg/walletIcons/index.d.ts +18 -0
  235. package/dist/components/uikit-sdk/SwiperDots/index.d.ts +6 -0
  236. package/dist/components/uikit-sdk/TabNav/index.d.ts +8 -0
  237. package/dist/components/uikit-sdk/Tag/ListTag.d.ts +4 -0
  238. package/dist/components/uikit-sdk/Tag/index.d.ts +1 -0
  239. package/dist/components/uikit-sdk/Tag/types.d.ts +3 -0
  240. package/dist/components/uikit-sdk/Text/index.d.ts +4 -0
  241. package/dist/components/uikit-sdk/Text/types.d.ts +23 -0
  242. package/dist/components/uikit-sdk/Toggle/index.d.ts +8 -0
  243. package/dist/components/uikit-sdk/Toggle/styles.d.ts +3 -0
  244. package/dist/components/uikit-sdk/TokenImage/index.d.ts +8 -0
  245. package/dist/components/uikit-sdk/TooltipBubble/index.d.ts +4 -0
  246. package/dist/components/uikit-sdk/TooltipBubble/styles.d.ts +4 -0
  247. package/dist/components/uikit-sdk/TooltipBubble/types.d.ts +18 -0
  248. package/dist/components/uikit-sdk/index.d.ts +15 -0
  249. package/dist/config/abi/types/Banana.d.ts +394 -0
  250. package/dist/config/abi/types/Bond.d.ts +758 -0
  251. package/dist/config/abi/types/BondNft.d.ts +556 -0
  252. package/dist/config/abi/types/EnsPublicResolver.d.ts +437 -0
  253. package/dist/config/abi/types/EnsRegistrar.d.ts +254 -0
  254. package/dist/config/abi/types/Erc20.d.ts +156 -0
  255. package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
  256. package/dist/config/abi/types/JungleChef.d.ts +245 -0
  257. package/dist/config/abi/types/LaunchBonds.d.ts +1306 -0
  258. package/dist/config/abi/types/LensContract.d.ts +276 -0
  259. package/dist/config/abi/types/LockVeAbond.d.ts +1173 -0
  260. package/dist/config/abi/types/MigrationBond.d.ts +1074 -0
  261. package/dist/config/abi/types/MigrationFveAbond.d.ts +284 -0
  262. package/dist/config/abi/types/MiniComplexRewarder.d.ts +423 -0
  263. package/dist/config/abi/types/Multicallv2.d.ts +139 -0
  264. package/dist/config/abi/types/Multicallv3.d.ts +98 -0
  265. package/dist/config/abi/types/NonFungibleApes.d.ts +492 -0
  266. package/dist/config/abi/types/NonFungibleBananas.d.ts +468 -0
  267. package/dist/config/abi/types/PriceGetter.d.ts +676 -0
  268. package/dist/config/abi/types/PriceGetterLinea.d.ts +756 -0
  269. package/dist/config/abi/types/PriceGetterV2.d.ts +692 -0
  270. package/dist/config/abi/types/SousChef.d.ts +542 -0
  271. package/dist/config/abi/types/Treasury.d.ts +274 -0
  272. package/dist/config/abi/types/Weth.d.ts +206 -0
  273. package/dist/config/abi/types/Zap.d.ts +484 -0
  274. package/dist/config/abi/types/common.d.ts +22 -0
  275. package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
  276. package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
  277. package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
  278. package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
  279. package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
  280. package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
  281. package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
  282. package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
  283. package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
  284. package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
  285. package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
  286. package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
  287. package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
  288. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
  289. package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
  290. package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
  291. package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
  292. package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
  293. package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
  294. package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
  295. package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
  296. package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
  297. package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
  298. package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
  299. package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
  300. package/dist/config/abi/types/factories/index.d.ts +25 -0
  301. package/dist/config/abi/types/index.d.ts +51 -0
  302. package/dist/config/constants/addresses.d.ts +10 -0
  303. package/dist/config/constants/chains.d.ts +7 -0
  304. package/dist/config/constants/networks.d.ts +2 -0
  305. package/dist/config/constants/queryKeys.d.ts +47 -0
  306. package/dist/config/constants/tokens.d.ts +5 -0
  307. package/dist/config/constants/tooltips.d.ts +17 -0
  308. package/dist/config/constants/variables.d.ts +6 -0
  309. package/dist/contexts/ModalContext.d.ts +14 -0
  310. package/dist/contexts/Popups.d.ts +5 -0
  311. package/dist/contexts/RefreshContext.d.ts +10 -0
  312. package/dist/contexts/SwiperProvider.d.ts +12 -0
  313. package/dist/hooks/useDebounce.d.ts +1 -0
  314. package/dist/hooks/useIsMobile.d.ts +1 -0
  315. package/dist/hooks/useModal.d.ts +3 -0
  316. package/dist/hooks/useMonitorTxHash.d.ts +25 -0
  317. package/dist/hooks/useRefresh.d.ts +6 -0
  318. package/dist/hooks/useSendReferenceId.d.ts +2 -0
  319. package/dist/hooks/useSortedZapList.d.ts +9 -0
  320. package/dist/hooks/useSwiper.d.ts +2 -0
  321. package/dist/hooks/useTimer.d.ts +2 -0
  322. package/dist/hooks/useTokenFromZapList.d.ts +3 -0
  323. package/dist/hooks/useTopTags.d.ts +2 -0
  324. package/dist/main.d.ts +10 -0
  325. package/dist/main.js +96120 -0
  326. package/dist/providers/index.d.ts +6 -0
  327. package/dist/state/abtesting/useABTesting.d.ts +11 -0
  328. package/dist/state/abtesting/useCookie.d.ts +9 -0
  329. package/dist/state/activeView/index.d.ts +9 -0
  330. package/dist/state/allowance/useAllowance.d.ts +15 -0
  331. package/dist/state/balance/useCurrencyBalance.d.ts +4 -0
  332. package/dist/state/balance/useUserTokensBalance.d.ts +10 -0
  333. package/dist/state/bondApiStats/useGetBondApiStats.d.ts +25 -0
  334. package/dist/state/bondApiStats/useUserApiStats.d.ts +22 -0
  335. package/dist/state/bonds/useBondNFTData.d.ts +5 -0
  336. package/dist/state/bonds/useBondsData.d.ts +9 -0
  337. package/dist/state/bonds/useBondsList.d.ts +4 -0
  338. package/dist/state/bonds/useGetBondRecommendations.d.ts +28 -0
  339. package/dist/state/bonds/useHotBonds.d.ts +6 -0
  340. package/dist/state/bonds/useTierProofSignature.d.ts +4 -0
  341. package/dist/state/bonds/useUserBonds.d.ts +6 -0
  342. package/dist/state/bonds/utils.d.ts +4 -0
  343. package/dist/state/chainFilterOption/useChainFilterOption.d.ts +4 -0
  344. package/dist/state/favoriteTokens/useFavoriteTokens.d.ts +4 -0
  345. package/dist/state/geoFencing/useGeoFencing.d.ts +5 -0
  346. package/dist/state/popups/usePopups.d.ts +14 -0
  347. package/dist/state/preTGEBonds/usePreTGEList.d.ts +4 -0
  348. package/dist/state/preTGEBonds/usePreTGEUserBonds.d.ts +26 -0
  349. package/dist/state/price/useCurrencyPrice.d.ts +3 -0
  350. package/dist/state/slippage/useSlippage.d.ts +1 -0
  351. package/dist/state/tiers/useTierPoints.d.ts +35 -0
  352. package/dist/state/tokenPrices/useTokenPrices.d.ts +11 -0
  353. package/dist/state/useSDKConfig.d.ts +35 -0
  354. package/dist/state/zap/getChainParam.d.ts +16 -0
  355. package/dist/state/zap/useSoulZapBondQuote.d.ts +4 -0
  356. package/dist/state/zap/useSoulZapTokenQuote.d.ts +3 -0
  357. package/dist/styles.css +1989 -0
  358. package/dist/theme/base.d.ts +112 -0
  359. package/dist/theme/colors.d.ts +20 -0
  360. package/dist/theme/components.d.ts +431 -0
  361. package/dist/theme/index.d.ts +2 -0
  362. package/dist/types/bonds.d.ts +30 -0
  363. package/dist/types/yourbonds.d.ts +81 -0
  364. package/dist/utils/convertToTokenValue.d.ts +4 -0
  365. package/dist/utils/dates/formatDate.d.ts +1 -0
  366. package/dist/utils/displayHelpers.d.ts +31 -0
  367. package/dist/utils/formatNumber.d.ts +3 -0
  368. package/dist/utils/formatNumbers.d.ts +33 -0
  369. package/dist/utils/getBalanceNumber.d.ts +2 -0
  370. package/dist/utils/getDotPos.d.ts +1 -0
  371. package/dist/utils/getNativeTicker.d.ts +2 -0
  372. package/dist/utils/getTimePeriods.d.ts +14 -0
  373. package/dist/utils/index.d.ts +1 -0
  374. package/dist/utils/localStorageHelpers.d.ts +3 -0
  375. package/dist/utils/multicall.d.ts +7 -0
  376. package/dist/utils/numbers.d.ts +5 -0
  377. package/dist/utils/remove0xPrefix.d.ts +1 -0
  378. package/dist/utils/reportError.d.ts +8 -0
  379. package/dist/utils/roundNumber.d.ts +7 -0
  380. package/dist/utils/track.d.ts +7 -0
  381. package/dist/views/Bonds/Bonds.d.ts +9 -0
  382. package/dist/views/Bonds/components/BannerTestnet/BannerTestnet.d.ts +6 -0
  383. package/dist/views/Bonds/components/BondRows/BondRow.d.ts +24 -0
  384. package/dist/views/Bonds/components/BondRows/BondRowsByChain.d.ts +9 -0
  385. package/dist/views/Bonds/components/BondRows/BondRowsWithTitle.d.ts +10 -0
  386. package/dist/views/Bonds/components/BondRows/ChainTitle.d.ts +8 -0
  387. package/dist/views/Bonds/components/BondRows/ModalHandler.d.ts +7 -0
  388. package/dist/views/Bonds/components/BondsMenu/BondsMenu.d.ts +13 -0
  389. package/dist/views/Bonds/components/BonusComponents/BonusComponent.d.ts +11 -0
  390. package/dist/views/Bonds/components/BonusComponents/BonusContainer.d.ts +11 -0
  391. package/dist/views/Bonds/components/BonusComponents/BonusTable.d.ts +9 -0
  392. package/dist/views/Bonds/components/BuyAgainRow/index.d.ts +3 -0
  393. package/dist/views/Bonds/components/CheckURL/index.d.ts +4 -0
  394. package/dist/views/Bonds/components/HotBondCards/HotBondCard.d.ts +6 -0
  395. package/dist/views/Bonds/components/HotBondCards/index.d.ts +4 -0
  396. package/dist/views/Bonds/components/HotBondCards/styles.d.ts +2 -0
  397. package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.d.ts +13 -0
  398. package/dist/views/Bonds/components/RecommendationCards/index.d.ts +11 -0
  399. package/dist/views/Bonds/components/RecommendationCards/styles.d.ts +2 -0
  400. package/dist/views/Bonds/index.d.ts +4 -0
  401. package/dist/views/Bonds/utils.d.ts +18 -0
  402. package/dist/views/BuyBond/BuyBond.d.ts +10 -0
  403. package/dist/views/BuyBond/BuyBondModal.d.ts +4 -0
  404. package/dist/views/BuyBond/components/BondCards.d.ts +6 -0
  405. package/dist/views/BuyBond/components/BondModalHeader.d.ts +8 -0
  406. package/dist/views/BuyBond/components/BondModalMinTierHeader.d.ts +5 -0
  407. package/dist/views/BuyBond/components/Estimations.d.ts +11 -0
  408. package/dist/views/BuyBond/components/ExpandedViewButton.d.ts +6 -0
  409. package/dist/views/BuyBond/components/GetUpToComponent/GetUpToComponent.d.ts +8 -0
  410. package/dist/views/BuyBond/components/NewRateModal/NewRateModal.d.ts +12 -0
  411. package/dist/views/BuyBond/components/NoBonusModal/NoBonusModal.d.ts +7 -0
  412. package/dist/views/BuyBond/components/ProjectDescription.d.ts +6 -0
  413. package/dist/views/BuyBond/findHighestTrueBondPrice.d.ts +15 -0
  414. package/dist/views/BuyBond/index.d.ts +7 -0
  415. package/dist/views/FullBondsView/FullBondsView.d.ts +7 -0
  416. package/dist/views/FullBondsView/index.d.ts +4 -0
  417. package/dist/views/GooSale/GooSale.d.ts +7 -0
  418. package/dist/views/GooSale/bondsList.d.ts +554 -0
  419. package/dist/views/GooSale/components/BannerTestnet/BannerTestnet.d.ts +6 -0
  420. package/dist/views/GooSale/components/BondFilters/BondFilters.d.ts +7 -0
  421. package/dist/views/GooSale/components/BondRows/BondRow.d.ts +16 -0
  422. package/dist/views/GooSale/components/BondRows/BondRowsByChain.d.ts +7 -0
  423. package/dist/views/GooSale/components/BondRows/BondRowsWithTitle.d.ts +8 -0
  424. package/dist/views/GooSale/components/BondRows/ChainTitle.d.ts +7 -0
  425. package/dist/views/GooSale/components/BondRows/ModalHandler.d.ts +7 -0
  426. package/dist/views/GooSale/components/BondsMenu/BondsMenu.d.ts +12 -0
  427. package/dist/views/GooSale/components/BonusComponents/BonusComponent.d.ts +11 -0
  428. package/dist/views/GooSale/components/BonusComponents/BonusContainer.d.ts +11 -0
  429. package/dist/views/GooSale/components/BonusComponents/BonusTable.d.ts +9 -0
  430. package/dist/views/GooSale/components/BuyBond/BuyBond.d.ts +19 -0
  431. package/dist/views/GooSale/components/BuyBond/BuyBondModal.d.ts +4 -0
  432. package/dist/views/GooSale/components/BuyBond/components/BondCards.d.ts +9 -0
  433. package/dist/views/GooSale/components/BuyBond/components/BondModalHeader.d.ts +9 -0
  434. package/dist/views/GooSale/components/BuyBond/components/BondModalMinTierHeader.d.ts +5 -0
  435. package/dist/views/GooSale/components/BuyBond/components/Estimations.d.ts +13 -0
  436. package/dist/views/GooSale/components/BuyBond/components/ExpandedViewButton.d.ts +6 -0
  437. package/dist/views/GooSale/components/BuyBond/components/GetUpToComponent/GetUpToComponent.d.ts +8 -0
  438. package/dist/views/GooSale/components/BuyBond/components/NewRateModal/NewRateModal.d.ts +12 -0
  439. package/dist/views/GooSale/components/BuyBond/components/NoBonusModal/NoBonusModal.d.ts +7 -0
  440. package/dist/views/GooSale/components/BuyBond/components/ProjectDescription.d.ts +6 -0
  441. package/dist/views/GooSale/components/BuyBond/findHighestTrueBondPrice.d.ts +15 -0
  442. package/dist/views/GooSale/components/BuyBond/index.d.ts +7 -0
  443. package/dist/views/GooSale/components/CheckURL/index.d.ts +4 -0
  444. package/dist/views/GooSale/components/HotBondCards/HotBondCard.d.ts +6 -0
  445. package/dist/views/GooSale/components/HotBondCards/index.d.ts +4 -0
  446. package/dist/views/GooSale/components/HotBondCards/styles.d.ts +2 -0
  447. package/dist/views/GooSale/components/NetworkFilter/index.d.ts +5 -0
  448. package/dist/views/GooSale/components/ProgressBar/ProgressBar.d.ts +7 -0
  449. package/dist/views/GooSale/components/ProgressBar/styles.d.ts +2 -0
  450. package/dist/views/GooSale/components/RecommendationCards/SmallRecommendationCard.d.ts +13 -0
  451. package/dist/views/GooSale/components/RecommendationCards/index.d.ts +11 -0
  452. package/dist/views/GooSale/components/RecommendationCards/styles.d.ts +2 -0
  453. package/dist/views/GooSale/components/TokenInfoAndName/index.d.ts +9 -0
  454. package/dist/views/GooSale/components/Tooltip/ButtonsRow.d.ts +7 -0
  455. package/dist/views/GooSale/components/Tooltip/Tooltip.d.ts +12 -0
  456. package/dist/views/GooSale/components/Tooltip/styles.d.ts +2 -0
  457. package/dist/views/GooSale/components/TransactionModal/TransactionModal.d.ts +19 -0
  458. package/dist/views/GooSale/components/YourGoo/YourGoo.d.ts +1 -0
  459. package/dist/views/GooSale/hooks/preTGEGooBonds/usePreTGEList.d.ts +4 -0
  460. package/dist/views/GooSale/hooks/preTGEGooBonds/usePreTGEUserBonds.d.ts +30 -0
  461. package/dist/views/GooSale/hooks/useGooEligibility.d.ts +7 -0
  462. package/dist/views/GooSale/hooks/useSaleInfo.d.ts +41 -0
  463. package/dist/views/GooSale/hooks/useUserInfo.d.ts +12 -0
  464. package/dist/views/GooSale/hooks/useYourGoo.d.ts +19 -0
  465. package/dist/views/GooSale/index.d.ts +4 -0
  466. package/dist/views/GooSale/utils.d.ts +31 -0
  467. package/dist/views/PreTGEBonds/components/BuyComponent/BondCards.d.ts +6 -0
  468. package/dist/views/PreTGEBonds/components/BuyComponent/ParticipationSuccessful.d.ts +8 -0
  469. package/dist/views/PreTGEBonds/components/BuyComponent/PreTGEBuyComponent.d.ts +8 -0
  470. package/dist/views/PreTGEBonds/components/BuyComponent/PreTGEModalHandler.d.ts +7 -0
  471. package/dist/views/PreTGEBonds/components/BuyComponent/styles.d.ts +22 -0
  472. package/dist/views/PreTGEBonds/components/PreTGEUserRows/PreTGEActions.d.ts +6 -0
  473. package/dist/views/PreTGEBonds/components/PreTGEUserRows/PreTGEUserRow.d.ts +7 -0
  474. package/dist/views/ProjectView/ProjectView.d.ts +13 -0
  475. package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.d.ts +6 -0
  476. package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.d.ts +7 -0
  477. package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.d.ts +6 -0
  478. package/dist/views/ProjectView/components/BondLeaderboard/components/styles.d.ts +2 -0
  479. package/dist/views/ProjectView/components/BondLeaderboard/index.d.ts +6 -0
  480. package/dist/views/ProjectView/components/BondStats/index.d.ts +6 -0
  481. package/dist/views/ProjectView/components/BondStats/styles.d.ts +2 -0
  482. package/dist/views/ProjectView/components/BondStats/types.d.ts +43 -0
  483. package/dist/views/ProjectView/components/BondStats/utils.d.ts +1 -0
  484. package/dist/views/ProjectView/components/NavPanel/index.d.ts +5 -0
  485. package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.d.ts +9 -0
  486. package/dist/views/ProjectView/components/PriceChart/components/LineChart.d.ts +9 -0
  487. package/dist/views/ProjectView/components/PriceChart/components/utils.d.ts +1 -0
  488. package/dist/views/ProjectView/components/PriceChart/index.d.ts +8 -0
  489. package/dist/views/ProjectView/components/PriceChart/styles.d.ts +2 -0
  490. package/dist/views/ProjectView/components/ProjectInfo/index.d.ts +6 -0
  491. package/dist/views/ProjectView/components/ProjectInfo/styles.d.ts +2 -0
  492. package/dist/views/ProjectView/components/RecommendationCards/index.d.ts +3 -0
  493. package/dist/views/ProjectView/index.d.ts +7 -0
  494. package/dist/views/ProjectView/styles.d.ts +2 -0
  495. package/dist/views/SingleBond/SingleBond.d.ts +6 -0
  496. package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.d.ts +8 -0
  497. package/dist/views/SingleBond/index.d.ts +7 -0
  498. package/dist/views/TransactionModal/TransactionModal.d.ts +19 -0
  499. package/dist/views/YourBonds/YourBonds.d.ts +7 -0
  500. package/dist/views/YourBonds/components/ClaimAll/ClaimAllModal.d.ts +3 -0
  501. package/dist/views/YourBonds/components/ClaimAll/index.d.ts +3 -0
  502. package/dist/views/YourBonds/components/UserBondRow/index.d.ts +6 -0
  503. package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.d.ts +12 -0
  504. package/dist/views/YourBonds/fetchBillsUser.d.ts +5 -0
  505. package/dist/views/YourBonds/getBillNftData.d.ts +9 -0
  506. package/dist/views/YourBonds/index.d.ts +4 -0
  507. package/dist/views/YourBondsModal/YourBondsModal.d.ts +7 -0
  508. package/dist/views/YourBondsModal/components/LinkShare/LinkShare.d.ts +7 -0
  509. package/dist/views/YourBondsModal/components/LinkShare/styles.d.ts +2 -0
  510. package/dist/views/YourBondsModal/components/LinkShare/templateImageShare.d.ts +2 -0
  511. package/dist/views/YourBondsModal/components/LinkShare/utils.d.ts +2 -0
  512. package/dist/views/YourBondsModal/components/Recommendations/CardRecommendation.d.ts +7 -0
  513. package/dist/views/YourBondsModal/components/Recommendations/CardRecommendationsMobile.d.ts +6 -0
  514. package/dist/views/YourBondsModal/components/Recommendations/Recommendations.d.ts +6 -0
  515. package/dist/views/YourBondsModal/components/TransferBondModal/TransferAction.d.ts +8 -0
  516. package/dist/views/YourBondsModal/components/TransferBondModal/index.d.ts +8 -0
  517. package/dist/views/ZapModal/index.d.ts +13 -0
  518. package/dist/views/ZapModal/styles.d.ts +2 -0
  519. package/package.json +100 -0
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const Providers: ({ children, theme }: {
3
+ children: React.ReactNode;
4
+ theme: any;
5
+ }) => React.JSX.Element;
6
+ export default Providers;
@@ -0,0 +1,11 @@
1
+ export declare enum ABTestKeys {
2
+ BOND_DESCRIPTION = "bondDescription",
3
+ BOND_BUY_BUTTON = "bondBuyButton",
4
+ BOND_BUY_ARR = "bondBuyArr"
5
+ }
6
+ export default function useABTesting({ key, defaultValue, }: {
7
+ key: ABTestKeys;
8
+ defaultValue?: string;
9
+ }): {
10
+ abTestValue: string;
11
+ };
@@ -0,0 +1,9 @@
1
+ interface UseCookieOptions {
2
+ expires?: number;
3
+ }
4
+ declare function useCookie<T>(key: string, defaultValue: T): {
5
+ cookie: T;
6
+ updateCookie: (value: T, options?: UseCookieOptions) => void;
7
+ removeCookie: () => void;
8
+ };
9
+ export default useCookie;
@@ -0,0 +1,9 @@
1
+ export declare enum BondsViewOptions {
2
+ BONDSMARKET = "Bonds Market",
3
+ YOURBONDS = "Your Bonds"
4
+ }
5
+ declare const useActiveView: (isGooSale?: boolean) => {
6
+ activeView: BondsViewOptions;
7
+ handleToogle: (newView: string) => void;
8
+ };
9
+ export default useActiveView;
@@ -0,0 +1,15 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { ChainId, Token } from '@ape.swap/apeswap-lists';
3
+ /**
4
+ * useAllowance hook: fetches the amount approved by the user for a given token
5
+ * useApproval hook: returns the approval state (not approved, pending or approved) and a function to approve on chain
6
+ * getTokenAllowance function fetches the allowance on chain
7
+ */
8
+ export declare enum ApprovalState {
9
+ NOT_APPROVED = "NOT_APPROVED",
10
+ PENDING = "PENDING",
11
+ APPROVED = "APPROVED"
12
+ }
13
+ export default function useAllowance(currency: 'NATIVE' | Token | null, spender: string | null, account: string | null, chainId: ChainId | null): UseQueryResult<number | null>;
14
+ export declare const getTokenAllowance: (currency: "NATIVE" | Token | null, spender: string | null, account: string | null, chainId: ChainId | null) => Promise<number | null>;
15
+ export declare const useApproval: (amount: string, currency: "NATIVE" | Token | null, spender: string | null, account: string | null, chainId: ChainId | null) => [ApprovalState, () => Promise<string | null | undefined>];
@@ -0,0 +1,4 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { ChainId, Token } from '@ape.swap/apeswap-lists';
3
+ export default function useCurrencyBalance(currency: 'NATIVE' | Token | null, account: string | null, chainId: ChainId | null): UseQueryResult<string | null>;
4
+ export declare const getTokenBalance: (currency: "NATIVE" | Token | null, account: string | null, chainId: ChainId | null) => Promise<string | null>;
@@ -0,0 +1,10 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { Token } from '@ape.swap/apeswap-lists';
3
+ export default function useUserTokensBalance(tokens: ('NATIVE' | Token)[], chainId: number): UseQueryResult<{
4
+ address: string;
5
+ balance: string;
6
+ }[]>;
7
+ export declare const getTokensBalance: (account: string, tokens: ("NATIVE" | Token)[], chainId: number, apiUrl?: string) => Promise<{
8
+ address: string;
9
+ balance: string;
10
+ }[]>;
@@ -0,0 +1,25 @@
1
+ export interface Sales {
2
+ billNftId: number;
3
+ chainId: number;
4
+ contractAddress: string;
5
+ createdAddressOwner: string;
6
+ createdAt: number;
7
+ deposit: number;
8
+ dollarValue: number;
9
+ lp: string;
10
+ payout: number;
11
+ payoutToken: string;
12
+ payoutTokenPrice: number;
13
+ referenceId: string;
14
+ transactionHash: string;
15
+ vestingTime: number;
16
+ }
17
+ export interface BondApiStats {
18
+ ROE: string;
19
+ percentageSold: number;
20
+ totalDollarValue: number;
21
+ valueRemaining: number;
22
+ Sales: Sales[];
23
+ }
24
+ export declare const getBondApiStats: (contractAddress?: string) => Promise<BondApiStats>;
25
+ export default function useGetBondApiStats(contractAddress?: string): import("@tanstack/react-query").UseQueryResult<BondApiStats, Error>;
@@ -0,0 +1,22 @@
1
+ export interface Sales {
2
+ billNftId: number;
3
+ chainId: number;
4
+ contractAddress: string;
5
+ createdAddressOwner: string;
6
+ createdAt: number;
7
+ deposit: number;
8
+ dollarValue: number;
9
+ lp: string;
10
+ payout: number;
11
+ payoutToken: string;
12
+ payoutTokenPrice: number;
13
+ referenceId: string;
14
+ transactionHash: string;
15
+ vestingTime: number;
16
+ }
17
+ export interface UserApiStats {
18
+ totalDollarValue: number;
19
+ Sales: Sales[];
20
+ }
21
+ export declare const getUserApiStats: (account?: string) => Promise<UserApiStats | null>;
22
+ export default function useUserApiStats(): import("@tanstack/react-query").UseQueryResult<UserApiStats | null, Error>;
@@ -0,0 +1,5 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { ChainId } from '@ape.swap/apeswap-lists';
3
+ import { UserBillNftData } from '../../types/yourbonds';
4
+ export default function useBondNFTData(id?: string, billNftAddress?: string, chainId?: ChainId): UseQueryResult<UserBillNftData | null>;
5
+ export declare const getBondNFTData: (apiV2URL: string, id: string, billNftAddress: string, chainId: ChainId) => Promise<UserBillNftData | null>;
@@ -0,0 +1,9 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { BondsData } from '../../types/bonds';
3
+ import { TokenPrices } from '../tokenPrices/useTokenPrices';
4
+ import { BillsConfig, PreTGEConfig } from '@ape.swap/apeswap-lists';
5
+ import BigNumber from 'bignumber.js';
6
+ export default function useBondsData(): UseQueryResult<BondsData[]>;
7
+ export declare const getBondsData: (chains: number[], tokenPrices?: TokenPrices[], bondList?: BillsConfig[], preTGEList?: PreTGEConfig[], realTimeApiURL?: string, apiUrl?: string) => Promise<BondsData[]>;
8
+ export declare const getBonusWithFee: (feeInPayout: number, trueBillPrice: BigNumber, lpPrice: number, earnTokenPrice: number) => number;
9
+ export declare const getRawBonus: (trueBillPrice: any, lpPrice: number, earnTokenPrice: number) => number;
@@ -0,0 +1,4 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { BillsConfig } from '@ape.swap/apeswap-lists';
3
+ export default function useBondsList(): UseQueryResult<BillsConfig[]>;
4
+ export declare const getBondsList: (realTimeapiURL: string, apiUrl: string) => Promise<BillsConfig[]>;
@@ -0,0 +1,28 @@
1
+ export interface BondRecommendation {
2
+ chainId: number;
3
+ type: string;
4
+ principalToken: string;
5
+ principalTokenName: string;
6
+ payoutToken: string;
7
+ payoutTokenName: string;
8
+ billAddress: string;
9
+ discount: number;
10
+ bonus: number;
11
+ link: string;
12
+ billNftAddress: string;
13
+ initTime: number;
14
+ soldOut: boolean;
15
+ inactive: boolean;
16
+ maxTotalPayout: number;
17
+ totalPayoutGiven: number;
18
+ tokensRemaining: number;
19
+ showcaseToken: string;
20
+ showcaseTokenName: string;
21
+ vestingTerm: number;
22
+ earnTokenPrice: number;
23
+ priceUsd: number;
24
+ tags: string[];
25
+ arr: number;
26
+ }
27
+ export declare const getBondRecommendations: (apiV2URL: string, user?: string, contract?: string, limit?: string, chains?: number[]) => Promise<BondRecommendation[]>;
28
+ export default function useGetBondRecommendations(user?: string, contract?: string, limit?: string): import("@tanstack/react-query").UseQueryResult<BondRecommendation[], Error>;
@@ -0,0 +1,6 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { BondsData } from '../../types/bonds';
3
+ export declare function useHotBondContracts(): UseQueryResult<string[], Error>;
4
+ export default function useHotBonds(): UseQueryResult<BondsData[]>;
5
+ export declare const getHotBondsContracts: (apiUrl: string) => Promise<string[]>;
6
+ export declare const getHotBonds: (bondData: BondsData[], hotBondContracts: string[]) => Promise<BondsData[]>;
@@ -0,0 +1,4 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { ChainId } from '@ape.swap/apeswap-lists';
3
+ export default function useTierProofSignature(bondAddress?: string, chainId?: ChainId, isUserRestricted?: boolean): UseQueryResult<string | null>;
4
+ export declare const getTierProofSig: (apiAddress: string, account: string, bondAddress: string, chainId: ChainId) => Promise<string | null>;
@@ -0,0 +1,6 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { BillsConfig } from '@ape.swap/apeswap-lists';
3
+ import { UserBill } from '../../types/yourbonds';
4
+ import { TokenPrices } from '../tokenPrices/useTokenPrices';
5
+ export default function useUserBonds(): UseQueryResult<UserBill[]>;
6
+ export declare const getUserBonds: (account: string, bondList: BillsConfig[], chains: number[], tokenPrices: TokenPrices[], apiUrl?: string) => Promise<UserBill[]>;
@@ -0,0 +1,4 @@
1
+ import { BondsData } from '../../types/bonds';
2
+ import { PreTGEConfig } from '@ape.swap/apeswap-lists';
3
+ import { TokenPrices } from '../tokenPrices/useTokenPrices';
4
+ export declare const getPreTGEBondsData: (chain: number, tokenPrices: TokenPrices[], preTGEBonds: PreTGEConfig[], apiUrl?: string) => Promise<BondsData[]>;
@@ -0,0 +1,4 @@
1
+ export default function useChainFilterOption(): {
2
+ data: string[];
3
+ setChainFilterOption: (newValue: string[]) => void;
4
+ };
@@ -0,0 +1,4 @@
1
+ export default function useFavoriteTokens(): {
2
+ favTokens: string[];
3
+ addFavToken: (newValue: string) => void;
4
+ };
@@ -0,0 +1,5 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ export default function useGeoFencing(): UseQueryResult<{
3
+ isRestrictedRegion: boolean;
4
+ countryCode: string;
5
+ }>;
@@ -0,0 +1,14 @@
1
+ import { ChainId } from '@ape.swap/apeswap-lists';
2
+ export interface PopupProps {
3
+ timestamp: number;
4
+ variant: 'success' | 'error';
5
+ title: string;
6
+ description?: string;
7
+ url?: string;
8
+ }
9
+ export declare const usePopups: () => {
10
+ data: PopupProps[];
11
+ addToastError: (errorMessage: string, txHash?: string, chainId?: ChainId) => void;
12
+ addToastSuccess: (txHash?: string, chainId?: ChainId) => void;
13
+ removePopup: (popupToRemove: PopupProps) => void;
14
+ };
@@ -0,0 +1,4 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { PreTGEConfig } from '@ape.swap/apeswap-lists';
3
+ export default function usePreTGEList(): UseQueryResult<PreTGEConfig[]>;
4
+ export declare const getPreTGEList: (apiRealTimeURL: string, apiUrl: string) => Promise<PreTGEConfig[]>;
@@ -0,0 +1,26 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { PreTGEConfig } from '@ape.swap/apeswap-lists';
3
+ import { UserBill } from '../../types/yourbonds';
4
+ import { TokenPrices } from '../tokenPrices/useTokenPrices';
5
+ export interface AccountInfo {
6
+ hasRedeemed: boolean;
7
+ hasRefunded?: boolean;
8
+ payout: string;
9
+ depositAmount: string;
10
+ payoutClaimed: string;
11
+ vesting: string;
12
+ vestingTerm: string;
13
+ vestingStartTimestamp: string;
14
+ lastClaimTimestamp: string;
15
+ truePricePaid: string;
16
+ }
17
+ export interface PreTGEUserBonds extends PreTGEConfig {
18
+ accountInfo?: AccountInfo;
19
+ userOwnedBillsData?: UserBill;
20
+ finalized?: boolean;
21
+ initPrice?: number;
22
+ initialRelease?: number;
23
+ earnTokenPrice?: number;
24
+ }
25
+ export default function usePreTGEUserBonds(): UseQueryResult<PreTGEUserBonds[]>;
26
+ export declare const fetchPreTGEUserBonds: (chains: number[], tokenPrices: TokenPrices[], preTGEList: PreTGEConfig[], account: string, apiUrl: string) => Promise<PreTGEUserBonds[]>;
@@ -0,0 +1,3 @@
1
+ import { ChainId } from '@ape.swap/apeswap-lists';
2
+ import { Token } from '@ape.swap/apeswap-lists';
3
+ export default function useCurrencyPrice(currency: 'NATIVE' | Token | null | undefined, chainId: ChainId | null | undefined): import("../tokenPrices/useTokenPrices").TokenPrices | undefined;
@@ -0,0 +1 @@
1
+ export declare const useSlippage: () => [number, (newValue: number) => void];
@@ -0,0 +1,35 @@
1
+ import { LaunchBondTiers } from '@ape.swap/apeswap-lists';
2
+ /**
3
+ * @deprecated This map is deprecated. Boost values are now being retrieved from the Realtime API.
4
+ */
5
+ export declare const boostMap: {
6
+ 0: string;
7
+ 1: string;
8
+ 2: string;
9
+ 3: string;
10
+ 4: string;
11
+ };
12
+ export declare const TIERS_COLORS: {
13
+ 0: string;
14
+ 1: string;
15
+ 2: string;
16
+ 3: string;
17
+ 4: string;
18
+ };
19
+ export declare const TIERS_WEIGHT: {
20
+ 0: string;
21
+ 1: string;
22
+ 2: string;
23
+ 3: string;
24
+ 4: string;
25
+ };
26
+ export declare const TIERS_NAMES: {
27
+ 0: string;
28
+ 1: string;
29
+ 2: string;
30
+ 3: string;
31
+ 4: string;
32
+ };
33
+ export declare const getUserTier: (weight?: string | null) => LaunchBondTiers | null;
34
+ export declare const fetchUserPoints: (account?: string, useTiers?: boolean, apiUrl?: string) => Promise<string | null>;
35
+ export default function useTierPoints(): import("@tanstack/react-query").UseQueryResult<string | null, Error>;
@@ -0,0 +1,11 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { ChainId, Token } from '@ape.swap/apeswap-lists';
3
+ export interface TokenPrices {
4
+ symbol: string | undefined;
5
+ address: string | undefined;
6
+ price: number | undefined;
7
+ chainId: ChainId | undefined;
8
+ }
9
+ export default function useTokenPrices(): UseQueryResult<TokenPrices[]>;
10
+ export declare const getTokenPrices: (realTimeApiURL: string, chains: number[], apiUrl?: string) => Promise<TokenPrices[]>;
11
+ export declare function getTokenPricesV3FromPriceGetter(tokensToCall: Record<string, Token>, chain: ChainId): Promise<any>;
@@ -0,0 +1,35 @@
1
+ export interface SDKPropsDTO {
2
+ referenceId: string;
3
+ chains: number[];
4
+ hotBondChains?: number[];
5
+ useRainbowKit?: boolean;
6
+ useHotBonds?: boolean;
7
+ useTiers?: boolean;
8
+ useTGEBonds?: boolean;
9
+ showLowValueBonds?: boolean;
10
+ bondPartner?: string;
11
+ namingPreference?: 'Discount' | 'Bonus';
12
+ urls?: Partial<Record<URLKeys, string>>;
13
+ theme?: any;
14
+ highestCompatibleVersion?: string;
15
+ isFakeBTC?: boolean;
16
+ }
17
+ export interface SDKProps {
18
+ referenceId: string;
19
+ chains: number[];
20
+ hotBondChains: number[];
21
+ useRainbowKit: boolean;
22
+ useHotBonds: boolean;
23
+ useTiers: boolean;
24
+ useTGEBonds: boolean;
25
+ showLowValueBonds: boolean;
26
+ bondPartner?: string;
27
+ namingPreference: 'Discount' | 'Bonus';
28
+ urls: Record<URLKeys, string>;
29
+ theme?: any;
30
+ highestCompatibleVersion?: string;
31
+ isFakeBTC?: boolean;
32
+ }
33
+ export declare const useSDKConfig: (config?: SDKPropsDTO) => SDKProps;
34
+ export type URLKeys = 'apiV2' | 'realTimeApi' | 'mainUrl';
35
+ export declare const useURLByEnvironment: (key: URLKeys) => string;
@@ -0,0 +1,16 @@
1
+ import { ChainId, Protocols } from '@ape.swap/apeswap-lists';
2
+ declare enum NetworkNames {
3
+ MAINNET = "eth",
4
+ BNB = "bnb",
5
+ POLYGON = "pol",
6
+ ARBITRUM = "arb",
7
+ LINEA = "lna",
8
+ BASE = "bas",
9
+ AVAX = "ava",
10
+ BLAST = "bls",
11
+ SONIC = "son",
12
+ BERACHAIN = "ber"
13
+ }
14
+ export declare const getChainParam: (chain?: ChainId) => NetworkNames | null;
15
+ export declare const getLpType: (protocol?: Protocols) => "ichi" | "solidly" | "univ2" | "curve" | null;
16
+ export {};
@@ -0,0 +1,4 @@
1
+ import { Token } from '@ape.swap/apeswap-lists';
2
+ import { BondsData } from '../../types/bonds';
3
+ declare const useSoulZapBondQuote: (typedValue: string, inputCurrency: "NATIVE" | Token | undefined, bond: BondsData | undefined, account?: string, tierProofSig?: string) => [loading: boolean, response: any, depositAmount: string, error: boolean, trueBondPrice: string | undefined];
4
+ export default useSoulZapBondQuote;
@@ -0,0 +1,3 @@
1
+ import { ChainId, Token } from '@ape.swap/apeswap-lists';
2
+ declare const useSoulZapTokenQuote: (typedValue: string, inputCurrency: "NATIVE" | Token | undefined, outputToken: Token | undefined, chainId: ChainId, account?: string) => [loading: boolean, response: any, estimateOutput: number, error: boolean];
3
+ export default useSoulZapTokenQuote;