@boostxyz/sdk 0.0.0-alpha.16 → 0.0.0-alpha.18

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 (223) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.cjs.map +1 -1
  3. package/dist/Actions/Action.js +7 -7
  4. package/dist/Actions/ContractAction.d.ts +9 -9
  5. package/dist/Actions/ContractAction.d.ts.map +1 -1
  6. package/dist/Actions/ERC721MintAction.d.ts +12 -12
  7. package/dist/Actions/ERC721MintAction.d.ts.map +1 -1
  8. package/dist/Actions/EventAction.cjs +1 -1
  9. package/dist/Actions/EventAction.cjs.map +1 -1
  10. package/dist/Actions/EventAction.d.ts +32 -49
  11. package/dist/Actions/EventAction.d.ts.map +1 -1
  12. package/dist/Actions/EventAction.js +13 -779
  13. package/dist/Actions/EventAction.js.map +1 -1
  14. package/dist/AllowLists/AllowList.cjs +1 -1
  15. package/dist/AllowLists/AllowList.cjs.map +1 -1
  16. package/dist/AllowLists/AllowList.js +3 -3
  17. package/dist/AllowLists/OpenAllowList.d.ts +183 -0
  18. package/dist/AllowLists/OpenAllowList.d.ts.map +1 -1
  19. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  20. package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
  21. package/dist/AllowLists/SimpleAllowList.d.ts +82 -36
  22. package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
  23. package/dist/AllowLists/SimpleAllowList.js +44 -80
  24. package/dist/AllowLists/SimpleAllowList.js.map +1 -1
  25. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  26. package/dist/AllowLists/SimpleDenyList.d.ts +192 -9
  27. package/dist/AllowLists/SimpleDenyList.d.ts.map +1 -1
  28. package/dist/AllowLists/SimpleDenyList.js +5 -5
  29. package/dist/Auth/PassthroughAuth.cjs +1 -1
  30. package/dist/Auth/PassthroughAuth.js +1 -1
  31. package/dist/Boost.cjs.map +1 -1
  32. package/dist/Boost.d.ts +18 -0
  33. package/dist/Boost.d.ts.map +1 -1
  34. package/dist/Boost.js.map +1 -1
  35. package/dist/BoostCore-BiPwp6SR.cjs +3 -0
  36. package/dist/BoostCore-BiPwp6SR.cjs.map +1 -0
  37. package/dist/BoostCore-C00iqvks.js +1477 -0
  38. package/dist/BoostCore-C00iqvks.js.map +1 -0
  39. package/dist/BoostCore.cjs +1 -2
  40. package/dist/BoostCore.cjs.map +1 -1
  41. package/dist/BoostCore.d.ts +80 -35
  42. package/dist/BoostCore.d.ts.map +1 -1
  43. package/dist/BoostCore.js +29 -1273
  44. package/dist/BoostCore.js.map +1 -1
  45. package/dist/BoostRegistry.cjs +1 -1
  46. package/dist/BoostRegistry.cjs.map +1 -1
  47. package/dist/BoostRegistry.d.ts +18 -18
  48. package/dist/BoostRegistry.js +36 -36
  49. package/dist/BoostRegistry.js.map +1 -1
  50. package/dist/Budgets/Budget.cjs +1 -1
  51. package/dist/Budgets/Budget.cjs.map +1 -1
  52. package/dist/Budgets/Budget.d.ts.map +1 -1
  53. package/dist/Budgets/Budget.js +2 -2
  54. package/dist/Budgets/Budget.js.map +1 -1
  55. package/dist/Budgets/ManagedBudget.cjs +1 -1
  56. package/dist/Budgets/ManagedBudget.cjs.map +1 -1
  57. package/dist/Budgets/ManagedBudget.d.ts +24 -174
  58. package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
  59. package/dist/Budgets/ManagedBudget.js +76 -298
  60. package/dist/Budgets/ManagedBudget.js.map +1 -1
  61. package/dist/Budgets/VestingBudget.d.ts +181 -77
  62. package/dist/Budgets/VestingBudget.d.ts.map +1 -1
  63. package/dist/Deployable/Contract.cjs +1 -1
  64. package/dist/Deployable/Contract.cjs.map +1 -1
  65. package/dist/Deployable/Contract.d.ts +4 -5
  66. package/dist/Deployable/Contract.d.ts.map +1 -1
  67. package/dist/Deployable/Contract.js +4 -5
  68. package/dist/Deployable/Contract.js.map +1 -1
  69. package/dist/Deployable/Deployable.cjs.map +1 -1
  70. package/dist/Deployable/Deployable.d.ts +1 -1
  71. package/dist/Deployable/Deployable.js +1 -1
  72. package/dist/Deployable/Deployable.js.map +1 -1
  73. package/dist/Deployable/DeployableTarget.cjs +1 -1
  74. package/dist/Deployable/DeployableTarget.cjs.map +1 -1
  75. package/dist/Deployable/DeployableTarget.d.ts +5 -5
  76. package/dist/Deployable/DeployableTarget.js +10 -10
  77. package/dist/Deployable/DeployableTarget.js.map +1 -1
  78. package/dist/Deployable/DeployableTargetWithRBAC.cjs +2 -0
  79. package/dist/Deployable/DeployableTargetWithRBAC.cjs.map +1 -0
  80. package/dist/Deployable/DeployableTargetWithRBAC.d.ts +179 -0
  81. package/dist/Deployable/DeployableTargetWithRBAC.d.ts.map +1 -0
  82. package/dist/Deployable/DeployableTargetWithRBAC.js +222 -0
  83. package/dist/Deployable/DeployableTargetWithRBAC.js.map +1 -0
  84. package/dist/EventAction-BO5WI_5s.js +1355 -0
  85. package/dist/EventAction-BO5WI_5s.js.map +1 -0
  86. package/dist/EventAction-DBDRaG4A.cjs +2 -0
  87. package/dist/EventAction-DBDRaG4A.cjs.map +1 -0
  88. package/dist/{Incentive-CtuAJAjG.js → Incentive-CF7kaz_9.js} +67 -68
  89. package/dist/Incentive-CF7kaz_9.js.map +1 -0
  90. package/dist/{Incentive-CqX3fYEd.cjs → Incentive-Djnzseoj.cjs} +2 -2
  91. package/dist/Incentive-Djnzseoj.cjs.map +1 -0
  92. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  93. package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
  94. package/dist/Incentives/AllowListIncentive.d.ts +12 -12
  95. package/dist/Incentives/AllowListIncentive.js +26 -26
  96. package/dist/Incentives/AllowListIncentive.js.map +1 -1
  97. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  98. package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
  99. package/dist/Incentives/CGDAIncentive.d.ts +15 -15
  100. package/dist/Incentives/CGDAIncentive.js +25 -25
  101. package/dist/Incentives/CGDAIncentive.js.map +1 -1
  102. package/dist/Incentives/ERC1155Incentive.d.ts +30 -30
  103. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  104. package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
  105. package/dist/Incentives/ERC20Incentive.d.ts +23 -23
  106. package/dist/Incentives/ERC20Incentive.js +45 -45
  107. package/dist/Incentives/ERC20Incentive.js.map +1 -1
  108. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +523 -0
  109. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -0
  110. package/dist/Incentives/ERC20VariableIncentive.d.ts +19 -19
  111. package/dist/Incentives/Incentive.cjs +1 -1
  112. package/dist/Incentives/Incentive.d.ts +3 -3
  113. package/dist/Incentives/Incentive.d.ts.map +1 -1
  114. package/dist/Incentives/Incentive.js +3 -3
  115. package/dist/Incentives/PointsIncentive.cjs +1 -1
  116. package/dist/Incentives/PointsIncentive.cjs.map +1 -1
  117. package/dist/Incentives/PointsIncentive.d.ts +14 -14
  118. package/dist/Incentives/PointsIncentive.js +20 -20
  119. package/dist/Incentives/PointsIncentive.js.map +1 -1
  120. package/dist/SimpleDenyList-BwfNjRsg.cjs +2 -0
  121. package/dist/SimpleDenyList-BwfNjRsg.cjs.map +1 -0
  122. package/dist/SimpleDenyList-D9i4rw_F.js +132 -0
  123. package/dist/SimpleDenyList-D9i4rw_F.js.map +1 -0
  124. package/dist/Validators/SignerValidator.cjs +1 -1
  125. package/dist/Validators/SignerValidator.cjs.map +1 -1
  126. package/dist/Validators/SignerValidator.d.ts +14 -14
  127. package/dist/Validators/SignerValidator.js +25 -25
  128. package/dist/Validators/SignerValidator.js.map +1 -1
  129. package/dist/Validators/Validator.cjs +1 -1
  130. package/dist/Validators/Validator.cjs.map +1 -1
  131. package/dist/Validators/Validator.d.ts +1 -1
  132. package/dist/Validators/Validator.js +6 -6
  133. package/dist/Validators/Validator.js.map +1 -1
  134. package/dist/claiming.cjs.map +1 -1
  135. package/dist/claiming.d.ts +1 -1
  136. package/dist/claiming.js.map +1 -1
  137. package/dist/componentInterfaces-D09mhzxO.cjs +2 -0
  138. package/dist/componentInterfaces-D09mhzxO.cjs.map +1 -0
  139. package/dist/componentInterfaces-RXBMI5yH.js +14 -0
  140. package/dist/componentInterfaces-RXBMI5yH.js.map +1 -0
  141. package/dist/deployments-BM42vImE.js +43 -0
  142. package/dist/deployments-BM42vImE.js.map +1 -0
  143. package/dist/deployments-CMdF5uEC.cjs +2 -0
  144. package/dist/deployments-CMdF5uEC.cjs.map +1 -0
  145. package/dist/deployments.json +15 -12
  146. package/dist/errors.cjs +1 -1
  147. package/dist/errors.cjs.map +1 -1
  148. package/dist/errors.d.ts +132 -0
  149. package/dist/errors.d.ts.map +1 -1
  150. package/dist/errors.js +122 -36
  151. package/dist/errors.js.map +1 -1
  152. package/dist/generated-B0tk-c9b.cjs +3 -0
  153. package/dist/generated-B0tk-c9b.cjs.map +1 -0
  154. package/dist/{generated-DLMdMwD1.js → generated-B8VWObPa.js} +2350 -1290
  155. package/dist/generated-B8VWObPa.js.map +1 -0
  156. package/dist/index.cjs +1 -1
  157. package/dist/index.d.ts +2 -0
  158. package/dist/index.d.ts.map +1 -1
  159. package/dist/index.js +134 -122
  160. package/dist/index.js.map +1 -1
  161. package/dist/transfers.cjs.map +1 -1
  162. package/dist/transfers.d.ts +1 -1
  163. package/dist/transfers.js.map +1 -1
  164. package/dist/utils.cjs.map +1 -1
  165. package/dist/utils.d.ts +1 -1
  166. package/dist/utils.js.map +1 -1
  167. package/package.json +12 -5
  168. package/src/Actions/ContractAction.ts +9 -10
  169. package/src/Actions/ERC721MintAction.ts +12 -13
  170. package/src/Actions/EventAction.test.ts +182 -53
  171. package/src/Actions/EventAction.ts +128 -107
  172. package/src/AllowLists/SimpleAllowList.ts +14 -59
  173. package/src/AllowLists/SimpleDenyList.ts +12 -9
  174. package/src/Boost.ts +19 -0
  175. package/src/BoostCore.test.ts +117 -1
  176. package/src/BoostCore.ts +113 -54
  177. package/src/BoostRegistry.ts +18 -18
  178. package/src/Budgets/Budget.ts +1 -2
  179. package/src/Budgets/ManagedBudget.ts +21 -295
  180. package/src/Budgets/VestingBudget.ts +26 -97
  181. package/src/Deployable/Contract.ts +4 -5
  182. package/src/Deployable/Deployable.ts +1 -1
  183. package/src/Deployable/DeployableTarget.ts +5 -5
  184. package/src/Deployable/DeployableTargetWithRBAC.ts +323 -0
  185. package/src/Incentives/AllowListIncentive.ts +12 -12
  186. package/src/Incentives/CGDAIncentive.ts +15 -15
  187. package/src/Incentives/ERC1155Incentive.ts +26 -26
  188. package/src/Incentives/ERC20Incentive.ts +23 -23
  189. package/src/Incentives/ERC20VariableCriteriaIncentive.test.ts +184 -0
  190. package/src/Incentives/ERC20VariableCriteriaIncentive.ts +309 -0
  191. package/src/Incentives/ERC20VariableIncentive.ts +19 -19
  192. package/src/Incentives/Incentive.ts +6 -5
  193. package/src/Incentives/PointsIncentive.test.ts +21 -21
  194. package/src/Incentives/PointsIncentive.ts +14 -14
  195. package/src/Validators/SignerValidator.ts +14 -14
  196. package/src/Validators/Validator.ts +1 -1
  197. package/src/claiming.ts +1 -1
  198. package/src/errors.ts +165 -0
  199. package/src/index.test.ts +3 -4
  200. package/src/index.ts +2 -0
  201. package/src/transfers.ts +1 -1
  202. package/src/utils.ts +1 -1
  203. package/dist/Budgets/SimpleBudget.d.ts +0 -824
  204. package/dist/Budgets/SimpleBudget.d.ts.map +0 -1
  205. package/dist/Incentive-CqX3fYEd.cjs.map +0 -1
  206. package/dist/Incentive-CtuAJAjG.js.map +0 -1
  207. package/dist/SimpleDenyList-9UIxZZKP.cjs +0 -2
  208. package/dist/SimpleDenyList-9UIxZZKP.cjs.map +0 -1
  209. package/dist/SimpleDenyList-DGPNc7ov.js +0 -132
  210. package/dist/SimpleDenyList-DGPNc7ov.js.map +0 -1
  211. package/dist/componentInterfaces-CKCBwG16.cjs +0 -2
  212. package/dist/componentInterfaces-CKCBwG16.cjs.map +0 -1
  213. package/dist/componentInterfaces-Cmg8tUxq.js +0 -13
  214. package/dist/componentInterfaces-Cmg8tUxq.js.map +0 -1
  215. package/dist/deployments-BvFcK_eR.js +0 -40
  216. package/dist/deployments-BvFcK_eR.js.map +0 -1
  217. package/dist/deployments-Ho4PnGCS.cjs +0 -2
  218. package/dist/deployments-Ho4PnGCS.cjs.map +0 -1
  219. package/dist/generated-BLg7yPgI.cjs +0 -3
  220. package/dist/generated-BLg7yPgI.cjs.map +0 -1
  221. package/dist/generated-DLMdMwD1.js.map +0 -1
  222. package/src/Budgets/SimpleBudget.test.ts +0 -152
  223. package/src/Budgets/SimpleBudget.ts +0 -563
@@ -1,6 +1,6 @@
1
- import { simulateContract as k, readContract as L, writeContract as U } from "viem/actions";
2
- import { createClient as j, custom as S } from "viem";
3
- import { parseAccount as V, getAddress as $ } from "viem/utils";
1
+ import { simulateContract as U, readContract as P, writeContract as j } from "viem/actions";
2
+ import { createClient as S, custom as V } from "viem";
3
+ import { parseAccount as Z, getAddress as $ } from "viem/utils";
4
4
  function A(t) {
5
5
  const a = t.state.current, e = t.state.connections.get(a), i = e == null ? void 0 : e.accounts, y = i == null ? void 0 : i[0], u = t.chains.find((T) => T.id === (e == null ? void 0 : e.chainId)), r = t.state.status;
6
6
  switch (r) {
@@ -58,32 +58,32 @@ function A(t) {
58
58
  };
59
59
  }
60
60
  }
