@boostxyz/sdk 0.0.0-alpha.20 → 0.0.0-alpha.21

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 (156) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.js +3 -3
  3. package/dist/Actions/EventAction.cjs +1 -1
  4. package/dist/Actions/EventAction.d.ts.map +1 -1
  5. package/dist/Actions/EventAction.js +3 -3
  6. package/dist/AllowLists/AllowList.cjs +1 -1
  7. package/dist/AllowLists/AllowList.js +3 -3
  8. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  9. package/dist/AllowLists/SimpleAllowList.js +13 -13
  10. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  11. package/dist/AllowLists/SimpleDenyList.js +3 -3
  12. package/dist/Auth/PassthroughAuth.cjs +1 -1
  13. package/dist/Auth/PassthroughAuth.js +1 -1
  14. package/dist/Boost.cjs +1 -1
  15. package/dist/Boost.cjs.map +1 -1
  16. package/dist/Boost.d.ts +5 -24
  17. package/dist/Boost.d.ts.map +1 -1
  18. package/dist/Boost.js +42 -44
  19. package/dist/Boost.js.map +1 -1
  20. package/dist/BoostCore-DolmDuXW.cjs +3 -0
  21. package/dist/BoostCore-DolmDuXW.cjs.map +1 -0
  22. package/dist/BoostCore-Z97KVu4V.js +1448 -0
  23. package/dist/BoostCore-Z97KVu4V.js.map +1 -0
  24. package/dist/BoostCore.cjs +1 -1
  25. package/dist/BoostCore.d.ts +633 -47
  26. package/dist/BoostCore.d.ts.map +1 -1
  27. package/dist/BoostCore.js +6 -6
  28. package/dist/BoostRegistry.cjs +1 -1
  29. package/dist/BoostRegistry.cjs.map +1 -1
  30. package/dist/BoostRegistry.d.ts +31 -3
  31. package/dist/BoostRegistry.d.ts.map +1 -1
  32. package/dist/BoostRegistry.js +68 -48
  33. package/dist/BoostRegistry.js.map +1 -1
  34. package/dist/Budgets/Budget.cjs +1 -1
  35. package/dist/Budgets/Budget.js +2 -2
  36. package/dist/Budgets/ManagedBudget.cjs +1 -1
  37. package/dist/Budgets/ManagedBudget.cjs.map +1 -1
  38. package/dist/Budgets/ManagedBudget.d.ts +34 -4
  39. package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
  40. package/dist/Budgets/ManagedBudget.js +45 -45
  41. package/dist/Budgets/VestingBudget.d.ts +34 -4
  42. package/dist/Budgets/VestingBudget.d.ts.map +1 -1
  43. package/dist/Deployable/DeployableTarget.cjs +1 -1
  44. package/dist/Deployable/DeployableTarget.js +1 -1
  45. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  46. package/dist/Deployable/DeployableTargetWithRBAC.js +17 -17
  47. package/dist/EventAction-CBKzuNoN.cjs +2 -0
  48. package/dist/EventAction-CBKzuNoN.cjs.map +1 -0
  49. package/dist/{EventAction-CIPqmAoP.js → EventAction-DWuuc_Qy.js} +295 -217
  50. package/dist/EventAction-DWuuc_Qy.js.map +1 -0
  51. package/dist/Incentive-BxzEtN26.js +298 -0
  52. package/dist/Incentive-BxzEtN26.js.map +1 -0
  53. package/dist/Incentive-CrF3-ayL.cjs +2 -0
  54. package/dist/Incentive-CrF3-ayL.cjs.map +1 -0
  55. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  56. package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
  57. package/dist/Incentives/AllowListIncentive.d.ts +16 -2
  58. package/dist/Incentives/AllowListIncentive.d.ts.map +1 -1
  59. package/dist/Incentives/AllowListIncentive.js +13 -13
  60. package/dist/Incentives/AllowListIncentive.js.map +1 -1
  61. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  62. package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
  63. package/dist/Incentives/CGDAIncentive.d.ts +197 -4
  64. package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
  65. package/dist/Incentives/CGDAIncentive.js +31 -31
  66. package/dist/Incentives/CGDAIncentive.js.map +1 -1
  67. package/dist/Incentives/ERC1155Incentive.d.ts +192 -5
  68. package/dist/Incentives/ERC1155Incentive.d.ts.map +1 -1
  69. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  70. package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
  71. package/dist/Incentives/ERC20Incentive.d.ts +197 -4
  72. package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
  73. package/dist/Incentives/ERC20Incentive.js +17 -17
  74. package/dist/Incentives/ERC20Incentive.js.map +1 -1
  75. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +189 -2
  76. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -1
  77. package/dist/Incentives/ERC20VariableIncentive.d.ts +197 -4
  78. package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
  79. package/dist/Incentives/Incentive.cjs +1 -1
  80. package/dist/Incentives/Incentive.d.ts +1 -1
  81. package/dist/Incentives/Incentive.js +3 -3
  82. package/dist/Incentives/PointsIncentive.cjs +1 -1
  83. package/dist/Incentives/PointsIncentive.cjs.map +1 -1
  84. package/dist/Incentives/PointsIncentive.d.ts +16 -2
  85. package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
  86. package/dist/Incentives/PointsIncentive.js +8 -8
  87. package/dist/Incentives/PointsIncentive.js.map +1 -1
  88. package/dist/{SimpleDenyList-BwfNjRsg.cjs → SimpleDenyList-BUR17Tt1.cjs} +2 -2
  89. package/dist/{SimpleDenyList-BwfNjRsg.cjs.map → SimpleDenyList-BUR17Tt1.cjs.map} +1 -1
  90. package/dist/{SimpleDenyList-Cn5WpNn0.js → SimpleDenyList-CGaWjuld.js} +15 -15
  91. package/dist/{SimpleDenyList-Cn5WpNn0.js.map → SimpleDenyList-CGaWjuld.js.map} +1 -1
  92. package/dist/Validators/SignerValidator.cjs +1 -1
  93. package/dist/Validators/SignerValidator.js +3 -3
  94. package/dist/Validators/Validator.cjs +1 -1
  95. package/dist/Validators/Validator.js +6 -6
  96. package/dist/componentInterfaces-BBCFkrZv.js +14 -0
  97. package/dist/componentInterfaces-BBCFkrZv.js.map +1 -0
  98. package/dist/componentInterfaces-DRI_dQ-P.cjs +2 -0
  99. package/dist/componentInterfaces-DRI_dQ-P.cjs.map +1 -0
  100. package/dist/deployments-DVXioW2i.cjs +2 -0
  101. package/dist/deployments-DVXioW2i.cjs.map +1 -0
  102. package/dist/deployments-oykLv3_Z.js +43 -0
  103. package/dist/deployments-oykLv3_Z.js.map +1 -0
  104. package/dist/deployments.json +16 -13
  105. package/dist/errors.cjs +1 -1
  106. package/dist/errors.cjs.map +1 -1
  107. package/dist/errors.d.ts +18 -0
  108. package/dist/errors.d.ts.map +1 -1
  109. package/dist/errors.js +16 -4
  110. package/dist/errors.js.map +1 -1
  111. package/dist/{generated-B7VaSah4.js → generated-CKt2yCQd.js} +1071 -447
  112. package/dist/generated-CKt2yCQd.js.map +1 -0
  113. package/dist/generated-CyTNlOwM.cjs +3 -0
  114. package/dist/generated-CyTNlOwM.cjs.map +1 -0
  115. package/dist/index.cjs +1 -1
  116. package/dist/index.js +79 -78
  117. package/package.json +4 -4
  118. package/src/Actions/EventAction.ts +24 -20
  119. package/src/Boost.ts +5 -27
  120. package/src/BoostCore.test.ts +113 -46
  121. package/src/BoostCore.ts +162 -171
  122. package/src/BoostRegistry.test.ts +53 -0
  123. package/src/BoostRegistry.ts +48 -3
  124. package/src/Budgets/ManagedBudget.test.ts +7 -7
  125. package/src/Incentives/CGDAIncentive.test.ts +4 -1
  126. package/src/Incentives/CGDAIncentive.ts +6 -0
  127. package/src/Incentives/ERC20Incentive.test.ts +3 -0
  128. package/src/Incentives/ERC20Incentive.ts +6 -0
  129. package/src/Incentives/ERC20VariableIncentive.test.ts +3 -0
  130. package/src/Incentives/ERC20VariableIncentive.ts +6 -0
  131. package/src/Incentives/Incentive.test.ts +3 -0
  132. package/src/Incentives/Incentive.ts +1 -1
  133. package/src/Incentives/PointsIncentive.test.ts +1 -2
  134. package/src/errors.ts +22 -0
  135. package/dist/BoostCore-3-U1xTQN.cjs +0 -3
  136. package/dist/BoostCore-3-U1xTQN.cjs.map +0 -1
  137. package/dist/BoostCore-DVGBUr2y.js +0 -1477
  138. package/dist/BoostCore-DVGBUr2y.js.map +0 -1
  139. package/dist/EventAction-CIPqmAoP.js.map +0 -1
  140. package/dist/EventAction-d-oeqZQs.cjs +0 -2
  141. package/dist/EventAction-d-oeqZQs.cjs.map +0 -1
  142. package/dist/Incentive-Bp8Sez7M.js +0 -298
  143. package/dist/Incentive-Bp8Sez7M.js.map +0 -1
  144. package/dist/Incentive-Djnzseoj.cjs +0 -2
  145. package/dist/Incentive-Djnzseoj.cjs.map +0 -1
  146. package/dist/componentInterfaces-D09mhzxO.cjs +0 -2
  147. package/dist/componentInterfaces-D09mhzxO.cjs.map +0 -1
  148. package/dist/componentInterfaces-RXBMI5yH.js +0 -14
  149. package/dist/componentInterfaces-RXBMI5yH.js.map +0 -1
  150. package/dist/deployments-BM42vImE.js +0 -43
  151. package/dist/deployments-BM42vImE.js.map +0 -1
  152. package/dist/deployments-CMdF5uEC.cjs +0 -2
  153. package/dist/deployments-CMdF5uEC.cjs.map +0 -1
  154. package/dist/generated-B0tk-c9b.cjs +0 -3
  155. package/dist/generated-B0tk-c9b.cjs.map +0 -1
  156. package/dist/generated-B7VaSah4.js.map +0 -1
@@ -1,47 +1,47 @@
1
1
  import { simulateContract as U, readContract as P, writeContract as j } from "viem/actions";
2
2
  import { createClient as S, custom as V } from "viem";
3
3
  import { parseAccount as Z, getAddress as $ } from "viem/utils";
