@boostxyz/sdk 1.1.0-alpha.24 → 2.0.0-alpha.26

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 (134) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.js +7 -7
  3. package/dist/Actions/EventAction.cjs +1 -1
  4. package/dist/Actions/EventAction.cjs.map +1 -1
  5. package/dist/Actions/EventAction.d.ts +7 -7
  6. package/dist/Actions/EventAction.d.ts.map +1 -1
  7. package/dist/Actions/EventAction.js +153 -152
  8. package/dist/Actions/EventAction.js.map +1 -1
  9. package/dist/AllowLists/AllowList.cjs +1 -1
  10. package/dist/AllowLists/AllowList.js +10 -10
  11. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  12. package/dist/AllowLists/SimpleAllowList.js +10 -10
  13. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  14. package/dist/AllowLists/SimpleDenyList.js +3 -3
  15. package/dist/Auth/PassthroughAuth.cjs +1 -1
  16. package/dist/Auth/PassthroughAuth.js +1 -1
  17. package/dist/BoostCore.cjs +2 -1
  18. package/dist/BoostCore.cjs.map +1 -1
  19. package/dist/BoostCore.d.ts +564 -1
  20. package/dist/BoostCore.d.ts.map +1 -1
  21. package/dist/BoostCore.js +1322 -29
  22. package/dist/BoostCore.js.map +1 -1
  23. package/dist/BoostRegistry.cjs +1 -1
  24. package/dist/BoostRegistry.js +27 -27
  25. package/dist/Budgets/Budget.cjs +1 -1
  26. package/dist/Budgets/Budget.js +2 -2
  27. package/dist/Budgets/ManagedBudget.cjs +1 -1
  28. package/dist/Budgets/ManagedBudget.js +23 -23
  29. package/dist/Deployable/DeployableTarget.cjs +1 -1
  30. package/dist/Deployable/DeployableTarget.js +1 -1
  31. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  32. package/dist/Deployable/DeployableTargetWithRBAC.js +23 -23
  33. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  34. package/dist/Incentives/AllowListIncentive.js +8 -8
  35. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  36. package/dist/Incentives/CGDAIncentive.js +12 -12
  37. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  38. package/dist/Incentives/ERC20Incentive.js +16 -16
  39. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +2 -0
  40. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +1 -0
  41. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +42 -15
  42. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -1
  43. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +188 -0
  44. package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +1 -0
  45. package/dist/Incentives/ERC20VariableIncentive.cjs +2 -0
  46. package/dist/Incentives/ERC20VariableIncentive.cjs.map +1 -0
  47. package/dist/Incentives/ERC20VariableIncentive.d.ts +7 -5
  48. package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
  49. package/dist/{Incentive-rM5nKznp.js → Incentives/ERC20VariableIncentive.js} +42 -67
  50. package/dist/Incentives/ERC20VariableIncentive.js.map +1 -0
  51. package/dist/Incentives/Incentive.cjs +1 -1
  52. package/dist/Incentives/Incentive.cjs.map +1 -1
  53. package/dist/Incentives/Incentive.d.ts +552 -3
  54. package/dist/Incentives/Incentive.d.ts.map +1 -1
  55. package/dist/Incentives/Incentive.js +40 -16
  56. package/dist/Incentives/Incentive.js.map +1 -1
  57. package/dist/Incentives/PointsIncentive.cjs +1 -1
  58. package/dist/Incentives/PointsIncentive.js +8 -8
  59. package/dist/{SimpleDenyList-DNj5qDWM.cjs → SimpleDenyList-BdlpZdDz.cjs} +2 -2
  60. package/dist/{SimpleDenyList-DNj5qDWM.cjs.map → SimpleDenyList-BdlpZdDz.cjs.map} +1 -1
  61. package/dist/{SimpleDenyList-BDXpY74P.js → SimpleDenyList-D0cyVUVv.js} +16 -16
  62. package/dist/{SimpleDenyList-BDXpY74P.js.map → SimpleDenyList-D0cyVUVv.js.map} +1 -1
  63. package/dist/Validators/LimitedSignerValidator.cjs +2 -0
  64. package/dist/Validators/LimitedSignerValidator.cjs.map +1 -0
  65. package/dist/Validators/LimitedSignerValidator.d.ts +806 -0
  66. package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -0
  67. package/dist/Validators/LimitedSignerValidator.js +299 -0
  68. package/dist/Validators/LimitedSignerValidator.js.map +1 -0
  69. package/dist/Validators/SignerValidator.cjs +1 -1
  70. package/dist/Validators/SignerValidator.cjs.map +1 -1
  71. package/dist/Validators/SignerValidator.d.ts +2 -2
  72. package/dist/Validators/SignerValidator.d.ts.map +1 -1
  73. package/dist/Validators/SignerValidator.js +39 -41
  74. package/dist/Validators/SignerValidator.js.map +1 -1
  75. package/dist/Validators/Validator.cjs +1 -1
  76. package/dist/Validators/Validator.cjs.map +1 -1
  77. package/dist/Validators/Validator.d.ts +22 -2
  78. package/dist/Validators/Validator.d.ts.map +1 -1
  79. package/dist/Validators/Validator.js +26 -17
  80. package/dist/Validators/Validator.js.map +1 -1
  81. package/dist/{componentInterfaces-BBCFkrZv.js → componentInterfaces-bIVo8eyA.js} +9 -9
  82. package/dist/componentInterfaces-bIVo8eyA.js.map +1 -0
  83. package/dist/{deployments-fJsWblwS.js → deployments-Ccx1MtoK.js} +5 -5
  84. package/dist/deployments-Ccx1MtoK.js.map +1 -0
  85. package/dist/{generated-CsNyWPKA.js → generated-BAKNSOjJ.js} +661 -381
  86. package/dist/generated-BAKNSOjJ.js.map +1 -0
  87. package/dist/generated-Cqn4wS01.cjs +3 -0
  88. package/dist/generated-Cqn4wS01.cjs.map +1 -0
  89. package/dist/index.cjs +1 -1
  90. package/dist/index.d.ts +1 -0
  91. package/dist/index.d.ts.map +1 -1
  92. package/dist/index.js +150 -138
  93. package/dist/index.js.map +1 -1
  94. package/dist/utils.cjs +1 -1
  95. package/dist/utils.cjs.map +1 -1
  96. package/dist/utils.d.ts +10 -0
  97. package/dist/utils.d.ts.map +1 -1
  98. package/dist/utils.js +27 -26
  99. package/dist/utils.js.map +1 -1
  100. package/package.json +21 -5
  101. package/src/Actions/EventAction.ts +29 -27
  102. package/src/BoostCore.test.ts +3 -3
  103. package/src/BoostCore.ts +51 -5
  104. package/src/Incentives/AllowListIncentive.test.ts +19 -21
  105. package/src/Incentives/CGDAIncentive.test.ts +20 -22
  106. package/src/Incentives/ERC1155Incentive.test.ts +14 -15
  107. package/src/Incentives/ERC20Incentive.test.ts +17 -19
  108. package/src/Incentives/ERC20VariableCriteriaIncentive.test.ts +62 -10
  109. package/src/Incentives/ERC20VariableCriteriaIncentive.ts +79 -37
  110. package/src/Incentives/ERC20VariableIncentive.test.ts +16 -18
  111. package/src/Incentives/ERC20VariableIncentive.ts +16 -8
  112. package/src/Incentives/Incentive.ts +4 -1
  113. package/src/Incentives/PointsIncentive.test.ts +3 -5
  114. package/src/Validators/LimitedSignerValidator.test.ts +223 -0
  115. package/src/Validators/LimitedSignerValidator.ts +707 -0
  116. package/src/Validators/SignerValidator.test.ts +21 -22
  117. package/src/Validators/SignerValidator.ts +3 -4
  118. package/src/Validators/Validator.test.ts +7 -1
  119. package/src/Validators/Validator.ts +30 -3
  120. package/src/index.test.ts +2 -0
  121. package/src/index.ts +1 -0
  122. package/src/utils.ts +11 -0
  123. package/dist/BoostCore-Btl5BdAs.cjs +0 -3
  124. package/dist/BoostCore-Btl5BdAs.cjs.map +0 -1
  125. package/dist/BoostCore-CD56zbYX.js +0 -2641
  126. package/dist/BoostCore-CD56zbYX.js.map +0 -1
  127. package/dist/Incentive-CcnOIc8L.cjs +0 -2
  128. package/dist/Incentive-CcnOIc8L.cjs.map +0 -1
  129. package/dist/Incentive-rM5nKznp.js.map +0 -1
  130. package/dist/componentInterfaces-BBCFkrZv.js.map +0 -1
  131. package/dist/deployments-fJsWblwS.js.map +0 -1
  132. package/dist/generated-CsNyWPKA.js.map +0 -1
  133. package/dist/generated-DHerxf1y.cjs +0 -3
  134. package/dist/generated-DHerxf1y.cjs.map +0 -1
