@ape.swap/bonds-sdk 1.0.779 → 1.1.0-seedify

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/dist/components/AccordionText/index.d.ts +9 -0
  2. package/dist/components/BondRows/BondRow.d.ts +3 -2
  3. package/dist/components/BondRows/BondRowHeader.d.ts +2 -3
  4. package/dist/components/BondRows/BondRowsByChain.d.ts +3 -3
  5. package/dist/components/BondRows/BondRowsWithTitle.d.ts +3 -3
  6. package/dist/components/DisconnectedPlaceholder/index.d.ts +3 -0
  7. package/dist/components/SlippageModal/index.d.ts +3 -0
  8. package/dist/components/TokenInfoAndName/index.d.ts +3 -2
  9. package/dist/components/TokenSelectorModal/TokenRow.d.ts +8 -0
  10. package/dist/components/TokenSelectorModal/index.d.ts +11 -0
  11. package/dist/components/TokenSelectorPanel/index.d.ts +15 -0
  12. package/dist/components/uikit-sdk/Modal/index.d.ts +1 -1
  13. package/dist/components/uikit-sdk/Toggle/index.d.ts +8 -0
  14. package/dist/components/uikit-sdk/Toggle/styles.d.ts +3 -0
  15. package/dist/components/uikit-sdk/TokenImage/index.d.ts +3 -2
  16. package/dist/components/uikit-sdk/index.d.ts +1 -0
  17. package/dist/config/abi/types/Banana.d.ts +103 -126
  18. package/dist/config/abi/types/Bond.d.ts +176 -221
  19. package/dist/config/abi/types/BondNft.d.ts +160 -207
  20. package/dist/config/abi/types/EnsPublicResolver.d.ts +129 -205
  21. package/dist/config/abi/types/EnsRegistrar.d.ts +62 -82
  22. package/dist/config/abi/types/Erc20.d.ts +40 -52
  23. package/dist/config/abi/types/Erc20_bytes32.d.ts +11 -11
  24. package/dist/config/abi/types/JungleChef.d.ts +64 -79
  25. package/dist/config/abi/types/LaunchBonds.d.ts +299 -355
  26. package/dist/config/abi/types/LensContract.d.ts +58 -77
  27. package/dist/config/abi/types/LockVeAbond.d.ts +328 -434
  28. package/dist/config/abi/types/MigrationBond.d.ts +268 -330
  29. package/dist/config/abi/types/MigrationFveAbond.d.ts +83 -89
  30. package/dist/config/abi/types/MiniComplexRewarder.d.ts +99 -145
  31. package/dist/config/abi/types/Multicallv2.d.ts +35 -46
  32. package/dist/config/abi/types/Multicallv3.d.ts +14 -14
  33. package/dist/config/abi/types/NonFungibleApes.d.ts +130 -170
  34. package/dist/config/abi/types/NonFungibleBananas.d.ts +135 -172
  35. package/dist/config/abi/types/PriceGetter.d.ts +218 -255
  36. package/dist/config/abi/types/PriceGetterLinea.d.ts +254 -287
  37. package/dist/config/abi/types/PriceGetterV2.d.ts +239 -276
  38. package/dist/config/abi/types/SousChef.d.ts +140 -177
  39. package/dist/config/abi/types/Treasury.d.ts +66 -69
  40. package/dist/config/abi/types/Weth.d.ts +53 -68
  41. package/dist/config/abi/types/Zap.d.ts +97 -141
  42. package/dist/config/abi/types/common.d.ts +3 -3
  43. package/dist/config/abi/types/factories/Banana__factory.d.ts +3 -3
  44. package/dist/config/abi/types/factories/BondNft__factory.d.ts +3 -3
  45. package/dist/config/abi/types/factories/Bond__factory.d.ts +3 -3
  46. package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +3 -3
  47. package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +3 -3
  48. package/dist/config/abi/types/factories/Erc20__factory.d.ts +3 -3
  49. package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +3 -3
  50. package/dist/config/abi/types/factories/JungleChef__factory.d.ts +3 -3
  51. package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +3 -3
  52. package/dist/config/abi/types/factories/LensContract__factory.d.ts +3 -3
  53. package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +3 -3
  54. package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +3 -3
  55. package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +3 -3
  56. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +3 -3
  57. package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +3 -3
  58. package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +3 -3
  59. package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +3 -3
  60. package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +3 -3
  61. package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +3 -3
  62. package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +3 -3
  63. package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +3 -3
  64. package/dist/config/abi/types/factories/SousChef__factory.d.ts +3 -3
  65. package/dist/config/abi/types/factories/Treasury__factory.d.ts +3 -3
  66. package/dist/config/abi/types/factories/Weth__factory.d.ts +3 -3
  67. package/dist/config/abi/types/factories/Zap__factory.d.ts +3 -3
  68. package/dist/config/abi/types/factories/index.d.ts +25 -25
  69. package/dist/config/abi/types/index.d.ts +51 -51
  70. package/dist/config/constants/addresses.d.ts +0 -8
  71. package/dist/config/constants/queryKeys.d.ts +10 -2
  72. package/dist/config/constants/tokens.d.ts +3 -6
  73. package/dist/config/constants/zapInputTokens.d.ts +2 -0
  74. package/dist/hooks/useTokenFromZapList.d.ts +3 -0
  75. package/dist/hooks/useTopThreeTags.d.ts +2 -2
  76. package/dist/main.d.ts +7 -0
  77. package/dist/main.js +73492 -0
  78. package/dist/providers/index.d.ts +0 -3
  79. package/dist/scss/AccordionText.scss +11 -0
  80. package/dist/scss/BondMenu.scss +2 -2
  81. package/dist/scss/BondModal.scss +305 -234
  82. package/dist/scss/BondRow.scss +5 -5
  83. package/dist/scss/BondRowHeader.scss +7 -7
  84. package/dist/scss/Bonds.scss +2 -1
  85. package/dist/scss/TokenInfoName.scss +60 -0
  86. package/dist/scss/YourBonds.scss +19 -14
  87. package/dist/scss/YourBondsModal.scss +3 -3
  88. package/dist/scss/index.scss +12 -0
  89. package/dist/state/allowance/useAllowance.d.ts +15 -0
  90. package/dist/state/balance/useCurrencyBalance.d.ts +4 -0
  91. package/dist/state/bonds/useBondNFTData.d.ts +5 -0
  92. package/dist/state/bonds/useBondsData.d.ts +4 -0
  93. package/dist/state/bonds/useBondsList.d.ts +4 -0
  94. package/dist/state/bonds/useHotBonds.d.ts +3 -0
  95. package/dist/state/bonds/useUserBonds.d.ts +5 -0
  96. package/dist/state/price/useCurrencyPrice.d.ts +3 -0
  97. package/dist/state/slippage/useSlippage.d.ts +1 -0
  98. package/dist/state/tokenPrices/useTokenPrices.d.ts +29 -0
  99. package/dist/state/zap/getChainParam.d.ts +12 -0
  100. package/dist/state/zap/useSoulZapBondQuote.d.ts +4 -0
  101. package/dist/state/zap/useSoulZapTokenQuote.d.ts +3 -0
  102. package/dist/types/bonds.d.ts +4 -41
  103. package/dist/types/yourbonds.d.ts +54 -69
  104. package/dist/utils/displayHelpers.d.ts +13 -0
  105. package/dist/utils/getNativeTicker.d.ts +3 -0
  106. package/dist/utils/index.d.ts +1 -1
  107. package/dist/views/BondModal/BondModal.d.ts +7 -6
  108. package/dist/views/BondModal/helper.d.ts +6 -6
  109. package/dist/views/BondModal/index.d.ts +2 -2
  110. package/dist/views/Bonds/Bonds.d.ts +7 -10
  111. package/dist/views/Bonds/components/CheckURL/index.d.ts +4 -0
  112. package/dist/views/Bonds/index.d.ts +4 -0
  113. package/dist/views/Bonds/utils.d.ts +14 -0
  114. package/dist/views/FullBondsView/FullBondsView.d.ts +7 -0
  115. package/dist/views/FullBondsView/index.d.ts +3 -0
  116. package/dist/views/YourBonds/YourBonds.d.ts +1 -11
  117. package/dist/views/YourBonds/components/UserBondRow/index.d.ts +6 -0
  118. package/dist/views/YourBonds/fetchBillsUser.d.ts +4 -5
  119. package/dist/views/YourBonds/index.d.ts +3 -0
  120. package/dist/views/YourBondsModal/YourBondsModal.d.ts +4 -5
  121. package/dist/views/ZapModal/index.d.ts +14 -0
  122. package/dist/views/ZapModal/styles.d.ts +2 -0
  123. package/package.json +24 -24
  124. package/dist/components/BondMenu/BondMenu.js +0 -40
  125. package/dist/components/BondMenu/useChainFilterOption.js +0 -30
  126. package/dist/components/BondRows/BondRow.js +0 -81
  127. package/dist/components/BondRows/BondRowHeader.js +0 -12
  128. package/dist/components/BondRows/BondRowsByChain.js +0 -13
  129. package/dist/components/BondRows/BondRowsWithTitle.js +0 -20
  130. package/dist/components/BondRows/ChainTitle.js +0 -18
  131. package/dist/components/MenuSelect/MenuSelect.js +0 -36
  132. package/dist/components/MenuSelect/RecommendationSelector.js +0 -32
  133. package/dist/components/MenuSelect/types.js +0 -1
  134. package/dist/components/NetworkFilter/index.js +0 -66
  135. package/dist/components/ProgressBar/ProgressBar.js +0 -10
  136. package/dist/components/ProgressBar/ProgressBarWrapper.js +0 -9
  137. package/dist/components/ProgressBar/styles.js +0 -82
  138. package/dist/components/TokenInfoAndName/index.js +0 -61
  139. package/dist/components/Tooltip/ButtonsRow.js +0 -21
  140. package/dist/components/Tooltip/Tooltip.js +0 -13
  141. package/dist/components/Tooltip/styles.js +0 -44
  142. package/dist/components/uikit-sdk/Button/Button.js +0 -91
  143. package/dist/components/uikit-sdk/Button/IconButton.js +0 -33
  144. package/dist/components/uikit-sdk/Button/index.js +0 -2
  145. package/dist/components/uikit-sdk/Button/styles.js +0 -30
  146. package/dist/components/uikit-sdk/Button/types.js +0 -37
  147. package/dist/components/uikit-sdk/Checkbox/index.js +0 -46
  148. package/dist/components/uikit-sdk/Checkbox/types.js +0 -5
  149. package/dist/components/uikit-sdk/Flex/index.js +0 -29
  150. package/dist/components/uikit-sdk/Input/Input.js +0 -72
  151. package/dist/components/uikit-sdk/Input/NumericInput.js +0 -35
  152. package/dist/components/uikit-sdk/Input/StyledInput.js +0 -26
  153. package/dist/components/uikit-sdk/Input/index.js +0 -3
  154. package/dist/components/uikit-sdk/Modal/ModalFooter.js +0 -21
  155. package/dist/components/uikit-sdk/Modal/ModalHeader.js +0 -31
  156. package/dist/components/uikit-sdk/Modal/index.js +0 -46
  157. package/dist/components/uikit-sdk/Modal/styles.js +0 -62
  158. package/dist/components/uikit-sdk/Modal/types.js +0 -1
  159. package/dist/components/uikit-sdk/Select/Select.js +0 -61
  160. package/dist/components/uikit-sdk/Select/SelectItem.js +0 -40
  161. package/dist/components/uikit-sdk/Select/index.js +0 -2
  162. package/dist/components/uikit-sdk/Select/styles.js +0 -50
  163. package/dist/components/uikit-sdk/Select/types.js +0 -37
  164. package/dist/components/uikit-sdk/Skeleton/index.js +0 -31
  165. package/dist/components/uikit-sdk/Skeleton/styles.js +0 -40
  166. package/dist/components/uikit-sdk/Skeleton/types.js +0 -10
  167. package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.js +0 -16
  168. package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.js +0 -6
  169. package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.js +0 -16
  170. package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +0 -6
  171. package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.js +0 -17
  172. package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.js +0 -6
  173. package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +0 -16
  174. package/dist/components/uikit-sdk/Svg/Icons/Audit.js +0 -16
  175. package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.js +0 -6
  176. package/dist/components/uikit-sdk/Svg/Icons/BillsM1.js +0 -16
  177. package/dist/components/uikit-sdk/Svg/Icons/BillsM2.js +0 -17
  178. package/dist/components/uikit-sdk/Svg/Icons/BillsM3.js +0 -16
  179. package/dist/components/uikit-sdk/Svg/Icons/Bridge.js +0 -16
  180. package/dist/components/uikit-sdk/Svg/Icons/Bubble.js +0 -16
  181. package/dist/components/uikit-sdk/Svg/Icons/Calculator.js +0 -16
  182. package/dist/components/uikit-sdk/Svg/Icons/Calendar.js +0 -5
  183. package/dist/components/uikit-sdk/Svg/Icons/Cancelled.js +0 -16
  184. package/dist/components/uikit-sdk/Svg/Icons/Card.js +0 -16
  185. package/dist/components/uikit-sdk/Svg/Icons/Caret.js +0 -16
  186. package/dist/components/uikit-sdk/Svg/Icons/Chain.js +0 -9
  187. package/dist/components/uikit-sdk/Svg/Icons/Chart.js +0 -16
  188. package/dist/components/uikit-sdk/Svg/Icons/Chat.js +0 -16
  189. package/dist/components/uikit-sdk/Svg/Icons/Close.js +0 -9
  190. package/dist/components/uikit-sdk/Svg/Icons/Cog.js +0 -16
  191. package/dist/components/uikit-sdk/Svg/Icons/Collapse.js +0 -16
  192. package/dist/components/uikit-sdk/Svg/Icons/Copy.js +0 -16
  193. package/dist/components/uikit-sdk/Svg/Icons/Discord.js +0 -16
  194. package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.js +0 -16
  195. package/dist/components/uikit-sdk/Svg/Icons/Docs.js +0 -16
  196. package/dist/components/uikit-sdk/Svg/Icons/DocsV2.js +0 -16
  197. package/dist/components/uikit-sdk/Svg/Icons/Ellipse.js +0 -16
  198. package/dist/components/uikit-sdk/Svg/Icons/Error.js +0 -16
  199. package/dist/components/uikit-sdk/Svg/Icons/Expand.js +0 -16
  200. package/dist/components/uikit-sdk/Svg/Icons/Explorer.js +0 -16
  201. package/dist/components/uikit-sdk/Svg/Icons/External.js +0 -16
  202. package/dist/components/uikit-sdk/Svg/Icons/Farm.js +0 -16
  203. package/dist/components/uikit-sdk/Svg/Icons/Fav.js +0 -16
  204. package/dist/components/uikit-sdk/Svg/Icons/FilledURL.js +0 -16
  205. package/dist/components/uikit-sdk/Svg/Icons/Fire.js +0 -6
  206. package/dist/components/uikit-sdk/Svg/Icons/Frame.js +0 -16
  207. package/dist/components/uikit-sdk/Svg/Icons/FullLogo.js +0 -6
  208. package/dist/components/uikit-sdk/Svg/Icons/Gnana.js +0 -16
  209. package/dist/components/uikit-sdk/Svg/Icons/GreenShield.js +0 -6
  210. package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +0 -16
  211. package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.js +0 -16
  212. package/dist/components/uikit-sdk/Svg/Icons/Home.js +0 -16
  213. package/dist/components/uikit-sdk/Svg/Icons/Hot.js +0 -6
  214. package/dist/components/uikit-sdk/Svg/Icons/Info.js +0 -16
  215. package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.js +0 -16
  216. package/dist/components/uikit-sdk/Svg/Icons/Insight.js +0 -16
  217. package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +0 -16
  218. package/dist/components/uikit-sdk/Svg/Icons/Island.js +0 -16
  219. package/dist/components/uikit-sdk/Svg/Icons/Language.js +0 -16
  220. package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.js +0 -16
  221. package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +0 -6
  222. package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.js +0 -16
  223. package/dist/components/uikit-sdk/Svg/Icons/Logout.js +0 -16
  224. package/dist/components/uikit-sdk/Svg/Icons/Medium.js +0 -16
  225. package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.js +0 -16
  226. package/dist/components/uikit-sdk/Svg/Icons/Message.js +0 -9
  227. package/dist/components/uikit-sdk/Svg/Icons/Migrate.js +0 -16
  228. package/dist/components/uikit-sdk/Svg/Icons/Moon.js +0 -16
  229. package/dist/components/uikit-sdk/Svg/Icons/More.js +0 -16
  230. package/dist/components/uikit-sdk/Svg/Icons/NFA.js +0 -16
  231. package/dist/components/uikit-sdk/Svg/Icons/NavCaret.js +0 -16
  232. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +0 -16
  233. package/dist/components/uikit-sdk/Svg/Icons/Play.js +0 -5
  234. package/dist/components/uikit-sdk/Svg/Icons/Pool.js +0 -16
  235. package/dist/components/uikit-sdk/Svg/Icons/Positions.js +0 -16
  236. package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.js +0 -6
  237. package/dist/components/uikit-sdk/Svg/Icons/ProfileIcon.js +0 -16
  238. package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.js +0 -6
  239. package/dist/components/uikit-sdk/Svg/Icons/Question.js +0 -6
  240. package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +0 -16
  241. package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.js +0 -16
  242. package/dist/components/uikit-sdk/Svg/Icons/Quiz.js +0 -16
  243. package/dist/components/uikit-sdk/Svg/Icons/Receipt.js +0 -16
  244. package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +0 -16
  245. package/dist/components/uikit-sdk/Svg/Icons/Rocket.js +0 -16
  246. package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.js +0 -16
  247. package/dist/components/uikit-sdk/Svg/Icons/Search.js +0 -16
  248. package/dist/components/uikit-sdk/Svg/Icons/Send.js +0 -16
  249. package/dist/components/uikit-sdk/Svg/Icons/Settings.js +0 -16
  250. package/dist/components/uikit-sdk/Svg/Icons/Share.js +0 -16
  251. package/dist/components/uikit-sdk/Svg/Icons/Sort.js +0 -16
  252. package/dist/components/uikit-sdk/Svg/Icons/Success.js +0 -16
  253. package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.js +0 -16
  254. package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.js +0 -16
  255. package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.js +0 -16
  256. package/dist/components/uikit-sdk/Svg/Icons/Tag.js +0 -5
  257. package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +0 -16
  258. package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.js +0 -16
  259. package/dist/components/uikit-sdk/Svg/Icons/TextLogo.js +0 -6
  260. package/dist/components/uikit-sdk/Svg/Icons/TickShield.js +0 -16
  261. package/dist/components/uikit-sdk/Svg/Icons/Trade.js +0 -16
  262. package/dist/components/uikit-sdk/Svg/Icons/Trash.js +0 -16
  263. package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +0 -16
  264. package/dist/components/uikit-sdk/Svg/Icons/URL.js +0 -16
  265. package/dist/components/uikit-sdk/Svg/Icons/Vaults.js +0 -16
  266. package/dist/components/uikit-sdk/Svg/Icons/Verified.js +0 -6
  267. package/dist/components/uikit-sdk/Svg/Icons/Wallet.js +0 -16
  268. package/dist/components/uikit-sdk/Svg/Icons/Warning.js +0 -16
  269. package/dist/components/uikit-sdk/Svg/Icons/Watch.js +0 -16
  270. package/dist/components/uikit-sdk/Svg/Icons/Website.js +0 -16
  271. package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.js +0 -16
  272. package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.js +0 -16
  273. package/dist/components/uikit-sdk/Svg/Icons/XNew.js +0 -16
  274. package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.js +0 -6
  275. package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +0 -16
  276. package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +0 -16
  277. package/dist/components/uikit-sdk/Svg/Icons/index.js +0 -112
  278. package/dist/components/uikit-sdk/Svg/Icons/polygonNew.js +0 -16
  279. package/dist/components/uikit-sdk/Svg/Icons/types.js +0 -1
  280. package/dist/components/uikit-sdk/Svg/index.js +0 -347
  281. package/dist/components/uikit-sdk/Svg/styles.js +0 -16
  282. package/dist/components/uikit-sdk/Svg/tokens/ABOND.js +0 -6
  283. package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +0 -6
  284. package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +0 -6
  285. package/dist/components/uikit-sdk/Svg/tokens/BANANA.js +0 -6
  286. package/dist/components/uikit-sdk/Svg/tokens/BASE.js +0 -6
  287. package/dist/components/uikit-sdk/Svg/tokens/BNB.js +0 -6
  288. package/dist/components/uikit-sdk/Svg/tokens/BSC.js +0 -6
  289. package/dist/components/uikit-sdk/Svg/tokens/CELO.js +0 -5
  290. package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +0 -6
  291. package/dist/components/uikit-sdk/Svg/tokens/ETH.js +0 -6
  292. package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +0 -6
  293. package/dist/components/uikit-sdk/Svg/tokens/GNANA.js +0 -6
  294. package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +0 -6
  295. package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +0 -6
  296. package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +0 -6
  297. package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +0 -6
  298. package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +0 -6
  299. package/dist/components/uikit-sdk/Svg/tokens/OKX.js +0 -5
  300. package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +0 -8
  301. package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +0 -6
  302. package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +0 -6
  303. package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +0 -6
  304. package/dist/components/uikit-sdk/Svg/tokens/index.js +0 -22
  305. package/dist/components/uikit-sdk/Svg/types.js +0 -165
  306. package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.js +0 -6
  307. package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.js +0 -6
  308. package/dist/components/uikit-sdk/Svg/walletIcons/Brave.js +0 -6
  309. package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.js +0 -6
  310. package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.js +0 -6
  311. package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.js +0 -6
  312. package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.js +0 -6
  313. package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.js +0 -6
  314. package/dist/components/uikit-sdk/Svg/walletIcons/OKX.js +0 -6
  315. package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.js +0 -6
  316. package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.js +0 -6
  317. package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.js +0 -6
  318. package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.js +0 -6
  319. package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.js +0 -6
  320. package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.js +0 -6
  321. package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.js +0 -6
  322. package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.js +0 -6
  323. package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.js +0 -5
  324. package/dist/components/uikit-sdk/Svg/walletIcons/index.js +0 -18
  325. package/dist/components/uikit-sdk/Tag/ListTag.js +0 -20
  326. package/dist/components/uikit-sdk/Tag/Tag.js +0 -42
  327. package/dist/components/uikit-sdk/Tag/index.js +0 -2
  328. package/dist/components/uikit-sdk/Tag/styles.js +0 -44
  329. package/dist/components/uikit-sdk/Tag/types.js +0 -34
  330. package/dist/components/uikit-sdk/Text/index.js +0 -35
  331. package/dist/components/uikit-sdk/Text/types.js +0 -13
  332. package/dist/components/uikit-sdk/TokenImage/index.js +0 -18
  333. package/dist/components/uikit-sdk/TooltipBubble/index.js +0 -66
  334. package/dist/components/uikit-sdk/TooltipBubble/styles.js +0 -60
  335. package/dist/components/uikit-sdk/TooltipBubble/types.js +0 -8
  336. package/dist/components/uikit-sdk/index.js +0 -12
  337. package/dist/config/abi/bond.json +0 -450
  338. package/dist/config/abi/erc20.json +0 -117
  339. package/dist/config/abi/multicallv2.json +0 -143
  340. package/dist/config/abi/types/Banana.js +0 -1
  341. package/dist/config/abi/types/Bond.js +0 -1
  342. package/dist/config/abi/types/BondNft.js +0 -1
  343. package/dist/config/abi/types/EnsPublicResolver.js +0 -1
  344. package/dist/config/abi/types/EnsRegistrar.js +0 -1
  345. package/dist/config/abi/types/Erc20.js +0 -1
  346. package/dist/config/abi/types/Erc20_bytes32.js +0 -1
  347. package/dist/config/abi/types/JungleChef.js +0 -1
  348. package/dist/config/abi/types/LaunchBonds.js +0 -1
  349. package/dist/config/abi/types/LensContract.js +0 -1
  350. package/dist/config/abi/types/LockVeAbond.js +0 -1
  351. package/dist/config/abi/types/MigrationBond.js +0 -1
  352. package/dist/config/abi/types/MigrationFveAbond.js +0 -1
  353. package/dist/config/abi/types/MiniComplexRewarder.js +0 -1
  354. package/dist/config/abi/types/Multicallv2.js +0 -1
  355. package/dist/config/abi/types/Multicallv3.js +0 -1
  356. package/dist/config/abi/types/NonFungibleApes.js +0 -1
  357. package/dist/config/abi/types/NonFungibleBananas.js +0 -1
  358. package/dist/config/abi/types/PriceGetter.js +0 -1
  359. package/dist/config/abi/types/PriceGetterLinea.js +0 -1
  360. package/dist/config/abi/types/PriceGetterV2.js +0 -1
  361. package/dist/config/abi/types/SousChef.js +0 -1
  362. package/dist/config/abi/types/Treasury.js +0 -1
  363. package/dist/config/abi/types/Weth.js +0 -1
  364. package/dist/config/abi/types/Zap.js +0 -1
  365. package/dist/config/abi/types/common.js +0 -1
  366. package/dist/config/abi/types/factories/Banana__factory.js +0 -628
  367. package/dist/config/abi/types/factories/BondNft__factory.js +0 -951
  368. package/dist/config/abi/types/factories/Bond__factory.js +0 -1042
  369. package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +0 -833
  370. package/dist/config/abi/types/factories/EnsRegistrar__factory.js +0 -439
  371. package/dist/config/abi/types/factories/Erc20__factory.js +0 -239
  372. package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +0 -47
  373. package/dist/config/abi/types/factories/JungleChef__factory.js +0 -326
  374. package/dist/config/abi/types/factories/LaunchBonds__factory.js +0 -2031
  375. package/dist/config/abi/types/factories/LensContract__factory.js +0 -338
  376. package/dist/config/abi/types/factories/LockVeAbond__factory.js +0 -2215
  377. package/dist/config/abi/types/factories/MigrationBond__factory.js +0 -1656
  378. package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +0 -346
  379. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +0 -586
  380. package/dist/config/abi/types/factories/Multicallv2__factory.js +0 -160
  381. package/dist/config/abi/types/factories/Multicallv3__factory.js +0 -109
  382. package/dist/config/abi/types/factories/NonFungibleApes__factory.js +0 -810
  383. package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +0 -756
  384. package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +0 -1465
  385. package/dist/config/abi/types/factories/PriceGetterV2__factory.js +0 -1364
  386. package/dist/config/abi/types/factories/PriceGetter__factory.js +0 -1326
  387. package/dist/config/abi/types/factories/SousChef__factory.js +0 -666
  388. package/dist/config/abi/types/factories/Treasury__factory.js +0 -309
  389. package/dist/config/abi/types/factories/Weth__factory.js +0 -296
  390. package/dist/config/abi/types/factories/Zap__factory.js +0 -889
  391. package/dist/config/abi/types/factories/index.js +0 -28
  392. package/dist/config/abi/types/index.js +0 -26
  393. package/dist/config/constants/addresses.js +0 -116
  394. package/dist/config/constants/api.js +0 -6
  395. package/dist/config/constants/chains.js +0 -436
  396. package/dist/config/constants/lifiRouting.js +0 -6
  397. package/dist/config/constants/lists.js +0 -21
  398. package/dist/config/constants/meta.js +0 -92
  399. package/dist/config/constants/misc.js +0 -4
  400. package/dist/config/constants/networks.js +0 -44
  401. package/dist/config/constants/products.js +0 -58
  402. package/dist/config/constants/queryKeys.js +0 -24
  403. package/dist/config/constants/tokens.js +0 -452
  404. package/dist/config/constants/tutorials.js +0 -80
  405. package/dist/config/localization/languages.js +0 -83
  406. package/dist/config/localization/translations.json +0 -918
  407. package/dist/contexts/Localization/Provider.js +0 -134
  408. package/dist/contexts/Localization/helpers.js +0 -63
  409. package/dist/contexts/Localization/index.js +0 -2
  410. package/dist/contexts/Localization/types.js +0 -1
  411. package/dist/contexts/Localization/useTranslation.js +0 -10
  412. package/dist/contexts/ModalContext.js +0 -67
  413. package/dist/contexts/RefreshContext.js +0 -78
  414. package/dist/enum/apeswaplists.d.ts +0 -418
  415. package/dist/enum/apeswaplists.js +0 -152
  416. package/dist/enum/tooltips.js +0 -13
  417. package/dist/hooks/useCookie.js +0 -29
  418. package/dist/hooks/useIsAbond.js +0 -10
  419. package/dist/hooks/useModal.js +0 -39
  420. package/dist/hooks/usePendingVesting.js +0 -13
  421. package/dist/hooks/useRefresh.js +0 -7
  422. package/dist/hooks/useTimer.js +0 -13
  423. package/dist/hooks/useTopThreeTags.js +0 -25
  424. package/dist/index.d.ts +0 -5
  425. package/dist/index.js +0 -6
  426. package/dist/providers/index.js +0 -12
  427. package/dist/theme/base.js +0 -123
  428. package/dist/theme/colors.js +0 -93
  429. package/dist/theme/components.js +0 -338
  430. package/dist/theme/display.js +0 -2
  431. package/dist/theme/index.js +0 -15
  432. package/dist/theme/types.js +0 -1
  433. package/dist/types/bonds.js +0 -1
  434. package/dist/types/yourbonds.js +0 -1
  435. package/dist/utils/convertToTokenValue.js +0 -24
  436. package/dist/utils/formatNumber.js +0 -34
  437. package/dist/utils/formatNumbers.js +0 -148
  438. package/dist/utils/getBalanceNumber.js +0 -18
  439. package/dist/utils/getTimePeriods.js +0 -44
  440. package/dist/utils/index.js +0 -127
  441. package/dist/utils/localStorageHelpers.js +0 -47
  442. package/dist/utils/multicall.js +0 -90
  443. package/dist/utils/numbers.js +0 -111
  444. package/dist/utils/roundNumber.js +0 -14
  445. package/dist/utils/track.js +0 -17
  446. package/dist/views/BondModal/BondModal.js +0 -277
  447. package/dist/views/BondModal/helper.js +0 -54
  448. package/dist/views/BondModal/index.js +0 -18
  449. package/dist/views/Bonds/Bonds.js +0 -174
  450. package/dist/views/YourBonds/YourBonds.js +0 -276
  451. package/dist/views/YourBonds/fetchBillsUser.js +0 -235
  452. package/dist/views/YourBonds/getBillNftData.js +0 -109
  453. package/dist/views/YourBondsModal/YourBondsModal.js +0 -173
  454. package/dist/views/YourBondsModal/styles.js +0 -12
  455. /package/dist/{enum → config/constants}/tooltips.d.ts +0 -0
