@boostxyz/sdk 0.0.0-alpha.15 → 0.0.0-alpha.16
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/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.js +142 -44
- 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 +9 -0
- package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleAllowList.js +46 -29
- package/dist/AllowLists/SimpleAllowList.js.map +1 -1
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.d.ts +9 -0
- 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/BoostCore.cjs +1 -1
- package/dist/BoostCore.js +37 -37
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.js +1 -1
- 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.js +1 -1
- package/dist/Deployable/DeployableTarget.cjs +1 -1
- package/dist/Deployable/DeployableTarget.js +1 -1
- package/dist/{Incentive-BroOQqVi.cjs → Incentive-CqX3fYEd.cjs} +2 -2
- package/dist/{Incentive-BroOQqVi.cjs.map → Incentive-CqX3fYEd.cjs.map} +1 -1
- package/dist/{Incentive-CSnbCt3P.js → Incentive-CtuAJAjG.js} +2 -2
- package/dist/{Incentive-CSnbCt3P.js.map → Incentive-CtuAJAjG.js.map} +1 -1
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.js +2 -2
- package/dist/Incentives/CGDAIncentive.cjs +1 -1
- package/dist/Incentives/CGDAIncentive.js +1 -1
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.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 +1 -1
- package/dist/{SimpleDenyList-CzNNbmmV.cjs → SimpleDenyList-9UIxZZKP.cjs} +2 -2
- package/dist/SimpleDenyList-9UIxZZKP.cjs.map +1 -0
- package/dist/{SimpleDenyList-sfskWLfa.js → SimpleDenyList-DGPNc7ov.js} +43 -26
- package/dist/SimpleDenyList-DGPNc7ov.js.map +1 -0
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.js +1 -1
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.js +1 -1
- package/dist/{generated-BulULVyy.cjs → generated-BLg7yPgI.cjs} +2 -2
- package/dist/{generated-BulULVyy.cjs.map → generated-BLg7yPgI.cjs.map} +1 -1
- package/dist/{generated-CdXG-MpB.js → generated-DLMdMwD1.js} +115 -111
- package/dist/{generated-CdXG-MpB.js.map → generated-DLMdMwD1.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/package.json +4 -4
- package/src/AllowLists/SimpleAllowList.ts +20 -0
- package/src/AllowLists/SimpleDenyList.ts +21 -0
- package/dist/SimpleDenyList-CzNNbmmV.cjs.map +0 -1
- package/dist/SimpleDenyList-sfskWLfa.js.map +0 -1
|
@@ -186,12 +186,12 @@ async function q(t, a = {}) {
|
|
|
186
186
|
const { connector: l } = a;
|
|
187
187
|
if (t.state.status === "reconnecting" && !l.getAccounts && !l.getChainId)
|
|
188
188
|
throw new J({ connector: l });
|
|
189
|
-
const [
|
|
189
|
+
const [N, P] = await Promise.all([
|
|
190
190
|
l.getAccounts(),
|
|
191
191
|
l.getChainId()
|
|
192
192
|
]);
|
|
193
193
|
e = {
|
|
194
|
-
accounts:
|
|
194
|
+
accounts: N,
|
|
195
195
|
chainId: P,
|
|
196
196
|
connector: l
|
|
197
197
|
};
|
|
@@ -229,11 +229,11 @@ async function C(t, a) {
|
|
|
229
229
|
chainId: i,
|
|
230
230
|
connector: y
|
|
231
231
|
})).account;
|
|
232
|
-
const T = t.getClient({ chainId: i }), h = R(T, k, "simulateContract"), { result: l, request:
|
|
232
|
+
const T = t.getClient({ chainId: i }), h = R(T, k, "simulateContract"), { result: l, request: N } = await h({ ...u, abi: e, account: r });
|
|
233
233
|
return {
|
|
234
234
|
chainId: T.chain.id,
|
|
235
235
|
result: l,
|
|
236
|
-
request: { __mode: "prepared", ...
|
|
236
|
+
request: { __mode: "prepared", ...N, chainId: i }
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
239
|
function s(t) {
|
|
@@ -283,12 +283,12 @@ async function D(t, a) {
|
|
|
283
283
|
if (u === "prepared" || h != null && h.supportsSimulation)
|
|
284
284
|
l = r;
|
|
285
285
|
else {
|
|
286
|
-
const { request:
|
|
286
|
+
const { request: N } = await C(t, {
|
|
287
287
|
...r,
|
|
288
288
|
account: e,
|
|
289
289
|
chainId: i
|
|
290
290
|
});
|
|
291
|
-
l =
|
|
291
|
+
l = N;
|
|
292
292
|
}
|
|
293
293
|
return await R(T, U, "writeContract")({
|
|
294
294
|
...l,
|
|
@@ -3744,7 +3744,7 @@ const ae = [
|
|
|
3744
3744
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3745
3745
|
stateMutability: "nonpayable"
|
|
3746
3746
|
}
|
|
3747
|
-
],
|
|
3747
|
+
], g = [
|
|
3748
3748
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
3749
3749
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
3750
3750
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -4506,25 +4506,28 @@ const ae = [
|
|
|
4506
4506
|
abi: v,
|
|
4507
4507
|
functionName: "validate"
|
|
4508
4508
|
}), gn = /* @__PURE__ */ n({
|
|
4509
|
-
abi:
|
|
4509
|
+
abi: g,
|
|
4510
4510
|
functionName: "isAllowed"
|
|
4511
|
-
}), Nn = /* @__PURE__ */
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4511
|
+
}), Nn = /* @__PURE__ */ n({
|
|
4512
|
+
abi: g,
|
|
4513
|
+
functionName: "owner"
|
|
4514
|
+
}), On = /* @__PURE__ */ p(
|
|
4515
|
+
{ abi: g, functionName: "grantRoles" }
|
|
4516
|
+
), An = /* @__PURE__ */ p(
|
|
4517
|
+
{ abi: g, functionName: "setAllowed" }
|
|
4518
|
+
), zn = /* @__PURE__ */ s({
|
|
4519
|
+
abi: g,
|
|
4517
4520
|
functionName: "grantRoles"
|
|
4518
|
-
}),
|
|
4519
|
-
abi:
|
|
4521
|
+
}), Cn = /* @__PURE__ */ s({
|
|
4522
|
+
abi: g,
|
|
4520
4523
|
functionName: "setAllowed"
|
|
4521
|
-
}),
|
|
4524
|
+
}), xn = /* @__PURE__ */ n({
|
|
4522
4525
|
abi: _,
|
|
4523
4526
|
functionName: "isAllowed"
|
|
4524
|
-
}),
|
|
4527
|
+
}), Rn = /* @__PURE__ */ p({
|
|
4525
4528
|
abi: _,
|
|
4526
4529
|
functionName: "setDenied"
|
|
4527
|
-
}),
|
|
4530
|
+
}), _n = /* @__PURE__ */ s({
|
|
4528
4531
|
abi: _,
|
|
4529
4532
|
functionName: "setDenied"
|
|
4530
4533
|
});
|
|
@@ -4549,7 +4552,7 @@ export {
|
|
|
4549
4552
|
Te as Q,
|
|
4550
4553
|
kt as R,
|
|
4551
4554
|
_ as S,
|
|
4552
|
-
|
|
4555
|
+
g as T,
|
|
4553
4556
|
Zt as U,
|
|
4554
4557
|
le as V,
|
|
4555
4558
|
be as W,
|
|
@@ -4558,101 +4561,102 @@ export {
|
|
|
4558
4561
|
oe as Z,
|
|
4559
4562
|
jt as _,
|
|
4560
4563
|
se as a,
|
|
4561
|
-
|
|
4564
|
+
wt as a$,
|
|
4562
4565
|
we as a0,
|
|
4563
4566
|
fe as a1,
|
|
4564
4567
|
me as a2,
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
+
Nn as a3,
|
|
4569
|
+
gn as a4,
|
|
4570
|
+
Cn as a5,
|
|
4568
4571
|
An as a6,
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4572
|
+
zn as a7,
|
|
4573
|
+
On as a8,
|
|
4574
|
+
xn as a9,
|
|
4575
|
+
bt as aA,
|
|
4576
|
+
dt as aB,
|
|
4577
|
+
pt as aC,
|
|
4578
|
+
Tt as aD,
|
|
4579
|
+
mt as aE,
|
|
4580
|
+
pn as aF,
|
|
4581
|
+
rn as aG,
|
|
4582
|
+
on as aH,
|
|
4583
|
+
sn as aI,
|
|
4584
|
+
dn as aJ,
|
|
4585
|
+
un as aK,
|
|
4586
|
+
ln as aL,
|
|
4587
|
+
cn as aM,
|
|
4588
|
+
mn as aN,
|
|
4589
|
+
yn as aO,
|
|
4590
|
+
Tn as aP,
|
|
4591
|
+
bn as aQ,
|
|
4592
|
+
hn as aR,
|
|
4593
|
+
vn as aS,
|
|
4594
|
+
In as aT,
|
|
4595
|
+
fn as aU,
|
|
4596
|
+
Mn as aV,
|
|
4597
|
+
wn as aW,
|
|
4598
|
+
gt as aX,
|
|
4599
|
+
Ot as aY,
|
|
4600
|
+
It as aZ,
|
|
4601
|
+
vt as a_,
|
|
4602
|
+
_n as aa,
|
|
4603
|
+
Rn as ab,
|
|
4604
|
+
We as ac,
|
|
4605
|
+
$e as ad,
|
|
4606
|
+
Qe as ae,
|
|
4607
|
+
Ve as af,
|
|
4608
|
+
je as ag,
|
|
4609
|
+
Se as ah,
|
|
4610
|
+
Xe as ai,
|
|
4611
|
+
Ye as aj,
|
|
4612
|
+
Je as ak,
|
|
4613
|
+
et as al,
|
|
4614
|
+
Ke as am,
|
|
4615
|
+
Ge as an,
|
|
4616
|
+
Ze as ao,
|
|
4617
|
+
yt as ap,
|
|
4618
|
+
it as aq,
|
|
4619
|
+
at as ar,
|
|
4620
|
+
nt as as,
|
|
4621
|
+
tt as at,
|
|
4622
|
+
ot as au,
|
|
4623
|
+
ut as av,
|
|
4624
|
+
rt as aw,
|
|
4625
|
+
st as ax,
|
|
4626
|
+
ct as ay,
|
|
4627
|
+
lt as az,
|
|
4625
4628
|
ye as b,
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4629
|
+
ft as b0,
|
|
4630
|
+
Nt as b1,
|
|
4631
|
+
ht as b2,
|
|
4632
|
+
Ct as b3,
|
|
4633
|
+
At as b4,
|
|
4634
|
+
xt as b5,
|
|
4635
|
+
zt as b6,
|
|
4636
|
+
Mt as b7,
|
|
4637
|
+
pe as b8,
|
|
4638
|
+
z as b9,
|
|
4639
|
+
_t as ba,
|
|
4640
|
+
Rt as bb,
|
|
4641
|
+
Dt as bc,
|
|
4642
|
+
Ht as bd,
|
|
4643
|
+
Re as be,
|
|
4644
|
+
Oe as bf,
|
|
4645
|
+
_e as bg,
|
|
4646
|
+
Ae as bh,
|
|
4647
|
+
Me as bi,
|
|
4648
|
+
he as bj,
|
|
4649
|
+
Ft as bk,
|
|
4650
|
+
Ie as bl,
|
|
4651
|
+
De as bm,
|
|
4652
|
+
Ce as bn,
|
|
4653
|
+
ge as bo,
|
|
4654
|
+
Ne as bp,
|
|
4655
|
+
Fe as bq,
|
|
4656
|
+
xe as br,
|
|
4657
|
+
ve as bs,
|
|
4658
|
+
He as bt,
|
|
4659
|
+
ze as bu,
|
|
4656
4660
|
Ue as c,
|
|
4657
4661
|
d,
|
|
4658
4662
|
Pe as e,
|
|
@@ -4678,4 +4682,4 @@ export {
|
|
|
4678
4682
|
en as y,
|
|
4679
4683
|
Y as z
|
|
4680
4684
|
};
|
|
4681
|
-
//# sourceMappingURL=generated-
|
|
4685
|
+
//# sourceMappingURL=generated-DLMdMwD1.js.map
|