@boostxyz/sdk 3.0.0 → 5.0.0
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.js +16 -16
- 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.js +12 -12
- 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 +20 -0
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +32 -32
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.js +4 -4
- package/dist/{Budget-Dw3jHqDC.cjs → Budget-Cnyh81n5.cjs} +2 -2
- package/dist/{Budget-Dw3jHqDC.cjs.map → Budget-Cnyh81n5.cjs.map} +1 -1
- package/dist/{Budget-DGPItPqt.js → Budget-fHCvlPfB.js} +28 -28
- package/dist/{Budget-DGPItPqt.js.map → Budget-fHCvlPfB.js.map} +1 -1
- 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.js +17 -17
- 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 +15 -15
- package/dist/{Incentive-Dxw1wwbl.js → Incentive-M45PaQsT.js} +32 -32
- package/dist/{Incentive-Dxw1wwbl.js.map → Incentive-M45PaQsT.js.map} +1 -1
- package/dist/{Incentive-BNm7fgJh.cjs → Incentive-axLU7ndr.cjs} +2 -2
- package/dist/{Incentive-BNm7fgJh.cjs.map → Incentive-axLU7ndr.cjs.map} +1 -1
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.js +7 -7
- 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.js +2 -2
- package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableIncentive.js +4 -4
- 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 +12 -12
- package/dist/{SimpleDenyList-S6braCCk.cjs → SimpleDenyList-CgQvS1ek.cjs} +2 -2
- package/dist/{SimpleDenyList-S6braCCk.cjs.map → SimpleDenyList-CgQvS1ek.cjs.map} +1 -1
- package/dist/{SimpleDenyList-CUvdsCvZ.js → SimpleDenyList-GZlSeh2G.js} +11 -11
- package/dist/{SimpleDenyList-CUvdsCvZ.js.map → SimpleDenyList-GZlSeh2G.js.map} +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs +1 -1
- package/dist/Validators/LimitedSignerValidator.js +13 -13
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.js +11 -11
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.js +1 -1
- package/dist/deployments-CMdsItcq.cjs +2 -0
- package/dist/deployments-CMdsItcq.cjs.map +1 -0
- package/dist/deployments-DzhmI-zL.js +102 -0
- package/dist/deployments-DzhmI-zL.js.map +1 -0
- package/dist/deployments.json +48 -48
- package/dist/generated-CNkDfjzI.cjs +3 -0
- package/dist/generated-CNkDfjzI.cjs.map +1 -0
- package/dist/{generated-D2xuTYvu.js → generated-Hbd0NIf9.js} +168 -154
- package/dist/generated-Hbd0NIf9.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +11 -11
- package/package.json +1 -1
- package/dist/deployments-C7-jUofW.cjs +0 -2
- package/dist/deployments-C7-jUofW.cjs.map +0 -1
- package/dist/deployments-Dcywzp8T.js +0 -102
- package/dist/deployments-Dcywzp8T.js.map +0 -1
- package/dist/generated-D2xuTYvu.js.map +0 -1
- package/dist/generated-DAZo6jo9.cjs +0 -3
- package/dist/generated-DAZo6jo9.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { simulateContract as
|
|
2
|
-
import { createClient as Y, custom as
|
|
3
|
-
import { parseAccount as
|
|
1
|
+
import { simulateContract as Z, readContract as G, writeContract as $ } from "viem/actions";
|
|
2
|
+
import { createClient as Y, custom as Q } from "viem";
|
|
3
|
+
import { parseAccount as W, getAddress as K } from "viem/utils";
|
|
4
4
|
function C(n) {
|
|
5
5
|
const a = n.state.current, e = n.state.connections.get(a), p = e == null ? void 0 : e.accounts, y = p == null ? void 0 : p[0], u = n.chains.find((w) => w.id === (e == null ? void 0 : e.chainId)), r = n.state.status;
|
|
6
6
|
switch (r) {
|
|
@@ -58,10 +58,10 @@ function C(n) {
|
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function F(n) {
|
|
62
62
|
return n.state.chainId;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function k(n, a, e) {
|
|
65
65
|
const p = n[a.name];
|
|
66
66
|
if (typeof p == "function")
|
|
67
67
|
return p;
|
|
@@ -180,19 +180,19 @@ class ae extends A {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
async function
|
|
183
|
+
async function U(n, a = {}) {
|
|
184
184
|
let e;
|
|
185
185
|
if (a.connector) {
|
|
186
186
|
const { connector: o } = a;
|
|
187
187
|
if (n.state.status === "reconnecting" && !o.getAccounts && !o.getChainId)
|
|
188
188
|
throw new ae({ connector: o });
|
|
189
|
-
const [x,
|
|
189
|
+
const [x, j] = await Promise.all([
|
|
190
190
|
o.getAccounts(),
|
|
191
191
|
o.getChainId()
|
|
192
192
|
]);
|
|
193
193
|
e = {
|
|
194
194
|
accounts: x,
|
|
195
|
-
chainId:
|
|
195
|
+
chainId: j,
|
|
196
196
|
connector: o
|
|
197
197
|
};
|
|
198
198
|
} else
|
|
@@ -208,8 +208,8 @@ async function P(n, a = {}) {
|
|
|
208
208
|
const u = e.connector;
|
|
209
209
|
if (u.getClient)
|
|
210
210
|
return u.getClient({ chainId: p });
|
|
211
|
-
const r =
|
|
212
|
-
if (r.address =
|
|
211
|
+
const r = W(a.account ?? e.accounts[0]);
|
|
212
|
+
if (r.address = K(r.address), a.account && !e.accounts.some((o) => o.toLowerCase() === r.address.toLowerCase()))
|
|
213
213
|
throw new te({
|
|
214
214
|
address: r.address,
|
|
215
215
|
connector: u
|
|
@@ -219,17 +219,17 @@ async function P(n, a = {}) {
|
|
|
219
219
|
account: r,
|
|
220
220
|
chain: w,
|
|
221
221
|
name: "Connector Client",
|
|
222
|
-
transport: (o) =>
|
|
222
|
+
transport: (o) => Q(N)({ ...o, retryCount: 0 })
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
async function E(n, a) {
|
|
226
226
|
const { abi: e, chainId: p, connector: y, ...u } = a;
|
|
227
227
|
let r;
|
|
228
|
-
a.account ? r = a.account : r = (await
|
|
228
|
+
a.account ? r = a.account : r = (await U(n, {
|
|
229
229
|
chainId: p,
|
|
230
230
|
connector: y
|
|
231
231
|
})).account;
|
|
232
|
-
const w = n.getClient({ chainId: p }), N =
|
|
232
|
+
const w = n.getClient({ chainId: p }), N = k(w, Z, "simulateContract"), { result: o, request: x } = await N({ ...u, abi: e, account: r });
|
|
233
233
|
return {
|
|
234
234
|
chainId: w.chain.id,
|
|
235
235
|
result: o,
|
|
@@ -239,7 +239,7 @@ async function E(n, a) {
|
|
|
239
239
|
function i(n) {
|
|
240
240
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
241
241
|
var p;
|
|
242
|
-
const y =
|
|
242
|
+
const y = F(a), u = C(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
|
|
243
243
|
return E(a, {
|
|
244
244
|
...e,
|
|
245
245
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
@@ -255,12 +255,12 @@ function i(n) {
|
|
|
255
255
|
}
|
|
256
256
|
function q(n, a) {
|
|
257
257
|
const { chainId: e, ...p } = a, y = n.getClient({ chainId: e });
|
|
258
|
-
return
|
|
258
|
+
return k(y, G, "readContract")(p);
|
|
259
259
|
}
|
|
260
260
|
function t(n) {
|
|
261
261
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
262
262
|
var p;
|
|
263
|
-
const y =
|
|
263
|
+
const y = F(a), u = C(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
|
|
264
264
|
return q(a, {
|
|
265
265
|
...e,
|
|
266
266
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
@@ -277,7 +277,7 @@ function t(n) {
|
|
|
277
277
|
async function B(n, a) {
|
|
278
278
|
const { account: e, chainId: p, connector: y, __mode: u, ...r } = a;
|
|
279
279
|
let w;
|
|
280
|
-
typeof e == "object" && e.type === "local" ? w = n.getClient({ chainId: p }) : w = await
|
|
280
|
+
typeof e == "object" && e.type === "local" ? w = n.getClient({ chainId: p }) : w = await U(n, { account: e, chainId: p, connector: y });
|
|
281
281
|
const { connector: N } = C(n);
|
|
282
282
|
let o;
|
|
283
283
|
if (u === "prepared" || N != null && N.supportsSimulation)
|
|
@@ -290,7 +290,7 @@ async function B(n, a) {
|
|
|
290
290
|
});
|
|
291
291
|
o = x;
|
|
292
292
|
}
|
|
293
|
-
return await
|
|
293
|
+
return await k(w, $, "writeContract")({
|
|
294
294
|
...o,
|
|
295
295
|
...e ? { account: e } : {},
|
|
296
296
|
chain: p ? { id: p } : null
|
|
@@ -299,7 +299,7 @@ async function B(n, a) {
|
|
|
299
299
|
function s(n) {
|
|
300
300
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
301
301
|
var p;
|
|
302
|
-
const y =
|
|
302
|
+
const y = F(a), u = C(a);
|
|
303
303
|
let r;
|
|
304
304
|
return e.chainId ? r = e.chainId : e.account && e.account === u.address || e.account === void 0 ? r = u.chainId : r = y, B(a, {
|
|
305
305
|
...e,
|
|
@@ -1071,7 +1071,7 @@ const ue = [
|
|
|
1071
1071
|
stateMutability: "payable"
|
|
1072
1072
|
},
|
|
1073
1073
|
{ type: "receive", stateMutability: "payable" }
|
|
1074
|
-
],
|
|
1074
|
+
], P = [
|
|
1075
1075
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
1076
1076
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
1077
1077
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -1739,6 +1739,13 @@ const ue = [
|
|
|
1739
1739
|
],
|
|
1740
1740
|
name: "ProtocolFeesCollected"
|
|
1741
1741
|
},
|
|
1742
|
+
{
|
|
1743
|
+
type: "function",
|
|
1744
|
+
inputs: [],
|
|
1745
|
+
name: "DUST_THRESHOLD",
|
|
1746
|
+
outputs: [{ name: "", internalType: "uint64", type: "uint64" }],
|
|
1747
|
+
stateMutability: "view"
|
|
1748
|
+
},
|
|
1742
1749
|
{
|
|
1743
1750
|
type: "function",
|
|
1744
1751
|
inputs: [],
|
|
@@ -2001,6 +2008,13 @@ const ue = [
|
|
|
2001
2008
|
outputs: [],
|
|
2002
2009
|
stateMutability: "nonpayable"
|
|
2003
2010
|
},
|
|
2011
|
+
{
|
|
2012
|
+
type: "function",
|
|
2013
|
+
inputs: [{ name: "newThreshold", internalType: "uint64", type: "uint64" }],
|
|
2014
|
+
name: "setDustThreshold",
|
|
2015
|
+
outputs: [],
|
|
2016
|
+
stateMutability: "nonpayable"
|
|
2017
|
+
},
|
|
2004
2018
|
{
|
|
2005
2019
|
type: "function",
|
|
2006
2020
|
inputs: [{ name: "protocolFee_", internalType: "uint64", type: "uint64" }],
|
|
@@ -5113,7 +5127,7 @@ const ue = [
|
|
|
5113
5127
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
5114
5128
|
stateMutability: "payable"
|
|
5115
5129
|
}
|
|
5116
|
-
],
|
|
5130
|
+
], b = [
|
|
5117
5131
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
5118
5132
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
5119
5133
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -6633,7 +6647,7 @@ const ue = [
|
|
|
6633
6647
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
6634
6648
|
stateMutability: "view"
|
|
6635
6649
|
}
|
|
6636
|
-
],
|
|
6650
|
+
], c = [
|
|
6637
6651
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
6638
6652
|
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
6639
6653
|
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
@@ -7655,11 +7669,11 @@ const ue = [
|
|
|
7655
7669
|
outputs: [],
|
|
7656
7670
|
stateMutability: "payable"
|
|
7657
7671
|
}
|
|
7658
|
-
],
|
|
7659
|
-
abi:
|
|
7672
|
+
], be = /* @__PURE__ */ t({
|
|
7673
|
+
abi: P,
|
|
7660
7674
|
functionName: "getComponentInterface"
|
|
7661
|
-
}),
|
|
7662
|
-
{ abi:
|
|
7675
|
+
}), ce = /* @__PURE__ */ t(
|
|
7676
|
+
{ abi: P, functionName: "supportsInterface" }
|
|
7663
7677
|
), Te = /* @__PURE__ */ t(
|
|
7664
7678
|
{ abi: I, functionName: "allowList" }
|
|
7665
7679
|
), fe = /* @__PURE__ */ t({
|
|
@@ -7713,10 +7727,10 @@ const ue = [
|
|
|
7713
7727
|
}), Ee = /* @__PURE__ */ s({
|
|
7714
7728
|
abi: m,
|
|
7715
7729
|
functionName: "setProtocolFeeReceiver"
|
|
7716
|
-
}),
|
|
7730
|
+
}), Fe = /* @__PURE__ */ i({
|
|
7717
7731
|
abi: m,
|
|
7718
7732
|
functionName: "claimIncentive"
|
|
7719
|
-
}),
|
|
7733
|
+
}), ke = /* @__PURE__ */ i({
|
|
7720
7734
|
abi: m,
|
|
7721
7735
|
functionName: "claimIncentiveFor"
|
|
7722
7736
|
}), De = /* @__PURE__ */ i({
|
|
@@ -7734,19 +7748,19 @@ const ue = [
|
|
|
7734
7748
|
}), Le = /* @__PURE__ */ t({
|
|
7735
7749
|
abi: h,
|
|
7736
7750
|
functionName: "getClone"
|
|
7737
|
-
}),
|
|
7751
|
+
}), Ue = /* @__PURE__ */ t({
|
|
7738
7752
|
abi: h,
|
|
7739
7753
|
functionName: "getCloneIdentifier"
|
|
7740
|
-
}),
|
|
7754
|
+
}), Pe = /* @__PURE__ */ t({
|
|
7741
7755
|
abi: h,
|
|
7742
7756
|
functionName: "getClones"
|
|
7743
7757
|
}), Ve = /* @__PURE__ */ s({
|
|
7744
7758
|
abi: h,
|
|
7745
7759
|
functionName: "deployClone"
|
|
7746
|
-
}),
|
|
7760
|
+
}), je = /* @__PURE__ */ s({
|
|
7747
7761
|
abi: h,
|
|
7748
7762
|
functionName: "register"
|
|
7749
|
-
}),
|
|
7763
|
+
}), Ze = /* @__PURE__ */ i({
|
|
7750
7764
|
abi: h,
|
|
7751
7765
|
functionName: "deployClone"
|
|
7752
7766
|
}), Ge = /* @__PURE__ */ i({
|
|
@@ -7758,13 +7772,13 @@ const ue = [
|
|
|
7758
7772
|
}), Ye = /* @__PURE__ */ t({
|
|
7759
7773
|
abi: T,
|
|
7760
7774
|
functionName: "cgdaParams"
|
|
7761
|
-
}),
|
|
7775
|
+
}), Qe = /* @__PURE__ */ t({
|
|
7762
7776
|
abi: T,
|
|
7763
7777
|
functionName: "claimed"
|
|
7764
|
-
}),
|
|
7778
|
+
}), We = /* @__PURE__ */ t({
|
|
7765
7779
|
abi: T,
|
|
7766
7780
|
functionName: "claims"
|
|
7767
|
-
}),
|
|
7781
|
+
}), Ke = /* @__PURE__ */ t({
|
|
7768
7782
|
abi: T,
|
|
7769
7783
|
functionName: "currentReward"
|
|
7770
7784
|
}), Xe = /* @__PURE__ */ t({
|
|
@@ -7814,10 +7828,10 @@ const ue = [
|
|
|
7814
7828
|
}), mt = /* @__PURE__ */ t({
|
|
7815
7829
|
abi: l,
|
|
7816
7830
|
functionName: "owner"
|
|
7817
|
-
}),
|
|
7831
|
+
}), bt = /* @__PURE__ */ t({
|
|
7818
7832
|
abi: l,
|
|
7819
7833
|
functionName: "reward"
|
|
7820
|
-
}),
|
|
7834
|
+
}), ct = /* @__PURE__ */ t({
|
|
7821
7835
|
abi: l,
|
|
7822
7836
|
functionName: "strategy"
|
|
7823
7837
|
}), Tt = /* @__PURE__ */ s({
|
|
@@ -7871,10 +7885,10 @@ const ue = [
|
|
|
7871
7885
|
functionName: "totalClaimed"
|
|
7872
7886
|
}), Et = /* @__PURE__ */ s(
|
|
7873
7887
|
{ abi: d, functionName: "claim" }
|
|
7874
|
-
),
|
|
7888
|
+
), Ft = /* @__PURE__ */ s({
|
|
7875
7889
|
abi: d,
|
|
7876
7890
|
functionName: "clawback"
|
|
7877
|
-
}),
|
|
7891
|
+
}), kt = /* @__PURE__ */ i({
|
|
7878
7892
|
abi: d,
|
|
7879
7893
|
functionName: "claim"
|
|
7880
7894
|
}), Dt = /* @__PURE__ */ i({
|
|
@@ -7891,18 +7905,18 @@ const ue = [
|
|
|
7891
7905
|
), Lt = /* @__PURE__ */ t({
|
|
7892
7906
|
abi: f,
|
|
7893
7907
|
functionName: "claimed"
|
|
7894
|
-
}),
|
|
7908
|
+
}), Ut = /* @__PURE__ */ t({
|
|
7895
7909
|
abi: f,
|
|
7896
7910
|
functionName: "claims"
|
|
7897
|
-
}),
|
|
7911
|
+
}), Pt = /* @__PURE__ */ t({
|
|
7898
7912
|
abi: f,
|
|
7899
7913
|
functionName: "currentReward"
|
|
7900
7914
|
}), Vt = /* @__PURE__ */ t({
|
|
7901
7915
|
abi: f,
|
|
7902
7916
|
functionName: "isClaimable"
|
|
7903
|
-
}),
|
|
7917
|
+
}), jt = /* @__PURE__ */ t(
|
|
7904
7918
|
{ abi: f, functionName: "limit" }
|
|
7905
|
-
),
|
|
7919
|
+
), Zt = /* @__PURE__ */ t(
|
|
7906
7920
|
{ abi: f, functionName: "owner" }
|
|
7907
7921
|
), Gt = /* @__PURE__ */ t({
|
|
7908
7922
|
abi: f,
|
|
@@ -7913,13 +7927,13 @@ const ue = [
|
|
|
7913
7927
|
}), Yt = /* @__PURE__ */ s({
|
|
7914
7928
|
abi: f,
|
|
7915
7929
|
functionName: "claim"
|
|
7916
|
-
}),
|
|
7930
|
+
}), Qt = /* @__PURE__ */ s({
|
|
7917
7931
|
abi: f,
|
|
7918
7932
|
functionName: "clawback"
|
|
7919
|
-
}),
|
|
7933
|
+
}), Wt = /* @__PURE__ */ i({
|
|
7920
7934
|
abi: f,
|
|
7921
7935
|
functionName: "claim"
|
|
7922
|
-
}),
|
|
7936
|
+
}), Kt = /* @__PURE__ */ i({
|
|
7923
7937
|
abi: f,
|
|
7924
7938
|
functionName: "clawback"
|
|
7925
7939
|
}), Xt = /* @__PURE__ */ t({
|
|
@@ -7962,46 +7976,46 @@ const ue = [
|
|
|
7962
7976
|
abi: g,
|
|
7963
7977
|
functionName: "validate"
|
|
7964
7978
|
}), dn = /* @__PURE__ */ t({
|
|
7965
|
-
abi:
|
|
7979
|
+
abi: b,
|
|
7966
7980
|
functionName: "available"
|
|
7967
7981
|
}), mn = /* @__PURE__ */ t({
|
|
7968
|
-
abi:
|
|
7982
|
+
abi: b,
|
|
7969
7983
|
functionName: "distributed"
|
|
7970
|
-
}), cn = /* @__PURE__ */ t({
|
|
7971
|
-
abi: c,
|
|
7972
|
-
functionName: "owner"
|
|
7973
7984
|
}), bn = /* @__PURE__ */ t({
|
|
7974
|
-
abi:
|
|
7985
|
+
abi: b,
|
|
7986
|
+
functionName: "owner"
|
|
7987
|
+
}), cn = /* @__PURE__ */ t({
|
|
7988
|
+
abi: b,
|
|
7975
7989
|
functionName: "total"
|
|
7976
7990
|
}), Tn = /* @__PURE__ */ s({
|
|
7977
|
-
abi:
|
|
7991
|
+
abi: b,
|
|
7978
7992
|
functionName: "allocate"
|
|
7979
7993
|
}), fn = /* @__PURE__ */ s({
|
|
7980
|
-
abi:
|
|
7994
|
+
abi: b,
|
|
7981
7995
|
functionName: "clawback"
|
|
7982
7996
|
}), vn = /* @__PURE__ */ s({
|
|
7983
|
-
abi:
|
|
7997
|
+
abi: b,
|
|
7984
7998
|
functionName: "clawbackFromTarget"
|
|
7985
7999
|
}), wn = /* @__PURE__ */ s({
|
|
7986
|
-
abi:
|
|
8000
|
+
abi: b,
|
|
7987
8001
|
functionName: "disburse"
|
|
7988
8002
|
}), Mn = /* @__PURE__ */ s({
|
|
7989
|
-
abi:
|
|
8003
|
+
abi: b,
|
|
7990
8004
|
functionName: "disburseBatch"
|
|
7991
8005
|
}), In = /* @__PURE__ */ i({
|
|
7992
|
-
abi:
|
|
8006
|
+
abi: b,
|
|
7993
8007
|
functionName: "allocate"
|
|
7994
8008
|
}), hn = /* @__PURE__ */ i({
|
|
7995
|
-
abi:
|
|
8009
|
+
abi: b,
|
|
7996
8010
|
functionName: "clawback"
|
|
7997
8011
|
}), gn = /* @__PURE__ */ i({
|
|
7998
|
-
abi:
|
|
8012
|
+
abi: b,
|
|
7999
8013
|
functionName: "clawbackFromTarget"
|
|
8000
8014
|
}), On = /* @__PURE__ */ i({
|
|
8001
|
-
abi:
|
|
8015
|
+
abi: b,
|
|
8002
8016
|
functionName: "disburse"
|
|
8003
8017
|
}), An = /* @__PURE__ */ i({
|
|
8004
|
-
abi:
|
|
8018
|
+
abi: b,
|
|
8005
8019
|
functionName: "disburseBatch"
|
|
8006
8020
|
}), Nn = /* @__PURE__ */ t({
|
|
8007
8021
|
abi: R,
|
|
@@ -8027,10 +8041,10 @@ const ue = [
|
|
|
8027
8041
|
}), En = /* @__PURE__ */ s({
|
|
8028
8042
|
abi: v,
|
|
8029
8043
|
functionName: "completeOwnershipHandover"
|
|
8030
|
-
}),
|
|
8044
|
+
}), Fn = /* @__PURE__ */ s({
|
|
8031
8045
|
abi: v,
|
|
8032
8046
|
functionName: "renounceOwnership"
|
|
8033
|
-
}),
|
|
8047
|
+
}), kn = /* @__PURE__ */ s(
|
|
8034
8048
|
{ abi: v, functionName: "renounceRoles" }
|
|
8035
8049
|
), Dn = /* @__PURE__ */ s({
|
|
8036
8050
|
abi: v,
|
|
@@ -8047,18 +8061,18 @@ const ue = [
|
|
|
8047
8061
|
}), Ln = /* @__PURE__ */ i({
|
|
8048
8062
|
abi: v,
|
|
8049
8063
|
functionName: "renounceOwnership"
|
|
8050
|
-
}),
|
|
8064
|
+
}), Un = /* @__PURE__ */ i({
|
|
8051
8065
|
abi: v,
|
|
8052
8066
|
functionName: "renounceRoles"
|
|
8053
|
-
}),
|
|
8067
|
+
}), Pn = /* @__PURE__ */ i({
|
|
8054
8068
|
abi: v,
|
|
8055
8069
|
functionName: "requestOwnershipHandover"
|
|
8056
8070
|
}), Vn = /* @__PURE__ */ i({
|
|
8057
8071
|
abi: v,
|
|
8058
8072
|
functionName: "transferOwnership"
|
|
8059
|
-
}),
|
|
8073
|
+
}), jn = /* @__PURE__ */ t(
|
|
8060
8074
|
{ abi: se, functionName: "isAuthorized" }
|
|
8061
|
-
),
|
|
8075
|
+
), Zn = /* @__PURE__ */ t({
|
|
8062
8076
|
abi: M,
|
|
8063
8077
|
functionName: "claimed"
|
|
8064
8078
|
}), Gn = /* @__PURE__ */ t({
|
|
@@ -8070,13 +8084,13 @@ const ue = [
|
|
|
8070
8084
|
}), Yn = /* @__PURE__ */ t({
|
|
8071
8085
|
abi: M,
|
|
8072
8086
|
functionName: "isClaimable"
|
|
8073
|
-
}),
|
|
8087
|
+
}), Qn = /* @__PURE__ */ t({
|
|
8074
8088
|
abi: M,
|
|
8075
8089
|
functionName: "limit"
|
|
8076
|
-
}),
|
|
8090
|
+
}), Wn = /* @__PURE__ */ t({
|
|
8077
8091
|
abi: M,
|
|
8078
8092
|
functionName: "reward"
|
|
8079
|
-
}),
|
|
8093
|
+
}), Kn = /* @__PURE__ */ t({
|
|
8080
8094
|
abi: M,
|
|
8081
8095
|
functionName: "selector"
|
|
8082
8096
|
}), Xn = /* @__PURE__ */ t({
|
|
@@ -8089,47 +8103,47 @@ const ue = [
|
|
|
8089
8103
|
abi: M,
|
|
8090
8104
|
functionName: "claim"
|
|
8091
8105
|
}), ta = /* @__PURE__ */ t({
|
|
8092
|
-
abi:
|
|
8106
|
+
abi: c,
|
|
8093
8107
|
functionName: "hasAllRoles"
|
|
8094
8108
|
}), na = /* @__PURE__ */ t({
|
|
8095
|
-
abi:
|
|
8109
|
+
abi: c,
|
|
8096
8110
|
functionName: "hasAnyRole"
|
|
8097
8111
|
}), aa = /* @__PURE__ */ t({
|
|
8098
|
-
abi:
|
|
8112
|
+
abi: c,
|
|
8099
8113
|
functionName: "isAuthorized"
|
|
8100
8114
|
}), ia = /* @__PURE__ */ t({
|
|
8101
|
-
abi:
|
|
8115
|
+
abi: c,
|
|
8102
8116
|
functionName: "rolesOf"
|
|
8103
8117
|
}), sa = /* @__PURE__ */ s({
|
|
8104
|
-
abi:
|
|
8118
|
+
abi: c,
|
|
8105
8119
|
functionName: "grantManyRoles"
|
|
8106
8120
|
}), pa = /* @__PURE__ */ s({
|
|
8107
|
-
abi:
|
|
8121
|
+
abi: c,
|
|
8108
8122
|
functionName: "grantRoles"
|
|
8109
8123
|
}), ra = /* @__PURE__ */ s({
|
|
8110
|
-
abi:
|
|
8124
|
+
abi: c,
|
|
8111
8125
|
functionName: "revokeManyRoles"
|
|
8112
8126
|
}), ya = /* @__PURE__ */ s({
|
|
8113
|
-
abi:
|
|
8127
|
+
abi: c,
|
|
8114
8128
|
functionName: "revokeRoles"
|
|
8115
8129
|
}), ua = /* @__PURE__ */ s({
|
|
8116
|
-
abi:
|
|
8130
|
+
abi: c,
|
|
8117
8131
|
functionName: "setAuthorized"
|
|
8118
8132
|
}), oa = /* @__PURE__ */ i({
|
|
8119
|
-
abi:
|
|
8133
|
+
abi: c,
|
|
8120
8134
|
functionName: "grantManyRoles"
|
|
8121
8135
|
}), la = /* @__PURE__ */ i({
|
|
8122
|
-
abi:
|
|
8136
|
+
abi: c,
|
|
8123
8137
|
functionName: "grantRoles"
|
|
8124
8138
|
}), da = /* @__PURE__ */ i(
|
|
8125
|
-
{ abi:
|
|
8139
|
+
{ abi: c, functionName: "revokeManyRoles" }
|
|
8126
8140
|
), ma = /* @__PURE__ */ i({
|
|
8127
|
-
abi:
|
|
8141
|
+
abi: c,
|
|
8128
8142
|
functionName: "revokeRoles"
|
|
8129
|
-
}),
|
|
8130
|
-
abi:
|
|
8143
|
+
}), ba = /* @__PURE__ */ i({
|
|
8144
|
+
abi: c,
|
|
8131
8145
|
functionName: "setAuthorized"
|
|
8132
|
-
}),
|
|
8146
|
+
}), ca = /* @__PURE__ */ t({
|
|
8133
8147
|
abi: O,
|
|
8134
8148
|
functionName: "hashSignerData"
|
|
8135
8149
|
}), Ta = /* @__PURE__ */ t({
|
|
@@ -8175,39 +8189,39 @@ const ue = [
|
|
|
8175
8189
|
functionName: "setDenied"
|
|
8176
8190
|
});
|
|
8177
8191
|
export {
|
|
8178
|
-
|
|
8192
|
+
Le as $,
|
|
8179
8193
|
f as A,
|
|
8180
8194
|
I as B,
|
|
8181
8195
|
D as C,
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8196
|
+
pa as D,
|
|
8197
|
+
Un as E,
|
|
8198
|
+
kn as F,
|
|
8185
8199
|
se as G,
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
|
|
8192
|
-
|
|
8200
|
+
na as H,
|
|
8201
|
+
Ln as I,
|
|
8202
|
+
me as J,
|
|
8203
|
+
ce as K,
|
|
8204
|
+
be as L,
|
|
8205
|
+
Ge as M,
|
|
8206
|
+
Pn as N,
|
|
8193
8207
|
H as O,
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
|
|
8208
|
+
sa as P,
|
|
8209
|
+
je as Q,
|
|
8210
|
+
Vn as R,
|
|
8211
|
+
Ze as S,
|
|
8198
8212
|
T,
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8213
|
+
Ve as U,
|
|
8214
|
+
O as V,
|
|
8215
|
+
ra as W,
|
|
8216
|
+
oa as X,
|
|
8217
|
+
la as Y,
|
|
8218
|
+
ya as Z,
|
|
8219
|
+
Se as _,
|
|
8206
8220
|
V as a,
|
|
8207
8221
|
qt as a$,
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8222
|
+
Pe as a0,
|
|
8223
|
+
Ue as a1,
|
|
8224
|
+
jn as a2,
|
|
8211
8225
|
oe as a3,
|
|
8212
8226
|
In as a4,
|
|
8213
8227
|
Tn as a5,
|
|
@@ -8216,7 +8230,7 @@ export {
|
|
|
8216
8230
|
gn as a8,
|
|
8217
8231
|
vn as a9,
|
|
8218
8232
|
et as aA,
|
|
8219
|
-
|
|
8233
|
+
Qe as aB,
|
|
8220
8234
|
$e as aC,
|
|
8221
8235
|
Ye as aD,
|
|
8222
8236
|
tt as aE,
|
|
@@ -8225,14 +8239,14 @@ export {
|
|
|
8225
8239
|
st as aH,
|
|
8226
8240
|
at as aI,
|
|
8227
8241
|
Xe as aJ,
|
|
8228
|
-
|
|
8242
|
+
Ke as aK,
|
|
8229
8243
|
mt as aL,
|
|
8230
8244
|
ut as aM,
|
|
8231
8245
|
yt as aN,
|
|
8232
8246
|
rt as aO,
|
|
8233
8247
|
pt as aP,
|
|
8234
|
-
|
|
8235
|
-
|
|
8248
|
+
ct as aQ,
|
|
8249
|
+
bt as aR,
|
|
8236
8250
|
dt as aS,
|
|
8237
8251
|
ot as aT,
|
|
8238
8252
|
wt as aU,
|
|
@@ -8246,8 +8260,8 @@ export {
|
|
|
8246
8260
|
wn as ab,
|
|
8247
8261
|
An as ac,
|
|
8248
8262
|
Mn as ad,
|
|
8249
|
-
|
|
8250
|
-
|
|
8263
|
+
bn as ae,
|
|
8264
|
+
cn as af,
|
|
8251
8265
|
dn as ag,
|
|
8252
8266
|
mn as ah,
|
|
8253
8267
|
Ie as ai,
|
|
@@ -8267,19 +8281,19 @@ export {
|
|
|
8267
8281
|
za as aw,
|
|
8268
8282
|
Ra as ax,
|
|
8269
8283
|
Je as ay,
|
|
8270
|
-
|
|
8284
|
+
We as az,
|
|
8271
8285
|
l as b,
|
|
8272
8286
|
Jt as b$,
|
|
8273
8287
|
Bt as b0,
|
|
8274
|
-
|
|
8288
|
+
Zt as b1,
|
|
8275
8289
|
$t as b2,
|
|
8276
|
-
|
|
8277
|
-
|
|
8290
|
+
Pt as b3,
|
|
8291
|
+
Ut as b4,
|
|
8278
8292
|
Lt as b5,
|
|
8279
8293
|
St as b6,
|
|
8280
8294
|
Gt as b7,
|
|
8281
|
-
|
|
8282
|
-
|
|
8295
|
+
jt as b8,
|
|
8296
|
+
Wt as b9,
|
|
8283
8297
|
un as bA,
|
|
8284
8298
|
pn as bB,
|
|
8285
8299
|
on as bC,
|
|
@@ -8299,30 +8313,30 @@ export {
|
|
|
8299
8313
|
Ct as bQ,
|
|
8300
8314
|
_t as bR,
|
|
8301
8315
|
Rt as bS,
|
|
8302
|
-
|
|
8316
|
+
kt as bT,
|
|
8303
8317
|
Et as bU,
|
|
8304
8318
|
Dt as bV,
|
|
8305
|
-
|
|
8319
|
+
Ft as bW,
|
|
8306
8320
|
xt as bX,
|
|
8307
8321
|
Nt as bY,
|
|
8308
8322
|
de as bZ,
|
|
8309
8323
|
_ as b_,
|
|
8310
8324
|
Yt as ba,
|
|
8311
|
-
|
|
8312
|
-
|
|
8325
|
+
Kt as bb,
|
|
8326
|
+
Qt as bc,
|
|
8313
8327
|
Vt as bd,
|
|
8314
8328
|
Gn as be,
|
|
8315
8329
|
$n as bf,
|
|
8316
|
-
|
|
8317
|
-
|
|
8330
|
+
Wn as bg,
|
|
8331
|
+
Zn as bh,
|
|
8318
8332
|
Xn as bi,
|
|
8319
|
-
|
|
8320
|
-
|
|
8333
|
+
Qn as bj,
|
|
8334
|
+
Kn as bk,
|
|
8321
8335
|
ea as bl,
|
|
8322
8336
|
Jn as bm,
|
|
8323
8337
|
Yn as bn,
|
|
8324
8338
|
Ta as bo,
|
|
8325
|
-
|
|
8339
|
+
ca as bp,
|
|
8326
8340
|
ha as bq,
|
|
8327
8341
|
wa as br,
|
|
8328
8342
|
Ma as bs,
|
|
@@ -8333,14 +8347,14 @@ export {
|
|
|
8333
8347
|
an as bx,
|
|
8334
8348
|
ln as by,
|
|
8335
8349
|
yn as bz,
|
|
8336
|
-
|
|
8350
|
+
da as c,
|
|
8337
8351
|
Xt as c0,
|
|
8338
8352
|
tn as c1,
|
|
8339
8353
|
en as c2,
|
|
8340
8354
|
De as c3,
|
|
8341
|
-
|
|
8355
|
+
Fe as c4,
|
|
8342
8356
|
Ce as c5,
|
|
8343
|
-
|
|
8357
|
+
ke as c6,
|
|
8344
8358
|
_e as c7,
|
|
8345
8359
|
Ne as c8,
|
|
8346
8360
|
xe as c9,
|
|
@@ -8352,28 +8366,28 @@ export {
|
|
|
8352
8366
|
ze as cf,
|
|
8353
8367
|
Be as cg,
|
|
8354
8368
|
Ee as ch,
|
|
8355
|
-
|
|
8356
|
-
|
|
8369
|
+
ia as d,
|
|
8370
|
+
ta as e,
|
|
8357
8371
|
d as f,
|
|
8358
|
-
|
|
8372
|
+
m as g,
|
|
8359
8373
|
M as h,
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8374
|
+
ma as i,
|
|
8375
|
+
ua as j,
|
|
8376
|
+
aa as k,
|
|
8377
|
+
qn as l,
|
|
8378
|
+
Fn as m,
|
|
8379
|
+
Dn as n,
|
|
8366
8380
|
R as o,
|
|
8367
8381
|
ue as p,
|
|
8368
|
-
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8382
|
+
Sn as q,
|
|
8383
|
+
En as r,
|
|
8384
|
+
ba as s,
|
|
8385
|
+
Bn as t,
|
|
8386
|
+
Hn as u,
|
|
8387
|
+
b as v,
|
|
8388
|
+
_n as w,
|
|
8375
8389
|
g as x,
|
|
8376
8390
|
h as y,
|
|
8377
|
-
|
|
8391
|
+
c as z
|
|
8378
8392
|
};
|
|
8379
|
-
//# sourceMappingURL=generated-
|
|
8393
|
+
//# sourceMappingURL=generated-Hbd0NIf9.js.map
|