@@ -1,1042 +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
- anonymous: false,
8
- inputs: [
9
- {
10
- indexed: false,
11
- internalType: "uint256",
12
- name: "deposit",
13
- type: "uint256",
14
- },
15
- {
16
- indexed: false,
17
- internalType: "uint256",
18
- name: "payout",
19
- type: "uint256",
20
- },
21
- {
22
- indexed: false,
23
- internalType: "uint256",
24
- name: "expires",
25
- type: "uint256",
26
- },
27
- {
28
- indexed: true,
29
- internalType: "uint256",
30
- name: "billId",
31
- type: "uint256",
32
- },
33
- ],
34
- name: "BillCreated",
35
- type: "event",
36
- },
37
- {
38
- anonymous: false,
39
- inputs: [
40
- {
41
- indexed: false,
42
- internalType: "uint256",
43
- name: "internalPrice",
44
- type: "uint256",
45
- },
46
- {
47
- indexed: false,
48
- internalType: "uint256",
49
- name: "debtRatio",
50
- type: "uint256",
51
- },
52
- ],
53
- name: "BillPriceChanged",
54
- type: "event",
55
- },
56
- {
57
- anonymous: false,
58
- inputs: [
59
- {
60
- indexed: false,
61
- internalType: "uint256",
62
- name: "billId",
63
- type: "uint256",
64
- },
65
- {
66
- indexed: false,
67
- internalType: "address",
68
- name: "recipient",
69
- type: "address",
70
- },
71
- {
72
- indexed: false,
73
- internalType: "uint256",
74
- name: "payout",
75
- type: "uint256",
76
- },
77
- {
78
- indexed: false,
79
- internalType: "uint256",
80
- name: "remaining",
81
- type: "uint256",
82
- },
83
- ],
84
- name: "BillRedeemed",
85
- type: "event",
86
- },
87
- {
88
- anonymous: false,
89
- inputs: [
90
- {
91
- indexed: false,
92
- internalType: "uint256",
93
- name: "initialBCV",
94
- type: "uint256",
95
- },
96
- {
97
- indexed: false,
98
- internalType: "uint256",
99
- name: "newBCV",
100
- type: "uint256",
101
- },
102
- {
103
- indexed: false,
104
- internalType: "uint256",
105
- name: "adjustment",
106
- type: "uint256",
107
- },
108
- {
109
- indexed: false,
110
- internalType: "bool",
111
- name: "addition",
112
- type: "bool",
113
- },
114
- ],
115
- name: "ControlVariableAdjustment",
116
- type: "event",
117
- },
118
- {
119
- anonymous: false,
120
- inputs: [
121
- {
122
- indexed: true,
123
- internalType: "address",
124
- name: "previousOwner",
125
- type: "address",
126
- },
127
- {
128
- indexed: true,
129
- internalType: "address",
130
- name: "newOwner",
131
- type: "address",
132
- },
133
- ],
134
- name: "PolicyTransferred",
135
- type: "event",
136
- },
137
- {
138
- anonymous: false,
139
- inputs: [
140
- {
141
- indexed: false,
142
- internalType: "bool",
143
- name: "addition",
144
- type: "bool",
145
- },
146
- {
147
- indexed: false,
148
- internalType: "uint256",
149
- name: "increment",
150
- type: "uint256",
151
- },
152
- {
153
- indexed: false,
154
- internalType: "uint256",
155
- name: "target",
156
- type: "uint256",
157
- },
158
- {
159
- indexed: false,
160
- internalType: "uint256",
161
- name: "buffer",
162
- type: "uint256",
163
- },
164
- ],
165
- name: "SetAdjustment",
166
- type: "event",
167
- },
168
- {
169
- anonymous: false,
170
- inputs: [
171
- {
172
- indexed: false,
173
- internalType: "address",
174
- name: "newTreasury",
175
- type: "address",
176
- },
177
- ],
178
- name: "TreasuryChanged",
179
- type: "event",
180
- },
181
- {
182
- inputs: [],
183
- name: "DAO",
184
- outputs: [
185
- {
186
- internalType: "address",
187
- name: "",
188
- type: "address",
189
- },
190
- ],
191
- stateMutability: "view",
192
- type: "function",
193
- },
194
- {
195
- inputs: [],
196
- name: "adjustment",
197
- outputs: [
198
- {
199
- internalType: "bool",
200
- name: "add",
201
- type: "bool",
202
- },
203
- {
204
- internalType: "uint256",
205
- name: "rate",
206
- type: "uint256",
207
- },
208
- {
209
- internalType: "uint256",
210
- name: "target",
211
- type: "uint256",
212
- },
213
- {
214
- internalType: "uint256",
215
- name: "buffer",
216
- type: "uint256",
217
- },
218
- {
219
- internalType: "uint256",
220
- name: "lastBlockTimestamp",
221
- type: "uint256",
222
- },
223
- ],
224
- stateMutability: "view",
225
- type: "function",
226
- },
227
- {
228
- inputs: [
229
- {
230
- internalType: "uint256[]",
231
- name: "_billIds",
232
- type: "uint256[]",
233
- },
234
- ],
235
- name: "batchRedeem",
236
- outputs: [],
237
- stateMutability: "nonpayable",
238
- type: "function",
239
- },
240
- {
241
- inputs: [
242
- {
243
- internalType: "uint256",
244
- name: "",
245
- type: "uint256",
246
- },
247
- ],
248
- name: "billInfo",
249
- outputs: [
250
- {
251
- internalType: "uint256",
252
- name: "payout",
253
- type: "uint256",
254
- },
255
- {
256
- internalType: "uint256",
257
- name: "vesting",
258
- type: "uint256",
259
- },
260
- {
261
- internalType: "uint256",
262
- name: "lastBlockTimestamp",
263
- type: "uint256",
264
- },
265
- {
266
- internalType: "uint256",
267
- name: "truePricePaid",
268
- type: "uint256",
269
- },
270
- ],
271
- stateMutability: "view",
272
- type: "function",
273
- },
274
- {
275
- inputs: [],
276
- name: "billNft",
277
- outputs: [
278
- {
279
- internalType: "contract IBillNft",
280
- name: "",
281
- type: "address",
282
- },
283
- ],
284
- stateMutability: "view",
285
- type: "function",
286
- },
287
- {
288
- inputs: [],
289
- name: "billPrice",
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: "address",
304
- name: "_treasury",
305
- type: "address",
306
- },
307
- ],
308
- name: "changeTreasury",
309
- outputs: [],
310
- stateMutability: "nonpayable",
311
- type: "function",
312
- },
313
- {
314
- inputs: [],
315
- name: "currentDebt",
316
- outputs: [
317
- {
318
- internalType: "uint256",
319
- name: "",
320
- type: "uint256",
321
- },
322
- ],
323
- stateMutability: "view",
324
- type: "function",
325
- },
326
- {
327
- inputs: [],
328
- name: "currentFee",
329
- outputs: [
330
- {
331
- internalType: "uint256",
332
- name: "currentFee_",
333
- type: "uint256",
334
- },
335
- ],
336
- stateMutability: "view",
337
- type: "function",
338
- },
339
- {
340
- inputs: [],
341
- name: "customTreasury",
342
- outputs: [
343
- {
344
- internalType: "contract ICustomTreasury",
345
- name: "",
346
- type: "address",
347
- },
348
- ],
349
- stateMutability: "view",
350
- type: "function",
351
- },
352
- {
353
- inputs: [],
354
- name: "debtDecay",
355
- outputs: [
356
- {
357
- internalType: "uint256",
358
- name: "decay_",
359
- type: "uint256",
360
- },
361
- ],
362
- stateMutability: "view",
363
- type: "function",
364
- },
365
- {
366
- inputs: [],
367
- name: "debtRatio",
368
- outputs: [
369
- {
370
- internalType: "uint256",
371
- name: "debtRatio_",
372
- type: "uint256",
373
- },
374
- ],
375
- stateMutability: "view",
376
- type: "function",
377
- },
378
- {
379
- inputs: [
380
- {
381
- internalType: "uint256",
382
- name: "_amount",
383
- type: "uint256",
384
- },
385
- {
386
- internalType: "uint256",
387
- name: "_maxPrice",
388
- type: "uint256",
389
- },
390
- {
391
- internalType: "address",
392
- name: "_depositor",
393
- type: "address",
394
- },
395
- ],
396
- name: "deposit",
397
- outputs: [
398
- {
399
- internalType: "uint256",
400
- name: "",
401
- type: "uint256",
402
- },
403
- ],
404
- stateMutability: "nonpayable",
405
- type: "function",
406
- },
407
- {
408
- inputs: [
409
- {
410
- internalType: "address",
411
- name: "user",
412
- type: "address",
413
- },
414
- ],
415
- name: "getBillIds",
416
- outputs: [
417
- {
418
- internalType: "uint256[]",
419
- name: "",
420
- type: "uint256[]",
421
- },
422
- ],
423
- stateMutability: "view",
424
- type: "function",
425
- },
426
- {
427
- inputs: [
428
- {
429
- internalType: "address",
430
- name: "user",
431
- type: "address",
432
- },
433
- {
434
- internalType: "uint256",
435
- name: "start",
436
- type: "uint256",
437
- },
438
- {
439
- internalType: "uint256",
440
- name: "end",
441
- type: "uint256",
442
- },
443
- ],
444
- name: "getBillIdsInRange",
445
- outputs: [
446
- {
447
- internalType: "uint256[]",
448
- name: "",
449
- type: "uint256[]",
450
- },
451
- ],
452
- stateMutability: "view",
453
- type: "function",
454
- },
455
- {
456
- inputs: [
457
- {
458
- internalType: "address[7]",
459
- name: "_config",
460
- type: "address[7]",
461
- },
462
- {
463
- internalType: "uint256[]",
464
- name: "_tierCeilings",
465
- type: "uint256[]",
466
- },
467
- {
468
- internalType: "uint256[]",
469
- name: "_fees",
470
- type: "uint256[]",
471
- },
472
- {
473
- internalType: "bool",
474
- name: "_feeInPayout",
475
- type: "bool",
476
- },
477
- ],
478
- name: "initialize",
479
- outputs: [],
480
- stateMutability: "nonpayable",
481
- type: "function",
482
- },
483
- {
484
- inputs: [
485
- {
486
- internalType: "uint256",
487
- name: "_controlVariable",
488
- type: "uint256",
489
- },
490
- {
491
- internalType: "uint256",
492
- name: "_vestingTerm",
493
- type: "uint256",
494
- },
495
- {
496
- internalType: "uint256",
497
- name: "_minimumPrice",
498
- type: "uint256",
499
- },
500
- {
501
- internalType: "uint256",
502
- name: "_maxPayout",
503
- type: "uint256",
504
- },
505
- {
506
- internalType: "uint256",
507
- name: "_maxDebt",
508
- type: "uint256",
509
- },
510
- {
511
- internalType: "uint256",
512
- name: "_initialDebt",
513
- type: "uint256",
514
- },
515
- ],
516
- name: "initializeBill",
517
- outputs: [],
518
- stateMutability: "nonpayable",
519
- type: "function",
520
- },
521
- {
522
- inputs: [],
523
- name: "lastDecay",
524
- outputs: [
525
- {
526
- internalType: "uint256",
527
- name: "",
528
- type: "uint256",
529
- },
530
- ],
531
- stateMutability: "view",
532
- type: "function",
533
- },
534
- {
535
- inputs: [],
536
- name: "maxPayout",
537
- outputs: [
538
- {
539
- internalType: "uint256",
540
- name: "",
541
- type: "uint256",
542
- },
543
- ],
544
- stateMutability: "view",
545
- type: "function",
546
- },
547
- {
548
- inputs: [],
549
- name: "paySubsidy",
550
- outputs: [
551
- {
552
- internalType: "uint256",
553
- name: "payoutSinceLastSubsidy_",
554
- type: "uint256",
555
- },
556
- ],
557
- stateMutability: "nonpayable",
558
- type: "function",
559
- },
560
- {
561
- inputs: [
562
- {
563
- internalType: "uint256",
564
- name: "_value",
565
- type: "uint256",
566
- },
567
- ],
568
- name: "payoutFor",
569
- outputs: [
570
- {
571
- internalType: "uint256",
572
- name: "_payout",
573
- type: "uint256",
574
- },
575
- {
576
- internalType: "uint256",
577
- name: "_fee",
578
- type: "uint256",
579
- },
580
- ],
581
- stateMutability: "view",
582
- type: "function",
583
- },
584
- {
585
- inputs: [],
586
- name: "payoutSinceLastSubsidy",
587
- outputs: [
588
- {
589
- internalType: "uint256",
590
- name: "",
591
- type: "uint256",
592
- },
593
- ],
594
- stateMutability: "view",
595
- type: "function",
596
- },
597
- {
598
- inputs: [],
599
- name: "payoutToken",
600
- outputs: [
601
- {
602
- internalType: "contract IERC20Metadata",
603
- name: "",
604
- type: "address",
605
- },
606
- ],
607
- stateMutability: "view",
608
- type: "function",
609
- },
610
- {
611
- inputs: [
612
- {
613
- internalType: "uint256",
614
- name: "_billId",
615
- type: "uint256",
616
- },
617
- ],
618
- name: "pendingPayoutFor",
619
- outputs: [
620
- {
621
- internalType: "uint256",
622
- name: "pendingPayout_",
623
- type: "uint256",
624
- },
625
- ],
626
- stateMutability: "view",
627
- type: "function",
628
- },
629
- {
630
- inputs: [
631
- {
632
- internalType: "uint256",
633
- name: "_billId",
634
- type: "uint256",
635
- },
636
- ],
637
- name: "percentVestedFor",
638
- outputs: [
639
- {
640
- internalType: "uint256",
641
- name: "percentVested_",
642
- type: "uint256",
643
- },
644
- ],
645
- stateMutability: "view",
646
- type: "function",
647
- },
648
- {
649
- inputs: [],
650
- name: "policy",
651
- outputs: [
652
- {
653
- internalType: "address",
654
- name: "",
655
- type: "address",
656
- },
657
- ],
658
- stateMutability: "view",
659
- type: "function",
660
- },
661
- {
662
- inputs: [],
663
- name: "principalToken",
664
- outputs: [
665
- {
666
- internalType: "contract IERC20",
667
- name: "",
668
- type: "address",
669
- },
670
- ],
671
- stateMutability: "view",
672
- type: "function",
673
- },
674
- {
675
- inputs: [],
676
- name: "pullPolicy",
677
- outputs: [],
678
- stateMutability: "nonpayable",
679
- type: "function",
680
- },
681
- {
682
- inputs: [
683
- {
684
- internalType: "address",
685
- name: "newPolicy_",
686
- type: "address",
687
- },
688
- ],
689
- name: "pushPolicy",
690
- outputs: [],
691
- stateMutability: "nonpayable",
692
- type: "function",
693
- },
694
- {
695
- inputs: [
696
- {
697
- internalType: "uint256",
698
- name: "_billId",
699
- type: "uint256",
700
- },
701
- ],
702
- name: "redeem",
703
- outputs: [
704
- {
705
- internalType: "uint256",
706
- name: "",
707
- type: "uint256",
708
- },
709
- ],
710
- stateMutability: "nonpayable",
711
- type: "function",
712
- },
713
- {
714
- inputs: [],
715
- name: "renouncePolicy",
716
- outputs: [],
717
- stateMutability: "nonpayable",
718
- type: "function",
719
- },
720
- {
721
- inputs: [
722
- {
723
- internalType: "bool",
724
- name: "_addition",
725
- type: "bool",
726
- },
727
- {
728
- internalType: "uint256",
729
- name: "_increment",
730
- type: "uint256",
731
- },
732
- {
733
- internalType: "uint256",
734
- name: "_target",
735
- type: "uint256",
736
- },
737
- {
738
- internalType: "uint256",
739
- name: "_buffer",
740
- type: "uint256",
741
- },
742
- ],
743
- name: "setAdjustment",
744
- outputs: [],
745
- stateMutability: "nonpayable",
746
- type: "function",
747
- },
748
- {
749
- inputs: [
750
- {
751
- internalType: "enum CustomBill.PARAMETER",
752
- name: "_parameter",
753
- type: "uint8",
754
- },
755
- {
756
- internalType: "uint256",
757
- name: "_input",
758
- type: "uint256",
759
- },
760
- ],
761
- name: "setBillTerms",
762
- outputs: [],
763
- stateMutability: "nonpayable",
764
- type: "function",
765
- },
766
- {
767
- inputs: [],
768
- name: "subsidyRouter",
769
- outputs: [
770
- {
771
- internalType: "address",
772
- name: "",
773
- type: "address",
774
- },
775
- ],
776
- stateMutability: "view",
777
- type: "function",
778
- },
779
- {
780
- inputs: [],
781
- name: "terms",
782
- outputs: [
783
- {
784
- internalType: "uint256",
785
- name: "controlVariable",
786
- type: "uint256",
787
- },
788
- {
789
- internalType: "uint256",
790
- name: "vestingTerm",
791
- type: "uint256",
792
- },
793
- {
794
- internalType: "uint256",
795
- name: "minimumPrice",
796
- type: "uint256",
797
- },
798
- {
799
- internalType: "uint256",
800
- name: "maxPayout",
801
- type: "uint256",
802
- },
803
- {
804
- internalType: "uint256",
805
- name: "maxDebt",
806
- type: "uint256",
807
- },
808
- ],
809
- stateMutability: "view",
810
- type: "function",
811
- },
812
- {
813
- inputs: [],
814
- name: "totalDebt",
815
- outputs: [
816
- {
817
- internalType: "uint256",
818
- name: "",
819
- type: "uint256",
820
- },
821
- ],
822
- stateMutability: "view",
823
- type: "function",
824
- },
825
- {
826
- inputs: [],
827
- name: "totalPayoutGiven",
828
- outputs: [
829
- {
830
- internalType: "uint256",
831
- name: "",
832
- type: "uint256",
833
- },
834
- ],
835
- stateMutability: "view",
836
- type: "function",
837
- },
838
- {
839
- inputs: [],
840
- name: "totalPrincipalBilled",
841
- outputs: [
842
- {
843
- internalType: "uint256",
844
- name: "",
845
- type: "uint256",
846
- },
847
- ],
848
- stateMutability: "view",
849
- type: "function",
850
- },
851
- {
852
- inputs: [],
853
- name: "treasury",
854
- outputs: [
855
- {
856
- internalType: "address",
857
- name: "",
858
- type: "address",
859
- },
860
- ],
861
- stateMutability: "view",
862
- type: "function",
863
- },
864
- {
865
- inputs: [],
866
- name: "trueBillPrice",
867
- outputs: [
868
- {
869
- internalType: "uint256",
870
- name: "price_",
871
- type: "uint256",
872
- },
873
- ],
874
- stateMutability: "view",
875
- type: "function",
876
- },
877
- {
878
- inputs: [],
879
- name: "userBillIds",
880
- outputs: [
881
- {
882
- internalType: "uint256[]",
883
- name: "",
884
- type: "uint256[]",
885
- },
886
- ],
887
- stateMutability: "view",
888
- type: "function",
889
- },
890
- {
891
- inputs: [],
892
- name: "maxTotalPayout",
893
- outputs: [
894
- {
895
- internalType: "uint256",
896
- name: "",
897
- type: "uint256",
898
- },
899
- ],
900
- stateMutability: "view",
901
- type: "function",
902
- },
903
- {
904
- inputs: [],
905
- name: "getMaxTotalPayout",
906
- outputs: [
907
- {
908
- internalType: "uint256",
909
- name: "",
910
- type: "uint256",
911
- },
912
- ],
913
- stateMutability: "view",
914
- type: "function",
915
- },
916
- {
917
- inputs: [
918
- {
919
- internalType: "uint256",
920
- name: "_billId",
921
- type: "uint256",
922
- },
923
- ],
924
- name: "pendingPayout",
925
- outputs: [
926
- {
927
- internalType: "uint256",
928
- name: "pendingPayout_",
929
- type: "uint256",
930
- },
931
- ],
932
- stateMutability: "view",
933
- type: "function",
934
- },
935
- {
936
- inputs: [
937
- {
938
- internalType: "uint256",
939
- name: "_billId",
940
- type: "uint256",
941
- },
942
- ],
943
- name: "pendingVesting",
944
- outputs: [
945
- {
946
- internalType: "uint256",
947
- name: "pendingVesting_",
948
- type: "uint256",
949
- },
950
- ],
951
- stateMutability: "view",
952
- type: "function",
953
- },
954
- {
955
- inputs: [
956
- {
957
- internalType: "uint256",
958
- name: "billId",
959
- type: "uint256",
960
- },
961
- ],
962
- name: "getBillInfo",
963
- outputs: [
964
- {
965
- components: [
966
- {
967
- internalType: "uint256",
968
- name: "payout",
969
- type: "uint256",
970
- },
971
- {
972
- internalType: "uint256",
973
- name: "payoutClaimed",
974
- type: "uint256",
975
- },
976
- {
977
- internalType: "uint256",
978
- name: "vesting",
979
- type: "uint256",
980
- },
981
- {
982
- internalType: "uint256",
983
- name: "vestingTerm",
984
- type: "uint256",
985
- },
986
- {
987
- internalType: "uint256",
988
- name: "vestingStartTimestamp",
989
- type: "uint256",
990
- },
991
- {
992
- internalType: "uint256",
993
- name: "lastClaimTimestamp",
994
- type: "uint256",
995
- },
996
- {
997
- internalType: "uint256",
998
- name: "truePricePaid",
999
- type: "uint256",
1000
- },
1001
- ],
1002
- internalType: "struct ICustomBill.Bill",
1003
- name: "",
1004
- type: "tuple",
1005
- },
1006
- ],
1007
- stateMutability: "view",
1008
- type: "function",
1009
- },
1010
- {
1011
- inputs: [
1012
- {
1013
- internalType: "uint256",
1014
- name: "_billId",
1015
- type: "uint256",
1016
- },
1017
- ],
1018
- name: "claimablePayout",
1019
- outputs: [
1020
- {
1021
- internalType: "uint256",
1022
- name: "claimablePayout_",
1023
- type: "uint256",
1024
- },
1025
- ],
1026
- stateMutability: "view",
1027
- type: "function",
1028
- },
1029
- ];
1030
- var Bond__factory = /** @class */ (function () {
1031
- function Bond__factory() {
1032
- }
1033
- Bond__factory.createInterface = function () {
1034
- return new utils.Interface(_abi);
1035
- };
1036
- Bond__factory.connect = function (address, signerOrProvider) {
1037
- return new Contract(address, _abi, signerOrProvider);
1038
- };
1039
- Bond__factory.abi = _abi;
1040
- return Bond__factory;
1041
- }());
1042
- export { Bond__factory };