61
- function x(t) {
61
+ function R(t) {
62
62
  return t.state.chainId;
63
63
  }
64
- function R(t, a, e) {
64
+ function _(t, a, e) {
65
65
  const i = t[a.name];
66
66
  if (typeof i == "function")
67
67
  return i;
68
68
  const y = t[e];
69
69
  return typeof y == "function" ? y : (u) => a(t, u);
70
70
  }
71
- const Z = "2.13.8", G = () => `@wagmi/core@${Z}`;
72
- var F = function(t, a, e, i) {
71
+ const G = "2.13.8", W = () => `@wagmi/core@${G}`;
72
+ var D = function(t, a, e, i) {
73
73
  if (e === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
74
74
  if (typeof a == "function" ? t !== a || !i : !a.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
75
75
  return e === "m" ? i : e === "a" ? i.call(t) : i ? i.value : a.get(t);
76
- }, O, E;
76
+ }, N, F;
77
77
  class I extends Error {
78
78
  get docsBaseUrl() {
79
79
  return "https://wagmi.sh/core";
80
80
  }
81
81
  get version() {
82
- return G();
82
+ return W();
83
83
  }
84
84
  constructor(a, e = {}) {
85
85
  var i;
86
- super(), O.add(this), Object.defineProperty(this, "details", {
86
+ super(), N.add(this), Object.defineProperty(this, "details", {
87
87
  enumerable: !0,
88
88
  configurable: !0,
89
89
  writable: !0,
@@ -123,13 +123,13 @@ class I extends Error {
123
123
  `), e.cause && (this.cause = e.cause), this.details = y, this.docsPath = u, this.metaMessages = e.metaMessages, this.shortMessage = a;
124
124
  }
125
125
  walk(a) {
126
- return F(this, O, "m", E).call(this, this, a);
126
+ return D(this, N, "m", F).call(this, this, a);
127
127
  }
128
128
  }
129
- O = /* @__PURE__ */ new WeakSet(), E = function t(a, e) {
130
- return e != null && e(a) ? a : a.cause ? F(this, O, "m", t).call(this, a.cause, e) : a;
129
+ N = /* @__PURE__ */ new WeakSet(), F = function t(a, e) {
130
+ return e != null && e(a) ? a : a.cause ? D(this, N, "m", t).call(this, a.cause, e) : a;
131
131
  };
132
- class W extends I {
132
+ class J extends I {
133
133
  constructor() {
134
134
  super("Connector not connected."), Object.defineProperty(this, "name", {
135
135
  enumerable: !0,
@@ -149,7 +149,7 @@ class Q extends I {
149
149
  });
150
150
  }
151
151
  }
152
- class X extends I {
152
+ class K extends I {
153
153
  constructor({ connectionChainId: a, connectorChainId: e }) {
154
154
  super(`The current chain of the connector (id: ${e}) does not match the connection's chain (id: ${a}).`, {
155
155
  metaMessages: [
@@ -164,7 +164,7 @@ class X extends I {
164
164
  });
165
165
  }
166
166
  }
167
- class J extends I {
167
+ class X extends I {
168
168
  constructor({ connector: a }) {
169
169
  super(`Connector "${a.name}" unavailable while reconnecting.`, {
170
170
  details: [
@@ -180,118 +180,118 @@ class J extends I {
180
180
  });
181
181
  }
182
182
  }
183
- async function q(t, a = {}) {
183
+ async function B(t, a = {}) {
184
184
  let e;
185
185
  if (a.connector) {
186
- const { connector: l } = a;
187
- if (t.state.status === "reconnecting" && !l.getAccounts && !l.getChainId)
188
- throw new J({ connector: l });
189
- const [N, P] = await Promise.all([
190
- l.getAccounts(),
191
- l.getChainId()
186
+ const { connector: o } = a;
187
+ if (t.state.status === "reconnecting" && !o.getAccounts && !o.getChainId)
188
+ throw new X({ connector: o });
189
+ const [O, L] = await Promise.all([
190
+ o.getAccounts(),
191
+ o.getChainId()
192
192
  ]);
193
193
  e = {
194
- accounts: N,
195
- chainId: P,
196
- connector: l
194
+ accounts: O,
195
+ chainId: L,
196
+ connector: o
197
197
  };
198
198
  } else
199
199
  e = t.state.connections.get(t.state.current);
200
200
  if (!e)
201
- throw new W();
201
+ throw new J();
202
202
  const i = a.chainId ?? e.chainId, y = await e.connector.getChainId();
203
203
  if (y !== e.chainId)
204
- throw new X({
204
+ throw new K({
205
205
  connectionChainId: e.chainId,
206
206
  connectorChainId: y
207
207
  });
208
208
  const u = e.connector;
209
209
  if (u.getClient)
210
210
  return u.getClient({ chainId: i });
211
- const r = V(a.account ?? e.accounts[0]);
212
- if (r.address = $(r.address), a.account && !e.accounts.some((l) => l.toLowerCase() === r.address.toLowerCase()))
211
+ const r = Z(a.account ?? e.accounts[0]);
212
+ if (r.address = $(r.address), a.account && !e.accounts.some((o) => o.toLowerCase() === r.address.toLowerCase()))
213
213
  throw new Q({
214
214
  address: r.address,
215
215
  connector: u
216
216
  });
217
- const T = t.chains.find((l) => l.id === i), h = await e.connector.getProvider({ chainId: i });
218
- return j({
217
+ const T = t.chains.find((o) => o.id === i), g = await e.connector.getProvider({ chainId: i });
218
+ return S({
219
219
  account: r,
220
220
  chain: T,
221
221
  name: "Connector Client",
222
- transport: (l) => S(h)({ ...l, retryCount: 0 })
222
+ transport: (o) => V(g)({ ...o, retryCount: 0 })
223
223
  });
224
224
  }
225
- async function C(t, a) {
225
+ async function x(t, a) {
226
226
  const { abi: e, chainId: i, connector: y, ...u } = a;
227
227
  let r;
228
- a.account ? r = a.account : r = (await q(t, {
228
+ a.account ? r = a.account : r = (await B(t, {
229
229
  chainId: i,
230
230
  connector: y
231
231
  })).account;
232
- const T = t.getClient({ chainId: i }), h = R(T, k, "simulateContract"), { result: l, request: N } = await h({ ...u, abi: e, account: r });
232
+ const T = t.getClient({ chainId: i }), g = _(T, U, "simulateContract"), { result: o, request: O } = await g({ ...u, abi: e, account: r });
233
233
  return {
234
234
  chainId: T.chain.id,
235
- result: l,
236
- request: { __mode: "prepared", ...N, chainId: i }
235
+ result: o,
236
+ request: { __mode: "prepared", ...O, chainId: i }
237
237
  };
238
238
  }
239
239
  function s(t) {
240
240
  return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
241
241
  var i;
242
- const y = x(a), u = A(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
243
- return C(a, {
242
+ const y = R(a), u = A(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
243
+ return x(a, {
244
244
  ...e,
245
245
  ...t.functionName ? { functionName: t.functionName } : {},
246
246
  address: (i = t.address) == null ? void 0 : i[r],
247
247
  abi: t.abi
248
248
  });
249
- } : (a, e) => C(a, {
249
+ } : (a, e) => x(a, {
250
250
  ...e,
251
251
  ...t.address ? { address: t.address } : {},
252
252
  ...t.functionName ? { functionName: t.functionName } : {},
253
253
  abi: t.abi
254
254
  });
255
255
  }
256
- function H(t, a) {
256
+ function E(t, a) {
257
257
  const { chainId: e, ...i } = a, y = t.getClient({ chainId: e });
258
- return R(y, L, "readContract")(i);
258
+ return _(y, P, "readContract")(i);
259
259
  }
260
260
  function n(t) {
261
261
  return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
262
262
  var i;
263
- const y = x(a), u = A(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
264
- return H(a, {
263
+ const y = R(a), u = A(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
264
+ return E(a, {
265
265
  ...e,
266
266
  ...t.functionName ? { functionName: t.functionName } : {},
267
267
  address: (i = t.address) == null ? void 0 : i[r],
268
268
  abi: t.abi
269
269
  });
270
- } : (a, e) => H(a, {
270
+ } : (a, e) => E(a, {
271
271
  ...e,
272
272
  ...t.address ? { address: t.address } : {},
273
273
  ...t.functionName ? { functionName: t.functionName } : {},
274
274
  abi: t.abi
275
275
  });
276
276
  }
277
- async function D(t, a) {
277
+ async function q(t, a) {
278
278
  const { account: e, chainId: i, connector: y, __mode: u, ...r } = a;
279
279
  let T;
280
- typeof e == "object" && e.type === "local" ? T = t.getClient({ chainId: i }) : T = await q(t, { account: e, chainId: i, connector: y });
281
- const { connector: h } = A(t);
282
- let l;
283
- if (u === "prepared" || h != null && h.supportsSimulation)
284
- l = r;
280
+ typeof e == "object" && e.type === "local" ? T = t.getClient({ chainId: i }) : T = await B(t, { account: e, chainId: i, connector: y });
281
+ const { connector: g } = A(t);
282
+ let o;
283
+ if (u === "prepared" || g != null && g.supportsSimulation)
284
+ o = r;
285
285
  else {
286
- const { request: N } = await C(t, {
286
+ const { request: O } = await x(t, {
287
287
  ...r,
288
288
  account: e,
289
289
  chainId: i
290
290
  });
291
- l = N;
291
+ o = O;
292
292
  }
293
- return await R(T, U, "writeContract")({
294
- ...l,
293
+ return await _(T, j, "writeContract")({
294
+ ...o,
295
295
  ...e ? { account: e } : {},
296
296
  chain: i ? { id: i } : null
297
297
  });
@@ -299,22 +299,22 @@ async function D(t, a) {
299
299
  function p(t) {
300
300
  return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
301
301
  var i;
302
- const y = x(a), u = A(a);
302
+ const y = R(a), u = A(a);
303
303
  let r;
304
- return e.chainId ? r = e.chainId : e.account && e.account === u.address || e.account === void 0 ? r = u.chainId : r = y, D(a, {
304
+ return e.chainId ? r = e.chainId : e.account && e.account === u.address || e.account === void 0 ? r = u.chainId : r = y, q(a, {
305
305
  ...e,
306
306
  ...t.functionName ? { functionName: t.functionName } : {},
307
307
  address: r ? (i = t.address) == null ? void 0 : i[r] : void 0,
308
308
  abi: t.abi
309
309
  });
310
- } : (a, e) => D(a, {
310
+ } : (a, e) => q(a, {
311
311
  ...e,
312
312
  ...t.address ? { address: t.address } : {},
313
313
  ...t.functionName ? { functionName: t.functionName } : {},
314
314
  abi: t.abi
315
315
  });
316
316
  }
317
- const ae = [
317
+ const se = [
318
318
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
319
319
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
320
320
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -416,12 +416,17 @@ const ae = [
416
416
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
417
417
  stateMutability: "view"
418
418
  }
419
- ], ie = [
419
+ ], pe = [
420
+ { type: "error", inputs: [], name: "AlreadyInitialized" },
420
421
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
421
422
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
422
423
  { type: "error", inputs: [], name: "InvalidInitialization" },
423
424
  { type: "error", inputs: [], name: "InvalidInitializationData" },
425
+ { type: "error", inputs: [], name: "LengthMismatch" },
426
+ { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
427
+ { type: "error", inputs: [], name: "NoHandoverRequest" },
424
428
  { type: "error", inputs: [], name: "NotInitializing" },
429
+ { type: "error", inputs: [], name: "Unauthorized" },
425
430
  {
426
431
  type: "event",
427
432
  anonymous: !1,
@@ -436,163 +441,93 @@ const ae = [
436
441
  name: "Initialized"
437
442
  },
438
443
  {
439
- type: "function",
440
- inputs: [],
441
- name: "getComponentInterface",
442
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
443
- stateMutability: "pure"
444
- },
445
- {
446
- type: "function",
447
- inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
448
- name: "initialize",
449
- outputs: [],
450
- stateMutability: "nonpayable"
451
- },
452
- {
453
- type: "function",
454
- inputs: [
455
- { name: "user_", internalType: "address", type: "address" },
456
- { name: "data_", internalType: "bytes", type: "bytes" }
457
- ],
458
- name: "isAllowed",
459
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
460
- stateMutability: "view"
461
- },
462
- {
463
- type: "function",
464
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
465
- name: "supportsInterface",
466
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
467
- stateMutability: "view"
468
- }
469
- ], se = [
470
- { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
471
- { type: "error", inputs: [], name: "InitializerNotImplemented" },
472
- {
473
- type: "error",
474
- inputs: [
475
- { name: "asset", internalType: "address", type: "address" },
476
- { name: "available", internalType: "uint256", type: "uint256" },
477
- { name: "required", internalType: "uint256", type: "uint256" }
478
- ],
479
- name: "InsufficientFunds"
480
- },
481
- {
482
- type: "error",
483
- inputs: [
484
- { name: "asset", internalType: "address", type: "address" },
485
- { name: "amount", internalType: "uint256", type: "uint256" }
486
- ],
487
- name: "InvalidAllocation"
488
- },
489
- { type: "error", inputs: [], name: "InvalidInitialization" },
490
- { type: "error", inputs: [], name: "InvalidInitializationData" },
491
- { type: "error", inputs: [], name: "NotImplemented" },
492
- { type: "error", inputs: [], name: "NotInitializing" },
493
- {
494
- type: "error",
444
+ type: "event",
445
+ anonymous: !1,
495
446
  inputs: [
496
- { name: "asset", internalType: "address", type: "address" },
497
- { name: "to", internalType: "address", type: "address" },
498
- { name: "amount", internalType: "uint256", type: "uint256" }
447
+ {
448
+ name: "pendingOwner",
449
+ internalType: "address",
450
+ type: "address",
451
+ indexed: !0
452
+ }
499
453
  ],
500
- name: "TransferFailed"
454
+ name: "OwnershipHandoverCanceled"
501
455
  },
502
456
  {
503
457
  type: "event",
504
458
  anonymous: !1,
505
459
  inputs: [
506
460
  {
507
- name: "account",
461
+ name: "pendingOwner",
508
462
  internalType: "address",
509
463
  type: "address",
510
464
  indexed: !0
511
- },
512
- {
513
- name: "isAuthorized",
514
- internalType: "bool",
515
- type: "bool",
516
- indexed: !1
517
465
  }
518
466
  ],
519
- name: "Authorized"
467
+ name: "OwnershipHandoverRequested"
520
468
  },
521
469
  {
522
470
  type: "event",
523
471
  anonymous: !1,
524
472
  inputs: [
525
473
  {
526
- name: "asset",
474
+ name: "oldOwner",
527
475
  internalType: "address",
528
476
  type: "address",
529
477
  indexed: !0
530
478
  },
531
- { name: "to", internalType: "address", type: "address", indexed: !1 },
532
479
  {
533
- name: "amount",
534
- internalType: "uint256",
535
- type: "uint256",
536
- indexed: !1
480
+ name: "newOwner",
481
+ internalType: "address",
482
+ type: "address",
483
+ indexed: !0
537
484
  }
538
485
  ],
539
- name: "Distributed"
486
+ name: "OwnershipTransferred"
540
487
  },
541
488
  {
542
489
  type: "event",
543
490
  anonymous: !1,
544
491
  inputs: [
492
+ { name: "user", internalType: "address", type: "address", indexed: !0 },
545
493
  {
546
- name: "version",
547
- internalType: "uint64",
548
- type: "uint64",
549
- indexed: !1
494
+ name: "roles",
495
+ internalType: "uint256",
496
+ type: "uint256",
497
+ indexed: !0
550
498
  }
551
499
  ],
552
- name: "Initialized"
553
- },
554
- { type: "fallback", stateMutability: "payable" },
555
- {
556
- type: "function",
557
- inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
558
- name: "allocate",
559
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
560
- stateMutability: "payable"
500
+ name: "RolesUpdated"
561
501
  },
562
502
  {
563
503
  type: "function",
564
- inputs: [{ name: "asset_", internalType: "address", type: "address" }],
565
- name: "available",
504
+ inputs: [],
505
+ name: "ADMIN_ROLE",
566
506
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
567
507
  stateMutability: "view"
568
508
  },
569
509
  {
570
510
  type: "function",
571
- inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
572
- name: "clawback",
573
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
574
- stateMutability: "nonpayable"
575
- },
576
- {
577
- type: "function",
578
- inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
579
- name: "disburse",
580
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
581
- stateMutability: "nonpayable"
511
+ inputs: [],
512
+ name: "MANAGER_ROLE",
513
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
514
+ stateMutability: "view"
582
515
  },
583
516
  {
584
517
  type: "function",
585
- inputs: [{ name: "data_", internalType: "bytes[]", type: "bytes[]" }],
586
- name: "disburseBatch",
587
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
588
- stateMutability: "nonpayable"
518
+ inputs: [],
519
+ name: "cancelOwnershipHandover",
520
+ outputs: [],
521
+ stateMutability: "payable"
589
522
  },
590
523
  {
591
524
  type: "function",
592
- inputs: [{ name: "asset_", internalType: "address", type: "address" }],
593
- name: "distributed",
594
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
595
- stateMutability: "view"
525
+ inputs: [
526
+ { name: "pendingOwner", internalType: "address", type: "address" }
527
+ ],
528
+ name: "completeOwnershipHandover",
529
+ outputs: [],
530
+ stateMutability: "payable"
596
531
  },
597
532
  {
598
533
  type: "function",
@@ -603,287 +538,213 @@ const ae = [
603
538
  },
604
539
  {
605
540
  type: "function",
606
- inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
607
- name: "initialize",
541
+ inputs: [
542
+ { name: "user", internalType: "address", type: "address" },
543
+ { name: "roles", internalType: "uint256", type: "uint256" }
544
+ ],
545
+ name: "grantRoles",
546
+ outputs: [],
547
+ stateMutability: "payable"
548
+ },
549
+ {
550
+ type: "function",
551
+ inputs: [
552
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
553
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
554
+ ],
555
+ name: "grantRoles",
608
556
  outputs: [],
609
557
  stateMutability: "nonpayable"
610
558
  },
611
559
  {
612
560
  type: "function",
613
- inputs: [{ name: "account_", internalType: "address", type: "address" }],
614
- name: "isAuthorized",
561
+ inputs: [
562
+ { name: "user", internalType: "address", type: "address" },
563
+ { name: "roles", internalType: "uint256", type: "uint256" }
564
+ ],
565
+ name: "hasAllRoles",
615
566
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
616
567
  stateMutability: "view"
617
568
  },
618
569
  {
619
570
  type: "function",
620
- inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
621
- name: "reconcile",
622
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
571
+ inputs: [
572
+ { name: "user", internalType: "address", type: "address" },
573
+ { name: "roles", internalType: "uint256", type: "uint256" }
574
+ ],
575
+ name: "hasAnyRole",
576
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
577
+ stateMutability: "view"
578
+ },
579
+ {
580
+ type: "function",
581
+ inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
582
+ name: "initialize",
583
+ outputs: [],
623
584
  stateMutability: "nonpayable"
624
585
  },
625
586
  {
626
587
  type: "function",
627
588
  inputs: [
628
- { name: "accounts_", internalType: "address[]", type: "address[]" },
629
- { name: "authorized_", internalType: "bool[]", type: "bool[]" }
589
+ { name: "user_", internalType: "address", type: "address" },
590
+ { name: "data_", internalType: "bytes", type: "bytes" }
630
591
  ],
631
- name: "setAuthorized",
632
- outputs: [],
633
- stateMutability: "nonpayable"
592
+ name: "isAllowed",
593
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
594
+ stateMutability: "view"
634
595
  },
635
596
  {
636
597
  type: "function",
637
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
638
- name: "supportsInterface",
598
+ inputs: [{ name: "account_", internalType: "address", type: "address" }],
599
+ name: "isAuthorized",
639
600
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
640
601
  stateMutability: "view"
641
602
  },
642
603
  {
643
604
  type: "function",
644
- inputs: [{ name: "asset_", internalType: "address", type: "address" }],
645
- name: "total",
646
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
605
+ inputs: [],
606
+ name: "owner",
607
+ outputs: [{ name: "result", internalType: "address", type: "address" }],
647
608
  stateMutability: "view"
648
609
  },
649
- { type: "receive", stateMutability: "payable" }
650
- ], B = [
651
- { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
652
- { type: "error", inputs: [], name: "InitializerNotImplemented" },
653
- { type: "error", inputs: [], name: "InvalidInitialization" },
654
- { type: "error", inputs: [], name: "InvalidInitializationData" },
655
- { type: "error", inputs: [], name: "NotInitializing" },
656
610
  {
657
- type: "event",
658
- anonymous: !1,
611
+ type: "function",
659
612
  inputs: [
660
- {
661
- name: "version",
662
- internalType: "uint64",
663
- type: "uint64",
664
- indexed: !1
665
- }
613
+ { name: "pendingOwner", internalType: "address", type: "address" }
666
614
  ],
667
- name: "Initialized"
615
+ name: "ownershipHandoverExpiresAt",
616
+ outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
617
+ stateMutability: "view"
668
618
  },
669
619
  {
670
620
  type: "function",
671
621
  inputs: [],
672
- name: "getComponentInterface",
673
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
674
- stateMutability: "pure"
622
+ name: "renounceOwnership",
623
+ outputs: [],
624
+ stateMutability: "payable"
675
625
  },
676
626
  {
677
627
  type: "function",
678
- inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
679
- name: "initialize",
628
+ inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
629
+ name: "renounceRoles",
680
630
  outputs: [],
681
- stateMutability: "nonpayable"
631
+ stateMutability: "payable"
682
632
  },
683
633
  {
684
634
  type: "function",
685
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
686
- name: "supportsInterface",
687
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
688
- stateMutability: "view"
689
- }
690
- ], pe = [
691
- { type: "error", inputs: [], name: "ClaimFailed" },
692
- { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
693
- { type: "error", inputs: [], name: "InitializerNotImplemented" },
694
- { type: "error", inputs: [], name: "InvalidInitialization" },
695
- { type: "error", inputs: [], name: "InvalidInitializationData" },
696
- { type: "error", inputs: [], name: "NotClaimable" },
697
- { type: "error", inputs: [], name: "NotInitializing" },
698
- {
699
- type: "event",
700
- anonymous: !1,
701
- inputs: [
702
- {
703
- name: "recipient",
704
- internalType: "address",
705
- type: "address",
706
- indexed: !0
707
- },
708
- { name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
709
- ],
710
- name: "Claimed"
635
+ inputs: [],
636
+ name: "requestOwnershipHandover",
637
+ outputs: [],
638
+ stateMutability: "payable"
711
639
  },
712
640
  {
713
- type: "event",
714
- anonymous: !1,
641
+ type: "function",
715
642
  inputs: [
716
- {
717
- name: "version",
718
- internalType: "uint64",
719
- type: "uint64",
720
- indexed: !1
721
- }
643
+ { name: "user", internalType: "address", type: "address" },
644
+ { name: "roles", internalType: "uint256", type: "uint256" }
722
645
  ],
723
- name: "Initialized"
646
+ name: "revokeRoles",
647
+ outputs: [],
648
+ stateMutability: "payable"
724
649
  },
725
650
  {
726
651
  type: "function",
727
652
  inputs: [
728
- { name: "claimant", internalType: "address", type: "address" },
729
- { name: "data_", internalType: "bytes", type: "bytes" }
653
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
654
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
730
655
  ],
731
- name: "claim",
732
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
733
- stateMutability: "nonpayable"
734
- },
735
- {
736
- type: "function",
737
- inputs: [{ name: "", internalType: "address", type: "address" }],
738
- name: "claimed",
739
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
740
- stateMutability: "view"
741
- },
742
- {
743
- type: "function",
744
- inputs: [],
745
- name: "claims",
746
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
747
- stateMutability: "view"
748
- },
749
- {
750
- type: "function",
751
- inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
752
- name: "clawback",
753
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
656
+ name: "revokeRoles",
657
+ outputs: [],
754
658
  stateMutability: "nonpayable"
755
659
  },
756
660
  {
757
661
  type: "function",
758
- inputs: [],
759
- name: "currentReward",
760
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
662
+ inputs: [{ name: "user", internalType: "address", type: "address" }],
663
+ name: "rolesOf",
664
+ outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
761
665
  stateMutability: "view"
762
666
  },
763
667
  {
764
668
  type: "function",
765
- inputs: [],
766
- name: "getComponentInterface",
767
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
768
- stateMutability: "pure"
769
- },
770
- {
771
- type: "function",
772
- inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
773
- name: "initialize",
669
+ inputs: [
670
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
671
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
672
+ ],
673
+ name: "setAuthorized",
774
674
  outputs: [],
775
675
  stateMutability: "nonpayable"
776
676
  },
777
677
  {
778
678
  type: "function",
779
- inputs: [
780
- { name: "claimant", internalType: "address", type: "address" },
781
- { name: "data_", internalType: "bytes", type: "bytes" }
782
- ],
783
- name: "isClaimable",
679
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
680
+ name: "supportsInterface",
784
681
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
785
682
  stateMutability: "view"
786
683
  },
787
684
  {
788
685
  type: "function",
789
- inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
790
- name: "preflight",
791
- outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
792
- stateMutability: "view"
793
- },
794
- {
795
- type: "function",
796
- inputs: [],
797
- name: "reward",
798
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
799
- stateMutability: "view"
800
- },
801
- {
802
- type: "function",
803
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
804
- name: "supportsInterface",
805
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
806
- stateMutability: "view"
686
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
687
+ name: "transferOwnership",
688
+ outputs: [],
689
+ stateMutability: "payable"
807
690
  }
808
691
  ], re = [
692
+ { type: "error", inputs: [], name: "AlreadyInitialized" },
809
693
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
810
694
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
811
- { type: "error", inputs: [], name: "InvalidInitialization" },
812
- { type: "error", inputs: [], name: "InvalidInitializationData" },
813
- { type: "error", inputs: [], name: "NotInitializing" },
814
695
  {
815
- type: "event",
816
- anonymous: !1,
696
+ type: "error",
817
697
  inputs: [
818
- {
819
- name: "version",
820
- internalType: "uint64",
821
- type: "uint64",
822
- indexed: !1
823
- }
698
+ { name: "asset", internalType: "address", type: "address" },
699
+ { name: "available", internalType: "uint256", type: "uint256" },
700
+ { name: "required", internalType: "uint256", type: "uint256" }
824
701
  ],
825
- name: "Initialized"
826
- },
827
- {
828
- type: "function",
829
- inputs: [],
830
- name: "getComponentInterface",
831
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
832
- stateMutability: "pure"
833
- },
834
- {
835
- type: "function",
836
- inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
837
- name: "initialize",
838
- outputs: [],
839
- stateMutability: "nonpayable"
840
- },
841
- {
842
- type: "function",
843
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
844
- name: "supportsInterface",
845
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
846
- stateMutability: "view"
702
+ name: "InsufficientFunds"
847
703
  },
848
704
  {
849
- type: "function",
705
+ type: "error",
850
706
  inputs: [
851
- { name: "boostId", internalType: "uint256", type: "uint256" },
852
- { name: "incentiveId", internalType: "uint256", type: "uint256" },
853
- { name: "claimant", internalType: "address", type: "address" },
854
- { name: "data", internalType: "bytes", type: "bytes" }
707
+ { name: "asset", internalType: "address", type: "address" },
708
+ { name: "amount", internalType: "uint256", type: "uint256" }
855
709
  ],
856
- name: "validate",
857
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
858
- stateMutability: "nonpayable"
859
- }
860
- ], w = [
861
- { type: "constructor", inputs: [], stateMutability: "nonpayable" },
862
- { type: "error", inputs: [], name: "AlreadyInitialized" },
863
- { type: "error", inputs: [], name: "ClaimFailed" },
864
- { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
865
- { type: "error", inputs: [], name: "InitializerNotImplemented" },
710
+ name: "InvalidAllocation"
711
+ },
866
712
  { type: "error", inputs: [], name: "InvalidInitialization" },
867
713
  { type: "error", inputs: [], name: "InvalidInitializationData" },
714
+ { type: "error", inputs: [], name: "LengthMismatch" },
868
715
  { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
869
716
  { type: "error", inputs: [], name: "NoHandoverRequest" },
870
- { type: "error", inputs: [], name: "NotClaimable" },
871
717
  { type: "error", inputs: [], name: "NotImplemented" },
872
718
  { type: "error", inputs: [], name: "NotInitializing" },
719
+ {
720
+ type: "error",
721
+ inputs: [
722
+ { name: "asset", internalType: "address", type: "address" },
723
+ { name: "to", internalType: "address", type: "address" },
724
+ { name: "amount", internalType: "uint256", type: "uint256" }
725
+ ],
726
+ name: "TransferFailed"
727
+ },
873
728
  { type: "error", inputs: [], name: "Unauthorized" },
874
729
  {
875
730
  type: "event",
876
731
  anonymous: !1,
877
732
  inputs: [
878
733
  {
879
- name: "recipient",
734
+ name: "asset",
880
735
  internalType: "address",
881
736
  type: "address",
882
737
  indexed: !0
883
738
  },
884
- { name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
739
+ { name: "to", internalType: "address", type: "address", indexed: !1 },
740
+ {
741
+ name: "amount",
742
+ internalType: "uint256",
743
+ type: "uint256",
744
+ indexed: !1
745
+ }
885
746
  ],
886
- name: "Claimed"
747
+ name: "Distributed"
887
748
  },
888
749
  {
889
750
  type: "event",
@@ -943,52 +804,62 @@ const ae = [
943
804
  ],
944
805
  name: "OwnershipTransferred"
945
806
  },
807
+ {
808
+ type: "event",
809
+ anonymous: !1,
810
+ inputs: [
811
+ { name: "user", internalType: "address", type: "address", indexed: !0 },
812
+ {
813
+ name: "roles",
814
+ internalType: "uint256",
815
+ type: "uint256",
816
+ indexed: !0
817
+ }
818
+ ],
819
+ name: "RolesUpdated"
820
+ },
821
+ { type: "fallback", stateMutability: "payable" },
946
822
  {
947
823
  type: "function",
948
824
  inputs: [],
949
- name: "allowList",
950
- outputs: [
951
- { name: "", internalType: "contract SimpleAllowList", type: "address" }
952
- ],
825
+ name: "ADMIN_ROLE",
826
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
953
827
  stateMutability: "view"
954
828
  },
955
829
  {
956
830
  type: "function",
957
831
  inputs: [],
958
- name: "cancelOwnershipHandover",
959
- outputs: [],
960
- stateMutability: "payable"
832
+ name: "MANAGER_ROLE",
833
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
834
+ stateMutability: "view"
961
835
  },
962
836
  {
963
837
  type: "function",
964
- inputs: [
965
- { name: "claimTarget", internalType: "address", type: "address" },
966
- { name: "", internalType: "bytes", type: "bytes" }
967
- ],
968
- name: "claim",
838
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
839
+ name: "allocate",
969
840
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
970
- stateMutability: "nonpayable"
841
+ stateMutability: "payable"
971
842
  },
972
843
  {
973
844
  type: "function",
974
- inputs: [{ name: "", internalType: "address", type: "address" }],
975
- name: "claimed",
976
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
845
+ inputs: [{ name: "asset_", internalType: "address", type: "address" }],
846
+ name: "available",
847
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
977
848
  stateMutability: "view"
978
849
  },
979
850
  {
980
851
  type: "function",
981
852
  inputs: [],
982
- name: "claims",
983
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
984
- stateMutability: "view"
853
+ name: "cancelOwnershipHandover",
854
+ outputs: [],
855
+ stateMutability: "payable"
985
856
  },
986
857
  {
987
858
  type: "function",
988
- inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
859
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
989
860
  name: "clawback",
990
861
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
991
- stateMutability: "pure"
862
+ stateMutability: "nonpayable"
992
863
  },
993
864
  {
994
865
  type: "function",
@@ -1001,40 +872,84 @@ const ae = [
1001
872
  },
1002
873
  {
1003
874
  type: "function",
1004
- inputs: [],
1005
- name: "currentReward",
1006
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1007
- stateMutability: "view"
875
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
876
+ name: "disburse",
877
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
878
+ stateMutability: "nonpayable"
1008
879
  },
1009
880
  {
1010
881
  type: "function",
1011
- inputs: [],
882
+ inputs: [{ name: "data_", internalType: "bytes[]", type: "bytes[]" }],
883
+ name: "disburseBatch",
884
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
885
+ stateMutability: "nonpayable"
886
+ },
887
+ {
888
+ type: "function",
889
+ inputs: [{ name: "asset_", internalType: "address", type: "address" }],
890
+ name: "distributed",
891
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
892
+ stateMutability: "view"
893
+ },
894
+ {
895
+ type: "function",
896
+ inputs: [],
1012
897
  name: "getComponentInterface",
1013
898
  outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
1014
899
  stateMutability: "pure"
1015
900
  },
1016
901
  {
1017
902
  type: "function",
1018
- inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
1019
- name: "initialize",
903
+ inputs: [
904
+ { name: "user", internalType: "address", type: "address" },
905
+ { name: "roles", internalType: "uint256", type: "uint256" }
906
+ ],
907
+ name: "grantRoles",
908
+ outputs: [],
909
+ stateMutability: "payable"
910
+ },
911
+ {
912
+ type: "function",
913
+ inputs: [
914
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
915
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
916
+ ],
917
+ name: "grantRoles",
1020
918
  outputs: [],
1021
919
  stateMutability: "nonpayable"
1022
920
  },
1023
921
  {
1024
922
  type: "function",
1025
923
  inputs: [
1026
- { name: "claimTarget", internalType: "address", type: "address" },
1027
- { name: "", internalType: "bytes", type: "bytes" }
924
+ { name: "user", internalType: "address", type: "address" },
925
+ { name: "roles", internalType: "uint256", type: "uint256" }
1028
926
  ],
1029
- name: "isClaimable",
927
+ name: "hasAllRoles",
1030
928
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1031
929
  stateMutability: "view"
1032
930
  },
1033
931
  {
1034
932
  type: "function",
1035
- inputs: [],
1036
- name: "limit",
1037
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
933
+ inputs: [
934
+ { name: "user", internalType: "address", type: "address" },
935
+ { name: "roles", internalType: "uint256", type: "uint256" }
936
+ ],
937
+ name: "hasAnyRole",
938
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
939
+ stateMutability: "view"
940
+ },
941
+ {
942
+ type: "function",
943
+ inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
944
+ name: "initialize",
945
+ outputs: [],
946
+ stateMutability: "nonpayable"
947
+ },
948
+ {
949
+ type: "function",
950
+ inputs: [{ name: "account_", internalType: "address", type: "address" }],
951
+ name: "isAuthorized",
952
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1038
953
  stateMutability: "view"
1039
954
  },
1040
955
  {
@@ -1055,10 +970,10 @@ const ae = [
1055
970
  },
1056
971
  {
1057
972
  type: "function",
1058
- inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1059
- name: "preflight",
1060
- outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1061
- stateMutability: "pure"
973
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
974
+ name: "reconcile",
975
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
976
+ stateMutability: "nonpayable"
1062
977
  },
1063
978
  {
1064
979
  type: "function",
@@ -1067,6 +982,13 @@ const ae = [
1067
982
  outputs: [],
1068
983
  stateMutability: "payable"
1069
984
  },
985
+ {
986
+ type: "function",
987
+ inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
988
+ name: "renounceRoles",
989
+ outputs: [],
990
+ stateMutability: "payable"
991
+ },
1070
992
  {
1071
993
  type: "function",
1072
994
  inputs: [],
@@ -1076,11 +998,41 @@ const ae = [
1076
998
  },
1077
999
  {
1078
1000
  type: "function",
1079
- inputs: [],
1080
- name: "reward",
1081
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1001
+ inputs: [
1002
+ { name: "user", internalType: "address", type: "address" },
1003
+ { name: "roles", internalType: "uint256", type: "uint256" }
1004
+ ],
1005
+ name: "revokeRoles",
1006
+ outputs: [],
1007
+ stateMutability: "payable"
1008
+ },
1009
+ {
1010
+ type: "function",
1011
+ inputs: [
1012
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
1013
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
1014
+ ],
1015
+ name: "revokeRoles",
1016
+ outputs: [],
1017
+ stateMutability: "nonpayable"
1018
+ },
1019
+ {
1020
+ type: "function",
1021
+ inputs: [{ name: "user", internalType: "address", type: "address" }],
1022
+ name: "rolesOf",
1023
+ outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
1082
1024
  stateMutability: "view"
1083
1025
  },
1026
+ {
1027
+ type: "function",
1028
+ inputs: [
1029
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
1030
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
1031
+ ],
1032
+ name: "setAuthorized",
1033
+ outputs: [],
1034
+ stateMutability: "nonpayable"
1035
+ },
1084
1036
  {
1085
1037
  type: "function",
1086
1038
  inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
@@ -1088,141 +1040,264 @@ const ae = [
1088
1040
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1089
1041
  stateMutability: "view"
1090
1042
  },
1043
+ {
1044
+ type: "function",
1045
+ inputs: [{ name: "asset_", internalType: "address", type: "address" }],
1046
+ name: "total",
1047
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1048
+ stateMutability: "view"
1049
+ },
1091
1050
  {
1092
1051
  type: "function",
1093
1052
  inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1094
1053
  name: "transferOwnership",
1095
1054
  outputs: [],
1096
1055
  stateMutability: "payable"
1097
- }
1098
- ], d = [
1056
+ },
1057
+ { type: "receive", stateMutability: "payable" }
1058
+ ], k = [
1059
+ { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
1060
+ { type: "error", inputs: [], name: "InitializerNotImplemented" },
1061
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1062
+ { type: "error", inputs: [], name: "InvalidInitializationData" },
1063
+ { type: "error", inputs: [], name: "NotInitializing" },
1099
1064
  {
1100
- type: "constructor",
1065
+ type: "event",
1066
+ anonymous: !1,
1101
1067
  inputs: [
1102
1068
  {
1103
- name: "registry_",
1104
- internalType: "contract BoostRegistry",
1105
- type: "address"
1106
- },
1107
- {
1108
- name: "protocolFeeReceiver_",
1109
- internalType: "address",
1110
- type: "address"
1069
+ name: "version",
1070
+ internalType: "uint64",
1071
+ type: "uint64",
1072
+ indexed: !1
1111
1073
  }
1112
1074
  ],
1113
- stateMutability: "nonpayable"
1075
+ name: "Initialized"
1114
1076
  },
1115
- { type: "error", inputs: [], name: "AlreadyInitialized" },
1116
1077
  {
1117
- type: "error",
1118
- inputs: [
1119
- { name: "caller", internalType: "address", type: "address" },
1120
- { name: "data", internalType: "bytes", type: "bytes" }
1121
- ],
1122
- name: "ClaimFailed"
1078
+ type: "function",
1079
+ inputs: [],
1080
+ name: "getComponentInterface",
1081
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
1082
+ stateMutability: "pure"
1123
1083
  },
1124
1084
  {
1125
- type: "error",
1126
- inputs: [
1127
- { name: "asset", internalType: "address", type: "address" },
1128
- { name: "available", internalType: "uint256", type: "uint256" },
1129
- { name: "required", internalType: "uint256", type: "uint256" }
1130
- ],
1131
- name: "InsufficientFunds"
1085
+ type: "function",
1086
+ inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1087
+ name: "initialize",
1088
+ outputs: [],
1089
+ stateMutability: "nonpayable"
1132
1090
  },
1133
1091
  {
1134
- type: "error",
1135
- inputs: [
1136
- { name: "expectedInterface", internalType: "bytes4", type: "bytes4" },
1137
- { name: "instance", internalType: "address", type: "address" }
1138
- ],
1139
- name: "InvalidInstance"
1140
- },
1141
- { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
1142
- { type: "error", inputs: [], name: "NoHandoverRequest" },
1143
- { type: "error", inputs: [], name: "Reentrancy" },
1144
- { type: "error", inputs: [], name: "Unauthorized" },
1145
- { type: "error", inputs: [], name: "Unauthorized" },
1092
+ type: "function",
1093
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1094
+ name: "supportsInterface",
1095
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1096
+ stateMutability: "view"
1097
+ }
1098
+ ], ye = [
1099
+ { type: "error", inputs: [], name: "ClaimFailed" },
1100
+ { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
1101
+ { type: "error", inputs: [], name: "InitializerNotImplemented" },
1102
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1103
+ { type: "error", inputs: [], name: "InvalidInitializationData" },
1104
+ { type: "error", inputs: [], name: "NotClaimable" },
1105
+ { type: "error", inputs: [], name: "NotInitializing" },
1146
1106
  {
1147
1107
  type: "event",
1148
1108
  anonymous: !1,
1149
1109
  inputs: [
1150
1110
  {
1151
- name: "boostId",
1152
- internalType: "uint256",
1153
- type: "uint256",
1154
- indexed: !0
1155
- },
1156
- {
1157
- name: "incentiveId",
1158
- internalType: "uint256",
1159
- type: "uint256",
1160
- indexed: !0
1161
- },
1162
- {
1163
- name: "claimant",
1111
+ name: "recipient",
1164
1112
  internalType: "address",
1165
1113
  type: "address",
1166
1114
  indexed: !0
1167
1115
  },
1168
- {
1169
- name: "referrer",
1170
- internalType: "address",
1171
- type: "address",
1172
- indexed: !1
1173
- },
1174
1116
  { name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
1175
1117
  ],
1176
- name: "BoostClaimed"
1118
+ name: "Claimed"
1177
1119
  },
1178
1120
  {
1179
1121
  type: "event",
1180
1122
  anonymous: !1,
1181
1123
  inputs: [
1182
1124
  {
1183
- name: "boostIndex",
1184
- internalType: "uint256",
1185
- type: "uint256",
1186
- indexed: !0
1187
- },
1188
- {
1189
- name: "owner",
1190
- internalType: "address",
1191
- type: "address",
1192
- indexed: !0
1193
- },
1194
- {
1195
- name: "action",
1196
- internalType: "address",
1197
- type: "address",
1198
- indexed: !0
1199
- },
1200
- {
1201
- name: "incentiveCount",
1202
- internalType: "uint256",
1203
- type: "uint256",
1204
- indexed: !1
1205
- },
1206
- {
1207
- name: "validator",
1208
- internalType: "address",
1209
- type: "address",
1210
- indexed: !1
1211
- },
1212
- {
1213
- name: "allowList",
1214
- internalType: "address",
1215
- type: "address",
1125
+ name: "version",
1126
+ internalType: "uint64",
1127
+ type: "uint64",
1216
1128
  indexed: !1
1217
- },
1218
- {
1219
- name: "budget",
1220
- internalType: "address",
1129
+ }
1130
+ ],
1131
+ name: "Initialized"
1132
+ },
1133
+ {
1134
+ type: "function",
1135
+ inputs: [
1136
+ { name: "claimant", internalType: "address", type: "address" },
1137
+ { name: "data_", internalType: "bytes", type: "bytes" }
1138
+ ],
1139
+ name: "claim",
1140
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1141
+ stateMutability: "nonpayable"
1142
+ },
1143
+ {
1144
+ type: "function",
1145
+ inputs: [],
1146
+ name: "claims",
1147
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1148
+ stateMutability: "view"
1149
+ },
1150
+ {
1151
+ type: "function",
1152
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
1153
+ name: "clawback",
1154
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1155
+ stateMutability: "nonpayable"
1156
+ },
1157
+ {
1158
+ type: "function",
1159
+ inputs: [],
1160
+ name: "currentReward",
1161
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1162
+ stateMutability: "view"
1163
+ },
1164
+ {
1165
+ type: "function",
1166
+ inputs: [],
1167
+ name: "getComponentInterface",
1168
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
1169
+ stateMutability: "pure"
1170
+ },
1171
+ {
1172
+ type: "function",
1173
+ inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1174
+ name: "initialize",
1175
+ outputs: [],
1176
+ stateMutability: "nonpayable"
1177
+ },
1178
+ {
1179
+ type: "function",
1180
+ inputs: [
1181
+ { name: "claimant", internalType: "address", type: "address" },
1182
+ { name: "data_", internalType: "bytes", type: "bytes" }
1183
+ ],
1184
+ name: "isClaimable",
1185
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1186
+ stateMutability: "view"
1187
+ },
1188
+ {
1189
+ type: "function",
1190
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
1191
+ name: "preflight",
1192
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1193
+ stateMutability: "view"
1194
+ },
1195
+ {
1196
+ type: "function",
1197
+ inputs: [],
1198
+ name: "reward",
1199
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1200
+ stateMutability: "view"
1201
+ },
1202
+ {
1203
+ type: "function",
1204
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1205
+ name: "supportsInterface",
1206
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1207
+ stateMutability: "view"
1208
+ }
1209
+ ], ue = [
1210
+ { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
1211
+ { type: "error", inputs: [], name: "InitializerNotImplemented" },
1212
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1213
+ { type: "error", inputs: [], name: "InvalidInitializationData" },
1214
+ { type: "error", inputs: [], name: "NotInitializing" },
1215
+ {
1216
+ type: "event",
1217
+ anonymous: !1,
1218
+ inputs: [
1219
+ {
1220
+ name: "version",
1221
+ internalType: "uint64",
1222
+ type: "uint64",
1223
+ indexed: !1
1224
+ }
1225
+ ],
1226
+ name: "Initialized"
1227
+ },
1228
+ {
1229
+ type: "function",
1230
+ inputs: [],
1231
+ name: "getComponentInterface",
1232
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
1233
+ stateMutability: "pure"
1234
+ },
1235
+ {
1236
+ type: "function",
1237
+ inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1238
+ name: "initialize",
1239
+ outputs: [],
1240
+ stateMutability: "nonpayable"
1241
+ },
1242
+ {
1243
+ type: "function",
1244
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1245
+ name: "supportsInterface",
1246
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1247
+ stateMutability: "view"
1248
+ },
1249
+ {
1250
+ type: "function",
1251
+ inputs: [
1252
+ { name: "boostId", internalType: "uint256", type: "uint256" },
1253
+ { name: "incentiveId", internalType: "uint256", type: "uint256" },
1254
+ { name: "claimant", internalType: "address", type: "address" },
1255
+ { name: "data", internalType: "bytes", type: "bytes" }
1256
+ ],
1257
+ name: "validate",
1258
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1259
+ stateMutability: "nonpayable"
1260
+ }
1261
+ ], v = [
1262
+ { type: "constructor", inputs: [], stateMutability: "nonpayable" },
1263
+ { type: "error", inputs: [], name: "AlreadyInitialized" },
1264
+ { type: "error", inputs: [], name: "ClaimFailed" },
1265
+ { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
1266
+ { type: "error", inputs: [], name: "InitializerNotImplemented" },
1267
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1268
+ { type: "error", inputs: [], name: "InvalidInitializationData" },
1269
+ { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
1270
+ { type: "error", inputs: [], name: "NoHandoverRequest" },
1271
+ { type: "error", inputs: [], name: "NotClaimable" },
1272
+ { type: "error", inputs: [], name: "NotImplemented" },
1273
+ { type: "error", inputs: [], name: "NotInitializing" },
1274
+ { type: "error", inputs: [], name: "Unauthorized" },
1275
+ {
1276
+ type: "event",
1277
+ anonymous: !1,
1278
+ inputs: [
1279
+ {
1280
+ name: "recipient",
1281
+ internalType: "address",
1221
1282
  type: "address",
1283
+ indexed: !0
1284
+ },
1285
+ { name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
1286
+ ],
1287
+ name: "Claimed"
1288
+ },
1289
+ {
1290
+ type: "event",
1291
+ anonymous: !1,
1292
+ inputs: [
1293
+ {
1294
+ name: "version",
1295
+ internalType: "uint64",
1296
+ type: "uint64",
1222
1297
  indexed: !1
1223
1298
  }
1224
1299
  ],
1225
- name: "BoostCreated"
1300
+ name: "Initialized"
1226
1301
  },
1227
1302
  {
1228
1303
  type: "event",
@@ -1272,8 +1347,10 @@ const ae = [
1272
1347
  {
1273
1348
  type: "function",
1274
1349
  inputs: [],
1275
- name: "FEE_DENOMINATOR",
1276
- outputs: [{ name: "", internalType: "uint64", type: "uint64" }],
1350
+ name: "allowList",
1351
+ outputs: [
1352
+ { name: "", internalType: "contract SimpleAllowList", type: "address" }
1353
+ ],
1277
1354
  stateMutability: "view"
1278
1355
  },
1279
1356
  {
@@ -1285,35 +1362,34 @@ const ae = [
1285
1362
  },
1286
1363
  {
1287
1364
  type: "function",
1288
- inputs: [],
1289
- name: "claimFee",
1290
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1365
+ inputs: [
1366
+ { name: "claimTarget", internalType: "address", type: "address" },
1367
+ { name: "", internalType: "bytes", type: "bytes" }
1368
+ ],
1369
+ name: "claim",
1370
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1371
+ stateMutability: "nonpayable"
1372
+ },
1373
+ {
1374
+ type: "function",
1375
+ inputs: [{ name: "", internalType: "address", type: "address" }],
1376
+ name: "claimed",
1377
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1291
1378
  stateMutability: "view"
1292
1379
  },
1293
1380
  {
1294
1381
  type: "function",
1295
- inputs: [
1296
- { name: "boostId_", internalType: "uint256", type: "uint256" },
1297
- { name: "incentiveId_", internalType: "uint256", type: "uint256" },
1298
- { name: "referrer_", internalType: "address", type: "address" },
1299
- { name: "data_", internalType: "bytes", type: "bytes" }
1300
- ],
1301
- name: "claimIncentive",
1302
- outputs: [],
1303
- stateMutability: "payable"
1382
+ inputs: [],
1383
+ name: "claims",
1384
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1385
+ stateMutability: "view"
1304
1386
  },
1305
1387
  {
1306
1388
  type: "function",
1307
- inputs: [
1308
- { name: "boostId_", internalType: "uint256", type: "uint256" },
1309
- { name: "incentiveId_", internalType: "uint256", type: "uint256" },
1310
- { name: "referrer_", internalType: "address", type: "address" },
1311
- { name: "data_", internalType: "bytes", type: "bytes" },
1312
- { name: "claimant", internalType: "address", type: "address" }
1313
- ],
1314
- name: "claimIncentiveFor",
1315
- outputs: [],
1316
- stateMutability: "payable"
1389
+ inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1390
+ name: "clawback",
1391
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1392
+ stateMutability: "pure"
1317
1393
  },
1318
1394
  {
1319
1395
  type: "function",
@@ -1326,87 +1402,39 @@ const ae = [
1326
1402
  },
1327
1403
  {
1328
1404
  type: "function",
1329
- inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
1330
- name: "createBoost",
1331
- outputs: [
1332
- {
1333
- name: "",
1334
- internalType: "struct BoostLib.Boost",
1335
- type: "tuple",
1336
- components: [
1337
- { name: "action", internalType: "contract AAction", type: "address" },
1338
- {
1339
- name: "validator",
1340
- internalType: "contract AValidator",
1341
- type: "address"
1342
- },
1343
- {
1344
- name: "allowList",
1345
- internalType: "contract AAllowList",
1346
- type: "address"
1347
- },
1348
- { name: "budget", internalType: "contract ABudget", type: "address" },
1349
- {
1350
- name: "incentives",
1351
- internalType: "contract AIncentive[]",
1352
- type: "address[]"
1353
- },
1354
- { name: "protocolFee", internalType: "uint64", type: "uint64" },
1355
- { name: "referralFee", internalType: "uint64", type: "uint64" },
1356
- { name: "maxParticipants", internalType: "uint256", type: "uint256" },
1357
- { name: "owner", internalType: "address", type: "address" }
1358
- ]
1359
- }
1360
- ],
1361
- stateMutability: "nonpayable"
1405
+ inputs: [],
1406
+ name: "currentReward",
1407
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1408
+ stateMutability: "view"
1362
1409
  },
1363
1410
  {
1364
1411
  type: "function",
1365
1412
  inputs: [],
1366
- name: "createBoostAuth",
1367
- outputs: [{ name: "", internalType: "contract IAuth", type: "address" }],
1368
- stateMutability: "view"
1413
+ name: "getComponentInterface",
1414
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
1415
+ stateMutability: "pure"
1369
1416
  },
1370
1417
  {
1371
1418
  type: "function",
1372
- inputs: [{ name: "index", internalType: "uint256", type: "uint256" }],
1373
- name: "getBoost",
1374
- outputs: [
1375
- {
1376
- name: "",
1377
- internalType: "struct BoostLib.Boost",
1378
- type: "tuple",
1379
- components: [
1380
- { name: "action", internalType: "contract AAction", type: "address" },
1381
- {
1382
- name: "validator",
1383
- internalType: "contract AValidator",
1384
- type: "address"
1385
- },
1386
- {
1387
- name: "allowList",
1388
- internalType: "contract AAllowList",
1389
- type: "address"
1390
- },
1391
- { name: "budget", internalType: "contract ABudget", type: "address" },
1392
- {
1393
- name: "incentives",
1394
- internalType: "contract AIncentive[]",
1395
- type: "address[]"
1396
- },
1397
- { name: "protocolFee", internalType: "uint64", type: "uint64" },
1398
- { name: "referralFee", internalType: "uint64", type: "uint64" },
1399
- { name: "maxParticipants", internalType: "uint256", type: "uint256" },
1400
- { name: "owner", internalType: "address", type: "address" }
1401
- ]
1402
- }
1419
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
1420
+ name: "initialize",
1421
+ outputs: [],
1422
+ stateMutability: "nonpayable"
1423
+ },
1424
+ {
1425
+ type: "function",
1426
+ inputs: [
1427
+ { name: "claimTarget", internalType: "address", type: "address" },
1428
+ { name: "", internalType: "bytes", type: "bytes" }
1403
1429
  ],
1430
+ name: "isClaimable",
1431
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1404
1432
  stateMutability: "view"
1405
1433
  },
1406
1434
  {
1407
1435
  type: "function",
1408
1436
  inputs: [],
1409
- name: "getBoostCount",
1437
+ name: "limit",
1410
1438
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1411
1439
  stateMutability: "view"
1412
1440
  },
@@ -1428,33 +1456,10 @@ const ae = [
1428
1456
  },
1429
1457
  {
1430
1458
  type: "function",
1431
- inputs: [],
1432
- name: "protocolFee",
1433
- outputs: [{ name: "", internalType: "uint64", type: "uint64" }],
1434
- stateMutability: "view"
1435
- },
1436
- {
1437
- type: "function",
1438
- inputs: [],
1439
- name: "protocolFeeReceiver",
1440
- outputs: [{ name: "", internalType: "address", type: "address" }],
1441
- stateMutability: "view"
1442
- },
1443
- {
1444
- type: "function",
1445
- inputs: [],
1446
- name: "referralFee",
1447
- outputs: [{ name: "", internalType: "uint64", type: "uint64" }],
1448
- stateMutability: "view"
1449
- },
1450
- {
1451
- type: "function",
1452
- inputs: [],
1453
- name: "registry",
1454
- outputs: [
1455
- { name: "", internalType: "contract BoostRegistry", type: "address" }
1456
- ],
1457
- stateMutability: "view"
1459
+ inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1460
+ name: "preflight",
1461
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1462
+ stateMutability: "pure"
1458
1463
  },
1459
1464
  {
1460
1465
  type: "function",
@@ -1472,247 +1477,894 @@ const ae = [
1472
1477
  },
1473
1478
  {
1474
1479
  type: "function",
1475
- inputs: [{ name: "claimFee_", internalType: "uint256", type: "uint256" }],
1476
- name: "setClaimFee",
1477
- outputs: [],
1478
- stateMutability: "nonpayable"
1480
+ inputs: [],
1481
+ name: "reward",
1482
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1483
+ stateMutability: "view"
1479
1484
  },
1480
1485
  {
1481
1486
  type: "function",
1482
- inputs: [{ name: "auth_", internalType: "address", type: "address" }],
1483
- name: "setCreateBoostAuth",
1484
- outputs: [],
1485
- stateMutability: "nonpayable"
1487
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1488
+ name: "supportsInterface",
1489
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1490
+ stateMutability: "view"
1486
1491
  },
1487
1492
  {
1488
1493
  type: "function",
1489
- inputs: [{ name: "protocolFee_", internalType: "uint64", type: "uint64" }],
1490
- name: "setProtocolFee",
1494
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1495
+ name: "transferOwnership",
1491
1496
  outputs: [],
1492
- stateMutability: "nonpayable"
1493
- },
1497
+ stateMutability: "payable"
1498
+ }
1499
+ ], l = [
1494
1500
  {
1495
- type: "function",
1501
+ type: "constructor",
1496
1502
  inputs: [
1503
+ {
1504
+ name: "registry_",
1505
+ internalType: "contract BoostRegistry",
1506
+ type: "address"
1507
+ },
1497
1508
  {
1498
1509
  name: "protocolFeeReceiver_",
1499
1510
  internalType: "address",
1500
1511
  type: "address"
1501
1512
  }
1502
1513
  ],
1503
- name: "setProtocolFeeReceiver",
1504
- outputs: [],
1505
- stateMutability: "nonpayable"
1506
- },
1507
- {
1508
- type: "function",
1509
- inputs: [{ name: "referralFee_", internalType: "uint64", type: "uint64" }],
1510
- name: "setReferralFee",
1511
- outputs: [],
1512
1514
  stateMutability: "nonpayable"
1513
1515
  },
1514
- {
1515
- type: "function",
1516
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1517
- name: "transferOwnership",
1518
- outputs: [],
1519
- stateMutability: "payable"
1520
- }
1521
- ], M = [
1516
+ { type: "error", inputs: [], name: "AlreadyInitialized" },
1522
1517
  {
1523
1518
  type: "error",
1524
1519
  inputs: [
1525
- {
1526
- name: "registryType",
1527
- internalType: "enum BoostRegistry.RegistryType",
1528
- type: "uint8"
1529
- },
1530
- { name: "identifier", internalType: "bytes32", type: "bytes32" }
1520
+ { name: "caller", internalType: "address", type: "address" },
1521
+ { name: "data", internalType: "bytes", type: "bytes" }
1531
1522
  ],
1532
- name: "AlreadyRegistered"
1523
+ name: "ClaimFailed"
1533
1524
  },
1534
1525
  {
1535
1526
  type: "error",
1536
1527
  inputs: [
1537
- { name: "implementation", internalType: "address", type: "address" }
1528
+ { name: "asset", internalType: "address", type: "address" },
1529
+ { name: "available", internalType: "uint256", type: "uint256" },
1530
+ { name: "required", internalType: "uint256", type: "uint256" }
1538
1531
  ],
1539
- name: "NotACloneable"
1532
+ name: "InsufficientFunds"
1540
1533
  },
1541
1534
  {
1542
1535
  type: "error",
1543
- inputs: [{ name: "identifier", internalType: "bytes32", type: "bytes32" }],
1544
- name: "NotRegistered"
1536
+ inputs: [
1537
+ { name: "expectedInterface", internalType: "bytes4", type: "bytes4" },
1538
+ { name: "instance", internalType: "address", type: "address" }
1539
+ ],
1540
+ name: "InvalidInstance"
1545
1541
  },
1542
+ { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
1543
+ { type: "error", inputs: [], name: "NoHandoverRequest" },
1546
1544
  { type: "error", inputs: [], name: "Reentrancy" },
1545
+ { type: "error", inputs: [], name: "Unauthorized" },
1546
+ { type: "error", inputs: [], name: "Unauthorized" },
1547
1547
  {
1548
1548
  type: "event",
1549
1549
  anonymous: !1,
1550
1550
  inputs: [
1551
1551
  {
1552
- name: "registryType",
1553
- internalType: "enum BoostRegistry.RegistryType",
1554
- type: "uint8",
1552
+ name: "boostId",
1553
+ internalType: "uint256",
1554
+ type: "uint256",
1555
1555
  indexed: !0
1556
1556
  },
1557
1557
  {
1558
- name: "identifier",
1559
- internalType: "bytes32",
1560
- type: "bytes32",
1558
+ name: "incentiveId",
1559
+ internalType: "uint256",
1560
+ type: "uint256",
1561
1561
  indexed: !0
1562
1562
  },
1563
1563
  {
1564
- name: "baseImplementation",
1564
+ name: "claimant",
1565
1565
  internalType: "address",
1566
1566
  type: "address",
1567
- indexed: !1
1567
+ indexed: !0
1568
1568
  },
1569
1569
  {
1570
- name: "deployedInstance",
1571
- internalType: "contract ACloneable",
1570
+ name: "referrer",
1571
+ internalType: "address",
1572
1572
  type: "address",
1573
1573
  indexed: !1
1574
- }
1574
+ },
1575
+ { name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
1575
1576
  ],
1576
- name: "Deployed"
1577
+ name: "BoostClaimed"
1577
1578
  },
1578
1579
  {
1579
1580
  type: "event",
1580
1581
  anonymous: !1,
1581
1582
  inputs: [
1582
1583
  {
1583
- name: "registryType",
1584
- internalType: "enum BoostRegistry.RegistryType",
1585
- type: "uint8",
1584
+ name: "boostIndex",
1585
+ internalType: "uint256",
1586
+ type: "uint256",
1586
1587
  indexed: !0
1587
1588
  },
1588
1589
  {
1589
- name: "identifier",
1590
- internalType: "bytes32",
1591
- type: "bytes32",
1590
+ name: "owner",
1591
+ internalType: "address",
1592
+ type: "address",
1592
1593
  indexed: !0
1593
1594
  },
1594
1595
  {
1595
- name: "implementation",
1596
+ name: "action",
1597
+ internalType: "address",
1598
+ type: "address",
1599
+ indexed: !0
1600
+ },
1601
+ {
1602
+ name: "incentiveCount",
1603
+ internalType: "uint256",
1604
+ type: "uint256",
1605
+ indexed: !1
1606
+ },
1607
+ {
1608
+ name: "validator",
1609
+ internalType: "address",
1610
+ type: "address",
1611
+ indexed: !1
1612
+ },
1613
+ {
1614
+ name: "allowList",
1615
+ internalType: "address",
1616
+ type: "address",
1617
+ indexed: !1
1618
+ },
1619
+ {
1620
+ name: "budget",
1596
1621
  internalType: "address",
1597
1622
  type: "address",
1598
1623
  indexed: !1
1599
1624
  }
1600
1625
  ],
1601
- name: "Registered"
1626
+ name: "BoostCreated"
1602
1627
  },
1603
1628
  {
1604
- type: "function",
1629
+ type: "event",
1630
+ anonymous: !1,
1605
1631
  inputs: [
1606
1632
  {
1607
- name: "type_",
1608
- internalType: "enum BoostRegistry.RegistryType",
1609
- type: "uint8"
1610
- },
1611
- { name: "base_", internalType: "address", type: "address" },
1612
- { name: "name_", internalType: "string", type: "string" },
1613
- { name: "data_", internalType: "bytes", type: "bytes" }
1633
+ name: "pendingOwner",
1634
+ internalType: "address",
1635
+ type: "address",
1636
+ indexed: !0
1637
+ }
1614
1638
  ],
1615
- name: "deployClone",
1616
- outputs: [
1639
+ name: "OwnershipHandoverCanceled"
1640
+ },
1641
+ {
1642
+ type: "event",
1643
+ anonymous: !1,
1644
+ inputs: [
1617
1645
  {
1618
- name: "instance",
1619
- internalType: "contract ACloneable",
1620
- type: "address"
1646
+ name: "pendingOwner",
1647
+ internalType: "address",
1648
+ type: "address",
1649
+ indexed: !0
1621
1650
  }
1622
1651
  ],
1623
- stateMutability: "nonpayable"
1652
+ name: "OwnershipHandoverRequested"
1624
1653
  },
1625
1654
  {
1626
- type: "function",
1627
- inputs: [{ name: "identifier_", internalType: "bytes32", type: "bytes32" }],
1628
- name: "getBaseImplementation",
1655
+ type: "event",
1656
+ anonymous: !1,
1657
+ inputs: [
1658
+ {
1659
+ name: "oldOwner",
1660
+ internalType: "address",
1661
+ type: "address",
1662
+ indexed: !0
1663
+ },
1664
+ {
1665
+ name: "newOwner",
1666
+ internalType: "address",
1667
+ type: "address",
1668
+ indexed: !0
1669
+ }
1670
+ ],
1671
+ name: "OwnershipTransferred"
1672
+ },
1673
+ {
1674
+ type: "function",
1675
+ inputs: [],
1676
+ name: "FEE_DENOMINATOR",
1677
+ outputs: [{ name: "", internalType: "uint64", type: "uint64" }],
1678
+ stateMutability: "view"
1679
+ },
1680
+ {
1681
+ type: "function",
1682
+ inputs: [],
1683
+ name: "cancelOwnershipHandover",
1684
+ outputs: [],
1685
+ stateMutability: "payable"
1686
+ },
1687
+ {
1688
+ type: "function",
1689
+ inputs: [],
1690
+ name: "claimFee",
1691
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1692
+ stateMutability: "view"
1693
+ },
1694
+ {
1695
+ type: "function",
1696
+ inputs: [
1697
+ { name: "boostId_", internalType: "uint256", type: "uint256" },
1698
+ { name: "incentiveId_", internalType: "uint256", type: "uint256" },
1699
+ { name: "referrer_", internalType: "address", type: "address" },
1700
+ { name: "data_", internalType: "bytes", type: "bytes" }
1701
+ ],
1702
+ name: "claimIncentive",
1703
+ outputs: [],
1704
+ stateMutability: "payable"
1705
+ },
1706
+ {
1707
+ type: "function",
1708
+ inputs: [
1709
+ { name: "boostId_", internalType: "uint256", type: "uint256" },
1710
+ { name: "incentiveId_", internalType: "uint256", type: "uint256" },
1711
+ { name: "referrer_", internalType: "address", type: "address" },
1712
+ { name: "data_", internalType: "bytes", type: "bytes" },
1713
+ { name: "claimant", internalType: "address", type: "address" }
1714
+ ],
1715
+ name: "claimIncentiveFor",
1716
+ outputs: [],
1717
+ stateMutability: "payable"
1718
+ },
1719
+ {
1720
+ type: "function",
1721
+ inputs: [
1722
+ { name: "pendingOwner", internalType: "address", type: "address" }
1723
+ ],
1724
+ name: "completeOwnershipHandover",
1725
+ outputs: [],
1726
+ stateMutability: "payable"
1727
+ },
1728
+ {
1729
+ type: "function",
1730
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
1731
+ name: "createBoost",
1629
1732
  outputs: [
1630
1733
  {
1631
- name: "implementation",
1632
- internalType: "contract ACloneable",
1734
+ name: "",
1735
+ internalType: "struct BoostLib.Boost",
1736
+ type: "tuple",
1737
+ components: [
1738
+ { name: "action", internalType: "contract AAction", type: "address" },
1739
+ {
1740
+ name: "validator",
1741
+ internalType: "contract AValidator",
1742
+ type: "address"
1743
+ },
1744
+ {
1745
+ name: "allowList",
1746
+ internalType: "contract AAllowList",
1747
+ type: "address"
1748
+ },
1749
+ { name: "budget", internalType: "contract ABudget", type: "address" },
1750
+ {
1751
+ name: "incentives",
1752
+ internalType: "contract AIncentive[]",
1753
+ type: "address[]"
1754
+ },
1755
+ { name: "protocolFee", internalType: "uint64", type: "uint64" },
1756
+ { name: "referralFee", internalType: "uint64", type: "uint64" },
1757
+ { name: "maxParticipants", internalType: "uint256", type: "uint256" },
1758
+ { name: "owner", internalType: "address", type: "address" }
1759
+ ]
1760
+ }
1761
+ ],
1762
+ stateMutability: "nonpayable"
1763
+ },
1764
+ {
1765
+ type: "function",
1766
+ inputs: [],
1767
+ name: "createBoostAuth",
1768
+ outputs: [{ name: "", internalType: "contract IAuth", type: "address" }],
1769
+ stateMutability: "view"
1770
+ },
1771
+ {
1772
+ type: "function",
1773
+ inputs: [{ name: "index", internalType: "uint256", type: "uint256" }],
1774
+ name: "getBoost",
1775
+ outputs: [
1776
+ {
1777
+ name: "",
1778
+ internalType: "struct BoostLib.Boost",
1779
+ type: "tuple",
1780
+ components: [
1781
+ { name: "action", internalType: "contract AAction", type: "address" },
1782
+ {
1783
+ name: "validator",
1784
+ internalType: "contract AValidator",
1785
+ type: "address"
1786
+ },
1787
+ {
1788
+ name: "allowList",
1789
+ internalType: "contract AAllowList",
1790
+ type: "address"
1791
+ },
1792
+ { name: "budget", internalType: "contract ABudget", type: "address" },
1793
+ {
1794
+ name: "incentives",
1795
+ internalType: "contract AIncentive[]",
1796
+ type: "address[]"
1797
+ },
1798
+ { name: "protocolFee", internalType: "uint64", type: "uint64" },
1799
+ { name: "referralFee", internalType: "uint64", type: "uint64" },
1800
+ { name: "maxParticipants", internalType: "uint256", type: "uint256" },
1801
+ { name: "owner", internalType: "address", type: "address" }
1802
+ ]
1803
+ }
1804
+ ],
1805
+ stateMutability: "view"
1806
+ },
1807
+ {
1808
+ type: "function",
1809
+ inputs: [],
1810
+ name: "getBoostCount",
1811
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1812
+ stateMutability: "view"
1813
+ },
1814
+ {
1815
+ type: "function",
1816
+ inputs: [],
1817
+ name: "owner",
1818
+ outputs: [{ name: "result", internalType: "address", type: "address" }],
1819
+ stateMutability: "view"
1820
+ },
1821
+ {
1822
+ type: "function",
1823
+ inputs: [
1824
+ { name: "pendingOwner", internalType: "address", type: "address" }
1825
+ ],
1826
+ name: "ownershipHandoverExpiresAt",
1827
+ outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
1828
+ stateMutability: "view"
1829
+ },
1830
+ {
1831
+ type: "function",
1832
+ inputs: [],
1833
+ name: "protocolFee",
1834
+ outputs: [{ name: "", internalType: "uint64", type: "uint64" }],
1835
+ stateMutability: "view"
1836
+ },
1837
+ {
1838
+ type: "function",
1839
+ inputs: [],
1840
+ name: "protocolFeeReceiver",
1841
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1842
+ stateMutability: "view"
1843
+ },
1844
+ {
1845
+ type: "function",
1846
+ inputs: [],
1847
+ name: "referralFee",
1848
+ outputs: [{ name: "", internalType: "uint64", type: "uint64" }],
1849
+ stateMutability: "view"
1850
+ },
1851
+ {
1852
+ type: "function",
1853
+ inputs: [],
1854
+ name: "registry",
1855
+ outputs: [
1856
+ { name: "", internalType: "contract BoostRegistry", type: "address" }
1857
+ ],
1858
+ stateMutability: "view"
1859
+ },
1860
+ {
1861
+ type: "function",
1862
+ inputs: [],
1863
+ name: "renounceOwnership",
1864
+ outputs: [],
1865
+ stateMutability: "payable"
1866
+ },
1867
+ {
1868
+ type: "function",
1869
+ inputs: [],
1870
+ name: "requestOwnershipHandover",
1871
+ outputs: [],
1872
+ stateMutability: "payable"
1873
+ },
1874
+ {
1875
+ type: "function",
1876
+ inputs: [{ name: "claimFee_", internalType: "uint256", type: "uint256" }],
1877
+ name: "setClaimFee",
1878
+ outputs: [],
1879
+ stateMutability: "nonpayable"
1880
+ },
1881
+ {
1882
+ type: "function",
1883
+ inputs: [{ name: "auth_", internalType: "address", type: "address" }],
1884
+ name: "setCreateBoostAuth",
1885
+ outputs: [],
1886
+ stateMutability: "nonpayable"
1887
+ },
1888
+ {
1889
+ type: "function",
1890
+ inputs: [{ name: "protocolFee_", internalType: "uint64", type: "uint64" }],
1891
+ name: "setProtocolFee",
1892
+ outputs: [],
1893
+ stateMutability: "nonpayable"
1894
+ },
1895
+ {
1896
+ type: "function",
1897
+ inputs: [
1898
+ {
1899
+ name: "protocolFeeReceiver_",
1900
+ internalType: "address",
1633
1901
  type: "address"
1634
1902
  }
1635
1903
  ],
1904
+ name: "setProtocolFeeReceiver",
1905
+ outputs: [],
1906
+ stateMutability: "nonpayable"
1907
+ },
1908
+ {
1909
+ type: "function",
1910
+ inputs: [{ name: "referralFee_", internalType: "uint64", type: "uint64" }],
1911
+ name: "setReferralFee",
1912
+ outputs: [],
1913
+ stateMutability: "nonpayable"
1914
+ },
1915
+ {
1916
+ type: "function",
1917
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1918
+ name: "transferOwnership",
1919
+ outputs: [],
1920
+ stateMutability: "payable"
1921
+ }
1922
+ ], h = [
1923
+ {
1924
+ type: "error",
1925
+ inputs: [
1926
+ {
1927
+ name: "registryType",
1928
+ internalType: "enum BoostRegistry.RegistryType",
1929
+ type: "uint8"
1930
+ },
1931
+ { name: "identifier", internalType: "bytes32", type: "bytes32" }
1932
+ ],
1933
+ name: "AlreadyRegistered"
1934
+ },
1935
+ {
1936
+ type: "error",
1937
+ inputs: [
1938
+ { name: "implementation", internalType: "address", type: "address" }
1939
+ ],
1940
+ name: "NotACloneable"
1941
+ },
1942
+ {
1943
+ type: "error",
1944
+ inputs: [{ name: "identifier", internalType: "bytes32", type: "bytes32" }],
1945
+ name: "NotRegistered"
1946
+ },
1947
+ { type: "error", inputs: [], name: "Reentrancy" },
1948
+ {
1949
+ type: "event",
1950
+ anonymous: !1,
1951
+ inputs: [
1952
+ {
1953
+ name: "registryType",
1954
+ internalType: "enum BoostRegistry.RegistryType",
1955
+ type: "uint8",
1956
+ indexed: !0
1957
+ },
1958
+ {
1959
+ name: "identifier",
1960
+ internalType: "bytes32",
1961
+ type: "bytes32",
1962
+ indexed: !0
1963
+ },
1964
+ {
1965
+ name: "baseImplementation",
1966
+ internalType: "address",
1967
+ type: "address",
1968
+ indexed: !1
1969
+ },
1970
+ {
1971
+ name: "deployedInstance",
1972
+ internalType: "contract ACloneable",
1973
+ type: "address",
1974
+ indexed: !1
1975
+ }
1976
+ ],
1977
+ name: "Deployed"
1978
+ },
1979
+ {
1980
+ type: "event",
1981
+ anonymous: !1,
1982
+ inputs: [
1983
+ {
1984
+ name: "registryType",
1985
+ internalType: "enum BoostRegistry.RegistryType",
1986
+ type: "uint8",
1987
+ indexed: !0
1988
+ },
1989
+ {
1990
+ name: "identifier",
1991
+ internalType: "bytes32",
1992
+ type: "bytes32",
1993
+ indexed: !0
1994
+ },
1995
+ {
1996
+ name: "implementation",
1997
+ internalType: "address",
1998
+ type: "address",
1999
+ indexed: !1
2000
+ }
2001
+ ],
2002
+ name: "Registered"
2003
+ },
2004
+ {
2005
+ type: "function",
2006
+ inputs: [
2007
+ {
2008
+ name: "type_",
2009
+ internalType: "enum BoostRegistry.RegistryType",
2010
+ type: "uint8"
2011
+ },
2012
+ { name: "base_", internalType: "address", type: "address" },
2013
+ { name: "name_", internalType: "string", type: "string" },
2014
+ { name: "data_", internalType: "bytes", type: "bytes" }
2015
+ ],
2016
+ name: "deployClone",
2017
+ outputs: [
2018
+ {
2019
+ name: "instance",
2020
+ internalType: "contract ACloneable",
2021
+ type: "address"
2022
+ }
2023
+ ],
2024
+ stateMutability: "nonpayable"
2025
+ },
2026
+ {
2027
+ type: "function",
2028
+ inputs: [{ name: "identifier_", internalType: "bytes32", type: "bytes32" }],
2029
+ name: "getBaseImplementation",
2030
+ outputs: [
2031
+ {
2032
+ name: "implementation",
2033
+ internalType: "contract ACloneable",
2034
+ type: "address"
2035
+ }
2036
+ ],
2037
+ stateMutability: "view"
2038
+ },
2039
+ {
2040
+ type: "function",
2041
+ inputs: [{ name: "identifier_", internalType: "bytes32", type: "bytes32" }],
2042
+ name: "getClone",
2043
+ outputs: [
2044
+ {
2045
+ name: "clone",
2046
+ internalType: "struct BoostRegistry.Clone",
2047
+ type: "tuple",
2048
+ components: [
2049
+ {
2050
+ name: "baseType",
2051
+ internalType: "enum BoostRegistry.RegistryType",
2052
+ type: "uint8"
2053
+ },
2054
+ {
2055
+ name: "instance",
2056
+ internalType: "contract ACloneable",
2057
+ type: "address"
2058
+ },
2059
+ { name: "deployer", internalType: "address", type: "address" },
2060
+ { name: "name", internalType: "string", type: "string" }
2061
+ ]
2062
+ }
2063
+ ],
2064
+ stateMutability: "view"
2065
+ },
2066
+ {
2067
+ type: "function",
2068
+ inputs: [
2069
+ {
2070
+ name: "type_",
2071
+ internalType: "enum BoostRegistry.RegistryType",
2072
+ type: "uint8"
2073
+ },
2074
+ { name: "base_", internalType: "address", type: "address" },
2075
+ { name: "deployer_", internalType: "address", type: "address" },
2076
+ { name: "name_", internalType: "string", type: "string" }
2077
+ ],
2078
+ name: "getCloneIdentifier",
2079
+ outputs: [{ name: "identifier", internalType: "bytes32", type: "bytes32" }],
2080
+ stateMutability: "pure"
2081
+ },
2082
+ {
2083
+ type: "function",
2084
+ inputs: [{ name: "deployer_", internalType: "address", type: "address" }],
2085
+ name: "getClones",
2086
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
2087
+ stateMutability: "view"
2088
+ },
2089
+ {
2090
+ type: "function",
2091
+ inputs: [
2092
+ {
2093
+ name: "type_",
2094
+ internalType: "enum BoostRegistry.RegistryType",
2095
+ type: "uint8"
2096
+ },
2097
+ { name: "name_", internalType: "string", type: "string" }
2098
+ ],
2099
+ name: "getIdentifier",
2100
+ outputs: [{ name: "identifier", internalType: "bytes32", type: "bytes32" }],
2101
+ stateMutability: "pure"
2102
+ },
2103
+ {
2104
+ type: "function",
2105
+ inputs: [
2106
+ {
2107
+ name: "type_",
2108
+ internalType: "enum BoostRegistry.RegistryType",
2109
+ type: "uint8"
2110
+ },
2111
+ { name: "name_", internalType: "string", type: "string" },
2112
+ { name: "implementation_", internalType: "address", type: "address" }
2113
+ ],
2114
+ name: "register",
2115
+ outputs: [],
2116
+ stateMutability: "nonpayable"
2117
+ },
2118
+ {
2119
+ type: "function",
2120
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
2121
+ name: "supportsInterface",
2122
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2123
+ stateMutability: "view"
2124
+ }
2125
+ ], m = [
2126
+ { type: "constructor", inputs: [], stateMutability: "nonpayable" },
2127
+ { type: "error", inputs: [], name: "AlreadyInitialized" },
2128
+ { type: "error", inputs: [], name: "ClaimFailed" },
2129
+ {
2130
+ type: "error",
2131
+ inputs: [
2132
+ { name: "caller", internalType: "address", type: "address" },
2133
+ { name: "data", internalType: "bytes", type: "bytes" }
2134
+ ],
2135
+ name: "ClaimFailed"
2136
+ },
2137
+ { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
2138
+ { type: "error", inputs: [], name: "InitializerNotImplemented" },
2139
+ {
2140
+ type: "error",
2141
+ inputs: [
2142
+ { name: "asset", internalType: "address", type: "address" },
2143
+ { name: "available", internalType: "uint256", type: "uint256" },
2144
+ { name: "required", internalType: "uint256", type: "uint256" }
2145
+ ],
2146
+ name: "InsufficientFunds"
2147
+ },
2148
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2149
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2150
+ { type: "error", inputs: [], name: "InvalidInitializationData" },
2151
+ { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
2152
+ { type: "error", inputs: [], name: "NoHandoverRequest" },
2153
+ { type: "error", inputs: [], name: "NotClaimable" },
2154
+ { type: "error", inputs: [], name: "NotInitializing" },
2155
+ { type: "error", inputs: [], name: "Unauthorized" },
2156
+ {
2157
+ type: "event",
2158
+ anonymous: !1,
2159
+ inputs: [
2160
+ {
2161
+ name: "recipient",
2162
+ internalType: "address",
2163
+ type: "address",
2164
+ indexed: !0
2165
+ },
2166
+ { name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
2167
+ ],
2168
+ name: "Claimed"
2169
+ },
2170
+ {
2171
+ type: "event",
2172
+ anonymous: !1,
2173
+ inputs: [
2174
+ {
2175
+ name: "version",
2176
+ internalType: "uint64",
2177
+ type: "uint64",
2178
+ indexed: !1
2179
+ }
2180
+ ],
2181
+ name: "Initialized"
2182
+ },
2183
+ {
2184
+ type: "event",
2185
+ anonymous: !1,
2186
+ inputs: [
2187
+ {
2188
+ name: "pendingOwner",
2189
+ internalType: "address",
2190
+ type: "address",
2191
+ indexed: !0
2192
+ }
2193
+ ],
2194
+ name: "OwnershipHandoverCanceled"
2195
+ },
2196
+ {
2197
+ type: "event",
2198
+ anonymous: !1,
2199
+ inputs: [
2200
+ {
2201
+ name: "pendingOwner",
2202
+ internalType: "address",
2203
+ type: "address",
2204
+ indexed: !0
2205
+ }
2206
+ ],
2207
+ name: "OwnershipHandoverRequested"
2208
+ },
2209
+ {
2210
+ type: "event",
2211
+ anonymous: !1,
2212
+ inputs: [
2213
+ {
2214
+ name: "oldOwner",
2215
+ internalType: "address",
2216
+ type: "address",
2217
+ indexed: !0
2218
+ },
2219
+ {
2220
+ name: "newOwner",
2221
+ internalType: "address",
2222
+ type: "address",
2223
+ indexed: !0
2224
+ }
2225
+ ],
2226
+ name: "OwnershipTransferred"
2227
+ },
2228
+ {
2229
+ type: "function",
2230
+ inputs: [],
2231
+ name: "asset",
2232
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2233
+ stateMutability: "view"
2234
+ },
2235
+ {
2236
+ type: "function",
2237
+ inputs: [],
2238
+ name: "cancelOwnershipHandover",
2239
+ outputs: [],
2240
+ stateMutability: "payable"
2241
+ },
2242
+ {
2243
+ type: "function",
2244
+ inputs: [],
2245
+ name: "cgdaParams",
2246
+ outputs: [
2247
+ { name: "rewardDecay", internalType: "uint256", type: "uint256" },
2248
+ { name: "rewardBoost", internalType: "uint256", type: "uint256" },
2249
+ { name: "lastClaimTime", internalType: "uint256", type: "uint256" },
2250
+ { name: "currentReward", internalType: "uint256", type: "uint256" }
2251
+ ],
2252
+ stateMutability: "view"
2253
+ },
2254
+ {
2255
+ type: "function",
2256
+ inputs: [
2257
+ { name: "claimTarget", internalType: "address", type: "address" },
2258
+ { name: "", internalType: "bytes", type: "bytes" }
2259
+ ],
2260
+ name: "claim",
2261
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2262
+ stateMutability: "nonpayable"
2263
+ },
2264
+ {
2265
+ type: "function",
2266
+ inputs: [{ name: "", internalType: "address", type: "address" }],
2267
+ name: "claimed",
2268
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2269
+ stateMutability: "view"
2270
+ },
2271
+ {
2272
+ type: "function",
2273
+ inputs: [],
2274
+ name: "claims",
2275
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2276
+ stateMutability: "view"
2277
+ },
2278
+ {
2279
+ type: "function",
2280
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
2281
+ name: "clawback",
2282
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2283
+ stateMutability: "nonpayable"
2284
+ },
2285
+ {
2286
+ type: "function",
2287
+ inputs: [
2288
+ { name: "pendingOwner", internalType: "address", type: "address" }
2289
+ ],
2290
+ name: "completeOwnershipHandover",
2291
+ outputs: [],
2292
+ stateMutability: "payable"
2293
+ },
2294
+ {
2295
+ type: "function",
2296
+ inputs: [],
2297
+ name: "currentReward",
2298
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2299
+ stateMutability: "view"
2300
+ },
2301
+ {
2302
+ type: "function",
2303
+ inputs: [],
2304
+ name: "getComponentInterface",
2305
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
2306
+ stateMutability: "pure"
2307
+ },
2308
+ {
2309
+ type: "function",
2310
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
2311
+ name: "initialize",
2312
+ outputs: [],
2313
+ stateMutability: "nonpayable"
2314
+ },
2315
+ {
2316
+ type: "function",
2317
+ inputs: [
2318
+ { name: "claimTarget", internalType: "address", type: "address" },
2319
+ { name: "", internalType: "bytes", type: "bytes" }
2320
+ ],
2321
+ name: "isClaimable",
2322
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1636
2323
  stateMutability: "view"
1637
2324
  },
1638
2325
  {
1639
2326
  type: "function",
1640
- inputs: [{ name: "identifier_", internalType: "bytes32", type: "bytes32" }],
1641
- name: "getClone",
1642
- outputs: [
1643
- {
1644
- name: "clone",
1645
- internalType: "struct BoostRegistry.Clone",
1646
- type: "tuple",
1647
- components: [
1648
- {
1649
- name: "baseType",
1650
- internalType: "enum BoostRegistry.RegistryType",
1651
- type: "uint8"
1652
- },
1653
- {
1654
- name: "instance",
1655
- internalType: "contract ACloneable",
1656
- type: "address"
1657
- },
1658
- { name: "deployer", internalType: "address", type: "address" },
1659
- { name: "name", internalType: "string", type: "string" }
1660
- ]
1661
- }
1662
- ],
2327
+ inputs: [],
2328
+ name: "owner",
2329
+ outputs: [{ name: "result", internalType: "address", type: "address" }],
1663
2330
  stateMutability: "view"
1664
2331
  },
1665
2332
  {
1666
2333
  type: "function",
1667
2334
  inputs: [
1668
- {
1669
- name: "type_",
1670
- internalType: "enum BoostRegistry.RegistryType",
1671
- type: "uint8"
1672
- },
1673
- { name: "base_", internalType: "address", type: "address" },
1674
- { name: "deployer_", internalType: "address", type: "address" },
1675
- { name: "name_", internalType: "string", type: "string" }
2335
+ { name: "pendingOwner", internalType: "address", type: "address" }
1676
2336
  ],
1677
- name: "getCloneIdentifier",
1678
- outputs: [{ name: "identifier", internalType: "bytes32", type: "bytes32" }],
1679
- stateMutability: "pure"
2337
+ name: "ownershipHandoverExpiresAt",
2338
+ outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
2339
+ stateMutability: "view"
1680
2340
  },
1681
2341
  {
1682
2342
  type: "function",
1683
- inputs: [{ name: "deployer_", internalType: "address", type: "address" }],
1684
- name: "getClones",
1685
- outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
2343
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
2344
+ name: "preflight",
2345
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1686
2346
  stateMutability: "view"
1687
2347
  },
1688
2348
  {
1689
2349
  type: "function",
1690
- inputs: [
1691
- {
1692
- name: "type_",
1693
- internalType: "enum BoostRegistry.RegistryType",
1694
- type: "uint8"
1695
- },
1696
- { name: "name_", internalType: "string", type: "string" }
1697
- ],
1698
- name: "getIdentifier",
1699
- outputs: [{ name: "identifier", internalType: "bytes32", type: "bytes32" }],
1700
- stateMutability: "pure"
2350
+ inputs: [],
2351
+ name: "renounceOwnership",
2352
+ outputs: [],
2353
+ stateMutability: "payable"
1701
2354
  },
1702
2355
  {
1703
2356
  type: "function",
1704
- inputs: [
1705
- {
1706
- name: "type_",
1707
- internalType: "enum BoostRegistry.RegistryType",
1708
- type: "uint8"
1709
- },
1710
- { name: "name_", internalType: "string", type: "string" },
1711
- { name: "implementation_", internalType: "address", type: "address" }
1712
- ],
1713
- name: "register",
2357
+ inputs: [],
2358
+ name: "requestOwnershipHandover",
1714
2359
  outputs: [],
1715
- stateMutability: "nonpayable"
2360
+ stateMutability: "payable"
2361
+ },
2362
+ {
2363
+ type: "function",
2364
+ inputs: [],
2365
+ name: "reward",
2366
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2367
+ stateMutability: "view"
1716
2368
  },
1717
2369
  {
1718
2370
  type: "function",
@@ -1720,8 +2372,22 @@ const ae = [
1720
2372
  name: "supportsInterface",
1721
2373
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1722
2374
  stateMutability: "view"
2375
+ },
2376
+ {
2377
+ type: "function",
2378
+ inputs: [],
2379
+ name: "totalBudget",
2380
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2381
+ stateMutability: "view"
2382
+ },
2383
+ {
2384
+ type: "function",
2385
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
2386
+ name: "transferOwnership",
2387
+ outputs: [],
2388
+ stateMutability: "payable"
1723
2389
  }
1724
- ], c = [
2390
+ ], d = [
1725
2391
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
1726
2392
  { type: "error", inputs: [], name: "AlreadyInitialized" },
1727
2393
  { type: "error", inputs: [], name: "ClaimFailed" },
@@ -1752,6 +2418,7 @@ const ae = [
1752
2418
  { type: "error", inputs: [], name: "NotClaimable" },
1753
2419
  { type: "error", inputs: [], name: "NotInitializing" },
1754
2420
  { type: "error", inputs: [], name: "Unauthorized" },
2421
+ { type: "error", inputs: [], name: "Unauthorized" },
1755
2422
  {
1756
2423
  type: "event",
1757
2424
  anonymous: !1,
@@ -1766,6 +2433,19 @@ const ae = [
1766
2433
  ],
1767
2434
  name: "Claimed"
1768
2435
  },
2436
+ {
2437
+ type: "event",
2438
+ anonymous: !1,
2439
+ inputs: [
2440
+ {
2441
+ name: "entry",
2442
+ internalType: "address",
2443
+ type: "address",
2444
+ indexed: !0
2445
+ }
2446
+ ],
2447
+ name: "Entry"
2448
+ },
1769
2449
  {
1770
2450
  type: "event",
1771
2451
  anonymous: !1,
@@ -1838,18 +2518,6 @@ const ae = [
1838
2518
  outputs: [],
1839
2519
  stateMutability: "payable"
1840
2520
  },
1841
- {
1842
- type: "function",
1843
- inputs: [],
1844
- name: "cgdaParams",
1845
- outputs: [
1846
- { name: "rewardDecay", internalType: "uint256", type: "uint256" },
1847
- { name: "rewardBoost", internalType: "uint256", type: "uint256" },
1848
- { name: "lastClaimTime", internalType: "uint256", type: "uint256" },
1849
- { name: "currentReward", internalType: "uint256", type: "uint256" }
1850
- ],
1851
- stateMutability: "view"
1852
- },
1853
2521
  {
1854
2522
  type: "function",
1855
2523
  inputs: [
@@ -1897,6 +2565,20 @@ const ae = [
1897
2565
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1898
2566
  stateMutability: "view"
1899
2567
  },
2568
+ {
2569
+ type: "function",
2570
+ inputs: [],
2571
+ name: "drawRaffle",
2572
+ outputs: [],
2573
+ stateMutability: "nonpayable"
2574
+ },
2575
+ {
2576
+ type: "function",
2577
+ inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2578
+ name: "entries",
2579
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2580
+ stateMutability: "view"
2581
+ },
1900
2582
  {
1901
2583
  type: "function",
1902
2584
  inputs: [],
@@ -1921,6 +2603,13 @@ const ae = [
1921
2603
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1922
2604
  stateMutability: "view"
1923
2605
  },
2606
+ {
2607
+ type: "function",
2608
+ inputs: [],
2609
+ name: "limit",
2610
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2611
+ stateMutability: "view"
2612
+ },
1924
2613
  {
1925
2614
  type: "function",
1926
2615
  inputs: [],
@@ -1941,7 +2630,7 @@ const ae = [
1941
2630
  type: "function",
1942
2631
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
1943
2632
  name: "preflight",
1944
- outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
2633
+ outputs: [{ name: "budgetData", internalType: "bytes", type: "bytes" }],
1945
2634
  stateMutability: "view"
1946
2635
  },
1947
2636
  {
@@ -1967,16 +2656,22 @@ const ae = [
1967
2656
  },
1968
2657
  {
1969
2658
  type: "function",
1970
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1971
- name: "supportsInterface",
1972
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
2659
+ inputs: [],
2660
+ name: "strategy",
2661
+ outputs: [
2662
+ {
2663
+ name: "",
2664
+ internalType: "enum AERC20Incentive.Strategy",
2665
+ type: "uint8"
2666
+ }
2667
+ ],
1973
2668
  stateMutability: "view"
1974
2669
  },
1975
2670
  {
1976
2671
  type: "function",
1977
- inputs: [],
1978
- name: "totalBudget",
1979
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2672
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
2673
+ name: "supportsInterface",
2674
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1980
2675
  stateMutability: "view"
1981
2676
  },
1982
2677
  {
@@ -1986,18 +2681,9 @@ const ae = [
1986
2681
  outputs: [],
1987
2682
  stateMutability: "payable"
1988
2683
  }
1989
- ], m = [
1990
- { type: "constructor", inputs: [], stateMutability: "nonpayable" },
2684
+ ], Y = [
1991
2685
  { type: "error", inputs: [], name: "AlreadyInitialized" },
1992
2686
  { type: "error", inputs: [], name: "ClaimFailed" },
1993
- {
1994
- type: "error",
1995
- inputs: [
1996
- { name: "caller", internalType: "address", type: "address" },
1997
- { name: "data", internalType: "bytes", type: "bytes" }
1998
- ],
1999
- name: "ClaimFailed"
2000
- },
2001
2687
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
2002
2688
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
2003
2689
  {
@@ -2017,7 +2703,6 @@ const ae = [
2017
2703
  { type: "error", inputs: [], name: "NotClaimable" },
2018
2704
  { type: "error", inputs: [], name: "NotInitializing" },
2019
2705
  { type: "error", inputs: [], name: "Unauthorized" },
2020
- { type: "error", inputs: [], name: "Unauthorized" },
2021
2706
  {
2022
2707
  type: "event",
2023
2708
  anonymous: !1,
@@ -2032,19 +2717,6 @@ const ae = [
2032
2717
  ],
2033
2718
  name: "Claimed"
2034
2719
  },
2035
- {
2036
- type: "event",
2037
- anonymous: !1,
2038
- inputs: [
2039
- {
2040
- name: "entry",
2041
- internalType: "address",
2042
- type: "address",
2043
- indexed: !0
2044
- }
2045
- ],
2046
- name: "Entry"
2047
- },
2048
2720
  {
2049
2721
  type: "event",
2050
2722
  anonymous: !1,
@@ -2121,7 +2793,7 @@ const ae = [
2121
2793
  type: "function",
2122
2794
  inputs: [
2123
2795
  { name: "claimTarget", internalType: "address", type: "address" },
2124
- { name: "", internalType: "bytes", type: "bytes" }
2796
+ { name: "data_", internalType: "bytes", type: "bytes" }
2125
2797
  ],
2126
2798
  name: "claim",
2127
2799
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
@@ -2167,23 +2839,48 @@ const ae = [
2167
2839
  {
2168
2840
  type: "function",
2169
2841
  inputs: [],
2170
- name: "drawRaffle",
2171
- outputs: [],
2172
- stateMutability: "nonpayable"
2842
+ name: "getComponentInterface",
2843
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
2844
+ stateMutability: "pure"
2173
2845
  },
2174
2846
  {
2175
2847
  type: "function",
2176
- inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2177
- name: "entries",
2178
- outputs: [{ name: "", internalType: "address", type: "address" }],
2848
+ inputs: [],
2849
+ name: "getIncentiveCriteria",
2850
+ outputs: [
2851
+ {
2852
+ name: "",
2853
+ internalType: "struct ERC20VariableCriteriaIncentive.IncentiveCriteria",
2854
+ type: "tuple",
2855
+ components: [
2856
+ {
2857
+ name: "criteriaType",
2858
+ internalType: "enum SignatureType",
2859
+ type: "uint8"
2860
+ },
2861
+ { name: "signature", internalType: "bytes32", type: "bytes32" },
2862
+ { name: "fieldIndex", internalType: "uint8", type: "uint8" },
2863
+ { name: "targetContract", internalType: "address", type: "address" }
2864
+ ]
2865
+ }
2866
+ ],
2179
2867
  stateMutability: "view"
2180
2868
  },
2181
2869
  {
2182
2870
  type: "function",
2183
2871
  inputs: [],
2184
- name: "getComponentInterface",
2185
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
2186
- stateMutability: "pure"
2872
+ name: "incentiveCriteria",
2873
+ outputs: [
2874
+ {
2875
+ name: "criteriaType",
2876
+ internalType: "enum SignatureType",
2877
+ type: "uint8"
2878
+ },
2879
+ { name: "signature", internalType: "bytes32", type: "bytes32" },
2880
+ { name: "fieldIndex", internalType: "uint8", type: "uint8" },
2881
+ { name: "targetContract", internalType: "address", type: "address" }
2882
+ ],
2883
+ stateMutability: "view"
2187
2884
  },
2188
2885
  {
2189
2886
  type: "function",
@@ -2255,22 +2952,16 @@ const ae = [
2255
2952
  },
2256
2953
  {
2257
2954
  type: "function",
2258
- inputs: [],
2259
- name: "strategy",
2260
- outputs: [
2261
- {
2262
- name: "",
2263
- internalType: "enum AERC20Incentive.Strategy",
2264
- type: "uint8"
2265
- }
2266
- ],
2955
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
2956
+ name: "supportsInterface",
2957
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2267
2958
  stateMutability: "view"
2268
2959
  },
2269
2960
  {
2270
2961
  type: "function",
2271
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
2272
- name: "supportsInterface",
2273
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
2962
+ inputs: [],
2963
+ name: "totalClaimed",
2964
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2274
2965
  stateMutability: "view"
2275
2966
  },
2276
2967
  {
@@ -2280,7 +2971,7 @@ const ae = [
2280
2971
  outputs: [],
2281
2972
  stateMutability: "payable"
2282
2973
  }
2283
- ], b = [
2974
+ ], c = [
2284
2975
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
2285
2976
  { type: "error", inputs: [], name: "AlreadyInitialized" },
2286
2977
  { type: "error", inputs: [], name: "ClaimFailed" },
@@ -2532,7 +3223,7 @@ const ae = [
2532
3223
  outputs: [],
2533
3224
  stateMutability: "payable"
2534
3225
  }
2535
- ], z = [
3226
+ ], C = [
2536
3227
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
2537
3228
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
2538
3229
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
@@ -2753,7 +3444,7 @@ const ae = [
2753
3444
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
2754
3445
  stateMutability: "view"
2755
3446
  }
2756
- ], K = [
3447
+ ], ee = [
2757
3448
  {
2758
3449
  type: "function",
2759
3450
  inputs: [{ name: "addr", internalType: "address", type: "address" }],
@@ -2761,7 +3452,7 @@ const ae = [
2761
3452
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
2762
3453
  stateMutability: "view"
2763
3454
  }
2764
- ], o = [
3455
+ ], b = [
2765
3456
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
2766
3457
  { type: "error", inputs: [], name: "AlreadyInitialized" },
2767
3458
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
@@ -2801,25 +3492,7 @@ const ae = [
2801
3492
  name: "TransferFailed"
2802
3493
  },
2803
3494
  { type: "error", inputs: [], name: "Unauthorized" },
2804
- {
2805
- type: "event",
2806
- anonymous: !1,
2807
- inputs: [
2808
- {
2809
- name: "account",
2810
- internalType: "address",
2811
- type: "address",
2812
- indexed: !0
2813
- },
2814
- {
2815
- name: "isAuthorized",
2816
- internalType: "bool",
2817
- type: "bool",
2818
- indexed: !1
2819
- }
2820
- ],
2821
- name: "Authorized"
2822
- },
3495
+ { type: "error", inputs: [], name: "Unauthorized" },
2823
3496
  {
2824
3497
  type: "event",
2825
3498
  anonymous: !1,
@@ -3205,7 +3878,7 @@ const ae = [
3205
3878
  stateMutability: "payable"
3206
3879
  },
3207
3880
  { type: "receive", stateMutability: "payable" }
3208
- ], Y = [
3881
+ ], te = [
3209
3882
  {
3210
3883
  type: "function",
3211
3884
  inputs: [{ name: "user", internalType: "address", type: "address" }],
@@ -3389,12 +4062,257 @@ const ae = [
3389
4062
  {
3390
4063
  type: "function",
3391
4064
  inputs: [
3392
- { name: "user", internalType: "address", type: "address" },
3393
- { name: "roles", internalType: "uint256", type: "uint256" }
4065
+ { name: "user", internalType: "address", type: "address" },
4066
+ { name: "roles", internalType: "uint256", type: "uint256" }
4067
+ ],
4068
+ name: "hasAllRoles",
4069
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
4070
+ stateMutability: "view"
4071
+ },
4072
+ {
4073
+ type: "function",
4074
+ inputs: [
4075
+ { name: "user", internalType: "address", type: "address" },
4076
+ { name: "roles", internalType: "uint256", type: "uint256" }
4077
+ ],
4078
+ name: "hasAnyRole",
4079
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
4080
+ stateMutability: "view"
4081
+ },
4082
+ {
4083
+ type: "function",
4084
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
4085
+ name: "initialize",
4086
+ outputs: [],
4087
+ stateMutability: "nonpayable"
4088
+ },
4089
+ {
4090
+ type: "function",
4091
+ inputs: [
4092
+ { name: "claimTarget", internalType: "address", type: "address" },
4093
+ { name: "", internalType: "bytes", type: "bytes" }
4094
+ ],
4095
+ name: "isClaimable",
4096
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
4097
+ stateMutability: "view"
4098
+ },
4099
+ {
4100
+ type: "function",
4101
+ inputs: [],
4102
+ name: "limit",
4103
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4104
+ stateMutability: "view"
4105
+ },
4106
+ {
4107
+ type: "function",
4108
+ inputs: [],
4109
+ name: "owner",
4110
+ outputs: [{ name: "result", internalType: "address", type: "address" }],
4111
+ stateMutability: "view"
4112
+ },
4113
+ {
4114
+ type: "function",
4115
+ inputs: [
4116
+ { name: "pendingOwner", internalType: "address", type: "address" }
4117
+ ],
4118
+ name: "ownershipHandoverExpiresAt",
4119
+ outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
4120
+ stateMutability: "view"
4121
+ },
4122
+ {
4123
+ type: "function",
4124
+ inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
4125
+ name: "preflight",
4126
+ outputs: [{ name: "budgetData", internalType: "bytes", type: "bytes" }],
4127
+ stateMutability: "pure"
4128
+ },
4129
+ {
4130
+ type: "function",
4131
+ inputs: [],
4132
+ name: "renounceOwnership",
4133
+ outputs: [],
4134
+ stateMutability: "payable"
4135
+ },
4136
+ {
4137
+ type: "function",
4138
+ inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
4139
+ name: "renounceRoles",
4140
+ outputs: [],
4141
+ stateMutability: "payable"
4142
+ },
4143
+ {
4144
+ type: "function",
4145
+ inputs: [],
4146
+ name: "requestOwnershipHandover",
4147
+ outputs: [],
4148
+ stateMutability: "payable"
4149
+ },
4150
+ {
4151
+ type: "function",
4152
+ inputs: [
4153
+ { name: "user", internalType: "address", type: "address" },
4154
+ { name: "roles", internalType: "uint256", type: "uint256" }
4155
+ ],
4156
+ name: "revokeRoles",
4157
+ outputs: [],
4158
+ stateMutability: "payable"
4159
+ },
4160
+ {
4161
+ type: "function",
4162
+ inputs: [],
4163
+ name: "reward",
4164
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4165
+ stateMutability: "view"
4166
+ },
4167
+ {
4168
+ type: "function",
4169
+ inputs: [{ name: "user", internalType: "address", type: "address" }],
4170
+ name: "rolesOf",
4171
+ outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
4172
+ stateMutability: "view"
4173
+ },
4174
+ {
4175
+ type: "function",
4176
+ inputs: [],
4177
+ name: "selector",
4178
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
4179
+ stateMutability: "view"
4180
+ },
4181
+ {
4182
+ type: "function",
4183
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
4184
+ name: "supportsInterface",
4185
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
4186
+ stateMutability: "view"
4187
+ },
4188
+ {
4189
+ type: "function",
4190
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
4191
+ name: "transferOwnership",
4192
+ outputs: [],
4193
+ stateMutability: "payable"
4194
+ },
4195
+ {
4196
+ type: "function",
4197
+ inputs: [],
4198
+ name: "venue",
4199
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4200
+ stateMutability: "view"
4201
+ }
4202
+ ], w = [
4203
+ { type: "error", inputs: [], name: "AlreadyInitialized" },
4204
+ { type: "error", inputs: [], name: "LengthMismatch" },
4205
+ { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
4206
+ { type: "error", inputs: [], name: "NoHandoverRequest" },
4207
+ { type: "error", inputs: [], name: "Unauthorized" },
4208
+ {
4209
+ type: "event",
4210
+ anonymous: !1,
4211
+ inputs: [
4212
+ {
4213
+ name: "pendingOwner",
4214
+ internalType: "address",
4215
+ type: "address",
4216
+ indexed: !0
4217
+ }
4218
+ ],
4219
+ name: "OwnershipHandoverCanceled"
4220
+ },
4221
+ {
4222
+ type: "event",
4223
+ anonymous: !1,
4224
+ inputs: [
4225
+ {
4226
+ name: "pendingOwner",
4227
+ internalType: "address",
4228
+ type: "address",
4229
+ indexed: !0
4230
+ }
4231
+ ],
4232
+ name: "OwnershipHandoverRequested"
4233
+ },
4234
+ {
4235
+ type: "event",
4236
+ anonymous: !1,
4237
+ inputs: [
4238
+ {
4239
+ name: "oldOwner",
4240
+ internalType: "address",
4241
+ type: "address",
4242
+ indexed: !0
4243
+ },
4244
+ {
4245
+ name: "newOwner",
4246
+ internalType: "address",
4247
+ type: "address",
4248
+ indexed: !0
4249
+ }
4250
+ ],
4251
+ name: "OwnershipTransferred"
4252
+ },
4253
+ {
4254
+ type: "event",
4255
+ anonymous: !1,
4256
+ inputs: [
4257
+ { name: "user", internalType: "address", type: "address", indexed: !0 },
4258
+ {
4259
+ name: "roles",
4260
+ internalType: "uint256",
4261
+ type: "uint256",
4262
+ indexed: !0
4263
+ }
4264
+ ],
4265
+ name: "RolesUpdated"
4266
+ },
4267
+ {
4268
+ type: "function",
4269
+ inputs: [],
4270
+ name: "ADMIN_ROLE",
4271
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4272
+ stateMutability: "view"
4273
+ },
4274
+ {
4275
+ type: "function",
4276
+ inputs: [],
4277
+ name: "MANAGER_ROLE",
4278
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4279
+ stateMutability: "view"
4280
+ },
4281
+ {
4282
+ type: "function",
4283
+ inputs: [],
4284
+ name: "cancelOwnershipHandover",
4285
+ outputs: [],
4286
+ stateMutability: "payable"
4287
+ },
4288
+ {
4289
+ type: "function",
4290
+ inputs: [
4291
+ { name: "pendingOwner", internalType: "address", type: "address" }
4292
+ ],
4293
+ name: "completeOwnershipHandover",
4294
+ outputs: [],
4295
+ stateMutability: "payable"
4296
+ },
4297
+ {
4298
+ type: "function",
4299
+ inputs: [
4300
+ { name: "user", internalType: "address", type: "address" },
4301
+ { name: "roles", internalType: "uint256", type: "uint256" }
4302
+ ],
4303
+ name: "grantRoles",
4304
+ outputs: [],
4305
+ stateMutability: "payable"
4306
+ },
4307
+ {
4308
+ type: "function",
4309
+ inputs: [
4310
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
4311
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
3394
4312
  ],
3395
- name: "hasAllRoles",
3396
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
3397
- stateMutability: "view"
4313
+ name: "grantRoles",
4314
+ outputs: [],
4315
+ stateMutability: "nonpayable"
3398
4316
  },
3399
4317
  {
3400
4318
  type: "function",
@@ -3402,32 +4320,25 @@ const ae = [
3402
4320
  { name: "user", internalType: "address", type: "address" },
3403
4321
  { name: "roles", internalType: "uint256", type: "uint256" }
3404
4322
  ],
3405
- name: "hasAnyRole",
4323
+ name: "hasAllRoles",
3406
4324
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
3407
4325
  stateMutability: "view"
3408
4326
  },
3409
- {
3410
- type: "function",
3411
- inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
3412
- name: "initialize",
3413
- outputs: [],
3414
- stateMutability: "nonpayable"
3415
- },
3416
4327
  {
3417
4328
  type: "function",
3418
4329
  inputs: [
3419
- { name: "claimTarget", internalType: "address", type: "address" },
3420
- { name: "", internalType: "bytes", type: "bytes" }
4330
+ { name: "user", internalType: "address", type: "address" },
4331
+ { name: "roles", internalType: "uint256", type: "uint256" }
3421
4332
  ],
3422
- name: "isClaimable",
4333
+ name: "hasAnyRole",
3423
4334
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
3424
4335
  stateMutability: "view"
3425
4336
  },
3426
4337
  {
3427
4338
  type: "function",
3428
- inputs: [],
3429
- name: "limit",
3430
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4339
+ inputs: [{ name: "account_", internalType: "address", type: "address" }],
4340
+ name: "isAuthorized",
4341
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
3431
4342
  stateMutability: "view"
3432
4343
  },
3433
4344
  {
@@ -3446,13 +4357,6 @@ const ae = [
3446
4357
  outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
3447
4358
  stateMutability: "view"
3448
4359
  },
3449
- {
3450
- type: "function",
3451
- inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
3452
- name: "preflight",
3453
- outputs: [{ name: "budgetData", internalType: "bytes", type: "bytes" }],
3454
- stateMutability: "pure"
3455
- },
3456
4360
  {
3457
4361
  type: "function",
3458
4362
  inputs: [],
@@ -3486,10 +4390,13 @@ const ae = [
3486
4390
  },
3487
4391
  {
3488
4392
  type: "function",
3489
- inputs: [],
3490
- name: "reward",
3491
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3492
- stateMutability: "view"
4393
+ inputs: [
4394
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
4395
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
4396
+ ],
4397
+ name: "revokeRoles",
4398
+ outputs: [],
4399
+ stateMutability: "nonpayable"
3493
4400
  },
3494
4401
  {
3495
4402
  type: "function",
@@ -3500,17 +4407,13 @@ const ae = [
3500
4407
  },
3501
4408
  {
3502
4409
  type: "function",
3503
- inputs: [],
3504
- name: "selector",
3505
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
3506
- stateMutability: "view"
3507
- },
3508
- {
3509
- type: "function",
3510
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
3511
- name: "supportsInterface",
3512
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
3513
- stateMutability: "view"
4410
+ inputs: [
4411
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
4412
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
4413
+ ],
4414
+ name: "setAuthorized",
4415
+ outputs: [],
4416
+ stateMutability: "nonpayable"
3514
4417
  },
3515
4418
  {
3516
4419
  type: "function",
@@ -3518,15 +4421,8 @@ const ae = [
3518
4421
  name: "transferOwnership",
3519
4422
  outputs: [],
3520
4423
  stateMutability: "payable"
3521
- },
3522
- {
3523
- type: "function",
3524
- inputs: [],
3525
- name: "venue",
3526
- outputs: [{ name: "", internalType: "address", type: "address" }],
3527
- stateMutability: "view"
3528
4424
  }
3529
- ], v = [
4425
+ ], M = [
3530
4426
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
3531
4427
  { type: "error", inputs: [], name: "AlreadyInitialized" },
3532
4428
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
@@ -3744,7 +4640,7 @@ const ae = [
3744
4640
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
3745
4641
  stateMutability: "nonpayable"
3746
4642
  }
3747
- ], g = [
4643
+ ], z = [
3748
4644
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
3749
4645
  { type: "error", inputs: [], name: "AlreadyInitialized" },
3750
4646
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
@@ -3756,6 +4652,7 @@ const ae = [
3756
4652
  { type: "error", inputs: [], name: "NoHandoverRequest" },
3757
4653
  { type: "error", inputs: [], name: "NotInitializing" },
3758
4654
  { type: "error", inputs: [], name: "Unauthorized" },
4655
+ { type: "error", inputs: [], name: "Unauthorized" },
3759
4656
  {
3760
4657
  type: "event",
3761
4658
  anonymous: !1,
@@ -3831,7 +4728,14 @@ const ae = [
3831
4728
  {
3832
4729
  type: "function",
3833
4730
  inputs: [],
3834
- name: "LIST_MANAGER_ROLE",
4731
+ name: "ADMIN_ROLE",
4732
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4733
+ stateMutability: "view"
4734
+ },
4735
+ {
4736
+ type: "function",
4737
+ inputs: [],
4738
+ name: "MANAGER_ROLE",
3835
4739
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3836
4740
  stateMutability: "view"
3837
4741
  },
@@ -3868,6 +4772,16 @@ const ae = [
3868
4772
  outputs: [],
3869
4773
  stateMutability: "payable"
3870
4774
  },
4775
+ {
4776
+ type: "function",
4777
+ inputs: [
4778
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
4779
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
4780
+ ],
4781
+ name: "grantRoles",
4782
+ outputs: [],
4783
+ stateMutability: "nonpayable"
4784
+ },
3871
4785
  {
3872
4786
  type: "function",
3873
4787
  inputs: [
@@ -3905,6 +4819,13 @@ const ae = [
3905
4819
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
3906
4820
  stateMutability: "view"
3907
4821
  },
4822
+ {
4823
+ type: "function",
4824
+ inputs: [{ name: "account_", internalType: "address", type: "address" }],
4825
+ name: "isAuthorized",
4826
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
4827
+ stateMutability: "view"
4828
+ },
3908
4829
  {
3909
4830
  type: "function",
3910
4831
  inputs: [],
@@ -3952,6 +4873,16 @@ const ae = [
3952
4873
  outputs: [],
3953
4874
  stateMutability: "payable"
3954
4875
  },
4876
+ {
4877
+ type: "function",
4878
+ inputs: [
4879
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
4880
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
4881
+ ],
4882
+ name: "revokeRoles",
4883
+ outputs: [],
4884
+ stateMutability: "nonpayable"
4885
+ },
3955
4886
  {
3956
4887
  type: "function",
3957
4888
  inputs: [{ name: "user", internalType: "address", type: "address" }],
@@ -3969,6 +4900,16 @@ const ae = [
3969
4900
  outputs: [],
3970
4901
  stateMutability: "nonpayable"
3971
4902
  },
4903
+ {
4904
+ type: "function",
4905
+ inputs: [
4906
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
4907
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
4908
+ ],
4909
+ name: "setAuthorized",
4910
+ outputs: [],
4911
+ stateMutability: "nonpayable"
4912
+ },
3972
4913
  {
3973
4914
  type: "function",
3974
4915
  inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
@@ -3983,7 +4924,7 @@ const ae = [
3983
4924
  outputs: [],
3984
4925
  stateMutability: "payable"
3985
4926
  }
3986
- ], _ = [
4927
+ ], H = [
3987
4928
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
3988
4929
  { type: "error", inputs: [], name: "AlreadyInitialized" },
3989
4930
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
@@ -3995,6 +4936,7 @@ const ae = [
3995
4936
  { type: "error", inputs: [], name: "NoHandoverRequest" },
3996
4937
  { type: "error", inputs: [], name: "NotInitializing" },
3997
4938
  { type: "error", inputs: [], name: "Unauthorized" },
4939
+ { type: "error", inputs: [], name: "Unauthorized" },
3998
4940
  {
3999
4941
  type: "event",
4000
4942
  anonymous: !1,
@@ -4053,6 +4995,34 @@ const ae = [
4053
4995
  ],
4054
4996
  name: "OwnershipTransferred"
4055
4997
  },
4998
+ {
4999
+ type: "event",
5000
+ anonymous: !1,
5001
+ inputs: [
5002
+ { name: "user", internalType: "address", type: "address", indexed: !0 },
5003
+ {
5004
+ name: "roles",
5005
+ internalType: "uint256",
5006
+ type: "uint256",
5007
+ indexed: !0
5008
+ }
5009
+ ],
5010
+ name: "RolesUpdated"
5011
+ },
5012
+ {
5013
+ type: "function",
5014
+ inputs: [],
5015
+ name: "ADMIN_ROLE",
5016
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
5017
+ stateMutability: "view"
5018
+ },
5019
+ {
5020
+ type: "function",
5021
+ inputs: [],
5022
+ name: "MANAGER_ROLE",
5023
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
5024
+ stateMutability: "view"
5025
+ },
4056
5026
  {
4057
5027
  type: "function",
4058
5028
  inputs: [],
@@ -4076,6 +5046,46 @@ const ae = [
4076
5046
  outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
4077
5047
  stateMutability: "pure"
4078
5048
  },
5049
+ {
5050
+ type: "function",
5051
+ inputs: [
5052
+ { name: "user", internalType: "address", type: "address" },
5053
+ { name: "roles", internalType: "uint256", type: "uint256" }
5054
+ ],
5055
+ name: "grantRoles",
5056
+ outputs: [],
5057
+ stateMutability: "payable"
5058
+ },
5059
+ {
5060
+ type: "function",
5061
+ inputs: [
5062
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
5063
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
5064
+ ],
5065
+ name: "grantRoles",
5066
+ outputs: [],
5067
+ stateMutability: "nonpayable"
5068
+ },
5069
+ {
5070
+ type: "function",
5071
+ inputs: [
5072
+ { name: "user", internalType: "address", type: "address" },
5073
+ { name: "roles", internalType: "uint256", type: "uint256" }
5074
+ ],
5075
+ name: "hasAllRoles",
5076
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
5077
+ stateMutability: "view"
5078
+ },
5079
+ {
5080
+ type: "function",
5081
+ inputs: [
5082
+ { name: "user", internalType: "address", type: "address" },
5083
+ { name: "roles", internalType: "uint256", type: "uint256" }
5084
+ ],
5085
+ name: "hasAnyRole",
5086
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
5087
+ stateMutability: "view"
5088
+ },
4079
5089
  {
4080
5090
  type: "function",
4081
5091
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
@@ -4093,6 +5103,13 @@ const ae = [
4093
5103
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
4094
5104
  stateMutability: "view"
4095
5105
  },
5106
+ {
5107
+ type: "function",
5108
+ inputs: [{ name: "account_", internalType: "address", type: "address" }],
5109
+ name: "isAuthorized",
5110
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
5111
+ stateMutability: "view"
5112
+ },
4096
5113
  {
4097
5114
  type: "function",
4098
5115
  inputs: [],
@@ -4116,6 +5133,13 @@ const ae = [
4116
5133
  outputs: [],
4117
5134
  stateMutability: "payable"
4118
5135
  },
5136
+ {
5137
+ type: "function",
5138
+ inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
5139
+ name: "renounceRoles",
5140
+ outputs: [],
5141
+ stateMutability: "payable"
5142
+ },
4119
5143
  {
4120
5144
  type: "function",
4121
5145
  inputs: [],
@@ -4123,6 +5147,43 @@ const ae = [
4123
5147
  outputs: [],
4124
5148
  stateMutability: "payable"
4125
5149
  },
5150
+ {
5151
+ type: "function",
5152
+ inputs: [
5153
+ { name: "user", internalType: "address", type: "address" },
5154
+ { name: "roles", internalType: "uint256", type: "uint256" }
5155
+ ],
5156
+ name: "revokeRoles",
5157
+ outputs: [],
5158
+ stateMutability: "payable"
5159
+ },
5160
+ {
5161
+ type: "function",
5162
+ inputs: [
5163
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
5164
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
5165
+ ],
5166
+ name: "revokeRoles",
5167
+ outputs: [],
5168
+ stateMutability: "nonpayable"
5169
+ },
5170
+ {
5171
+ type: "function",
5172
+ inputs: [{ name: "user", internalType: "address", type: "address" }],
5173
+ name: "rolesOf",
5174
+ outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
5175
+ stateMutability: "view"
5176
+ },
5177
+ {
5178
+ type: "function",
5179
+ inputs: [
5180
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
5181
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
5182
+ ],
5183
+ name: "setAuthorized",
5184
+ outputs: [],
5185
+ stateMutability: "nonpayable"
5186
+ },
4126
5187
  {
4127
5188
  type: "function",
4128
5189
  inputs: [
@@ -4147,539 +5208,538 @@ const ae = [
4147
5208
  outputs: [],
4148
5209
  stateMutability: "payable"
4149
5210
  }
4150
- ], ye = /* @__PURE__ */ n({
4151
- abi: B,
5211
+ ], oe = /* @__PURE__ */ n({
5212
+ abi: k,
4152
5213
  functionName: "getComponentInterface"
4153
- }), ue = /* @__PURE__ */ n(
4154
- { abi: B, functionName: "supportsInterface" }
4155
- ), oe = /* @__PURE__ */ n(
4156
- { abi: w, functionName: "allowList" }
4157
- ), le = /* @__PURE__ */ n({
4158
- abi: w,
5214
+ }), le = /* @__PURE__ */ n(
5215
+ { abi: k, functionName: "supportsInterface" }
5216
+ ), de = /* @__PURE__ */ n(
5217
+ { abi: v, functionName: "allowList" }
5218
+ ), me = /* @__PURE__ */ n({
5219
+ abi: v,
4159
5220
  functionName: "claimed"
4160
- }), de = /* @__PURE__ */ n({
4161
- abi: w,
5221
+ }), ce = /* @__PURE__ */ n({
5222
+ abi: v,
4162
5223
  functionName: "claims"
4163
- }), me = /* @__PURE__ */ n({
4164
- abi: w,
5224
+ }), be = /* @__PURE__ */ n({
5225
+ abi: v,
4165
5226
  functionName: "isClaimable"
4166
- }), ce = /* @__PURE__ */ n({
4167
- abi: w,
5227
+ }), Te = /* @__PURE__ */ n({
5228
+ abi: v,
4168
5229
  functionName: "limit"
4169
- }), be = /* @__PURE__ */ n({
4170
- abi: w,
5230
+ }), fe = /* @__PURE__ */ n({
5231
+ abi: v,
4171
5232
  functionName: "owner"
4172
- }), Te = /* @__PURE__ */ n({
4173
- abi: w,
5233
+ }), we = /* @__PURE__ */ n({
5234
+ abi: v,
4174
5235
  functionName: "reward"
4175
- }), fe = /* @__PURE__ */ p({
4176
- abi: w,
5236
+ }), ve = /* @__PURE__ */ p({
5237
+ abi: v,
4177
5238
  functionName: "claim"
4178
- }), we = /* @__PURE__ */ s({
4179
- abi: w,
5239
+ }), Me = /* @__PURE__ */ s({
5240
+ abi: v,
4180
5241
  functionName: "claim"
4181
- }), ve = /* @__PURE__ */ n({
4182
- abi: d,
4183
- functionName: "claimFee"
4184
5242
  }), Ie = /* @__PURE__ */ n({
4185
- abi: d,
5243
+ abi: l,
5244
+ functionName: "claimFee"
5245
+ }), he = /* @__PURE__ */ n({
5246
+ abi: l,
4186
5247
  functionName: "createBoostAuth"
4187
- }), Me = /* @__PURE__ */ n({
4188
- abi: d,
5248
+ }), ge = /* @__PURE__ */ n({
5249
+ abi: l,
4189
5250
  functionName: "getBoost"
4190
- }), he = /* @__PURE__ */ n({
4191
- abi: d,
5251
+ }), Oe = /* @__PURE__ */ n({
5252
+ abi: l,
4192
5253
  functionName: "getBoostCount"
4193
- }), ge = /* @__PURE__ */ n({
4194
- abi: d,
4195
- functionName: "protocolFee"
4196
5254
  }), Ne = /* @__PURE__ */ n({
4197
- abi: d,
5255
+ abi: l,
5256
+ functionName: "protocolFee"
5257
+ }), Ae = /* @__PURE__ */ n({
5258
+ abi: l,
4198
5259
  functionName: "protocolFeeReceiver"
4199
- }), Oe = /* @__PURE__ */ p({
4200
- abi: d,
5260
+ }), Ce = /* @__PURE__ */ p({
5261
+ abi: l,
4201
5262
  functionName: "claimIncentive"
4202
- }), Ae = /* @__PURE__ */ p({
4203
- abi: d,
4204
- functionName: "claimIncentiveFor"
4205
5263
  }), ze = /* @__PURE__ */ p({
4206
- abi: d,
5264
+ abi: l,
5265
+ functionName: "claimIncentiveFor"
5266
+ }), xe = /* @__PURE__ */ p({
5267
+ abi: l,
4207
5268
  functionName: "setClaimFee"
4208
- }), Ce = /* @__PURE__ */ p({
4209
- abi: d,
5269
+ }), Re = /* @__PURE__ */ p({
5270
+ abi: l,
4210
5271
  functionName: "setCreateBoostAuth"
4211
- }), xe = /* @__PURE__ */ p({
4212
- abi: d,
5272
+ }), _e = /* @__PURE__ */ p({
5273
+ abi: l,
4213
5274
  functionName: "setProtocolFeeReceiver"
4214
- }), Re = /* @__PURE__ */ s({
4215
- abi: d,
5275
+ }), He = /* @__PURE__ */ s({
5276
+ abi: l,
4216
5277
  functionName: "claimIncentive"
4217
- }), _e = /* @__PURE__ */ s({
4218
- abi: d,
5278
+ }), Ee = /* @__PURE__ */ s({
5279
+ abi: l,
4219
5280
  functionName: "claimIncentiveFor"
4220
- }), He = /* @__PURE__ */ s({
4221
- abi: d,
5281
+ }), qe = /* @__PURE__ */ s({
5282
+ abi: l,
4222
5283
  functionName: "setClaimFee"
4223
5284
  }), De = /* @__PURE__ */ s({
4224
- abi: d,
5285
+ abi: l,
4225
5286
  functionName: "setCreateBoostAuth"
4226
5287
  }), Fe = /* @__PURE__ */ s({
4227
- abi: d,
5288
+ abi: l,
4228
5289
  functionName: "setProtocolFeeReceiver"
4229
- }), Ee = /* @__PURE__ */ n({
4230
- abi: M,
5290
+ }), Be = /* @__PURE__ */ n({
5291
+ abi: h,
4231
5292
  functionName: "getBaseImplementation"
4232
- }), qe = /* @__PURE__ */ n({
4233
- abi: M,
5293
+ }), ke = /* @__PURE__ */ n({
5294
+ abi: h,
4234
5295
  functionName: "getCloneIdentifier"
4235
- }), Be = /* @__PURE__ */ n({
4236
- abi: M,
5296
+ }), Le = /* @__PURE__ */ n({
5297
+ abi: h,
4237
5298
  functionName: "getClones"
4238
- }), Pe = /* @__PURE__ */ p({
4239
- abi: M,
5299
+ }), Ue = /* @__PURE__ */ p({
5300
+ abi: h,
4240
5301
  functionName: "deployClone"
4241
- }), ke = /* @__PURE__ */ p({
4242
- abi: M,
5302
+ }), Pe = /* @__PURE__ */ p({
5303
+ abi: h,
4243
5304
  functionName: "register"
4244
- }), Le = /* @__PURE__ */ s({
4245
- abi: M,
5305
+ }), je = /* @__PURE__ */ s({
5306
+ abi: h,
4246
5307
  functionName: "deployClone"
4247
- }), Ue = /* @__PURE__ */ s({
4248
- abi: M,
5308
+ }), Se = /* @__PURE__ */ s({
5309
+ abi: h,
4249
5310
  functionName: "register"
4250
- }), je = /* @__PURE__ */ n({
4251
- abi: c,
5311
+ }), Ve = /* @__PURE__ */ n({
5312
+ abi: m,
4252
5313
  functionName: "asset"
4253
- }), Se = /* @__PURE__ */ n({
4254
- abi: c,
5314
+ }), Ze = /* @__PURE__ */ n({
5315
+ abi: m,
4255
5316
  functionName: "cgdaParams"
4256
- }), Ve = /* @__PURE__ */ n({
4257
- abi: c,
4258
- functionName: "claimed"
4259
5317
  }), $e = /* @__PURE__ */ n({
4260
- abi: c,
5318
+ abi: m,
5319
+ functionName: "claimed"
5320
+ }), Ge = /* @__PURE__ */ n({
5321
+ abi: m,
4261
5322
  functionName: "claims"
4262
- }), Ze = /* @__PURE__ */ n({
4263
- abi: c,
5323
+ }), We = /* @__PURE__ */ n({
5324
+ abi: m,
4264
5325
  functionName: "currentReward"
4265
- }), Ge = /* @__PURE__ */ n({
4266
- abi: c,
5326
+ }), Je = /* @__PURE__ */ n({
5327
+ abi: m,
4267
5328
  functionName: "isClaimable"
4268
- }), We = /* @__PURE__ */ n({
4269
- abi: c,
4270
- functionName: "owner"
4271
5329
  }), Qe = /* @__PURE__ */ n({
4272
- abi: c,
5330
+ abi: m,
5331
+ functionName: "owner"
5332
+ }), Ke = /* @__PURE__ */ n({
5333
+ abi: m,
4273
5334
  functionName: "reward"
4274
5335
  }), Xe = /* @__PURE__ */ n({
4275
- abi: c,
5336
+ abi: m,
4276
5337
  functionName: "totalBudget"
4277
- }), Je = /* @__PURE__ */ p({
4278
- abi: c,
5338
+ }), Ye = /* @__PURE__ */ p({
5339
+ abi: m,
4279
5340
  functionName: "claim"
4280
- }), Ke = /* @__PURE__ */ p({
4281
- abi: c,
5341
+ }), et = /* @__PURE__ */ p({
5342
+ abi: m,
4282
5343
  functionName: "clawback"
4283
- }), Ye = /* @__PURE__ */ s({
4284
- abi: c,
5344
+ }), tt = /* @__PURE__ */ s({
5345
+ abi: m,
4285
5346
  functionName: "claim"
4286
- }), et = /* @__PURE__ */ s({
4287
- abi: c,
4288
- functionName: "clawback"
4289
- }), tt = /* @__PURE__ */ n({
5347
+ }), nt = /* @__PURE__ */ s({
4290
5348
  abi: m,
5349
+ functionName: "clawback"
5350
+ }), at = /* @__PURE__ */ n({
5351
+ abi: d,
4291
5352
  functionName: "asset"
4292
- }), nt = /* @__PURE__ */ n({
4293
- abi: m,
5353
+ }), it = /* @__PURE__ */ n({
5354
+ abi: d,
4294
5355
  functionName: "claimed"
4295
- }), at = /* @__PURE__ */ n({
4296
- abi: m,
5356
+ }), st = /* @__PURE__ */ n({
5357
+ abi: d,
4297
5358
  functionName: "claims"
4298
- }), it = /* @__PURE__ */ n(
4299
- { abi: m, functionName: "currentReward" }
4300
- ), st = /* @__PURE__ */ n({
4301
- abi: m,
5359
+ }), pt = /* @__PURE__ */ n(
5360
+ { abi: d, functionName: "currentReward" }
5361
+ ), rt = /* @__PURE__ */ n({
5362
+ abi: d,
4302
5363
  functionName: "entries"
4303
- }), pt = /* @__PURE__ */ n({
4304
- abi: m,
5364
+ }), yt = /* @__PURE__ */ n({
5365
+ abi: d,
4305
5366
  functionName: "isClaimable"
4306
- }), rt = /* @__PURE__ */ n({
4307
- abi: m,
5367
+ }), ut = /* @__PURE__ */ n({
5368
+ abi: d,
4308
5369
  functionName: "limit"
4309
- }), yt = /* @__PURE__ */ n({
4310
- abi: m,
5370
+ }), ot = /* @__PURE__ */ n({
5371
+ abi: d,
4311
5372
  functionName: "owner"
4312
- }), ut = /* @__PURE__ */ n({
4313
- abi: m,
5373
+ }), lt = /* @__PURE__ */ n({
5374
+ abi: d,
4314
5375
  functionName: "reward"
4315
- }), ot = /* @__PURE__ */ n({
4316
- abi: m,
5376
+ }), dt = /* @__PURE__ */ n({
5377
+ abi: d,
4317
5378
  functionName: "strategy"
4318
- }), lt = /* @__PURE__ */ p({
4319
- abi: m,
5379
+ }), mt = /* @__PURE__ */ p({
5380
+ abi: d,
4320
5381
  functionName: "claim"
4321
- }), dt = /* @__PURE__ */ p({
4322
- abi: m,
5382
+ }), ct = /* @__PURE__ */ p({
5383
+ abi: d,
4323
5384
  functionName: "clawback"
4324
- }), mt = /* @__PURE__ */ p({
4325
- abi: m,
5385
+ }), bt = /* @__PURE__ */ p({
5386
+ abi: d,
4326
5387
  functionName: "drawRaffle"
4327
- }), ct = /* @__PURE__ */ s(
4328
- { abi: m, functionName: "claim" }
4329
- ), bt = /* @__PURE__ */ s({
4330
- abi: m,
5388
+ }), Tt = /* @__PURE__ */ s(
5389
+ { abi: d, functionName: "claim" }
5390
+ ), ft = /* @__PURE__ */ s({
5391
+ abi: d,
4331
5392
  functionName: "clawback"
4332
- }), Tt = /* @__PURE__ */ s({
4333
- abi: m,
5393
+ }), wt = /* @__PURE__ */ s({
5394
+ abi: d,
4334
5395
  functionName: "drawRaffle"
4335
- }), ft = /* @__PURE__ */ n(
4336
- { abi: b, functionName: "asset" }
4337
- ), wt = /* @__PURE__ */ n({
4338
- abi: b,
4339
- functionName: "claimed"
4340
5396
  }), vt = /* @__PURE__ */ n({
4341
- abi: b,
5397
+ abi: Y,
5398
+ functionName: "getIncentiveCriteria"
5399
+ }), Mt = /* @__PURE__ */ n(
5400
+ { abi: c, functionName: "asset" }
5401
+ ), It = /* @__PURE__ */ n({
5402
+ abi: c,
5403
+ functionName: "claimed"
5404
+ }), ht = /* @__PURE__ */ n({
5405
+ abi: c,
4342
5406
  functionName: "claims"
4343
- }), It = /* @__PURE__ */ n({
4344
- abi: b,
5407
+ }), gt = /* @__PURE__ */ n({
5408
+ abi: c,
4345
5409
  functionName: "currentReward"
4346
- }), Mt = /* @__PURE__ */ n({
4347
- abi: b,
5410
+ }), Ot = /* @__PURE__ */ n({
5411
+ abi: c,
4348
5412
  functionName: "isClaimable"
4349
- }), ht = /* @__PURE__ */ n(
4350
- { abi: b, functionName: "limit" }
4351
- ), gt = /* @__PURE__ */ n(
4352
- { abi: b, functionName: "owner" }
4353
- ), Nt = /* @__PURE__ */ n({
4354
- abi: b,
5413
+ }), Nt = /* @__PURE__ */ n(
5414
+ { abi: c, functionName: "limit" }
5415
+ ), At = /* @__PURE__ */ n(
5416
+ { abi: c, functionName: "owner" }
5417
+ ), Ct = /* @__PURE__ */ n({
5418
+ abi: c,
4355
5419
  functionName: "reward"
4356
- }), Ot = /* @__PURE__ */ n({
4357
- abi: b,
5420
+ }), zt = /* @__PURE__ */ n({
5421
+ abi: c,
4358
5422
  functionName: "totalClaimed"
4359
- }), At = /* @__PURE__ */ p({
4360
- abi: b,
5423
+ }), xt = /* @__PURE__ */ p({
5424
+ abi: c,
4361
5425
  functionName: "claim"
4362
- }), zt = /* @__PURE__ */ p({
4363
- abi: b,
5426
+ }), Rt = /* @__PURE__ */ p({
5427
+ abi: c,
4364
5428
  functionName: "clawback"
4365
- }), Ct = /* @__PURE__ */ s({
4366
- abi: b,
5429
+ }), _t = /* @__PURE__ */ s({
5430
+ abi: c,
4367
5431
  functionName: "claim"
4368
- }), xt = /* @__PURE__ */ s({
4369
- abi: b,
5432
+ }), Ht = /* @__PURE__ */ s({
5433
+ abi: c,
4370
5434
  functionName: "clawback"
4371
- }), Rt = /* @__PURE__ */ n({
4372
- abi: z,
5435
+ }), Et = /* @__PURE__ */ n({
5436
+ abi: C,
4373
5437
  functionName: "getActionClaimant"
4374
- }), _t = /* @__PURE__ */ n({
4375
- abi: z,
5438
+ }), qt = /* @__PURE__ */ n({
5439
+ abi: C,
4376
5440
  functionName: "getActionSteps"
4377
- }), Ht = /* @__PURE__ */ p({
4378
- abi: z,
5441
+ }), Dt = /* @__PURE__ */ p({
5442
+ abi: C,
4379
5443
  functionName: "execute"
4380
- }), Dt = /* @__PURE__ */ s({
4381
- abi: z,
5444
+ }), Ft = /* @__PURE__ */ s({
5445
+ abi: C,
4382
5446
  functionName: "execute"
4383
- }), Ft = /* @__PURE__ */ n({
4384
- abi: K,
4385
- functionName: "isAuthorized"
4386
- }), Et = /* @__PURE__ */ n({
4387
- abi: o,
4388
- functionName: "available"
4389
- }), qt = /* @__PURE__ */ n({
4390
- abi: o,
4391
- functionName: "distributed"
4392
5447
  }), Bt = /* @__PURE__ */ n({
4393
- abi: o,
4394
- functionName: "hasAllRoles"
4395
- }), Pt = /* @__PURE__ */ n({
4396
- abi: o,
4397
- functionName: "hasAnyRole"
4398
- }), kt = /* @__PURE__ */ n({
4399
- abi: o,
5448
+ abi: ee,
4400
5449
  functionName: "isAuthorized"
5450
+ }), kt = /* @__PURE__ */ n({
5451
+ abi: b,
5452
+ functionName: "available"
4401
5453
  }), Lt = /* @__PURE__ */ n({
4402
- abi: o,
4403
- functionName: "owner"
5454
+ abi: b,
5455
+ functionName: "distributed"
4404
5456
  }), Ut = /* @__PURE__ */ n({
4405
- abi: o,
4406
- functionName: "rolesOf"
4407
- }), jt = /* @__PURE__ */ n({
4408
- abi: o,
5457
+ abi: b,
5458
+ functionName: "owner"
5459
+ }), Pt = /* @__PURE__ */ n({
5460
+ abi: b,
4409
5461
  functionName: "total"
4410
- }), St = /* @__PURE__ */ p({
4411
- abi: o,
5462
+ }), jt = /* @__PURE__ */ p({
5463
+ abi: b,
4412
5464
  functionName: "allocate"
4413
- }), Vt = /* @__PURE__ */ p({
4414
- abi: o,
5465
+ }), St = /* @__PURE__ */ p({
5466
+ abi: b,
4415
5467
  functionName: "clawback"
4416
- }), $t = /* @__PURE__ */ p({
4417
- abi: o,
5468
+ }), Vt = /* @__PURE__ */ p({
5469
+ abi: b,
4418
5470
  functionName: "disburse"
4419
5471
  }), Zt = /* @__PURE__ */ p({
4420
- abi: o,
5472
+ abi: b,
4421
5473
  functionName: "disburseBatch"
4422
- }), Gt = /* @__PURE__ */ p({
4423
- abi: o,
4424
- functionName: "grantRoles"
4425
- }), Wt = /* @__PURE__ */ p({
4426
- abi: o,
4427
- functionName: "revokeRoles"
4428
- }), Qt = /* @__PURE__ */ p({
4429
- abi: o,
4430
- functionName: "setAuthorized"
4431
- }), Xt = /* @__PURE__ */ s({
4432
- abi: o,
5474
+ }), $t = /* @__PURE__ */ s({
5475
+ abi: b,
4433
5476
  functionName: "allocate"
4434
- }), Jt = /* @__PURE__ */ s({
4435
- abi: o,
5477
+ }), Gt = /* @__PURE__ */ s({
5478
+ abi: b,
4436
5479
  functionName: "clawback"
4437
- }), Kt = /* @__PURE__ */ s({
4438
- abi: o,
5480
+ }), Wt = /* @__PURE__ */ s({
5481
+ abi: b,
4439
5482
  functionName: "disburse"
4440
- }), Yt = /* @__PURE__ */ s({
4441
- abi: o,
5483
+ }), Jt = /* @__PURE__ */ s({
5484
+ abi: b,
4442
5485
  functionName: "disburseBatch"
4443
- }), en = /* @__PURE__ */ s({
4444
- abi: o,
4445
- functionName: "grantRoles"
4446
- }), tn = /* @__PURE__ */ s({
4447
- abi: o,
4448
- functionName: "revokeRoles"
4449
- }), nn = /* @__PURE__ */ s({
4450
- abi: o,
4451
- functionName: "setAuthorized"
4452
- }), an = /* @__PURE__ */ n(
4453
- { abi: Y, functionName: "isAuthorized" }
4454
- ), sn = /* @__PURE__ */ n({
5486
+ }), Qt = /* @__PURE__ */ n(
5487
+ { abi: te, functionName: "isAuthorized" }
5488
+ ), Kt = /* @__PURE__ */ n({
4455
5489
  abi: f,
4456
5490
  functionName: "claimed"
4457
- }), pn = /* @__PURE__ */ n({
5491
+ }), Xt = /* @__PURE__ */ n({
4458
5492
  abi: f,
4459
5493
  functionName: "claims"
4460
- }), rn = /* @__PURE__ */ n({
5494
+ }), Yt = /* @__PURE__ */ n({
4461
5495
  abi: f,
4462
5496
  functionName: "currentReward"
4463
- }), yn = /* @__PURE__ */ n({
5497
+ }), en = /* @__PURE__ */ n({
4464
5498
  abi: f,
4465
5499
  functionName: "isClaimable"
4466
- }), un = /* @__PURE__ */ n({
5500
+ }), tn = /* @__PURE__ */ n({
4467
5501
  abi: f,
4468
5502
  functionName: "limit"
4469
- }), on = /* @__PURE__ */ n({
5503
+ }), nn = /* @__PURE__ */ n({
4470
5504
  abi: f,
4471
5505
  functionName: "reward"
4472
- }), ln = /* @__PURE__ */ n({
5506
+ }), an = /* @__PURE__ */ n({
4473
5507
  abi: f,
4474
5508
  functionName: "selector"
4475
- }), dn = /* @__PURE__ */ n({
5509
+ }), sn = /* @__PURE__ */ n({
4476
5510
  abi: f,
4477
5511
  functionName: "venue"
4478
- }), mn = /* @__PURE__ */ p({
5512
+ }), pn = /* @__PURE__ */ p({
4479
5513
  abi: f,
4480
5514
  functionName: "claim"
4481
- }), cn = /* @__PURE__ */ s({
5515
+ }), rn = /* @__PURE__ */ s({
4482
5516
  abi: f,
4483
5517
  functionName: "claim"
4484
- }), bn = /* @__PURE__ */ n({
4485
- abi: v,
5518
+ }), yn = /* @__PURE__ */ n({
5519
+ abi: w,
5520
+ functionName: "hasAllRoles"
5521
+ }), un = /* @__PURE__ */ n({
5522
+ abi: w,
5523
+ functionName: "hasAnyRole"
5524
+ }), on = /* @__PURE__ */ n({
5525
+ abi: w,
5526
+ functionName: "isAuthorized"
5527
+ }), ln = /* @__PURE__ */ n({
5528
+ abi: w,
5529
+ functionName: "rolesOf"
5530
+ }), dn = /* @__PURE__ */ p({
5531
+ abi: w,
5532
+ functionName: "grantRoles"
5533
+ }), mn = /* @__PURE__ */ p({
5534
+ abi: w,
5535
+ functionName: "revokeRoles"
5536
+ }), cn = /* @__PURE__ */ p({
5537
+ abi: w,
5538
+ functionName: "setAuthorized"
5539
+ }), bn = /* @__PURE__ */ s({
5540
+ abi: w,
5541
+ functionName: "grantRoles"
5542
+ }), Tn = /* @__PURE__ */ s({
5543
+ abi: w,
5544
+ functionName: "revokeRoles"
5545
+ }), fn = /* @__PURE__ */ s({
5546
+ abi: w,
5547
+ functionName: "setAuthorized"
5548
+ }), wn = /* @__PURE__ */ n({
5549
+ abi: M,
4486
5550
  functionName: "hashSignerData"
4487
- }), Tn = /* @__PURE__ */ n({
4488
- abi: v,
5551
+ }), vn = /* @__PURE__ */ n({
5552
+ abi: M,
4489
5553
  functionName: "signers"
4490
- }), fn = /* @__PURE__ */ p({
4491
- abi: v,
5554
+ }), Mn = /* @__PURE__ */ p({
5555
+ abi: M,
4492
5556
  functionName: "setAuthorized"
4493
- }), wn = /* @__PURE__ */ p({
4494
- abi: v,
5557
+ }), In = /* @__PURE__ */ p({
5558
+ abi: M,
4495
5559
  functionName: "setValidatorCaller"
4496
- }), vn = /* @__PURE__ */ p({
4497
- abi: v,
5560
+ }), hn = /* @__PURE__ */ p({
5561
+ abi: M,
4498
5562
  functionName: "validate"
4499
- }), In = /* @__PURE__ */ s({
4500
- abi: v,
5563
+ }), gn = /* @__PURE__ */ s({
5564
+ abi: M,
4501
5565
  functionName: "setAuthorized"
4502
- }), Mn = /* @__PURE__ */ s({
4503
- abi: v,
5566
+ }), On = /* @__PURE__ */ s({
5567
+ abi: M,
4504
5568
  functionName: "setValidatorCaller"
4505
- }), hn = /* @__PURE__ */ s({
4506
- abi: v,
5569
+ }), Nn = /* @__PURE__ */ s({
5570
+ abi: M,
4507
5571
  functionName: "validate"
4508
- }), gn = /* @__PURE__ */ n({
4509
- abi: g,
5572
+ }), An = /* @__PURE__ */ n({
5573
+ abi: z,
4510
5574
  functionName: "isAllowed"
4511
- }), Nn = /* @__PURE__ */ n({
4512
- abi: g,
5575
+ }), Cn = /* @__PURE__ */ n({
5576
+ abi: z,
4513
5577
  functionName: "owner"
4514
- }), On = /* @__PURE__ */ p(
4515
- { abi: g, functionName: "grantRoles" }
4516
- ), An = /* @__PURE__ */ p(
4517
- { abi: g, functionName: "setAllowed" }
4518
- ), zn = /* @__PURE__ */ s({
4519
- abi: g,
4520
- functionName: "grantRoles"
4521
- }), Cn = /* @__PURE__ */ s({
4522
- abi: g,
5578
+ }), zn = /* @__PURE__ */ p(
5579
+ { abi: z, functionName: "setAllowed" }
5580
+ ), xn = /* @__PURE__ */ s({
5581
+ abi: z,
4523
5582
  functionName: "setAllowed"
4524
- }), xn = /* @__PURE__ */ n({
4525
- abi: _,
5583
+ }), Rn = /* @__PURE__ */ n({
5584
+ abi: H,
4526
5585
  functionName: "isAllowed"
4527
- }), Rn = /* @__PURE__ */ p({
4528
- abi: _,
5586
+ }), _n = /* @__PURE__ */ p({
5587
+ abi: H,
4529
5588
  functionName: "setDenied"
4530
- }), _n = /* @__PURE__ */ s({
4531
- abi: _,
5589
+ }), Hn = /* @__PURE__ */ s({
5590
+ abi: H,
4532
5591
  functionName: "setDenied"
4533
5592
  });
4534
5593
  export {
4535
- ce as $,
4536
- w as A,
4537
- tn as B,
4538
- Bt as C,
4539
- Vt as D,
4540
- Pt as E,
4541
- Lt as F,
4542
- Gt as G,
4543
- Ut as H,
4544
- Et as I,
4545
- Wt as J,
4546
- Qt as K,
4547
- St as L,
4548
- v as M,
4549
- ke as N,
4550
- qt as O,
4551
- de as P,
4552
- Te as Q,
4553
- kt as R,
4554
- _ as S,
4555
- g as T,
4556
- Zt as U,
4557
- le as V,
4558
- be as W,
4559
- ae as X,
4560
- ue as Y,
4561
- oe as Z,
4562
- jt as _,
4563
- se as a,
4564
- wt as a$,
4565
- we as a0,
4566
- fe as a1,
4567
- me as a2,
4568
- Nn as a3,
4569
- gn as a4,
4570
- Cn as a5,
4571
- An as a6,
5594
+ de as $,
5595
+ z as A,
5596
+ Le as B,
5597
+ ke as C,
5598
+ h as D,
5599
+ Qt as E,
5600
+ pe as F,
5601
+ $t as G,
5602
+ jt as H,
5603
+ H as I,
5604
+ Gt as J,
5605
+ St as K,
5606
+ Wt as L,
5607
+ fn as M,
5608
+ Vt as N,
5609
+ c as O,
5610
+ Zt as P,
5611
+ Ut as Q,
5612
+ v as R,
5613
+ Pt as S,
5614
+ d as T,
5615
+ kt as U,
5616
+ Lt as V,
5617
+ fe as W,
5618
+ ce as X,
5619
+ we as Y,
5620
+ Jt as Z,
5621
+ me as _,
5622
+ te as a,
5623
+ Mt as a$,
5624
+ Te as a0,
5625
+ Me as a1,
5626
+ ve as a2,
5627
+ be as a3,
5628
+ Cn as a4,
5629
+ An as a5,
5630
+ xn as a6,
4572
5631
  zn as a7,
4573
- On as a8,
4574
- xn as a9,
4575
- bt as aA,
4576
- dt as aB,
4577
- pt as aC,
4578
- Tt as aD,
4579
- mt as aE,
4580
- pn as aF,
4581
- rn as aG,
4582
- on as aH,
5632
+ Rn as a8,
5633
+ Hn as a9,
5634
+ ct as aA,
5635
+ yt as aB,
5636
+ wt as aC,
5637
+ bt as aD,
5638
+ Xt as aE,
5639
+ Yt as aF,
5640
+ nn as aG,
5641
+ Kt as aH,
4583
5642
  sn as aI,
4584
- dn as aJ,
4585
- un as aK,
4586
- ln as aL,
4587
- cn as aM,
4588
- mn as aN,
4589
- yn as aO,
4590
- Tn as aP,
4591
- bn as aQ,
5643
+ tn as aJ,
5644
+ an as aK,
5645
+ rn as aL,
5646
+ pn as aM,
5647
+ en as aN,
5648
+ vn as aO,
5649
+ wn as aP,
5650
+ Nn as aQ,
4592
5651
  hn as aR,
4593
- vn as aS,
4594
- In as aT,
4595
- fn as aU,
4596
- Mn as aV,
4597
- wn as aW,
4598
- gt as aX,
4599
- Ot as aY,
4600
- It as aZ,
4601
- vt as a_,
5652
+ gn as aS,
5653
+ Mn as aT,
5654
+ On as aU,
5655
+ In as aV,
5656
+ At as aW,
5657
+ zt as aX,
5658
+ gt as aY,
5659
+ ht as aZ,
5660
+ It as a_,
4602
5661
  _n as aa,
4603
- Rn as ab,
4604
- We as ac,
4605
- $e as ad,
4606
- Qe as ae,
5662
+ Qe as ab,
5663
+ Ge as ac,
5664
+ Ke as ad,
5665
+ $e as ae,
4607
5666
  Ve as af,
4608
- je as ag,
4609
- Se as ah,
4610
- Xe as ai,
5667
+ Ze as ag,
5668
+ Xe as ah,
5669
+ tt as ai,
4611
5670
  Ye as aj,
4612
- Je as ak,
5671
+ nt as ak,
4613
5672
  et as al,
4614
- Ke as am,
4615
- Ge as an,
4616
- Ze as ao,
4617
- yt as ap,
4618
- it as aq,
4619
- at as ar,
4620
- nt as as,
4621
- tt as at,
4622
- ot as au,
5673
+ Je as am,
5674
+ We as an,
5675
+ ot as ao,
5676
+ pt as ap,
5677
+ st as aq,
5678
+ it as ar,
5679
+ at as as,
5680
+ dt as at,
5681
+ lt as au,
4623
5682
  ut as av,
4624
5683
  rt as aw,
4625
- st as ax,
4626
- ct as ay,
4627
- lt as az,
4628
- ye as b,
4629
- ft as b0,
5684
+ Tt as ax,
5685
+ mt as ay,
5686
+ ft as az,
5687
+ l as b,
5688
+ Ct as b0,
4630
5689
  Nt as b1,
4631
- ht as b2,
4632
- Ct as b3,
4633
- At as b4,
4634
- xt as b5,
4635
- zt as b6,
4636
- Mt as b7,
4637
- pe as b8,
4638
- z as b9,
4639
- _t as ba,
4640
- Rt as bb,
5690
+ _t as b2,
5691
+ xt as b3,
5692
+ Ht as b4,
5693
+ Rt as b5,
5694
+ Ot as b6,
5695
+ ye as b7,
5696
+ C as b8,
5697
+ qt as b9,
5698
+ Et as ba,
5699
+ Ft as bb,
4641
5700
  Dt as bc,
4642
- Ht as bd,
4643
- Re as be,
4644
- Oe as bf,
4645
- _e as bg,
4646
- Ae as bh,
4647
- Me as bi,
4648
- he as bj,
4649
- Ft as bk,
4650
- Ie as bl,
4651
- De as bm,
4652
- Ce as bn,
4653
- ge as bo,
5701
+ Y as bd,
5702
+ vt as be,
5703
+ He as bf,
5704
+ Ce as bg,
5705
+ Ee as bh,
5706
+ ze as bi,
5707
+ ge as bj,
5708
+ Oe as bk,
5709
+ Bt as bl,
5710
+ he as bm,
5711
+ De as bn,
5712
+ Re as bo,
4654
5713
  Ne as bp,
4655
- Fe as bq,
4656
- xe as br,
4657
- ve as bs,
4658
- He as bt,
4659
- ze as bu,
4660
- Ue as c,
4661
- d,
4662
- Pe as e,
4663
- m as f,
4664
- Le as g,
4665
- Be as h,
4666
- qe as i,
4667
- M as j,
4668
- an as k,
4669
- f as l,
4670
- Ee as m,
4671
- Xt as n,
4672
- ie as o,
4673
- o as p,
4674
- Jt as q,
4675
- re as r,
4676
- Kt as s,
4677
- $t as t,
4678
- Yt as u,
4679
- c as v,
4680
- b as w,
4681
- nn as x,
4682
- en as y,
4683
- Y as z
5714
+ Ae as bq,
5715
+ Fe as br,
5716
+ _e as bs,
5717
+ Ie as bt,
5718
+ qe as bu,
5719
+ xe as bv,
5720
+ f as c,
5721
+ bn as d,
5722
+ dn as e,
5723
+ cn as f,
5724
+ m as g,
5725
+ Tn as h,
5726
+ mn as i,
5727
+ un as j,
5728
+ on as k,
5729
+ b as l,
5730
+ ue as m,
5731
+ yn as n,
5732
+ ln as o,
5733
+ le as p,
5734
+ oe as q,
5735
+ Se as r,
5736
+ Pe as s,
5737
+ se as t,
5738
+ je as u,
5739
+ Ue as v,
5740
+ Be as w,
5741
+ M as x,
5742
+ re as y,
5743
+ w as z
4684
5744
  };
4685
- //# sourceMappingURL=generated-DLMdMwD1.js.map
5745
+ //# sourceMappingURL=generated-B8VWObPa.js.map