@boostxyz/sdk 2.0.0-alpha.29 → 2.0.0-alpha.31
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 +2 -2
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts +3 -1
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +91 -75
- package/dist/Actions/EventAction.js.map +1 -1
- package/dist/AllowLists/AllowList.cjs +1 -1
- package/dist/AllowLists/AllowList.js +3 -3
- package/dist/AllowLists/SimpleAllowList.cjs +1 -1
- package/dist/AllowLists/SimpleAllowList.js +6 -6
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.js +3 -3
- package/dist/Auth/PassthroughAuth.cjs +1 -1
- package/dist/Auth/PassthroughAuth.js +1 -1
- package/dist/BoostCore.cjs +2 -2
- package/dist/BoostCore.cjs.map +1 -1
- package/dist/BoostCore.d.ts +5 -4
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +35 -34
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.js +13 -13
- package/dist/Budgets/Budget.cjs +1 -1
- package/dist/Budgets/Budget.js +2 -2
- package/dist/Budgets/ManagedBudget.cjs +1 -1
- package/dist/Budgets/ManagedBudget.cjs.map +1 -1
- package/dist/Budgets/ManagedBudget.d.ts +4 -3
- package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
- package/dist/Budgets/ManagedBudget.js +25 -25
- package/dist/Budgets/ManagedBudget.js.map +1 -1
- package/dist/Deployable/DeployableTarget.cjs +1 -1
- package/dist/Deployable/DeployableTarget.js +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.js +13 -13
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.js +10 -10
- package/dist/Incentives/CGDAIncentive.cjs +1 -1
- package/dist/Incentives/CGDAIncentive.js +10 -10
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.js +16 -16
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +37 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js +69 -50
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableIncentive.js +6 -6
- package/dist/Incentives/Incentive.cjs +1 -1
- package/dist/Incentives/Incentive.js +2 -2
- package/dist/Incentives/PointsIncentive.cjs +1 -1
- package/dist/Incentives/PointsIncentive.js +8 -8
- package/dist/{SimpleDenyList-DqM-Bczx.cjs → SimpleDenyList-DEOJMCvF.cjs} +2 -2
- package/dist/{SimpleDenyList-DqM-Bczx.cjs.map → SimpleDenyList-DEOJMCvF.cjs.map} +1 -1
- package/dist/{SimpleDenyList-7BojkCuF.js → SimpleDenyList-Ddg3_VkW.js} +13 -13
- package/dist/{SimpleDenyList-7BojkCuF.js.map → SimpleDenyList-Ddg3_VkW.js.map} +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs +1 -1
- package/dist/Validators/LimitedSignerValidator.js +2 -2
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.js +5 -5
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.js +2 -2
- package/dist/{componentInterfaces-BJ_XfE8j.cjs → componentInterfaces-BQw7DH-m.cjs} +2 -2
- package/dist/componentInterfaces-BQw7DH-m.cjs.map +1 -0
- package/dist/componentInterfaces-C0vuWQlh.js +15 -0
- package/dist/componentInterfaces-C0vuWQlh.js.map +1 -0
- package/dist/deployments-DAmmY7Gs.cjs +2 -0
- package/dist/deployments-DAmmY7Gs.cjs.map +1 -0
- package/dist/deployments-ZfLmhZat.js +56 -0
- package/dist/deployments-ZfLmhZat.js.map +1 -0
- package/dist/deployments.json +28 -28
- package/dist/{generated-Dz_g2mFT.js → generated-BwSyxdrd.js} +231 -213
- package/dist/generated-BwSyxdrd.js.map +1 -0
- package/dist/{generated-BSUMIFi5.cjs → generated-CtPS8IvR.cjs} +3 -3
- package/dist/generated-CtPS8IvR.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +16 -16
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.ts +4 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +1 -4
- package/src/Actions/EventAction.test.ts +1 -1
- package/src/Actions/EventAction.ts +20 -0
- package/src/BoostCore.test.ts +7 -7
- package/src/BoostCore.ts +7 -8
- package/src/Budgets/ManagedBudget.ts +7 -3
- package/src/Incentives/ERC20VariableCriteriaIncentive.test.ts +3 -0
- package/src/Incentives/ERC20VariableCriteriaIncentive.ts +36 -0
- package/src/utils.ts +7 -0
- package/dist/componentInterfaces-BJ_XfE8j.cjs.map +0 -1
- package/dist/componentInterfaces-DBJaFhsl.js +0 -15
- package/dist/componentInterfaces-DBJaFhsl.js.map +0 -1
- package/dist/deployments-Ccx1MtoK.js +0 -56
- package/dist/deployments-Ccx1MtoK.js.map +0 -1
- package/dist/deployments-DF_6-7hH.cjs +0 -2
- package/dist/deployments-DF_6-7hH.cjs.map +0 -1
- package/dist/generated-BSUMIFi5.cjs.map +0 -1
- package/dist/generated-Dz_g2mFT.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { simulateContract as
|
|
2
|
-
import { createClient as
|
|
3
|
-
import { parseAccount as
|
|
1
|
+
import { simulateContract as S, readContract as V, writeContract as j } from "viem/actions";
|
|
2
|
+
import { createClient as Z, custom as $ } from "viem";
|
|
3
|
+
import { parseAccount as G, getAddress as Q } from "viem/utils";
|
|
4
4
|
function R(n) {
|
|
5
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) {
|
|
@@ -68,8 +68,8 @@ function H(n, a, e) {
|
|
|
68
68
|
const u = n[e];
|
|
69
69
|
return typeof u == "function" ? u : (y) => a(n, y);
|
|
70
70
|
}
|
|
71
|
-
const
|
|
72
|
-
var
|
|
71
|
+
const W = "2.13.8", J = () => `@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
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
75
|
return e === "m" ? i : e === "a" ? i.call(n) : i ? i.value : a.get(n);
|
|
@@ -79,7 +79,7 @@ class g extends Error {
|
|
|
79
79
|
return "https://wagmi.sh/core";
|
|
80
80
|
}
|
|
81
81
|
get version() {
|
|
82
|
-
return
|
|
82
|
+
return J();
|
|
83
83
|
}
|
|
84
84
|
constructor(a, e = {}) {
|
|
85
85
|
var i;
|
|
@@ -123,13 +123,13 @@ class g 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
|
|
126
|
+
return k(this, A, "m", B).call(this, this, a);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
A = /* @__PURE__ */ new WeakSet(), B = function n(a, e) {
|
|
130
|
-
return e != null && e(a) ? a : a.cause ?
|
|
130
|
+
return e != null && e(a) ? a : a.cause ? k(this, A, "m", n).call(this, a.cause, e) : a;
|
|
131
131
|
};
|
|
132
|
-
class
|
|
132
|
+
class K extends g {
|
|
133
133
|
constructor() {
|
|
134
134
|
super("Connector not connected."), Object.defineProperty(this, "name", {
|
|
135
135
|
enumerable: !0,
|
|
@@ -139,7 +139,7 @@ class J extends g {
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
class
|
|
142
|
+
class X 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 K extends g {
|
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
class
|
|
152
|
+
class Y 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 X extends g {
|
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
class
|
|
167
|
+
class ee extends g {
|
|
168
168
|
constructor({ connector: a }) {
|
|
169
169
|
super(`Connector "${a.name}" unavailable while reconnecting.`, {
|
|
170
170
|
details: [
|
|
@@ -185,41 +185,41 @@ async function F(n, a = {}) {
|
|
|
185
185
|
if (a.connector) {
|
|
186
186
|
const { connector: o } = a;
|
|
187
187
|
if (n.state.status === "reconnecting" && !o.getAccounts && !o.getChainId)
|
|
188
|
-
throw new
|
|
189
|
-
const [N,
|
|
188
|
+
throw new ee({ connector: o });
|
|
189
|
+
const [N, P] = await Promise.all([
|
|
190
190
|
o.getAccounts(),
|
|
191
191
|
o.getChainId()
|
|
192
192
|
]);
|
|
193
193
|
e = {
|
|
194
194
|
accounts: N,
|
|
195
|
-
chainId:
|
|
195
|
+
chainId: P,
|
|
196
196
|
connector: o
|
|
197
197
|
};
|
|
198
198
|
} else
|
|
199
199
|
e = n.state.connections.get(n.state.current);
|
|
200
200
|
if (!e)
|
|
201
|
-
throw new
|
|
201
|
+
throw new K();
|
|
202
202
|
const i = a.chainId ?? e.chainId, u = await e.connector.getChainId();
|
|
203
203
|
if (u !== e.chainId)
|
|
204
|
-
throw new
|
|
204
|
+
throw new Y({
|
|
205
205
|
connectionChainId: e.chainId,
|
|
206
206
|
connectorChainId: u
|
|
207
207
|
});
|
|
208
208
|
const y = e.connector;
|
|
209
209
|
if (y.getClient)
|
|
210
210
|
return y.getClient({ chainId: i });
|
|
211
|
-
const r =
|
|
212
|
-
if (r.address =
|
|
213
|
-
throw new
|
|
211
|
+
const r = G(a.account ?? e.accounts[0]);
|
|
212
|
+
if (r.address = Q(r.address), a.account && !e.accounts.some((o) => o.toLowerCase() === r.address.toLowerCase()))
|
|
213
|
+
throw new X({
|
|
214
214
|
address: r.address,
|
|
215
215
|
connector: y
|
|
216
216
|
});
|
|
217
217
|
const f = n.chains.find((o) => o.id === i), O = await e.connector.getProvider({ chainId: i });
|
|
218
|
-
return
|
|
218
|
+
return Z({
|
|
219
219
|
account: r,
|
|
220
220
|
chain: f,
|
|
221
221
|
name: "Connector Client",
|
|
222
|
-
transport: (o) =>
|
|
222
|
+
transport: (o) => $(O)({ ...o, retryCount: 0 })
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
async function x(n, a) {
|
|
@@ -229,7 +229,7 @@ async function x(n, a) {
|
|
|
229
229
|
chainId: i,
|
|
230
230
|
connector: u
|
|
231
231
|
})).account;
|
|
232
|
-
const f = n.getClient({ chainId: i }), O = H(f,
|
|
232
|
+
const f = n.getClient({ chainId: i }), O = H(f, S, "simulateContract"), { result: o, request: N } = await O({ ...y, abi: e, account: r });
|
|
233
233
|
return {
|
|
234
234
|
chainId: f.chain.id,
|
|
235
235
|
result: o,
|
|
@@ -255,7 +255,7 @@ function s(n) {
|
|
|
255
255
|
}
|
|
256
256
|
function D(n, a) {
|
|
257
257
|
const { chainId: e, ...i } = a, u = n.getClient({ chainId: e });
|
|
258
|
-
return H(u,
|
|
258
|
+
return H(u, V, "readContract")(i);
|
|
259
259
|
}
|
|
260
260
|
function t(n) {
|
|
261
261
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
@@ -274,7 +274,7 @@ function t(n) {
|
|
|
274
274
|
abi: n.abi
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
-
async function
|
|
277
|
+
async function q(n, a) {
|
|
278
278
|
const { account: e, chainId: i, connector: u, __mode: y, ...r } = a;
|
|
279
279
|
let f;
|
|
280
280
|
typeof e == "object" && e.type === "local" ? f = n.getClient({ chainId: i }) : f = await F(n, { account: e, chainId: i, connector: u });
|
|
@@ -301,13 +301,13 @@ function p(n) {
|
|
|
301
301
|
var i;
|
|
302
302
|
const u = _(a), y = R(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,
|
|
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
306
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
307
307
|
address: r ? (i = n.address) == null ? void 0 : i[r] : void 0,
|
|
308
308
|
abi: n.abi
|
|
309
309
|
});
|
|
310
|
-
} : (a, e) =>
|
|
310
|
+
} : (a, e) => q(a, {
|
|
311
311
|
...e,
|
|
312
312
|
...n.address ? { address: n.address } : {},
|
|
313
313
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
@@ -3038,7 +3038,7 @@ const pe = [
|
|
|
3038
3038
|
outputs: [],
|
|
3039
3039
|
stateMutability: "payable"
|
|
3040
3040
|
}
|
|
3041
|
-
],
|
|
3041
|
+
], U = [
|
|
3042
3042
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
3043
3043
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
3044
3044
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -3255,6 +3255,13 @@ const pe = [
|
|
|
3255
3255
|
],
|
|
3256
3256
|
stateMutability: "view"
|
|
3257
3257
|
},
|
|
3258
|
+
{
|
|
3259
|
+
type: "function",
|
|
3260
|
+
inputs: [],
|
|
3261
|
+
name: "getMaxReward",
|
|
3262
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3263
|
+
stateMutability: "view"
|
|
3264
|
+
},
|
|
3258
3265
|
{
|
|
3259
3266
|
type: "function",
|
|
3260
3267
|
inputs: [
|
|
@@ -3342,6 +3349,13 @@ const pe = [
|
|
|
3342
3349
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3343
3350
|
stateMutability: "view"
|
|
3344
3351
|
},
|
|
3352
|
+
{
|
|
3353
|
+
type: "function",
|
|
3354
|
+
inputs: [],
|
|
3355
|
+
name: "maxReward",
|
|
3356
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3357
|
+
stateMutability: "view"
|
|
3358
|
+
},
|
|
3345
3359
|
{
|
|
3346
3360
|
type: "function",
|
|
3347
3361
|
inputs: [],
|
|
@@ -6153,10 +6167,10 @@ const pe = [
|
|
|
6153
6167
|
}), De = /* @__PURE__ */ s({
|
|
6154
6168
|
abi: d,
|
|
6155
6169
|
functionName: "setCreateBoostAuth"
|
|
6156
|
-
}),
|
|
6170
|
+
}), qe = /* @__PURE__ */ s({
|
|
6157
6171
|
abi: d,
|
|
6158
6172
|
functionName: "setProtocolFeeReceiver"
|
|
6159
|
-
}),
|
|
6173
|
+
}), ke = /* @__PURE__ */ t({
|
|
6160
6174
|
abi: M,
|
|
6161
6175
|
functionName: "getBaseImplementation"
|
|
6162
6176
|
}), Be = /* @__PURE__ */ t({
|
|
@@ -6177,10 +6191,10 @@ const pe = [
|
|
|
6177
6191
|
}), Se = /* @__PURE__ */ s({
|
|
6178
6192
|
abi: M,
|
|
6179
6193
|
functionName: "deployClone"
|
|
6180
|
-
}),
|
|
6194
|
+
}), Ve = /* @__PURE__ */ s({
|
|
6181
6195
|
abi: M,
|
|
6182
6196
|
functionName: "register"
|
|
6183
|
-
}),
|
|
6197
|
+
}), je = /* @__PURE__ */ t({
|
|
6184
6198
|
abi: b,
|
|
6185
6199
|
functionName: "asset"
|
|
6186
6200
|
}), Ze = /* @__PURE__ */ t({
|
|
@@ -6266,271 +6280,274 @@ const pe = [
|
|
|
6266
6280
|
abi: l,
|
|
6267
6281
|
functionName: "drawRaffle"
|
|
6268
6282
|
}), vt = /* @__PURE__ */ t({
|
|
6269
|
-
abi:
|
|
6283
|
+
abi: U,
|
|
6270
6284
|
functionName: "getIncentiveCriteria"
|
|
6271
|
-
}), Mt = /* @__PURE__ */ t(
|
|
6285
|
+
}), Mt = /* @__PURE__ */ t({
|
|
6286
|
+
abi: U,
|
|
6287
|
+
functionName: "getMaxReward"
|
|
6288
|
+
}), It = /* @__PURE__ */ t(
|
|
6272
6289
|
{ abi: c, functionName: "asset" }
|
|
6273
|
-
),
|
|
6290
|
+
), ht = /* @__PURE__ */ t({
|
|
6274
6291
|
abi: c,
|
|
6275
6292
|
functionName: "claimed"
|
|
6276
|
-
}),
|
|
6293
|
+
}), gt = /* @__PURE__ */ t({
|
|
6277
6294
|
abi: c,
|
|
6278
6295
|
functionName: "claims"
|
|
6279
|
-
}),
|
|
6296
|
+
}), Ot = /* @__PURE__ */ t({
|
|
6280
6297
|
abi: c,
|
|
6281
6298
|
functionName: "currentReward"
|
|
6282
|
-
}),
|
|
6299
|
+
}), Nt = /* @__PURE__ */ t({
|
|
6283
6300
|
abi: c,
|
|
6284
6301
|
functionName: "isClaimable"
|
|
6285
|
-
}),
|
|
6302
|
+
}), At = /* @__PURE__ */ t(
|
|
6286
6303
|
{ abi: c, functionName: "limit" }
|
|
6287
|
-
),
|
|
6304
|
+
), Rt = /* @__PURE__ */ t(
|
|
6288
6305
|
{ abi: c, functionName: "owner" }
|
|
6289
|
-
),
|
|
6306
|
+
), zt = /* @__PURE__ */ t({
|
|
6290
6307
|
abi: c,
|
|
6291
6308
|
functionName: "reward"
|
|
6292
|
-
}),
|
|
6309
|
+
}), Ct = /* @__PURE__ */ t({
|
|
6293
6310
|
abi: c,
|
|
6294
6311
|
functionName: "totalClaimed"
|
|
6295
|
-
}),
|
|
6312
|
+
}), xt = /* @__PURE__ */ p({
|
|
6296
6313
|
abi: c,
|
|
6297
6314
|
functionName: "claim"
|
|
6298
|
-
}),
|
|
6315
|
+
}), _t = /* @__PURE__ */ p({
|
|
6299
6316
|
abi: c,
|
|
6300
6317
|
functionName: "clawback"
|
|
6301
|
-
}),
|
|
6318
|
+
}), Ht = /* @__PURE__ */ s({
|
|
6302
6319
|
abi: c,
|
|
6303
6320
|
functionName: "claim"
|
|
6304
|
-
}),
|
|
6321
|
+
}), Et = /* @__PURE__ */ s({
|
|
6305
6322
|
abi: c,
|
|
6306
6323
|
functionName: "clawback"
|
|
6307
|
-
}),
|
|
6324
|
+
}), Dt = /* @__PURE__ */ t({
|
|
6308
6325
|
abi: z,
|
|
6309
6326
|
functionName: "getActionClaimant"
|
|
6310
|
-
}),
|
|
6327
|
+
}), qt = /* @__PURE__ */ t({
|
|
6311
6328
|
abi: z,
|
|
6312
6329
|
functionName: "getActionSteps"
|
|
6313
6330
|
}), kt = /* @__PURE__ */ p({
|
|
6314
6331
|
abi: z,
|
|
6315
6332
|
functionName: "execute"
|
|
6316
|
-
}),
|
|
6333
|
+
}), Bt = /* @__PURE__ */ s({
|
|
6317
6334
|
abi: z,
|
|
6318
6335
|
functionName: "execute"
|
|
6319
|
-
}),
|
|
6336
|
+
}), Ft = /* @__PURE__ */ t({
|
|
6320
6337
|
abi: te,
|
|
6321
6338
|
functionName: "isAuthorized"
|
|
6322
|
-
}),
|
|
6339
|
+
}), Lt = /* @__PURE__ */ t({
|
|
6323
6340
|
abi: I,
|
|
6324
6341
|
functionName: "hashSignerData"
|
|
6325
|
-
}),
|
|
6342
|
+
}), Ut = /* @__PURE__ */ t({
|
|
6326
6343
|
abi: I,
|
|
6327
6344
|
functionName: "signers"
|
|
6328
|
-
}),
|
|
6345
|
+
}), Pt = /* @__PURE__ */ p({
|
|
6329
6346
|
abi: I,
|
|
6330
6347
|
functionName: "setAuthorized"
|
|
6331
|
-
}),
|
|
6348
|
+
}), St = /* @__PURE__ */ p({
|
|
6332
6349
|
abi: I,
|
|
6333
6350
|
functionName: "setValidatorCaller"
|
|
6334
|
-
}),
|
|
6351
|
+
}), Vt = /* @__PURE__ */ p({
|
|
6335
6352
|
abi: I,
|
|
6336
6353
|
functionName: "validate"
|
|
6337
6354
|
}), jt = /* @__PURE__ */ s({
|
|
6338
6355
|
abi: I,
|
|
6339
6356
|
functionName: "setAuthorized"
|
|
6340
|
-
}),
|
|
6357
|
+
}), Zt = /* @__PURE__ */ s({
|
|
6341
6358
|
abi: I,
|
|
6342
6359
|
functionName: "setValidatorCaller"
|
|
6343
|
-
}),
|
|
6360
|
+
}), $t = /* @__PURE__ */ s({
|
|
6344
6361
|
abi: I,
|
|
6345
6362
|
functionName: "validate"
|
|
6346
|
-
}),
|
|
6363
|
+
}), Gt = /* @__PURE__ */ t({
|
|
6347
6364
|
abi: T,
|
|
6348
6365
|
functionName: "available"
|
|
6349
|
-
}),
|
|
6366
|
+
}), Qt = /* @__PURE__ */ t({
|
|
6350
6367
|
abi: T,
|
|
6351
6368
|
functionName: "distributed"
|
|
6352
|
-
}),
|
|
6369
|
+
}), Wt = /* @__PURE__ */ t({
|
|
6353
6370
|
abi: T,
|
|
6354
6371
|
functionName: "owner"
|
|
6355
|
-
}),
|
|
6372
|
+
}), Jt = /* @__PURE__ */ t({
|
|
6356
6373
|
abi: T,
|
|
6357
6374
|
functionName: "total"
|
|
6358
|
-
}),
|
|
6375
|
+
}), Kt = /* @__PURE__ */ p({
|
|
6359
6376
|
abi: T,
|
|
6360
6377
|
functionName: "allocate"
|
|
6361
|
-
}),
|
|
6378
|
+
}), Xt = /* @__PURE__ */ p({
|
|
6362
6379
|
abi: T,
|
|
6363
6380
|
functionName: "clawback"
|
|
6364
|
-
}),
|
|
6381
|
+
}), Yt = /* @__PURE__ */ p({
|
|
6365
6382
|
abi: T,
|
|
6366
6383
|
functionName: "disburse"
|
|
6367
|
-
}),
|
|
6384
|
+
}), en = /* @__PURE__ */ p({
|
|
6368
6385
|
abi: T,
|
|
6369
6386
|
functionName: "disburseBatch"
|
|
6370
|
-
}),
|
|
6387
|
+
}), tn = /* @__PURE__ */ s({
|
|
6371
6388
|
abi: T,
|
|
6372
6389
|
functionName: "allocate"
|
|
6373
|
-
}),
|
|
6390
|
+
}), nn = /* @__PURE__ */ s({
|
|
6374
6391
|
abi: T,
|
|
6375
6392
|
functionName: "clawback"
|
|
6376
|
-
}),
|
|
6393
|
+
}), an = /* @__PURE__ */ s({
|
|
6377
6394
|
abi: T,
|
|
6378
6395
|
functionName: "disburse"
|
|
6379
|
-
}),
|
|
6396
|
+
}), sn = /* @__PURE__ */ s({
|
|
6380
6397
|
abi: T,
|
|
6381
6398
|
functionName: "disburseBatch"
|
|
6382
|
-
}),
|
|
6399
|
+
}), pn = /* @__PURE__ */ t(
|
|
6383
6400
|
{ abi: ne, functionName: "isAuthorized" }
|
|
6384
|
-
),
|
|
6401
|
+
), rn = /* @__PURE__ */ t({
|
|
6385
6402
|
abi: w,
|
|
6386
6403
|
functionName: "claimed"
|
|
6387
|
-
}),
|
|
6404
|
+
}), un = /* @__PURE__ */ t({
|
|
6388
6405
|
abi: w,
|
|
6389
6406
|
functionName: "claims"
|
|
6390
|
-
}),
|
|
6407
|
+
}), yn = /* @__PURE__ */ t({
|
|
6391
6408
|
abi: w,
|
|
6392
6409
|
functionName: "currentReward"
|
|
6393
|
-
}),
|
|
6410
|
+
}), on = /* @__PURE__ */ t({
|
|
6394
6411
|
abi: w,
|
|
6395
6412
|
functionName: "isClaimable"
|
|
6396
|
-
}),
|
|
6413
|
+
}), ln = /* @__PURE__ */ t({
|
|
6397
6414
|
abi: w,
|
|
6398
6415
|
functionName: "limit"
|
|
6399
|
-
}),
|
|
6416
|
+
}), dn = /* @__PURE__ */ t({
|
|
6400
6417
|
abi: w,
|
|
6401
6418
|
functionName: "reward"
|
|
6402
|
-
}),
|
|
6419
|
+
}), mn = /* @__PURE__ */ t({
|
|
6403
6420
|
abi: w,
|
|
6404
6421
|
functionName: "selector"
|
|
6405
|
-
}),
|
|
6422
|
+
}), bn = /* @__PURE__ */ t({
|
|
6406
6423
|
abi: w,
|
|
6407
6424
|
functionName: "venue"
|
|
6408
|
-
}),
|
|
6425
|
+
}), cn = /* @__PURE__ */ p({
|
|
6409
6426
|
abi: w,
|
|
6410
6427
|
functionName: "claim"
|
|
6411
|
-
}),
|
|
6428
|
+
}), Tn = /* @__PURE__ */ s({
|
|
6412
6429
|
abi: w,
|
|
6413
6430
|
functionName: "claim"
|
|
6414
|
-
}),
|
|
6431
|
+
}), fn = /* @__PURE__ */ t({
|
|
6415
6432
|
abi: m,
|
|
6416
6433
|
functionName: "hasAllRoles"
|
|
6417
|
-
}),
|
|
6434
|
+
}), wn = /* @__PURE__ */ t({
|
|
6418
6435
|
abi: m,
|
|
6419
6436
|
functionName: "hasAnyRole"
|
|
6420
|
-
}),
|
|
6437
|
+
}), vn = /* @__PURE__ */ t({
|
|
6421
6438
|
abi: m,
|
|
6422
6439
|
functionName: "isAuthorized"
|
|
6423
|
-
}),
|
|
6440
|
+
}), Mn = /* @__PURE__ */ t({
|
|
6424
6441
|
abi: m,
|
|
6425
6442
|
functionName: "rolesOf"
|
|
6426
|
-
}),
|
|
6443
|
+
}), In = /* @__PURE__ */ p({
|
|
6427
6444
|
abi: m,
|
|
6428
6445
|
functionName: "grantManyRoles"
|
|
6429
|
-
}),
|
|
6446
|
+
}), hn = /* @__PURE__ */ p({
|
|
6430
6447
|
abi: m,
|
|
6431
6448
|
functionName: "grantRoles"
|
|
6432
|
-
}),
|
|
6449
|
+
}), gn = /* @__PURE__ */ p({
|
|
6433
6450
|
abi: m,
|
|
6434
6451
|
functionName: "revokeManyRoles"
|
|
6435
|
-
}),
|
|
6452
|
+
}), On = /* @__PURE__ */ p({
|
|
6436
6453
|
abi: m,
|
|
6437
6454
|
functionName: "revokeRoles"
|
|
6438
|
-
}),
|
|
6455
|
+
}), Nn = /* @__PURE__ */ p({
|
|
6439
6456
|
abi: m,
|
|
6440
6457
|
functionName: "setAuthorized"
|
|
6441
|
-
}),
|
|
6458
|
+
}), An = /* @__PURE__ */ s({
|
|
6442
6459
|
abi: m,
|
|
6443
6460
|
functionName: "grantManyRoles"
|
|
6444
|
-
}),
|
|
6461
|
+
}), Rn = /* @__PURE__ */ s({
|
|
6445
6462
|
abi: m,
|
|
6446
6463
|
functionName: "grantRoles"
|
|
6447
|
-
}),
|
|
6464
|
+
}), zn = /* @__PURE__ */ s(
|
|
6448
6465
|
{ abi: m, functionName: "revokeManyRoles" }
|
|
6449
|
-
),
|
|
6466
|
+
), Cn = /* @__PURE__ */ s({
|
|
6450
6467
|
abi: m,
|
|
6451
6468
|
functionName: "revokeRoles"
|
|
6452
|
-
}),
|
|
6469
|
+
}), xn = /* @__PURE__ */ s({
|
|
6453
6470
|
abi: m,
|
|
6454
6471
|
functionName: "setAuthorized"
|
|
6455
|
-
}),
|
|
6472
|
+
}), _n = /* @__PURE__ */ t({
|
|
6456
6473
|
abi: h,
|
|
6457
6474
|
functionName: "hashSignerData"
|
|
6458
|
-
}),
|
|
6475
|
+
}), Hn = /* @__PURE__ */ t({
|
|
6459
6476
|
abi: h,
|
|
6460
6477
|
functionName: "signers"
|
|
6461
|
-
}),
|
|
6478
|
+
}), En = /* @__PURE__ */ p({
|
|
6462
6479
|
abi: h,
|
|
6463
6480
|
functionName: "setAuthorized"
|
|
6464
|
-
}),
|
|
6481
|
+
}), Dn = /* @__PURE__ */ p({
|
|
6465
6482
|
abi: h,
|
|
6466
6483
|
functionName: "setValidatorCaller"
|
|
6467
|
-
}),
|
|
6484
|
+
}), qn = /* @__PURE__ */ p({
|
|
6468
6485
|
abi: h,
|
|
6469
6486
|
functionName: "validate"
|
|
6470
6487
|
}), kn = /* @__PURE__ */ s({
|
|
6471
6488
|
abi: h,
|
|
6472
6489
|
functionName: "setAuthorized"
|
|
6473
|
-
}),
|
|
6490
|
+
}), Bn = /* @__PURE__ */ s({
|
|
6474
6491
|
abi: h,
|
|
6475
6492
|
functionName: "setValidatorCaller"
|
|
6476
|
-
}),
|
|
6493
|
+
}), Fn = /* @__PURE__ */ s({
|
|
6477
6494
|
abi: h,
|
|
6478
6495
|
functionName: "validate"
|
|
6479
|
-
}),
|
|
6496
|
+
}), Ln = /* @__PURE__ */ t({
|
|
6480
6497
|
abi: C,
|
|
6481
6498
|
functionName: "isAllowed"
|
|
6482
|
-
}),
|
|
6499
|
+
}), Un = /* @__PURE__ */ t({
|
|
6483
6500
|
abi: C,
|
|
6484
6501
|
functionName: "owner"
|
|
6485
|
-
}),
|
|
6502
|
+
}), Pn = /* @__PURE__ */ p(
|
|
6486
6503
|
{ abi: C, functionName: "setAllowed" }
|
|
6487
|
-
),
|
|
6504
|
+
), Sn = /* @__PURE__ */ s({
|
|
6488
6505
|
abi: C,
|
|
6489
6506
|
functionName: "setAllowed"
|
|
6490
|
-
}),
|
|
6507
|
+
}), Vn = /* @__PURE__ */ t({
|
|
6491
6508
|
abi: E,
|
|
6492
6509
|
functionName: "isAllowed"
|
|
6493
6510
|
}), jn = /* @__PURE__ */ p({
|
|
6494
6511
|
abi: E,
|
|
6495
6512
|
functionName: "setDenied"
|
|
6496
|
-
}),
|
|
6513
|
+
}), Zn = /* @__PURE__ */ s({
|
|
6497
6514
|
abi: E,
|
|
6498
6515
|
functionName: "setDenied"
|
|
6499
6516
|
});
|
|
6500
6517
|
export {
|
|
6501
|
-
|
|
6518
|
+
nn as $,
|
|
6502
6519
|
d as A,
|
|
6503
6520
|
Rn as B,
|
|
6504
6521
|
v as C,
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6522
|
+
xn as D,
|
|
6523
|
+
Xt as E,
|
|
6524
|
+
an as F,
|
|
6525
|
+
Fe as G,
|
|
6526
|
+
Yt as H,
|
|
6510
6527
|
hn as I,
|
|
6511
6528
|
ye as J,
|
|
6512
|
-
|
|
6513
|
-
|
|
6529
|
+
Se as K,
|
|
6530
|
+
sn as L,
|
|
6514
6531
|
E as M,
|
|
6515
|
-
|
|
6532
|
+
en as N,
|
|
6516
6533
|
m as O,
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6534
|
+
Be as P,
|
|
6535
|
+
Ue as Q,
|
|
6536
|
+
On as R,
|
|
6520
6537
|
h as S,
|
|
6521
6538
|
w as T,
|
|
6522
|
-
|
|
6539
|
+
Le as U,
|
|
6523
6540
|
ne as V,
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6541
|
+
Pe as W,
|
|
6542
|
+
Ve as X,
|
|
6543
|
+
Wt as Y,
|
|
6544
|
+
tn as Z,
|
|
6545
|
+
Cn as _,
|
|
6546
|
+
Nn as a,
|
|
6530
6547
|
un as a$,
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6548
|
+
Jt as a0,
|
|
6549
|
+
Gt as a1,
|
|
6550
|
+
Qt as a2,
|
|
6534
6551
|
we as a3,
|
|
6535
6552
|
ce as a4,
|
|
6536
6553
|
ve as a5,
|
|
@@ -6551,34 +6568,34 @@ export {
|
|
|
6551
6568
|
wt as aK,
|
|
6552
6569
|
ct as aL,
|
|
6553
6570
|
vt as aM,
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6571
|
+
Mt as aN,
|
|
6572
|
+
Rt as aO,
|
|
6573
|
+
Ct as aP,
|
|
6574
|
+
Ot as aQ,
|
|
6575
|
+
gt as aR,
|
|
6576
|
+
ht as aS,
|
|
6577
|
+
It as aT,
|
|
6578
|
+
zt as aU,
|
|
6579
|
+
At as aV,
|
|
6580
|
+
Ht as aW,
|
|
6581
|
+
xt as aX,
|
|
6582
|
+
Et as aY,
|
|
6583
|
+
_t as aZ,
|
|
6584
|
+
Nt as a_,
|
|
6568
6585
|
Me as aa,
|
|
6569
6586
|
Te as ab,
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6587
|
+
Un as ac,
|
|
6588
|
+
Ln as ad,
|
|
6589
|
+
Sn as ae,
|
|
6590
|
+
Pn as af,
|
|
6591
|
+
Vn as ag,
|
|
6592
|
+
Zn as ah,
|
|
6576
6593
|
jn as ai,
|
|
6577
6594
|
Je as aj,
|
|
6578
6595
|
Ge as ak,
|
|
6579
6596
|
Ke as al,
|
|
6580
6597
|
$e as am,
|
|
6581
|
-
|
|
6598
|
+
je as an,
|
|
6582
6599
|
Ze as ao,
|
|
6583
6600
|
Xe as ap,
|
|
6584
6601
|
tt as aq,
|
|
@@ -6591,74 +6608,75 @@ export {
|
|
|
6591
6608
|
pt as ax,
|
|
6592
6609
|
st as ay,
|
|
6593
6610
|
it as az,
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
En as
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
Pt as
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
qt as
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6611
|
+
ue as b,
|
|
6612
|
+
yn as b0,
|
|
6613
|
+
dn as b1,
|
|
6614
|
+
rn as b2,
|
|
6615
|
+
bn as b3,
|
|
6616
|
+
ln as b4,
|
|
6617
|
+
mn as b5,
|
|
6618
|
+
Tn as b6,
|
|
6619
|
+
cn as b7,
|
|
6620
|
+
on as b8,
|
|
6621
|
+
Hn as b9,
|
|
6622
|
+
Oe as bA,
|
|
6623
|
+
Ft as bB,
|
|
6624
|
+
he as bC,
|
|
6625
|
+
De as bD,
|
|
6626
|
+
Ce as bE,
|
|
6627
|
+
Ne as bF,
|
|
6628
|
+
Ae as bG,
|
|
6629
|
+
qe as bH,
|
|
6630
|
+
xe as bI,
|
|
6631
|
+
_n as ba,
|
|
6632
|
+
Fn as bb,
|
|
6633
|
+
qn as bc,
|
|
6634
|
+
kn as bd,
|
|
6635
|
+
En as be,
|
|
6636
|
+
Bn as bf,
|
|
6637
|
+
Dn as bg,
|
|
6638
|
+
Ut as bh,
|
|
6639
|
+
Lt as bi,
|
|
6640
|
+
$t as bj,
|
|
6641
|
+
Vt as bk,
|
|
6642
|
+
jt as bl,
|
|
6643
|
+
Pt as bm,
|
|
6644
|
+
Zt as bn,
|
|
6645
|
+
St as bo,
|
|
6646
|
+
z as bp,
|
|
6647
|
+
qt as bq,
|
|
6648
|
+
Dt as br,
|
|
6649
|
+
Bt as bs,
|
|
6650
|
+
kt as bt,
|
|
6651
|
+
Ee as bu,
|
|
6652
|
+
_e as bv,
|
|
6653
|
+
Re as bw,
|
|
6654
|
+
He as bx,
|
|
6655
|
+
ze as by,
|
|
6656
|
+
ge as bz,
|
|
6657
|
+
U as c,
|
|
6658
|
+
l as d,
|
|
6641
6659
|
In as e,
|
|
6642
6660
|
b as f,
|
|
6643
6661
|
C as g,
|
|
6644
|
-
|
|
6662
|
+
gn as h,
|
|
6645
6663
|
pe as i,
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6664
|
+
Mn as j,
|
|
6665
|
+
zn as k,
|
|
6666
|
+
wn as l,
|
|
6667
|
+
T as m,
|
|
6668
|
+
vn as n,
|
|
6651
6669
|
M as o,
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6670
|
+
oe as p,
|
|
6671
|
+
de as q,
|
|
6672
|
+
le as r,
|
|
6673
|
+
ke as s,
|
|
6674
|
+
pn as t,
|
|
6675
|
+
re as u,
|
|
6658
6676
|
c as v,
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6677
|
+
Kt as w,
|
|
6678
|
+
An as x,
|
|
6679
|
+
fn as y,
|
|
6662
6680
|
I as z
|
|
6663
6681
|
};
|
|
6664
|
-
//# sourceMappingURL=generated-
|
|
6682
|
+
//# sourceMappingURL=generated-BwSyxdrd.js.map
|