@@ -1,8 +1,8 @@
1
- import { simulateContract as U, readContract as P, writeContract as S } from "viem/actions";
2
- import { createClient as j, custom as V } from "viem";
3
- import { parseAccount as Z, getAddress as $ } from "viem/utils";
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((f) => f.id === (e == null ? void 0 : e.chainId)), r = t.state.status;
1
+ import { simulateContract as P, readContract as S, writeContract as j } from "viem/actions";
2
+ import { createClient as V, custom as $ } from "viem";
3
+ import { parseAccount as Z, getAddress as G } from "viem/utils";
4
+ function z(n) {
5
+ const a = n.state.current, e = n.state.connections.get(a), i = e == null ? void 0 : e.accounts, u = i == null ? void 0 : i[0], y = n.chains.find((f) => f.id === (e == null ? void 0 : e.chainId)), r = n.state.status;
6
6
  switch (r) {
7
7
  case "connected":
8
8
  return {
@@ -58,32 +58,32 @@ function N(t) {
58
58
  };
59
59
  }
60
60
  }
61
- function x(t) {
62
- return t.state.chainId;
61
+ function _(n) {
62
+ return n.state.chainId;
63
63
  }
64
- function _(t, a, e) {
65
- const i = t[a.name];
64
+ function H(n, a, e) {
65
+ const i = n[a.name];
66
66
  if (typeof i == "function")
67
67
  return i;
68
- const u = t[e];
69
- return typeof u == "function" ? u : (y) => a(t, y);
68
+ const u = n[e];
69
+ return typeof u == "function" ? u : (y) => a(n, y);
70
70
  }
71
- const G = "2.13.8", W = () => `@wagmi/core@${G}`;
72
- var k = function(t, a, e, i) {
71
+ const W = "2.13.8", Q = () => `@wagmi/core@${W}`;
72
+ var k = function(n, a, e, i) {
73
73
  if (e === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
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
- return e === "m" ? i : e === "a" ? i.call(t) : i ? i.value : a.get(t);
76
- }, A, q;
77
- class h extends Error {
74
+ if (typeof a == "function" ? n !== a || !i : !a.has(n)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
75
+ return e === "m" ? i : e === "a" ? i.call(n) : i ? i.value : a.get(n);
76
+ }, N, B;
77
+ class g extends Error {
78
78
  get docsBaseUrl() {
79
79
  return "https://wagmi.sh/core";
80
80
  }
81
81
  get version() {
82
- return W();
82
+ return Q();
83
83
  }
84
84
  constructor(a, e = {}) {
85
85
  var i;
86
- super(), A.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,
@@ -109,7 +109,7 @@ class h extends Error {
109
109
  writable: !0,
110
110
  value: "WagmiCoreError"
111
111
  });
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;
112
+ const u = e.cause instanceof g ? e.cause.details : (i = e.cause) != null && i.message ? e.cause.message : e.details, y = e.cause instanceof g && e.cause.docsPath || e.docsPath;
113
113
  this.message = [
114
114
  a || "An error occurred.",
115
115
  "",
@@ -123,13 +123,13 @@ class h extends Error {
123
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 k(this, A, "m", q).call(this, this, a);
126
+ return k(this, N, "m", B).call(this, this, a);
127
127
  }
128
128
  }
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;
129
+ N = /* @__PURE__ */ new WeakSet(), B = function n(a, e) {
130
+ return e != null && e(a) ? a : a.cause ? k(this, N, "m", n).call(this, a.cause, e) : a;
131
131
  };
132
- class K extends h {
132
+ class Y extends g {
133
133
  constructor() {
134
134
  super("Connector not connected."), Object.defineProperty(this, "name", {
135
135
  enumerable: !0,
@@ -139,7 +139,7 @@ class K extends h {
139
139
  });
140
140
  }
141
141
  }
142
- class Q extends h {
142
+ class J extends g {
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 h {
149
149
  });
150
150
  }
151
151
  }
152
- class Y extends h {
152
+ class K extends g {
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 Y extends h {
164
164
  });
165
165
  }
166
166
  }
167
- class J extends h {
167
+ class X extends g {
168
168
  constructor({ connector: a }) {
169
169
  super(`Connector "${a.name}" unavailable while reconnecting.`, {
170
170
  details: [
@@ -180,28 +180,28 @@ class J extends h {
180
180
  });
181
181
  }
182
182
  }
183
- async function F(t, a = {}) {
183
+ async function F(n, a = {}) {
184
184
  let e;
185
185
  if (a.connector) {
186
186
  const { connector: o } = a;
187
- if (t.state.status === "reconnecting" && !o.getAccounts && !o.getChainId)
188
- throw new J({ connector: o });
189
- const [O, B] = await Promise.all([
187
+ if (n.state.status === "reconnecting" && !o.getAccounts && !o.getChainId)
188
+ throw new X({ connector: o });
189
+ const [A, U] = await Promise.all([
190
190
  o.getAccounts(),
191
191
  o.getChainId()
192
192
  ]);
193
193
  e = {
194
- accounts: O,
195
- chainId: B,
194
+ accounts: A,
195
+ chainId: U,
196
196
  connector: o
197
197
  };
198
198
  } else
199
- e = t.state.connections.get(t.state.current);
199
+ e = n.state.connections.get(n.state.current);
200
200
  if (!e)
201
- throw new K();
201
+ throw new Y();
202
202
  const i = a.chainId ?? e.chainId, u = await e.connector.getChainId();
203
203
  if (u !== e.chainId)
204
- throw new Y({
204
+ throw new K({
205
205
  connectionChainId: e.chainId,
206
206
  connectorChainId: u
207
207
  });
@@ -209,112 +209,112 @@ async function F(t, a = {}) {
209
209
  if (y.getClient)
210
210
  return y.getClient({ chainId: i });
211
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({
212
+ if (r.address = G(r.address), a.account && !e.accounts.some((o) => o.toLowerCase() === r.address.toLowerCase()))
213
+ throw new J({
214
214
  address: r.address,
215
215
  connector: y
216
216
  });
217
- const f = t.chains.find((o) => o.id === i), g = await e.connector.getProvider({ chainId: i });
218
- return j({
217
+ const f = n.chains.find((o) => o.id === i), O = await e.connector.getProvider({ chainId: i });
218
+ return V({
219
219
  account: r,
220
220
  chain: f,
221
221
  name: "Connector Client",
222
- transport: (o) => V(g)({ ...o, retryCount: 0 })
222
+ transport: (o) => $(O)({ ...o, retryCount: 0 })
223
223
  });
224
224
  }
225
- async function C(t, a) {
225
+ async function x(n, a) {
226
226
  const { abi: e, chainId: i, connector: u, ...y } = a;
227
227
  let r;
228
- a.account ? r = a.account : r = (await F(t, {
228
+ a.account ? r = a.account : r = (await F(n, {
229
229
  chainId: i,
230
230
  connector: u
231
231
  })).account;
232
- const f = t.getClient({ chainId: i }), g = _(f, U, "simulateContract"), { result: o, request: O } = await g({ ...y, abi: e, account: r });
232
+ const f = n.getClient({ chainId: i }), O = H(f, P, "simulateContract"), { result: o, request: A } = await O({ ...y, abi: e, account: r });
233
233
  return {
234
234
  chainId: f.chain.id,
235
235
  result: o,
236
- request: { __mode: "prepared", ...O, chainId: i }
236
+ request: { __mode: "prepared", ...A, chainId: i }
237
237
  };
238
238
  }
239
- function s(t) {
240
- return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
239
+ function s(n) {
240
+ return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
241
241
  var i;
242
- const u = x(a), y = N(a), r = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
243
- return C(a, {
242
+ const u = _(a), y = z(a), r = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
243
+ return x(a, {
244
244
  ...e,
245
- ...t.functionName ? { functionName: t.functionName } : {},
246
- address: (i = t.address) == null ? void 0 : i[r],
247
- abi: t.abi
245
+ ...n.functionName ? { functionName: n.functionName } : {},
246
+ address: (i = n.address) == null ? void 0 : i[r],
247
+ abi: n.abi
248
248
  });
249
- } : (a, e) => C(a, {
249
+ } : (a, e) => x(a, {
250
250
  ...e,
251
- ...t.address ? { address: t.address } : {},
252
- ...t.functionName ? { functionName: t.functionName } : {},
253
- abi: t.abi
251
+ ...n.address ? { address: n.address } : {},
252
+ ...n.functionName ? { functionName: n.functionName } : {},
253
+ abi: n.abi
254
254
  });
255
255
  }
256
- function E(t, a) {
257
- const { chainId: e, ...i } = a, u = t.getClient({ chainId: e });
258
- return _(u, P, "readContract")(i);
256
+ function D(n, a) {
257
+ const { chainId: e, ...i } = a, u = n.getClient({ chainId: e });
258
+ return H(u, S, "readContract")(i);
259
259
  }
260
- function n(t) {
261
- return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
260
+ function t(n) {
261
+ return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
262
262
  var i;
263
- const u = x(a), y = N(a), r = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
264
- return E(a, {
263
+ const u = _(a), y = z(a), r = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
264
+ return D(a, {
265
265
  ...e,
266
- ...t.functionName ? { functionName: t.functionName } : {},
267
- address: (i = t.address) == null ? void 0 : i[r],
268
- abi: t.abi
266
+ ...n.functionName ? { functionName: n.functionName } : {},
267
+ address: (i = n.address) == null ? void 0 : i[r],
268
+ abi: n.abi
269
269
  });
270
- } : (a, e) => E(a, {
270
+ } : (a, e) => D(a, {
271
271
  ...e,
272
- ...t.address ? { address: t.address } : {},
273
- ...t.functionName ? { functionName: t.functionName } : {},
274
- abi: t.abi
272
+ ...n.address ? { address: n.address } : {},
273
+ ...n.functionName ? { functionName: n.functionName } : {},
274
+ abi: n.abi
275
275
  });
276
276
  }
277
- async function D(t, a) {
277
+ async function q(n, a) {
278
278
  const { account: e, chainId: i, connector: u, __mode: y, ...r } = a;
279
279
  let f;
280
- typeof e == "object" && e.type === "local" ? f = t.getClient({ chainId: i }) : f = await F(t, { account: e, chainId: i, connector: u });
281
- const { connector: g } = N(t);
280
+ typeof e == "object" && e.type === "local" ? f = n.getClient({ chainId: i }) : f = await F(n, { account: e, chainId: i, connector: u });
281
+ const { connector: O } = z(n);
282
282
  let o;
283
- if (y === "prepared" || g != null && g.supportsSimulation)
283
+ if (y === "prepared" || O != null && O.supportsSimulation)
284
284
  o = r;
285
285
  else {
286
- const { request: O } = await C(t, {
286
+ const { request: A } = await x(n, {
287
287
  ...r,
288
288
  account: e,
289
289
  chainId: i
290
290
  });
291
- o = O;
291
+ o = A;
292
292
  }
293
- return await _(f, S, "writeContract")({
293
+ return await H(f, j, "writeContract")({
294
294
  ...o,
295
295
  ...e ? { account: e } : {},
296
296
  chain: i ? { id: i } : null
297
297
  });
298
298
  }
299
- function p(t) {
300
- return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
299
+ function p(n) {
300
+ return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
301
301
  var i;
302
- const u = x(a), y = N(a);
302
+ const u = _(a), y = z(a);
303
303
  let r;
304
- return e.chainId ? r = e.chainId : e.account && e.account === y.address || e.account === void 0 ? r = y.chainId : r = u, D(a, {
304
+ return e.chainId ? r = e.chainId : e.account && e.account === y.address || e.account === void 0 ? r = y.chainId : r = u, q(a, {
305
305
  ...e,
306
- ...t.functionName ? { functionName: t.functionName } : {},
307
- address: r ? (i = t.address) == null ? void 0 : i[r] : void 0,
308
- abi: t.abi
306
+ ...n.functionName ? { functionName: n.functionName } : {},
307
+ address: r ? (i = n.address) == null ? void 0 : i[r] : void 0,
308
+ abi: n.abi
309
309
  });
310
- } : (a, e) => D(a, {
310
+ } : (a, e) => q(a, {
311
311
  ...e,
312
- ...t.address ? { address: t.address } : {},
313
- ...t.functionName ? { functionName: t.functionName } : {},
314
- abi: t.abi
312
+ ...n.address ? { address: n.address } : {},
313
+ ...n.functionName ? { functionName: n.functionName } : {},
314
+ abi: n.abi
315
315
  });
316
316
  }
317
- const se = [
317
+ const pe = [
318
318
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
319
319
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
320
320
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -416,7 +416,7 @@ const se = [
416
416
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
417
417
  stateMutability: "view"
418
418
  }
419
- ], pe = [
419
+ ], re = [
420
420
  { type: "error", inputs: [], name: "AlreadyInitialized" },
421
421
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
422
422
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
@@ -688,7 +688,7 @@ const se = [
688
688
  outputs: [],
689
689
  stateMutability: "payable"
690
690
  }
691
- ], re = [
691
+ ], ue = [
692
692
  { type: "error", inputs: [], name: "AlreadyInitialized" },
693
693
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
694
694
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
@@ -1111,7 +1111,7 @@ const se = [
1111
1111
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1112
1112
  stateMutability: "view"
1113
1113
  }
1114
- ], ue = [
1114
+ ], ye = [
1115
1115
  { type: "error", inputs: [], name: "ClaimFailed" },
1116
1116
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
1117
1117
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
@@ -1232,7 +1232,7 @@ const se = [
1232
1232
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1233
1233
  stateMutability: "view"
1234
1234
  }
1235
- ], ye = [
1235
+ ], oe = [
1236
1236
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
1237
1237
  { type: "error", inputs: [], name: "InitializerNotImplemented" },
1238
1238
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -3038,7 +3038,7 @@ const se = [
3038
3038
  outputs: [],
3039
3039
  stateMutability: "payable"
3040
3040
  }
3041
- ], X = [
3041
+ ], ee = [
3042
3042
  { type: "error", inputs: [], name: "AlreadyInitialized" },
3043
3043
  { type: "error", inputs: [], name: "ClaimFailed" },
3044
3044
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
@@ -4047,7 +4047,7 @@ const se = [
4047
4047
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
4048
4048
  stateMutability: "view"
4049
4049
  }
4050
- ], ee = [
4050
+ ], te = [
4051
4051
  {
4052
4052
  type: "function",
4053
4053
  inputs: [{ name: "addr", internalType: "address", type: "address" }],
@@ -4055,6 +4055,253 @@ const se = [
4055
4055
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
4056
4056
  stateMutability: "view"
4057
4057
  }
4058
+ ], h = [
4059
+ { type: "error", inputs: [], name: "AlreadyInitialized" },
4060
+ { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
4061
+ { type: "error", inputs: [], name: "InitializerNotImplemented" },
4062
+ {
4063
+ type: "error",
4064
+ inputs: [
4065
+ { name: "available", internalType: "uint8", type: "uint8" },
4066
+ { name: "id", internalType: "uint256", type: "uint256" }
4067
+ ],
4068
+ name: "InvalidIncentive"
4069
+ },
4070
+ { type: "error", inputs: [], name: "InvalidInitialization" },
4071
+ { type: "error", inputs: [], name: "InvalidInitializationData" },
4072
+ { type: "error", inputs: [], name: "LengthMismatch" },
4073
+ {
4074
+ type: "error",
4075
+ inputs: [{ name: "claimant", internalType: "address", type: "address" }],
4076
+ name: "MaximumClaimed"
4077
+ },
4078
+ { type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
4079
+ { type: "error", inputs: [], name: "NoHandoverRequest" },
4080
+ { type: "error", inputs: [], name: "NotInitializing" },
4081
+ { type: "error", inputs: [], name: "Unauthorized" },
4082
+ { type: "error", inputs: [], name: "Unauthorized" },
4083
+ {
4084
+ type: "event",
4085
+ anonymous: !1,
4086
+ inputs: [
4087
+ {
4088
+ name: "version",
4089
+ internalType: "uint64",
4090
+ type: "uint64",
4091
+ indexed: !1
4092
+ }
4093
+ ],
4094
+ name: "Initialized"
4095
+ },
4096
+ {
4097
+ type: "event",
4098
+ anonymous: !1,
4099
+ inputs: [
4100
+ {
4101
+ name: "pendingOwner",
4102
+ internalType: "address",
4103
+ type: "address",
4104
+ indexed: !0
4105
+ }
4106
+ ],
4107
+ name: "OwnershipHandoverCanceled"
4108
+ },
4109
+ {
4110
+ type: "event",
4111
+ anonymous: !1,
4112
+ inputs: [
4113
+ {
4114
+ name: "pendingOwner",
4115
+ internalType: "address",
4116
+ type: "address",
4117
+ indexed: !0
4118
+ }
4119
+ ],
4120
+ name: "OwnershipHandoverRequested"
4121
+ },
4122
+ {
4123
+ type: "event",
4124
+ anonymous: !1,
4125
+ inputs: [
4126
+ {
4127
+ name: "oldOwner",
4128
+ internalType: "address",
4129
+ type: "address",
4130
+ indexed: !0
4131
+ },
4132
+ {
4133
+ name: "newOwner",
4134
+ internalType: "address",
4135
+ type: "address",
4136
+ indexed: !0
4137
+ }
4138
+ ],
4139
+ name: "OwnershipTransferred"
4140
+ },
4141
+ {
4142
+ type: "function",
4143
+ inputs: [],
4144
+ name: "cancelOwnershipHandover",
4145
+ outputs: [],
4146
+ stateMutability: "payable"
4147
+ },
4148
+ {
4149
+ type: "function",
4150
+ inputs: [
4151
+ { name: "pendingOwner", internalType: "address", type: "address" }
4152
+ ],
4153
+ name: "completeOwnershipHandover",
4154
+ outputs: [],
4155
+ stateMutability: "payable"
4156
+ },
4157
+ {
4158
+ type: "function",
4159
+ inputs: [],
4160
+ name: "eip712Domain",
4161
+ outputs: [
4162
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
4163
+ { name: "name", internalType: "string", type: "string" },
4164
+ { name: "version", internalType: "string", type: "string" },
4165
+ { name: "chainId", internalType: "uint256", type: "uint256" },
4166
+ { name: "verifyingContract", internalType: "address", type: "address" },
4167
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
4168
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
4169
+ ],
4170
+ stateMutability: "view"
4171
+ },
4172
+ {
4173
+ type: "function",
4174
+ inputs: [],
4175
+ name: "getComponentInterface",
4176
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
4177
+ stateMutability: "pure"
4178
+ },
4179
+ {
4180
+ type: "function",
4181
+ inputs: [
4182
+ { name: "boostId", internalType: "uint256", type: "uint256" },
4183
+ { name: "incentiveId", internalType: "uint256", type: "uint256" },
4184
+ { name: "claimant", internalType: "address", type: "address" }
4185
+ ],
4186
+ name: "hashClaimantData",
4187
+ outputs: [{ name: "hash", internalType: "bytes32", type: "bytes32" }],
4188
+ stateMutability: "pure"
4189
+ },
4190
+ {
4191
+ type: "function",
4192
+ inputs: [
4193
+ { name: "boostId", internalType: "uint256", type: "uint256" },
4194
+ { name: "incentiveQuantity", internalType: "uint8", type: "uint8" },
4195
+ { name: "claimant", internalType: "address", type: "address" },
4196
+ { name: "incentiveData", internalType: "bytes", type: "bytes" }
4197
+ ],
4198
+ name: "hashSignerData",
4199
+ outputs: [
4200
+ { name: "hashedSignerData", internalType: "bytes32", type: "bytes32" }
4201
+ ],
4202
+ stateMutability: "view"
4203
+ },
4204
+ {
4205
+ type: "function",
4206
+ inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
4207
+ name: "initialize",
4208
+ outputs: [],
4209
+ stateMutability: "nonpayable"
4210
+ },
4211
+ {
4212
+ type: "function",
4213
+ inputs: [],
4214
+ name: "maxClaimCount",
4215
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4216
+ stateMutability: "view"
4217
+ },
4218
+ {
4219
+ type: "function",
4220
+ inputs: [],
4221
+ name: "owner",
4222
+ outputs: [{ name: "result", internalType: "address", type: "address" }],
4223
+ stateMutability: "view"
4224
+ },
4225
+ {
4226
+ type: "function",
4227
+ inputs: [
4228
+ { name: "pendingOwner", internalType: "address", type: "address" }
4229
+ ],
4230
+ name: "ownershipHandoverExpiresAt",
4231
+ outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
4232
+ stateMutability: "view"
4233
+ },
4234
+ {
4235
+ type: "function",
4236
+ inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
4237
+ name: "quantityClaimed",
4238
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4239
+ stateMutability: "view"
4240
+ },
4241
+ {
4242
+ type: "function",
4243
+ inputs: [],
4244
+ name: "renounceOwnership",
4245
+ outputs: [],
4246
+ stateMutability: "payable"
4247
+ },
4248
+ {
4249
+ type: "function",
4250
+ inputs: [],
4251
+ name: "requestOwnershipHandover",
4252
+ outputs: [],
4253
+ stateMutability: "payable"
4254
+ },
4255
+ {
4256
+ type: "function",
4257
+ inputs: [
4258
+ { name: "signers_", internalType: "address[]", type: "address[]" },
4259
+ { name: "authorized_", internalType: "bool[]", type: "bool[]" }
4260
+ ],
4261
+ name: "setAuthorized",
4262
+ outputs: [],
4263
+ stateMutability: "nonpayable"
4264
+ },
4265
+ {
4266
+ type: "function",
4267
+ inputs: [{ name: "newCaller", internalType: "address", type: "address" }],
4268
+ name: "setValidatorCaller",
4269
+ outputs: [],
4270
+ stateMutability: "nonpayable"
4271
+ },
4272
+ {
4273
+ type: "function",
4274
+ inputs: [{ name: "", internalType: "address", type: "address" }],
4275
+ name: "signers",
4276
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
4277
+ stateMutability: "view"
4278
+ },
4279
+ {
4280
+ type: "function",
4281
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
4282
+ name: "supportsInterface",
4283
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
4284
+ stateMutability: "view"
4285
+ },
4286
+ {
4287
+ type: "function",
4288
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
4289
+ name: "transferOwnership",
4290
+ outputs: [],
4291
+ stateMutability: "payable"
4292
+ },
4293
+ {
4294
+ type: "function",
4295
+ inputs: [
4296
+ { name: "boostId", internalType: "uint256", type: "uint256" },
4297
+ { name: "incentiveId", internalType: "uint256", type: "uint256" },
4298
+ { name: "claimant", internalType: "address", type: "address" },
4299
+ { name: "claimData", internalType: "bytes", type: "bytes" }
4300
+ ],
4301
+ name: "validate",
4302
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
4303
+ stateMutability: "nonpayable"
4304
+ }
4058
4305
  ], T = [
4059
4306
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
4060
4307
  { type: "error", inputs: [], name: "AlreadyInitialized" },
@@ -4496,7 +4743,7 @@ const se = [
4496
4743
  stateMutability: "payable"
4497
4744
  },
4498
4745
  { type: "receive", stateMutability: "payable" }
4499
- ], te = [
4746
+ ], ne = [
4500
4747
  {
4501
4748
  type: "function",
4502
4749
  inputs: [{ name: "user", internalType: "address", type: "address" }],
@@ -5268,7 +5515,7 @@ const se = [
5268
5515
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
5269
5516
  stateMutability: "nonpayable"
5270
5517
  }
5271
- ], z = [
5518
+ ], C = [
5272
5519
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
5273
5520
  { type: "error", inputs: [], name: "AlreadyInitialized" },
5274
5521
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
@@ -5552,7 +5799,7 @@ const se = [
5552
5799
  outputs: [],
5553
5800
  stateMutability: "payable"
5554
5801
  }
5555
- ], H = [
5802
+ ], E = [
5556
5803
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
5557
5804
  { type: "error", inputs: [], name: "AlreadyInitialized" },
5558
5805
  { type: "error", inputs: [], name: "CloneAlreadyInitialized" },
@@ -5836,549 +6083,582 @@ const se = [
5836
6083
  outputs: [],
5837
6084
  stateMutability: "payable"
5838
6085
  }
5839
- ], oe = /* @__PURE__ */ n({
6086
+ ], le = /* @__PURE__ */ t({
5840
6087
  abi: L,
5841
6088
  functionName: "getComponentInterface"
5842
- }), le = /* @__PURE__ */ n(
6089
+ }), de = /* @__PURE__ */ t(
5843
6090
  { abi: L, functionName: "supportsInterface" }
5844
- ), de = /* @__PURE__ */ n(
6091
+ ), me = /* @__PURE__ */ t(
5845
6092
  { abi: v, functionName: "allowList" }
5846
- ), me = /* @__PURE__ */ n({
6093
+ ), ce = /* @__PURE__ */ t({
5847
6094
  abi: v,
5848
6095
  functionName: "claimed"
5849
- }), ce = /* @__PURE__ */ n({
6096
+ }), be = /* @__PURE__ */ t({
5850
6097
  abi: v,
5851
6098
  functionName: "claims"
5852
- }), be = /* @__PURE__ */ n({
6099
+ }), Te = /* @__PURE__ */ t({
5853
6100
  abi: v,
5854
6101
  functionName: "isClaimable"
5855
- }), Te = /* @__PURE__ */ n({
6102
+ }), fe = /* @__PURE__ */ t({
5856
6103
  abi: v,
5857
6104
  functionName: "limit"
5858
- }), fe = /* @__PURE__ */ n({
6105
+ }), we = /* @__PURE__ */ t({
5859
6106
  abi: v,
5860
6107
  functionName: "owner"
5861
- }), we = /* @__PURE__ */ n({
6108
+ }), ve = /* @__PURE__ */ t({
5862
6109
  abi: v,
5863
6110
  functionName: "reward"
5864
- }), ve = /* @__PURE__ */ p({
6111
+ }), Me = /* @__PURE__ */ p({
5865
6112
  abi: v,
5866
6113
  functionName: "claim"
5867
- }), Me = /* @__PURE__ */ s({
6114
+ }), he = /* @__PURE__ */ s({
5868
6115
  abi: v,
5869
6116
  functionName: "claim"
5870
- }), Ie = /* @__PURE__ */ n({
6117
+ }), Ie = /* @__PURE__ */ t({
5871
6118
  abi: d,
5872
6119
  functionName: "createBoostAuth"
5873
- }), he = /* @__PURE__ */ n({
6120
+ }), ge = /* @__PURE__ */ t({
5874
6121
  abi: d,
5875
6122
  functionName: "getBoost"
5876
- }), ge = /* @__PURE__ */ n({
6123
+ }), Oe = /* @__PURE__ */ t({
5877
6124
  abi: d,
5878
6125
  functionName: "getBoostCount"
5879
- }), Oe = /* @__PURE__ */ n({
6126
+ }), Ae = /* @__PURE__ */ t({
5880
6127
  abi: d,
5881
6128
  functionName: "protocolFee"
5882
- }), Ae = /* @__PURE__ */ n({
6129
+ }), Ne = /* @__PURE__ */ t({
5883
6130
  abi: d,
5884
6131
  functionName: "protocolFeeReceiver"
5885
- }), Ne = /* @__PURE__ */ p({
6132
+ }), ze = /* @__PURE__ */ p({
5886
6133
  abi: d,
5887
6134
  functionName: "claimIncentive"
5888
6135
  }), Re = /* @__PURE__ */ p({
5889
6136
  abi: d,
5890
6137
  functionName: "claimIncentiveFor"
5891
- }), ze = /* @__PURE__ */ p({
6138
+ }), Ce = /* @__PURE__ */ p({
5892
6139
  abi: d,
5893
6140
  functionName: "setCreateBoostAuth"
5894
- }), Ce = /* @__PURE__ */ p({
6141
+ }), xe = /* @__PURE__ */ p({
5895
6142
  abi: d,
5896
6143
  functionName: "setProtocolFeeReceiver"
5897
- }), xe = /* @__PURE__ */ s({
6144
+ }), _e = /* @__PURE__ */ s({
5898
6145
  abi: d,
5899
6146
  functionName: "claimIncentive"
5900
- }), _e = /* @__PURE__ */ s({
6147
+ }), He = /* @__PURE__ */ s({
5901
6148
  abi: d,
5902
6149
  functionName: "claimIncentiveFor"
5903
- }), He = /* @__PURE__ */ s({
6150
+ }), Ee = /* @__PURE__ */ s({
5904
6151
  abi: d,
5905
6152
  functionName: "createBoost"
5906
- }), Ee = /* @__PURE__ */ s({
6153
+ }), De = /* @__PURE__ */ s({
5907
6154
  abi: d,
5908
6155
  functionName: "setCreateBoostAuth"
5909
- }), De = /* @__PURE__ */ s({
6156
+ }), qe = /* @__PURE__ */ s({
5910
6157
  abi: d,
5911
6158
  functionName: "setProtocolFeeReceiver"
5912
- }), ke = /* @__PURE__ */ n({
6159
+ }), ke = /* @__PURE__ */ t({
5913
6160
  abi: M,
5914
6161
  functionName: "getBaseImplementation"
5915
- }), qe = /* @__PURE__ */ n({
6162
+ }), Be = /* @__PURE__ */ t({
5916
6163
  abi: M,
5917
6164
  functionName: "getClone"
5918
- }), Fe = /* @__PURE__ */ n({
6165
+ }), Fe = /* @__PURE__ */ t({
5919
6166
  abi: M,
5920
6167
  functionName: "getCloneIdentifier"
5921
- }), Le = /* @__PURE__ */ n({
6168
+ }), Le = /* @__PURE__ */ t({
5922
6169
  abi: M,
5923
6170
  functionName: "getClones"
5924
- }), Be = /* @__PURE__ */ p({
6171
+ }), Ue = /* @__PURE__ */ p({
5925
6172
  abi: M,
5926
6173
  functionName: "deployClone"
5927
- }), Ue = /* @__PURE__ */ p({
6174
+ }), Pe = /* @__PURE__ */ p({
5928
6175
  abi: M,
5929
6176
  functionName: "register"
5930
- }), Pe = /* @__PURE__ */ s({
6177
+ }), Se = /* @__PURE__ */ s({
5931
6178
  abi: M,
5932
6179
  functionName: "deployClone"
5933
- }), Se = /* @__PURE__ */ s({
6180
+ }), je = /* @__PURE__ */ s({
5934
6181
  abi: M,
5935
6182
  functionName: "register"
5936
- }), je = /* @__PURE__ */ n({
6183
+ }), Ve = /* @__PURE__ */ t({
5937
6184
  abi: c,
5938
6185
  functionName: "asset"
5939
- }), Ve = /* @__PURE__ */ n({
6186
+ }), $e = /* @__PURE__ */ t({
5940
6187
  abi: c,
5941
6188
  functionName: "cgdaParams"
5942
- }), Ze = /* @__PURE__ */ n({
6189
+ }), Ze = /* @__PURE__ */ t({
5943
6190
  abi: c,
5944
6191
  functionName: "claimed"
5945
- }), $e = /* @__PURE__ */ n({
6192
+ }), Ge = /* @__PURE__ */ t({
5946
6193
  abi: c,
5947
6194
  functionName: "claims"
5948
- }), Ge = /* @__PURE__ */ n({
6195
+ }), We = /* @__PURE__ */ t({
5949
6196
  abi: c,
5950
6197
  functionName: "currentReward"
5951
- }), We = /* @__PURE__ */ n({
6198
+ }), Qe = /* @__PURE__ */ t({
5952
6199
  abi: c,
5953
6200
  functionName: "isClaimable"
5954
- }), Ke = /* @__PURE__ */ n({
6201
+ }), Ye = /* @__PURE__ */ t({
5955
6202
  abi: c,
5956
6203
  functionName: "owner"
5957
- }), Qe = /* @__PURE__ */ n({
6204
+ }), Je = /* @__PURE__ */ t({
5958
6205
  abi: c,
5959
6206
  functionName: "reward"
5960
- }), Ye = /* @__PURE__ */ n({
6207
+ }), Ke = /* @__PURE__ */ t({
5961
6208
  abi: c,
5962
6209
  functionName: "totalBudget"
5963
- }), Je = /* @__PURE__ */ p({
6210
+ }), Xe = /* @__PURE__ */ p({
5964
6211
  abi: c,
5965
6212
  functionName: "claim"
5966
- }), Xe = /* @__PURE__ */ p({
6213
+ }), et = /* @__PURE__ */ p({
5967
6214
  abi: c,
5968
6215
  functionName: "clawback"
5969
- }), et = /* @__PURE__ */ s({
6216
+ }), tt = /* @__PURE__ */ s({
5970
6217
  abi: c,
5971
6218
  functionName: "claim"
5972
- }), tt = /* @__PURE__ */ s({
6219
+ }), nt = /* @__PURE__ */ s({
5973
6220
  abi: c,
5974
6221
  functionName: "clawback"
5975
- }), nt = /* @__PURE__ */ n({
6222
+ }), at = /* @__PURE__ */ t({
5976
6223
  abi: l,
5977
6224
  functionName: "asset"
5978
- }), at = /* @__PURE__ */ n({
6225
+ }), it = /* @__PURE__ */ t({
5979
6226
  abi: l,
5980
6227
  functionName: "claimed"
5981
- }), it = /* @__PURE__ */ n({
6228
+ }), st = /* @__PURE__ */ t({
5982
6229
  abi: l,
5983
6230
  functionName: "claims"
5984
- }), st = /* @__PURE__ */ n(
6231
+ }), pt = /* @__PURE__ */ t(
5985
6232
  { abi: l, functionName: "currentReward" }
5986
- ), pt = /* @__PURE__ */ n({
6233
+ ), rt = /* @__PURE__ */ t({
5987
6234
  abi: l,
5988
6235
  functionName: "entries"
5989
- }), rt = /* @__PURE__ */ n({
6236
+ }), ut = /* @__PURE__ */ t({
5990
6237
  abi: l,
5991
6238
  functionName: "isClaimable"
5992
- }), ut = /* @__PURE__ */ n({
6239
+ }), yt = /* @__PURE__ */ t({
5993
6240
  abi: l,
5994
6241
  functionName: "limit"
5995
- }), yt = /* @__PURE__ */ n({
6242
+ }), ot = /* @__PURE__ */ t({
5996
6243
  abi: l,
5997
6244
  functionName: "owner"
5998
- }), ot = /* @__PURE__ */ n({
6245
+ }), lt = /* @__PURE__ */ t({
5999
6246
  abi: l,
6000
6247
  functionName: "reward"
6001
- }), lt = /* @__PURE__ */ n({
6248
+ }), dt = /* @__PURE__ */ t({
6002
6249
  abi: l,
6003
6250
  functionName: "strategy"
6004
- }), dt = /* @__PURE__ */ p({
6251
+ }), mt = /* @__PURE__ */ p({
6005
6252
  abi: l,
6006
6253
  functionName: "claim"
6007
- }), mt = /* @__PURE__ */ p({
6254
+ }), ct = /* @__PURE__ */ p({
6008
6255
  abi: l,
6009
6256
  functionName: "clawback"
6010
- }), ct = /* @__PURE__ */ p({
6257
+ }), bt = /* @__PURE__ */ p({
6011
6258
  abi: l,
6012
6259
  functionName: "drawRaffle"
6013
- }), bt = /* @__PURE__ */ s(
6260
+ }), Tt = /* @__PURE__ */ s(
6014
6261
  { abi: l, functionName: "claim" }
6015
- ), Tt = /* @__PURE__ */ s({
6262
+ ), ft = /* @__PURE__ */ s({
6016
6263
  abi: l,
6017
6264
  functionName: "clawback"
6018
- }), ft = /* @__PURE__ */ s({
6265
+ }), wt = /* @__PURE__ */ s({
6019
6266
  abi: l,
6020
6267
  functionName: "drawRaffle"
6021
- }), wt = /* @__PURE__ */ n({
6022
- abi: X,
6268
+ }), vt = /* @__PURE__ */ t({
6269
+ abi: ee,
6023
6270
  functionName: "getIncentiveCriteria"
6024
- }), vt = /* @__PURE__ */ n(
6271
+ }), Mt = /* @__PURE__ */ t(
6025
6272
  { abi: b, functionName: "asset" }
6026
- ), Mt = /* @__PURE__ */ n({
6273
+ ), ht = /* @__PURE__ */ t({
6027
6274
  abi: b,
6028
6275
  functionName: "claimed"
6029
- }), It = /* @__PURE__ */ n({
6276
+ }), It = /* @__PURE__ */ t({
6030
6277
  abi: b,
6031
6278
  functionName: "claims"
6032
- }), ht = /* @__PURE__ */ n({
6279
+ }), gt = /* @__PURE__ */ t({
6033
6280
  abi: b,
6034
6281
  functionName: "currentReward"
6035
- }), gt = /* @__PURE__ */ n({
6282
+ }), Ot = /* @__PURE__ */ t({
6036
6283
  abi: b,
6037
6284
  functionName: "isClaimable"
6038
- }), Ot = /* @__PURE__ */ n(
6285
+ }), At = /* @__PURE__ */ t(
6039
6286
  { abi: b, functionName: "limit" }
6040
- ), At = /* @__PURE__ */ n(
6287
+ ), Nt = /* @__PURE__ */ t(
6041
6288
  { abi: b, functionName: "owner" }
6042
- ), Nt = /* @__PURE__ */ n({
6289
+ ), zt = /* @__PURE__ */ t({
6043
6290
  abi: b,
6044
6291
  functionName: "reward"
6045
- }), Rt = /* @__PURE__ */ n({
6292
+ }), Rt = /* @__PURE__ */ t({
6046
6293
  abi: b,
6047
6294
  functionName: "totalClaimed"
6048
- }), zt = /* @__PURE__ */ p({
6295
+ }), Ct = /* @__PURE__ */ p({
6049
6296
  abi: b,
6050
6297
  functionName: "claim"
6051
- }), Ct = /* @__PURE__ */ p({
6298
+ }), xt = /* @__PURE__ */ p({
6052
6299
  abi: b,
6053
6300
  functionName: "clawback"
6054
- }), xt = /* @__PURE__ */ s({
6301
+ }), _t = /* @__PURE__ */ s({
6055
6302
  abi: b,
6056
6303
  functionName: "claim"
6057
- }), _t = /* @__PURE__ */ s({
6304
+ }), Ht = /* @__PURE__ */ s({
6058
6305
  abi: b,
6059
6306
  functionName: "clawback"
6060
- }), Ht = /* @__PURE__ */ n({
6307
+ }), Et = /* @__PURE__ */ t({
6061
6308
  abi: R,
6062
6309
  functionName: "getActionClaimant"
6063
- }), Et = /* @__PURE__ */ n({
6310
+ }), Dt = /* @__PURE__ */ t({
6064
6311
  abi: R,
6065
6312
  functionName: "getActionSteps"
6066
- }), Dt = /* @__PURE__ */ p({
6313
+ }), qt = /* @__PURE__ */ p({
6067
6314
  abi: R,
6068
6315
  functionName: "execute"
6069
6316
  }), kt = /* @__PURE__ */ s({
6070
6317
  abi: R,
6071
6318
  functionName: "execute"
6072
- }), qt = /* @__PURE__ */ n({
6073
- abi: ee,
6319
+ }), Bt = /* @__PURE__ */ t({
6320
+ abi: te,
6074
6321
  functionName: "isAuthorized"
6075
- }), Ft = /* @__PURE__ */ n({
6322
+ }), Ft = /* @__PURE__ */ t({
6323
+ abi: h,
6324
+ functionName: "hashSignerData"
6325
+ }), Lt = /* @__PURE__ */ t({
6326
+ abi: h,
6327
+ functionName: "signers"
6328
+ }), Ut = /* @__PURE__ */ p({
6329
+ abi: h,
6330
+ functionName: "setAuthorized"
6331
+ }), Pt = /* @__PURE__ */ p({
6332
+ abi: h,
6333
+ functionName: "setValidatorCaller"
6334
+ }), St = /* @__PURE__ */ p({
6335
+ abi: h,
6336
+ functionName: "validate"
6337
+ }), jt = /* @__PURE__ */ s({
6338
+ abi: h,
6339
+ functionName: "setAuthorized"
6340
+ }), Vt = /* @__PURE__ */ s({
6341
+ abi: h,
6342
+ functionName: "setValidatorCaller"
6343
+ }), $t = /* @__PURE__ */ s({
6344
+ abi: h,
6345
+ functionName: "validate"
6346
+ }), Zt = /* @__PURE__ */ t({
6076
6347
  abi: T,
6077
6348
  functionName: "available"
6078
- }), Lt = /* @__PURE__ */ n({
6349
+ }), Gt = /* @__PURE__ */ t({
6079
6350
  abi: T,
6080
6351
  functionName: "distributed"
6081
- }), Bt = /* @__PURE__ */ n({
6352
+ }), Wt = /* @__PURE__ */ t({
6082
6353
  abi: T,
6083
6354
  functionName: "owner"
6084
- }), Ut = /* @__PURE__ */ n({
6355
+ }), Qt = /* @__PURE__ */ t({
6085
6356
  abi: T,
6086
6357
  functionName: "total"
6087
- }), Pt = /* @__PURE__ */ p({
6358
+ }), Yt = /* @__PURE__ */ p({
6088
6359
  abi: T,
6089
6360
  functionName: "allocate"
6090
- }), St = /* @__PURE__ */ p({
6361
+ }), Jt = /* @__PURE__ */ p({
6091
6362
  abi: T,
6092
6363
  functionName: "clawback"
6093
- }), jt = /* @__PURE__ */ p({
6364
+ }), Kt = /* @__PURE__ */ p({
6094
6365
  abi: T,
6095
6366
  functionName: "disburse"
6096
- }), Vt = /* @__PURE__ */ p({
6367
+ }), Xt = /* @__PURE__ */ p({
6097
6368
  abi: T,
6098
6369
  functionName: "disburseBatch"
6099
- }), Zt = /* @__PURE__ */ s({
6370
+ }), en = /* @__PURE__ */ s({
6100
6371
  abi: T,
6101
6372
  functionName: "allocate"
6102
- }), $t = /* @__PURE__ */ s({
6373
+ }), tn = /* @__PURE__ */ s({
6103
6374
  abi: T,
6104
6375
  functionName: "clawback"
6105
- }), Gt = /* @__PURE__ */ s({
6376
+ }), nn = /* @__PURE__ */ s({
6106
6377
  abi: T,
6107
6378
  functionName: "disburse"
6108
- }), Wt = /* @__PURE__ */ s({
6379
+ }), an = /* @__PURE__ */ s({
6109
6380
  abi: T,
6110
6381
  functionName: "disburseBatch"
6111
- }), Kt = /* @__PURE__ */ n(
6112
- { abi: te, functionName: "isAuthorized" }
6113
- ), Qt = /* @__PURE__ */ n({
6382
+ }), sn = /* @__PURE__ */ t(
6383
+ { abi: ne, functionName: "isAuthorized" }
6384
+ ), pn = /* @__PURE__ */ t({
6114
6385
  abi: w,
6115
6386
  functionName: "claimed"
6116
- }), Yt = /* @__PURE__ */ n({
6387
+ }), rn = /* @__PURE__ */ t({
6117
6388
  abi: w,
6118
6389
  functionName: "claims"
6119
- }), Jt = /* @__PURE__ */ n({
6390
+ }), un = /* @__PURE__ */ t({
6120
6391
  abi: w,
6121
6392
  functionName: "currentReward"
6122
- }), Xt = /* @__PURE__ */ n({
6393
+ }), yn = /* @__PURE__ */ t({
6123
6394
  abi: w,
6124
6395
  functionName: "isClaimable"
6125
- }), en = /* @__PURE__ */ n({
6396
+ }), on = /* @__PURE__ */ t({
6126
6397
  abi: w,
6127
6398
  functionName: "limit"
6128
- }), tn = /* @__PURE__ */ n({
6399
+ }), ln = /* @__PURE__ */ t({
6129
6400
  abi: w,
6130
6401
  functionName: "reward"
6131
- }), nn = /* @__PURE__ */ n({
6402
+ }), dn = /* @__PURE__ */ t({
6132
6403
  abi: w,
6133
6404
  functionName: "selector"
6134
- }), an = /* @__PURE__ */ n({
6405
+ }), mn = /* @__PURE__ */ t({
6135
6406
  abi: w,
6136
6407
  functionName: "venue"
6137
- }), sn = /* @__PURE__ */ p({
6408
+ }), cn = /* @__PURE__ */ p({
6138
6409
  abi: w,
6139
6410
  functionName: "claim"
6140
- }), pn = /* @__PURE__ */ s({
6411
+ }), bn = /* @__PURE__ */ s({
6141
6412
  abi: w,
6142
6413
  functionName: "claim"
6143
- }), rn = /* @__PURE__ */ n({
6414
+ }), Tn = /* @__PURE__ */ t({
6144
6415
  abi: m,
6145
6416
  functionName: "hasAllRoles"
6146
- }), un = /* @__PURE__ */ n({
6417
+ }), fn = /* @__PURE__ */ t({
6147
6418
  abi: m,
6148
6419
  functionName: "hasAnyRole"
6149
- }), yn = /* @__PURE__ */ n({
6420
+ }), wn = /* @__PURE__ */ t({
6150
6421
  abi: m,
6151
6422
  functionName: "isAuthorized"
6152
- }), on = /* @__PURE__ */ n({
6423
+ }), vn = /* @__PURE__ */ t({
6153
6424
  abi: m,
6154
6425
  functionName: "rolesOf"
6155
- }), ln = /* @__PURE__ */ p({
6426
+ }), Mn = /* @__PURE__ */ p({
6156
6427
  abi: m,
6157
6428
  functionName: "grantManyRoles"
6158
- }), dn = /* @__PURE__ */ p({
6429
+ }), hn = /* @__PURE__ */ p({
6159
6430
  abi: m,
6160
6431
  functionName: "grantRoles"
6161
- }), mn = /* @__PURE__ */ p({
6432
+ }), In = /* @__PURE__ */ p({
6162
6433
  abi: m,
6163
6434
  functionName: "revokeManyRoles"
6164
- }), cn = /* @__PURE__ */ p({
6435
+ }), gn = /* @__PURE__ */ p({
6165
6436
  abi: m,
6166
6437
  functionName: "revokeRoles"
6167
- }), bn = /* @__PURE__ */ p({
6438
+ }), On = /* @__PURE__ */ p({
6168
6439
  abi: m,
6169
6440
  functionName: "setAuthorized"
6170
- }), Tn = /* @__PURE__ */ s({
6441
+ }), An = /* @__PURE__ */ s({
6171
6442
  abi: m,
6172
6443
  functionName: "grantManyRoles"
6173
- }), fn = /* @__PURE__ */ s({
6444
+ }), Nn = /* @__PURE__ */ s({
6174
6445
  abi: m,
6175
6446
  functionName: "grantRoles"
6176
- }), wn = /* @__PURE__ */ s(
6447
+ }), zn = /* @__PURE__ */ s(
6177
6448
  { abi: m, functionName: "revokeManyRoles" }
6178
- ), vn = /* @__PURE__ */ s({
6449
+ ), Rn = /* @__PURE__ */ s({
6179
6450
  abi: m,
6180
6451
  functionName: "revokeRoles"
6181
- }), Mn = /* @__PURE__ */ s({
6452
+ }), Cn = /* @__PURE__ */ s({
6182
6453
  abi: m,
6183
6454
  functionName: "setAuthorized"
6184
- }), In = /* @__PURE__ */ n({
6455
+ }), xn = /* @__PURE__ */ t({
6185
6456
  abi: I,
6186
6457
  functionName: "hashSignerData"
6187
- }), hn = /* @__PURE__ */ n({
6458
+ }), _n = /* @__PURE__ */ t({
6188
6459
  abi: I,
6189
6460
  functionName: "signers"
6190
- }), gn = /* @__PURE__ */ p({
6461
+ }), Hn = /* @__PURE__ */ p({
6191
6462
  abi: I,
6192
6463
  functionName: "setAuthorized"
6193
- }), On = /* @__PURE__ */ p({
6464
+ }), En = /* @__PURE__ */ p({
6194
6465
  abi: I,
6195
6466
  functionName: "setValidatorCaller"
6196
- }), An = /* @__PURE__ */ p({
6467
+ }), Dn = /* @__PURE__ */ p({
6197
6468
  abi: I,
6198
6469
  functionName: "validate"
6199
- }), Nn = /* @__PURE__ */ s({
6470
+ }), qn = /* @__PURE__ */ s({
6200
6471
  abi: I,
6201
6472
  functionName: "setAuthorized"
6202
- }), Rn = /* @__PURE__ */ s({
6473
+ }), kn = /* @__PURE__ */ s({
6203
6474
  abi: I,
6204
6475
  functionName: "setValidatorCaller"
6205
- }), zn = /* @__PURE__ */ s({
6476
+ }), Bn = /* @__PURE__ */ s({
6206
6477
  abi: I,
6207
6478
  functionName: "validate"
6208
- }), Cn = /* @__PURE__ */ n({
6209
- abi: z,
6479
+ }), Fn = /* @__PURE__ */ t({
6480
+ abi: C,
6210
6481
  functionName: "isAllowed"
6211
- }), xn = /* @__PURE__ */ n({
6212
- abi: z,
6482
+ }), Ln = /* @__PURE__ */ t({
6483
+ abi: C,
6213
6484
  functionName: "owner"
6214
- }), _n = /* @__PURE__ */ p(
6215
- { abi: z, functionName: "setAllowed" }
6216
- ), Hn = /* @__PURE__ */ s({
6217
- abi: z,
6485
+ }), Un = /* @__PURE__ */ p(
6486
+ { abi: C, functionName: "setAllowed" }
6487
+ ), Pn = /* @__PURE__ */ s({
6488
+ abi: C,
6218
6489
  functionName: "setAllowed"
6219
- }), En = /* @__PURE__ */ n({
6220
- abi: H,
6490
+ }), Sn = /* @__PURE__ */ t({
6491
+ abi: E,
6221
6492
  functionName: "isAllowed"
6222
- }), Dn = /* @__PURE__ */ p({
6223
- abi: H,
6493
+ }), jn = /* @__PURE__ */ p({
6494
+ abi: E,
6224
6495
  functionName: "setDenied"
6225
- }), kn = /* @__PURE__ */ s({
6226
- abi: H,
6496
+ }), Vn = /* @__PURE__ */ s({
6497
+ abi: E,
6227
6498
  functionName: "setDenied"
6228
6499
  });
6229
6500
  export {
6230
- Lt as $,
6231
- Tn as A,
6232
- I as B,
6233
- oe as C,
6501
+ Wt as $,
6502
+ ke as A,
6503
+ de as B,
6504
+ Rn as C,
6234
6505
  Be as D,
6235
- ke as E,
6236
- qe as F,
6237
- Le as G,
6238
- Fe as H,
6239
- fn as I,
6240
- Kt as J,
6241
- pe as K,
6242
- Zt as L,
6243
- wn as M,
6244
- Pt as N,
6506
+ h as E,
6507
+ Ue as F,
6508
+ Se as G,
6509
+ le as H,
6510
+ sn as I,
6511
+ en as J,
6512
+ Yt as K,
6513
+ Fe as L,
6514
+ re as M,
6515
+ An as N,
6245
6516
  v as O,
6246
- $t as P,
6247
- St as Q,
6517
+ tn as P,
6518
+ Jt as Q,
6248
6519
  m as R,
6249
- jt as S,
6520
+ ne as S,
6250
6521
  d as T,
6251
- Wt as U,
6252
- Vt as V,
6253
- Bt as W,
6254
- Ut as X,
6255
- rn as Y,
6256
- Ft as Z,
6257
- Gt as _,
6258
- te as a,
6259
- R as a$,
6260
- fe as a0,
6261
- ce as a1,
6262
- we as a2,
6263
- me as a3,
6264
- de as a4,
6265
- Te as a5,
6266
- Me as a6,
6267
- ve as a7,
6268
- be as a8,
6269
- xn as a9,
6270
- ut as aA,
6271
- pt as aB,
6272
- bt as aC,
6273
- dt as aD,
6274
- Tt as aE,
6275
- mt as aF,
6276
- rt as aG,
6522
+ je as U,
6523
+ Le as V,
6524
+ ye as W,
6525
+ nn as X,
6526
+ Kt as Y,
6527
+ an as Z,
6528
+ Xt as _,
6529
+ pe as a,
6530
+ un as a$,
6531
+ Qt as a0,
6532
+ Zt as a1,
6533
+ Gt as a2,
6534
+ we as a3,
6535
+ be as a4,
6536
+ ve as a5,
6537
+ ce as a6,
6538
+ me as a7,
6539
+ fe as a8,
6540
+ he as a9,
6541
+ at as aA,
6542
+ dt as aB,
6543
+ lt as aC,
6544
+ yt as aD,
6545
+ rt as aE,
6546
+ Tt as aF,
6547
+ mt as aG,
6277
6548
  ft as aH,
6278
6549
  ct as aI,
6279
- Yt as aJ,
6280
- Jt as aK,
6281
- tn as aL,
6282
- Qt as aM,
6283
- an as aN,
6284
- en as aO,
6285
- nn as aP,
6286
- pn as aQ,
6287
- sn as aR,
6288
- Xt as aS,
6289
- hn as aT,
6290
- In as aU,
6291
- zn as aV,
6292
- An as aW,
6293
- Nn as aX,
6294
- gn as aY,
6295
- Rn as aZ,
6296
- On as a_,
6297
- Cn as aa,
6298
- Hn as ab,
6299
- _n as ac,
6300
- En as ad,
6301
- kn as ae,
6302
- Dn as af,
6303
- Ke as ag,
6304
- $e as ah,
6305
- Qe as ai,
6306
- Ze as aj,
6307
- je as ak,
6308
- Ve as al,
6309
- Ye as am,
6310
- et as an,
6311
- Je as ao,
6312
- tt as ap,
6313
- Xe as aq,
6314
- We as ar,
6315
- Ge as as,
6316
- yt as at,
6317
- st as au,
6318
- it as av,
6319
- at as aw,
6320
- nt as ax,
6321
- lt as ay,
6322
- ot as az,
6550
+ ut as aJ,
6551
+ wt as aK,
6552
+ bt as aL,
6553
+ vt as aM,
6554
+ Nt as aN,
6555
+ Rt as aO,
6556
+ gt as aP,
6557
+ It as aQ,
6558
+ ht as aR,
6559
+ Mt as aS,
6560
+ zt as aT,
6561
+ At as aU,
6562
+ _t as aV,
6563
+ Ct as aW,
6564
+ Ht as aX,
6565
+ xt as aY,
6566
+ Ot as aZ,
6567
+ rn as a_,
6568
+ Me as aa,
6569
+ Te as ab,
6570
+ Ln as ac,
6571
+ Fn as ad,
6572
+ Pn as ae,
6573
+ Un as af,
6574
+ Sn as ag,
6575
+ Vn as ah,
6576
+ jn as ai,
6577
+ Ye as aj,
6578
+ Ge as ak,
6579
+ Je as al,
6580
+ Ze as am,
6581
+ Ve as an,
6582
+ $e as ao,
6583
+ Ke as ap,
6584
+ tt as aq,
6585
+ Xe as ar,
6586
+ nt as as,
6587
+ et as at,
6588
+ Qe as au,
6589
+ We as av,
6590
+ ot as aw,
6591
+ pt as ax,
6592
+ st as ay,
6593
+ it as az,
6323
6594
  c as b,
6324
- Et as b0,
6325
- Ht as b1,
6326
- kt as b2,
6327
- Dt as b3,
6328
- At as b4,
6329
- Rt as b5,
6330
- ht as b6,
6331
- It as b7,
6332
- Mt as b8,
6333
- vt as b9,
6334
- Nt as ba,
6335
- Ot as bb,
6336
- xt as bc,
6337
- zt as bd,
6338
- _t as be,
6339
- Ct as bf,
6340
- gt as bg,
6341
- ue as bh,
6342
- X as bi,
6343
- wt as bj,
6344
- He as bk,
6345
- xe as bl,
6346
- Ne as bm,
6347
- _e as bn,
6348
- Re as bo,
6349
- he as bp,
6350
- ge as bq,
6351
- qt as br,
6352
- Ie as bs,
6595
+ ln as b0,
6596
+ pn as b1,
6597
+ mn as b2,
6598
+ on as b3,
6599
+ dn as b4,
6600
+ bn as b5,
6601
+ cn as b6,
6602
+ yn as b7,
6603
+ _n as b8,
6604
+ xn as b9,
6605
+ Bt as bA,
6606
+ Ie as bB,
6607
+ De as bC,
6608
+ Ce as bD,
6609
+ Ae as bE,
6610
+ Ne as bF,
6611
+ qe as bG,
6612
+ xe as bH,
6613
+ Bn as ba,
6614
+ Dn as bb,
6615
+ qn as bc,
6616
+ Hn as bd,
6617
+ kn as be,
6618
+ En as bf,
6619
+ Lt as bg,
6620
+ Ft as bh,
6621
+ $t as bi,
6622
+ St as bj,
6623
+ jt as bk,
6624
+ Ut as bl,
6625
+ Vt as bm,
6626
+ Pt as bn,
6627
+ R as bo,
6628
+ Dt as bp,
6629
+ Et as bq,
6630
+ kt as br,
6631
+ qt as bs,
6353
6632
  Ee as bt,
6354
- ze as bu,
6355
- Oe as bv,
6356
- Ae as bw,
6357
- De as bx,
6358
- Ce as by,
6359
- re as c,
6633
+ _e as bu,
6634
+ ze as bv,
6635
+ He as bw,
6636
+ Re as bx,
6637
+ ge as by,
6638
+ Oe as bz,
6639
+ ue as c,
6360
6640
  T as d,
6361
- Mn as e,
6641
+ Cn as e,
6362
6642
  b as f,
6363
- H as g,
6364
- z as h,
6365
- M as i,
6366
- bn as j,
6367
- vn as k,
6368
- mn as l,
6369
- cn as m,
6370
- on as n,
6371
- un as o,
6372
- ln as p,
6373
- yn as q,
6374
- ye as r,
6375
- Se as s,
6376
- se as t,
6377
- dn as u,
6378
- Ue as v,
6643
+ E as g,
6644
+ C as h,
6645
+ Nn as i,
6646
+ hn as j,
6647
+ gn as k,
6648
+ Mn as l,
6649
+ ee as m,
6650
+ zn as n,
6651
+ In as o,
6652
+ vn as p,
6653
+ fn as q,
6654
+ M as r,
6655
+ wn as s,
6656
+ Tn as t,
6657
+ oe as u,
6658
+ On as v,
6379
6659
  w,
6380
- Pe as x,
6660
+ I as x,
6381
6661
  l as y,
6382
- le as z
6662
+ Pe as z
6383
6663
  };
6384
- //# sourceMappingURL=generated-CsNyWPKA.js.map
6664
+ //# sourceMappingURL=generated-BAKNSOjJ.js.map