@boostxyz/sdk 0.0.0-alpha.14 → 0.0.0-alpha.15
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.
- package/dist/Actions/Action.cjs +1 -1
- package/dist/Actions/Action.js +1 -1
- package/dist/Actions/ContractAction.d.ts.map +1 -1
- package/dist/Actions/ERC721MintAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +31 -27
- package/dist/Actions/EventAction.js.map +1 -1
- package/dist/AllowLists/AllowList.cjs +1 -1
- package/dist/AllowLists/AllowList.js +2 -2
- package/dist/AllowLists/SimpleAllowList.cjs +1 -1
- package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
- package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleAllowList.js +10 -11
- package/dist/AllowLists/SimpleAllowList.js.map +1 -1
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleDenyList.js +2 -2
- package/dist/Auth/PassthroughAuth.cjs +1 -1
- package/dist/Auth/PassthroughAuth.js +1 -1
- package/dist/Boost.js +10 -22
- package/dist/Boost.js.map +1 -1
- package/dist/BoostCore.cjs +2 -2
- package/dist/BoostCore.cjs.map +1 -1
- package/dist/BoostCore.js +90 -76
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.cjs.map +1 -1
- package/dist/BoostRegistry.js +12 -12
- package/dist/Budgets/Budget.cjs +1 -1
- package/dist/Budgets/Budget.js +1 -1
- package/dist/Budgets/ManagedBudget.cjs +1 -1
- package/dist/Budgets/ManagedBudget.cjs.map +1 -1
- package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
- package/dist/Budgets/ManagedBudget.js +34 -35
- package/dist/Budgets/ManagedBudget.js.map +1 -1
- package/dist/Budgets/SimpleBudget.d.ts.map +1 -1
- package/dist/Budgets/VestingBudget.d.ts.map +1 -1
- package/dist/Deployable/Contract.cjs.map +1 -1
- package/dist/Deployable/Contract.js +1 -2
- package/dist/Deployable/Contract.js.map +1 -1
- package/dist/Deployable/Deployable.cjs.map +1 -1
- package/dist/Deployable/Deployable.d.ts.map +1 -1
- package/dist/Deployable/Deployable.js +2 -4
- package/dist/Deployable/Deployable.js.map +1 -1
- package/dist/Deployable/DeployableTarget.cjs +1 -1
- package/dist/Deployable/DeployableTarget.cjs.map +1 -1
- package/dist/Deployable/DeployableTarget.d.ts +1 -1
- package/dist/Deployable/DeployableTarget.d.ts.map +1 -1
- package/dist/Deployable/DeployableTarget.js +3 -5
- package/dist/Deployable/DeployableTarget.js.map +1 -1
- package/dist/Incentive-BroOQqVi.cjs +2 -0
- package/dist/Incentive-BroOQqVi.cjs.map +1 -0
- package/dist/Incentive-CSnbCt3P.js +299 -0
- package/dist/Incentive-CSnbCt3P.js.map +1 -0
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
- package/dist/Incentives/AllowListIncentive.d.ts.map +1 -1
- package/dist/Incentives/AllowListIncentive.js +10 -11
- package/dist/Incentives/AllowListIncentive.js.map +1 -1
- package/dist/Incentives/CGDAIncentive.cjs +1 -1
- package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
- package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
- package/dist/Incentives/CGDAIncentive.js +10 -11
- package/dist/Incentives/CGDAIncentive.js.map +1 -1
- package/dist/Incentives/ERC1155Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
- package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.js +18 -19
- package/dist/Incentives/ERC20Incentive.js.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
- package/dist/Incentives/Incentive.cjs +1 -1
- package/dist/Incentives/Incentive.cjs.map +1 -1
- package/dist/Incentives/Incentive.js +16 -300
- package/dist/Incentives/Incentive.js.map +1 -1
- package/dist/Incentives/PointsIncentive.cjs +1 -1
- package/dist/Incentives/PointsIncentive.cjs.map +1 -1
- package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
- package/dist/Incentives/PointsIncentive.js +8 -9
- package/dist/Incentives/PointsIncentive.js.map +1 -1
- package/dist/{SimpleDenyList-DeJRKD2D.cjs → SimpleDenyList-CzNNbmmV.cjs} +2 -2
- package/dist/SimpleDenyList-CzNNbmmV.cjs.map +1 -0
- package/dist/{SimpleDenyList-C21O9Yfi.js → SimpleDenyList-sfskWLfa.js} +9 -10
- package/dist/SimpleDenyList-sfskWLfa.js.map +1 -0
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.cjs.map +1 -1
- package/dist/Validators/SignerValidator.d.ts.map +1 -1
- package/dist/Validators/SignerValidator.js +15 -16
- package/dist/Validators/SignerValidator.js.map +1 -1
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.js +1 -1
- package/dist/generated-BulULVyy.cjs +3 -0
- package/dist/generated-BulULVyy.cjs.map +1 -0
- package/dist/{generated-LpgSHrH0.js → generated-CdXG-MpB.js} +367 -351
- package/dist/generated-CdXG-MpB.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +96 -84
- package/dist/index.js.map +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +6 -6
- package/src/Actions/Action.test.ts +4 -4
- package/src/Actions/ContractAction.test.ts +4 -4
- package/src/Actions/ContractAction.ts +1 -3
- package/src/Actions/ERC721MintAction.test.ts +4 -4
- package/src/Actions/ERC721MintAction.ts +1 -3
- package/src/Actions/EventAction.test.ts +7 -7
- package/src/Actions/EventAction.ts +0 -1
- package/src/AllowLists/AllowList.test.ts +2 -2
- package/src/AllowLists/OpenAllowList.test.ts +3 -3
- package/src/AllowLists/SimpleAllowList.test.ts +2 -2
- package/src/AllowLists/SimpleAllowList.ts +1 -1
- package/src/AllowLists/SimpleDenyList.test.ts +2 -2
- package/src/AllowLists/SimpleDenyList.ts +0 -1
- package/src/Auth/PassthroughAuth.test.ts +1 -1
- package/src/BoostCore.test.ts +10 -12
- package/src/Budgets/Budget.test.ts +2 -2
- package/src/Budgets/ManagedBudget.test.ts +6 -6
- package/src/Budgets/ManagedBudget.ts +0 -1
- package/src/Budgets/SimpleBudget.test.ts +5 -5
- package/src/Budgets/SimpleBudget.ts +1 -3
- package/src/Budgets/VestingBudget.test.ts +4 -4
- package/src/Budgets/VestingBudget.ts +1 -3
- package/src/Deployable/DeployableTarget.ts +2 -2
- package/src/Incentives/AllowListIncentive.test.ts +3 -3
- package/src/Incentives/AllowListIncentive.ts +0 -1
- package/src/Incentives/CGDAIncentive.test.ts +3 -3
- package/src/Incentives/CGDAIncentive.ts +0 -1
- package/src/Incentives/ERC1155Incentive.test.ts +3 -3
- package/src/Incentives/ERC1155Incentive.ts +1 -3
- package/src/Incentives/ERC20Incentive.test.ts +3 -3
- package/src/Incentives/ERC20Incentive.ts +0 -1
- package/src/Incentives/ERC20VariableIncentive.test.ts +3 -3
- package/src/Incentives/ERC20VariableIncentive.ts +0 -1
- package/src/Incentives/Incentive.test.ts +1 -1
- package/src/Incentives/PointsIncentive.test.ts +4 -4
- package/src/Incentives/PointsIncentive.ts +0 -1
- package/src/Validators/SignerValidator.test.ts +4 -4
- package/src/Validators/SignerValidator.ts +0 -1
- package/src/Validators/Validator.test.ts +2 -2
- package/src/index.ts +3 -0
- package/src/utils.test.ts +2 -2
- package/dist/SimpleDenyList-C21O9Yfi.js.map +0 -1
- package/dist/SimpleDenyList-DeJRKD2D.cjs.map +0 -1
- package/dist/generated-LpgSHrH0.js.map +0 -1
- package/dist/generated-tq_HLZJ0.cjs +0 -3
- package/dist/generated-tq_HLZJ0.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { simulateContract as
|
|
2
|
-
import { createClient as
|
|
3
|
-
import { parseAccount as
|
|
1
|
+
import { simulateContract as k, readContract as L, writeContract as U } from "viem/actions";
|
|
2
|
+
import { createClient as j, custom as S } from "viem";
|
|
3
|
+
import { parseAccount as V, getAddress as $ } from "viem/utils";
|
|
4
4
|
function A(t) {
|
|
5
5
|
const a = t.state.current, e = t.state.connections.get(a), i = e == null ? void 0 : e.accounts, y = i == null ? void 0 : i[0], u = t.chains.find((T) => T.id === (e == null ? void 0 : e.chainId)), r = t.state.status;
|
|
6
6
|
switch (r) {
|
|
@@ -68,20 +68,18 @@ function R(t, a, e) {
|
|
|
68
68
|
const y = t[e];
|
|
69
69
|
return typeof y == "function" ? y : (u) => a(t, u);
|
|
70
70
|
}
|
|
71
|
-
const Z = "2.13.
|
|
71
|
+
const Z = "2.13.8", G = () => `@wagmi/core@${Z}`;
|
|
72
72
|
var F = function(t, a, e, i) {
|
|
73
|
-
if (e === "a" && !i)
|
|
74
|
-
|
|
75
|
-
if (typeof a == "function" ? t !== a || !i : !a.has(t))
|
|
76
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
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");
|
|
77
75
|
return e === "m" ? i : e === "a" ? i.call(t) : i ? i.value : a.get(t);
|
|
78
76
|
}, O, E;
|
|
79
|
-
class
|
|
77
|
+
class I extends Error {
|
|
80
78
|
get docsBaseUrl() {
|
|
81
79
|
return "https://wagmi.sh/core";
|
|
82
80
|
}
|
|
83
81
|
get version() {
|
|
84
|
-
return
|
|
82
|
+
return G();
|
|
85
83
|
}
|
|
86
84
|
constructor(a, e = {}) {
|
|
87
85
|
var i;
|
|
@@ -111,7 +109,7 @@ class h extends Error {
|
|
|
111
109
|
writable: !0,
|
|
112
110
|
value: "WagmiCoreError"
|
|
113
111
|
});
|
|
114
|
-
const y = e.cause instanceof
|
|
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;
|
|
115
113
|
this.message = [
|
|
116
114
|
a || "An error occurred.",
|
|
117
115
|
"",
|
|
@@ -131,7 +129,7 @@ class h extends Error {
|
|
|
131
129
|
O = /* @__PURE__ */ new WeakSet(), E = function t(a, e) {
|
|
132
130
|
return e != null && e(a) ? a : a.cause ? F(this, O, "m", t).call(this, a.cause, e) : a;
|
|
133
131
|
};
|
|
134
|
-
class
|
|
132
|
+
class W extends I {
|
|
135
133
|
constructor() {
|
|
136
134
|
super("Connector not connected."), Object.defineProperty(this, "name", {
|
|
137
135
|
enumerable: !0,
|
|
@@ -141,7 +139,7 @@ class G extends h {
|
|
|
141
139
|
});
|
|
142
140
|
}
|
|
143
141
|
}
|
|
144
|
-
class
|
|
142
|
+
class Q extends I {
|
|
145
143
|
constructor({ address: a, connector: e }) {
|
|
146
144
|
super(`Account "${a}" not found for connector "${e.name}".`), Object.defineProperty(this, "name", {
|
|
147
145
|
enumerable: !0,
|
|
@@ -151,7 +149,7 @@ class W extends h {
|
|
|
151
149
|
});
|
|
152
150
|
}
|
|
153
151
|
}
|
|
154
|
-
class
|
|
152
|
+
class X extends I {
|
|
155
153
|
constructor({ connectionChainId: a, connectorChainId: e }) {
|
|
156
154
|
super(`The current chain of the connector (id: ${e}) does not match the connection's chain (id: ${a}).`, {
|
|
157
155
|
metaMessages: [
|
|
@@ -166,57 +164,75 @@ class Y extends h {
|
|
|
166
164
|
});
|
|
167
165
|
}
|
|
168
166
|
}
|
|
169
|
-
|
|
167
|
+
class J extends I {
|
|
168
|
+
constructor({ connector: a }) {
|
|
169
|
+
super(`Connector "${a.name}" unavailable while reconnecting.`, {
|
|
170
|
+
details: [
|
|
171
|
+
"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uuid`.",
|
|
172
|
+
"All other methods are not guaranteed to be available until reconnection completes and connectors are fully restored.",
|
|
173
|
+
"This error commonly occurs for connectors that asynchronously inject after reconnection has already started."
|
|
174
|
+
].join(" ")
|
|
175
|
+
}), Object.defineProperty(this, "name", {
|
|
176
|
+
enumerable: !0,
|
|
177
|
+
configurable: !0,
|
|
178
|
+
writable: !0,
|
|
179
|
+
value: "ConnectorUnavailableReconnectingError"
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
async function q(t, a = {}) {
|
|
170
184
|
let e;
|
|
171
185
|
if (a.connector) {
|
|
172
|
-
const { connector:
|
|
173
|
-
|
|
174
|
-
|
|
186
|
+
const { connector: l } = a;
|
|
187
|
+
if (t.state.status === "reconnecting" && !l.getAccounts && !l.getChainId)
|
|
188
|
+
throw new J({ connector: l });
|
|
189
|
+
const [g, P] = await Promise.all([
|
|
190
|
+
l.getAccounts(),
|
|
191
|
+
l.getChainId()
|
|
175
192
|
]);
|
|
176
193
|
e = {
|
|
177
194
|
accounts: g,
|
|
178
|
-
chainId:
|
|
179
|
-
connector:
|
|
195
|
+
chainId: P,
|
|
196
|
+
connector: l
|
|
180
197
|
};
|
|
181
198
|
} else
|
|
182
199
|
e = t.state.connections.get(t.state.current);
|
|
183
200
|
if (!e)
|
|
184
|
-
throw new
|
|
201
|
+
throw new W();
|
|
185
202
|
const i = a.chainId ?? e.chainId, y = await e.connector.getChainId();
|
|
186
203
|
if (y !== e.chainId)
|
|
187
|
-
throw new
|
|
204
|
+
throw new X({
|
|
188
205
|
connectionChainId: e.chainId,
|
|
189
206
|
connectorChainId: y
|
|
190
207
|
});
|
|
191
208
|
const u = e.connector;
|
|
192
209
|
if (u.getClient)
|
|
193
210
|
return u.getClient({ chainId: i });
|
|
194
|
-
const r =
|
|
195
|
-
r.address = $(r.address)
|
|
196
|
-
|
|
197
|
-
if (a.account && !e.accounts.some((m) => m.toLowerCase() === r.address.toLowerCase()))
|
|
198
|
-
throw new W({
|
|
211
|
+
const r = V(a.account ?? e.accounts[0]);
|
|
212
|
+
if (r.address = $(r.address), a.account && !e.accounts.some((l) => l.toLowerCase() === r.address.toLowerCase()))
|
|
213
|
+
throw new Q({
|
|
199
214
|
address: r.address,
|
|
200
215
|
connector: u
|
|
201
216
|
});
|
|
202
|
-
|
|
217
|
+
const T = t.chains.find((l) => l.id === i), h = await e.connector.getProvider({ chainId: i });
|
|
218
|
+
return j({
|
|
203
219
|
account: r,
|
|
204
220
|
chain: T,
|
|
205
221
|
name: "Connector Client",
|
|
206
|
-
transport: (
|
|
222
|
+
transport: (l) => S(h)({ ...l, retryCount: 0 })
|
|
207
223
|
});
|
|
208
224
|
}
|
|
209
225
|
async function C(t, a) {
|
|
210
226
|
const { abi: e, chainId: i, connector: y, ...u } = a;
|
|
211
227
|
let r;
|
|
212
|
-
a.account ? r = a.account : r = (await
|
|
228
|
+
a.account ? r = a.account : r = (await q(t, {
|
|
213
229
|
chainId: i,
|
|
214
230
|
connector: y
|
|
215
231
|
})).account;
|
|
216
|
-
const T = t.getClient({ chainId: i }),
|
|
232
|
+
const T = t.getClient({ chainId: i }), h = R(T, k, "simulateContract"), { result: l, request: g } = await h({ ...u, abi: e, account: r });
|
|
217
233
|
return {
|
|
218
234
|
chainId: T.chain.id,
|
|
219
|
-
result:
|
|
235
|
+
result: l,
|
|
220
236
|
request: { __mode: "prepared", ...g, chainId: i }
|
|
221
237
|
};
|
|
222
238
|
}
|
|
@@ -261,21 +277,21 @@ function n(t) {
|
|
|
261
277
|
async function D(t, a) {
|
|
262
278
|
const { account: e, chainId: i, connector: y, __mode: u, ...r } = a;
|
|
263
279
|
let T;
|
|
264
|
-
typeof e == "object" && e.type === "local" ? T = t.getClient({ chainId: i }) : T = await
|
|
265
|
-
const { connector:
|
|
266
|
-
let
|
|
267
|
-
if (u === "prepared" ||
|
|
268
|
-
|
|
280
|
+
typeof e == "object" && e.type === "local" ? T = t.getClient({ chainId: i }) : T = await q(t, { account: e, chainId: i, connector: y });
|
|
281
|
+
const { connector: h } = A(t);
|
|
282
|
+
let l;
|
|
283
|
+
if (u === "prepared" || h != null && h.supportsSimulation)
|
|
284
|
+
l = r;
|
|
269
285
|
else {
|
|
270
286
|
const { request: g } = await C(t, {
|
|
271
287
|
...r,
|
|
272
288
|
account: e,
|
|
273
289
|
chainId: i
|
|
274
290
|
});
|
|
275
|
-
|
|
291
|
+
l = g;
|
|
276
292
|
}
|
|
277
|
-
return await R(T,
|
|
278
|
-
...
|
|
293
|
+
return await R(T, U, "writeContract")({
|
|
294
|
+
...l,
|
|
279
295
|
...e ? { account: e } : {},
|
|
280
296
|
chain: i ? { id: i } : null
|
|
281
297
|
});
|
|
@@ -298,7 +314,7 @@ function p(t) {
|
|
|
298
314
|
abi: t.abi
|
|
299
315
|
});
|
|
300
316
|
}
|
|
301
|
-
const
|
|
317
|
+
const ae = [
|
|
302
318
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
303
319
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
304
320
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -400,7 +416,7 @@ const ne = [
|
|
|
400
416
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
401
417
|
stateMutability: "view"
|
|
402
418
|
}
|
|
403
|
-
],
|
|
419
|
+
], ie = [
|
|
404
420
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
405
421
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
406
422
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -450,7 +466,7 @@ const ne = [
|
|
|
450
466
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
451
467
|
stateMutability: "view"
|
|
452
468
|
}
|
|
453
|
-
],
|
|
469
|
+
], se = [
|
|
454
470
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
455
471
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
456
472
|
{
|
|
@@ -631,7 +647,7 @@ const ne = [
|
|
|
631
647
|
stateMutability: "view"
|
|
632
648
|
},
|
|
633
649
|
{ type: "receive", stateMutability: "payable" }
|
|
634
|
-
],
|
|
650
|
+
], B = [
|
|
635
651
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
636
652
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
637
653
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -671,7 +687,7 @@ const ne = [
|
|
|
671
687
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
672
688
|
stateMutability: "view"
|
|
673
689
|
}
|
|
674
|
-
],
|
|
690
|
+
], pe = [
|
|
675
691
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
676
692
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
677
693
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
@@ -789,7 +805,7 @@ const ne = [
|
|
|
789
805
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
790
806
|
stateMutability: "view"
|
|
791
807
|
}
|
|
792
|
-
],
|
|
808
|
+
], re = [
|
|
793
809
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
794
810
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
795
811
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -1079,7 +1095,7 @@ const ne = [
|
|
|
1079
1095
|
outputs: [],
|
|
1080
1096
|
stateMutability: "payable"
|
|
1081
1097
|
}
|
|
1082
|
-
],
|
|
1098
|
+
], d = [
|
|
1083
1099
|
{
|
|
1084
1100
|
type: "constructor",
|
|
1085
1101
|
inputs: [
|
|
@@ -1502,7 +1518,7 @@ const ne = [
|
|
|
1502
1518
|
outputs: [],
|
|
1503
1519
|
stateMutability: "payable"
|
|
1504
1520
|
}
|
|
1505
|
-
],
|
|
1521
|
+
], M = [
|
|
1506
1522
|
{
|
|
1507
1523
|
type: "error",
|
|
1508
1524
|
inputs: [
|
|
@@ -1970,7 +1986,7 @@ const ne = [
|
|
|
1970
1986
|
outputs: [],
|
|
1971
1987
|
stateMutability: "payable"
|
|
1972
1988
|
}
|
|
1973
|
-
],
|
|
1989
|
+
], m = [
|
|
1974
1990
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
1975
1991
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
1976
1992
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -2737,7 +2753,7 @@ const ne = [
|
|
|
2737
2753
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
2738
2754
|
stateMutability: "view"
|
|
2739
2755
|
}
|
|
2740
|
-
],
|
|
2756
|
+
], K = [
|
|
2741
2757
|
{
|
|
2742
2758
|
type: "function",
|
|
2743
2759
|
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
|
@@ -3189,7 +3205,7 @@ const ne = [
|
|
|
3189
3205
|
stateMutability: "payable"
|
|
3190
3206
|
},
|
|
3191
3207
|
{ type: "receive", stateMutability: "payable" }
|
|
3192
|
-
],
|
|
3208
|
+
], Y = [
|
|
3193
3209
|
{
|
|
3194
3210
|
type: "function",
|
|
3195
3211
|
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
@@ -4131,535 +4147,535 @@ const ne = [
|
|
|
4131
4147
|
outputs: [],
|
|
4132
4148
|
stateMutability: "payable"
|
|
4133
4149
|
}
|
|
4134
|
-
],
|
|
4135
|
-
abi:
|
|
4150
|
+
], ye = /* @__PURE__ */ n({
|
|
4151
|
+
abi: B,
|
|
4136
4152
|
functionName: "getComponentInterface"
|
|
4137
|
-
}),
|
|
4138
|
-
{ abi:
|
|
4139
|
-
),
|
|
4153
|
+
}), ue = /* @__PURE__ */ n(
|
|
4154
|
+
{ abi: B, functionName: "supportsInterface" }
|
|
4155
|
+
), oe = /* @__PURE__ */ n(
|
|
4140
4156
|
{ abi: w, functionName: "allowList" }
|
|
4141
|
-
),
|
|
4157
|
+
), le = /* @__PURE__ */ n({
|
|
4142
4158
|
abi: w,
|
|
4143
4159
|
functionName: "claimed"
|
|
4144
|
-
}),
|
|
4160
|
+
}), de = /* @__PURE__ */ n({
|
|
4145
4161
|
abi: w,
|
|
4146
4162
|
functionName: "claims"
|
|
4147
|
-
}),
|
|
4163
|
+
}), me = /* @__PURE__ */ n({
|
|
4148
4164
|
abi: w,
|
|
4149
4165
|
functionName: "isClaimable"
|
|
4150
|
-
}),
|
|
4166
|
+
}), ce = /* @__PURE__ */ n({
|
|
4151
4167
|
abi: w,
|
|
4152
4168
|
functionName: "limit"
|
|
4153
|
-
}),
|
|
4169
|
+
}), be = /* @__PURE__ */ n({
|
|
4154
4170
|
abi: w,
|
|
4155
4171
|
functionName: "owner"
|
|
4156
|
-
}),
|
|
4172
|
+
}), Te = /* @__PURE__ */ n({
|
|
4157
4173
|
abi: w,
|
|
4158
4174
|
functionName: "reward"
|
|
4159
|
-
}),
|
|
4175
|
+
}), fe = /* @__PURE__ */ p({
|
|
4160
4176
|
abi: w,
|
|
4161
4177
|
functionName: "claim"
|
|
4162
|
-
}),
|
|
4178
|
+
}), we = /* @__PURE__ */ s({
|
|
4163
4179
|
abi: w,
|
|
4164
4180
|
functionName: "claim"
|
|
4165
|
-
}), we = /* @__PURE__ */ n({
|
|
4166
|
-
abi: l,
|
|
4167
|
-
functionName: "claimFee"
|
|
4168
4181
|
}), ve = /* @__PURE__ */ n({
|
|
4169
|
-
abi:
|
|
4170
|
-
functionName: "
|
|
4182
|
+
abi: d,
|
|
4183
|
+
functionName: "claimFee"
|
|
4171
4184
|
}), Ie = /* @__PURE__ */ n({
|
|
4172
|
-
abi:
|
|
4173
|
-
functionName: "
|
|
4185
|
+
abi: d,
|
|
4186
|
+
functionName: "createBoostAuth"
|
|
4174
4187
|
}), Me = /* @__PURE__ */ n({
|
|
4175
|
-
abi:
|
|
4176
|
-
functionName: "
|
|
4188
|
+
abi: d,
|
|
4189
|
+
functionName: "getBoost"
|
|
4177
4190
|
}), he = /* @__PURE__ */ n({
|
|
4178
|
-
abi:
|
|
4179
|
-
functionName: "
|
|
4191
|
+
abi: d,
|
|
4192
|
+
functionName: "getBoostCount"
|
|
4180
4193
|
}), ge = /* @__PURE__ */ n({
|
|
4181
|
-
abi:
|
|
4194
|
+
abi: d,
|
|
4195
|
+
functionName: "protocolFee"
|
|
4196
|
+
}), Ne = /* @__PURE__ */ n({
|
|
4197
|
+
abi: d,
|
|
4182
4198
|
functionName: "protocolFeeReceiver"
|
|
4183
|
-
}), Ne = /* @__PURE__ */ p({
|
|
4184
|
-
abi: l,
|
|
4185
|
-
functionName: "claimIncentive"
|
|
4186
4199
|
}), Oe = /* @__PURE__ */ p({
|
|
4187
|
-
abi:
|
|
4188
|
-
functionName: "
|
|
4200
|
+
abi: d,
|
|
4201
|
+
functionName: "claimIncentive"
|
|
4189
4202
|
}), Ae = /* @__PURE__ */ p({
|
|
4190
|
-
abi:
|
|
4191
|
-
functionName: "
|
|
4203
|
+
abi: d,
|
|
4204
|
+
functionName: "claimIncentiveFor"
|
|
4192
4205
|
}), ze = /* @__PURE__ */ p({
|
|
4193
|
-
abi:
|
|
4194
|
-
functionName: "
|
|
4206
|
+
abi: d,
|
|
4207
|
+
functionName: "setClaimFee"
|
|
4195
4208
|
}), Ce = /* @__PURE__ */ p({
|
|
4196
|
-
abi:
|
|
4209
|
+
abi: d,
|
|
4210
|
+
functionName: "setCreateBoostAuth"
|
|
4211
|
+
}), xe = /* @__PURE__ */ p({
|
|
4212
|
+
abi: d,
|
|
4197
4213
|
functionName: "setProtocolFeeReceiver"
|
|
4198
|
-
}), xe = /* @__PURE__ */ s({
|
|
4199
|
-
abi: l,
|
|
4200
|
-
functionName: "claimIncentive"
|
|
4201
4214
|
}), Re = /* @__PURE__ */ s({
|
|
4202
|
-
abi:
|
|
4203
|
-
functionName: "
|
|
4215
|
+
abi: d,
|
|
4216
|
+
functionName: "claimIncentive"
|
|
4204
4217
|
}), _e = /* @__PURE__ */ s({
|
|
4205
|
-
abi:
|
|
4206
|
-
functionName: "
|
|
4218
|
+
abi: d,
|
|
4219
|
+
functionName: "claimIncentiveFor"
|
|
4207
4220
|
}), He = /* @__PURE__ */ s({
|
|
4208
|
-
abi:
|
|
4209
|
-
functionName: "
|
|
4221
|
+
abi: d,
|
|
4222
|
+
functionName: "setClaimFee"
|
|
4210
4223
|
}), De = /* @__PURE__ */ s({
|
|
4211
|
-
abi:
|
|
4224
|
+
abi: d,
|
|
4225
|
+
functionName: "setCreateBoostAuth"
|
|
4226
|
+
}), Fe = /* @__PURE__ */ s({
|
|
4227
|
+
abi: d,
|
|
4212
4228
|
functionName: "setProtocolFeeReceiver"
|
|
4213
|
-
}), Fe = /* @__PURE__ */ n({
|
|
4214
|
-
abi: I,
|
|
4215
|
-
functionName: "getBaseImplementation"
|
|
4216
4229
|
}), Ee = /* @__PURE__ */ n({
|
|
4217
|
-
abi:
|
|
4230
|
+
abi: M,
|
|
4231
|
+
functionName: "getBaseImplementation"
|
|
4232
|
+
}), qe = /* @__PURE__ */ n({
|
|
4233
|
+
abi: M,
|
|
4218
4234
|
functionName: "getCloneIdentifier"
|
|
4219
4235
|
}), Be = /* @__PURE__ */ n({
|
|
4220
|
-
abi:
|
|
4236
|
+
abi: M,
|
|
4221
4237
|
functionName: "getClones"
|
|
4222
|
-
}),
|
|
4223
|
-
abi:
|
|
4238
|
+
}), Pe = /* @__PURE__ */ p({
|
|
4239
|
+
abi: M,
|
|
4224
4240
|
functionName: "deployClone"
|
|
4225
4241
|
}), ke = /* @__PURE__ */ p({
|
|
4226
|
-
abi:
|
|
4242
|
+
abi: M,
|
|
4227
4243
|
functionName: "register"
|
|
4228
|
-
}), Pe = /* @__PURE__ */ s({
|
|
4229
|
-
abi: I,
|
|
4230
|
-
functionName: "deployClone"
|
|
4231
4244
|
}), Le = /* @__PURE__ */ s({
|
|
4232
|
-
abi:
|
|
4245
|
+
abi: M,
|
|
4246
|
+
functionName: "deployClone"
|
|
4247
|
+
}), Ue = /* @__PURE__ */ s({
|
|
4248
|
+
abi: M,
|
|
4233
4249
|
functionName: "register"
|
|
4234
|
-
}),
|
|
4250
|
+
}), je = /* @__PURE__ */ n({
|
|
4235
4251
|
abi: c,
|
|
4236
4252
|
functionName: "asset"
|
|
4237
|
-
}),
|
|
4253
|
+
}), Se = /* @__PURE__ */ n({
|
|
4238
4254
|
abi: c,
|
|
4239
4255
|
functionName: "cgdaParams"
|
|
4240
4256
|
}), Ve = /* @__PURE__ */ n({
|
|
4241
4257
|
abi: c,
|
|
4242
4258
|
functionName: "claimed"
|
|
4243
|
-
}),
|
|
4259
|
+
}), $e = /* @__PURE__ */ n({
|
|
4244
4260
|
abi: c,
|
|
4245
4261
|
functionName: "claims"
|
|
4246
|
-
}),
|
|
4262
|
+
}), Ze = /* @__PURE__ */ n({
|
|
4247
4263
|
abi: c,
|
|
4248
4264
|
functionName: "currentReward"
|
|
4249
|
-
}),
|
|
4265
|
+
}), Ge = /* @__PURE__ */ n({
|
|
4250
4266
|
abi: c,
|
|
4251
4267
|
functionName: "isClaimable"
|
|
4252
|
-
}),
|
|
4268
|
+
}), We = /* @__PURE__ */ n({
|
|
4253
4269
|
abi: c,
|
|
4254
4270
|
functionName: "owner"
|
|
4255
|
-
}),
|
|
4271
|
+
}), Qe = /* @__PURE__ */ n({
|
|
4256
4272
|
abi: c,
|
|
4257
4273
|
functionName: "reward"
|
|
4258
|
-
}),
|
|
4274
|
+
}), Xe = /* @__PURE__ */ n({
|
|
4259
4275
|
abi: c,
|
|
4260
4276
|
functionName: "totalBudget"
|
|
4261
|
-
}),
|
|
4277
|
+
}), Je = /* @__PURE__ */ p({
|
|
4262
4278
|
abi: c,
|
|
4263
4279
|
functionName: "claim"
|
|
4264
|
-
}),
|
|
4280
|
+
}), Ke = /* @__PURE__ */ p({
|
|
4265
4281
|
abi: c,
|
|
4266
4282
|
functionName: "clawback"
|
|
4267
|
-
}),
|
|
4283
|
+
}), Ye = /* @__PURE__ */ s({
|
|
4268
4284
|
abi: c,
|
|
4269
4285
|
functionName: "claim"
|
|
4270
|
-
}),
|
|
4286
|
+
}), et = /* @__PURE__ */ s({
|
|
4271
4287
|
abi: c,
|
|
4272
4288
|
functionName: "clawback"
|
|
4273
|
-
}), et = /* @__PURE__ */ n({
|
|
4274
|
-
abi: d,
|
|
4275
|
-
functionName: "asset"
|
|
4276
4289
|
}), tt = /* @__PURE__ */ n({
|
|
4277
|
-
abi:
|
|
4278
|
-
functionName: "
|
|
4290
|
+
abi: m,
|
|
4291
|
+
functionName: "asset"
|
|
4279
4292
|
}), nt = /* @__PURE__ */ n({
|
|
4280
|
-
abi:
|
|
4293
|
+
abi: m,
|
|
4294
|
+
functionName: "claimed"
|
|
4295
|
+
}), at = /* @__PURE__ */ n({
|
|
4296
|
+
abi: m,
|
|
4281
4297
|
functionName: "claims"
|
|
4282
|
-
}),
|
|
4283
|
-
{ abi:
|
|
4284
|
-
),
|
|
4285
|
-
abi:
|
|
4298
|
+
}), it = /* @__PURE__ */ n(
|
|
4299
|
+
{ abi: m, functionName: "currentReward" }
|
|
4300
|
+
), st = /* @__PURE__ */ n({
|
|
4301
|
+
abi: m,
|
|
4286
4302
|
functionName: "entries"
|
|
4287
|
-
}), st = /* @__PURE__ */ n({
|
|
4288
|
-
abi: d,
|
|
4289
|
-
functionName: "isClaimable"
|
|
4290
4303
|
}), pt = /* @__PURE__ */ n({
|
|
4291
|
-
abi:
|
|
4292
|
-
functionName: "
|
|
4304
|
+
abi: m,
|
|
4305
|
+
functionName: "isClaimable"
|
|
4293
4306
|
}), rt = /* @__PURE__ */ n({
|
|
4294
|
-
abi:
|
|
4295
|
-
functionName: "
|
|
4307
|
+
abi: m,
|
|
4308
|
+
functionName: "limit"
|
|
4296
4309
|
}), yt = /* @__PURE__ */ n({
|
|
4297
|
-
abi:
|
|
4298
|
-
functionName: "
|
|
4310
|
+
abi: m,
|
|
4311
|
+
functionName: "owner"
|
|
4299
4312
|
}), ut = /* @__PURE__ */ n({
|
|
4300
|
-
abi:
|
|
4313
|
+
abi: m,
|
|
4314
|
+
functionName: "reward"
|
|
4315
|
+
}), ot = /* @__PURE__ */ n({
|
|
4316
|
+
abi: m,
|
|
4301
4317
|
functionName: "strategy"
|
|
4302
|
-
}), ot = /* @__PURE__ */ p({
|
|
4303
|
-
abi: d,
|
|
4304
|
-
functionName: "claim"
|
|
4305
4318
|
}), lt = /* @__PURE__ */ p({
|
|
4306
|
-
abi:
|
|
4307
|
-
functionName: "
|
|
4319
|
+
abi: m,
|
|
4320
|
+
functionName: "claim"
|
|
4308
4321
|
}), dt = /* @__PURE__ */ p({
|
|
4309
|
-
abi:
|
|
4322
|
+
abi: m,
|
|
4323
|
+
functionName: "clawback"
|
|
4324
|
+
}), mt = /* @__PURE__ */ p({
|
|
4325
|
+
abi: m,
|
|
4310
4326
|
functionName: "drawRaffle"
|
|
4311
|
-
}),
|
|
4312
|
-
{ abi:
|
|
4313
|
-
),
|
|
4314
|
-
abi:
|
|
4327
|
+
}), ct = /* @__PURE__ */ s(
|
|
4328
|
+
{ abi: m, functionName: "claim" }
|
|
4329
|
+
), bt = /* @__PURE__ */ s({
|
|
4330
|
+
abi: m,
|
|
4315
4331
|
functionName: "clawback"
|
|
4316
|
-
}),
|
|
4317
|
-
abi:
|
|
4332
|
+
}), Tt = /* @__PURE__ */ s({
|
|
4333
|
+
abi: m,
|
|
4318
4334
|
functionName: "drawRaffle"
|
|
4319
|
-
}),
|
|
4335
|
+
}), ft = /* @__PURE__ */ n(
|
|
4320
4336
|
{ abi: b, functionName: "asset" }
|
|
4321
|
-
),
|
|
4337
|
+
), wt = /* @__PURE__ */ n({
|
|
4322
4338
|
abi: b,
|
|
4323
4339
|
functionName: "claimed"
|
|
4324
|
-
}),
|
|
4340
|
+
}), vt = /* @__PURE__ */ n({
|
|
4325
4341
|
abi: b,
|
|
4326
4342
|
functionName: "claims"
|
|
4327
|
-
}),
|
|
4343
|
+
}), It = /* @__PURE__ */ n({
|
|
4328
4344
|
abi: b,
|
|
4329
4345
|
functionName: "currentReward"
|
|
4330
|
-
}),
|
|
4346
|
+
}), Mt = /* @__PURE__ */ n({
|
|
4331
4347
|
abi: b,
|
|
4332
4348
|
functionName: "isClaimable"
|
|
4333
|
-
}),
|
|
4349
|
+
}), ht = /* @__PURE__ */ n(
|
|
4334
4350
|
{ abi: b, functionName: "limit" }
|
|
4335
|
-
),
|
|
4351
|
+
), gt = /* @__PURE__ */ n(
|
|
4336
4352
|
{ abi: b, functionName: "owner" }
|
|
4337
|
-
),
|
|
4353
|
+
), Nt = /* @__PURE__ */ n({
|
|
4338
4354
|
abi: b,
|
|
4339
4355
|
functionName: "reward"
|
|
4340
|
-
}),
|
|
4356
|
+
}), Ot = /* @__PURE__ */ n({
|
|
4341
4357
|
abi: b,
|
|
4342
4358
|
functionName: "totalClaimed"
|
|
4343
|
-
}),
|
|
4359
|
+
}), At = /* @__PURE__ */ p({
|
|
4344
4360
|
abi: b,
|
|
4345
4361
|
functionName: "claim"
|
|
4346
|
-
}),
|
|
4362
|
+
}), zt = /* @__PURE__ */ p({
|
|
4347
4363
|
abi: b,
|
|
4348
4364
|
functionName: "clawback"
|
|
4349
|
-
}),
|
|
4365
|
+
}), Ct = /* @__PURE__ */ s({
|
|
4350
4366
|
abi: b,
|
|
4351
4367
|
functionName: "claim"
|
|
4352
|
-
}),
|
|
4368
|
+
}), xt = /* @__PURE__ */ s({
|
|
4353
4369
|
abi: b,
|
|
4354
4370
|
functionName: "clawback"
|
|
4355
|
-
}),
|
|
4371
|
+
}), Rt = /* @__PURE__ */ n({
|
|
4356
4372
|
abi: z,
|
|
4357
4373
|
functionName: "getActionClaimant"
|
|
4358
|
-
}),
|
|
4374
|
+
}), _t = /* @__PURE__ */ n({
|
|
4359
4375
|
abi: z,
|
|
4360
4376
|
functionName: "getActionSteps"
|
|
4361
|
-
}),
|
|
4377
|
+
}), Ht = /* @__PURE__ */ p({
|
|
4362
4378
|
abi: z,
|
|
4363
4379
|
functionName: "execute"
|
|
4364
|
-
}),
|
|
4380
|
+
}), Dt = /* @__PURE__ */ s({
|
|
4365
4381
|
abi: z,
|
|
4366
4382
|
functionName: "execute"
|
|
4367
|
-
}), Dt = /* @__PURE__ */ n({
|
|
4368
|
-
abi: Q,
|
|
4369
|
-
functionName: "isAuthorized"
|
|
4370
4383
|
}), Ft = /* @__PURE__ */ n({
|
|
4384
|
+
abi: K,
|
|
4385
|
+
functionName: "isAuthorized"
|
|
4386
|
+
}), Et = /* @__PURE__ */ n({
|
|
4371
4387
|
abi: o,
|
|
4372
4388
|
functionName: "available"
|
|
4373
|
-
}),
|
|
4389
|
+
}), qt = /* @__PURE__ */ n({
|
|
4374
4390
|
abi: o,
|
|
4375
4391
|
functionName: "distributed"
|
|
4376
4392
|
}), Bt = /* @__PURE__ */ n({
|
|
4377
4393
|
abi: o,
|
|
4378
4394
|
functionName: "hasAllRoles"
|
|
4379
|
-
}),
|
|
4395
|
+
}), Pt = /* @__PURE__ */ n({
|
|
4380
4396
|
abi: o,
|
|
4381
4397
|
functionName: "hasAnyRole"
|
|
4382
4398
|
}), kt = /* @__PURE__ */ n({
|
|
4383
4399
|
abi: o,
|
|
4384
4400
|
functionName: "isAuthorized"
|
|
4385
|
-
}),
|
|
4401
|
+
}), Lt = /* @__PURE__ */ n({
|
|
4386
4402
|
abi: o,
|
|
4387
4403
|
functionName: "owner"
|
|
4388
|
-
}),
|
|
4404
|
+
}), Ut = /* @__PURE__ */ n({
|
|
4389
4405
|
abi: o,
|
|
4390
4406
|
functionName: "rolesOf"
|
|
4391
|
-
}),
|
|
4407
|
+
}), jt = /* @__PURE__ */ n({
|
|
4392
4408
|
abi: o,
|
|
4393
4409
|
functionName: "total"
|
|
4394
|
-
}),
|
|
4410
|
+
}), St = /* @__PURE__ */ p({
|
|
4395
4411
|
abi: o,
|
|
4396
4412
|
functionName: "allocate"
|
|
4397
4413
|
}), Vt = /* @__PURE__ */ p({
|
|
4398
4414
|
abi: o,
|
|
4399
4415
|
functionName: "clawback"
|
|
4400
|
-
}),
|
|
4416
|
+
}), $t = /* @__PURE__ */ p({
|
|
4401
4417
|
abi: o,
|
|
4402
4418
|
functionName: "disburse"
|
|
4403
|
-
}),
|
|
4419
|
+
}), Zt = /* @__PURE__ */ p({
|
|
4404
4420
|
abi: o,
|
|
4405
4421
|
functionName: "disburseBatch"
|
|
4406
|
-
}),
|
|
4422
|
+
}), Gt = /* @__PURE__ */ p({
|
|
4407
4423
|
abi: o,
|
|
4408
4424
|
functionName: "grantRoles"
|
|
4409
|
-
}),
|
|
4425
|
+
}), Wt = /* @__PURE__ */ p({
|
|
4410
4426
|
abi: o,
|
|
4411
4427
|
functionName: "revokeRoles"
|
|
4412
|
-
}),
|
|
4428
|
+
}), Qt = /* @__PURE__ */ p({
|
|
4413
4429
|
abi: o,
|
|
4414
4430
|
functionName: "setAuthorized"
|
|
4415
|
-
}),
|
|
4431
|
+
}), Xt = /* @__PURE__ */ s({
|
|
4416
4432
|
abi: o,
|
|
4417
4433
|
functionName: "allocate"
|
|
4418
|
-
}),
|
|
4434
|
+
}), Jt = /* @__PURE__ */ s({
|
|
4419
4435
|
abi: o,
|
|
4420
4436
|
functionName: "clawback"
|
|
4421
|
-
}),
|
|
4437
|
+
}), Kt = /* @__PURE__ */ s({
|
|
4422
4438
|
abi: o,
|
|
4423
4439
|
functionName: "disburse"
|
|
4424
|
-
}),
|
|
4440
|
+
}), Yt = /* @__PURE__ */ s({
|
|
4425
4441
|
abi: o,
|
|
4426
4442
|
functionName: "disburseBatch"
|
|
4427
|
-
}),
|
|
4443
|
+
}), en = /* @__PURE__ */ s({
|
|
4428
4444
|
abi: o,
|
|
4429
4445
|
functionName: "grantRoles"
|
|
4430
|
-
}),
|
|
4446
|
+
}), tn = /* @__PURE__ */ s({
|
|
4431
4447
|
abi: o,
|
|
4432
4448
|
functionName: "revokeRoles"
|
|
4433
|
-
}),
|
|
4449
|
+
}), nn = /* @__PURE__ */ s({
|
|
4434
4450
|
abi: o,
|
|
4435
4451
|
functionName: "setAuthorized"
|
|
4436
|
-
}),
|
|
4437
|
-
{ abi:
|
|
4438
|
-
),
|
|
4452
|
+
}), an = /* @__PURE__ */ n(
|
|
4453
|
+
{ abi: Y, functionName: "isAuthorized" }
|
|
4454
|
+
), sn = /* @__PURE__ */ n({
|
|
4439
4455
|
abi: f,
|
|
4440
4456
|
functionName: "claimed"
|
|
4441
|
-
}),
|
|
4457
|
+
}), pn = /* @__PURE__ */ n({
|
|
4442
4458
|
abi: f,
|
|
4443
4459
|
functionName: "claims"
|
|
4444
|
-
}),
|
|
4460
|
+
}), rn = /* @__PURE__ */ n({
|
|
4445
4461
|
abi: f,
|
|
4446
4462
|
functionName: "currentReward"
|
|
4447
|
-
}),
|
|
4463
|
+
}), yn = /* @__PURE__ */ n({
|
|
4448
4464
|
abi: f,
|
|
4449
4465
|
functionName: "isClaimable"
|
|
4450
|
-
}),
|
|
4466
|
+
}), un = /* @__PURE__ */ n({
|
|
4451
4467
|
abi: f,
|
|
4452
4468
|
functionName: "limit"
|
|
4453
|
-
}),
|
|
4469
|
+
}), on = /* @__PURE__ */ n({
|
|
4454
4470
|
abi: f,
|
|
4455
4471
|
functionName: "reward"
|
|
4456
|
-
}),
|
|
4472
|
+
}), ln = /* @__PURE__ */ n({
|
|
4457
4473
|
abi: f,
|
|
4458
4474
|
functionName: "selector"
|
|
4459
|
-
}),
|
|
4475
|
+
}), dn = /* @__PURE__ */ n({
|
|
4460
4476
|
abi: f,
|
|
4461
4477
|
functionName: "venue"
|
|
4462
|
-
}),
|
|
4478
|
+
}), mn = /* @__PURE__ */ p({
|
|
4463
4479
|
abi: f,
|
|
4464
4480
|
functionName: "claim"
|
|
4465
|
-
}),
|
|
4481
|
+
}), cn = /* @__PURE__ */ s({
|
|
4466
4482
|
abi: f,
|
|
4467
4483
|
functionName: "claim"
|
|
4468
|
-
}),
|
|
4484
|
+
}), bn = /* @__PURE__ */ n({
|
|
4469
4485
|
abi: v,
|
|
4470
4486
|
functionName: "hashSignerData"
|
|
4471
|
-
}),
|
|
4487
|
+
}), Tn = /* @__PURE__ */ n({
|
|
4472
4488
|
abi: v,
|
|
4473
4489
|
functionName: "signers"
|
|
4474
|
-
}),
|
|
4490
|
+
}), fn = /* @__PURE__ */ p({
|
|
4475
4491
|
abi: v,
|
|
4476
4492
|
functionName: "setAuthorized"
|
|
4477
|
-
}),
|
|
4493
|
+
}), wn = /* @__PURE__ */ p({
|
|
4478
4494
|
abi: v,
|
|
4479
4495
|
functionName: "setValidatorCaller"
|
|
4480
|
-
}),
|
|
4496
|
+
}), vn = /* @__PURE__ */ p({
|
|
4481
4497
|
abi: v,
|
|
4482
4498
|
functionName: "validate"
|
|
4483
|
-
}),
|
|
4499
|
+
}), In = /* @__PURE__ */ s({
|
|
4484
4500
|
abi: v,
|
|
4485
4501
|
functionName: "setAuthorized"
|
|
4486
|
-
}),
|
|
4502
|
+
}), Mn = /* @__PURE__ */ s({
|
|
4487
4503
|
abi: v,
|
|
4488
4504
|
functionName: "setValidatorCaller"
|
|
4489
|
-
}),
|
|
4505
|
+
}), hn = /* @__PURE__ */ s({
|
|
4490
4506
|
abi: v,
|
|
4491
4507
|
functionName: "validate"
|
|
4492
|
-
}),
|
|
4508
|
+
}), gn = /* @__PURE__ */ n({
|
|
4493
4509
|
abi: N,
|
|
4494
4510
|
functionName: "isAllowed"
|
|
4495
|
-
}),
|
|
4511
|
+
}), Nn = /* @__PURE__ */ p(
|
|
4496
4512
|
{ abi: N, functionName: "grantRoles" }
|
|
4497
|
-
),
|
|
4513
|
+
), On = /* @__PURE__ */ p(
|
|
4498
4514
|
{ abi: N, functionName: "setAllowed" }
|
|
4499
|
-
),
|
|
4515
|
+
), An = /* @__PURE__ */ s({
|
|
4500
4516
|
abi: N,
|
|
4501
4517
|
functionName: "grantRoles"
|
|
4502
|
-
}),
|
|
4518
|
+
}), zn = /* @__PURE__ */ s({
|
|
4503
4519
|
abi: N,
|
|
4504
4520
|
functionName: "setAllowed"
|
|
4505
|
-
}),
|
|
4521
|
+
}), Cn = /* @__PURE__ */ n({
|
|
4506
4522
|
abi: _,
|
|
4507
4523
|
functionName: "isAllowed"
|
|
4508
|
-
}),
|
|
4524
|
+
}), xn = /* @__PURE__ */ p({
|
|
4509
4525
|
abi: _,
|
|
4510
4526
|
functionName: "setDenied"
|
|
4511
|
-
}),
|
|
4527
|
+
}), Rn = /* @__PURE__ */ s({
|
|
4512
4528
|
abi: _,
|
|
4513
4529
|
functionName: "setDenied"
|
|
4514
4530
|
});
|
|
4515
4531
|
export {
|
|
4516
|
-
|
|
4532
|
+
ce as $,
|
|
4517
4533
|
w as A,
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4534
|
+
tn as B,
|
|
4535
|
+
Bt as C,
|
|
4536
|
+
Vt as D,
|
|
4537
|
+
Pt as E,
|
|
4538
|
+
Lt as F,
|
|
4539
|
+
Gt as G,
|
|
4540
|
+
Ut as H,
|
|
4541
|
+
Et as I,
|
|
4542
|
+
Wt as J,
|
|
4543
|
+
Qt as K,
|
|
4544
|
+
St as L,
|
|
4529
4545
|
v as M,
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4546
|
+
ke as N,
|
|
4547
|
+
qt as O,
|
|
4548
|
+
de as P,
|
|
4549
|
+
Te as Q,
|
|
4550
|
+
kt as R,
|
|
4535
4551
|
_ as S,
|
|
4536
4552
|
N as T,
|
|
4537
4553
|
Zt as U,
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4554
|
+
le as V,
|
|
4555
|
+
be as W,
|
|
4556
|
+
ae as X,
|
|
4557
|
+
ue as Y,
|
|
4558
|
+
oe as Z,
|
|
4559
|
+
jt as _,
|
|
4560
|
+
se as a,
|
|
4561
|
+
ft as a$,
|
|
4562
|
+
we as a0,
|
|
4563
|
+
fe as a1,
|
|
4564
|
+
me as a2,
|
|
4565
|
+
gn as a3,
|
|
4566
|
+
zn as a4,
|
|
4551
4567
|
On as a5,
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4568
|
+
An as a6,
|
|
4569
|
+
Nn as a7,
|
|
4570
|
+
Cn as a8,
|
|
4571
|
+
Rn as a9,
|
|
4572
|
+
dt as aA,
|
|
4573
|
+
pt as aB,
|
|
4574
|
+
Tt as aC,
|
|
4575
|
+
mt as aD,
|
|
4560
4576
|
pn as aE,
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4577
|
+
rn as aF,
|
|
4578
|
+
on as aG,
|
|
4579
|
+
sn as aH,
|
|
4580
|
+
dn as aI,
|
|
4581
|
+
un as aJ,
|
|
4582
|
+
ln as aK,
|
|
4583
|
+
cn as aL,
|
|
4584
|
+
mn as aM,
|
|
4585
|
+
yn as aN,
|
|
4586
|
+
Tn as aO,
|
|
4587
|
+
bn as aP,
|
|
4588
|
+
hn as aQ,
|
|
4573
4589
|
vn as aR,
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4590
|
+
In as aS,
|
|
4591
|
+
fn as aT,
|
|
4592
|
+
Mn as aU,
|
|
4593
|
+
wn as aV,
|
|
4594
|
+
gt as aW,
|
|
4595
|
+
Ot as aX,
|
|
4596
|
+
It as aY,
|
|
4597
|
+
vt as aZ,
|
|
4598
|
+
wt as a_,
|
|
4599
|
+
xn as aa,
|
|
4600
|
+
We as ab,
|
|
4601
|
+
$e as ac,
|
|
4602
|
+
Qe as ad,
|
|
4603
|
+
Ve as ae,
|
|
4604
|
+
je as af,
|
|
4605
|
+
Se as ag,
|
|
4606
|
+
Xe as ah,
|
|
4591
4607
|
Ye as ai,
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4608
|
+
Je as aj,
|
|
4609
|
+
et as ak,
|
|
4610
|
+
Ke as al,
|
|
4611
|
+
Ge as am,
|
|
4612
|
+
Ze as an,
|
|
4613
|
+
yt as ao,
|
|
4614
|
+
it as ap,
|
|
4615
|
+
at as aq,
|
|
4616
|
+
nt as ar,
|
|
4617
|
+
tt as as,
|
|
4618
|
+
ot as at,
|
|
4619
|
+
ut as au,
|
|
4620
|
+
rt as av,
|
|
4621
|
+
st as aw,
|
|
4622
|
+
ct as ax,
|
|
4623
|
+
lt as ay,
|
|
4624
|
+
bt as az,
|
|
4609
4625
|
ye as b,
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4626
|
+
Nt as b0,
|
|
4627
|
+
ht as b1,
|
|
4628
|
+
Ct as b2,
|
|
4629
|
+
At as b3,
|
|
4630
|
+
xt as b4,
|
|
4631
|
+
zt as b5,
|
|
4632
|
+
Mt as b6,
|
|
4633
|
+
pe as b7,
|
|
4618
4634
|
z as b8,
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4635
|
+
_t as b9,
|
|
4636
|
+
Rt as ba,
|
|
4637
|
+
Dt as bb,
|
|
4638
|
+
Ht as bc,
|
|
4639
|
+
Re as bd,
|
|
4640
|
+
Oe as be,
|
|
4641
|
+
_e as bf,
|
|
4642
|
+
Ae as bg,
|
|
4643
|
+
Me as bh,
|
|
4644
|
+
he as bi,
|
|
4645
|
+
Ft as bj,
|
|
4646
|
+
Ie as bk,
|
|
4647
|
+
De as bl,
|
|
4648
|
+
Ce as bm,
|
|
4649
|
+
ge as bn,
|
|
4650
|
+
Ne as bo,
|
|
4651
|
+
Fe as bp,
|
|
4652
|
+
xe as bq,
|
|
4653
|
+
ve as br,
|
|
4654
|
+
He as bs,
|
|
4655
|
+
ze as bt,
|
|
4656
|
+
Ue as c,
|
|
4657
|
+
d,
|
|
4658
|
+
Pe as e,
|
|
4659
|
+
m as f,
|
|
4644
4660
|
Le as g,
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4661
|
+
Be as h,
|
|
4662
|
+
qe as i,
|
|
4663
|
+
M as j,
|
|
4664
|
+
an as k,
|
|
4649
4665
|
f as l,
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4666
|
+
Ee as m,
|
|
4667
|
+
Xt as n,
|
|
4668
|
+
ie as o,
|
|
4653
4669
|
o as p,
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4670
|
+
Jt as q,
|
|
4671
|
+
re as r,
|
|
4672
|
+
Kt as s,
|
|
4673
|
+
$t as t,
|
|
4674
|
+
Yt as u,
|
|
4659
4675
|
c as v,
|
|
4660
|
-
|
|
4661
|
-
|
|
4676
|
+
b as w,
|
|
4677
|
+
nn as x,
|
|
4662
4678
|
en as y,
|
|
4663
|
-
|
|
4679
|
+
Y as z
|
|
4664
4680
|
};
|
|
4665
|
-
//# sourceMappingURL=generated-
|
|
4681
|
+
//# sourceMappingURL=generated-CdXG-MpB.js.map
|