4
- function A(t) {
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
- switch (r) {
4
+ function N(t) {
5
+ const a = t.state.current, e = t.state.connections.get(a), i = e == null ? void 0 : e.accounts, u = i == null ? void 0 : i[0], y = t.chains.find((T) => T.id === (e == null ? void 0 : e.chainId)), p = t.state.status;
6
+ switch (p) {
7
7
  case "connected":
8
8
  return {
9
- address: y,
9
+ address: u,
10
10
  addresses: i,
11
- chain: u,
11
+ chain: y,
12
12
  chainId: e == null ? void 0 : e.chainId,
13
13
  connector: e == null ? void 0 : e.connector,
14
14
  isConnected: !0,
15
15
  isConnecting: !1,
16
16
  isDisconnected: !1,
17
17
  isReconnecting: !1,
18
- status: r
18
+ status: p
19
19
  };
20
20
  case "reconnecting":
21
21
  return {
22
- address: y,
22
+ address: u,
23
23
  addresses: i,
24
- chain: u,
24
+ chain: y,
25
25
  chainId: e == null ? void 0 : e.chainId,
26
26
  connector: e == null ? void 0 : e.connector,
27
- isConnected: !!y,
27
+ isConnected: !!u,
28
28
  isConnecting: !1,
29
29
  isDisconnected: !1,
30
30
  isReconnecting: !0,
31
- status: r
31
+ status: p
32
32
  };
33
33
  case "connecting":
34
34
  return {
35
- address: y,
35
+ address: u,
36
36
  addresses: i,
37
- chain: u,
37
+ chain: y,
38
38
  chainId: e == null ? void 0 : e.chainId,
39
39
  connector: e == null ? void 0 : e.connector,
40
40
  isConnected: !1,
41
41
  isConnecting: !0,
42
42
  isDisconnected: !1,
43
43
  isReconnecting: !1,
44
- status: r
44
+ status: p
45
45
  };
46
46
  case "disconnected":
47
47
  return {
@@ -54,27 +54,27 @@ function A(t) {
54
54
  isConnecting: !1,
55
55
  isDisconnected: !0,
56
56
  isReconnecting: !1,
57
- status: r
57
+ status: p
58
58
  };
59
59
  }
60
60
  }
61
- function R(t) {
61
+ function x(t) {
62
62
  return t.state.chainId;
63
63
  }
64
64
  function _(t, a, e) {
65
65
  const i = t[a.name];
66
66
  if (typeof i == "function")
67
67
  return i;
68
- const y = t[e];
69
- return typeof y == "function" ? y : (u) => a(t, u);
68
+ const u = t[e];
69
+ return typeof u == "function" ? u : (y) => a(t, y);
70
70
  }
71
71
  const G = "2.13.8", W = () => `@wagmi/core@${G}`;
72
- var D = function(t, a, e, i) {
72
+ var k = 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
- }, N, F;
77
- class I extends Error {
76
+ }, A, q;
77
+ class h extends Error {
78
78
  get docsBaseUrl() {
79
79
  return "https://wagmi.sh/core";
80
80
  }
@@ -83,7 +83,7 @@ class I extends Error {
83
83
  }
84
84
  constructor(a, e = {}) {
85
85
  var i;
86
- super(), N.add(this), Object.defineProperty(this, "details", {
86
+ super(), A.add(this), Object.defineProperty(this, "details", {
87
87
  enumerable: !0,
88
88
  configurable: !0,
89
89
  writable: !0,
@@ -109,27 +109,27 @@ class I extends Error {
109
109
  writable: !0,
110
110
  value: "WagmiCoreError"
111
111
  });
112
- const y = e.cause instanceof I ? e.cause.details : (i = e.cause) != null && i.message ? e.cause.message : e.details, u = e.cause instanceof I && e.cause.docsPath || e.docsPath;
112
+ const u = e.cause instanceof h ? e.cause.details : (i = e.cause) != null && i.message ? e.cause.message : e.details, y = e.cause instanceof h && e.cause.docsPath || e.docsPath;
113
113
  this.message = [
114
114
  a || "An error occurred.",
115
115
  "",
116
116
  ...e.metaMessages ? [...e.metaMessages, ""] : [],
117
- ...u ? [
118
- `Docs: ${this.docsBaseUrl}${u}.html${e.docsSlug ? `#${e.docsSlug}` : ""}`
117
+ ...y ? [
118
+ `Docs: ${this.docsBaseUrl}${y}.html${e.docsSlug ? `#${e.docsSlug}` : ""}`
119
119
  ] : [],
120
- ...y ? [`Details: ${y}`] : [],
120
+ ...u ? [`Details: ${u}`] : [],
121
121
  `Version: ${this.version}`
122
122
  ].join(`
123
- `), e.cause && (this.cause = e.cause), this.details = y, this.docsPath = u, this.metaMessages = e.metaMessages, this.shortMessage = a;
123
+ `), e.cause && (this.cause = e.cause), this.details = u, this.docsPath = y, this.metaMessages = e.metaMessages, this.shortMessage = a;
124
124
  }
125
125
  walk(a) {
126
- return D(this, N, "m", F).call(this, this, a);
126
+ return k(this, A, "m", q).call(this, this, a);
127
127
  }
128
128
  }
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;
129
+ A = /* @__PURE__ */ new WeakSet(), q = function t(a, e) {
130
+ return e != null && e(a) ? a : a.cause ? k(this, A, "m", t).call(this, a.cause, e) : a;
131
131
  };
132
- class J extends I {
132
+ class K extends h {
133
133
  constructor() {
134
134
  super("Connector not connected."), Object.defineProperty(this, "name", {
135
135
  enumerable: !0,
@@ -139,7 +139,7 @@ class J extends I {
139
139
  });
140
140
  }
141
141
  }
142
- class Q extends I {
142
+ class Y extends h {
143
143
  constructor({ address: a, connector: e }) {
144
144
  super(`Account "${a}" not found for connector "${e.name}".`), Object.defineProperty(this, "name", {
145
145
  enumerable: !0,
@@ -149,7 +149,7 @@ class Q extends I {
149
149
  });
150
150
  }
151
151
  }
152
- class K extends I {
152
+ class J extends h {
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 K extends I {
164
164
  });
165
165
  }
166
166
  }
167
- class X extends I {
167
+ class X extends h {
168
168
  constructor({ connector: a }) {
169
169
  super(`Connector "${a.name}" unavailable while reconnecting.`, {
170
170
  details: [
@@ -180,7 +180,7 @@ class X extends I {
180
180
  });
181
181
  }
182
182
  }
183
- async function B(t, a = {}) {
183
+ async function F(t, a = {}) {
184
184
  let e;
185
185
  if (a.connector) {
186
186
  const { connector: o } = a;
@@ -198,38 +198,38 @@ async function B(t, a = {}) {
198
198
  } else
199
199
  e = t.state.connections.get(t.state.current);
200
200
  if (!e)
201
- throw new J();
202
- const i = a.chainId ?? e.chainId, y = await e.connector.getChainId();
203
- if (y !== e.chainId)
204
- throw new K({
201
+ throw new K();
202
+ const i = a.chainId ?? e.chainId, u = await e.connector.getChainId();
203
+ if (u !== e.chainId)
204
+ throw new J({
205
205
  connectionChainId: e.chainId,
206
- connectorChainId: y
206
+ connectorChainId: u
207
207
  });
208
- const u = e.connector;
209
- if (u.getClient)
210
- return u.getClient({ chainId: i });
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
- throw new Q({
214
- address: r.address,
215
- connector: u
208
+ const y = e.connector;
209
+ if (y.getClient)
210
+ return y.getClient({ chainId: i });
211
+ const p = Z(a.account ?? e.accounts[0]);
212
+ if (p.address = $(p.address), a.account && !e.accounts.some((o) => o.toLowerCase() === p.address.toLowerCase()))
213
+ throw new Y({
214
+ address: p.address,
215
+ connector: y
216
216
  });
217
217
  const T = t.chains.find((o) => o.id === i), g = await e.connector.getProvider({ chainId: i });
218
218
  return S({
219
- account: r,
219
+ account: p,
220
220
  chain: T,
221
221
  name: "Connector Client",
222
222
  transport: (o) => V(g)({ ...o, retryCount: 0 })
223
223
  });
224
224
  }
225
- async function x(t, a) {
226
- const { abi: e, chainId: i, connector: y, ...u } = a;
227
- let r;
228
- a.account ? r = a.account : r = (await B(t, {
225
+ async function C(t, a) {
226
+ const { abi: e, chainId: i, connector: u, ...y } = a;
227
+ let p;
228
+ a.account ? p = a.account : p = (await F(t, {
229
229
  chainId: i,
230
- connector: y
230
+ connector: u
231
231
  })).account;
232
- const T = t.getClient({ chainId: i }), g = _(T, U, "simulateContract"), { result: o, request: O } = await g({ ...u, abi: e, account: r });
232
+ const T = t.getClient({ chainId: i }), g = _(T, U, "simulateContract"), { result: o, request: O } = await g({ ...y, abi: e, account: p });
233
233
  return {
234
234
  chainId: T.chain.id,
235
235
  result: o,
@@ -239,14 +239,14 @@ async function x(t, a) {
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 = R(a), u = A(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
243
- return x(a, {
242
+ const u = x(a), y = N(a), p = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
243
+ return C(a, {
244
244
  ...e,
245
245
  ...t.functionName ? { functionName: t.functionName } : {},
246
- address: (i = t.address) == null ? void 0 : i[r],
246
+ address: (i = t.address) == null ? void 0 : i[p],
247
247
  abi: t.abi
248
248
  });
249
- } : (a, e) => x(a, {
249
+ } : (a, e) => C(a, {
250
250
  ...e,
251
251
  ...t.address ? { address: t.address } : {},
252
252
  ...t.functionName ? { functionName: t.functionName } : {},
@@ -254,17 +254,17 @@ function s(t) {
254
254
  });
255
255
  }
256
256
  function E(t, a) {
257
- const { chainId: e, ...i } = a, y = t.getClient({ chainId: e });
258
- return _(y, P, "readContract")(i);
257
+ const { chainId: e, ...i } = a, u = t.getClient({ chainId: e });
258
+ return _(u, 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 = R(a), u = A(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
263
+ const u = x(a), y = N(a), p = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
264
264
  return E(a, {
265
265
  ...e,
266
266
  ...t.functionName ? { functionName: t.functionName } : {},
267
- address: (i = t.address) == null ? void 0 : i[r],
267
+ address: (i = t.address) == null ? void 0 : i[p],
268
268
  abi: t.abi
269
269
  });
270
270
  } : (a, e) => E(a, {
@@ -274,17 +274,17 @@ function n(t) {
274
274
  abi: t.abi
275
275
  });
276
276
  }
277
- async function q(t, a) {
278
- const { account: e, chainId: i, connector: y, __mode: u, ...r } = a;
277
+ async function D(t, a) {
278
+ const { account: e, chainId: i, connector: u, __mode: y, ...p } = a;
279
279
  let T;
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);
280
+ typeof e == "object" && e.type === "local" ? T = t.getClient({ chainId: i }) : T = await F(t, { account: e, chainId: i, connector: u });
281
+ const { connector: g } = N(t);
282
282
  let o;
283
- if (u === "prepared" || g != null && g.supportsSimulation)
284
- o = r;
283
+ if (y === "prepared" || g != null && g.supportsSimulation)
284
+ o = p;
285
285
  else {
286
- const { request: O } = await x(t, {
287
- ...r,
286
+ const { request: O } = await C(t, {
287
+ ...p,
288
288
  account: e,
289
289
  chainId: i
290
290
  });
@@ -296,18 +296,18 @@ async function q(t, a) {
296
296
  chain: i ? { id: i } : null
297
297
  });
298
298
  }
299
- function p(t) {
299
+ function r(t) {
300
300
  return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
301
301
  var i;
302
- const y = R(a), u = A(a);
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, q(a, {
302
+ const u = x(a), y = N(a);
303
+ let p;
304
+ return e.chainId ? p = e.chainId : e.account && e.account === y.address || e.account === void 0 ? p = y.chainId : p = u, D(a, {
305
305
  ...e,
306
306
  ...t.functionName ? { functionName: t.functionName } : {},
307
- address: r ? (i = t.address) == null ? void 0 : i[r] : void 0,
307
+ address: p ? (i = t.address) == null ? void 0 : i[p] : void 0,
308
308
  abi: t.abi
309
309
  });
310
- } : (a, e) => q(a, {
310
+ } : (a, e) => D(a, {
311
311
  ...e,
312
312
  ...t.address ? { address: t.address } : {},
313
313
  ...t.functionName ? { functionName: t.functionName } : {},
@@ -726,6 +726,7 @@ const se = [
726
726
  name: "TransferFailed"
727
727
  },
728
728
  { type: "error", inputs: [], name: "Unauthorized" },
729
+ { type: "error", inputs: [], name: "Unauthorized" },
729
730
  {
730
731
  type: "event",
731
732
  anonymous: !1,
@@ -858,7 +859,22 @@ const se = [
858
859
  type: "function",
859
860
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
860
861
  name: "clawback",
861
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
862
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
863
+ stateMutability: "nonpayable"
864
+ },
865
+ {
866
+ type: "function",
867
+ inputs: [
868
+ { name: "target", internalType: "address", type: "address" },
869
+ { name: "data_", internalType: "bytes", type: "bytes" },
870
+ { name: "boostId", internalType: "uint256", type: "uint256" },
871
+ { name: "incentiveId", internalType: "uint256", type: "uint256" }
872
+ ],
873
+ name: "clawbackFromTarget",
874
+ outputs: [
875
+ { name: "", internalType: "uint256", type: "uint256" },
876
+ { name: "", internalType: "address", type: "address" }
877
+ ],
862
878
  stateMutability: "nonpayable"
863
879
  },
864
880
  {
@@ -1055,7 +1071,7 @@ const se = [
1055
1071
  stateMutability: "payable"
1056
1072
  },
1057
1073
  { type: "receive", stateMutability: "payable" }
1058
- ], k = [
1074
+ ], B = [
1059
1075
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
1060
1076
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
1061
1077
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -1095,7 +1111,7 @@ const se = [
1095
1111
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1096
1112
  stateMutability: "view"
1097
1113
  }
1098
- ], ye = [
1114
+ ], ue = [
1099
1115
  { type: "error", inputs: [], name: "ClaimFailed" },
1100
1116
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
1101
1117
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
@@ -1130,6 +1146,13 @@ const se = [
1130
1146
  ],
1131
1147
  name: "Initialized"
1132
1148
  },
1149
+ {
1150
+ type: "function",
1151
+ inputs: [],
1152
+ name: "asset",
1153
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1154
+ stateMutability: "view"
1155
+ },
1133
1156
  {
1134
1157
  type: "function",
1135
1158
  inputs: [
@@ -1151,7 +1174,10 @@ const se = [
1151
1174
  type: "function",
1152
1175
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
1153
1176
  name: "clawback",
1154
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
1177
+ outputs: [
1178
+ { name: "", internalType: "uint256", type: "uint256" },
1179
+ { name: "", internalType: "address", type: "address" }
1180
+ ],
1155
1181
  stateMutability: "nonpayable"
1156
1182
  },
1157
1183
  {
@@ -1206,7 +1232,7 @@ const se = [
1206
1232
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1207
1233
  stateMutability: "view"
1208
1234
  }
1209
- ], ue = [
1235
+ ], ye = [
1210
1236
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
1211
1237
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
1212
1238
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -1353,6 +1379,13 @@ const se = [
1353
1379
  ],
1354
1380
  stateMutability: "view"
1355
1381
  },
1382
+ {
1383
+ type: "function",
1384
+ inputs: [],
1385
+ name: "asset",
1386
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1387
+ stateMutability: "view"
1388
+ },
1356
1389
  {
1357
1390
  type: "function",
1358
1391
  inputs: [],
@@ -1388,7 +1421,10 @@ const se = [
1388
1421
  type: "function",
1389
1422
  inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1390
1423
  name: "clawback",
1391
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
1424
+ outputs: [
1425
+ { name: "", internalType: "uint256", type: "uint256" },
1426
+ { name: "", internalType: "address", type: "address" }
1427
+ ],
1392
1428
  stateMutability: "pure"
1393
1429
  },
1394
1430
  {
@@ -1496,7 +1532,7 @@ const se = [
1496
1532
  outputs: [],
1497
1533
  stateMutability: "payable"
1498
1534
  }
1499
- ], l = [
1535
+ ], d = [
1500
1536
  {
1501
1537
  type: "constructor",
1502
1538
  inputs: [
@@ -1525,12 +1561,12 @@ const se = [
1525
1561
  {
1526
1562
  type: "error",
1527
1563
  inputs: [
1528
- { name: "asset", internalType: "address", type: "address" },
1529
- { name: "available", internalType: "uint256", type: "uint256" },
1530
- { name: "required", internalType: "uint256", type: "uint256" }
1564
+ { name: "caller", internalType: "address", type: "address" },
1565
+ { name: "data", internalType: "bytes", type: "bytes" }
1531
1566
  ],
1532
- name: "InsufficientFunds"
1567
+ name: "ClawbackFailed"
1533
1568
  },
1569
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1534
1570
  {
1535
1571
  type: "error",
1536
1572
  inputs: [
@@ -1541,6 +1577,7 @@ const se = [
1541
1577
  },
1542
1578
  { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
1543
1579
  { type: "error", inputs: [], name: "NoHandoverRequest" },
1580
+ { type: "error", inputs: [], name: "NotImplemented" },
1544
1581
  { type: "error", inputs: [], name: "Reentrancy" },
1545
1582
  { type: "error", inputs: [], name: "Unauthorized" },
1546
1583
  { type: "error", inputs: [], name: "Unauthorized" },
@@ -1581,7 +1618,7 @@ const se = [
1581
1618
  anonymous: !1,
1582
1619
  inputs: [
1583
1620
  {
1584
- name: "boostIndex",
1621
+ name: "boostId",
1585
1622
  internalType: "uint256",
1586
1623
  type: "uint256",
1587
1624
  indexed: !0
@@ -1670,6 +1707,37 @@ const se = [
1670
1707
  ],
1671
1708
  name: "OwnershipTransferred"
1672
1709
  },
1710
+ {
1711
+ type: "event",
1712
+ anonymous: !1,
1713
+ inputs: [
1714
+ {
1715
+ name: "boostId",
1716
+ internalType: "uint256",
1717
+ type: "uint256",
1718
+ indexed: !0
1719
+ },
1720
+ {
1721
+ name: "incentiveId",
1722
+ internalType: "uint256",
1723
+ type: "uint256",
1724
+ indexed: !0
1725
+ },
1726
+ {
1727
+ name: "amount",
1728
+ internalType: "uint256",
1729
+ type: "uint256",
1730
+ indexed: !1
1731
+ },
1732
+ {
1733
+ name: "recipient",
1734
+ internalType: "address",
1735
+ type: "address",
1736
+ indexed: !0
1737
+ }
1738
+ ],
1739
+ name: "ProtocolFeesCollected"
1740
+ },
1673
1741
  {
1674
1742
  type: "function",
1675
1743
  inputs: [],
@@ -1684,13 +1752,6 @@ const se = [
1684
1752
  outputs: [],
1685
1753
  stateMutability: "payable"
1686
1754
  },
1687
- {
1688
- type: "function",
1689
- inputs: [],
1690
- name: "claimFee",
1691
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1692
- stateMutability: "view"
1693
- },
1694
1755
  {
1695
1756
  type: "function",
1696
1757
  inputs: [
@@ -1716,6 +1777,20 @@ const se = [
1716
1777
  outputs: [],
1717
1778
  stateMutability: "payable"
1718
1779
  },
1780
+ {
1781
+ type: "function",
1782
+ inputs: [
1783
+ { name: "data_", internalType: "bytes", type: "bytes" },
1784
+ { name: "boostId", internalType: "uint256", type: "uint256" },
1785
+ { name: "incentiveId", internalType: "uint256", type: "uint256" }
1786
+ ],
1787
+ name: "clawback",
1788
+ outputs: [
1789
+ { name: "", internalType: "uint256", type: "uint256" },
1790
+ { name: "", internalType: "address", type: "address" }
1791
+ ],
1792
+ stateMutability: "nonpayable"
1793
+ },
1719
1794
  {
1720
1795
  type: "function",
1721
1796
  inputs: [
@@ -1753,7 +1828,6 @@ const se = [
1753
1828
  type: "address[]"
1754
1829
  },
1755
1830
  { name: "protocolFee", internalType: "uint64", type: "uint64" },
1756
- { name: "referralFee", internalType: "uint64", type: "uint64" },
1757
1831
  { name: "maxParticipants", internalType: "uint256", type: "uint256" },
1758
1832
  { name: "owner", internalType: "address", type: "address" }
1759
1833
  ]
@@ -1796,7 +1870,6 @@ const se = [
1796
1870
  type: "address[]"
1797
1871
  },
1798
1872
  { name: "protocolFee", internalType: "uint64", type: "uint64" },
1799
- { name: "referralFee", internalType: "uint64", type: "uint64" },
1800
1873
  { name: "maxParticipants", internalType: "uint256", type: "uint256" },
1801
1874
  { name: "owner", internalType: "address", type: "address" }
1802
1875
  ]
@@ -1811,6 +1884,55 @@ const se = [
1811
1884
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1812
1885
  stateMutability: "view"
1813
1886
  },
1887
+ {
1888
+ type: "function",
1889
+ inputs: [{ name: "key", internalType: "bytes32", type: "bytes32" }],
1890
+ name: "getIncentive",
1891
+ outputs: [
1892
+ {
1893
+ name: "",
1894
+ internalType: "struct BoostCore.IncentiveDisbursalInfo",
1895
+ type: "tuple",
1896
+ components: [
1897
+ {
1898
+ name: "assetType",
1899
+ internalType: "enum ABudget.AssetType",
1900
+ type: "uint8"
1901
+ },
1902
+ { name: "asset", internalType: "address", type: "address" },
1903
+ {
1904
+ name: "protocolFeesRemaining",
1905
+ internalType: "uint256",
1906
+ type: "uint256"
1907
+ },
1908
+ { name: "protocolFee", internalType: "uint256", type: "uint256" },
1909
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
1910
+ ]
1911
+ }
1912
+ ],
1913
+ stateMutability: "view"
1914
+ },
1915
+ {
1916
+ type: "function",
1917
+ inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1918
+ name: "incentives",
1919
+ outputs: [
1920
+ {
1921
+ name: "assetType",
1922
+ internalType: "enum ABudget.AssetType",
1923
+ type: "uint8"
1924
+ },
1925
+ { name: "asset", internalType: "address", type: "address" },
1926
+ {
1927
+ name: "protocolFeesRemaining",
1928
+ internalType: "uint256",
1929
+ type: "uint256"
1930
+ },
1931
+ { name: "protocolFee", internalType: "uint256", type: "uint256" },
1932
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
1933
+ ],
1934
+ stateMutability: "view"
1935
+ },
1814
1936
  {
1815
1937
  type: "function",
1816
1938
  inputs: [],
@@ -1841,13 +1963,6 @@ const se = [
1841
1963
  outputs: [{ name: "", internalType: "address", type: "address" }],
1842
1964
  stateMutability: "view"
1843
1965
  },
1844
- {
1845
- type: "function",
1846
- inputs: [],
1847
- name: "referralFee",
1848
- outputs: [{ name: "", internalType: "uint64", type: "uint64" }],
1849
- stateMutability: "view"
1850
- },
1851
1966
  {
1852
1967
  type: "function",
1853
1968
  inputs: [],
@@ -1871,13 +1986,6 @@ const se = [
1871
1986
  outputs: [],
1872
1987
  stateMutability: "payable"
1873
1988
  },
1874
- {
1875
- type: "function",
1876
- inputs: [{ name: "claimFee_", internalType: "uint256", type: "uint256" }],
1877
- name: "setClaimFee",
1878
- outputs: [],
1879
- stateMutability: "nonpayable"
1880
- },
1881
1989
  {
1882
1990
  type: "function",
1883
1991
  inputs: [{ name: "auth_", internalType: "address", type: "address" }],
@@ -1907,8 +2015,11 @@ const se = [
1907
2015
  },
1908
2016
  {
1909
2017
  type: "function",
1910
- inputs: [{ name: "referralFee_", internalType: "uint64", type: "uint64" }],
1911
- name: "setReferralFee",
2018
+ inputs: [
2019
+ { name: "boostId", internalType: "uint256", type: "uint256" },
2020
+ { name: "incentiveId", internalType: "uint256", type: "uint256" }
2021
+ ],
2022
+ name: "settleProtocolFees",
1912
2023
  outputs: [],
1913
2024
  stateMutability: "nonpayable"
1914
2025
  },
@@ -1919,13 +2030,13 @@ const se = [
1919
2030
  outputs: [],
1920
2031
  stateMutability: "payable"
1921
2032
  }
1922
- ], h = [
2033
+ ], M = [
1923
2034
  {
1924
2035
  type: "error",
1925
2036
  inputs: [
1926
2037
  {
1927
2038
  name: "registryType",
1928
- internalType: "enum BoostRegistry.RegistryType",
2039
+ internalType: "enum ABoostRegistry.RegistryType",
1929
2040
  type: "uint8"
1930
2041
  },
1931
2042
  { name: "identifier", internalType: "bytes32", type: "bytes32" }
@@ -1951,7 +2062,7 @@ const se = [
1951
2062
  inputs: [
1952
2063
  {
1953
2064
  name: "registryType",
1954
- internalType: "enum BoostRegistry.RegistryType",
2065
+ internalType: "enum ABoostRegistry.RegistryType",
1955
2066
  type: "uint8",
1956
2067
  indexed: !0
1957
2068
  },
@@ -1982,7 +2093,7 @@ const se = [
1982
2093
  inputs: [
1983
2094
  {
1984
2095
  name: "registryType",
1985
- internalType: "enum BoostRegistry.RegistryType",
2096
+ internalType: "enum ABoostRegistry.RegistryType",
1986
2097
  type: "uint8",
1987
2098
  indexed: !0
1988
2099
  },
@@ -2006,7 +2117,7 @@ const se = [
2006
2117
  inputs: [
2007
2118
  {
2008
2119
  name: "type_",
2009
- internalType: "enum BoostRegistry.RegistryType",
2120
+ internalType: "enum ABoostRegistry.RegistryType",
2010
2121
  type: "uint8"
2011
2122
  },
2012
2123
  { name: "base_", internalType: "address", type: "address" },
@@ -2043,12 +2154,12 @@ const se = [
2043
2154
  outputs: [
2044
2155
  {
2045
2156
  name: "clone",
2046
- internalType: "struct BoostRegistry.Clone",
2157
+ internalType: "struct ABoostRegistry.Clone",
2047
2158
  type: "tuple",
2048
2159
  components: [
2049
2160
  {
2050
2161
  name: "baseType",
2051
- internalType: "enum BoostRegistry.RegistryType",
2162
+ internalType: "enum ABoostRegistry.RegistryType",
2052
2163
  type: "uint8"
2053
2164
  },
2054
2165
  {
@@ -2068,7 +2179,7 @@ const se = [
2068
2179
  inputs: [
2069
2180
  {
2070
2181
  name: "type_",
2071
- internalType: "enum BoostRegistry.RegistryType",
2182
+ internalType: "enum ABoostRegistry.RegistryType",
2072
2183
  type: "uint8"
2073
2184
  },
2074
2185
  { name: "base_", internalType: "address", type: "address" },
@@ -2091,7 +2202,7 @@ const se = [
2091
2202
  inputs: [
2092
2203
  {
2093
2204
  name: "type_",
2094
- internalType: "enum BoostRegistry.RegistryType",
2205
+ internalType: "enum ABoostRegistry.RegistryType",
2095
2206
  type: "uint8"
2096
2207
  },
2097
2208
  { name: "name_", internalType: "string", type: "string" }
@@ -2105,7 +2216,7 @@ const se = [
2105
2216
  inputs: [
2106
2217
  {
2107
2218
  name: "type_",
2108
- internalType: "enum BoostRegistry.RegistryType",
2219
+ internalType: "enum ABoostRegistry.RegistryType",
2109
2220
  type: "uint8"
2110
2221
  },
2111
2222
  { name: "name_", internalType: "string", type: "string" },
@@ -2148,6 +2259,7 @@ const se = [
2148
2259
  { type: "error", inputs: [], name: "InvalidInitialization" },
2149
2260
  { type: "error", inputs: [], name: "InvalidInitialization" },
2150
2261
  { type: "error", inputs: [], name: "InvalidInitializationData" },
2262
+ { type: "error", inputs: [], name: "LengthMismatch" },
2151
2263
  { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
2152
2264
  { type: "error", inputs: [], name: "NoHandoverRequest" },
2153
2265
  { type: "error", inputs: [], name: "NotClaimable" },
@@ -2225,6 +2337,34 @@ const se = [
2225
2337
  ],
2226
2338
  name: "OwnershipTransferred"
2227
2339
  },
2340
+ {
2341
+ type: "event",
2342
+ anonymous: !1,
2343
+ inputs: [
2344
+ { name: "user", internalType: "address", type: "address", indexed: !0 },
2345
+ {
2346
+ name: "roles",
2347
+ internalType: "uint256",
2348
+ type: "uint256",
2349
+ indexed: !0
2350
+ }
2351
+ ],
2352
+ name: "RolesUpdated"
2353
+ },
2354
+ {
2355
+ type: "function",
2356
+ inputs: [],
2357
+ name: "ADMIN_ROLE",
2358
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2359
+ stateMutability: "view"
2360
+ },
2361
+ {
2362
+ type: "function",
2363
+ inputs: [],
2364
+ name: "MANAGER_ROLE",
2365
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2366
+ stateMutability: "view"
2367
+ },
2228
2368
  {
2229
2369
  type: "function",
2230
2370
  inputs: [],
@@ -2279,7 +2419,10 @@ const se = [
2279
2419
  type: "function",
2280
2420
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
2281
2421
  name: "clawback",
2282
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
2422
+ outputs: [
2423
+ { name: "", internalType: "uint256", type: "uint256" },
2424
+ { name: "", internalType: "address", type: "address" }
2425
+ ],
2283
2426
  stateMutability: "nonpayable"
2284
2427
  },
2285
2428
  {
@@ -2305,6 +2448,46 @@ const se = [
2305
2448
  outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
2306
2449
  stateMutability: "pure"
2307
2450
  },
2451
+ {
2452
+ type: "function",
2453
+ inputs: [
2454
+ { name: "user", internalType: "address", type: "address" },
2455
+ { name: "roles", internalType: "uint256", type: "uint256" }
2456
+ ],
2457
+ name: "grantRoles",
2458
+ outputs: [],
2459
+ stateMutability: "payable"
2460
+ },
2461
+ {
2462
+ type: "function",
2463
+ inputs: [
2464
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
2465
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
2466
+ ],
2467
+ name: "grantRoles",
2468
+ outputs: [],
2469
+ stateMutability: "nonpayable"
2470
+ },
2471
+ {
2472
+ type: "function",
2473
+ inputs: [
2474
+ { name: "user", internalType: "address", type: "address" },
2475
+ { name: "roles", internalType: "uint256", type: "uint256" }
2476
+ ],
2477
+ name: "hasAllRoles",
2478
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2479
+ stateMutability: "view"
2480
+ },
2481
+ {
2482
+ type: "function",
2483
+ inputs: [
2484
+ { name: "user", internalType: "address", type: "address" },
2485
+ { name: "roles", internalType: "uint256", type: "uint256" }
2486
+ ],
2487
+ name: "hasAnyRole",
2488
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2489
+ stateMutability: "view"
2490
+ },
2308
2491
  {
2309
2492
  type: "function",
2310
2493
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
@@ -2312,6 +2495,13 @@ const se = [
2312
2495
  outputs: [],
2313
2496
  stateMutability: "nonpayable"
2314
2497
  },
2498
+ {
2499
+ type: "function",
2500
+ inputs: [{ name: "account_", internalType: "address", type: "address" }],
2501
+ name: "isAuthorized",
2502
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2503
+ stateMutability: "view"
2504
+ },
2315
2505
  {
2316
2506
  type: "function",
2317
2507
  inputs: [
@@ -2352,6 +2542,13 @@ const se = [
2352
2542
  outputs: [],
2353
2543
  stateMutability: "payable"
2354
2544
  },
2545
+ {
2546
+ type: "function",
2547
+ inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
2548
+ name: "renounceRoles",
2549
+ outputs: [],
2550
+ stateMutability: "payable"
2551
+ },
2355
2552
  {
2356
2553
  type: "function",
2357
2554
  inputs: [],
@@ -2361,33 +2558,70 @@ const se = [
2361
2558
  },
2362
2559
  {
2363
2560
  type: "function",
2364
- inputs: [],
2365
- name: "reward",
2366
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2367
- stateMutability: "view"
2561
+ inputs: [
2562
+ { name: "user", internalType: "address", type: "address" },
2563
+ { name: "roles", internalType: "uint256", type: "uint256" }
2564
+ ],
2565
+ name: "revokeRoles",
2566
+ outputs: [],
2567
+ stateMutability: "payable"
2368
2568
  },
2369
2569
  {
2370
2570
  type: "function",
2371
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
2372
- name: "supportsInterface",
2373
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
2374
- stateMutability: "view"
2571
+ inputs: [
2572
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
2573
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
2574
+ ],
2575
+ name: "revokeRoles",
2576
+ outputs: [],
2577
+ stateMutability: "nonpayable"
2375
2578
  },
2376
2579
  {
2377
2580
  type: "function",
2378
2581
  inputs: [],
2379
- name: "totalBudget",
2582
+ name: "reward",
2380
2583
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2381
2584
  stateMutability: "view"
2382
2585
  },
2383
2586
  {
2384
2587
  type: "function",
2385
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
2588
+ inputs: [{ name: "user", internalType: "address", type: "address" }],
2589
+ name: "rolesOf",
2590
+ outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
2591
+ stateMutability: "view"
2592
+ },
2593
+ {
2594
+ type: "function",
2595
+ inputs: [
2596
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
2597
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
2598
+ ],
2599
+ name: "setAuthorized",
2600
+ outputs: [],
2601
+ stateMutability: "nonpayable"
2602
+ },
2603
+ {
2604
+ type: "function",
2605
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
2606
+ name: "supportsInterface",
2607
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2608
+ stateMutability: "view"
2609
+ },
2610
+ {
2611
+ type: "function",
2612
+ inputs: [],
2613
+ name: "totalBudget",
2614
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2615
+ stateMutability: "view"
2616
+ },
2617
+ {
2618
+ type: "function",
2619
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
2386
2620
  name: "transferOwnership",
2387
2621
  outputs: [],
2388
2622
  stateMutability: "payable"
2389
2623
  }
2390
- ], d = [
2624
+ ], l = [
2391
2625
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
2392
2626
  { type: "error", inputs: [], name: "AlreadyInitialized" },
2393
2627
  { type: "error", inputs: [], name: "ClaimFailed" },
@@ -2413,6 +2647,7 @@ const se = [
2413
2647
  { type: "error", inputs: [], name: "InvalidInitialization" },
2414
2648
  { type: "error", inputs: [], name: "InvalidInitialization" },
2415
2649
  { type: "error", inputs: [], name: "InvalidInitializationData" },
2650
+ { type: "error", inputs: [], name: "LengthMismatch" },
2416
2651
  { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
2417
2652
  { type: "error", inputs: [], name: "NoHandoverRequest" },
2418
2653
  { type: "error", inputs: [], name: "NotClaimable" },
@@ -2504,6 +2739,34 @@ const se = [
2504
2739
  ],
2505
2740
  name: "OwnershipTransferred"
2506
2741
  },
2742
+ {
2743
+ type: "event",
2744
+ anonymous: !1,
2745
+ inputs: [
2746
+ { name: "user", internalType: "address", type: "address", indexed: !0 },
2747
+ {
2748
+ name: "roles",
2749
+ internalType: "uint256",
2750
+ type: "uint256",
2751
+ indexed: !0
2752
+ }
2753
+ ],
2754
+ name: "RolesUpdated"
2755
+ },
2756
+ {
2757
+ type: "function",
2758
+ inputs: [],
2759
+ name: "ADMIN_ROLE",
2760
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2761
+ stateMutability: "view"
2762
+ },
2763
+ {
2764
+ type: "function",
2765
+ inputs: [],
2766
+ name: "MANAGER_ROLE",
2767
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2768
+ stateMutability: "view"
2769
+ },
2507
2770
  {
2508
2771
  type: "function",
2509
2772
  inputs: [],
@@ -2546,7 +2809,10 @@ const se = [
2546
2809
  type: "function",
2547
2810
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
2548
2811
  name: "clawback",
2549
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
2812
+ outputs: [
2813
+ { name: "", internalType: "uint256", type: "uint256" },
2814
+ { name: "", internalType: "address", type: "address" }
2815
+ ],
2550
2816
  stateMutability: "nonpayable"
2551
2817
  },
2552
2818
  {
@@ -2586,6 +2852,46 @@ const se = [
2586
2852
  outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
2587
2853
  stateMutability: "pure"
2588
2854
  },
2855
+ {
2856
+ type: "function",
2857
+ inputs: [
2858
+ { name: "user", internalType: "address", type: "address" },
2859
+ { name: "roles", internalType: "uint256", type: "uint256" }
2860
+ ],
2861
+ name: "grantRoles",
2862
+ outputs: [],
2863
+ stateMutability: "payable"
2864
+ },
2865
+ {
2866
+ type: "function",
2867
+ inputs: [
2868
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
2869
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
2870
+ ],
2871
+ name: "grantRoles",
2872
+ outputs: [],
2873
+ stateMutability: "nonpayable"
2874
+ },
2875
+ {
2876
+ type: "function",
2877
+ inputs: [
2878
+ { name: "user", internalType: "address", type: "address" },
2879
+ { name: "roles", internalType: "uint256", type: "uint256" }
2880
+ ],
2881
+ name: "hasAllRoles",
2882
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2883
+ stateMutability: "view"
2884
+ },
2885
+ {
2886
+ type: "function",
2887
+ inputs: [
2888
+ { name: "user", internalType: "address", type: "address" },
2889
+ { name: "roles", internalType: "uint256", type: "uint256" }
2890
+ ],
2891
+ name: "hasAnyRole",
2892
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2893
+ stateMutability: "view"
2894
+ },
2589
2895
  {
2590
2896
  type: "function",
2591
2897
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
@@ -2593,6 +2899,13 @@ const se = [
2593
2899
  outputs: [],
2594
2900
  stateMutability: "nonpayable"
2595
2901
  },
2902
+ {
2903
+ type: "function",
2904
+ inputs: [{ name: "account_", internalType: "address", type: "address" }],
2905
+ name: "isAuthorized",
2906
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
2907
+ stateMutability: "view"
2908
+ },
2596
2909
  {
2597
2910
  type: "function",
2598
2911
  inputs: [
@@ -2640,6 +2953,13 @@ const se = [
2640
2953
  outputs: [],
2641
2954
  stateMutability: "payable"
2642
2955
  },
2956
+ {
2957
+ type: "function",
2958
+ inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
2959
+ name: "renounceRoles",
2960
+ outputs: [],
2961
+ stateMutability: "payable"
2962
+ },
2643
2963
  {
2644
2964
  type: "function",
2645
2965
  inputs: [],
@@ -2647,6 +2967,26 @@ const se = [
2647
2967
  outputs: [],
2648
2968
  stateMutability: "payable"
2649
2969
  },
2970
+ {
2971
+ type: "function",
2972
+ inputs: [
2973
+ { name: "user", internalType: "address", type: "address" },
2974
+ { name: "roles", internalType: "uint256", type: "uint256" }
2975
+ ],
2976
+ name: "revokeRoles",
2977
+ outputs: [],
2978
+ stateMutability: "payable"
2979
+ },
2980
+ {
2981
+ type: "function",
2982
+ inputs: [
2983
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
2984
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
2985
+ ],
2986
+ name: "revokeRoles",
2987
+ outputs: [],
2988
+ stateMutability: "nonpayable"
2989
+ },
2650
2990
  {
2651
2991
  type: "function",
2652
2992
  inputs: [],
@@ -2654,6 +2994,23 @@ const se = [
2654
2994
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2655
2995
  stateMutability: "view"
2656
2996
  },
2997
+ {
2998
+ type: "function",
2999
+ inputs: [{ name: "user", internalType: "address", type: "address" }],
3000
+ name: "rolesOf",
3001
+ outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
3002
+ stateMutability: "view"
3003
+ },
3004
+ {
3005
+ type: "function",
3006
+ inputs: [
3007
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
3008
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
3009
+ ],
3010
+ name: "setAuthorized",
3011
+ outputs: [],
3012
+ stateMutability: "nonpayable"
3013
+ },
2657
3014
  {
2658
3015
  type: "function",
2659
3016
  inputs: [],
@@ -2681,7 +3038,7 @@ const se = [
2681
3038
  outputs: [],
2682
3039
  stateMutability: "payable"
2683
3040
  }
2684
- ], Y = [
3041
+ ], Q = [
2685
3042
  { type: "error", inputs: [], name: "AlreadyInitialized" },
2686
3043
  { type: "error", inputs: [], name: "ClaimFailed" },
2687
3044
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
@@ -2698,6 +3055,7 @@ const se = [
2698
3055
  { type: "error", inputs: [], name: "InvalidInitialization" },
2699
3056
  { type: "error", inputs: [], name: "InvalidInitialization" },
2700
3057
  { type: "error", inputs: [], name: "InvalidInitializationData" },
3058
+ { type: "error", inputs: [], name: "LengthMismatch" },
2701
3059
  { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
2702
3060
  { type: "error", inputs: [], name: "NoHandoverRequest" },
2703
3061
  { type: "error", inputs: [], name: "NotClaimable" },
@@ -2775,6 +3133,34 @@ const se = [
2775
3133
  ],
2776
3134
  name: "OwnershipTransferred"
2777
3135
  },
3136
+ {
3137
+ type: "event",
3138
+ anonymous: !1,
3139
+ inputs: [
3140
+ { name: "user", internalType: "address", type: "address", indexed: !0 },
3141
+ {
3142
+ name: "roles",
3143
+ internalType: "uint256",
3144
+ type: "uint256",
3145
+ indexed: !0
3146
+ }
3147
+ ],
3148
+ name: "RolesUpdated"
3149
+ },
3150
+ {
3151
+ type: "function",
3152
+ inputs: [],
3153
+ name: "ADMIN_ROLE",
3154
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3155
+ stateMutability: "view"
3156
+ },
3157
+ {
3158
+ type: "function",
3159
+ inputs: [],
3160
+ name: "MANAGER_ROLE",
3161
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3162
+ stateMutability: "view"
3163
+ },
2778
3164
  {
2779
3165
  type: "function",
2780
3166
  inputs: [],
@@ -2817,7 +3203,10 @@ const se = [
2817
3203
  type: "function",
2818
3204
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
2819
3205
  name: "clawback",
2820
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
3206
+ outputs: [
3207
+ { name: "", internalType: "uint256", type: "uint256" },
3208
+ { name: "", internalType: "address", type: "address" }
3209
+ ],
2821
3210
  stateMutability: "nonpayable"
2822
3211
  },
2823
3212
  {
@@ -2866,6 +3255,46 @@ const se = [
2866
3255
  ],
2867
3256
  stateMutability: "view"
2868
3257
  },
3258
+ {
3259
+ type: "function",
3260
+ inputs: [
3261
+ { name: "user", internalType: "address", type: "address" },
3262
+ { name: "roles", internalType: "uint256", type: "uint256" }
3263
+ ],
3264
+ name: "grantRoles",
3265
+ outputs: [],
3266
+ stateMutability: "payable"
3267
+ },
3268
+ {
3269
+ type: "function",
3270
+ inputs: [
3271
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
3272
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
3273
+ ],
3274
+ name: "grantRoles",
3275
+ outputs: [],
3276
+ stateMutability: "nonpayable"
3277
+ },
3278
+ {
3279
+ type: "function",
3280
+ inputs: [
3281
+ { name: "user", internalType: "address", type: "address" },
3282
+ { name: "roles", internalType: "uint256", type: "uint256" }
3283
+ ],
3284
+ name: "hasAllRoles",
3285
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
3286
+ stateMutability: "view"
3287
+ },
3288
+ {
3289
+ type: "function",
3290
+ inputs: [
3291
+ { name: "user", internalType: "address", type: "address" },
3292
+ { name: "roles", internalType: "uint256", type: "uint256" }
3293
+ ],
3294
+ name: "hasAnyRole",
3295
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
3296
+ stateMutability: "view"
3297
+ },
2869
3298
  {
2870
3299
  type: "function",
2871
3300
  inputs: [],
@@ -2889,6 +3318,13 @@ const se = [
2889
3318
  outputs: [],
2890
3319
  stateMutability: "nonpayable"
2891
3320
  },
3321
+ {
3322
+ type: "function",
3323
+ inputs: [{ name: "account_", internalType: "address", type: "address" }],
3324
+ name: "isAuthorized",
3325
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
3326
+ stateMutability: "view"
3327
+ },
2892
3328
  {
2893
3329
  type: "function",
2894
3330
  inputs: [
@@ -2936,6 +3372,13 @@ const se = [
2936
3372
  outputs: [],
2937
3373
  stateMutability: "payable"
2938
3374
  },
3375
+ {
3376
+ type: "function",
3377
+ inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
3378
+ name: "renounceRoles",
3379
+ outputs: [],
3380
+ stateMutability: "payable"
3381
+ },
2939
3382
  {
2940
3383
  type: "function",
2941
3384
  inputs: [],
@@ -2943,6 +3386,26 @@ const se = [
2943
3386
  outputs: [],
2944
3387
  stateMutability: "payable"
2945
3388
  },
3389
+ {
3390
+ type: "function",
3391
+ inputs: [
3392
+ { name: "user", internalType: "address", type: "address" },
3393
+ { name: "roles", internalType: "uint256", type: "uint256" }
3394
+ ],
3395
+ name: "revokeRoles",
3396
+ outputs: [],
3397
+ stateMutability: "payable"
3398
+ },
3399
+ {
3400
+ type: "function",
3401
+ inputs: [
3402
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
3403
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
3404
+ ],
3405
+ name: "revokeRoles",
3406
+ outputs: [],
3407
+ stateMutability: "nonpayable"
3408
+ },
2946
3409
  {
2947
3410
  type: "function",
2948
3411
  inputs: [],
@@ -2950,6 +3413,23 @@ const se = [
2950
3413
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2951
3414
  stateMutability: "view"
2952
3415
  },
3416
+ {
3417
+ type: "function",
3418
+ inputs: [{ name: "user", internalType: "address", type: "address" }],
3419
+ name: "rolesOf",
3420
+ outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
3421
+ stateMutability: "view"
3422
+ },
3423
+ {
3424
+ type: "function",
3425
+ inputs: [
3426
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
3427
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
3428
+ ],
3429
+ name: "setAuthorized",
3430
+ outputs: [],
3431
+ stateMutability: "nonpayable"
3432
+ },
2953
3433
  {
2954
3434
  type: "function",
2955
3435
  inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
@@ -2989,6 +3469,7 @@ const se = [
2989
3469
  { type: "error", inputs: [], name: "InvalidInitialization" },
2990
3470
  { type: "error", inputs: [], name: "InvalidInitialization" },
2991
3471
  { type: "error", inputs: [], name: "InvalidInitializationData" },
3472
+ { type: "error", inputs: [], name: "LengthMismatch" },
2992
3473
  { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
2993
3474
  { type: "error", inputs: [], name: "NoHandoverRequest" },
2994
3475
  { type: "error", inputs: [], name: "NotClaimable" },
@@ -3066,6 +3547,34 @@ const se = [
3066
3547
  ],
3067
3548
  name: "OwnershipTransferred"
3068
3549
  },
3550
+ {
3551
+ type: "event",
3552
+ anonymous: !1,
3553
+ inputs: [
3554
+ { name: "user", internalType: "address", type: "address", indexed: !0 },
3555
+ {
3556
+ name: "roles",
3557
+ internalType: "uint256",
3558
+ type: "uint256",
3559
+ indexed: !0
3560
+ }
3561
+ ],
3562
+ name: "RolesUpdated"
3563
+ },
3564
+ {
3565
+ type: "function",
3566
+ inputs: [],
3567
+ name: "ADMIN_ROLE",
3568
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3569
+ stateMutability: "view"
3570
+ },
3571
+ {
3572
+ type: "function",
3573
+ inputs: [],
3574
+ name: "MANAGER_ROLE",
3575
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3576
+ stateMutability: "view"
3577
+ },
3069
3578
  {
3070
3579
  type: "function",
3071
3580
  inputs: [],
@@ -3108,7 +3617,10 @@ const se = [
3108
3617
  type: "function",
3109
3618
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
3110
3619
  name: "clawback",
3111
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
3620
+ outputs: [
3621
+ { name: "", internalType: "uint256", type: "uint256" },
3622
+ { name: "", internalType: "address", type: "address" }
3623
+ ],
3112
3624
  stateMutability: "nonpayable"
3113
3625
  },
3114
3626
  {
@@ -3129,10 +3641,50 @@ const se = [
3129
3641
  },
3130
3642
  {
3131
3643
  type: "function",
3132
- inputs: [],
3133
- name: "getComponentInterface",
3134
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
3135
- stateMutability: "pure"
3644
+ inputs: [],
3645
+ name: "getComponentInterface",
3646
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
3647
+ stateMutability: "pure"
3648
+ },
3649
+ {
3650
+ type: "function",
3651
+ inputs: [
3652
+ { name: "user", internalType: "address", type: "address" },
3653
+ { name: "roles", internalType: "uint256", type: "uint256" }
3654
+ ],
3655
+ name: "grantRoles",
3656
+ outputs: [],
3657
+ stateMutability: "payable"
3658
+ },
3659
+ {
3660
+ type: "function",
3661
+ inputs: [
3662
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
3663
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
3664
+ ],
3665
+ name: "grantRoles",
3666
+ outputs: [],
3667
+ stateMutability: "nonpayable"
3668
+ },
3669
+ {
3670
+ type: "function",
3671
+ inputs: [
3672
+ { name: "user", internalType: "address", type: "address" },
3673
+ { name: "roles", internalType: "uint256", type: "uint256" }
3674
+ ],
3675
+ name: "hasAllRoles",
3676
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
3677
+ stateMutability: "view"
3678
+ },
3679
+ {
3680
+ type: "function",
3681
+ inputs: [
3682
+ { name: "user", internalType: "address", type: "address" },
3683
+ { name: "roles", internalType: "uint256", type: "uint256" }
3684
+ ],
3685
+ name: "hasAnyRole",
3686
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
3687
+ stateMutability: "view"
3136
3688
  },
3137
3689
  {
3138
3690
  type: "function",
@@ -3141,6 +3693,13 @@ const se = [
3141
3693
  outputs: [],
3142
3694
  stateMutability: "nonpayable"
3143
3695
  },
3696
+ {
3697
+ type: "function",
3698
+ inputs: [{ name: "account_", internalType: "address", type: "address" }],
3699
+ name: "isAuthorized",
3700
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
3701
+ stateMutability: "view"
3702
+ },
3144
3703
  {
3145
3704
  type: "function",
3146
3705
  inputs: [
@@ -3188,6 +3747,13 @@ const se = [
3188
3747
  outputs: [],
3189
3748
  stateMutability: "payable"
3190
3749
  },
3750
+ {
3751
+ type: "function",
3752
+ inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
3753
+ name: "renounceRoles",
3754
+ outputs: [],
3755
+ stateMutability: "payable"
3756
+ },
3191
3757
  {
3192
3758
  type: "function",
3193
3759
  inputs: [],
@@ -3195,6 +3761,26 @@ const se = [
3195
3761
  outputs: [],
3196
3762
  stateMutability: "payable"
3197
3763
  },
3764
+ {
3765
+ type: "function",
3766
+ inputs: [
3767
+ { name: "user", internalType: "address", type: "address" },
3768
+ { name: "roles", internalType: "uint256", type: "uint256" }
3769
+ ],
3770
+ name: "revokeRoles",
3771
+ outputs: [],
3772
+ stateMutability: "payable"
3773
+ },
3774
+ {
3775
+ type: "function",
3776
+ inputs: [
3777
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
3778
+ { name: "roles_", internalType: "uint256[]", type: "uint256[]" }
3779
+ ],
3780
+ name: "revokeRoles",
3781
+ outputs: [],
3782
+ stateMutability: "nonpayable"
3783
+ },
3198
3784
  {
3199
3785
  type: "function",
3200
3786
  inputs: [],
@@ -3202,6 +3788,23 @@ const se = [
3202
3788
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3203
3789
  stateMutability: "view"
3204
3790
  },
3791
+ {
3792
+ type: "function",
3793
+ inputs: [{ name: "user", internalType: "address", type: "address" }],
3794
+ name: "rolesOf",
3795
+ outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
3796
+ stateMutability: "view"
3797
+ },
3798
+ {
3799
+ type: "function",
3800
+ inputs: [
3801
+ { name: "accounts_", internalType: "address[]", type: "address[]" },
3802
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
3803
+ ],
3804
+ name: "setAuthorized",
3805
+ outputs: [],
3806
+ stateMutability: "nonpayable"
3807
+ },
3205
3808
  {
3206
3809
  type: "function",
3207
3810
  inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
@@ -3223,7 +3826,7 @@ const se = [
3223
3826
  outputs: [],
3224
3827
  stateMutability: "payable"
3225
3828
  }
3226
- ], C = [
3829
+ ], R = [
3227
3830
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
3228
3831
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
3229
3832
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
@@ -3635,7 +4238,22 @@ const se = [
3635
4238
  type: "function",
3636
4239
  inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
3637
4240
  name: "clawback",
3638
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
4241
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4242
+ stateMutability: "nonpayable"
4243
+ },
4244
+ {
4245
+ type: "function",
4246
+ inputs: [
4247
+ { name: "target", internalType: "address", type: "address" },
4248
+ { name: "data_", internalType: "bytes", type: "bytes" },
4249
+ { name: "boostId", internalType: "uint256", type: "uint256" },
4250
+ { name: "incentiveId", internalType: "uint256", type: "uint256" }
4251
+ ],
4252
+ name: "clawbackFromTarget",
4253
+ outputs: [
4254
+ { name: "", internalType: "uint256", type: "uint256" },
4255
+ { name: "", internalType: "address", type: "address" }
4256
+ ],
3639
4257
  stateMutability: "nonpayable"
3640
4258
  },
3641
4259
  {
@@ -3988,6 +4606,13 @@ const se = [
3988
4606
  ],
3989
4607
  name: "RolesUpdated"
3990
4608
  },
4609
+ {
4610
+ type: "function",
4611
+ inputs: [],
4612
+ name: "asset",
4613
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4614
+ stateMutability: "view"
4615
+ },
3991
4616
  {
3992
4617
  type: "function",
3993
4618
  inputs: [],
@@ -4023,7 +4648,10 @@ const se = [
4023
4648
  type: "function",
4024
4649
  inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
4025
4650
  name: "clawback",
4026
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
4651
+ outputs: [
4652
+ { name: "", internalType: "uint256", type: "uint256" },
4653
+ { name: "", internalType: "address", type: "address" }
4654
+ ],
4027
4655
  stateMutability: "pure"
4028
4656
  },
4029
4657
  {
@@ -4422,7 +5050,7 @@ const se = [
4422
5050
  outputs: [],
4423
5051
  stateMutability: "payable"
4424
5052
  }
4425
- ], M = [
5053
+ ], I = [
4426
5054
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
4427
5055
  { type: "error", inputs: [], name: "AlreadyInitialized" },
4428
5056
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
@@ -5209,10 +5837,10 @@ const se = [
5209
5837
  stateMutability: "payable"
5210
5838
  }
5211
5839
  ], oe = /* @__PURE__ */ n({
5212
- abi: k,
5840
+ abi: B,
5213
5841
  functionName: "getComponentInterface"
5214
5842
  }), le = /* @__PURE__ */ n(
5215
- { abi: k, functionName: "supportsInterface" }
5843
+ { abi: B, functionName: "supportsInterface" }
5216
5844
  ), de = /* @__PURE__ */ n(
5217
5845
  { abi: v, functionName: "allowList" }
5218
5846
  ), me = /* @__PURE__ */ n({
@@ -5233,513 +5861,509 @@ const se = [
5233
5861
  }), we = /* @__PURE__ */ n({
5234
5862
  abi: v,
5235
5863
  functionName: "reward"
5236
- }), ve = /* @__PURE__ */ p({
5864
+ }), ve = /* @__PURE__ */ r({
5237
5865
  abi: v,
5238
5866
  functionName: "claim"
5239
5867
  }), Me = /* @__PURE__ */ s({
5240
5868
  abi: v,
5241
5869
  functionName: "claim"
5242
5870
  }), Ie = /* @__PURE__ */ n({
5243
- abi: l,
5244
- functionName: "claimFee"
5245
- }), he = /* @__PURE__ */ n({
5246
- abi: l,
5871
+ abi: d,
5247
5872
  functionName: "createBoostAuth"
5248
- }), ge = /* @__PURE__ */ n({
5249
- abi: l,
5873
+ }), he = /* @__PURE__ */ n({
5874
+ abi: d,
5250
5875
  functionName: "getBoost"
5251
- }), Oe = /* @__PURE__ */ n({
5252
- abi: l,
5876
+ }), ge = /* @__PURE__ */ n({
5877
+ abi: d,
5253
5878
  functionName: "getBoostCount"
5254
- }), Ne = /* @__PURE__ */ n({
5255
- abi: l,
5879
+ }), Oe = /* @__PURE__ */ n({
5880
+ abi: d,
5256
5881
  functionName: "protocolFee"
5257
5882
  }), Ae = /* @__PURE__ */ n({
5258
- abi: l,
5883
+ abi: d,
5259
5884
  functionName: "protocolFeeReceiver"
5260
- }), Ce = /* @__PURE__ */ p({
5261
- abi: l,
5885
+ }), Ne = /* @__PURE__ */ r({
5886
+ abi: d,
5262
5887
  functionName: "claimIncentive"
5263
- }), ze = /* @__PURE__ */ p({
5264
- abi: l,
5888
+ }), Re = /* @__PURE__ */ r({
5889
+ abi: d,
5265
5890
  functionName: "claimIncentiveFor"
5266
- }), xe = /* @__PURE__ */ p({
5267
- abi: l,
5268
- functionName: "setClaimFee"
5269
- }), Re = /* @__PURE__ */ p({
5270
- abi: l,
5891
+ }), ze = /* @__PURE__ */ r({
5892
+ abi: d,
5271
5893
  functionName: "setCreateBoostAuth"
5272
- }), _e = /* @__PURE__ */ p({
5273
- abi: l,
5894
+ }), Ce = /* @__PURE__ */ r({
5895
+ abi: d,
5274
5896
  functionName: "setProtocolFeeReceiver"
5275
- }), He = /* @__PURE__ */ s({
5276
- abi: l,
5897
+ }), xe = /* @__PURE__ */ s({
5898
+ abi: d,
5277
5899
  functionName: "claimIncentive"
5278
- }), Ee = /* @__PURE__ */ s({
5279
- abi: l,
5900
+ }), _e = /* @__PURE__ */ s({
5901
+ abi: d,
5280
5902
  functionName: "claimIncentiveFor"
5281
- }), qe = /* @__PURE__ */ s({
5282
- abi: l,
5283
- functionName: "setClaimFee"
5284
- }), De = /* @__PURE__ */ s({
5285
- abi: l,
5903
+ }), He = /* @__PURE__ */ s({
5904
+ abi: d,
5905
+ functionName: "createBoost"
5906
+ }), Ee = /* @__PURE__ */ s({
5907
+ abi: d,
5286
5908
  functionName: "setCreateBoostAuth"
5287
- }), Fe = /* @__PURE__ */ s({
5288
- abi: l,
5909
+ }), De = /* @__PURE__ */ s({
5910
+ abi: d,
5289
5911
  functionName: "setProtocolFeeReceiver"
5290
- }), Be = /* @__PURE__ */ n({
5291
- abi: h,
5292
- functionName: "getBaseImplementation"
5293
5912
  }), ke = /* @__PURE__ */ n({
5294
- abi: h,
5913
+ abi: M,
5914
+ functionName: "getBaseImplementation"
5915
+ }), qe = /* @__PURE__ */ n({
5916
+ abi: M,
5917
+ functionName: "getClone"
5918
+ }), Fe = /* @__PURE__ */ n({
5919
+ abi: M,
5295
5920
  functionName: "getCloneIdentifier"
5296
- }), Le = /* @__PURE__ */ n({
5297
- abi: h,
5921
+ }), Be = /* @__PURE__ */ n({
5922
+ abi: M,
5298
5923
  functionName: "getClones"
5299
- }), Ue = /* @__PURE__ */ p({
5300
- abi: h,
5924
+ }), Le = /* @__PURE__ */ r({
5925
+ abi: M,
5301
5926
  functionName: "deployClone"
5302
- }), Pe = /* @__PURE__ */ p({
5303
- abi: h,
5927
+ }), Ue = /* @__PURE__ */ r({
5928
+ abi: M,
5304
5929
  functionName: "register"
5305
- }), je = /* @__PURE__ */ s({
5306
- abi: h,
5930
+ }), Pe = /* @__PURE__ */ s({
5931
+ abi: M,
5307
5932
  functionName: "deployClone"
5308
- }), Se = /* @__PURE__ */ s({
5309
- abi: h,
5933
+ }), je = /* @__PURE__ */ s({
5934
+ abi: M,
5310
5935
  functionName: "register"
5311
- }), Ve = /* @__PURE__ */ n({
5936
+ }), Se = /* @__PURE__ */ n({
5312
5937
  abi: m,
5313
5938
  functionName: "asset"
5314
- }), Ze = /* @__PURE__ */ n({
5939
+ }), Ve = /* @__PURE__ */ n({
5315
5940
  abi: m,
5316
5941
  functionName: "cgdaParams"
5317
- }), $e = /* @__PURE__ */ n({
5942
+ }), Ze = /* @__PURE__ */ n({
5318
5943
  abi: m,
5319
5944
  functionName: "claimed"
5320
- }), Ge = /* @__PURE__ */ n({
5945
+ }), $e = /* @__PURE__ */ n({
5321
5946
  abi: m,
5322
5947
  functionName: "claims"
5323
- }), We = /* @__PURE__ */ n({
5948
+ }), Ge = /* @__PURE__ */ n({
5324
5949
  abi: m,
5325
5950
  functionName: "currentReward"
5326
- }), Je = /* @__PURE__ */ n({
5951
+ }), We = /* @__PURE__ */ n({
5327
5952
  abi: m,
5328
5953
  functionName: "isClaimable"
5329
- }), Qe = /* @__PURE__ */ n({
5954
+ }), Ke = /* @__PURE__ */ n({
5330
5955
  abi: m,
5331
5956
  functionName: "owner"
5332
- }), Ke = /* @__PURE__ */ n({
5957
+ }), Ye = /* @__PURE__ */ n({
5333
5958
  abi: m,
5334
5959
  functionName: "reward"
5335
- }), Xe = /* @__PURE__ */ n({
5960
+ }), Je = /* @__PURE__ */ n({
5336
5961
  abi: m,
5337
5962
  functionName: "totalBudget"
5338
- }), Ye = /* @__PURE__ */ p({
5963
+ }), Xe = /* @__PURE__ */ r({
5339
5964
  abi: m,
5340
5965
  functionName: "claim"
5341
- }), et = /* @__PURE__ */ p({
5966
+ }), Qe = /* @__PURE__ */ r({
5342
5967
  abi: m,
5343
5968
  functionName: "clawback"
5344
- }), tt = /* @__PURE__ */ s({
5969
+ }), et = /* @__PURE__ */ s({
5345
5970
  abi: m,
5346
5971
  functionName: "claim"
5347
- }), nt = /* @__PURE__ */ s({
5972
+ }), tt = /* @__PURE__ */ s({
5348
5973
  abi: m,
5349
5974
  functionName: "clawback"
5350
- }), at = /* @__PURE__ */ n({
5351
- abi: d,
5975
+ }), nt = /* @__PURE__ */ n({
5976
+ abi: l,
5352
5977
  functionName: "asset"
5353
- }), it = /* @__PURE__ */ n({
5354
- abi: d,
5978
+ }), at = /* @__PURE__ */ n({
5979
+ abi: l,
5355
5980
  functionName: "claimed"
5356
- }), st = /* @__PURE__ */ n({
5357
- abi: d,
5981
+ }), it = /* @__PURE__ */ n({
5982
+ abi: l,
5358
5983
  functionName: "claims"
5359
- }), pt = /* @__PURE__ */ n(
5360
- { abi: d, functionName: "currentReward" }
5361
- ), rt = /* @__PURE__ */ n({
5362
- abi: d,
5984
+ }), st = /* @__PURE__ */ n(
5985
+ { abi: l, functionName: "currentReward" }
5986
+ ), pt = /* @__PURE__ */ n({
5987
+ abi: l,
5363
5988
  functionName: "entries"
5364
- }), yt = /* @__PURE__ */ n({
5365
- abi: d,
5989
+ }), rt = /* @__PURE__ */ n({
5990
+ abi: l,
5366
5991
  functionName: "isClaimable"
5367
5992
  }), ut = /* @__PURE__ */ n({
5368
- abi: d,
5993
+ abi: l,
5369
5994
  functionName: "limit"
5370
- }), ot = /* @__PURE__ */ n({
5371
- abi: d,
5995
+ }), yt = /* @__PURE__ */ n({
5996
+ abi: l,
5372
5997
  functionName: "owner"
5373
- }), lt = /* @__PURE__ */ n({
5374
- abi: d,
5998
+ }), ot = /* @__PURE__ */ n({
5999
+ abi: l,
5375
6000
  functionName: "reward"
5376
- }), dt = /* @__PURE__ */ n({
5377
- abi: d,
6001
+ }), lt = /* @__PURE__ */ n({
6002
+ abi: l,
5378
6003
  functionName: "strategy"
5379
- }), mt = /* @__PURE__ */ p({
5380
- abi: d,
6004
+ }), dt = /* @__PURE__ */ r({
6005
+ abi: l,
5381
6006
  functionName: "claim"
5382
- }), ct = /* @__PURE__ */ p({
5383
- abi: d,
6007
+ }), mt = /* @__PURE__ */ r({
6008
+ abi: l,
5384
6009
  functionName: "clawback"
5385
- }), bt = /* @__PURE__ */ p({
5386
- abi: d,
6010
+ }), ct = /* @__PURE__ */ r({
6011
+ abi: l,
5387
6012
  functionName: "drawRaffle"
5388
- }), Tt = /* @__PURE__ */ s(
5389
- { abi: d, functionName: "claim" }
5390
- ), ft = /* @__PURE__ */ s({
5391
- abi: d,
6013
+ }), bt = /* @__PURE__ */ s(
6014
+ { abi: l, functionName: "claim" }
6015
+ ), Tt = /* @__PURE__ */ s({
6016
+ abi: l,
5392
6017
  functionName: "clawback"
5393
- }), wt = /* @__PURE__ */ s({
5394
- abi: d,
6018
+ }), ft = /* @__PURE__ */ s({
6019
+ abi: l,
5395
6020
  functionName: "drawRaffle"
5396
- }), vt = /* @__PURE__ */ n({
5397
- abi: Y,
6021
+ }), wt = /* @__PURE__ */ n({
6022
+ abi: Q,
5398
6023
  functionName: "getIncentiveCriteria"
5399
- }), Mt = /* @__PURE__ */ n(
6024
+ }), vt = /* @__PURE__ */ n(
5400
6025
  { abi: c, functionName: "asset" }
5401
- ), It = /* @__PURE__ */ n({
6026
+ ), Mt = /* @__PURE__ */ n({
5402
6027
  abi: c,
5403
6028
  functionName: "claimed"
5404
- }), ht = /* @__PURE__ */ n({
6029
+ }), It = /* @__PURE__ */ n({
5405
6030
  abi: c,
5406
6031
  functionName: "claims"
5407
- }), gt = /* @__PURE__ */ n({
6032
+ }), ht = /* @__PURE__ */ n({
5408
6033
  abi: c,
5409
6034
  functionName: "currentReward"
5410
- }), Ot = /* @__PURE__ */ n({
6035
+ }), gt = /* @__PURE__ */ n({
5411
6036
  abi: c,
5412
6037
  functionName: "isClaimable"
5413
- }), Nt = /* @__PURE__ */ n(
6038
+ }), Ot = /* @__PURE__ */ n(
5414
6039
  { abi: c, functionName: "limit" }
5415
6040
  ), At = /* @__PURE__ */ n(
5416
6041
  { abi: c, functionName: "owner" }
5417
- ), Ct = /* @__PURE__ */ n({
6042
+ ), Nt = /* @__PURE__ */ n({
5418
6043
  abi: c,
5419
6044
  functionName: "reward"
5420
- }), zt = /* @__PURE__ */ n({
6045
+ }), Rt = /* @__PURE__ */ n({
5421
6046
  abi: c,
5422
6047
  functionName: "totalClaimed"
5423
- }), xt = /* @__PURE__ */ p({
6048
+ }), zt = /* @__PURE__ */ r({
5424
6049
  abi: c,
5425
6050
  functionName: "claim"
5426
- }), Rt = /* @__PURE__ */ p({
6051
+ }), Ct = /* @__PURE__ */ r({
5427
6052
  abi: c,
5428
6053
  functionName: "clawback"
5429
- }), _t = /* @__PURE__ */ s({
6054
+ }), xt = /* @__PURE__ */ s({
5430
6055
  abi: c,
5431
6056
  functionName: "claim"
5432
- }), Ht = /* @__PURE__ */ s({
6057
+ }), _t = /* @__PURE__ */ s({
5433
6058
  abi: c,
5434
6059
  functionName: "clawback"
5435
- }), Et = /* @__PURE__ */ n({
5436
- abi: C,
6060
+ }), Ht = /* @__PURE__ */ n({
6061
+ abi: R,
5437
6062
  functionName: "getActionClaimant"
5438
- }), qt = /* @__PURE__ */ n({
5439
- abi: C,
6063
+ }), Et = /* @__PURE__ */ n({
6064
+ abi: R,
5440
6065
  functionName: "getActionSteps"
5441
- }), Dt = /* @__PURE__ */ p({
5442
- abi: C,
6066
+ }), Dt = /* @__PURE__ */ r({
6067
+ abi: R,
5443
6068
  functionName: "execute"
5444
- }), Ft = /* @__PURE__ */ s({
5445
- abi: C,
6069
+ }), kt = /* @__PURE__ */ s({
6070
+ abi: R,
5446
6071
  functionName: "execute"
5447
- }), Bt = /* @__PURE__ */ n({
6072
+ }), qt = /* @__PURE__ */ n({
5448
6073
  abi: ee,
5449
6074
  functionName: "isAuthorized"
5450
- }), kt = /* @__PURE__ */ n({
6075
+ }), Ft = /* @__PURE__ */ n({
5451
6076
  abi: b,
5452
6077
  functionName: "available"
5453
- }), Lt = /* @__PURE__ */ n({
6078
+ }), Bt = /* @__PURE__ */ n({
5454
6079
  abi: b,
5455
6080
  functionName: "distributed"
5456
- }), Ut = /* @__PURE__ */ n({
6081
+ }), Lt = /* @__PURE__ */ n({
5457
6082
  abi: b,
5458
6083
  functionName: "owner"
5459
- }), Pt = /* @__PURE__ */ n({
6084
+ }), Ut = /* @__PURE__ */ n({
5460
6085
  abi: b,
5461
6086
  functionName: "total"
5462
- }), jt = /* @__PURE__ */ p({
6087
+ }), Pt = /* @__PURE__ */ r({
5463
6088
  abi: b,
5464
6089
  functionName: "allocate"
5465
- }), St = /* @__PURE__ */ p({
6090
+ }), jt = /* @__PURE__ */ r({
5466
6091
  abi: b,
5467
6092
  functionName: "clawback"
5468
- }), Vt = /* @__PURE__ */ p({
6093
+ }), St = /* @__PURE__ */ r({
5469
6094
  abi: b,
5470
6095
  functionName: "disburse"
5471
- }), Zt = /* @__PURE__ */ p({
6096
+ }), Vt = /* @__PURE__ */ r({
5472
6097
  abi: b,
5473
6098
  functionName: "disburseBatch"
5474
- }), $t = /* @__PURE__ */ s({
6099
+ }), Zt = /* @__PURE__ */ s({
5475
6100
  abi: b,
5476
6101
  functionName: "allocate"
5477
- }), Gt = /* @__PURE__ */ s({
6102
+ }), $t = /* @__PURE__ */ s({
5478
6103
  abi: b,
5479
6104
  functionName: "clawback"
5480
- }), Wt = /* @__PURE__ */ s({
6105
+ }), Gt = /* @__PURE__ */ s({
5481
6106
  abi: b,
5482
6107
  functionName: "disburse"
5483
- }), Jt = /* @__PURE__ */ s({
6108
+ }), Wt = /* @__PURE__ */ s({
5484
6109
  abi: b,
5485
6110
  functionName: "disburseBatch"
5486
- }), Qt = /* @__PURE__ */ n(
6111
+ }), Kt = /* @__PURE__ */ n(
5487
6112
  { abi: te, functionName: "isAuthorized" }
5488
- ), Kt = /* @__PURE__ */ n({
6113
+ ), Yt = /* @__PURE__ */ n({
5489
6114
  abi: f,
5490
6115
  functionName: "claimed"
5491
- }), Xt = /* @__PURE__ */ n({
6116
+ }), Jt = /* @__PURE__ */ n({
5492
6117
  abi: f,
5493
6118
  functionName: "claims"
5494
- }), Yt = /* @__PURE__ */ n({
6119
+ }), Xt = /* @__PURE__ */ n({
5495
6120
  abi: f,
5496
6121
  functionName: "currentReward"
5497
- }), en = /* @__PURE__ */ n({
6122
+ }), Qt = /* @__PURE__ */ n({
5498
6123
  abi: f,
5499
6124
  functionName: "isClaimable"
5500
- }), tn = /* @__PURE__ */ n({
6125
+ }), en = /* @__PURE__ */ n({
5501
6126
  abi: f,
5502
6127
  functionName: "limit"
5503
- }), nn = /* @__PURE__ */ n({
6128
+ }), tn = /* @__PURE__ */ n({
5504
6129
  abi: f,
5505
6130
  functionName: "reward"
5506
- }), an = /* @__PURE__ */ n({
6131
+ }), nn = /* @__PURE__ */ n({
5507
6132
  abi: f,
5508
6133
  functionName: "selector"
5509
- }), sn = /* @__PURE__ */ n({
6134
+ }), an = /* @__PURE__ */ n({
5510
6135
  abi: f,
5511
6136
  functionName: "venue"
5512
- }), pn = /* @__PURE__ */ p({
6137
+ }), sn = /* @__PURE__ */ r({
5513
6138
  abi: f,
5514
6139
  functionName: "claim"
5515
- }), rn = /* @__PURE__ */ s({
6140
+ }), pn = /* @__PURE__ */ s({
5516
6141
  abi: f,
5517
6142
  functionName: "claim"
5518
- }), yn = /* @__PURE__ */ n({
6143
+ }), rn = /* @__PURE__ */ n({
5519
6144
  abi: w,
5520
6145
  functionName: "hasAllRoles"
5521
6146
  }), un = /* @__PURE__ */ n({
5522
6147
  abi: w,
5523
6148
  functionName: "hasAnyRole"
5524
- }), on = /* @__PURE__ */ n({
6149
+ }), yn = /* @__PURE__ */ n({
5525
6150
  abi: w,
5526
6151
  functionName: "isAuthorized"
5527
- }), ln = /* @__PURE__ */ n({
6152
+ }), on = /* @__PURE__ */ n({
5528
6153
  abi: w,
5529
6154
  functionName: "rolesOf"
5530
- }), dn = /* @__PURE__ */ p({
6155
+ }), ln = /* @__PURE__ */ r({
5531
6156
  abi: w,
5532
6157
  functionName: "grantRoles"
5533
- }), mn = /* @__PURE__ */ p({
6158
+ }), dn = /* @__PURE__ */ r({
5534
6159
  abi: w,
5535
6160
  functionName: "revokeRoles"
5536
- }), cn = /* @__PURE__ */ p({
6161
+ }), mn = /* @__PURE__ */ r({
5537
6162
  abi: w,
5538
6163
  functionName: "setAuthorized"
5539
- }), bn = /* @__PURE__ */ s({
6164
+ }), cn = /* @__PURE__ */ s({
5540
6165
  abi: w,
5541
6166
  functionName: "grantRoles"
5542
- }), Tn = /* @__PURE__ */ s({
6167
+ }), bn = /* @__PURE__ */ s({
5543
6168
  abi: w,
5544
6169
  functionName: "revokeRoles"
5545
- }), fn = /* @__PURE__ */ s({
6170
+ }), Tn = /* @__PURE__ */ s({
5546
6171
  abi: w,
5547
6172
  functionName: "setAuthorized"
5548
- }), wn = /* @__PURE__ */ n({
5549
- abi: M,
6173
+ }), fn = /* @__PURE__ */ n({
6174
+ abi: I,
5550
6175
  functionName: "hashSignerData"
5551
- }), vn = /* @__PURE__ */ n({
5552
- abi: M,
6176
+ }), wn = /* @__PURE__ */ n({
6177
+ abi: I,
5553
6178
  functionName: "signers"
5554
- }), Mn = /* @__PURE__ */ p({
5555
- abi: M,
6179
+ }), vn = /* @__PURE__ */ r({
6180
+ abi: I,
5556
6181
  functionName: "setAuthorized"
5557
- }), In = /* @__PURE__ */ p({
5558
- abi: M,
6182
+ }), Mn = /* @__PURE__ */ r({
6183
+ abi: I,
5559
6184
  functionName: "setValidatorCaller"
5560
- }), hn = /* @__PURE__ */ p({
5561
- abi: M,
6185
+ }), In = /* @__PURE__ */ r({
6186
+ abi: I,
5562
6187
  functionName: "validate"
5563
- }), gn = /* @__PURE__ */ s({
5564
- abi: M,
6188
+ }), hn = /* @__PURE__ */ s({
6189
+ abi: I,
5565
6190
  functionName: "setAuthorized"
5566
- }), On = /* @__PURE__ */ s({
5567
- abi: M,
6191
+ }), gn = /* @__PURE__ */ s({
6192
+ abi: I,
5568
6193
  functionName: "setValidatorCaller"
5569
- }), Nn = /* @__PURE__ */ s({
5570
- abi: M,
6194
+ }), On = /* @__PURE__ */ s({
6195
+ abi: I,
5571
6196
  functionName: "validate"
5572
6197
  }), An = /* @__PURE__ */ n({
5573
6198
  abi: z,
5574
6199
  functionName: "isAllowed"
5575
- }), Cn = /* @__PURE__ */ n({
6200
+ }), Nn = /* @__PURE__ */ n({
5576
6201
  abi: z,
5577
6202
  functionName: "owner"
5578
- }), zn = /* @__PURE__ */ p(
6203
+ }), Rn = /* @__PURE__ */ r(
5579
6204
  { abi: z, functionName: "setAllowed" }
5580
- ), xn = /* @__PURE__ */ s({
6205
+ ), zn = /* @__PURE__ */ s({
5581
6206
  abi: z,
5582
6207
  functionName: "setAllowed"
5583
- }), Rn = /* @__PURE__ */ n({
6208
+ }), Cn = /* @__PURE__ */ n({
5584
6209
  abi: H,
5585
6210
  functionName: "isAllowed"
5586
- }), _n = /* @__PURE__ */ p({
6211
+ }), xn = /* @__PURE__ */ r({
5587
6212
  abi: H,
5588
6213
  functionName: "setDenied"
5589
- }), Hn = /* @__PURE__ */ s({
6214
+ }), _n = /* @__PURE__ */ s({
5590
6215
  abi: H,
5591
6216
  functionName: "setDenied"
5592
6217
  });
5593
6218
  export {
5594
- de as $,
5595
- z as A,
5596
- Be as B,
5597
- Le as C,
5598
- ke 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,
6219
+ Wt as $,
6220
+ $t as A,
6221
+ jt as B,
6222
+ Tn as C,
6223
+ Gt as D,
6224
+ bn as E,
6225
+ St as F,
6226
+ qe as G,
6227
+ Vt as H,
6228
+ oe as I,
6229
+ Le as J,
6230
+ Ue as K,
6231
+ Lt as L,
6232
+ pe as M,
6233
+ z as N,
6234
+ Ut as O,
5610
6235
  Zt as P,
5611
- Ut as Q,
6236
+ Ft as Q,
5612
6237
  v as R,
5613
- Pt as S,
6238
+ Bt as S,
5614
6239
  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,
6240
+ ke as U,
6241
+ fe as V,
6242
+ ce as W,
6243
+ we as X,
6244
+ Pe as Y,
6245
+ Fe as Z,
5621
6246
  me as _,
5622
- h as a,
6247
+ te as a,
5623
6248
  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,
6249
+ de as a0,
6250
+ Te as a1,
6251
+ Me as a2,
6252
+ ve as a3,
6253
+ be as a4,
6254
+ Nn as a5,
6255
+ An as a6,
5631
6256
  zn as a7,
5632
6257
  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,
5642
- sn as aI,
5643
- tn as aJ,
5644
- an as aK,
5645
- rn as aL,
6258
+ Cn as a9,
6259
+ Tt as aA,
6260
+ mt as aB,
6261
+ rt as aC,
6262
+ ft as aD,
6263
+ ct as aE,
6264
+ Jt as aF,
6265
+ Xt as aG,
6266
+ tn as aH,
6267
+ Yt as aI,
6268
+ an as aJ,
6269
+ en as aK,
6270
+ nn as aL,
5646
6271
  pn as aM,
5647
- en as aN,
5648
- vn as aO,
6272
+ sn as aN,
6273
+ Qt as aO,
5649
6274
  wn as aP,
5650
- Nn as aQ,
5651
- hn as aR,
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,
6275
+ fn as aQ,
6276
+ On as aR,
6277
+ In as aS,
6278
+ hn as aT,
6279
+ vn as aU,
6280
+ gn as aV,
6281
+ Mn as aW,
6282
+ At as aX,
6283
+ Rt as aY,
5659
6284
  ht as aZ,
5660
6285
  It as a_,
5661
6286
  _n as aa,
5662
- Qe as ab,
5663
- Ge as ac,
5664
- Ke as ad,
5665
- $e as ae,
5666
- Ve as af,
5667
- Ze as ag,
5668
- Xe as ah,
5669
- tt as ai,
5670
- Ye as aj,
5671
- nt as ak,
5672
- et as al,
5673
- Je as am,
6287
+ xn as ab,
6288
+ Ke as ac,
6289
+ $e as ad,
6290
+ Ye as ae,
6291
+ Ze as af,
6292
+ Se as ag,
6293
+ Ve as ah,
6294
+ Je as ai,
6295
+ et as aj,
6296
+ Xe as ak,
6297
+ tt as al,
6298
+ Qe as am,
5674
6299
  We as an,
5675
- ot as ao,
5676
- pt as ap,
6300
+ Ge as ao,
6301
+ yt as ap,
5677
6302
  st as aq,
5678
6303
  it as ar,
5679
6304
  at as as,
5680
- dt as at,
6305
+ nt as at,
5681
6306
  lt as au,
5682
- ut as av,
5683
- rt as aw,
5684
- Tt as ax,
5685
- mt as ay,
5686
- ft as az,
5687
- l as b,
5688
- Ct as b0,
6307
+ ot as av,
6308
+ ut as aw,
6309
+ pt as ax,
6310
+ bt as ay,
6311
+ dt as az,
6312
+ m as b,
6313
+ vt as b0,
5689
6314
  Nt as b1,
5690
- _t as b2,
6315
+ Ot as b2,
5691
6316
  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,
6317
+ zt as b4,
6318
+ _t as b5,
6319
+ Ct as b6,
6320
+ gt as b7,
6321
+ ue as b8,
6322
+ R as b9,
5698
6323
  Et as ba,
5699
- Ft as bb,
5700
- Dt as bc,
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,
5713
- Ne as bp,
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
- te as d,
5722
- bn as e,
5723
- cn as f,
5724
- m as g,
5725
- dn as h,
5726
- Tn as i,
5727
- mn as j,
5728
- un as k,
5729
- b as l,
5730
- on as m,
5731
- yn as n,
5732
- ln as o,
5733
- ue as p,
5734
- le as q,
5735
- oe as r,
5736
- Se as s,
6324
+ Ht as bb,
6325
+ kt as bc,
6326
+ Dt as bd,
6327
+ Q as be,
6328
+ wt as bf,
6329
+ He as bg,
6330
+ xe as bh,
6331
+ Ne as bi,
6332
+ _e as bj,
6333
+ Re as bk,
6334
+ he as bl,
6335
+ ge as bm,
6336
+ qt as bn,
6337
+ Ie as bo,
6338
+ Ee as bp,
6339
+ ze as bq,
6340
+ Oe as br,
6341
+ Ae as bs,
6342
+ De as bt,
6343
+ Ce as bu,
6344
+ re as c,
6345
+ b as d,
6346
+ mn as e,
6347
+ c as f,
6348
+ H as g,
6349
+ cn as h,
6350
+ M as i,
6351
+ dn as j,
6352
+ le as k,
6353
+ on as l,
6354
+ ln as m,
6355
+ je as n,
6356
+ yn as o,
6357
+ ye as p,
6358
+ Be as q,
6359
+ un as r,
6360
+ rn as s,
5737
6361
  se as t,
5738
- Pe as u,
5739
- je as v,
5740
- Ue as w,
5741
- M as x,
5742
- re as y,
6362
+ Kt as u,
6363
+ Pt as v,
6364
+ f as w,
6365
+ I as x,
6366
+ l as y,
5743
6367
  w as z
5744
6368
  };
5745
- //# sourceMappingURL=generated-B7VaSah4.js.map
6369
+ //# sourceMappingURL=generated-CKt2yCQd.js.map