@bananapus/nana-sdk-core 1.0.0 → 1.1.1

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 (308) hide show
  1. package/dist/cjs/actions/JBSuckerAbi.js +4 -1
  2. package/dist/cjs/actions/JBSuckerAbi.js.map +1 -1
  3. package/dist/cjs/actions/dataHook.js +26 -22
  4. package/dist/cjs/actions/dataHook.js.map +1 -1
  5. package/dist/cjs/actions/projectMetadata.js +12 -8
  6. package/dist/cjs/actions/projectMetadata.js.map +1 -1
  7. package/dist/cjs/actions/suckerPairs.js +21 -17
  8. package/dist/cjs/actions/suckerPairs.js.map +1 -1
  9. package/dist/cjs/constants.js +89 -85
  10. package/dist/cjs/constants.js.map +1 -1
  11. package/dist/cjs/contracts.js +22 -19
  12. package/dist/cjs/contracts.js.map +1 -1
  13. package/dist/cjs/generated/juicebox.js +94 -90
  14. package/dist/cjs/generated/juicebox.js.map +1 -1
  15. package/dist/cjs/index.js +24 -8
  16. package/dist/cjs/index.js.map +1 -1
  17. package/dist/cjs/package.json +1 -0
  18. package/dist/cjs/types.js +15 -4
  19. package/dist/cjs/types.js.map +1 -1
  20. package/dist/cjs/utils/contracts.js +19 -14
  21. package/dist/cjs/utils/contracts.js.map +1 -1
  22. package/dist/cjs/utils/data.js +23 -13
  23. package/dist/cjs/utils/data.js.map +1 -1
  24. package/dist/cjs/utils/data.test.js +19 -17
  25. package/dist/cjs/utils/data.test.js.map +1 -1
  26. package/dist/cjs/utils/debug.js +4 -1
  27. package/dist/cjs/utils/debug.js.map +1 -1
  28. package/dist/cjs/utils/deploy.js +17 -13
  29. package/dist/cjs/utils/deploy.js.map +1 -1
  30. package/dist/cjs/utils/deploy.test.js +15 -13
  31. package/dist/cjs/utils/deploy.test.js.map +1 -1
  32. package/dist/cjs/utils/fee.js +6 -3
  33. package/dist/cjs/utils/fee.js.map +1 -1
  34. package/dist/cjs/utils/fee.test.js +8 -6
  35. package/dist/cjs/utils/fee.test.js.map +1 -1
  36. package/dist/cjs/utils/format.js +11 -6
  37. package/dist/cjs/utils/format.js.map +1 -1
  38. package/dist/cjs/utils/format.test.js +11 -9
  39. package/dist/cjs/utils/format.test.js.map +1 -1
  40. package/dist/cjs/utils/hook.js +9 -6
  41. package/dist/cjs/utils/hook.js.map +1 -1
  42. package/dist/cjs/utils/index.js +28 -12
  43. package/dist/cjs/utils/index.js.map +1 -1
  44. package/dist/cjs/utils/ipfs.js +14 -6
  45. package/dist/cjs/utils/ipfs.js.map +1 -1
  46. package/dist/cjs/utils/ipfs.test.js +23 -18
  47. package/dist/cjs/utils/ipfs.test.js.map +1 -1
  48. package/dist/cjs/utils/revnet.js +9 -5
  49. package/dist/cjs/utils/revnet.js.map +1 -1
  50. package/dist/cjs/utils/revnet.test.js +9 -7
  51. package/dist/cjs/utils/revnet.test.js.map +1 -1
  52. package/dist/cjs/utils/ruleset.js +11 -7
  53. package/dist/cjs/utils/ruleset.js.map +1 -1
  54. package/dist/cjs/utils/ruleset.test.js +9 -7
  55. package/dist/cjs/utils/ruleset.test.js.map +1 -1
  56. package/dist/cjs/utils/token.js +26 -19
  57. package/dist/cjs/utils/token.js.map +1 -1
  58. package/dist/cjs/utils/token.test.js +25 -23
  59. package/dist/cjs/utils/token.test.js.map +1 -1
  60. package/dist/cjs/utils/tx.js +6 -3
  61. package/dist/cjs/utils/tx.js.map +1 -1
  62. package/dist/cjs/utils/urn.js +9 -5
  63. package/dist/cjs/utils/urn.js.map +1 -1
  64. package/dist/cjs/utils/urn.test.js +71 -69
  65. package/dist/cjs/utils/urn.test.js.map +1 -1
  66. package/dist/cjs/v6/cashOut.d.ts +88 -0
  67. package/dist/cjs/v6/cashOut.d.ts.map +1 -0
  68. package/dist/cjs/v6/cashOut.js +77 -0
  69. package/dist/cjs/v6/cashOut.js.map +1 -0
  70. package/dist/cjs/v6/cashOut.test.d.ts +2 -0
  71. package/dist/cjs/v6/cashOut.test.d.ts.map +1 -0
  72. package/dist/cjs/v6/cashOut.test.js +102 -0
  73. package/dist/cjs/v6/cashOut.test.js.map +1 -0
  74. package/dist/cjs/v6/currency.d.ts +43 -0
  75. package/dist/cjs/v6/currency.d.ts.map +1 -0
  76. package/dist/cjs/v6/currency.js +48 -0
  77. package/dist/cjs/v6/currency.js.map +1 -0
  78. package/dist/cjs/v6/currency.test.d.ts +2 -0
  79. package/dist/cjs/v6/currency.test.d.ts.map +1 -0
  80. package/dist/cjs/v6/currency.test.js +26 -0
  81. package/dist/cjs/v6/currency.test.js.map +1 -0
  82. package/dist/cjs/v6/fees.d.ts +43 -0
  83. package/dist/cjs/v6/fees.d.ts.map +1 -0
  84. package/dist/cjs/v6/fees.js +56 -0
  85. package/dist/cjs/v6/fees.js.map +1 -0
  86. package/dist/cjs/v6/fees.test.d.ts +2 -0
  87. package/dist/cjs/v6/fees.test.d.ts.map +1 -0
  88. package/dist/cjs/v6/fees.test.js +40 -0
  89. package/dist/cjs/v6/fees.test.js.map +1 -0
  90. package/dist/cjs/v6/index.d.ts +16 -0
  91. package/dist/cjs/v6/index.d.ts.map +1 -0
  92. package/dist/cjs/v6/index.js +32 -0
  93. package/dist/cjs/v6/index.js.map +1 -0
  94. package/dist/cjs/v6/launch.d.ts +2754 -0
  95. package/dist/cjs/v6/launch.d.ts.map +1 -0
  96. package/dist/cjs/v6/launch.js +184 -0
  97. package/dist/cjs/v6/launch.js.map +1 -0
  98. package/dist/cjs/v6/launch.test.d.ts +2 -0
  99. package/dist/cjs/v6/launch.test.d.ts.map +1 -0
  100. package/dist/cjs/v6/launch.test.js +137 -0
  101. package/dist/cjs/v6/launch.test.js.map +1 -0
  102. package/dist/cjs/v6/loans.d.ts +176 -0
  103. package/dist/cjs/v6/loans.d.ts.map +1 -0
  104. package/dist/cjs/v6/loans.js +177 -0
  105. package/dist/cjs/v6/loans.js.map +1 -0
  106. package/dist/cjs/v6/loans.test.d.ts +2 -0
  107. package/dist/cjs/v6/loans.test.d.ts.map +1 -0
  108. package/dist/cjs/v6/loans.test.js +129 -0
  109. package/dist/cjs/v6/loans.test.js.map +1 -0
  110. package/dist/cjs/v6/omnichain.d.ts +10997 -0
  111. package/dist/cjs/v6/omnichain.d.ts.map +1 -0
  112. package/dist/cjs/v6/omnichain.js +120 -0
  113. package/dist/cjs/v6/omnichain.js.map +1 -0
  114. package/dist/cjs/v6/omnichain.test.d.ts +2 -0
  115. package/dist/cjs/v6/omnichain.test.d.ts.map +1 -0
  116. package/dist/cjs/v6/omnichain.test.js +145 -0
  117. package/dist/cjs/v6/omnichain.test.js.map +1 -0
  118. package/dist/cjs/v6/pay.d.ts +110 -0
  119. package/dist/cjs/v6/pay.d.ts.map +1 -0
  120. package/dist/cjs/v6/pay.js +111 -0
  121. package/dist/cjs/v6/pay.js.map +1 -0
  122. package/dist/cjs/v6/pay.test.d.ts +2 -0
  123. package/dist/cjs/v6/pay.test.d.ts.map +1 -0
  124. package/dist/cjs/v6/pay.test.js +130 -0
  125. package/dist/cjs/v6/pay.test.js.map +1 -0
  126. package/dist/cjs/v6/permissions.d.ts +128 -0
  127. package/dist/cjs/v6/permissions.d.ts.map +1 -0
  128. package/dist/cjs/v6/permissions.js +125 -0
  129. package/dist/cjs/v6/permissions.js.map +1 -0
  130. package/dist/cjs/v6/permissions.test.d.ts +2 -0
  131. package/dist/cjs/v6/permissions.test.d.ts.map +1 -0
  132. package/dist/cjs/v6/permissions.test.js +117 -0
  133. package/dist/cjs/v6/permissions.test.js.map +1 -0
  134. package/dist/cjs/v6/revnets.d.ts +4459 -0
  135. package/dist/cjs/v6/revnets.d.ts.map +1 -0
  136. package/dist/cjs/v6/revnets.js +178 -0
  137. package/dist/cjs/v6/revnets.js.map +1 -0
  138. package/dist/cjs/v6/revnets.test.d.ts +2 -0
  139. package/dist/cjs/v6/revnets.test.d.ts.map +1 -0
  140. package/dist/cjs/v6/revnets.test.js +233 -0
  141. package/dist/cjs/v6/revnets.test.js.map +1 -0
  142. package/dist/cjs/v6/rulesets.d.ts +2700 -0
  143. package/dist/cjs/v6/rulesets.d.ts.map +1 -0
  144. package/dist/cjs/v6/rulesets.js +76 -0
  145. package/dist/cjs/v6/rulesets.js.map +1 -0
  146. package/dist/cjs/v6/rulesets.test.d.ts +2 -0
  147. package/dist/cjs/v6/rulesets.test.d.ts.map +1 -0
  148. package/dist/cjs/v6/rulesets.test.js +106 -0
  149. package/dist/cjs/v6/rulesets.test.js.map +1 -0
  150. package/dist/cjs/v6/splits.d.ts +2671 -0
  151. package/dist/cjs/v6/splits.d.ts.map +1 -0
  152. package/dist/cjs/v6/splits.js +116 -0
  153. package/dist/cjs/v6/splits.js.map +1 -0
  154. package/dist/cjs/v6/splits.test.d.ts +2 -0
  155. package/dist/cjs/v6/splits.test.d.ts.map +1 -0
  156. package/dist/cjs/v6/splits.test.js +135 -0
  157. package/dist/cjs/v6/splits.test.js.map +1 -0
  158. package/dist/cjs/v6/suckers.d.ts +247 -0
  159. package/dist/cjs/v6/suckers.d.ts.map +1 -0
  160. package/dist/cjs/v6/suckers.js +163 -0
  161. package/dist/cjs/v6/suckers.js.map +1 -0
  162. package/dist/cjs/v6/suckers.test.d.ts +2 -0
  163. package/dist/cjs/v6/suckers.test.d.ts.map +1 -0
  164. package/dist/cjs/v6/suckers.test.js +134 -0
  165. package/dist/cjs/v6/suckers.test.js.map +1 -0
  166. package/dist/cjs/v6/terminals.d.ts +67 -0
  167. package/dist/cjs/v6/terminals.d.ts.map +1 -0
  168. package/dist/cjs/v6/terminals.js +54 -0
  169. package/dist/cjs/v6/terminals.js.map +1 -0
  170. package/dist/cjs/v6/terminals.test.d.ts +2 -0
  171. package/dist/cjs/v6/terminals.test.d.ts.map +1 -0
  172. package/dist/cjs/v6/terminals.test.js +59 -0
  173. package/dist/cjs/v6/terminals.test.js.map +1 -0
  174. package/dist/cjs/v6/tokens.d.ts +194 -0
  175. package/dist/cjs/v6/tokens.d.ts.map +1 -0
  176. package/dist/cjs/v6/tokens.js +170 -0
  177. package/dist/cjs/v6/tokens.js.map +1 -0
  178. package/dist/cjs/v6/tokens.test.d.ts +2 -0
  179. package/dist/cjs/v6/tokens.test.d.ts.map +1 -0
  180. package/dist/cjs/v6/tokens.test.js +141 -0
  181. package/dist/cjs/v6/tokens.test.js.map +1 -0
  182. package/dist/cjs/v6/types.d.ts +12 -0
  183. package/dist/cjs/v6/types.d.ts.map +1 -0
  184. package/dist/cjs/v6/types.js +15 -0
  185. package/dist/cjs/v6/types.js.map +1 -0
  186. package/dist/esm/v6/cashOut.d.ts +88 -0
  187. package/dist/esm/v6/cashOut.d.ts.map +1 -0
  188. package/dist/esm/v6/cashOut.js +73 -0
  189. package/dist/esm/v6/cashOut.js.map +1 -0
  190. package/dist/esm/v6/cashOut.test.d.ts +2 -0
  191. package/dist/esm/v6/cashOut.test.d.ts.map +1 -0
  192. package/dist/esm/v6/cashOut.test.js +100 -0
  193. package/dist/esm/v6/cashOut.test.js.map +1 -0
  194. package/dist/esm/v6/currency.d.ts +43 -0
  195. package/dist/esm/v6/currency.d.ts.map +1 -0
  196. package/dist/esm/v6/currency.js +44 -0
  197. package/dist/esm/v6/currency.js.map +1 -0
  198. package/dist/esm/v6/currency.test.d.ts +2 -0
  199. package/dist/esm/v6/currency.test.d.ts.map +1 -0
  200. package/dist/esm/v6/currency.test.js +24 -0
  201. package/dist/esm/v6/currency.test.js.map +1 -0
  202. package/dist/esm/v6/fees.d.ts +43 -0
  203. package/dist/esm/v6/fees.d.ts.map +1 -0
  204. package/dist/esm/v6/fees.js +51 -0
  205. package/dist/esm/v6/fees.js.map +1 -0
  206. package/dist/esm/v6/fees.test.d.ts +2 -0
  207. package/dist/esm/v6/fees.test.d.ts.map +1 -0
  208. package/dist/esm/v6/fees.test.js +38 -0
  209. package/dist/esm/v6/fees.test.js.map +1 -0
  210. package/dist/esm/v6/index.d.ts +16 -0
  211. package/dist/esm/v6/index.d.ts.map +1 -0
  212. package/dist/esm/v6/index.js +16 -0
  213. package/dist/esm/v6/index.js.map +1 -0
  214. package/dist/esm/v6/launch.d.ts +2754 -0
  215. package/dist/esm/v6/launch.d.ts.map +1 -0
  216. package/dist/esm/v6/launch.js +176 -0
  217. package/dist/esm/v6/launch.js.map +1 -0
  218. package/dist/esm/v6/launch.test.d.ts +2 -0
  219. package/dist/esm/v6/launch.test.d.ts.map +1 -0
  220. package/dist/esm/v6/launch.test.js +135 -0
  221. package/dist/esm/v6/launch.test.js.map +1 -0
  222. package/dist/esm/v6/loans.d.ts +176 -0
  223. package/dist/esm/v6/loans.d.ts.map +1 -0
  224. package/dist/esm/v6/loans.js +170 -0
  225. package/dist/esm/v6/loans.js.map +1 -0
  226. package/dist/esm/v6/loans.test.d.ts +2 -0
  227. package/dist/esm/v6/loans.test.d.ts.map +1 -0
  228. package/dist/esm/v6/loans.test.js +127 -0
  229. package/dist/esm/v6/loans.test.js.map +1 -0
  230. package/dist/esm/v6/omnichain.d.ts +10997 -0
  231. package/dist/esm/v6/omnichain.d.ts.map +1 -0
  232. package/dist/esm/v6/omnichain.js +116 -0
  233. package/dist/esm/v6/omnichain.js.map +1 -0
  234. package/dist/esm/v6/omnichain.test.d.ts +2 -0
  235. package/dist/esm/v6/omnichain.test.d.ts.map +1 -0
  236. package/dist/esm/v6/omnichain.test.js +143 -0
  237. package/dist/esm/v6/omnichain.test.js.map +1 -0
  238. package/dist/esm/v6/pay.d.ts +110 -0
  239. package/dist/esm/v6/pay.d.ts.map +1 -0
  240. package/dist/esm/v6/pay.js +106 -0
  241. package/dist/esm/v6/pay.js.map +1 -0
  242. package/dist/esm/v6/pay.test.d.ts +2 -0
  243. package/dist/esm/v6/pay.test.d.ts.map +1 -0
  244. package/dist/esm/v6/pay.test.js +128 -0
  245. package/dist/esm/v6/pay.test.js.map +1 -0
  246. package/dist/esm/v6/permissions.d.ts +128 -0
  247. package/dist/esm/v6/permissions.d.ts.map +1 -0
  248. package/dist/esm/v6/permissions.js +120 -0
  249. package/dist/esm/v6/permissions.js.map +1 -0
  250. package/dist/esm/v6/permissions.test.d.ts +2 -0
  251. package/dist/esm/v6/permissions.test.d.ts.map +1 -0
  252. package/dist/esm/v6/permissions.test.js +115 -0
  253. package/dist/esm/v6/permissions.test.js.map +1 -0
  254. package/dist/esm/v6/revnets.d.ts +4459 -0
  255. package/dist/esm/v6/revnets.d.ts.map +1 -0
  256. package/dist/esm/v6/revnets.js +169 -0
  257. package/dist/esm/v6/revnets.js.map +1 -0
  258. package/dist/esm/v6/revnets.test.d.ts +2 -0
  259. package/dist/esm/v6/revnets.test.d.ts.map +1 -0
  260. package/dist/esm/v6/revnets.test.js +231 -0
  261. package/dist/esm/v6/revnets.test.js.map +1 -0
  262. package/dist/esm/v6/rulesets.d.ts +2700 -0
  263. package/dist/esm/v6/rulesets.d.ts.map +1 -0
  264. package/dist/esm/v6/rulesets.js +70 -0
  265. package/dist/esm/v6/rulesets.js.map +1 -0
  266. package/dist/esm/v6/rulesets.test.d.ts +2 -0
  267. package/dist/esm/v6/rulesets.test.d.ts.map +1 -0
  268. package/dist/esm/v6/rulesets.test.js +104 -0
  269. package/dist/esm/v6/rulesets.test.js.map +1 -0
  270. package/dist/esm/v6/splits.d.ts +2671 -0
  271. package/dist/esm/v6/splits.d.ts.map +1 -0
  272. package/dist/esm/v6/splits.js +109 -0
  273. package/dist/esm/v6/splits.js.map +1 -0
  274. package/dist/esm/v6/splits.test.d.ts +2 -0
  275. package/dist/esm/v6/splits.test.d.ts.map +1 -0
  276. package/dist/esm/v6/splits.test.js +133 -0
  277. package/dist/esm/v6/splits.test.js.map +1 -0
  278. package/dist/esm/v6/suckers.d.ts +247 -0
  279. package/dist/esm/v6/suckers.d.ts.map +1 -0
  280. package/dist/esm/v6/suckers.js +156 -0
  281. package/dist/esm/v6/suckers.js.map +1 -0
  282. package/dist/esm/v6/suckers.test.d.ts +2 -0
  283. package/dist/esm/v6/suckers.test.d.ts.map +1 -0
  284. package/dist/esm/v6/suckers.test.js +132 -0
  285. package/dist/esm/v6/suckers.test.js.map +1 -0
  286. package/dist/esm/v6/terminals.d.ts +67 -0
  287. package/dist/esm/v6/terminals.d.ts.map +1 -0
  288. package/dist/esm/v6/terminals.js +50 -0
  289. package/dist/esm/v6/terminals.js.map +1 -0
  290. package/dist/esm/v6/terminals.test.d.ts +2 -0
  291. package/dist/esm/v6/terminals.test.d.ts.map +1 -0
  292. package/dist/esm/v6/terminals.test.js +57 -0
  293. package/dist/esm/v6/terminals.test.js.map +1 -0
  294. package/dist/esm/v6/tokens.d.ts +194 -0
  295. package/dist/esm/v6/tokens.d.ts.map +1 -0
  296. package/dist/esm/v6/tokens.js +161 -0
  297. package/dist/esm/v6/tokens.js.map +1 -0
  298. package/dist/esm/v6/tokens.test.d.ts +2 -0
  299. package/dist/esm/v6/tokens.test.d.ts.map +1 -0
  300. package/dist/esm/v6/tokens.test.js +139 -0
  301. package/dist/esm/v6/tokens.test.js.map +1 -0
  302. package/dist/esm/v6/types.d.ts +12 -0
  303. package/dist/esm/v6/types.d.ts.map +1 -0
  304. package/dist/esm/v6/types.js +12 -0
  305. package/dist/esm/v6/types.js.map +1 -0
  306. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  307. package/dist/tsconfig.tsbuildinfo +1 -1
  308. package/package.json +8 -2
