@boostxyz/sdk 0.0.0-alpha.7 → 0.0.0-alpha.8
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.d.ts +3 -2
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +10 -10
- package/dist/Actions/EventAction.js.map +1 -1
- package/dist/AllowLists/AllowList.cjs +1 -1
- package/dist/AllowLists/AllowList.d.ts +2 -2
- package/dist/AllowLists/AllowList.js +1 -1
- package/dist/AllowLists/SimpleAllowList.cjs +1 -1
- package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
- package/dist/AllowLists/SimpleAllowList.d.ts +3 -3
- package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleAllowList.js +1 -1
- package/dist/AllowLists/SimpleAllowList.js.map +1 -1
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.js +1 -1
- 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 +33 -1
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +286 -241
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.cjs.map +1 -1
- package/dist/BoostRegistry.d.ts +14 -0
- package/dist/BoostRegistry.d.ts.map +1 -1
- package/dist/BoostRegistry.js +21 -5
- package/dist/BoostRegistry.js.map +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/Deployable.cjs.map +1 -1
- package/dist/Deployable/Deployable.d.ts +8 -2
- package/dist/Deployable/Deployable.d.ts.map +1 -1
- package/dist/Deployable/Deployable.js +6 -0
- package/dist/Deployable/Deployable.js.map +1 -1
- package/dist/Deployable/DeployableTarget.cjs +1 -1
- package/dist/Deployable/DeployableTarget.cjs.map +1 -1
- package/dist/Deployable/DeployableTarget.d.ts +4 -3
- package/dist/Deployable/DeployableTarget.d.ts.map +1 -1
- package/dist/Deployable/DeployableTarget.js +30 -27
- package/dist/Deployable/DeployableTarget.js.map +1 -1
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.js +1 -1
- 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 +1 -1
- package/dist/Incentives/Incentive.cjs +1 -1
- package/dist/Incentives/Incentive.js +1 -1
- package/dist/Incentives/PointsIncentive.cjs +1 -1
- package/dist/Incentives/PointsIncentive.js +1 -1
- 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/errors.cjs +1 -1
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.ts +14 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +30 -21
- package/dist/errors.js.map +1 -1
- package/dist/{generated-Cd-Fe7W7.cjs → generated-BzszviNp.cjs} +3 -3
- package/dist/{generated-Cd-Fe7W7.cjs.map → generated-BzszviNp.cjs.map} +1 -1
- package/dist/{generated-DGpIVcv5.js → generated-Cbv8zFkf.js} +286 -278
- package/dist/{generated-DGpIVcv5.js.map → generated-Cbv8zFkf.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +105 -104
- package/package.json +1 -1
- package/src/Actions/EventAction.ts +10 -2
- package/src/AllowLists/SimpleAllowList.ts +3 -2
- package/src/BoostCore.ts +76 -13
- package/src/BoostRegistry.ts +21 -0
- package/src/Deployable/Deployable.ts +8 -2
- package/src/Deployable/DeployableTarget.ts +17 -4
- package/src/errors.ts +18 -0
|
@@ -69,13 +69,13 @@ function R(t, a, e) {
|
|
|
69
69
|
return typeof y == "function" ? y : (u) => a(t, u);
|
|
70
70
|
}
|
|
71
71
|
const Z = "2.13.0", G = () => `@wagmi/core@${Z}`;
|
|
72
|
-
var
|
|
72
|
+
var F = function(t, a, e, i) {
|
|
73
73
|
if (e === "a" && !i)
|
|
74
74
|
throw new TypeError("Private accessor was defined without a getter");
|
|
75
75
|
if (typeof a == "function" ? t !== a || !i : !a.has(t))
|
|
76
76
|
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
77
77
|
return e === "m" ? i : e === "a" ? i.call(t) : i ? i.value : a.get(t);
|
|
78
|
-
}, O,
|
|
78
|
+
}, O, E;
|
|
79
79
|
class h extends Error {
|
|
80
80
|
get docsBaseUrl() {
|
|
81
81
|
return "https://wagmi.sh/core";
|
|
@@ -125,11 +125,11 @@ class h extends Error {
|
|
|
125
125
|
`), e.cause && (this.cause = e.cause), this.details = y, this.docsPath = u, this.metaMessages = e.metaMessages, this.shortMessage = a;
|
|
126
126
|
}
|
|
127
127
|
walk(a) {
|
|
128
|
-
return
|
|
128
|
+
return F(this, O, "m", E).call(this, this, a);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
O = /* @__PURE__ */ new WeakSet(),
|
|
132
|
-
return e != null && e(a) ? a : a.cause ?
|
|
131
|
+
O = /* @__PURE__ */ new WeakSet(), E = function t(a, e) {
|
|
132
|
+
return e != null && e(a) ? a : a.cause ? F(this, O, "m", t).call(this, a.cause, e) : a;
|
|
133
133
|
};
|
|
134
134
|
class X extends h {
|
|
135
135
|
constructor() {
|
|
@@ -169,14 +169,14 @@ class W extends h {
|
|
|
169
169
|
async function B(t, a = {}) {
|
|
170
170
|
let e;
|
|
171
171
|
if (a.connector) {
|
|
172
|
-
const { connector:
|
|
173
|
-
|
|
174
|
-
|
|
172
|
+
const { connector: m } = a, [g, k] = await Promise.all([
|
|
173
|
+
m.getAccounts(),
|
|
174
|
+
m.getChainId()
|
|
175
175
|
]);
|
|
176
176
|
e = {
|
|
177
177
|
accounts: g,
|
|
178
178
|
chainId: k,
|
|
179
|
-
connector:
|
|
179
|
+
connector: m
|
|
180
180
|
};
|
|
181
181
|
} else
|
|
182
182
|
e = t.state.connections.get(t.state.current);
|
|
@@ -193,8 +193,8 @@ async function B(t, a = {}) {
|
|
|
193
193
|
return u.getClient({ chainId: i });
|
|
194
194
|
const r = V(a.account ?? e.accounts[0]);
|
|
195
195
|
r.address = $(r.address);
|
|
196
|
-
const T = t.chains.find((
|
|
197
|
-
if (a.account && !e.accounts.some((
|
|
196
|
+
const T = t.chains.find((m) => m.id === i), M = await e.connector.getProvider({ chainId: i });
|
|
197
|
+
if (a.account && !e.accounts.some((m) => m.toLowerCase() === r.address.toLowerCase()))
|
|
198
198
|
throw new K({
|
|
199
199
|
address: r.address,
|
|
200
200
|
connector: u
|
|
@@ -203,7 +203,7 @@ async function B(t, a = {}) {
|
|
|
203
203
|
account: r,
|
|
204
204
|
chain: T,
|
|
205
205
|
name: "Connector Client",
|
|
206
|
-
transport: (
|
|
206
|
+
transport: (m) => j(M)({ ...m, retryCount: 0 })
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
async function C(t, a) {
|
|
@@ -213,10 +213,10 @@ async function C(t, a) {
|
|
|
213
213
|
chainId: i,
|
|
214
214
|
connector: y
|
|
215
215
|
})).account;
|
|
216
|
-
const T = t.getClient({ chainId: i }), M = R(T, P, "simulateContract"), { result:
|
|
216
|
+
const T = t.getClient({ chainId: i }), M = R(T, P, "simulateContract"), { result: m, request: g } = await M({ ...u, abi: e, account: r });
|
|
217
217
|
return {
|
|
218
218
|
chainId: T.chain.id,
|
|
219
|
-
result:
|
|
219
|
+
result: m,
|
|
220
220
|
request: { __mode: "prepared", ...g, chainId: i }
|
|
221
221
|
};
|
|
222
222
|
}
|
|
@@ -263,19 +263,19 @@ async function D(t, a) {
|
|
|
263
263
|
let T;
|
|
264
264
|
typeof e == "object" && e.type === "local" ? T = t.getClient({ chainId: i }) : T = await B(t, { account: e, chainId: i, connector: y });
|
|
265
265
|
const { connector: M } = A(t);
|
|
266
|
-
let
|
|
266
|
+
let m;
|
|
267
267
|
if (u === "prepared" || M != null && M.supportsSimulation)
|
|
268
|
-
|
|
268
|
+
m = r;
|
|
269
269
|
else {
|
|
270
270
|
const { request: g } = await C(t, {
|
|
271
271
|
...r,
|
|
272
272
|
account: e,
|
|
273
273
|
chainId: i
|
|
274
274
|
});
|
|
275
|
-
|
|
275
|
+
m = g;
|
|
276
276
|
}
|
|
277
277
|
return await R(T, U, "writeContract")({
|
|
278
|
-
...
|
|
278
|
+
...m,
|
|
279
279
|
...e ? { account: e } : {},
|
|
280
280
|
chain: i ? { id: i } : null
|
|
281
281
|
});
|
|
@@ -1079,7 +1079,7 @@ const ne = [
|
|
|
1079
1079
|
outputs: [],
|
|
1080
1080
|
stateMutability: "payable"
|
|
1081
1081
|
}
|
|
1082
|
-
],
|
|
1082
|
+
], l = [
|
|
1083
1083
|
{
|
|
1084
1084
|
type: "constructor",
|
|
1085
1085
|
inputs: [
|
|
@@ -1930,7 +1930,7 @@ const ne = [
|
|
|
1930
1930
|
outputs: [],
|
|
1931
1931
|
stateMutability: "payable"
|
|
1932
1932
|
}
|
|
1933
|
-
],
|
|
1933
|
+
], d = [
|
|
1934
1934
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
1935
1935
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
1936
1936
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -4120,380 +4120,386 @@ const ne = [
|
|
|
4120
4120
|
abi: w,
|
|
4121
4121
|
functionName: "claim"
|
|
4122
4122
|
}), we = /* @__PURE__ */ n({
|
|
4123
|
-
abi:
|
|
4123
|
+
abi: l,
|
|
4124
4124
|
functionName: "claimFee"
|
|
4125
4125
|
}), ve = /* @__PURE__ */ n({
|
|
4126
|
-
abi:
|
|
4126
|
+
abi: l,
|
|
4127
4127
|
functionName: "createBoostAuth"
|
|
4128
4128
|
}), Ie = /* @__PURE__ */ n({
|
|
4129
|
-
abi:
|
|
4129
|
+
abi: l,
|
|
4130
4130
|
functionName: "getBoost"
|
|
4131
4131
|
}), Me = /* @__PURE__ */ n({
|
|
4132
|
-
abi:
|
|
4132
|
+
abi: l,
|
|
4133
4133
|
functionName: "getBoostCount"
|
|
4134
4134
|
}), he = /* @__PURE__ */ n({
|
|
4135
|
-
abi:
|
|
4135
|
+
abi: l,
|
|
4136
4136
|
functionName: "protocolFee"
|
|
4137
4137
|
}), ge = /* @__PURE__ */ n({
|
|
4138
|
-
abi:
|
|
4138
|
+
abi: l,
|
|
4139
4139
|
functionName: "protocolFeeReceiver"
|
|
4140
4140
|
}), Ne = /* @__PURE__ */ p({
|
|
4141
|
-
abi:
|
|
4141
|
+
abi: l,
|
|
4142
4142
|
functionName: "claimIncentive"
|
|
4143
4143
|
}), Oe = /* @__PURE__ */ p({
|
|
4144
|
-
abi:
|
|
4145
|
-
functionName: "
|
|
4144
|
+
abi: l,
|
|
4145
|
+
functionName: "claimIncentiveFor"
|
|
4146
4146
|
}), Ae = /* @__PURE__ */ p({
|
|
4147
|
-
abi:
|
|
4148
|
-
functionName: "
|
|
4147
|
+
abi: l,
|
|
4148
|
+
functionName: "setClaimFee"
|
|
4149
4149
|
}), ze = /* @__PURE__ */ p({
|
|
4150
|
-
abi:
|
|
4150
|
+
abi: l,
|
|
4151
|
+
functionName: "setCreateBoostAuth"
|
|
4152
|
+
}), Ce = /* @__PURE__ */ p({
|
|
4153
|
+
abi: l,
|
|
4151
4154
|
functionName: "setProtocolFeeReceiver"
|
|
4152
|
-
}), Ce = /* @__PURE__ */ s({
|
|
4153
|
-
abi: m,
|
|
4154
|
-
functionName: "claimIncentive"
|
|
4155
4155
|
}), xe = /* @__PURE__ */ s({
|
|
4156
|
-
abi:
|
|
4157
|
-
functionName: "
|
|
4156
|
+
abi: l,
|
|
4157
|
+
functionName: "claimIncentive"
|
|
4158
4158
|
}), Re = /* @__PURE__ */ s({
|
|
4159
|
-
abi:
|
|
4160
|
-
functionName: "
|
|
4159
|
+
abi: l,
|
|
4160
|
+
functionName: "claimIncentiveFor"
|
|
4161
4161
|
}), _e = /* @__PURE__ */ s({
|
|
4162
|
-
abi:
|
|
4162
|
+
abi: l,
|
|
4163
|
+
functionName: "setClaimFee"
|
|
4164
|
+
}), He = /* @__PURE__ */ s({
|
|
4165
|
+
abi: l,
|
|
4166
|
+
functionName: "setCreateBoostAuth"
|
|
4167
|
+
}), De = /* @__PURE__ */ s({
|
|
4168
|
+
abi: l,
|
|
4163
4169
|
functionName: "setProtocolFeeReceiver"
|
|
4164
|
-
}),
|
|
4170
|
+
}), Fe = /* @__PURE__ */ n({
|
|
4165
4171
|
abi: I,
|
|
4166
4172
|
functionName: "getBaseImplementation"
|
|
4167
|
-
}),
|
|
4173
|
+
}), Ee = /* @__PURE__ */ n({
|
|
4168
4174
|
abi: I,
|
|
4169
4175
|
functionName: "getCloneIdentifier"
|
|
4170
|
-
}),
|
|
4176
|
+
}), Be = /* @__PURE__ */ n({
|
|
4171
4177
|
abi: I,
|
|
4172
4178
|
functionName: "getClones"
|
|
4173
|
-
}),
|
|
4179
|
+
}), qe = /* @__PURE__ */ p({
|
|
4174
4180
|
abi: I,
|
|
4175
4181
|
functionName: "deployClone"
|
|
4176
|
-
}),
|
|
4182
|
+
}), ke = /* @__PURE__ */ p({
|
|
4177
4183
|
abi: I,
|
|
4178
4184
|
functionName: "register"
|
|
4179
|
-
}),
|
|
4185
|
+
}), Pe = /* @__PURE__ */ s({
|
|
4180
4186
|
abi: I,
|
|
4181
4187
|
functionName: "deployClone"
|
|
4182
|
-
}),
|
|
4188
|
+
}), Le = /* @__PURE__ */ s({
|
|
4183
4189
|
abi: I,
|
|
4184
4190
|
functionName: "register"
|
|
4185
|
-
}),
|
|
4191
|
+
}), Ue = /* @__PURE__ */ n({
|
|
4186
4192
|
abi: c,
|
|
4187
4193
|
functionName: "asset"
|
|
4188
|
-
}),
|
|
4194
|
+
}), Se = /* @__PURE__ */ n({
|
|
4189
4195
|
abi: c,
|
|
4190
4196
|
functionName: "cgdaParams"
|
|
4191
|
-
}),
|
|
4197
|
+
}), je = /* @__PURE__ */ n({
|
|
4192
4198
|
abi: c,
|
|
4193
4199
|
functionName: "claimed"
|
|
4194
|
-
}),
|
|
4200
|
+
}), Ve = /* @__PURE__ */ n({
|
|
4195
4201
|
abi: c,
|
|
4196
4202
|
functionName: "claims"
|
|
4197
|
-
}),
|
|
4203
|
+
}), $e = /* @__PURE__ */ n({
|
|
4198
4204
|
abi: c,
|
|
4199
4205
|
functionName: "currentReward"
|
|
4200
|
-
}),
|
|
4206
|
+
}), Ze = /* @__PURE__ */ n({
|
|
4201
4207
|
abi: c,
|
|
4202
4208
|
functionName: "isClaimable"
|
|
4203
|
-
}),
|
|
4209
|
+
}), Ge = /* @__PURE__ */ n({
|
|
4204
4210
|
abi: c,
|
|
4205
4211
|
functionName: "owner"
|
|
4206
|
-
}),
|
|
4212
|
+
}), Xe = /* @__PURE__ */ n({
|
|
4207
4213
|
abi: c,
|
|
4208
4214
|
functionName: "reward"
|
|
4209
|
-
}),
|
|
4215
|
+
}), Ke = /* @__PURE__ */ n({
|
|
4210
4216
|
abi: c,
|
|
4211
4217
|
functionName: "totalBudget"
|
|
4212
|
-
}),
|
|
4218
|
+
}), We = /* @__PURE__ */ p({
|
|
4213
4219
|
abi: c,
|
|
4214
4220
|
functionName: "claim"
|
|
4215
|
-
}),
|
|
4221
|
+
}), Je = /* @__PURE__ */ p({
|
|
4216
4222
|
abi: c,
|
|
4217
4223
|
functionName: "clawback"
|
|
4218
|
-
}),
|
|
4224
|
+
}), Qe = /* @__PURE__ */ s({
|
|
4219
4225
|
abi: c,
|
|
4220
4226
|
functionName: "claim"
|
|
4221
|
-
}),
|
|
4227
|
+
}), Ye = /* @__PURE__ */ s({
|
|
4222
4228
|
abi: c,
|
|
4223
4229
|
functionName: "clawback"
|
|
4224
|
-
}),
|
|
4225
|
-
abi:
|
|
4230
|
+
}), et = /* @__PURE__ */ n({
|
|
4231
|
+
abi: d,
|
|
4226
4232
|
functionName: "asset"
|
|
4227
|
-
}),
|
|
4228
|
-
abi:
|
|
4233
|
+
}), tt = /* @__PURE__ */ n({
|
|
4234
|
+
abi: d,
|
|
4229
4235
|
functionName: "claimed"
|
|
4230
|
-
}),
|
|
4231
|
-
abi:
|
|
4236
|
+
}), nt = /* @__PURE__ */ n({
|
|
4237
|
+
abi: d,
|
|
4232
4238
|
functionName: "claims"
|
|
4233
|
-
}),
|
|
4234
|
-
{ abi:
|
|
4235
|
-
),
|
|
4236
|
-
abi:
|
|
4239
|
+
}), at = /* @__PURE__ */ n(
|
|
4240
|
+
{ abi: d, functionName: "currentReward" }
|
|
4241
|
+
), it = /* @__PURE__ */ n({
|
|
4242
|
+
abi: d,
|
|
4237
4243
|
functionName: "entries"
|
|
4238
|
-
}),
|
|
4239
|
-
abi:
|
|
4244
|
+
}), st = /* @__PURE__ */ n({
|
|
4245
|
+
abi: d,
|
|
4240
4246
|
functionName: "isClaimable"
|
|
4241
|
-
}),
|
|
4242
|
-
abi:
|
|
4247
|
+
}), pt = /* @__PURE__ */ n({
|
|
4248
|
+
abi: d,
|
|
4243
4249
|
functionName: "limit"
|
|
4244
|
-
}),
|
|
4245
|
-
abi:
|
|
4250
|
+
}), rt = /* @__PURE__ */ n({
|
|
4251
|
+
abi: d,
|
|
4246
4252
|
functionName: "owner"
|
|
4247
|
-
}),
|
|
4248
|
-
abi:
|
|
4253
|
+
}), yt = /* @__PURE__ */ n({
|
|
4254
|
+
abi: d,
|
|
4249
4255
|
functionName: "reward"
|
|
4250
|
-
}),
|
|
4251
|
-
abi:
|
|
4256
|
+
}), ut = /* @__PURE__ */ n({
|
|
4257
|
+
abi: d,
|
|
4252
4258
|
functionName: "strategy"
|
|
4253
|
-
}),
|
|
4254
|
-
abi:
|
|
4259
|
+
}), ot = /* @__PURE__ */ p({
|
|
4260
|
+
abi: d,
|
|
4255
4261
|
functionName: "claim"
|
|
4256
|
-
}),
|
|
4257
|
-
abi:
|
|
4262
|
+
}), lt = /* @__PURE__ */ p({
|
|
4263
|
+
abi: d,
|
|
4258
4264
|
functionName: "clawback"
|
|
4259
|
-
}),
|
|
4260
|
-
abi:
|
|
4265
|
+
}), dt = /* @__PURE__ */ p({
|
|
4266
|
+
abi: d,
|
|
4261
4267
|
functionName: "drawRaffle"
|
|
4262
|
-
}),
|
|
4263
|
-
{ abi:
|
|
4264
|
-
),
|
|
4265
|
-
abi:
|
|
4268
|
+
}), mt = /* @__PURE__ */ s(
|
|
4269
|
+
{ abi: d, functionName: "claim" }
|
|
4270
|
+
), ct = /* @__PURE__ */ s({
|
|
4271
|
+
abi: d,
|
|
4266
4272
|
functionName: "clawback"
|
|
4267
|
-
}),
|
|
4268
|
-
abi:
|
|
4273
|
+
}), bt = /* @__PURE__ */ s({
|
|
4274
|
+
abi: d,
|
|
4269
4275
|
functionName: "drawRaffle"
|
|
4270
|
-
}),
|
|
4276
|
+
}), Tt = /* @__PURE__ */ n(
|
|
4271
4277
|
{ abi: b, functionName: "asset" }
|
|
4272
|
-
),
|
|
4278
|
+
), ft = /* @__PURE__ */ n({
|
|
4273
4279
|
abi: b,
|
|
4274
4280
|
functionName: "claimed"
|
|
4275
|
-
}),
|
|
4281
|
+
}), wt = /* @__PURE__ */ n({
|
|
4276
4282
|
abi: b,
|
|
4277
4283
|
functionName: "claims"
|
|
4278
|
-
}),
|
|
4284
|
+
}), vt = /* @__PURE__ */ n({
|
|
4279
4285
|
abi: b,
|
|
4280
4286
|
functionName: "currentReward"
|
|
4281
|
-
}),
|
|
4287
|
+
}), It = /* @__PURE__ */ n({
|
|
4282
4288
|
abi: b,
|
|
4283
4289
|
functionName: "isClaimable"
|
|
4284
|
-
}),
|
|
4290
|
+
}), Mt = /* @__PURE__ */ n(
|
|
4285
4291
|
{ abi: b, functionName: "limit" }
|
|
4286
|
-
),
|
|
4292
|
+
), ht = /* @__PURE__ */ n(
|
|
4287
4293
|
{ abi: b, functionName: "owner" }
|
|
4288
|
-
),
|
|
4294
|
+
), gt = /* @__PURE__ */ n({
|
|
4289
4295
|
abi: b,
|
|
4290
4296
|
functionName: "reward"
|
|
4291
|
-
}),
|
|
4297
|
+
}), Nt = /* @__PURE__ */ n({
|
|
4292
4298
|
abi: b,
|
|
4293
4299
|
functionName: "totalClaimed"
|
|
4294
|
-
}),
|
|
4300
|
+
}), Ot = /* @__PURE__ */ p({
|
|
4295
4301
|
abi: b,
|
|
4296
4302
|
functionName: "claim"
|
|
4297
|
-
}),
|
|
4303
|
+
}), At = /* @__PURE__ */ p({
|
|
4298
4304
|
abi: b,
|
|
4299
4305
|
functionName: "clawback"
|
|
4300
|
-
}),
|
|
4306
|
+
}), zt = /* @__PURE__ */ s({
|
|
4301
4307
|
abi: b,
|
|
4302
4308
|
functionName: "claim"
|
|
4303
|
-
}),
|
|
4309
|
+
}), Ct = /* @__PURE__ */ s({
|
|
4304
4310
|
abi: b,
|
|
4305
4311
|
functionName: "clawback"
|
|
4306
|
-
}),
|
|
4312
|
+
}), xt = /* @__PURE__ */ n({
|
|
4307
4313
|
abi: z,
|
|
4308
4314
|
functionName: "getActionClaimant"
|
|
4309
|
-
}),
|
|
4315
|
+
}), Rt = /* @__PURE__ */ n({
|
|
4310
4316
|
abi: z,
|
|
4311
4317
|
functionName: "getActionSteps"
|
|
4312
|
-
}),
|
|
4318
|
+
}), _t = /* @__PURE__ */ p({
|
|
4313
4319
|
abi: z,
|
|
4314
4320
|
functionName: "execute"
|
|
4315
|
-
}),
|
|
4321
|
+
}), Ht = /* @__PURE__ */ s({
|
|
4316
4322
|
abi: z,
|
|
4317
4323
|
functionName: "execute"
|
|
4318
|
-
}),
|
|
4324
|
+
}), Dt = /* @__PURE__ */ n({
|
|
4319
4325
|
abi: J,
|
|
4320
4326
|
functionName: "isAuthorized"
|
|
4321
|
-
}),
|
|
4327
|
+
}), Ft = /* @__PURE__ */ n({
|
|
4322
4328
|
abi: o,
|
|
4323
4329
|
functionName: "available"
|
|
4324
|
-
}),
|
|
4330
|
+
}), Et = /* @__PURE__ */ n({
|
|
4325
4331
|
abi: o,
|
|
4326
4332
|
functionName: "distributed"
|
|
4327
|
-
}),
|
|
4333
|
+
}), Bt = /* @__PURE__ */ n({
|
|
4328
4334
|
abi: o,
|
|
4329
4335
|
functionName: "hasAllRoles"
|
|
4330
|
-
}),
|
|
4336
|
+
}), qt = /* @__PURE__ */ n({
|
|
4331
4337
|
abi: o,
|
|
4332
4338
|
functionName: "hasAnyRole"
|
|
4333
|
-
}),
|
|
4339
|
+
}), kt = /* @__PURE__ */ n({
|
|
4334
4340
|
abi: o,
|
|
4335
4341
|
functionName: "isAuthorized"
|
|
4336
|
-
}),
|
|
4342
|
+
}), Pt = /* @__PURE__ */ n({
|
|
4337
4343
|
abi: o,
|
|
4338
4344
|
functionName: "owner"
|
|
4339
|
-
}),
|
|
4345
|
+
}), Lt = /* @__PURE__ */ n({
|
|
4340
4346
|
abi: o,
|
|
4341
4347
|
functionName: "rolesOf"
|
|
4342
|
-
}),
|
|
4348
|
+
}), Ut = /* @__PURE__ */ n({
|
|
4343
4349
|
abi: o,
|
|
4344
4350
|
functionName: "total"
|
|
4345
|
-
}),
|
|
4351
|
+
}), St = /* @__PURE__ */ p({
|
|
4346
4352
|
abi: o,
|
|
4347
4353
|
functionName: "allocate"
|
|
4348
|
-
}),
|
|
4354
|
+
}), jt = /* @__PURE__ */ p({
|
|
4349
4355
|
abi: o,
|
|
4350
4356
|
functionName: "clawback"
|
|
4351
|
-
}),
|
|
4357
|
+
}), Vt = /* @__PURE__ */ p({
|
|
4352
4358
|
abi: o,
|
|
4353
4359
|
functionName: "disburse"
|
|
4354
|
-
}),
|
|
4360
|
+
}), $t = /* @__PURE__ */ p({
|
|
4355
4361
|
abi: o,
|
|
4356
4362
|
functionName: "disburseBatch"
|
|
4357
|
-
}),
|
|
4363
|
+
}), Zt = /* @__PURE__ */ p({
|
|
4358
4364
|
abi: o,
|
|
4359
4365
|
functionName: "grantRoles"
|
|
4360
|
-
}),
|
|
4366
|
+
}), Gt = /* @__PURE__ */ p({
|
|
4361
4367
|
abi: o,
|
|
4362
4368
|
functionName: "revokeRoles"
|
|
4363
|
-
}),
|
|
4369
|
+
}), Xt = /* @__PURE__ */ p({
|
|
4364
4370
|
abi: o,
|
|
4365
4371
|
functionName: "setAuthorized"
|
|
4366
|
-
}),
|
|
4372
|
+
}), Kt = /* @__PURE__ */ s({
|
|
4367
4373
|
abi: o,
|
|
4368
4374
|
functionName: "allocate"
|
|
4369
|
-
}),
|
|
4375
|
+
}), Wt = /* @__PURE__ */ s({
|
|
4370
4376
|
abi: o,
|
|
4371
4377
|
functionName: "clawback"
|
|
4372
|
-
}),
|
|
4378
|
+
}), Jt = /* @__PURE__ */ s({
|
|
4373
4379
|
abi: o,
|
|
4374
4380
|
functionName: "disburse"
|
|
4375
|
-
}),
|
|
4381
|
+
}), Qt = /* @__PURE__ */ s({
|
|
4376
4382
|
abi: o,
|
|
4377
4383
|
functionName: "disburseBatch"
|
|
4378
|
-
}),
|
|
4384
|
+
}), Yt = /* @__PURE__ */ s({
|
|
4379
4385
|
abi: o,
|
|
4380
4386
|
functionName: "grantRoles"
|
|
4381
|
-
}),
|
|
4387
|
+
}), en = /* @__PURE__ */ s({
|
|
4382
4388
|
abi: o,
|
|
4383
4389
|
functionName: "revokeRoles"
|
|
4384
|
-
}),
|
|
4390
|
+
}), tn = /* @__PURE__ */ s({
|
|
4385
4391
|
abi: o,
|
|
4386
4392
|
functionName: "setAuthorized"
|
|
4387
|
-
}),
|
|
4393
|
+
}), nn = /* @__PURE__ */ n(
|
|
4388
4394
|
{ abi: Q, functionName: "isAuthorized" }
|
|
4389
|
-
),
|
|
4395
|
+
), an = /* @__PURE__ */ n({
|
|
4390
4396
|
abi: f,
|
|
4391
4397
|
functionName: "claimed"
|
|
4392
|
-
}),
|
|
4398
|
+
}), sn = /* @__PURE__ */ n({
|
|
4393
4399
|
abi: f,
|
|
4394
4400
|
functionName: "claims"
|
|
4395
|
-
}),
|
|
4401
|
+
}), pn = /* @__PURE__ */ n({
|
|
4396
4402
|
abi: f,
|
|
4397
4403
|
functionName: "currentReward"
|
|
4398
|
-
}),
|
|
4404
|
+
}), rn = /* @__PURE__ */ n({
|
|
4399
4405
|
abi: f,
|
|
4400
4406
|
functionName: "isClaimable"
|
|
4401
|
-
}),
|
|
4407
|
+
}), yn = /* @__PURE__ */ n({
|
|
4402
4408
|
abi: f,
|
|
4403
4409
|
functionName: "limit"
|
|
4404
|
-
}),
|
|
4410
|
+
}), un = /* @__PURE__ */ n({
|
|
4405
4411
|
abi: f,
|
|
4406
4412
|
functionName: "reward"
|
|
4407
|
-
}),
|
|
4413
|
+
}), on = /* @__PURE__ */ n({
|
|
4408
4414
|
abi: f,
|
|
4409
4415
|
functionName: "selector"
|
|
4410
|
-
}),
|
|
4416
|
+
}), ln = /* @__PURE__ */ n({
|
|
4411
4417
|
abi: f,
|
|
4412
4418
|
functionName: "venue"
|
|
4413
|
-
}),
|
|
4419
|
+
}), dn = /* @__PURE__ */ p({
|
|
4414
4420
|
abi: f,
|
|
4415
4421
|
functionName: "claim"
|
|
4416
|
-
}),
|
|
4422
|
+
}), mn = /* @__PURE__ */ s({
|
|
4417
4423
|
abi: f,
|
|
4418
4424
|
functionName: "claim"
|
|
4419
|
-
}),
|
|
4425
|
+
}), cn = /* @__PURE__ */ n({
|
|
4420
4426
|
abi: v,
|
|
4421
4427
|
functionName: "hashSignerData"
|
|
4422
|
-
}),
|
|
4428
|
+
}), bn = /* @__PURE__ */ n({
|
|
4423
4429
|
abi: v,
|
|
4424
4430
|
functionName: "signers"
|
|
4425
|
-
}),
|
|
4431
|
+
}), Tn = /* @__PURE__ */ p({
|
|
4426
4432
|
abi: v,
|
|
4427
4433
|
functionName: "setAuthorized"
|
|
4428
|
-
}),
|
|
4434
|
+
}), fn = /* @__PURE__ */ p({
|
|
4429
4435
|
abi: v,
|
|
4430
4436
|
functionName: "setValidatorCaller"
|
|
4431
|
-
}),
|
|
4437
|
+
}), wn = /* @__PURE__ */ p({
|
|
4432
4438
|
abi: v,
|
|
4433
4439
|
functionName: "validate"
|
|
4434
|
-
}),
|
|
4440
|
+
}), vn = /* @__PURE__ */ s({
|
|
4435
4441
|
abi: v,
|
|
4436
4442
|
functionName: "setAuthorized"
|
|
4437
|
-
}),
|
|
4443
|
+
}), In = /* @__PURE__ */ s({
|
|
4438
4444
|
abi: v,
|
|
4439
4445
|
functionName: "setValidatorCaller"
|
|
4440
|
-
}),
|
|
4446
|
+
}), Mn = /* @__PURE__ */ s({
|
|
4441
4447
|
abi: v,
|
|
4442
4448
|
functionName: "validate"
|
|
4443
|
-
}),
|
|
4449
|
+
}), hn = /* @__PURE__ */ n({
|
|
4444
4450
|
abi: N,
|
|
4445
4451
|
functionName: "isAllowed"
|
|
4446
|
-
}),
|
|
4452
|
+
}), gn = /* @__PURE__ */ p(
|
|
4447
4453
|
{ abi: N, functionName: "grantRoles" }
|
|
4448
|
-
),
|
|
4454
|
+
), Nn = /* @__PURE__ */ p(
|
|
4449
4455
|
{ abi: N, functionName: "setAllowed" }
|
|
4450
|
-
),
|
|
4456
|
+
), On = /* @__PURE__ */ s({
|
|
4451
4457
|
abi: N,
|
|
4452
4458
|
functionName: "grantRoles"
|
|
4453
|
-
}),
|
|
4459
|
+
}), An = /* @__PURE__ */ s({
|
|
4454
4460
|
abi: N,
|
|
4455
4461
|
functionName: "setAllowed"
|
|
4456
|
-
}),
|
|
4462
|
+
}), zn = /* @__PURE__ */ n({
|
|
4457
4463
|
abi: _,
|
|
4458
4464
|
functionName: "isAllowed"
|
|
4459
|
-
}),
|
|
4465
|
+
}), Cn = /* @__PURE__ */ p({
|
|
4460
4466
|
abi: _,
|
|
4461
4467
|
functionName: "setDenied"
|
|
4462
|
-
}),
|
|
4468
|
+
}), xn = /* @__PURE__ */ s({
|
|
4463
4469
|
abi: _,
|
|
4464
4470
|
functionName: "setDenied"
|
|
4465
4471
|
});
|
|
4466
4472
|
export {
|
|
4467
|
-
|
|
4473
|
+
Rt as $,
|
|
4468
4474
|
w as A,
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4475
|
+
en as B,
|
|
4476
|
+
Gt as C,
|
|
4477
|
+
Vt as D,
|
|
4478
|
+
Lt as E,
|
|
4479
|
+
Bt as F,
|
|
4480
|
+
xt as G,
|
|
4481
|
+
kt as H,
|
|
4482
|
+
ke as I,
|
|
4483
|
+
Pt as J,
|
|
4478
4484
|
re as K,
|
|
4479
|
-
|
|
4485
|
+
jt as L,
|
|
4480
4486
|
v as M,
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4487
|
+
Pe as N,
|
|
4488
|
+
qt as O,
|
|
4489
|
+
$t as P,
|
|
4490
|
+
Xt as Q,
|
|
4491
|
+
Ut as R,
|
|
4486
4492
|
_ as S,
|
|
4487
4493
|
N as T,
|
|
4488
|
-
|
|
4489
|
-
|
|
4494
|
+
Ft as U,
|
|
4495
|
+
Et as V,
|
|
4490
4496
|
z as W,
|
|
4491
4497
|
ne as X,
|
|
4492
4498
|
ce as Y,
|
|
4493
4499
|
le as Z,
|
|
4494
|
-
|
|
4500
|
+
St as _,
|
|
4495
4501
|
ie as a,
|
|
4496
|
-
|
|
4502
|
+
ht as a$,
|
|
4497
4503
|
be as a0,
|
|
4498
4504
|
oe as a1,
|
|
4499
4505
|
ue as a2,
|
|
@@ -4501,114 +4507,116 @@ export {
|
|
|
4501
4507
|
fe as a4,
|
|
4502
4508
|
Te as a5,
|
|
4503
4509
|
de as a6,
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4510
|
+
hn as a7,
|
|
4511
|
+
An as a8,
|
|
4512
|
+
Nn as a9,
|
|
4513
|
+
it as aA,
|
|
4514
|
+
mt as aB,
|
|
4515
|
+
ot as aC,
|
|
4516
|
+
ct as aD,
|
|
4517
|
+
lt as aE,
|
|
4518
|
+
st as aF,
|
|
4519
|
+
bt as aG,
|
|
4520
|
+
dt as aH,
|
|
4521
|
+
sn as aI,
|
|
4522
|
+
pn as aJ,
|
|
4523
|
+
un as aK,
|
|
4524
|
+
an as aL,
|
|
4525
|
+
ln as aM,
|
|
4526
|
+
yn as aN,
|
|
4527
|
+
on as aO,
|
|
4528
|
+
mn as aP,
|
|
4529
|
+
dn as aQ,
|
|
4530
|
+
rn as aR,
|
|
4531
|
+
bn as aS,
|
|
4532
|
+
cn as aT,
|
|
4533
|
+
Mn as aU,
|
|
4534
|
+
wn as aV,
|
|
4535
|
+
vn as aW,
|
|
4536
|
+
Tn as aX,
|
|
4537
|
+
In as aY,
|
|
4538
|
+
fn as aZ,
|
|
4533
4539
|
b as a_,
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4540
|
+
On as aa,
|
|
4541
|
+
gn as ab,
|
|
4542
|
+
zn as ac,
|
|
4543
|
+
xn as ad,
|
|
4544
|
+
Cn as ae,
|
|
4545
|
+
Ge as af,
|
|
4546
|
+
Ve as ag,
|
|
4547
|
+
Xe as ah,
|
|
4548
|
+
je as ai,
|
|
4549
|
+
Ue as aj,
|
|
4550
|
+
Se as ak,
|
|
4551
|
+
Ke as al,
|
|
4552
|
+
Qe as am,
|
|
4553
|
+
We as an,
|
|
4554
|
+
Ye as ao,
|
|
4555
|
+
Je as ap,
|
|
4556
|
+
Ze as aq,
|
|
4557
|
+
$e as ar,
|
|
4558
|
+
rt as as,
|
|
4559
|
+
at,
|
|
4560
|
+
nt as au,
|
|
4561
|
+
tt as av,
|
|
4562
|
+
et as aw,
|
|
4563
|
+
ut as ax,
|
|
4564
|
+
yt as ay,
|
|
4565
|
+
pt as az,
|
|
4560
4566
|
ye as b,
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4567
|
+
Nt as b0,
|
|
4568
|
+
vt as b1,
|
|
4569
|
+
wt as b2,
|
|
4570
|
+
ft as b3,
|
|
4571
|
+
Tt as b4,
|
|
4572
|
+
gt as b5,
|
|
4573
|
+
Mt as b6,
|
|
4574
|
+
zt as b7,
|
|
4575
|
+
Ot as b8,
|
|
4576
|
+
Ct as b9,
|
|
4577
|
+
At as ba,
|
|
4578
|
+
It as bb,
|
|
4573
4579
|
se as bc,
|
|
4574
|
-
|
|
4580
|
+
xe as bd,
|
|
4575
4581
|
Ne as be,
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4582
|
+
Re as bf,
|
|
4583
|
+
Oe as bg,
|
|
4584
|
+
Ie as bh,
|
|
4585
|
+
Me as bi,
|
|
4586
|
+
Dt as bj,
|
|
4587
|
+
ve as bk,
|
|
4588
|
+
He as bl,
|
|
4589
|
+
ze as bm,
|
|
4590
|
+
he as bn,
|
|
4591
|
+
ge as bo,
|
|
4592
|
+
De as bp,
|
|
4593
|
+
Ce as bq,
|
|
4594
|
+
we as br,
|
|
4595
|
+
_e as bs,
|
|
4596
|
+
Ae as bt,
|
|
4597
|
+
l as c,
|
|
4598
|
+
qe as d,
|
|
4591
4599
|
I as e,
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4600
|
+
d as f,
|
|
4601
|
+
Fe as g,
|
|
4602
|
+
Le as h,
|
|
4603
|
+
Be as i,
|
|
4604
|
+
nn as j,
|
|
4605
|
+
_t as k,
|
|
4598
4606
|
f as l,
|
|
4599
|
-
|
|
4600
|
-
|
|
4607
|
+
Ee as m,
|
|
4608
|
+
Kt as n,
|
|
4601
4609
|
ae as o,
|
|
4602
4610
|
o as p,
|
|
4603
|
-
|
|
4611
|
+
Wt as q,
|
|
4604
4612
|
pe as r,
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4613
|
+
Jt as s,
|
|
4614
|
+
Ht as t,
|
|
4615
|
+
Qt as u,
|
|
4608
4616
|
c as v,
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4617
|
+
Yt as w,
|
|
4618
|
+
Zt as x,
|
|
4619
|
+
tn as y,
|
|
4612
4620
|
Q as z
|
|
4613
4621
|
};
|
|
4614
|
-
//# sourceMappingURL=generated-
|
|
4622
|
+
//# sourceMappingURL=generated-Cbv8zFkf.js.map
|