@boostxyz/sdk 2.2.1 → 3.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/ERC721MintAction.d.ts +1 -1
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.js +10 -10
- 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 +7 -7
- 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 +28 -28
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.js +30 -30
- package/dist/{Budget-2Zb3Mb-8.js → Budget-DGPItPqt.js} +31 -31
- package/dist/{Budget-2Zb3Mb-8.js.map → Budget-DGPItPqt.js.map} +1 -1
- package/dist/{Budget-2xKEvkbL.cjs → Budget-Dw3jHqDC.cjs} +2 -2
- package/dist/{Budget-2xKEvkbL.cjs.map → Budget-Dw3jHqDC.cjs.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 +30 -30
- 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 +17 -17
- package/dist/{Incentive-CfIjdL4T.cjs → Incentive-BNm7fgJh.cjs} +2 -2
- package/dist/{Incentive-CfIjdL4T.cjs.map → Incentive-BNm7fgJh.cjs.map} +1 -1
- package/dist/{Incentive-DNwTyG5Z.js → Incentive-Dxw1wwbl.js} +57 -53
- package/dist/{Incentive-DNwTyG5Z.js.map → Incentive-Dxw1wwbl.js.map} +1 -1
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.js +9 -9
- package/dist/Incentives/CGDAIncentive.cjs +1 -1
- package/dist/Incentives/CGDAIncentive.js +5 -5
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.js +17 -17
- package/dist/Incentives/ERC20PeggedIncentive.d.ts +4 -3
- package/dist/Incentives/ERC20PeggedIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js +13 -13
- package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableIncentive.js +10 -10
- 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 +7 -7
- package/dist/{SimpleDenyList-D49GF3NX.js → SimpleDenyList-CUvdsCvZ.js} +11 -11
- package/dist/{SimpleDenyList-D49GF3NX.js.map → SimpleDenyList-CUvdsCvZ.js.map} +1 -1
- package/dist/{SimpleDenyList-BQ0GqQfC.cjs → SimpleDenyList-S6braCCk.cjs} +2 -2
- package/dist/{SimpleDenyList-BQ0GqQfC.cjs.map → SimpleDenyList-S6braCCk.cjs.map} +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
- package/dist/Validators/LimitedSignerValidator.d.ts +1 -1
- package/dist/Validators/LimitedSignerValidator.js +16 -16
- package/dist/Validators/LimitedSignerValidator.js.map +1 -1
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.cjs.map +1 -1
- package/dist/Validators/SignerValidator.d.ts +1 -1
- package/dist/Validators/SignerValidator.js +6 -6
- package/dist/Validators/SignerValidator.js.map +1 -1
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.js +3 -3
- package/dist/deployments-C7-jUofW.cjs +2 -0
- package/dist/deployments-C7-jUofW.cjs.map +1 -0
- package/dist/deployments-Dcywzp8T.js +102 -0
- package/dist/deployments-Dcywzp8T.js.map +1 -0
- package/dist/deployments.json +48 -46
- package/dist/{generated-B5pVBNb-.js → generated-D2xuTYvu.js} +188 -172
- package/dist/generated-D2xuTYvu.js.map +1 -0
- package/dist/generated-DAZo6jo9.cjs +3 -0
- package/dist/generated-DAZo6jo9.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +11 -11
- package/package.json +1 -1
- package/src/Incentives/ERC20PeggedIncentive.ts +8 -4
- package/dist/deployments-BucJ-gwk.cjs +0 -2
- package/dist/deployments-BucJ-gwk.cjs.map +0 -1
- package/dist/deployments-CQu0bLhU.js +0 -102
- package/dist/deployments-CQu0bLhU.js.map +0 -1
- package/dist/generated-B5pVBNb-.js.map +0 -1
- package/dist/generated-D50hBWtr.cjs +0 -3
- package/dist/generated-D50hBWtr.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { simulateContract as
|
|
2
|
-
import { createClient as
|
|
3
|
-
import { parseAccount as
|
|
1
|
+
import { simulateContract as j, readContract as G, writeContract as $ } from "viem/actions";
|
|
2
|
+
import { createClient as Y, custom as W } from "viem";
|
|
3
|
+
import { parseAccount as K, getAddress as Q } 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,7 +58,7 @@ function C(n) {
|
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function k(n) {
|
|
62
62
|
return n.state.chainId;
|
|
63
63
|
}
|
|
64
64
|
function F(n, a, e) {
|
|
@@ -73,7 +73,7 @@ var S = function(n, a, e, p) {
|
|
|
73
73
|
if (e === "a" && !p) throw new TypeError("Private accessor was defined without a getter");
|
|
74
74
|
if (typeof a == "function" ? n !== a || !p : !a.has(n)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
75
75
|
return e === "m" ? p : e === "a" ? p.call(n) : p ? p.value : a.get(n);
|
|
76
|
-
}, z,
|
|
76
|
+
}, z, L;
|
|
77
77
|
class A extends Error {
|
|
78
78
|
get docsBaseUrl() {
|
|
79
79
|
return "https://wagmi.sh/core";
|
|
@@ -123,10 +123,10 @@ class A extends Error {
|
|
|
123
123
|
`), e.cause && (this.cause = e.cause), this.details = y, this.docsPath = u, this.metaMessages = e.metaMessages, this.shortMessage = a;
|
|
124
124
|
}
|
|
125
125
|
walk(a) {
|
|
126
|
-
return S(this, z, "m",
|
|
126
|
+
return S(this, z, "m", L).call(this, this, a);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
z = /* @__PURE__ */ new WeakSet(),
|
|
129
|
+
z = /* @__PURE__ */ new WeakSet(), L = function n(a, e) {
|
|
130
130
|
return e != null && e(a) ? a : a.cause ? S(this, z, "m", n).call(this, a.cause, e) : a;
|
|
131
131
|
};
|
|
132
132
|
class ee extends A {
|
|
@@ -208,18 +208,18 @@ 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 = K(a.account ?? e.accounts[0]);
|
|
212
|
+
if (r.address = Q(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
|
|
216
216
|
});
|
|
217
217
|
const w = n.chains.find((o) => o.id === p), N = await e.connector.getProvider({ chainId: p });
|
|
218
|
-
return
|
|
218
|
+
return Y({
|
|
219
219
|
account: r,
|
|
220
220
|
chain: w,
|
|
221
221
|
name: "Connector Client",
|
|
222
|
-
transport: (o) =>
|
|
222
|
+
transport: (o) => W(N)({ ...o, retryCount: 0 })
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
async function E(n, a) {
|
|
@@ -229,7 +229,7 @@ async function E(n, a) {
|
|
|
229
229
|
chainId: p,
|
|
230
230
|
connector: y
|
|
231
231
|
})).account;
|
|
232
|
-
const w = n.getClient({ chainId: p }), N = F(w,
|
|
232
|
+
const w = n.getClient({ chainId: p }), N = F(w, j, "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 = k(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 F(y,
|
|
258
|
+
return F(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 = k(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 } : {},
|
|
@@ -274,7 +274,7 @@ function t(n) {
|
|
|
274
274
|
abi: n.abi
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
-
async function
|
|
277
|
+
async function B(n, a) {
|
|
278
278
|
const { account: e, chainId: p, connector: y, __mode: u, ...r } = a;
|
|
279
279
|
let w;
|
|
280
280
|
typeof e == "object" && e.type === "local" ? w = n.getClient({ chainId: p }) : w = await P(n, { account: e, chainId: p, connector: y });
|
|
@@ -290,7 +290,7 @@ async function L(n, a) {
|
|
|
290
290
|
});
|
|
291
291
|
o = x;
|
|
292
292
|
}
|
|
293
|
-
return await F(w,
|
|
293
|
+
return await F(w, $, "writeContract")({
|
|
294
294
|
...o,
|
|
295
295
|
...e ? { account: e } : {},
|
|
296
296
|
chain: p ? { id: p } : null
|
|
@@ -299,15 +299,15 @@ async function L(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 = k(a), u = C(a);
|
|
303
303
|
let r;
|
|
304
|
-
return e.chainId ? r = e.chainId : e.account && e.account === u.address || e.account === void 0 ? r = u.chainId : r = y,
|
|
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,
|
|
306
306
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
307
307
|
address: r ? (p = n.address) == null ? void 0 : p[r] : void 0,
|
|
308
308
|
abi: n.abi
|
|
309
309
|
});
|
|
310
|
-
} : (a, e) =>
|
|
310
|
+
} : (a, e) => B(a, {
|
|
311
311
|
...e,
|
|
312
312
|
...n.address ? { address: n.address } : {},
|
|
313
313
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
@@ -1282,7 +1282,7 @@ const ue = [
|
|
|
1282
1282
|
],
|
|
1283
1283
|
name: "validate",
|
|
1284
1284
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1285
|
-
stateMutability: "
|
|
1285
|
+
stateMutability: "payable"
|
|
1286
1286
|
}
|
|
1287
1287
|
], I = [
|
|
1288
1288
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
@@ -1957,6 +1957,13 @@ const ue = [
|
|
|
1957
1957
|
outputs: [{ name: "", internalType: "uint64", type: "uint64" }],
|
|
1958
1958
|
stateMutability: "view"
|
|
1959
1959
|
},
|
|
1960
|
+
{
|
|
1961
|
+
type: "function",
|
|
1962
|
+
inputs: [],
|
|
1963
|
+
name: "protocolFeeModule",
|
|
1964
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1965
|
+
stateMutability: "view"
|
|
1966
|
+
},
|
|
1960
1967
|
{
|
|
1961
1968
|
type: "function",
|
|
1962
1969
|
inputs: [],
|
|
@@ -2001,6 +2008,15 @@ const ue = [
|
|
|
2001
2008
|
outputs: [],
|
|
2002
2009
|
stateMutability: "nonpayable"
|
|
2003
2010
|
},
|
|
2011
|
+
{
|
|
2012
|
+
type: "function",
|
|
2013
|
+
inputs: [
|
|
2014
|
+
{ name: "protocolFeeModule_", internalType: "address", type: "address" }
|
|
2015
|
+
],
|
|
2016
|
+
name: "setProtocolFeeModule",
|
|
2017
|
+
outputs: [],
|
|
2018
|
+
stateMutability: "nonpayable"
|
|
2019
|
+
},
|
|
2004
2020
|
{
|
|
2005
2021
|
type: "function",
|
|
2006
2022
|
inputs: [
|
|
@@ -5095,9 +5111,9 @@ const ue = [
|
|
|
5095
5111
|
],
|
|
5096
5112
|
name: "validate",
|
|
5097
5113
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
5098
|
-
stateMutability: "
|
|
5114
|
+
stateMutability: "payable"
|
|
5099
5115
|
}
|
|
5100
|
-
],
|
|
5116
|
+
], c = [
|
|
5101
5117
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
5102
5118
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
5103
5119
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -6617,7 +6633,7 @@ const ue = [
|
|
|
6617
6633
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
6618
6634
|
stateMutability: "view"
|
|
6619
6635
|
}
|
|
6620
|
-
],
|
|
6636
|
+
], b = [
|
|
6621
6637
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
6622
6638
|
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
6623
6639
|
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
@@ -7069,7 +7085,7 @@ const ue = [
|
|
|
7069
7085
|
],
|
|
7070
7086
|
name: "validate",
|
|
7071
7087
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
7072
|
-
stateMutability: "
|
|
7088
|
+
stateMutability: "payable"
|
|
7073
7089
|
}
|
|
7074
7090
|
], H = [
|
|
7075
7091
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
@@ -7355,7 +7371,7 @@ const ue = [
|
|
|
7355
7371
|
outputs: [],
|
|
7356
7372
|
stateMutability: "payable"
|
|
7357
7373
|
}
|
|
7358
|
-
],
|
|
7374
|
+
], D = [
|
|
7359
7375
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
7360
7376
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
7361
7377
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -7639,10 +7655,10 @@ const ue = [
|
|
|
7639
7655
|
outputs: [],
|
|
7640
7656
|
stateMutability: "payable"
|
|
7641
7657
|
}
|
|
7642
|
-
],
|
|
7658
|
+
], ce = /* @__PURE__ */ t({
|
|
7643
7659
|
abi: U,
|
|
7644
7660
|
functionName: "getComponentInterface"
|
|
7645
|
-
}),
|
|
7661
|
+
}), be = /* @__PURE__ */ t(
|
|
7646
7662
|
{ abi: U, functionName: "supportsInterface" }
|
|
7647
7663
|
), Te = /* @__PURE__ */ t(
|
|
7648
7664
|
{ abi: I, functionName: "allowList" }
|
|
@@ -7697,25 +7713,25 @@ const ue = [
|
|
|
7697
7713
|
}), Ee = /* @__PURE__ */ s({
|
|
7698
7714
|
abi: m,
|
|
7699
7715
|
functionName: "setProtocolFeeReceiver"
|
|
7700
|
-
}),
|
|
7716
|
+
}), ke = /* @__PURE__ */ i({
|
|
7701
7717
|
abi: m,
|
|
7702
7718
|
functionName: "claimIncentive"
|
|
7703
7719
|
}), Fe = /* @__PURE__ */ i({
|
|
7704
7720
|
abi: m,
|
|
7705
7721
|
functionName: "claimIncentiveFor"
|
|
7706
|
-
}),
|
|
7722
|
+
}), De = /* @__PURE__ */ i({
|
|
7707
7723
|
abi: m,
|
|
7708
7724
|
functionName: "createBoost"
|
|
7709
7725
|
}), qe = /* @__PURE__ */ i({
|
|
7710
7726
|
abi: m,
|
|
7711
7727
|
functionName: "setCreateBoostAuth"
|
|
7712
|
-
}),
|
|
7728
|
+
}), Be = /* @__PURE__ */ i({
|
|
7713
7729
|
abi: m,
|
|
7714
7730
|
functionName: "setProtocolFeeReceiver"
|
|
7715
7731
|
}), Se = /* @__PURE__ */ t({
|
|
7716
7732
|
abi: h,
|
|
7717
7733
|
functionName: "getBaseImplementation"
|
|
7718
|
-
}),
|
|
7734
|
+
}), Le = /* @__PURE__ */ t({
|
|
7719
7735
|
abi: h,
|
|
7720
7736
|
functionName: "getClone"
|
|
7721
7737
|
}), Pe = /* @__PURE__ */ t({
|
|
@@ -7730,25 +7746,25 @@ const ue = [
|
|
|
7730
7746
|
}), Ze = /* @__PURE__ */ s({
|
|
7731
7747
|
abi: h,
|
|
7732
7748
|
functionName: "register"
|
|
7733
|
-
}),
|
|
7749
|
+
}), je = /* @__PURE__ */ i({
|
|
7734
7750
|
abi: h,
|
|
7735
7751
|
functionName: "deployClone"
|
|
7736
|
-
}),
|
|
7752
|
+
}), Ge = /* @__PURE__ */ i({
|
|
7737
7753
|
abi: h,
|
|
7738
7754
|
functionName: "register"
|
|
7739
|
-
}),
|
|
7755
|
+
}), $e = /* @__PURE__ */ t({
|
|
7740
7756
|
abi: T,
|
|
7741
7757
|
functionName: "asset"
|
|
7742
|
-
}),
|
|
7758
|
+
}), Ye = /* @__PURE__ */ t({
|
|
7743
7759
|
abi: T,
|
|
7744
7760
|
functionName: "cgdaParams"
|
|
7745
|
-
}),
|
|
7761
|
+
}), We = /* @__PURE__ */ t({
|
|
7746
7762
|
abi: T,
|
|
7747
7763
|
functionName: "claimed"
|
|
7748
|
-
}),
|
|
7764
|
+
}), Ke = /* @__PURE__ */ t({
|
|
7749
7765
|
abi: T,
|
|
7750
7766
|
functionName: "claims"
|
|
7751
|
-
}),
|
|
7767
|
+
}), Qe = /* @__PURE__ */ t({
|
|
7752
7768
|
abi: T,
|
|
7753
7769
|
functionName: "currentReward"
|
|
7754
7770
|
}), Xe = /* @__PURE__ */ t({
|
|
@@ -7798,10 +7814,10 @@ const ue = [
|
|
|
7798
7814
|
}), mt = /* @__PURE__ */ t({
|
|
7799
7815
|
abi: l,
|
|
7800
7816
|
functionName: "owner"
|
|
7801
|
-
}),
|
|
7817
|
+
}), ct = /* @__PURE__ */ t({
|
|
7802
7818
|
abi: l,
|
|
7803
7819
|
functionName: "reward"
|
|
7804
|
-
}),
|
|
7820
|
+
}), bt = /* @__PURE__ */ t({
|
|
7805
7821
|
abi: l,
|
|
7806
7822
|
functionName: "strategy"
|
|
7807
7823
|
}), Tt = /* @__PURE__ */ s({
|
|
@@ -7855,24 +7871,24 @@ const ue = [
|
|
|
7855
7871
|
functionName: "totalClaimed"
|
|
7856
7872
|
}), Et = /* @__PURE__ */ s(
|
|
7857
7873
|
{ abi: d, functionName: "claim" }
|
|
7858
|
-
),
|
|
7874
|
+
), kt = /* @__PURE__ */ s({
|
|
7859
7875
|
abi: d,
|
|
7860
7876
|
functionName: "clawback"
|
|
7861
7877
|
}), Ft = /* @__PURE__ */ i({
|
|
7862
7878
|
abi: d,
|
|
7863
7879
|
functionName: "claim"
|
|
7864
|
-
}),
|
|
7880
|
+
}), Dt = /* @__PURE__ */ i({
|
|
7865
7881
|
abi: d,
|
|
7866
7882
|
functionName: "clawback"
|
|
7867
7883
|
}), qt = /* @__PURE__ */ t({
|
|
7868
7884
|
abi: V,
|
|
7869
7885
|
functionName: "getIncentiveCriteria"
|
|
7870
|
-
}),
|
|
7886
|
+
}), Bt = /* @__PURE__ */ t({
|
|
7871
7887
|
abi: V,
|
|
7872
7888
|
functionName: "getMaxReward"
|
|
7873
7889
|
}), St = /* @__PURE__ */ t(
|
|
7874
7890
|
{ abi: f, functionName: "asset" }
|
|
7875
|
-
),
|
|
7891
|
+
), Lt = /* @__PURE__ */ t({
|
|
7876
7892
|
abi: f,
|
|
7877
7893
|
functionName: "claimed"
|
|
7878
7894
|
}), Pt = /* @__PURE__ */ t({
|
|
@@ -7886,24 +7902,24 @@ const ue = [
|
|
|
7886
7902
|
functionName: "isClaimable"
|
|
7887
7903
|
}), Zt = /* @__PURE__ */ t(
|
|
7888
7904
|
{ abi: f, functionName: "limit" }
|
|
7889
|
-
),
|
|
7905
|
+
), jt = /* @__PURE__ */ t(
|
|
7890
7906
|
{ abi: f, functionName: "owner" }
|
|
7891
|
-
),
|
|
7907
|
+
), Gt = /* @__PURE__ */ t({
|
|
7892
7908
|
abi: f,
|
|
7893
7909
|
functionName: "reward"
|
|
7894
|
-
}),
|
|
7910
|
+
}), $t = /* @__PURE__ */ t({
|
|
7895
7911
|
abi: f,
|
|
7896
7912
|
functionName: "totalClaimed"
|
|
7897
|
-
}),
|
|
7913
|
+
}), Yt = /* @__PURE__ */ s({
|
|
7898
7914
|
abi: f,
|
|
7899
7915
|
functionName: "claim"
|
|
7900
|
-
}),
|
|
7916
|
+
}), Wt = /* @__PURE__ */ s({
|
|
7901
7917
|
abi: f,
|
|
7902
7918
|
functionName: "clawback"
|
|
7903
|
-
}),
|
|
7919
|
+
}), Kt = /* @__PURE__ */ i({
|
|
7904
7920
|
abi: f,
|
|
7905
7921
|
functionName: "claim"
|
|
7906
|
-
}),
|
|
7922
|
+
}), Qt = /* @__PURE__ */ i({
|
|
7907
7923
|
abi: f,
|
|
7908
7924
|
functionName: "clawback"
|
|
7909
7925
|
}), Xt = /* @__PURE__ */ t({
|
|
@@ -7946,46 +7962,46 @@ const ue = [
|
|
|
7946
7962
|
abi: g,
|
|
7947
7963
|
functionName: "validate"
|
|
7948
7964
|
}), dn = /* @__PURE__ */ t({
|
|
7949
|
-
abi:
|
|
7965
|
+
abi: c,
|
|
7950
7966
|
functionName: "available"
|
|
7951
7967
|
}), mn = /* @__PURE__ */ t({
|
|
7952
|
-
abi:
|
|
7968
|
+
abi: c,
|
|
7953
7969
|
functionName: "distributed"
|
|
7954
|
-
}), bn = /* @__PURE__ */ t({
|
|
7955
|
-
abi: b,
|
|
7956
|
-
functionName: "owner"
|
|
7957
7970
|
}), cn = /* @__PURE__ */ t({
|
|
7958
|
-
abi:
|
|
7971
|
+
abi: c,
|
|
7972
|
+
functionName: "owner"
|
|
7973
|
+
}), bn = /* @__PURE__ */ t({
|
|
7974
|
+
abi: c,
|
|
7959
7975
|
functionName: "total"
|
|
7960
7976
|
}), Tn = /* @__PURE__ */ s({
|
|
7961
|
-
abi:
|
|
7977
|
+
abi: c,
|
|
7962
7978
|
functionName: "allocate"
|
|
7963
7979
|
}), fn = /* @__PURE__ */ s({
|
|
7964
|
-
abi:
|
|
7980
|
+
abi: c,
|
|
7965
7981
|
functionName: "clawback"
|
|
7966
7982
|
}), vn = /* @__PURE__ */ s({
|
|
7967
|
-
abi:
|
|
7983
|
+
abi: c,
|
|
7968
7984
|
functionName: "clawbackFromTarget"
|
|
7969
7985
|
}), wn = /* @__PURE__ */ s({
|
|
7970
|
-
abi:
|
|
7986
|
+
abi: c,
|
|
7971
7987
|
functionName: "disburse"
|
|
7972
7988
|
}), Mn = /* @__PURE__ */ s({
|
|
7973
|
-
abi:
|
|
7989
|
+
abi: c,
|
|
7974
7990
|
functionName: "disburseBatch"
|
|
7975
7991
|
}), In = /* @__PURE__ */ i({
|
|
7976
|
-
abi:
|
|
7992
|
+
abi: c,
|
|
7977
7993
|
functionName: "allocate"
|
|
7978
7994
|
}), hn = /* @__PURE__ */ i({
|
|
7979
|
-
abi:
|
|
7995
|
+
abi: c,
|
|
7980
7996
|
functionName: "clawback"
|
|
7981
7997
|
}), gn = /* @__PURE__ */ i({
|
|
7982
|
-
abi:
|
|
7998
|
+
abi: c,
|
|
7983
7999
|
functionName: "clawbackFromTarget"
|
|
7984
8000
|
}), On = /* @__PURE__ */ i({
|
|
7985
|
-
abi:
|
|
8001
|
+
abi: c,
|
|
7986
8002
|
functionName: "disburse"
|
|
7987
8003
|
}), An = /* @__PURE__ */ i({
|
|
7988
|
-
abi:
|
|
8004
|
+
abi: c,
|
|
7989
8005
|
functionName: "disburseBatch"
|
|
7990
8006
|
}), Nn = /* @__PURE__ */ t({
|
|
7991
8007
|
abi: R,
|
|
@@ -8011,24 +8027,24 @@ const ue = [
|
|
|
8011
8027
|
}), En = /* @__PURE__ */ s({
|
|
8012
8028
|
abi: v,
|
|
8013
8029
|
functionName: "completeOwnershipHandover"
|
|
8014
|
-
}),
|
|
8030
|
+
}), kn = /* @__PURE__ */ s({
|
|
8015
8031
|
abi: v,
|
|
8016
8032
|
functionName: "renounceOwnership"
|
|
8017
8033
|
}), Fn = /* @__PURE__ */ s(
|
|
8018
8034
|
{ abi: v, functionName: "renounceRoles" }
|
|
8019
|
-
),
|
|
8035
|
+
), Dn = /* @__PURE__ */ s({
|
|
8020
8036
|
abi: v,
|
|
8021
8037
|
functionName: "requestOwnershipHandover"
|
|
8022
8038
|
}), qn = /* @__PURE__ */ s({
|
|
8023
8039
|
abi: v,
|
|
8024
8040
|
functionName: "transferOwnership"
|
|
8025
|
-
}),
|
|
8041
|
+
}), Bn = /* @__PURE__ */ i({
|
|
8026
8042
|
abi: v,
|
|
8027
8043
|
functionName: "cancelOwnershipHandover"
|
|
8028
8044
|
}), Sn = /* @__PURE__ */ i({
|
|
8029
8045
|
abi: v,
|
|
8030
8046
|
functionName: "completeOwnershipHandover"
|
|
8031
|
-
}),
|
|
8047
|
+
}), Ln = /* @__PURE__ */ i({
|
|
8032
8048
|
abi: v,
|
|
8033
8049
|
functionName: "renounceOwnership"
|
|
8034
8050
|
}), Pn = /* @__PURE__ */ i({
|
|
@@ -8042,25 +8058,25 @@ const ue = [
|
|
|
8042
8058
|
functionName: "transferOwnership"
|
|
8043
8059
|
}), Zn = /* @__PURE__ */ t(
|
|
8044
8060
|
{ abi: se, functionName: "isAuthorized" }
|
|
8045
|
-
),
|
|
8061
|
+
), jn = /* @__PURE__ */ t({
|
|
8046
8062
|
abi: M,
|
|
8047
8063
|
functionName: "claimed"
|
|
8048
|
-
}),
|
|
8064
|
+
}), Gn = /* @__PURE__ */ t({
|
|
8049
8065
|
abi: M,
|
|
8050
8066
|
functionName: "claims"
|
|
8051
|
-
}),
|
|
8067
|
+
}), $n = /* @__PURE__ */ t({
|
|
8052
8068
|
abi: M,
|
|
8053
8069
|
functionName: "currentReward"
|
|
8054
|
-
}),
|
|
8070
|
+
}), Yn = /* @__PURE__ */ t({
|
|
8055
8071
|
abi: M,
|
|
8056
8072
|
functionName: "isClaimable"
|
|
8057
|
-
}),
|
|
8073
|
+
}), Wn = /* @__PURE__ */ t({
|
|
8058
8074
|
abi: M,
|
|
8059
8075
|
functionName: "limit"
|
|
8060
|
-
}),
|
|
8076
|
+
}), Kn = /* @__PURE__ */ t({
|
|
8061
8077
|
abi: M,
|
|
8062
8078
|
functionName: "reward"
|
|
8063
|
-
}),
|
|
8079
|
+
}), Qn = /* @__PURE__ */ t({
|
|
8064
8080
|
abi: M,
|
|
8065
8081
|
functionName: "selector"
|
|
8066
8082
|
}), Xn = /* @__PURE__ */ t({
|
|
@@ -8073,47 +8089,47 @@ const ue = [
|
|
|
8073
8089
|
abi: M,
|
|
8074
8090
|
functionName: "claim"
|
|
8075
8091
|
}), ta = /* @__PURE__ */ t({
|
|
8076
|
-
abi:
|
|
8092
|
+
abi: b,
|
|
8077
8093
|
functionName: "hasAllRoles"
|
|
8078
8094
|
}), na = /* @__PURE__ */ t({
|
|
8079
|
-
abi:
|
|
8095
|
+
abi: b,
|
|
8080
8096
|
functionName: "hasAnyRole"
|
|
8081
8097
|
}), aa = /* @__PURE__ */ t({
|
|
8082
|
-
abi:
|
|
8098
|
+
abi: b,
|
|
8083
8099
|
functionName: "isAuthorized"
|
|
8084
8100
|
}), ia = /* @__PURE__ */ t({
|
|
8085
|
-
abi:
|
|
8101
|
+
abi: b,
|
|
8086
8102
|
functionName: "rolesOf"
|
|
8087
8103
|
}), sa = /* @__PURE__ */ s({
|
|
8088
|
-
abi:
|
|
8104
|
+
abi: b,
|
|
8089
8105
|
functionName: "grantManyRoles"
|
|
8090
8106
|
}), pa = /* @__PURE__ */ s({
|
|
8091
|
-
abi:
|
|
8107
|
+
abi: b,
|
|
8092
8108
|
functionName: "grantRoles"
|
|
8093
8109
|
}), ra = /* @__PURE__ */ s({
|
|
8094
|
-
abi:
|
|
8110
|
+
abi: b,
|
|
8095
8111
|
functionName: "revokeManyRoles"
|
|
8096
8112
|
}), ya = /* @__PURE__ */ s({
|
|
8097
|
-
abi:
|
|
8113
|
+
abi: b,
|
|
8098
8114
|
functionName: "revokeRoles"
|
|
8099
8115
|
}), ua = /* @__PURE__ */ s({
|
|
8100
|
-
abi:
|
|
8116
|
+
abi: b,
|
|
8101
8117
|
functionName: "setAuthorized"
|
|
8102
8118
|
}), oa = /* @__PURE__ */ i({
|
|
8103
|
-
abi:
|
|
8119
|
+
abi: b,
|
|
8104
8120
|
functionName: "grantManyRoles"
|
|
8105
8121
|
}), la = /* @__PURE__ */ i({
|
|
8106
|
-
abi:
|
|
8122
|
+
abi: b,
|
|
8107
8123
|
functionName: "grantRoles"
|
|
8108
8124
|
}), da = /* @__PURE__ */ i(
|
|
8109
|
-
{ abi:
|
|
8125
|
+
{ abi: b, functionName: "revokeManyRoles" }
|
|
8110
8126
|
), ma = /* @__PURE__ */ i({
|
|
8111
|
-
abi:
|
|
8127
|
+
abi: b,
|
|
8112
8128
|
functionName: "revokeRoles"
|
|
8113
|
-
}),
|
|
8114
|
-
abi:
|
|
8129
|
+
}), ca = /* @__PURE__ */ i({
|
|
8130
|
+
abi: b,
|
|
8115
8131
|
functionName: "setAuthorized"
|
|
8116
|
-
}),
|
|
8132
|
+
}), ba = /* @__PURE__ */ t({
|
|
8117
8133
|
abi: O,
|
|
8118
8134
|
functionName: "hashSignerData"
|
|
8119
8135
|
}), Ta = /* @__PURE__ */ t({
|
|
@@ -8149,44 +8165,44 @@ const ue = [
|
|
|
8149
8165
|
abi: H,
|
|
8150
8166
|
functionName: "setAllowed"
|
|
8151
8167
|
}), xa = /* @__PURE__ */ t({
|
|
8152
|
-
abi:
|
|
8168
|
+
abi: D,
|
|
8153
8169
|
functionName: "isAllowed"
|
|
8154
8170
|
}), Ra = /* @__PURE__ */ s({
|
|
8155
|
-
abi:
|
|
8171
|
+
abi: D,
|
|
8156
8172
|
functionName: "setDenied"
|
|
8157
8173
|
}), za = /* @__PURE__ */ i({
|
|
8158
|
-
abi:
|
|
8174
|
+
abi: D,
|
|
8159
8175
|
functionName: "setDenied"
|
|
8160
8176
|
});
|
|
8161
8177
|
export {
|
|
8162
|
-
|
|
8178
|
+
da as $,
|
|
8163
8179
|
f as A,
|
|
8164
8180
|
I as B,
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8181
|
+
D as C,
|
|
8182
|
+
Hn as D,
|
|
8183
|
+
Pn as E,
|
|
8168
8184
|
O as F,
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8185
|
+
se as G,
|
|
8186
|
+
pa as H,
|
|
8187
|
+
m as I,
|
|
8188
|
+
ca as J,
|
|
8189
|
+
Fn as K,
|
|
8190
|
+
ua as L,
|
|
8191
|
+
me as M,
|
|
8192
|
+
aa as N,
|
|
8177
8193
|
H as O,
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8194
|
+
be as P,
|
|
8195
|
+
ma as Q,
|
|
8196
|
+
ce as R,
|
|
8197
|
+
Ge as S,
|
|
8182
8198
|
T,
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8199
|
+
la as U,
|
|
8200
|
+
Ze as V,
|
|
8201
|
+
je as W,
|
|
8202
|
+
_n as X,
|
|
8203
|
+
Ve as Y,
|
|
8204
|
+
Se as Z,
|
|
8205
|
+
Le as _,
|
|
8190
8206
|
V as a,
|
|
8191
8207
|
qt as a$,
|
|
8192
8208
|
Ue as a0,
|
|
@@ -8200,23 +8216,23 @@ export {
|
|
|
8200
8216
|
gn as a8,
|
|
8201
8217
|
vn as a9,
|
|
8202
8218
|
et as aA,
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8219
|
+
We as aB,
|
|
8220
|
+
$e as aC,
|
|
8221
|
+
Ye as aD,
|
|
8206
8222
|
tt as aE,
|
|
8207
8223
|
it as aF,
|
|
8208
8224
|
nt as aG,
|
|
8209
8225
|
st as aH,
|
|
8210
8226
|
at as aI,
|
|
8211
8227
|
Xe as aJ,
|
|
8212
|
-
|
|
8228
|
+
Qe as aK,
|
|
8213
8229
|
mt as aL,
|
|
8214
8230
|
ut as aM,
|
|
8215
8231
|
yt as aN,
|
|
8216
8232
|
rt as aO,
|
|
8217
8233
|
pt as aP,
|
|
8218
|
-
|
|
8219
|
-
|
|
8234
|
+
bt as aQ,
|
|
8235
|
+
ct as aR,
|
|
8220
8236
|
dt as aS,
|
|
8221
8237
|
ot as aT,
|
|
8222
8238
|
wt as aU,
|
|
@@ -8230,8 +8246,8 @@ export {
|
|
|
8230
8246
|
wn as ab,
|
|
8231
8247
|
An as ac,
|
|
8232
8248
|
Mn as ad,
|
|
8233
|
-
|
|
8234
|
-
|
|
8249
|
+
cn as ae,
|
|
8250
|
+
bn as af,
|
|
8235
8251
|
dn as ag,
|
|
8236
8252
|
mn as ah,
|
|
8237
8253
|
Ie as ai,
|
|
@@ -8251,19 +8267,19 @@ export {
|
|
|
8251
8267
|
za as aw,
|
|
8252
8268
|
Ra as ax,
|
|
8253
8269
|
Je as ay,
|
|
8254
|
-
|
|
8270
|
+
Ke as az,
|
|
8255
8271
|
l as b,
|
|
8256
8272
|
Jt as b$,
|
|
8257
|
-
|
|
8258
|
-
|
|
8259
|
-
|
|
8273
|
+
Bt as b0,
|
|
8274
|
+
jt as b1,
|
|
8275
|
+
$t as b2,
|
|
8260
8276
|
Ut as b3,
|
|
8261
8277
|
Pt as b4,
|
|
8262
|
-
|
|
8278
|
+
Lt as b5,
|
|
8263
8279
|
St as b6,
|
|
8264
|
-
|
|
8280
|
+
Gt as b7,
|
|
8265
8281
|
Zt as b8,
|
|
8266
|
-
|
|
8282
|
+
Kt as b9,
|
|
8267
8283
|
un as bA,
|
|
8268
8284
|
pn as bB,
|
|
8269
8285
|
on as bC,
|
|
@@ -8285,28 +8301,28 @@ export {
|
|
|
8285
8301
|
Rt as bS,
|
|
8286
8302
|
Ft as bT,
|
|
8287
8303
|
Et as bU,
|
|
8288
|
-
|
|
8289
|
-
|
|
8304
|
+
Dt as bV,
|
|
8305
|
+
kt as bW,
|
|
8290
8306
|
xt as bX,
|
|
8291
8307
|
Nt as bY,
|
|
8292
8308
|
de as bZ,
|
|
8293
8309
|
_ as b_,
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8310
|
+
Yt as ba,
|
|
8311
|
+
Qt as bb,
|
|
8312
|
+
Wt as bc,
|
|
8297
8313
|
Vt as bd,
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8314
|
+
Gn as be,
|
|
8315
|
+
$n as bf,
|
|
8316
|
+
Kn as bg,
|
|
8317
|
+
jn as bh,
|
|
8302
8318
|
Xn as bi,
|
|
8303
|
-
|
|
8304
|
-
|
|
8319
|
+
Wn as bj,
|
|
8320
|
+
Qn as bk,
|
|
8305
8321
|
ea as bl,
|
|
8306
8322
|
Jn as bm,
|
|
8307
|
-
|
|
8323
|
+
Yn as bn,
|
|
8308
8324
|
Ta as bo,
|
|
8309
|
-
|
|
8325
|
+
ba as bp,
|
|
8310
8326
|
ha as bq,
|
|
8311
8327
|
wa as br,
|
|
8312
8328
|
Ma as bs,
|
|
@@ -8317,12 +8333,12 @@ export {
|
|
|
8317
8333
|
an as bx,
|
|
8318
8334
|
ln as by,
|
|
8319
8335
|
yn as bz,
|
|
8320
|
-
|
|
8336
|
+
oa as c,
|
|
8321
8337
|
Xt as c0,
|
|
8322
8338
|
tn as c1,
|
|
8323
8339
|
en as c2,
|
|
8324
|
-
|
|
8325
|
-
|
|
8340
|
+
De as c3,
|
|
8341
|
+
ke as c4,
|
|
8326
8342
|
Ce as c5,
|
|
8327
8343
|
Fe as c6,
|
|
8328
8344
|
_e as c7,
|
|
@@ -8334,30 +8350,30 @@ export {
|
|
|
8334
8350
|
He as cd,
|
|
8335
8351
|
Re as ce,
|
|
8336
8352
|
ze as cf,
|
|
8337
|
-
|
|
8353
|
+
Be as cg,
|
|
8338
8354
|
Ee as ch,
|
|
8339
|
-
|
|
8340
|
-
|
|
8355
|
+
sa as d,
|
|
8356
|
+
ra as e,
|
|
8341
8357
|
d as f,
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8358
|
+
ia as g,
|
|
8359
|
+
M as h,
|
|
8360
|
+
na as i,
|
|
8361
|
+
ta as j,
|
|
8362
|
+
ya as k,
|
|
8363
|
+
Vn as l,
|
|
8364
|
+
qn as m,
|
|
8365
|
+
Ln as n,
|
|
8350
8366
|
R as o,
|
|
8351
8367
|
ue as p,
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8368
|
+
kn as q,
|
|
8369
|
+
Un as r,
|
|
8370
|
+
Dn as s,
|
|
8371
|
+
Sn as t,
|
|
8372
|
+
En as u,
|
|
8373
|
+
c as v,
|
|
8374
|
+
Bn as w,
|
|
8359
8375
|
g as x,
|
|
8360
8376
|
h as y,
|
|
8361
|
-
|
|
8377
|
+
b as z
|
|
8362
8378
|
};
|
|
8363
|
-
//# sourceMappingURL=generated-
|
|
8379
|
+
//# sourceMappingURL=generated-D2xuTYvu.js.map
|