@@ -0,0 +1,2671 @@
1
+ import { Address, ContractFunctionArgs } from "viem";
2
+ import { jbControllerAbi } from "../generated/juicebox.js";
3
+ import { JBChainId } from "../types.js";
4
+ type SetSplitGroupsArgs = ContractFunctionArgs<typeof jbControllerAbi, "nonpayable", "setSplitGroupsOf">;
5
+ /**
6
+ * A group of splits sharing a group id (e.g. a payout token's group, or the
7
+ * reserved-token group). The group's split percents must total exactly
8
+ * `SPLITS_TOTAL_PERCENT` (1e9) or `JBSplits` reverts.
9
+ */
10
+ export type JBSplitGroup = SetSplitGroupsArgs[2][number];
11
+ /**
12
+ * A single split within a `JBSplitGroup`. `percent` is out of
13
+ * `SPLITS_TOTAL_PERCENT` (1e9).
14
+ */
15
+ export type JBSplit = JBSplitGroup["splits"][number];
16
+ /**
17
+ * The group id for a project's reserved-token splits.
18
+ */
19
+ export declare const RESERVED_TOKEN_SPLIT_GROUP_ID = 1n;
20
+ /**
21
+ * The group id for a project's payout splits of the given token:
22
+ * `uint256(uint160(token))`.
23
+ *
24
+ * Use the project's ACCOUNTING token (e.g. USDC for a USDC-accounting
25
+ * project), not the native-token sentinel, or payouts will be looked up
26
+ * under the wrong group.
27
+ */
28
+ export declare function payoutSplitGroupId(token: Address): bigint;
29
+ /**
30
+ * Scale integer shares so the group totals EXACTLY `SPLITS_TOTAL_PERCENT`
31
+ * (1e9), assigning the rounding remainder to the largest share (the first
32
+ * one, on ties). Per-row rounding drifts, and `JBSplits` reverts unless the
33
+ * group sums to exactly 1e9 — always run computed percents through this
34
+ * before encoding.
35
+ *
36
+ * @param shares Non-negative integer shares, each already denominated out of
37
+ * `SPLITS_TOTAL_PERCENT` (their sum should be ~1e9; only rounding drift is
38
+ * corrected here).
39
+ * @returns A new array summing to exactly `SPLITS_TOTAL_PERCENT`. An empty
40
+ * input returns an empty array (an empty group is valid).
41
+ * @throws If a share is negative or non-integer, or if the drift from
42
+ * `SPLITS_TOTAL_PERCENT` exceeds one unit per share (the input was not
43
+ * normalized to `SPLITS_TOTAL_PERCENT`).
44
+ */
45
+ export declare function fillSplitPercents(shares: number[]): number[];
46
+ /**
47
+ * Build a `JBSplit` with safe defaults: pays a beneficiary wallet directly
48
+ * (`projectId` 0, no hook, `preferAddToBalance` false, unlocked).
49
+ *
50
+ * @param args.beneficiary The address that receives the split.
51
+ * @param args.percent The split's share, out of `SPLITS_TOTAL_PERCENT` (1e9).
52
+ * Run computed groups through {@link fillSplitPercents} first.
53
+ * @param args.projectId Route the split to a project instead of a wallet
54
+ * (the beneficiary then receives that project's tokens). Defaults to 0n.
55
+ * @param args.preferAddToBalance For project-routed splits, use
56
+ * `addToBalanceOf` instead of `pay`. Defaults to false.
57
+ * @param args.lockedUntil Timestamp until which the split cannot be changed.
58
+ * Defaults to 0 (unlocked).
59
+ * @param args.hook A split hook contract to receive the split. Defaults to
60
+ * the zero address (no hook).
61
+ */
62
+ export declare function buildSplit(args: {
63
+ beneficiary: Address;
64
+ percent: number;
65
+ projectId?: bigint;
66
+ preferAddToBalance?: boolean;
67
+ lockedUntil?: number;
68
+ hook?: Address;
69
+ }): JBSplit;
70
+ /**
71
+ * Build a `JBController.setSplitGroupsOf` transaction request setting a
72
+ * project's split groups for a given ruleset.
73
+ *
74
+ * The caller must be the project's owner or have the `SET_SPLIT_GROUPS`
75
+ * permission. Each group must total exactly `SPLITS_TOTAL_PERCENT`.
76
+ *
77
+ * @param args.rulesetId The id of the ruleset the split groups apply to.
78
+ * @param args.splitGroups Use {@link RESERVED_TOKEN_SPLIT_GROUP_ID} for the
79
+ * reserved-token group and {@link payoutSplitGroupId} for payout groups.
80
+ */
81
+ export declare function buildSetSplitGroupsTx(args: {
82
+ chainId: JBChainId;
83
+ projectId: bigint;
84
+ rulesetId: bigint;
85
+ splitGroups: readonly JBSplitGroup[];
86
+ }): {
87
+ chainId: 1 | 10 | 11155111 | 11155420 | 421614 | 84532 | 42161 | 8453;
88
+ address: `0x${string}`;
89
+ abi: readonly [{
90
+ readonly type: "constructor";
91
+ readonly inputs: readonly [{
92
+ readonly name: "directory";
93
+ readonly internalType: "contract IJBDirectory";
94
+ readonly type: "address";
95
+ }, {
96
+ readonly name: "fundAccessLimits";
97
+ readonly internalType: "contract IJBFundAccessLimits";
98
+ readonly type: "address";
99
+ }, {
100
+ readonly name: "permissions";
101
+ readonly internalType: "contract IJBPermissions";
102
+ readonly type: "address";
103
+ }, {
104
+ readonly name: "prices";
105
+ readonly internalType: "contract IJBPrices";
106
+ readonly type: "address";
107
+ }, {
108
+ readonly name: "projects";
109
+ readonly internalType: "contract IJBProjects";
110
+ readonly type: "address";
111
+ }, {
112
+ readonly name: "rulesets";
113
+ readonly internalType: "contract IJBRulesets";
114
+ readonly type: "address";
115
+ }, {
116
+ readonly name: "splits";
117
+ readonly internalType: "contract IJBSplits";
118
+ readonly type: "address";
119
+ }, {
120
+ readonly name: "tokens";
121
+ readonly internalType: "contract IJBTokens";
122
+ readonly type: "address";
123
+ }, {
124
+ readonly name: "omnichainRulesetOperator";
125
+ readonly internalType: "address";
126
+ readonly type: "address";
127
+ }, {
128
+ readonly name: "trustedForwarder";
129
+ readonly internalType: "address";
130
+ readonly type: "address";
131
+ }];
132
+ readonly stateMutability: "nonpayable";
133
+ }, {
134
+ readonly type: "function";
135
+ readonly inputs: readonly [];
136
+ readonly name: "DIRECTORY";
137
+ readonly outputs: readonly [{
138
+ readonly name: "";
139
+ readonly internalType: "contract IJBDirectory";
140
+ readonly type: "address";
141
+ }];
142
+ readonly stateMutability: "view";
143
+ }, {
144
+ readonly type: "function";
145
+ readonly inputs: readonly [];
146
+ readonly name: "FUND_ACCESS_LIMITS";
147
+ readonly outputs: readonly [{
148
+ readonly name: "";
149
+ readonly internalType: "contract IJBFundAccessLimits";
150
+ readonly type: "address";
151
+ }];
152
+ readonly stateMutability: "view";
153
+ }, {
154
+ readonly type: "function";
155
+ readonly inputs: readonly [];
156
+ readonly name: "OMNICHAIN_RULESET_OPERATOR";
157
+ readonly outputs: readonly [{
158
+ readonly name: "";
159
+ readonly internalType: "address";
160
+ readonly type: "address";
161
+ }];
162
+ readonly stateMutability: "view";
163
+ }, {
164
+ readonly type: "function";
165
+ readonly inputs: readonly [];
166
+ readonly name: "PERMISSIONS";
167
+ readonly outputs: readonly [{
168
+ readonly name: "";
169
+ readonly internalType: "contract IJBPermissions";
170
+ readonly type: "address";
171
+ }];
172
+ readonly stateMutability: "view";
173
+ }, {
174
+ readonly type: "function";
175
+ readonly inputs: readonly [];
176
+ readonly name: "PRICES";
177
+ readonly outputs: readonly [{
178
+ readonly name: "";
179
+ readonly internalType: "contract IJBPrices";
180
+ readonly type: "address";
181
+ }];
182
+ readonly stateMutability: "view";
183
+ }, {
184
+ readonly type: "function";
185
+ readonly inputs: readonly [];
186
+ readonly name: "PROJECTS";
187
+ readonly outputs: readonly [{
188
+ readonly name: "";
189
+ readonly internalType: "contract IJBProjects";
190
+ readonly type: "address";
191
+ }];
192
+ readonly stateMutability: "view";
193
+ }, {
194
+ readonly type: "function";
195
+ readonly inputs: readonly [];
196
+ readonly name: "RULESETS";
197
+ readonly outputs: readonly [{
198
+ readonly name: "";
199
+ readonly internalType: "contract IJBRulesets";
200
+ readonly type: "address";
201
+ }];
202
+ readonly stateMutability: "view";
203
+ }, {
204
+ readonly type: "function";
205
+ readonly inputs: readonly [];
206
+ readonly name: "SPLITS";
207
+ readonly outputs: readonly [{
208
+ readonly name: "";
209
+ readonly internalType: "contract IJBSplits";
210
+ readonly type: "address";
211
+ }];
212
+ readonly stateMutability: "view";
213
+ }, {
214
+ readonly type: "function";
215
+ readonly inputs: readonly [];
216
+ readonly name: "TOKENS";
217
+ readonly outputs: readonly [{
218
+ readonly name: "";
219
+ readonly internalType: "contract IJBTokens";
220
+ readonly type: "address";
221
+ }];
222
+ readonly stateMutability: "view";
223
+ }, {
224
+ readonly type: "function";
225
+ readonly inputs: readonly [{
226
+ readonly name: "projectId";
227
+ readonly internalType: "uint256";
228
+ readonly type: "uint256";
229
+ }, {
230
+ readonly name: "pricingCurrency";
231
+ readonly internalType: "uint256";
232
+ readonly type: "uint256";
233
+ }, {
234
+ readonly name: "unitCurrency";
235
+ readonly internalType: "uint256";
236
+ readonly type: "uint256";
237
+ }, {
238
+ readonly name: "feed";
239
+ readonly internalType: "contract IJBPriceFeed";
240
+ readonly type: "address";
241
+ }];
242
+ readonly name: "addPriceFeedFor";
243
+ readonly outputs: readonly [];
244
+ readonly stateMutability: "nonpayable";
245
+ }, {
246
+ readonly type: "function";
247
+ readonly inputs: readonly [{
248
+ readonly name: "from";
249
+ readonly internalType: "contract IERC165";
250
+ readonly type: "address";
251
+ }, {
252
+ readonly name: "projectId";
253
+ readonly internalType: "uint256";
254
+ readonly type: "uint256";
255
+ }];
256
+ readonly name: "afterReceiveMigrationFrom";
257
+ readonly outputs: readonly [];
258
+ readonly stateMutability: "view";
259
+ }, {
260
+ readonly type: "function";
261
+ readonly inputs: readonly [{
262
+ readonly name: "projectId";
263
+ readonly internalType: "uint256";
264
+ readonly type: "uint256";
265
+ }, {
266
+ readonly name: "startingId";
267
+ readonly internalType: "uint256";
268
+ readonly type: "uint256";
269
+ }, {
270
+ readonly name: "size";
271
+ readonly internalType: "uint256";
272
+ readonly type: "uint256";
273
+ }];
274
+ readonly name: "allRulesetsOf";
275
+ readonly outputs: readonly [{
276
+ readonly name: "rulesets";
277
+ readonly internalType: "struct JBRulesetWithMetadata[]";
278
+ readonly type: "tuple[]";
279
+ readonly components: readonly [{
280
+ readonly name: "ruleset";
281
+ readonly internalType: "struct JBRuleset";
282
+ readonly type: "tuple";
283
+ readonly components: readonly [{
284
+ readonly name: "cycleNumber";
285
+ readonly internalType: "uint48";
286
+ readonly type: "uint48";
287
+ }, {
288
+ readonly name: "id";
289
+ readonly internalType: "uint48";
290
+ readonly type: "uint48";
291
+ }, {
292
+ readonly name: "basedOnId";
293
+ readonly internalType: "uint48";
294
+ readonly type: "uint48";
295
+ }, {
296
+ readonly name: "start";
297
+ readonly internalType: "uint48";
298
+ readonly type: "uint48";
299
+ }, {
300
+ readonly name: "duration";
301
+ readonly internalType: "uint32";
302
+ readonly type: "uint32";
303
+ }, {
304
+ readonly name: "weight";
305
+ readonly internalType: "uint112";
306
+ readonly type: "uint112";
307
+ }, {
308
+ readonly name: "weightCutPercent";
309
+ readonly internalType: "uint32";
310
+ readonly type: "uint32";
311
+ }, {
312
+ readonly name: "approvalHook";
313
+ readonly internalType: "contract IJBRulesetApprovalHook";
314
+ readonly type: "address";
315
+ }, {
316
+ readonly name: "metadata";
317
+ readonly internalType: "uint256";
318
+ readonly type: "uint256";
319
+ }];
320
+ }, {
321
+ readonly name: "metadata";
322
+ readonly internalType: "struct JBRulesetMetadata";
323
+ readonly type: "tuple";
324
+ readonly components: readonly [{
325
+ readonly name: "reservedPercent";
326
+ readonly internalType: "uint16";
327
+ readonly type: "uint16";
328
+ }, {
329
+ readonly name: "cashOutTaxRate";
330
+ readonly internalType: "uint16";
331
+ readonly type: "uint16";
332
+ }, {
333
+ readonly name: "baseCurrency";
334
+ readonly internalType: "uint32";
335
+ readonly type: "uint32";
336
+ }, {
337
+ readonly name: "pausePay";
338
+ readonly internalType: "bool";
339
+ readonly type: "bool";
340
+ }, {
341
+ readonly name: "pauseCreditTransfers";
342
+ readonly internalType: "bool";
343
+ readonly type: "bool";
344
+ }, {
345
+ readonly name: "allowOwnerMinting";
346
+ readonly internalType: "bool";
347
+ readonly type: "bool";
348
+ }, {
349
+ readonly name: "allowSetCustomToken";
350
+ readonly internalType: "bool";
351
+ readonly type: "bool";
352
+ }, {
353
+ readonly name: "allowTerminalMigration";
354
+ readonly internalType: "bool";
355
+ readonly type: "bool";
356
+ }, {
357
+ readonly name: "allowSetTerminals";
358
+ readonly internalType: "bool";
359
+ readonly type: "bool";
360
+ }, {
361
+ readonly name: "allowSetController";
362
+ readonly internalType: "bool";
363
+ readonly type: "bool";
364
+ }, {
365
+ readonly name: "allowAddAccountingContext";
366
+ readonly internalType: "bool";
367
+ readonly type: "bool";
368
+ }, {
369
+ readonly name: "allowAddPriceFeed";
370
+ readonly internalType: "bool";
371
+ readonly type: "bool";
372
+ }, {
373
+ readonly name: "ownerMustSendPayouts";
374
+ readonly internalType: "bool";
375
+ readonly type: "bool";
376
+ }, {
377
+ readonly name: "holdFees";
378
+ readonly internalType: "bool";
379
+ readonly type: "bool";
380
+ }, {
381
+ readonly name: "scopeCashOutsToLocalBalances";
382
+ readonly internalType: "bool";
383
+ readonly type: "bool";
384
+ }, {
385
+ readonly name: "useDataHookForPay";
386
+ readonly internalType: "bool";
387
+ readonly type: "bool";
388
+ }, {
389
+ readonly name: "useDataHookForCashOut";
390
+ readonly internalType: "bool";
391
+ readonly type: "bool";
392
+ }, {
393
+ readonly name: "dataHook";
394
+ readonly internalType: "address";
395
+ readonly type: "address";
396
+ }, {
397
+ readonly name: "metadata";
398
+ readonly internalType: "uint16";
399
+ readonly type: "uint16";
400
+ }];
401
+ }];
402
+ }];
403
+ readonly stateMutability: "view";
404
+ }, {
405
+ readonly type: "function";
406
+ readonly inputs: readonly [{
407
+ readonly name: "from";
408
+ readonly internalType: "contract IERC165";
409
+ readonly type: "address";
410
+ }, {
411
+ readonly name: "projectId";
412
+ readonly internalType: "uint256";
413
+ readonly type: "uint256";
414
+ }];
415
+ readonly name: "beforeReceiveMigrationFrom";
416
+ readonly outputs: readonly [];
417
+ readonly stateMutability: "nonpayable";
418
+ }, {
419
+ readonly type: "function";
420
+ readonly inputs: readonly [{
421
+ readonly name: "holder";
422
+ readonly internalType: "address";
423
+ readonly type: "address";
424
+ }, {
425
+ readonly name: "projectId";
426
+ readonly internalType: "uint256";
427
+ readonly type: "uint256";
428
+ }, {
429
+ readonly name: "tokenCount";
430
+ readonly internalType: "uint256";
431
+ readonly type: "uint256";
432
+ }, {
433
+ readonly name: "memo";
434
+ readonly internalType: "string";
435
+ readonly type: "string";
436
+ }];
437
+ readonly name: "burnTokensOf";
438
+ readonly outputs: readonly [];
439
+ readonly stateMutability: "nonpayable";
440
+ }, {
441
+ readonly type: "function";
442
+ readonly inputs: readonly [{
443
+ readonly name: "holder";
444
+ readonly internalType: "address";
445
+ readonly type: "address";
446
+ }, {
447
+ readonly name: "projectId";
448
+ readonly internalType: "uint256";
449
+ readonly type: "uint256";
450
+ }, {
451
+ readonly name: "tokenCount";
452
+ readonly internalType: "uint256";
453
+ readonly type: "uint256";
454
+ }, {
455
+ readonly name: "beneficiary";
456
+ readonly internalType: "address";
457
+ readonly type: "address";
458
+ }];
459
+ readonly name: "claimTokensFor";
460
+ readonly outputs: readonly [];
461
+ readonly stateMutability: "nonpayable";
462
+ }, {
463
+ readonly type: "function";
464
+ readonly inputs: readonly [{
465
+ readonly name: "projectId";
466
+ readonly internalType: "uint256";
467
+ readonly type: "uint256";
468
+ }];
469
+ readonly name: "currentRulesetOf";
470
+ readonly outputs: readonly [{
471
+ readonly name: "ruleset";
472
+ readonly internalType: "struct JBRuleset";
473
+ readonly type: "tuple";
474
+ readonly components: readonly [{
475
+ readonly name: "cycleNumber";
476
+ readonly internalType: "uint48";
477
+ readonly type: "uint48";
478
+ }, {
479
+ readonly name: "id";
480
+ readonly internalType: "uint48";
481
+ readonly type: "uint48";
482
+ }, {
483
+ readonly name: "basedOnId";
484
+ readonly internalType: "uint48";
485
+ readonly type: "uint48";
486
+ }, {
487
+ readonly name: "start";
488
+ readonly internalType: "uint48";
489
+ readonly type: "uint48";
490
+ }, {
491
+ readonly name: "duration";
492
+ readonly internalType: "uint32";
493
+ readonly type: "uint32";
494
+ }, {
495
+ readonly name: "weight";
496
+ readonly internalType: "uint112";
497
+ readonly type: "uint112";
498
+ }, {
499
+ readonly name: "weightCutPercent";
500
+ readonly internalType: "uint32";
501
+ readonly type: "uint32";
502
+ }, {
503
+ readonly name: "approvalHook";
504
+ readonly internalType: "contract IJBRulesetApprovalHook";
505
+ readonly type: "address";
506
+ }, {
507
+ readonly name: "metadata";
508
+ readonly internalType: "uint256";
509
+ readonly type: "uint256";
510
+ }];
511
+ }, {
512
+ readonly name: "metadata";
513
+ readonly internalType: "struct JBRulesetMetadata";
514
+ readonly type: "tuple";
515
+ readonly components: readonly [{
516
+ readonly name: "reservedPercent";
517
+ readonly internalType: "uint16";
518
+ readonly type: "uint16";
519
+ }, {
520
+ readonly name: "cashOutTaxRate";
521
+ readonly internalType: "uint16";
522
+ readonly type: "uint16";
523
+ }, {
524
+ readonly name: "baseCurrency";
525
+ readonly internalType: "uint32";
526
+ readonly type: "uint32";
527
+ }, {
528
+ readonly name: "pausePay";
529
+ readonly internalType: "bool";
530
+ readonly type: "bool";
531
+ }, {
532
+ readonly name: "pauseCreditTransfers";
533
+ readonly internalType: "bool";
534
+ readonly type: "bool";
535
+ }, {
536
+ readonly name: "allowOwnerMinting";
537
+ readonly internalType: "bool";
538
+ readonly type: "bool";
539
+ }, {
540
+ readonly name: "allowSetCustomToken";
541
+ readonly internalType: "bool";
542
+ readonly type: "bool";
543
+ }, {
544
+ readonly name: "allowTerminalMigration";
545
+ readonly internalType: "bool";
546
+ readonly type: "bool";
547
+ }, {
548
+ readonly name: "allowSetTerminals";
549
+ readonly internalType: "bool";
550
+ readonly type: "bool";
551
+ }, {
552
+ readonly name: "allowSetController";
553
+ readonly internalType: "bool";
554
+ readonly type: "bool";
555
+ }, {
556
+ readonly name: "allowAddAccountingContext";
557
+ readonly internalType: "bool";
558
+ readonly type: "bool";
559
+ }, {
560
+ readonly name: "allowAddPriceFeed";
561
+ readonly internalType: "bool";
562
+ readonly type: "bool";
563
+ }, {
564
+ readonly name: "ownerMustSendPayouts";
565
+ readonly internalType: "bool";
566
+ readonly type: "bool";
567
+ }, {
568
+ readonly name: "holdFees";
569
+ readonly internalType: "bool";
570
+ readonly type: "bool";
571
+ }, {
572
+ readonly name: "scopeCashOutsToLocalBalances";
573
+ readonly internalType: "bool";
574
+ readonly type: "bool";
575
+ }, {
576
+ readonly name: "useDataHookForPay";
577
+ readonly internalType: "bool";
578
+ readonly type: "bool";
579
+ }, {
580
+ readonly name: "useDataHookForCashOut";
581
+ readonly internalType: "bool";
582
+ readonly type: "bool";
583
+ }, {
584
+ readonly name: "dataHook";
585
+ readonly internalType: "address";
586
+ readonly type: "address";
587
+ }, {
588
+ readonly name: "metadata";
589
+ readonly internalType: "uint16";
590
+ readonly type: "uint16";
591
+ }];
592
+ }];
593
+ readonly stateMutability: "view";
594
+ }, {
595
+ readonly type: "function";
596
+ readonly inputs: readonly [{
597
+ readonly name: "projectId";
598
+ readonly internalType: "uint256";
599
+ readonly type: "uint256";
600
+ }, {
601
+ readonly name: "name";
602
+ readonly internalType: "string";
603
+ readonly type: "string";
604
+ }, {
605
+ readonly name: "symbol";
606
+ readonly internalType: "string";
607
+ readonly type: "string";
608
+ }, {
609
+ readonly name: "salt";
610
+ readonly internalType: "bytes32";
611
+ readonly type: "bytes32";
612
+ }];
613
+ readonly name: "deployERC20For";
614
+ readonly outputs: readonly [{
615
+ readonly name: "token";
616
+ readonly internalType: "contract IJBToken";
617
+ readonly type: "address";
618
+ }];
619
+ readonly stateMutability: "nonpayable";
620
+ }, {
621
+ readonly type: "function";
622
+ readonly inputs: readonly [{
623
+ readonly name: "terminal";
624
+ readonly internalType: "contract IJBTerminal";
625
+ readonly type: "address";
626
+ }, {
627
+ readonly name: "projectId";
628
+ readonly internalType: "uint256";
629
+ readonly type: "uint256";
630
+ }, {
631
+ readonly name: "token";
632
+ readonly internalType: "contract IJBToken";
633
+ readonly type: "address";
634
+ }, {
635
+ readonly name: "splitTokenCount";
636
+ readonly internalType: "uint256";
637
+ readonly type: "uint256";
638
+ }, {
639
+ readonly name: "beneficiary";
640
+ readonly internalType: "address";
641
+ readonly type: "address";
642
+ }, {
643
+ readonly name: "metadata";
644
+ readonly internalType: "bytes";
645
+ readonly type: "bytes";
646
+ }];
647
+ readonly name: "executePayReservedTokenToTerminal";
648
+ readonly outputs: readonly [];
649
+ readonly stateMutability: "nonpayable";
650
+ }, {
651
+ readonly type: "function";
652
+ readonly inputs: readonly [{
653
+ readonly name: "projectId";
654
+ readonly internalType: "uint256";
655
+ readonly type: "uint256";
656
+ }, {
657
+ readonly name: "rulesetId";
658
+ readonly internalType: "uint256";
659
+ readonly type: "uint256";
660
+ }];
661
+ readonly name: "getRulesetOf";
662
+ readonly outputs: readonly [{
663
+ readonly name: "ruleset";
664
+ readonly internalType: "struct JBRuleset";
665
+ readonly type: "tuple";
666
+ readonly components: readonly [{
667
+ readonly name: "cycleNumber";
668
+ readonly internalType: "uint48";
669
+ readonly type: "uint48";
670
+ }, {
671
+ readonly name: "id";
672
+ readonly internalType: "uint48";
673
+ readonly type: "uint48";
674
+ }, {
675
+ readonly name: "basedOnId";
676
+ readonly internalType: "uint48";
677
+ readonly type: "uint48";
678
+ }, {
679
+ readonly name: "start";
680
+ readonly internalType: "uint48";
681
+ readonly type: "uint48";
682
+ }, {
683
+ readonly name: "duration";
684
+ readonly internalType: "uint32";
685
+ readonly type: "uint32";
686
+ }, {
687
+ readonly name: "weight";
688
+ readonly internalType: "uint112";
689
+ readonly type: "uint112";
690
+ }, {
691
+ readonly name: "weightCutPercent";
692
+ readonly internalType: "uint32";
693
+ readonly type: "uint32";
694
+ }, {
695
+ readonly name: "approvalHook";
696
+ readonly internalType: "contract IJBRulesetApprovalHook";
697
+ readonly type: "address";
698
+ }, {
699
+ readonly name: "metadata";
700
+ readonly internalType: "uint256";
701
+ readonly type: "uint256";
702
+ }];
703
+ }, {
704
+ readonly name: "metadata";
705
+ readonly internalType: "struct JBRulesetMetadata";
706
+ readonly type: "tuple";
707
+ readonly components: readonly [{
708
+ readonly name: "reservedPercent";
709
+ readonly internalType: "uint16";
710
+ readonly type: "uint16";
711
+ }, {
712
+ readonly name: "cashOutTaxRate";
713
+ readonly internalType: "uint16";
714
+ readonly type: "uint16";
715
+ }, {
716
+ readonly name: "baseCurrency";
717
+ readonly internalType: "uint32";
718
+ readonly type: "uint32";
719
+ }, {
720
+ readonly name: "pausePay";
721
+ readonly internalType: "bool";
722
+ readonly type: "bool";
723
+ }, {
724
+ readonly name: "pauseCreditTransfers";
725
+ readonly internalType: "bool";
726
+ readonly type: "bool";
727
+ }, {
728
+ readonly name: "allowOwnerMinting";
729
+ readonly internalType: "bool";
730
+ readonly type: "bool";
731
+ }, {
732
+ readonly name: "allowSetCustomToken";
733
+ readonly internalType: "bool";
734
+ readonly type: "bool";
735
+ }, {
736
+ readonly name: "allowTerminalMigration";
737
+ readonly internalType: "bool";
738
+ readonly type: "bool";
739
+ }, {
740
+ readonly name: "allowSetTerminals";
741
+ readonly internalType: "bool";
742
+ readonly type: "bool";
743
+ }, {
744
+ readonly name: "allowSetController";
745
+ readonly internalType: "bool";
746
+ readonly type: "bool";
747
+ }, {
748
+ readonly name: "allowAddAccountingContext";
749
+ readonly internalType: "bool";
750
+ readonly type: "bool";
751
+ }, {
752
+ readonly name: "allowAddPriceFeed";
753
+ readonly internalType: "bool";
754
+ readonly type: "bool";
755
+ }, {
756
+ readonly name: "ownerMustSendPayouts";
757
+ readonly internalType: "bool";
758
+ readonly type: "bool";
759
+ }, {
760
+ readonly name: "holdFees";
761
+ readonly internalType: "bool";
762
+ readonly type: "bool";
763
+ }, {
764
+ readonly name: "scopeCashOutsToLocalBalances";
765
+ readonly internalType: "bool";
766
+ readonly type: "bool";
767
+ }, {
768
+ readonly name: "useDataHookForPay";
769
+ readonly internalType: "bool";
770
+ readonly type: "bool";
771
+ }, {
772
+ readonly name: "useDataHookForCashOut";
773
+ readonly internalType: "bool";
774
+ readonly type: "bool";
775
+ }, {
776
+ readonly name: "dataHook";
777
+ readonly internalType: "address";
778
+ readonly type: "address";
779
+ }, {
780
+ readonly name: "metadata";
781
+ readonly internalType: "uint16";
782
+ readonly type: "uint16";
783
+ }];
784
+ }];
785
+ readonly stateMutability: "view";
786
+ }, {
787
+ readonly type: "function";
788
+ readonly inputs: readonly [{
789
+ readonly name: "forwarder";
790
+ readonly internalType: "address";
791
+ readonly type: "address";
792
+ }];
793
+ readonly name: "isTrustedForwarder";
794
+ readonly outputs: readonly [{
795
+ readonly name: "";
796
+ readonly internalType: "bool";
797
+ readonly type: "bool";
798
+ }];
799
+ readonly stateMutability: "view";
800
+ }, {
801
+ readonly type: "function";
802
+ readonly inputs: readonly [{
803
+ readonly name: "projectId";
804
+ readonly internalType: "uint256";
805
+ readonly type: "uint256";
806
+ }];
807
+ readonly name: "latestQueuedRulesetOf";
808
+ readonly outputs: readonly [{
809
+ readonly name: "ruleset";
810
+ readonly internalType: "struct JBRuleset";
811
+ readonly type: "tuple";
812
+ readonly components: readonly [{
813
+ readonly name: "cycleNumber";
814
+ readonly internalType: "uint48";
815
+ readonly type: "uint48";
816
+ }, {
817
+ readonly name: "id";
818
+ readonly internalType: "uint48";
819
+ readonly type: "uint48";
820
+ }, {
821
+ readonly name: "basedOnId";
822
+ readonly internalType: "uint48";
823
+ readonly type: "uint48";
824
+ }, {
825
+ readonly name: "start";
826
+ readonly internalType: "uint48";
827
+ readonly type: "uint48";
828
+ }, {
829
+ readonly name: "duration";
830
+ readonly internalType: "uint32";
831
+ readonly type: "uint32";
832
+ }, {
833
+ readonly name: "weight";
834
+ readonly internalType: "uint112";
835
+ readonly type: "uint112";
836
+ }, {
837
+ readonly name: "weightCutPercent";
838
+ readonly internalType: "uint32";
839
+ readonly type: "uint32";
840
+ }, {
841
+ readonly name: "approvalHook";
842
+ readonly internalType: "contract IJBRulesetApprovalHook";
843
+ readonly type: "address";
844
+ }, {
845
+ readonly name: "metadata";
846
+ readonly internalType: "uint256";
847
+ readonly type: "uint256";
848
+ }];
849
+ }, {
850
+ readonly name: "metadata";
851
+ readonly internalType: "struct JBRulesetMetadata";
852
+ readonly type: "tuple";
853
+ readonly components: readonly [{
854
+ readonly name: "reservedPercent";
855
+ readonly internalType: "uint16";
856
+ readonly type: "uint16";
857
+ }, {
858
+ readonly name: "cashOutTaxRate";
859
+ readonly internalType: "uint16";
860
+ readonly type: "uint16";
861
+ }, {
862
+ readonly name: "baseCurrency";
863
+ readonly internalType: "uint32";
864
+ readonly type: "uint32";
865
+ }, {
866
+ readonly name: "pausePay";
867
+ readonly internalType: "bool";
868
+ readonly type: "bool";
869
+ }, {
870
+ readonly name: "pauseCreditTransfers";
871
+ readonly internalType: "bool";
872
+ readonly type: "bool";
873
+ }, {
874
+ readonly name: "allowOwnerMinting";
875
+ readonly internalType: "bool";
876
+ readonly type: "bool";
877
+ }, {
878
+ readonly name: "allowSetCustomToken";
879
+ readonly internalType: "bool";
880
+ readonly type: "bool";
881
+ }, {
882
+ readonly name: "allowTerminalMigration";
883
+ readonly internalType: "bool";
884
+ readonly type: "bool";
885
+ }, {
886
+ readonly name: "allowSetTerminals";
887
+ readonly internalType: "bool";
888
+ readonly type: "bool";
889
+ }, {
890
+ readonly name: "allowSetController";
891
+ readonly internalType: "bool";
892
+ readonly type: "bool";
893
+ }, {
894
+ readonly name: "allowAddAccountingContext";
895
+ readonly internalType: "bool";
896
+ readonly type: "bool";
897
+ }, {
898
+ readonly name: "allowAddPriceFeed";
899
+ readonly internalType: "bool";
900
+ readonly type: "bool";
901
+ }, {
902
+ readonly name: "ownerMustSendPayouts";
903
+ readonly internalType: "bool";
904
+ readonly type: "bool";
905
+ }, {
906
+ readonly name: "holdFees";
907
+ readonly internalType: "bool";
908
+ readonly type: "bool";
909
+ }, {
910
+ readonly name: "scopeCashOutsToLocalBalances";
911
+ readonly internalType: "bool";
912
+ readonly type: "bool";
913
+ }, {
914
+ readonly name: "useDataHookForPay";
915
+ readonly internalType: "bool";
916
+ readonly type: "bool";
917
+ }, {
918
+ readonly name: "useDataHookForCashOut";
919
+ readonly internalType: "bool";
920
+ readonly type: "bool";
921
+ }, {
922
+ readonly name: "dataHook";
923
+ readonly internalType: "address";
924
+ readonly type: "address";
925
+ }, {
926
+ readonly name: "metadata";
927
+ readonly internalType: "uint16";
928
+ readonly type: "uint16";
929
+ }];
930
+ }, {
931
+ readonly name: "approvalStatus";
932
+ readonly internalType: "enum JBApprovalStatus";
933
+ readonly type: "uint8";
934
+ }];
935
+ readonly stateMutability: "view";
936
+ }, {
937
+ readonly type: "function";
938
+ readonly inputs: readonly [{
939
+ readonly name: "owner";
940
+ readonly internalType: "address";
941
+ readonly type: "address";
942
+ }, {
943
+ readonly name: "projectUri";
944
+ readonly internalType: "string";
945
+ readonly type: "string";
946
+ }, {
947
+ readonly name: "rulesetConfigurations";
948
+ readonly internalType: "struct JBRulesetConfig[]";
949
+ readonly type: "tuple[]";
950
+ readonly components: readonly [{
951
+ readonly name: "mustStartAtOrAfter";
952
+ readonly internalType: "uint48";
953
+ readonly type: "uint48";
954
+ }, {
955
+ readonly name: "duration";
956
+ readonly internalType: "uint32";
957
+ readonly type: "uint32";
958
+ }, {
959
+ readonly name: "weight";
960
+ readonly internalType: "uint112";
961
+ readonly type: "uint112";
962
+ }, {
963
+ readonly name: "weightCutPercent";
964
+ readonly internalType: "uint32";
965
+ readonly type: "uint32";
966
+ }, {
967
+ readonly name: "approvalHook";
968
+ readonly internalType: "contract IJBRulesetApprovalHook";
969
+ readonly type: "address";
970
+ }, {
971
+ readonly name: "metadata";
972
+ readonly internalType: "struct JBRulesetMetadata";
973
+ readonly type: "tuple";
974
+ readonly components: readonly [{
975
+ readonly name: "reservedPercent";
976
+ readonly internalType: "uint16";
977
+ readonly type: "uint16";
978
+ }, {
979
+ readonly name: "cashOutTaxRate";
980
+ readonly internalType: "uint16";
981
+ readonly type: "uint16";
982
+ }, {
983
+ readonly name: "baseCurrency";
984
+ readonly internalType: "uint32";
985
+ readonly type: "uint32";
986
+ }, {
987
+ readonly name: "pausePay";
988
+ readonly internalType: "bool";
989
+ readonly type: "bool";
990
+ }, {
991
+ readonly name: "pauseCreditTransfers";
992
+ readonly internalType: "bool";
993
+ readonly type: "bool";
994
+ }, {
995
+ readonly name: "allowOwnerMinting";
996
+ readonly internalType: "bool";
997
+ readonly type: "bool";
998
+ }, {
999
+ readonly name: "allowSetCustomToken";
1000
+ readonly internalType: "bool";
1001
+ readonly type: "bool";
1002
+ }, {
1003
+ readonly name: "allowTerminalMigration";
1004
+ readonly internalType: "bool";
1005
+ readonly type: "bool";
1006
+ }, {
1007
+ readonly name: "allowSetTerminals";
1008
+ readonly internalType: "bool";
1009
+ readonly type: "bool";
1010
+ }, {
1011
+ readonly name: "allowSetController";
1012
+ readonly internalType: "bool";
1013
+ readonly type: "bool";
1014
+ }, {
1015
+ readonly name: "allowAddAccountingContext";
1016
+ readonly internalType: "bool";
1017
+ readonly type: "bool";
1018
+ }, {
1019
+ readonly name: "allowAddPriceFeed";
1020
+ readonly internalType: "bool";
1021
+ readonly type: "bool";
1022
+ }, {
1023
+ readonly name: "ownerMustSendPayouts";
1024
+ readonly internalType: "bool";
1025
+ readonly type: "bool";
1026
+ }, {
1027
+ readonly name: "holdFees";
1028
+ readonly internalType: "bool";
1029
+ readonly type: "bool";
1030
+ }, {
1031
+ readonly name: "scopeCashOutsToLocalBalances";
1032
+ readonly internalType: "bool";
1033
+ readonly type: "bool";
1034
+ }, {
1035
+ readonly name: "useDataHookForPay";
1036
+ readonly internalType: "bool";
1037
+ readonly type: "bool";
1038
+ }, {
1039
+ readonly name: "useDataHookForCashOut";
1040
+ readonly internalType: "bool";
1041
+ readonly type: "bool";
1042
+ }, {
1043
+ readonly name: "dataHook";
1044
+ readonly internalType: "address";
1045
+ readonly type: "address";
1046
+ }, {
1047
+ readonly name: "metadata";
1048
+ readonly internalType: "uint16";
1049
+ readonly type: "uint16";
1050
+ }];
1051
+ }, {
1052
+ readonly name: "splitGroups";
1053
+ readonly internalType: "struct JBSplitGroup[]";
1054
+ readonly type: "tuple[]";
1055
+ readonly components: readonly [{
1056
+ readonly name: "groupId";
1057
+ readonly internalType: "uint256";
1058
+ readonly type: "uint256";
1059
+ }, {
1060
+ readonly name: "splits";
1061
+ readonly internalType: "struct JBSplit[]";
1062
+ readonly type: "tuple[]";
1063
+ readonly components: readonly [{
1064
+ readonly name: "percent";
1065
+ readonly internalType: "uint32";
1066
+ readonly type: "uint32";
1067
+ }, {
1068
+ readonly name: "projectId";
1069
+ readonly internalType: "uint64";
1070
+ readonly type: "uint64";
1071
+ }, {
1072
+ readonly name: "beneficiary";
1073
+ readonly internalType: "address payable";
1074
+ readonly type: "address";
1075
+ }, {
1076
+ readonly name: "preferAddToBalance";
1077
+ readonly internalType: "bool";
1078
+ readonly type: "bool";
1079
+ }, {
1080
+ readonly name: "lockedUntil";
1081
+ readonly internalType: "uint48";
1082
+ readonly type: "uint48";
1083
+ }, {
1084
+ readonly name: "hook";
1085
+ readonly internalType: "contract IJBSplitHook";
1086
+ readonly type: "address";
1087
+ }];
1088
+ }];
1089
+ }, {
1090
+ readonly name: "fundAccessLimitGroups";
1091
+ readonly internalType: "struct JBFundAccessLimitGroup[]";
1092
+ readonly type: "tuple[]";
1093
+ readonly components: readonly [{
1094
+ readonly name: "terminal";
1095
+ readonly internalType: "address";
1096
+ readonly type: "address";
1097
+ }, {
1098
+ readonly name: "token";
1099
+ readonly internalType: "address";
1100
+ readonly type: "address";
1101
+ }, {
1102
+ readonly name: "payoutLimits";
1103
+ readonly internalType: "struct JBCurrencyAmount[]";
1104
+ readonly type: "tuple[]";
1105
+ readonly components: readonly [{
1106
+ readonly name: "amount";
1107
+ readonly internalType: "uint224";
1108
+ readonly type: "uint224";
1109
+ }, {
1110
+ readonly name: "currency";
1111
+ readonly internalType: "uint32";
1112
+ readonly type: "uint32";
1113
+ }];
1114
+ }, {
1115
+ readonly name: "surplusAllowances";
1116
+ readonly internalType: "struct JBCurrencyAmount[]";
1117
+ readonly type: "tuple[]";
1118
+ readonly components: readonly [{
1119
+ readonly name: "amount";
1120
+ readonly internalType: "uint224";
1121
+ readonly type: "uint224";
1122
+ }, {
1123
+ readonly name: "currency";
1124
+ readonly internalType: "uint32";
1125
+ readonly type: "uint32";
1126
+ }];
1127
+ }];
1128
+ }];
1129
+ }, {
1130
+ readonly name: "terminalConfigurations";
1131
+ readonly internalType: "struct JBTerminalConfig[]";
1132
+ readonly type: "tuple[]";
1133
+ readonly components: readonly [{
1134
+ readonly name: "terminal";
1135
+ readonly internalType: "contract IJBTerminal";
1136
+ readonly type: "address";
1137
+ }, {
1138
+ readonly name: "accountingContextsToAccept";
1139
+ readonly internalType: "struct JBAccountingContext[]";
1140
+ readonly type: "tuple[]";
1141
+ readonly components: readonly [{
1142
+ readonly name: "token";
1143
+ readonly internalType: "address";
1144
+ readonly type: "address";
1145
+ }, {
1146
+ readonly name: "decimals";
1147
+ readonly internalType: "uint8";
1148
+ readonly type: "uint8";
1149
+ }, {
1150
+ readonly name: "currency";
1151
+ readonly internalType: "uint32";
1152
+ readonly type: "uint32";
1153
+ }];
1154
+ }];
1155
+ }, {
1156
+ readonly name: "memo";
1157
+ readonly internalType: "string";
1158
+ readonly type: "string";
1159
+ }];
1160
+ readonly name: "launchProjectFor";
1161
+ readonly outputs: readonly [{
1162
+ readonly name: "projectId";
1163
+ readonly internalType: "uint256";
1164
+ readonly type: "uint256";
1165
+ }];
1166
+ readonly stateMutability: "payable";
1167
+ }, {
1168
+ readonly type: "function";
1169
+ readonly inputs: readonly [{
1170
+ readonly name: "projectId";
1171
+ readonly internalType: "uint256";
1172
+ readonly type: "uint256";
1173
+ }, {
1174
+ readonly name: "projectUri";
1175
+ readonly internalType: "string";
1176
+ readonly type: "string";
1177
+ }, {
1178
+ readonly name: "rulesetConfigurations";
1179
+ readonly internalType: "struct JBRulesetConfig[]";
1180
+ readonly type: "tuple[]";
1181
+ readonly components: readonly [{
1182
+ readonly name: "mustStartAtOrAfter";
1183
+ readonly internalType: "uint48";
1184
+ readonly type: "uint48";
1185
+ }, {
1186
+ readonly name: "duration";
1187
+ readonly internalType: "uint32";
1188
+ readonly type: "uint32";
1189
+ }, {
1190
+ readonly name: "weight";
1191
+ readonly internalType: "uint112";
1192
+ readonly type: "uint112";
1193
+ }, {
1194
+ readonly name: "weightCutPercent";
1195
+ readonly internalType: "uint32";
1196
+ readonly type: "uint32";
1197
+ }, {
1198
+ readonly name: "approvalHook";
1199
+ readonly internalType: "contract IJBRulesetApprovalHook";
1200
+ readonly type: "address";
1201
+ }, {
1202
+ readonly name: "metadata";
1203
+ readonly internalType: "struct JBRulesetMetadata";
1204
+ readonly type: "tuple";
1205
+ readonly components: readonly [{
1206
+ readonly name: "reservedPercent";
1207
+ readonly internalType: "uint16";
1208
+ readonly type: "uint16";
1209
+ }, {
1210
+ readonly name: "cashOutTaxRate";
1211
+ readonly internalType: "uint16";
1212
+ readonly type: "uint16";
1213
+ }, {
1214
+ readonly name: "baseCurrency";
1215
+ readonly internalType: "uint32";
1216
+ readonly type: "uint32";
1217
+ }, {
1218
+ readonly name: "pausePay";
1219
+ readonly internalType: "bool";
1220
+ readonly type: "bool";
1221
+ }, {
1222
+ readonly name: "pauseCreditTransfers";
1223
+ readonly internalType: "bool";
1224
+ readonly type: "bool";
1225
+ }, {
1226
+ readonly name: "allowOwnerMinting";
1227
+ readonly internalType: "bool";
1228
+ readonly type: "bool";
1229
+ }, {
1230
+ readonly name: "allowSetCustomToken";
1231
+ readonly internalType: "bool";
1232
+ readonly type: "bool";
1233
+ }, {
1234
+ readonly name: "allowTerminalMigration";
1235
+ readonly internalType: "bool";
1236
+ readonly type: "bool";
1237
+ }, {
1238
+ readonly name: "allowSetTerminals";
1239
+ readonly internalType: "bool";
1240
+ readonly type: "bool";
1241
+ }, {
1242
+ readonly name: "allowSetController";
1243
+ readonly internalType: "bool";
1244
+ readonly type: "bool";
1245
+ }, {
1246
+ readonly name: "allowAddAccountingContext";
1247
+ readonly internalType: "bool";
1248
+ readonly type: "bool";
1249
+ }, {
1250
+ readonly name: "allowAddPriceFeed";
1251
+ readonly internalType: "bool";
1252
+ readonly type: "bool";
1253
+ }, {
1254
+ readonly name: "ownerMustSendPayouts";
1255
+ readonly internalType: "bool";
1256
+ readonly type: "bool";
1257
+ }, {
1258
+ readonly name: "holdFees";
1259
+ readonly internalType: "bool";
1260
+ readonly type: "bool";
1261
+ }, {
1262
+ readonly name: "scopeCashOutsToLocalBalances";
1263
+ readonly internalType: "bool";
1264
+ readonly type: "bool";
1265
+ }, {
1266
+ readonly name: "useDataHookForPay";
1267
+ readonly internalType: "bool";
1268
+ readonly type: "bool";
1269
+ }, {
1270
+ readonly name: "useDataHookForCashOut";
1271
+ readonly internalType: "bool";
1272
+ readonly type: "bool";
1273
+ }, {
1274
+ readonly name: "dataHook";
1275
+ readonly internalType: "address";
1276
+ readonly type: "address";
1277
+ }, {
1278
+ readonly name: "metadata";
1279
+ readonly internalType: "uint16";
1280
+ readonly type: "uint16";
1281
+ }];
1282
+ }, {
1283
+ readonly name: "splitGroups";
1284
+ readonly internalType: "struct JBSplitGroup[]";
1285
+ readonly type: "tuple[]";
1286
+ readonly components: readonly [{
1287
+ readonly name: "groupId";
1288
+ readonly internalType: "uint256";
1289
+ readonly type: "uint256";
1290
+ }, {
1291
+ readonly name: "splits";
1292
+ readonly internalType: "struct JBSplit[]";
1293
+ readonly type: "tuple[]";
1294
+ readonly components: readonly [{
1295
+ readonly name: "percent";
1296
+ readonly internalType: "uint32";
1297
+ readonly type: "uint32";
1298
+ }, {
1299
+ readonly name: "projectId";
1300
+ readonly internalType: "uint64";
1301
+ readonly type: "uint64";
1302
+ }, {
1303
+ readonly name: "beneficiary";
1304
+ readonly internalType: "address payable";
1305
+ readonly type: "address";
1306
+ }, {
1307
+ readonly name: "preferAddToBalance";
1308
+ readonly internalType: "bool";
1309
+ readonly type: "bool";
1310
+ }, {
1311
+ readonly name: "lockedUntil";
1312
+ readonly internalType: "uint48";
1313
+ readonly type: "uint48";
1314
+ }, {
1315
+ readonly name: "hook";
1316
+ readonly internalType: "contract IJBSplitHook";
1317
+ readonly type: "address";
1318
+ }];
1319
+ }];
1320
+ }, {
1321
+ readonly name: "fundAccessLimitGroups";
1322
+ readonly internalType: "struct JBFundAccessLimitGroup[]";
1323
+ readonly type: "tuple[]";
1324
+ readonly components: readonly [{
1325
+ readonly name: "terminal";
1326
+ readonly internalType: "address";
1327
+ readonly type: "address";
1328
+ }, {
1329
+ readonly name: "token";
1330
+ readonly internalType: "address";
1331
+ readonly type: "address";
1332
+ }, {
1333
+ readonly name: "payoutLimits";
1334
+ readonly internalType: "struct JBCurrencyAmount[]";
1335
+ readonly type: "tuple[]";
1336
+ readonly components: readonly [{
1337
+ readonly name: "amount";
1338
+ readonly internalType: "uint224";
1339
+ readonly type: "uint224";
1340
+ }, {
1341
+ readonly name: "currency";
1342
+ readonly internalType: "uint32";
1343
+ readonly type: "uint32";
1344
+ }];
1345
+ }, {
1346
+ readonly name: "surplusAllowances";
1347
+ readonly internalType: "struct JBCurrencyAmount[]";
1348
+ readonly type: "tuple[]";
1349
+ readonly components: readonly [{
1350
+ readonly name: "amount";
1351
+ readonly internalType: "uint224";
1352
+ readonly type: "uint224";
1353
+ }, {
1354
+ readonly name: "currency";
1355
+ readonly internalType: "uint32";
1356
+ readonly type: "uint32";
1357
+ }];
1358
+ }];
1359
+ }];
1360
+ }, {
1361
+ readonly name: "terminalConfigurations";
1362
+ readonly internalType: "struct JBTerminalConfig[]";
1363
+ readonly type: "tuple[]";
1364
+ readonly components: readonly [{
1365
+ readonly name: "terminal";
1366
+ readonly internalType: "contract IJBTerminal";
1367
+ readonly type: "address";
1368
+ }, {
1369
+ readonly name: "accountingContextsToAccept";
1370
+ readonly internalType: "struct JBAccountingContext[]";
1371
+ readonly type: "tuple[]";
1372
+ readonly components: readonly [{
1373
+ readonly name: "token";
1374
+ readonly internalType: "address";
1375
+ readonly type: "address";
1376
+ }, {
1377
+ readonly name: "decimals";
1378
+ readonly internalType: "uint8";
1379
+ readonly type: "uint8";
1380
+ }, {
1381
+ readonly name: "currency";
1382
+ readonly internalType: "uint32";
1383
+ readonly type: "uint32";
1384
+ }];
1385
+ }];
1386
+ }, {
1387
+ readonly name: "memo";
1388
+ readonly internalType: "string";
1389
+ readonly type: "string";
1390
+ }];
1391
+ readonly name: "launchRulesetsFor";
1392
+ readonly outputs: readonly [{
1393
+ readonly name: "rulesetId";
1394
+ readonly internalType: "uint256";
1395
+ readonly type: "uint256";
1396
+ }];
1397
+ readonly stateMutability: "nonpayable";
1398
+ }, {
1399
+ readonly type: "function";
1400
+ readonly inputs: readonly [{
1401
+ readonly name: "projectId";
1402
+ readonly internalType: "uint256";
1403
+ readonly type: "uint256";
1404
+ }, {
1405
+ readonly name: "to";
1406
+ readonly internalType: "contract IERC165";
1407
+ readonly type: "address";
1408
+ }];
1409
+ readonly name: "migrate";
1410
+ readonly outputs: readonly [];
1411
+ readonly stateMutability: "nonpayable";
1412
+ }, {
1413
+ readonly type: "function";
1414
+ readonly inputs: readonly [{
1415
+ readonly name: "projectId";
1416
+ readonly internalType: "uint256";
1417
+ readonly type: "uint256";
1418
+ }, {
1419
+ readonly name: "tokenCount";
1420
+ readonly internalType: "uint256";
1421
+ readonly type: "uint256";
1422
+ }, {
1423
+ readonly name: "beneficiary";
1424
+ readonly internalType: "address";
1425
+ readonly type: "address";
1426
+ }, {
1427
+ readonly name: "memo";
1428
+ readonly internalType: "string";
1429
+ readonly type: "string";
1430
+ }, {
1431
+ readonly name: "useReservedPercent";
1432
+ readonly internalType: "bool";
1433
+ readonly type: "bool";
1434
+ }];
1435
+ readonly name: "mintTokensOf";
1436
+ readonly outputs: readonly [{
1437
+ readonly name: "beneficiaryTokenCount";
1438
+ readonly internalType: "uint256";
1439
+ readonly type: "uint256";
1440
+ }];
1441
+ readonly stateMutability: "nonpayable";
1442
+ }, {
1443
+ readonly type: "function";
1444
+ readonly inputs: readonly [];
1445
+ readonly name: "originalPayer";
1446
+ readonly outputs: readonly [{
1447
+ readonly name: "";
1448
+ readonly internalType: "address";
1449
+ readonly type: "address";
1450
+ }];
1451
+ readonly stateMutability: "view";
1452
+ }, {
1453
+ readonly type: "function";
1454
+ readonly inputs: readonly [{
1455
+ readonly name: "projectId";
1456
+ readonly internalType: "uint256";
1457
+ readonly type: "uint256";
1458
+ }];
1459
+ readonly name: "pendingReservedTokenBalanceOf";
1460
+ readonly outputs: readonly [{
1461
+ readonly name: "";
1462
+ readonly internalType: "uint256";
1463
+ readonly type: "uint256";
1464
+ }];
1465
+ readonly stateMutability: "view";
1466
+ }, {
1467
+ readonly type: "function";
1468
+ readonly inputs: readonly [{
1469
+ readonly name: "projectId";
1470
+ readonly internalType: "uint256";
1471
+ readonly type: "uint256";
1472
+ }, {
1473
+ readonly name: "tokenCount";
1474
+ readonly internalType: "uint256";
1475
+ readonly type: "uint256";
1476
+ }, {
1477
+ readonly name: "useReservedPercent";
1478
+ readonly internalType: "bool";
1479
+ readonly type: "bool";
1480
+ }];
1481
+ readonly name: "previewMintOf";
1482
+ readonly outputs: readonly [{
1483
+ readonly name: "beneficiaryTokenCount";
1484
+ readonly internalType: "uint256";
1485
+ readonly type: "uint256";
1486
+ }, {
1487
+ readonly name: "reservedTokenCount";
1488
+ readonly internalType: "uint256";
1489
+ readonly type: "uint256";
1490
+ }];
1491
+ readonly stateMutability: "view";
1492
+ }, {
1493
+ readonly type: "function";
1494
+ readonly inputs: readonly [{
1495
+ readonly name: "projectId";
1496
+ readonly internalType: "uint256";
1497
+ readonly type: "uint256";
1498
+ }, {
1499
+ readonly name: "rulesetConfigurations";
1500
+ readonly internalType: "struct JBRulesetConfig[]";
1501
+ readonly type: "tuple[]";
1502
+ readonly components: readonly [{
1503
+ readonly name: "mustStartAtOrAfter";
1504
+ readonly internalType: "uint48";
1505
+ readonly type: "uint48";
1506
+ }, {
1507
+ readonly name: "duration";
1508
+ readonly internalType: "uint32";
1509
+ readonly type: "uint32";
1510
+ }, {
1511
+ readonly name: "weight";
1512
+ readonly internalType: "uint112";
1513
+ readonly type: "uint112";
1514
+ }, {
1515
+ readonly name: "weightCutPercent";
1516
+ readonly internalType: "uint32";
1517
+ readonly type: "uint32";
1518
+ }, {
1519
+ readonly name: "approvalHook";
1520
+ readonly internalType: "contract IJBRulesetApprovalHook";
1521
+ readonly type: "address";
1522
+ }, {
1523
+ readonly name: "metadata";
1524
+ readonly internalType: "struct JBRulesetMetadata";
1525
+ readonly type: "tuple";
1526
+ readonly components: readonly [{
1527
+ readonly name: "reservedPercent";
1528
+ readonly internalType: "uint16";
1529
+ readonly type: "uint16";
1530
+ }, {
1531
+ readonly name: "cashOutTaxRate";
1532
+ readonly internalType: "uint16";
1533
+ readonly type: "uint16";
1534
+ }, {
1535
+ readonly name: "baseCurrency";
1536
+ readonly internalType: "uint32";
1537
+ readonly type: "uint32";
1538
+ }, {
1539
+ readonly name: "pausePay";
1540
+ readonly internalType: "bool";
1541
+ readonly type: "bool";
1542
+ }, {
1543
+ readonly name: "pauseCreditTransfers";
1544
+ readonly internalType: "bool";
1545
+ readonly type: "bool";
1546
+ }, {
1547
+ readonly name: "allowOwnerMinting";
1548
+ readonly internalType: "bool";
1549
+ readonly type: "bool";
1550
+ }, {
1551
+ readonly name: "allowSetCustomToken";
1552
+ readonly internalType: "bool";
1553
+ readonly type: "bool";
1554
+ }, {
1555
+ readonly name: "allowTerminalMigration";
1556
+ readonly internalType: "bool";
1557
+ readonly type: "bool";
1558
+ }, {
1559
+ readonly name: "allowSetTerminals";
1560
+ readonly internalType: "bool";
1561
+ readonly type: "bool";
1562
+ }, {
1563
+ readonly name: "allowSetController";
1564
+ readonly internalType: "bool";
1565
+ readonly type: "bool";
1566
+ }, {
1567
+ readonly name: "allowAddAccountingContext";
1568
+ readonly internalType: "bool";
1569
+ readonly type: "bool";
1570
+ }, {
1571
+ readonly name: "allowAddPriceFeed";
1572
+ readonly internalType: "bool";
1573
+ readonly type: "bool";
1574
+ }, {
1575
+ readonly name: "ownerMustSendPayouts";
1576
+ readonly internalType: "bool";
1577
+ readonly type: "bool";
1578
+ }, {
1579
+ readonly name: "holdFees";
1580
+ readonly internalType: "bool";
1581
+ readonly type: "bool";
1582
+ }, {
1583
+ readonly name: "scopeCashOutsToLocalBalances";
1584
+ readonly internalType: "bool";
1585
+ readonly type: "bool";
1586
+ }, {
1587
+ readonly name: "useDataHookForPay";
1588
+ readonly internalType: "bool";
1589
+ readonly type: "bool";
1590
+ }, {
1591
+ readonly name: "useDataHookForCashOut";
1592
+ readonly internalType: "bool";
1593
+ readonly type: "bool";
1594
+ }, {
1595
+ readonly name: "dataHook";
1596
+ readonly internalType: "address";
1597
+ readonly type: "address";
1598
+ }, {
1599
+ readonly name: "metadata";
1600
+ readonly internalType: "uint16";
1601
+ readonly type: "uint16";
1602
+ }];
1603
+ }, {
1604
+ readonly name: "splitGroups";
1605
+ readonly internalType: "struct JBSplitGroup[]";
1606
+ readonly type: "tuple[]";
1607
+ readonly components: readonly [{
1608
+ readonly name: "groupId";
1609
+ readonly internalType: "uint256";
1610
+ readonly type: "uint256";
1611
+ }, {
1612
+ readonly name: "splits";
1613
+ readonly internalType: "struct JBSplit[]";
1614
+ readonly type: "tuple[]";
1615
+ readonly components: readonly [{
1616
+ readonly name: "percent";
1617
+ readonly internalType: "uint32";
1618
+ readonly type: "uint32";
1619
+ }, {
1620
+ readonly name: "projectId";
1621
+ readonly internalType: "uint64";
1622
+ readonly type: "uint64";
1623
+ }, {
1624
+ readonly name: "beneficiary";
1625
+ readonly internalType: "address payable";
1626
+ readonly type: "address";
1627
+ }, {
1628
+ readonly name: "preferAddToBalance";
1629
+ readonly internalType: "bool";
1630
+ readonly type: "bool";
1631
+ }, {
1632
+ readonly name: "lockedUntil";
1633
+ readonly internalType: "uint48";
1634
+ readonly type: "uint48";
1635
+ }, {
1636
+ readonly name: "hook";
1637
+ readonly internalType: "contract IJBSplitHook";
1638
+ readonly type: "address";
1639
+ }];
1640
+ }];
1641
+ }, {
1642
+ readonly name: "fundAccessLimitGroups";
1643
+ readonly internalType: "struct JBFundAccessLimitGroup[]";
1644
+ readonly type: "tuple[]";
1645
+ readonly components: readonly [{
1646
+ readonly name: "terminal";
1647
+ readonly internalType: "address";
1648
+ readonly type: "address";
1649
+ }, {
1650
+ readonly name: "token";
1651
+ readonly internalType: "address";
1652
+ readonly type: "address";
1653
+ }, {
1654
+ readonly name: "payoutLimits";
1655
+ readonly internalType: "struct JBCurrencyAmount[]";
1656
+ readonly type: "tuple[]";
1657
+ readonly components: readonly [{
1658
+ readonly name: "amount";
1659
+ readonly internalType: "uint224";
1660
+ readonly type: "uint224";
1661
+ }, {
1662
+ readonly name: "currency";
1663
+ readonly internalType: "uint32";
1664
+ readonly type: "uint32";
1665
+ }];
1666
+ }, {
1667
+ readonly name: "surplusAllowances";
1668
+ readonly internalType: "struct JBCurrencyAmount[]";
1669
+ readonly type: "tuple[]";
1670
+ readonly components: readonly [{
1671
+ readonly name: "amount";
1672
+ readonly internalType: "uint224";
1673
+ readonly type: "uint224";
1674
+ }, {
1675
+ readonly name: "currency";
1676
+ readonly internalType: "uint32";
1677
+ readonly type: "uint32";
1678
+ }];
1679
+ }];
1680
+ }];
1681
+ }, {
1682
+ readonly name: "memo";
1683
+ readonly internalType: "string";
1684
+ readonly type: "string";
1685
+ }];
1686
+ readonly name: "queueRulesetsOf";
1687
+ readonly outputs: readonly [{
1688
+ readonly name: "rulesetId";
1689
+ readonly internalType: "uint256";
1690
+ readonly type: "uint256";
1691
+ }];
1692
+ readonly stateMutability: "nonpayable";
1693
+ }, {
1694
+ readonly type: "function";
1695
+ readonly inputs: readonly [{
1696
+ readonly name: "projectId";
1697
+ readonly internalType: "uint256";
1698
+ readonly type: "uint256";
1699
+ }];
1700
+ readonly name: "sendReservedTokensToSplitsOf";
1701
+ readonly outputs: readonly [{
1702
+ readonly name: "";
1703
+ readonly internalType: "uint256";
1704
+ readonly type: "uint256";
1705
+ }];
1706
+ readonly stateMutability: "nonpayable";
1707
+ }, {
1708
+ readonly type: "function";
1709
+ readonly inputs: readonly [{
1710
+ readonly name: "projectId";
1711
+ readonly internalType: "uint256";
1712
+ readonly type: "uint256";
1713
+ }];
1714
+ readonly name: "setControllerAllowed";
1715
+ readonly outputs: readonly [{
1716
+ readonly name: "";
1717
+ readonly internalType: "bool";
1718
+ readonly type: "bool";
1719
+ }];
1720
+ readonly stateMutability: "view";
1721
+ }, {
1722
+ readonly type: "function";
1723
+ readonly inputs: readonly [{
1724
+ readonly name: "projectId";
1725
+ readonly internalType: "uint256";
1726
+ readonly type: "uint256";
1727
+ }, {
1728
+ readonly name: "rulesetId";
1729
+ readonly internalType: "uint256";
1730
+ readonly type: "uint256";
1731
+ }, {
1732
+ readonly name: "splitGroups";
1733
+ readonly internalType: "struct JBSplitGroup[]";
1734
+ readonly type: "tuple[]";
1735
+ readonly components: readonly [{
1736
+ readonly name: "groupId";
1737
+ readonly internalType: "uint256";
1738
+ readonly type: "uint256";
1739
+ }, {
1740
+ readonly name: "splits";
1741
+ readonly internalType: "struct JBSplit[]";
1742
+ readonly type: "tuple[]";
1743
+ readonly components: readonly [{
1744
+ readonly name: "percent";
1745
+ readonly internalType: "uint32";
1746
+ readonly type: "uint32";
1747
+ }, {
1748
+ readonly name: "projectId";
1749
+ readonly internalType: "uint64";
1750
+ readonly type: "uint64";
1751
+ }, {
1752
+ readonly name: "beneficiary";
1753
+ readonly internalType: "address payable";
1754
+ readonly type: "address";
1755
+ }, {
1756
+ readonly name: "preferAddToBalance";
1757
+ readonly internalType: "bool";
1758
+ readonly type: "bool";
1759
+ }, {
1760
+ readonly name: "lockedUntil";
1761
+ readonly internalType: "uint48";
1762
+ readonly type: "uint48";
1763
+ }, {
1764
+ readonly name: "hook";
1765
+ readonly internalType: "contract IJBSplitHook";
1766
+ readonly type: "address";
1767
+ }];
1768
+ }];
1769
+ }];
1770
+ readonly name: "setSplitGroupsOf";
1771
+ readonly outputs: readonly [];
1772
+ readonly stateMutability: "nonpayable";
1773
+ }, {
1774
+ readonly type: "function";
1775
+ readonly inputs: readonly [{
1776
+ readonly name: "projectId";
1777
+ readonly internalType: "uint256";
1778
+ readonly type: "uint256";
1779
+ }];
1780
+ readonly name: "setTerminalsAllowed";
1781
+ readonly outputs: readonly [{
1782
+ readonly name: "";
1783
+ readonly internalType: "bool";
1784
+ readonly type: "bool";
1785
+ }];
1786
+ readonly stateMutability: "view";
1787
+ }, {
1788
+ readonly type: "function";
1789
+ readonly inputs: readonly [{
1790
+ readonly name: "projectId";
1791
+ readonly internalType: "uint256";
1792
+ readonly type: "uint256";
1793
+ }, {
1794
+ readonly name: "token";
1795
+ readonly internalType: "contract IJBToken";
1796
+ readonly type: "address";
1797
+ }];
1798
+ readonly name: "setTokenFor";
1799
+ readonly outputs: readonly [];
1800
+ readonly stateMutability: "nonpayable";
1801
+ }, {
1802
+ readonly type: "function";
1803
+ readonly inputs: readonly [{
1804
+ readonly name: "projectId";
1805
+ readonly internalType: "uint256";
1806
+ readonly type: "uint256";
1807
+ }, {
1808
+ readonly name: "name";
1809
+ readonly internalType: "string";
1810
+ readonly type: "string";
1811
+ }, {
1812
+ readonly name: "symbol";
1813
+ readonly internalType: "string";
1814
+ readonly type: "string";
1815
+ }];
1816
+ readonly name: "setTokenMetadataOf";
1817
+ readonly outputs: readonly [];
1818
+ readonly stateMutability: "nonpayable";
1819
+ }, {
1820
+ readonly type: "function";
1821
+ readonly inputs: readonly [{
1822
+ readonly name: "projectId";
1823
+ readonly internalType: "uint256";
1824
+ readonly type: "uint256";
1825
+ }, {
1826
+ readonly name: "uri";
1827
+ readonly internalType: "string";
1828
+ readonly type: "string";
1829
+ }];
1830
+ readonly name: "setUriOf";
1831
+ readonly outputs: readonly [];
1832
+ readonly stateMutability: "nonpayable";
1833
+ }, {
1834
+ readonly type: "function";
1835
+ readonly inputs: readonly [{
1836
+ readonly name: "interfaceId";
1837
+ readonly internalType: "bytes4";
1838
+ readonly type: "bytes4";
1839
+ }];
1840
+ readonly name: "supportsInterface";
1841
+ readonly outputs: readonly [{
1842
+ readonly name: "";
1843
+ readonly internalType: "bool";
1844
+ readonly type: "bool";
1845
+ }];
1846
+ readonly stateMutability: "pure";
1847
+ }, {
1848
+ readonly type: "function";
1849
+ readonly inputs: readonly [{
1850
+ readonly name: "projectId";
1851
+ readonly internalType: "uint256";
1852
+ readonly type: "uint256";
1853
+ }];
1854
+ readonly name: "totalTokenSupplyWithReservedTokensOf";
1855
+ readonly outputs: readonly [{
1856
+ readonly name: "";
1857
+ readonly internalType: "uint256";
1858
+ readonly type: "uint256";
1859
+ }];
1860
+ readonly stateMutability: "view";
1861
+ }, {
1862
+ readonly type: "function";
1863
+ readonly inputs: readonly [{
1864
+ readonly name: "holder";
1865
+ readonly internalType: "address";
1866
+ readonly type: "address";
1867
+ }, {
1868
+ readonly name: "projectId";
1869
+ readonly internalType: "uint256";
1870
+ readonly type: "uint256";
1871
+ }, {
1872
+ readonly name: "recipient";
1873
+ readonly internalType: "address";
1874
+ readonly type: "address";
1875
+ }, {
1876
+ readonly name: "creditCount";
1877
+ readonly internalType: "uint256";
1878
+ readonly type: "uint256";
1879
+ }];
1880
+ readonly name: "transferCreditsFrom";
1881
+ readonly outputs: readonly [];
1882
+ readonly stateMutability: "nonpayable";
1883
+ }, {
1884
+ readonly type: "function";
1885
+ readonly inputs: readonly [];
1886
+ readonly name: "trustedForwarder";
1887
+ readonly outputs: readonly [{
1888
+ readonly name: "";
1889
+ readonly internalType: "address";
1890
+ readonly type: "address";
1891
+ }];
1892
+ readonly stateMutability: "view";
1893
+ }, {
1894
+ readonly type: "function";
1895
+ readonly inputs: readonly [{
1896
+ readonly name: "projectId";
1897
+ readonly internalType: "uint256";
1898
+ readonly type: "uint256";
1899
+ }];
1900
+ readonly name: "upcomingRulesetOf";
1901
+ readonly outputs: readonly [{
1902
+ readonly name: "ruleset";
1903
+ readonly internalType: "struct JBRuleset";
1904
+ readonly type: "tuple";
1905
+ readonly components: readonly [{
1906
+ readonly name: "cycleNumber";
1907
+ readonly internalType: "uint48";
1908
+ readonly type: "uint48";
1909
+ }, {
1910
+ readonly name: "id";
1911
+ readonly internalType: "uint48";
1912
+ readonly type: "uint48";
1913
+ }, {
1914
+ readonly name: "basedOnId";
1915
+ readonly internalType: "uint48";
1916
+ readonly type: "uint48";
1917
+ }, {
1918
+ readonly name: "start";
1919
+ readonly internalType: "uint48";
1920
+ readonly type: "uint48";
1921
+ }, {
1922
+ readonly name: "duration";
1923
+ readonly internalType: "uint32";
1924
+ readonly type: "uint32";
1925
+ }, {
1926
+ readonly name: "weight";
1927
+ readonly internalType: "uint112";
1928
+ readonly type: "uint112";
1929
+ }, {
1930
+ readonly name: "weightCutPercent";
1931
+ readonly internalType: "uint32";
1932
+ readonly type: "uint32";
1933
+ }, {
1934
+ readonly name: "approvalHook";
1935
+ readonly internalType: "contract IJBRulesetApprovalHook";
1936
+ readonly type: "address";
1937
+ }, {
1938
+ readonly name: "metadata";
1939
+ readonly internalType: "uint256";
1940
+ readonly type: "uint256";
1941
+ }];
1942
+ }, {
1943
+ readonly name: "metadata";
1944
+ readonly internalType: "struct JBRulesetMetadata";
1945
+ readonly type: "tuple";
1946
+ readonly components: readonly [{
1947
+ readonly name: "reservedPercent";
1948
+ readonly internalType: "uint16";
1949
+ readonly type: "uint16";
1950
+ }, {
1951
+ readonly name: "cashOutTaxRate";
1952
+ readonly internalType: "uint16";
1953
+ readonly type: "uint16";
1954
+ }, {
1955
+ readonly name: "baseCurrency";
1956
+ readonly internalType: "uint32";
1957
+ readonly type: "uint32";
1958
+ }, {
1959
+ readonly name: "pausePay";
1960
+ readonly internalType: "bool";
1961
+ readonly type: "bool";
1962
+ }, {
1963
+ readonly name: "pauseCreditTransfers";
1964
+ readonly internalType: "bool";
1965
+ readonly type: "bool";
1966
+ }, {
1967
+ readonly name: "allowOwnerMinting";
1968
+ readonly internalType: "bool";
1969
+ readonly type: "bool";
1970
+ }, {
1971
+ readonly name: "allowSetCustomToken";
1972
+ readonly internalType: "bool";
1973
+ readonly type: "bool";
1974
+ }, {
1975
+ readonly name: "allowTerminalMigration";
1976
+ readonly internalType: "bool";
1977
+ readonly type: "bool";
1978
+ }, {
1979
+ readonly name: "allowSetTerminals";
1980
+ readonly internalType: "bool";
1981
+ readonly type: "bool";
1982
+ }, {
1983
+ readonly name: "allowSetController";
1984
+ readonly internalType: "bool";
1985
+ readonly type: "bool";
1986
+ }, {
1987
+ readonly name: "allowAddAccountingContext";
1988
+ readonly internalType: "bool";
1989
+ readonly type: "bool";
1990
+ }, {
1991
+ readonly name: "allowAddPriceFeed";
1992
+ readonly internalType: "bool";
1993
+ readonly type: "bool";
1994
+ }, {
1995
+ readonly name: "ownerMustSendPayouts";
1996
+ readonly internalType: "bool";
1997
+ readonly type: "bool";
1998
+ }, {
1999
+ readonly name: "holdFees";
2000
+ readonly internalType: "bool";
2001
+ readonly type: "bool";
2002
+ }, {
2003
+ readonly name: "scopeCashOutsToLocalBalances";
2004
+ readonly internalType: "bool";
2005
+ readonly type: "bool";
2006
+ }, {
2007
+ readonly name: "useDataHookForPay";
2008
+ readonly internalType: "bool";
2009
+ readonly type: "bool";
2010
+ }, {
2011
+ readonly name: "useDataHookForCashOut";
2012
+ readonly internalType: "bool";
2013
+ readonly type: "bool";
2014
+ }, {
2015
+ readonly name: "dataHook";
2016
+ readonly internalType: "address";
2017
+ readonly type: "address";
2018
+ }, {
2019
+ readonly name: "metadata";
2020
+ readonly internalType: "uint16";
2021
+ readonly type: "uint16";
2022
+ }];
2023
+ }];
2024
+ readonly stateMutability: "view";
2025
+ }, {
2026
+ readonly type: "function";
2027
+ readonly inputs: readonly [{
2028
+ readonly name: "projectId";
2029
+ readonly internalType: "uint256";
2030
+ readonly type: "uint256";
2031
+ }];
2032
+ readonly name: "uriOf";
2033
+ readonly outputs: readonly [{
2034
+ readonly name: "";
2035
+ readonly internalType: "string";
2036
+ readonly type: "string";
2037
+ }];
2038
+ readonly stateMutability: "view";
2039
+ }, {
2040
+ readonly type: "event";
2041
+ readonly anonymous: false;
2042
+ readonly inputs: readonly [{
2043
+ readonly name: "holder";
2044
+ readonly internalType: "address";
2045
+ readonly type: "address";
2046
+ readonly indexed: true;
2047
+ }, {
2048
+ readonly name: "projectId";
2049
+ readonly internalType: "uint256";
2050
+ readonly type: "uint256";
2051
+ readonly indexed: true;
2052
+ }, {
2053
+ readonly name: "tokenCount";
2054
+ readonly internalType: "uint256";
2055
+ readonly type: "uint256";
2056
+ readonly indexed: false;
2057
+ }, {
2058
+ readonly name: "memo";
2059
+ readonly internalType: "string";
2060
+ readonly type: "string";
2061
+ readonly indexed: false;
2062
+ }, {
2063
+ readonly name: "caller";
2064
+ readonly internalType: "address";
2065
+ readonly type: "address";
2066
+ readonly indexed: false;
2067
+ }];
2068
+ readonly name: "BurnTokens";
2069
+ }, {
2070
+ readonly type: "event";
2071
+ readonly anonymous: false;
2072
+ readonly inputs: readonly [{
2073
+ readonly name: "projectId";
2074
+ readonly internalType: "uint256";
2075
+ readonly type: "uint256";
2076
+ readonly indexed: true;
2077
+ }, {
2078
+ readonly name: "deployer";
2079
+ readonly internalType: "address";
2080
+ readonly type: "address";
2081
+ readonly indexed: true;
2082
+ }, {
2083
+ readonly name: "salt";
2084
+ readonly internalType: "bytes32";
2085
+ readonly type: "bytes32";
2086
+ readonly indexed: false;
2087
+ }, {
2088
+ readonly name: "saltHash";
2089
+ readonly internalType: "bytes32";
2090
+ readonly type: "bytes32";
2091
+ readonly indexed: false;
2092
+ }, {
2093
+ readonly name: "caller";
2094
+ readonly internalType: "address";
2095
+ readonly type: "address";
2096
+ readonly indexed: false;
2097
+ }];
2098
+ readonly name: "DeployERC20";
2099
+ }, {
2100
+ readonly type: "event";
2101
+ readonly anonymous: false;
2102
+ readonly inputs: readonly [{
2103
+ readonly name: "rulesetId";
2104
+ readonly internalType: "uint256";
2105
+ readonly type: "uint256";
2106
+ readonly indexed: false;
2107
+ }, {
2108
+ readonly name: "projectId";
2109
+ readonly internalType: "uint256";
2110
+ readonly type: "uint256";
2111
+ readonly indexed: false;
2112
+ }, {
2113
+ readonly name: "projectUri";
2114
+ readonly internalType: "string";
2115
+ readonly type: "string";
2116
+ readonly indexed: false;
2117
+ }, {
2118
+ readonly name: "memo";
2119
+ readonly internalType: "string";
2120
+ readonly type: "string";
2121
+ readonly indexed: false;
2122
+ }, {
2123
+ readonly name: "caller";
2124
+ readonly internalType: "address";
2125
+ readonly type: "address";
2126
+ readonly indexed: false;
2127
+ }];
2128
+ readonly name: "LaunchProject";
2129
+ }, {
2130
+ readonly type: "event";
2131
+ readonly anonymous: false;
2132
+ readonly inputs: readonly [{
2133
+ readonly name: "rulesetId";
2134
+ readonly internalType: "uint256";
2135
+ readonly type: "uint256";
2136
+ readonly indexed: false;
2137
+ }, {
2138
+ readonly name: "projectId";
2139
+ readonly internalType: "uint256";
2140
+ readonly type: "uint256";
2141
+ readonly indexed: false;
2142
+ }, {
2143
+ readonly name: "projectUri";
2144
+ readonly internalType: "string";
2145
+ readonly type: "string";
2146
+ readonly indexed: false;
2147
+ }, {
2148
+ readonly name: "memo";
2149
+ readonly internalType: "string";
2150
+ readonly type: "string";
2151
+ readonly indexed: false;
2152
+ }, {
2153
+ readonly name: "caller";
2154
+ readonly internalType: "address";
2155
+ readonly type: "address";
2156
+ readonly indexed: false;
2157
+ }];
2158
+ readonly name: "LaunchRulesets";
2159
+ }, {
2160
+ readonly type: "event";
2161
+ readonly anonymous: false;
2162
+ readonly inputs: readonly [{
2163
+ readonly name: "projectId";
2164
+ readonly internalType: "uint256";
2165
+ readonly type: "uint256";
2166
+ readonly indexed: true;
2167
+ }, {
2168
+ readonly name: "to";
2169
+ readonly internalType: "contract IERC165";
2170
+ readonly type: "address";
2171
+ readonly indexed: false;
2172
+ }, {
2173
+ readonly name: "caller";
2174
+ readonly internalType: "address";
2175
+ readonly type: "address";
2176
+ readonly indexed: false;
2177
+ }];
2178
+ readonly name: "Migrate";
2179
+ }, {
2180
+ readonly type: "event";
2181
+ readonly anonymous: false;
2182
+ readonly inputs: readonly [{
2183
+ readonly name: "beneficiary";
2184
+ readonly internalType: "address";
2185
+ readonly type: "address";
2186
+ readonly indexed: true;
2187
+ }, {
2188
+ readonly name: "projectId";
2189
+ readonly internalType: "uint256";
2190
+ readonly type: "uint256";
2191
+ readonly indexed: true;
2192
+ }, {
2193
+ readonly name: "tokenCount";
2194
+ readonly internalType: "uint256";
2195
+ readonly type: "uint256";
2196
+ readonly indexed: false;
2197
+ }, {
2198
+ readonly name: "beneficiaryTokenCount";
2199
+ readonly internalType: "uint256";
2200
+ readonly type: "uint256";
2201
+ readonly indexed: false;
2202
+ }, {
2203
+ readonly name: "memo";
2204
+ readonly internalType: "string";
2205
+ readonly type: "string";
2206
+ readonly indexed: false;
2207
+ }, {
2208
+ readonly name: "reservedPercent";
2209
+ readonly internalType: "uint256";
2210
+ readonly type: "uint256";
2211
+ readonly indexed: false;
2212
+ }, {
2213
+ readonly name: "caller";
2214
+ readonly internalType: "address";
2215
+ readonly type: "address";
2216
+ readonly indexed: false;
2217
+ }];
2218
+ readonly name: "MintTokens";
2219
+ }, {
2220
+ readonly type: "event";
2221
+ readonly anonymous: false;
2222
+ readonly inputs: readonly [{
2223
+ readonly name: "rulesetId";
2224
+ readonly internalType: "uint256";
2225
+ readonly type: "uint256";
2226
+ readonly indexed: false;
2227
+ }, {
2228
+ readonly name: "projectId";
2229
+ readonly internalType: "uint256";
2230
+ readonly type: "uint256";
2231
+ readonly indexed: false;
2232
+ }, {
2233
+ readonly name: "memo";
2234
+ readonly internalType: "string";
2235
+ readonly type: "string";
2236
+ readonly indexed: false;
2237
+ }, {
2238
+ readonly name: "caller";
2239
+ readonly internalType: "address";
2240
+ readonly type: "address";
2241
+ readonly indexed: false;
2242
+ }];
2243
+ readonly name: "QueueRulesets";
2244
+ }, {
2245
+ readonly type: "event";
2246
+ readonly anonymous: false;
2247
+ readonly inputs: readonly [{
2248
+ readonly name: "projectId";
2249
+ readonly internalType: "uint256";
2250
+ readonly type: "uint256";
2251
+ readonly indexed: true;
2252
+ }, {
2253
+ readonly name: "split";
2254
+ readonly internalType: "struct JBSplit";
2255
+ readonly type: "tuple";
2256
+ readonly components: readonly [{
2257
+ readonly name: "percent";
2258
+ readonly internalType: "uint32";
2259
+ readonly type: "uint32";
2260
+ }, {
2261
+ readonly name: "projectId";
2262
+ readonly internalType: "uint64";
2263
+ readonly type: "uint64";
2264
+ }, {
2265
+ readonly name: "beneficiary";
2266
+ readonly internalType: "address payable";
2267
+ readonly type: "address";
2268
+ }, {
2269
+ readonly name: "preferAddToBalance";
2270
+ readonly internalType: "bool";
2271
+ readonly type: "bool";
2272
+ }, {
2273
+ readonly name: "lockedUntil";
2274
+ readonly internalType: "uint48";
2275
+ readonly type: "uint48";
2276
+ }, {
2277
+ readonly name: "hook";
2278
+ readonly internalType: "contract IJBSplitHook";
2279
+ readonly type: "address";
2280
+ }];
2281
+ readonly indexed: false;
2282
+ }, {
2283
+ readonly name: "tokenCount";
2284
+ readonly internalType: "uint256";
2285
+ readonly type: "uint256";
2286
+ readonly indexed: false;
2287
+ }, {
2288
+ readonly name: "reason";
2289
+ readonly internalType: "bytes";
2290
+ readonly type: "bytes";
2291
+ readonly indexed: false;
2292
+ }, {
2293
+ readonly name: "caller";
2294
+ readonly internalType: "address";
2295
+ readonly type: "address";
2296
+ readonly indexed: false;
2297
+ }];
2298
+ readonly name: "ReservedDistributionReverted";
2299
+ }, {
2300
+ readonly type: "event";
2301
+ readonly anonymous: false;
2302
+ readonly inputs: readonly [{
2303
+ readonly name: "projectId";
2304
+ readonly internalType: "uint256";
2305
+ readonly type: "uint256";
2306
+ readonly indexed: true;
2307
+ }, {
2308
+ readonly name: "rulesetId";
2309
+ readonly internalType: "uint256";
2310
+ readonly type: "uint256";
2311
+ readonly indexed: true;
2312
+ }, {
2313
+ readonly name: "groupId";
2314
+ readonly internalType: "uint256";
2315
+ readonly type: "uint256";
2316
+ readonly indexed: true;
2317
+ }, {
2318
+ readonly name: "split";
2319
+ readonly internalType: "struct JBSplit";
2320
+ readonly type: "tuple";
2321
+ readonly components: readonly [{
2322
+ readonly name: "percent";
2323
+ readonly internalType: "uint32";
2324
+ readonly type: "uint32";
2325
+ }, {
2326
+ readonly name: "projectId";
2327
+ readonly internalType: "uint64";
2328
+ readonly type: "uint64";
2329
+ }, {
2330
+ readonly name: "beneficiary";
2331
+ readonly internalType: "address payable";
2332
+ readonly type: "address";
2333
+ }, {
2334
+ readonly name: "preferAddToBalance";
2335
+ readonly internalType: "bool";
2336
+ readonly type: "bool";
2337
+ }, {
2338
+ readonly name: "lockedUntil";
2339
+ readonly internalType: "uint48";
2340
+ readonly type: "uint48";
2341
+ }, {
2342
+ readonly name: "hook";
2343
+ readonly internalType: "contract IJBSplitHook";
2344
+ readonly type: "address";
2345
+ }];
2346
+ readonly indexed: false;
2347
+ }, {
2348
+ readonly name: "tokenCount";
2349
+ readonly internalType: "uint256";
2350
+ readonly type: "uint256";
2351
+ readonly indexed: false;
2352
+ }, {
2353
+ readonly name: "caller";
2354
+ readonly internalType: "address";
2355
+ readonly type: "address";
2356
+ readonly indexed: false;
2357
+ }];
2358
+ readonly name: "SendReservedTokensToSplit";
2359
+ }, {
2360
+ readonly type: "event";
2361
+ readonly anonymous: false;
2362
+ readonly inputs: readonly [{
2363
+ readonly name: "rulesetId";
2364
+ readonly internalType: "uint256";
2365
+ readonly type: "uint256";
2366
+ readonly indexed: true;
2367
+ }, {
2368
+ readonly name: "rulesetCycleNumber";
2369
+ readonly internalType: "uint256";
2370
+ readonly type: "uint256";
2371
+ readonly indexed: true;
2372
+ }, {
2373
+ readonly name: "projectId";
2374
+ readonly internalType: "uint256";
2375
+ readonly type: "uint256";
2376
+ readonly indexed: true;
2377
+ }, {
2378
+ readonly name: "owner";
2379
+ readonly internalType: "address";
2380
+ readonly type: "address";
2381
+ readonly indexed: false;
2382
+ }, {
2383
+ readonly name: "tokenCount";
2384
+ readonly internalType: "uint256";
2385
+ readonly type: "uint256";
2386
+ readonly indexed: false;
2387
+ }, {
2388
+ readonly name: "leftoverAmount";
2389
+ readonly internalType: "uint256";
2390
+ readonly type: "uint256";
2391
+ readonly indexed: false;
2392
+ }, {
2393
+ readonly name: "caller";
2394
+ readonly internalType: "address";
2395
+ readonly type: "address";
2396
+ readonly indexed: false;
2397
+ }];
2398
+ readonly name: "SendReservedTokensToSplits";
2399
+ }, {
2400
+ readonly type: "event";
2401
+ readonly anonymous: false;
2402
+ readonly inputs: readonly [{
2403
+ readonly name: "projectId";
2404
+ readonly internalType: "uint256";
2405
+ readonly type: "uint256";
2406
+ readonly indexed: true;
2407
+ }, {
2408
+ readonly name: "uri";
2409
+ readonly internalType: "string";
2410
+ readonly type: "string";
2411
+ readonly indexed: false;
2412
+ }, {
2413
+ readonly name: "caller";
2414
+ readonly internalType: "address";
2415
+ readonly type: "address";
2416
+ readonly indexed: false;
2417
+ }];
2418
+ readonly name: "SetUri";
2419
+ }, {
2420
+ readonly type: "event";
2421
+ readonly anonymous: false;
2422
+ readonly inputs: readonly [{
2423
+ readonly name: "projectId";
2424
+ readonly internalType: "uint256";
2425
+ readonly type: "uint256";
2426
+ readonly indexed: true;
2427
+ }, {
2428
+ readonly name: "hook";
2429
+ readonly internalType: "address";
2430
+ readonly type: "address";
2431
+ readonly indexed: false;
2432
+ }, {
2433
+ readonly name: "reason";
2434
+ readonly internalType: "bytes";
2435
+ readonly type: "bytes";
2436
+ readonly indexed: false;
2437
+ }, {
2438
+ readonly name: "caller";
2439
+ readonly internalType: "address";
2440
+ readonly type: "address";
2441
+ readonly indexed: false;
2442
+ }];
2443
+ readonly name: "SplitHookReverted";
2444
+ }, {
2445
+ readonly type: "error";
2446
+ readonly inputs: readonly [{
2447
+ readonly name: "projectId";
2448
+ readonly internalType: "uint256";
2449
+ readonly type: "uint256";
2450
+ }];
2451
+ readonly name: "JBController_AddingPriceFeedNotAllowed";
2452
+ }, {
2453
+ readonly type: "error";
2454
+ readonly inputs: readonly [{
2455
+ readonly name: "projectId";
2456
+ readonly internalType: "uint256";
2457
+ readonly type: "uint256";
2458
+ }, {
2459
+ readonly name: "rulesetId";
2460
+ readonly internalType: "uint256";
2461
+ readonly type: "uint256";
2462
+ }];
2463
+ readonly name: "JBController_CreditTransfersPaused";
2464
+ }, {
2465
+ readonly type: "error";
2466
+ readonly inputs: readonly [{
2467
+ readonly name: "rate";
2468
+ readonly internalType: "uint256";
2469
+ readonly type: "uint256";
2470
+ }, {
2471
+ readonly name: "limit";
2472
+ readonly internalType: "uint256";
2473
+ readonly type: "uint256";
2474
+ }];
2475
+ readonly name: "JBController_InvalidCashOutTaxRate";
2476
+ }, {
2477
+ readonly type: "error";
2478
+ readonly inputs: readonly [{
2479
+ readonly name: "value";
2480
+ readonly internalType: "uint256";
2481
+ readonly type: "uint256";
2482
+ }, {
2483
+ readonly name: "requiredFee";
2484
+ readonly internalType: "uint256";
2485
+ readonly type: "uint256";
2486
+ }];
2487
+ readonly name: "JBController_InvalidCreationFee";
2488
+ }, {
2489
+ readonly type: "error";
2490
+ readonly inputs: readonly [{
2491
+ readonly name: "percent";
2492
+ readonly internalType: "uint256";
2493
+ readonly type: "uint256";
2494
+ }, {
2495
+ readonly name: "limit";
2496
+ readonly internalType: "uint256";
2497
+ readonly type: "uint256";
2498
+ }];
2499
+ readonly name: "JBController_InvalidReservedPercent";
2500
+ }, {
2501
+ readonly type: "error";
2502
+ readonly inputs: readonly [{
2503
+ readonly name: "caller";
2504
+ readonly internalType: "address";
2505
+ readonly type: "address";
2506
+ }];
2507
+ readonly name: "JBController_MintNotAllowedAndNotTerminalOrHook";
2508
+ }, {
2509
+ readonly type: "error";
2510
+ readonly inputs: readonly [{
2511
+ readonly name: "projectId";
2512
+ readonly internalType: "uint256";
2513
+ readonly type: "uint256";
2514
+ }];
2515
+ readonly name: "JBController_NoReservedTokens";
2516
+ }, {
2517
+ readonly type: "error";
2518
+ readonly inputs: readonly [{
2519
+ readonly name: "sender";
2520
+ readonly internalType: "address";
2521
+ readonly type: "address";
2522
+ }, {
2523
+ readonly name: "directory";
2524
+ readonly internalType: "contract IJBDirectory";
2525
+ readonly type: "address";
2526
+ }];
2527
+ readonly name: "JBController_OnlyDirectory";
2528
+ }, {
2529
+ readonly type: "error";
2530
+ readonly inputs: readonly [{
2531
+ readonly name: "pendingReservedTokenBalance";
2532
+ readonly internalType: "uint256";
2533
+ readonly type: "uint256";
2534
+ }];
2535
+ readonly name: "JBController_PendingReservedTokens";
2536
+ }, {
2537
+ readonly type: "error";
2538
+ readonly inputs: readonly [{
2539
+ readonly name: "projectId";
2540
+ readonly internalType: "uint256";
2541
+ readonly type: "uint256";
2542
+ }];
2543
+ readonly name: "JBController_ReservedTokenSplitProjectSameAsOwner";
2544
+ }, {
2545
+ readonly type: "error";
2546
+ readonly inputs: readonly [{
2547
+ readonly name: "projectId";
2548
+ readonly internalType: "uint256";
2549
+ readonly type: "uint256";
2550
+ }];
2551
+ readonly name: "JBController_RulesetSetTokenNotAllowed";
2552
+ }, {
2553
+ readonly type: "error";
2554
+ readonly inputs: readonly [{
2555
+ readonly name: "projectId";
2556
+ readonly internalType: "uint256";
2557
+ readonly type: "uint256";
2558
+ }];
2559
+ readonly name: "JBController_RulesetsAlreadyLaunched";
2560
+ }, {
2561
+ readonly type: "error";
2562
+ readonly inputs: readonly [{
2563
+ readonly name: "projectId";
2564
+ readonly internalType: "uint256";
2565
+ readonly type: "uint256";
2566
+ }, {
2567
+ readonly name: "rulesetConfigurationCount";
2568
+ readonly internalType: "uint256";
2569
+ readonly type: "uint256";
2570
+ }];
2571
+ readonly name: "JBController_RulesetsArrayEmpty";
2572
+ }, {
2573
+ readonly type: "error";
2574
+ readonly inputs: readonly [{
2575
+ readonly name: "terminal";
2576
+ readonly internalType: "address";
2577
+ readonly type: "address";
2578
+ }, {
2579
+ readonly name: "token";
2580
+ readonly internalType: "address";
2581
+ readonly type: "address";
2582
+ }, {
2583
+ readonly name: "allowance";
2584
+ readonly internalType: "uint256";
2585
+ readonly type: "uint256";
2586
+ }];
2587
+ readonly name: "JBController_TerminalTokensNotTransferred";
2588
+ }, {
2589
+ readonly type: "error";
2590
+ readonly inputs: readonly [{
2591
+ readonly name: "projectId";
2592
+ readonly internalType: "uint256";
2593
+ readonly type: "uint256";
2594
+ }, {
2595
+ readonly name: "holder";
2596
+ readonly internalType: "address";
2597
+ readonly type: "address";
2598
+ }];
2599
+ readonly name: "JBController_ZeroTokensToBurn";
2600
+ }, {
2601
+ readonly type: "error";
2602
+ readonly inputs: readonly [{
2603
+ readonly name: "projectId";
2604
+ readonly internalType: "uint256";
2605
+ readonly type: "uint256";
2606
+ }, {
2607
+ readonly name: "beneficiary";
2608
+ readonly internalType: "address";
2609
+ readonly type: "address";
2610
+ }];
2611
+ readonly name: "JBController_ZeroTokensToMint";
2612
+ }, {
2613
+ readonly type: "error";
2614
+ readonly inputs: readonly [{
2615
+ readonly name: "account";
2616
+ readonly internalType: "address";
2617
+ readonly type: "address";
2618
+ }, {
2619
+ readonly name: "sender";
2620
+ readonly internalType: "address";
2621
+ readonly type: "address";
2622
+ }, {
2623
+ readonly name: "projectId";
2624
+ readonly internalType: "uint256";
2625
+ readonly type: "uint256";
2626
+ }, {
2627
+ readonly name: "permissionId";
2628
+ readonly internalType: "uint256";
2629
+ readonly type: "uint256";
2630
+ }];
2631
+ readonly name: "JBPermissioned_Unauthorized";
2632
+ }, {
2633
+ readonly type: "error";
2634
+ readonly inputs: readonly [{
2635
+ readonly name: "x";
2636
+ readonly internalType: "uint256";
2637
+ readonly type: "uint256";
2638
+ }, {
2639
+ readonly name: "y";
2640
+ readonly internalType: "uint256";
2641
+ readonly type: "uint256";
2642
+ }, {
2643
+ readonly name: "denominator";
2644
+ readonly internalType: "uint256";
2645
+ readonly type: "uint256";
2646
+ }];
2647
+ readonly name: "PRBMath_MulDiv_Overflow";
2648
+ }, {
2649
+ readonly type: "error";
2650
+ readonly inputs: readonly [{
2651
+ readonly name: "token";
2652
+ readonly internalType: "address";
2653
+ readonly type: "address";
2654
+ }];
2655
+ readonly name: "SafeERC20FailedOperation";
2656
+ }];
2657
+ functionName: "setSplitGroupsOf";
2658
+ args: readonly [bigint, bigint, readonly {
2659
+ groupId: bigint;
2660
+ splits: readonly {
2661
+ percent: number;
2662
+ projectId: bigint;
2663
+ beneficiary: `0x${string}`;
2664
+ preferAddToBalance: boolean;
2665
+ lockedUntil: number;
2666
+ hook: `0x${string}`;
2667
+ }[];
2668
+ }[]];
2669
+ };
2670
+ export {};
2671
+ //# sourceMappingURL=splits.d.ts.map