@boostxyz/sdk 2.1.1 → 2.2.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.cjs.map +1 -1
- package/dist/Actions/Action.d.ts +2 -1
- package/dist/Actions/Action.d.ts.map +1 -1
- package/dist/Actions/Action.js +14 -13
- package/dist/Actions/Action.js.map +1 -1
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +33 -33
- package/dist/Actions/EventAction.js.map +1 -1
- package/dist/AllowLists/AllowList.cjs +1 -1
- package/dist/AllowLists/AllowList.cjs.map +1 -1
- package/dist/AllowLists/AllowList.d.ts +2 -1
- package/dist/AllowLists/AllowList.d.ts.map +1 -1
- package/dist/AllowLists/AllowList.js +19 -18
- package/dist/AllowLists/AllowList.js.map +1 -1
- 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 +13 -4
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +58 -57
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.js +11 -11
- package/dist/{Budget-DpQgIZEx.js → Budget-B0q1S08L.js} +33 -32
- package/dist/{Budget-DpQgIZEx.js.map → Budget-B0q1S08L.js.map} +1 -1
- package/dist/{Budget-BxQMnsdx.cjs → Budget-BA_1sa1e.cjs} +2 -2
- package/dist/{Budget-BxQMnsdx.cjs.map → Budget-BA_1sa1e.cjs.map} +1 -1
- package/dist/Budgets/Budget.cjs +1 -1
- package/dist/Budgets/Budget.d.ts +2 -1
- package/dist/Budgets/Budget.d.ts.map +1 -1
- package/dist/Budgets/Budget.js +2 -2
- package/dist/Budgets/ManagedBudget.cjs +1 -1
- package/dist/Budgets/ManagedBudget.js +11 -11
- 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.cjs.map +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.d.ts +158 -0
- package/dist/Deployable/DeployableTargetWithRBAC.d.ts.map +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.js +268 -31
- package/dist/Deployable/DeployableTargetWithRBAC.js.map +1 -1
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
- package/dist/Incentives/AllowListIncentive.js +27 -27
- package/dist/Incentives/AllowListIncentive.js.map +1 -1
- package/dist/Incentives/CGDAIncentive.cjs +1 -1
- package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
- package/dist/Incentives/CGDAIncentive.js +9 -9
- package/dist/Incentives/CGDAIncentive.js.map +1 -1
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
- package/dist/Incentives/ERC20Incentive.js +30 -30
- package/dist/Incentives/ERC20Incentive.js.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js +11 -11
- package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableIncentive.cjs.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.js +12 -12
- package/dist/Incentives/ERC20VariableIncentive.js.map +1 -1
- package/dist/Incentives/Incentive.cjs +1 -1
- package/dist/Incentives/Incentive.cjs.map +1 -1
- package/dist/Incentives/Incentive.d.ts +2 -1
- package/dist/Incentives/Incentive.d.ts.map +1 -1
- package/dist/Incentives/Incentive.js +29 -28
- package/dist/Incentives/Incentive.js.map +1 -1
- package/dist/Incentives/PointsIncentive.cjs +1 -1
- package/dist/Incentives/PointsIncentive.cjs.map +1 -1
- package/dist/Incentives/PointsIncentive.js +25 -25
- package/dist/Incentives/PointsIncentive.js.map +1 -1
- package/dist/{SimpleDenyList-CA24drhL.cjs → SimpleDenyList-DrQrJ14i.cjs} +2 -2
- package/dist/{SimpleDenyList-CA24drhL.cjs.map → SimpleDenyList-DrQrJ14i.cjs.map} +1 -1
- package/dist/{SimpleDenyList-UHgnaOb_.js → SimpleDenyList-DuCoaOlG.js} +9 -9
- package/dist/{SimpleDenyList-UHgnaOb_.js.map → SimpleDenyList-DuCoaOlG.js.map} +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs +1 -1
- package/dist/Validators/LimitedSignerValidator.js +7 -7
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.js +5 -5
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.cjs.map +1 -1
- package/dist/Validators/Validator.d.ts +2 -1
- package/dist/Validators/Validator.d.ts.map +1 -1
- package/dist/Validators/Validator.js +22 -21
- package/dist/Validators/Validator.js.map +1 -1
- package/dist/deployments-BucJ-gwk.cjs +2 -0
- package/dist/deployments-BucJ-gwk.cjs.map +1 -0
- package/dist/deployments-CQu0bLhU.js +102 -0
- package/dist/deployments-CQu0bLhU.js.map +1 -0
- package/dist/deployments.json +77 -74
- package/dist/{generated-B0XfMfoq.js → generated-1ZT_mHJx.js} +673 -450
- package/dist/generated-1ZT_mHJx.js.map +1 -0
- package/dist/generated-CgBgbMNe.cjs +3 -0
- package/dist/generated-CgBgbMNe.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/package.json +2 -2
- package/src/Actions/Action.ts +3 -0
- package/src/Actions/EventAction.test.ts +49 -2
- package/src/Actions/EventAction.ts +12 -4
- package/src/AllowLists/AllowList.ts +3 -0
- package/src/BoostCore.ts +16 -11
- package/src/Budgets/Budget.ts +3 -0
- package/src/Deployable/DeployableTargetWithRBAC.test.ts +175 -0
- package/src/Deployable/DeployableTargetWithRBAC.ts +281 -0
- package/src/Incentives/AllowListIncentive.test.ts +48 -0
- package/src/Incentives/AllowListIncentive.ts +1 -1
- package/src/Incentives/CGDAIncentive.test.ts +50 -0
- package/src/Incentives/CGDAIncentive.ts +1 -1
- package/src/Incentives/ERC1155Incentive.ts +1 -1
- package/src/Incentives/ERC20Incentive.test.ts +49 -0
- package/src/Incentives/ERC20Incentive.ts +1 -1
- package/src/Incentives/ERC20VariableIncentive.test.ts +48 -0
- package/src/Incentives/ERC20VariableIncentive.ts +1 -1
- package/src/Incentives/Incentive.ts +3 -0
- package/src/Incentives/PointsIncentive.test.ts +51 -0
- package/src/Incentives/PointsIncentive.ts +1 -1
- package/src/Validators/Validator.ts +3 -0
- package/dist/deployments-BDumesUK.cjs +0 -2
- package/dist/deployments-BDumesUK.cjs.map +0 -1
- package/dist/deployments-DvYsMioW.js +0 -99
- package/dist/deployments-DvYsMioW.js.map +0 -1
- package/dist/generated-B0XfMfoq.js.map +0 -1
- package/dist/generated-pNKCp_Ez.cjs +0 -3
- package/dist/generated-pNKCp_Ez.cjs.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { simulateContract as
|
|
2
|
-
import { createClient as
|
|
3
|
-
import { parseAccount as
|
|
1
|
+
import { simulateContract as j, readContract as Z, writeContract as $ } from "viem/actions";
|
|
2
|
+
import { createClient as G, custom as J } from "viem";
|
|
3
|
+
import { parseAccount as Q, getAddress as K } from "viem/utils";
|
|
4
4
|
function z(n) {
|
|
5
|
-
const a = n.state.current, e = n.state.connections.get(a), i = e == null ? void 0 : e.accounts,
|
|
5
|
+
const a = n.state.current, e = n.state.connections.get(a), i = e == null ? void 0 : e.accounts, u = i == null ? void 0 : i[0], y = n.chains.find((v) => v.id === (e == null ? void 0 : e.chainId)), r = n.state.status;
|
|
6
6
|
switch (r) {
|
|
7
7
|
case "connected":
|
|
8
8
|
return {
|
|
9
|
-
address:
|
|
9
|
+
address: u,
|
|
10
10
|
addresses: i,
|
|
11
|
-
chain:
|
|
11
|
+
chain: y,
|
|
12
12
|
chainId: e == null ? void 0 : e.chainId,
|
|
13
13
|
connector: e == null ? void 0 : e.connector,
|
|
14
14
|
isConnected: !0,
|
|
@@ -19,12 +19,12 @@ function z(n) {
|
|
|
19
19
|
};
|
|
20
20
|
case "reconnecting":
|
|
21
21
|
return {
|
|
22
|
-
address:
|
|
22
|
+
address: u,
|
|
23
23
|
addresses: i,
|
|
24
|
-
chain:
|
|
24
|
+
chain: y,
|
|
25
25
|
chainId: e == null ? void 0 : e.chainId,
|
|
26
26
|
connector: e == null ? void 0 : e.connector,
|
|
27
|
-
isConnected: !!
|
|
27
|
+
isConnected: !!u,
|
|
28
28
|
isConnecting: !1,
|
|
29
29
|
isDisconnected: !1,
|
|
30
30
|
isReconnecting: !0,
|
|
@@ -32,9 +32,9 @@ function z(n) {
|
|
|
32
32
|
};
|
|
33
33
|
case "connecting":
|
|
34
34
|
return {
|
|
35
|
-
address:
|
|
35
|
+
address: u,
|
|
36
36
|
addresses: i,
|
|
37
|
-
chain:
|
|
37
|
+
chain: y,
|
|
38
38
|
chainId: e == null ? void 0 : e.chainId,
|
|
39
39
|
connector: e == null ? void 0 : e.connector,
|
|
40
40
|
isConnected: !1,
|
|
@@ -58,32 +58,32 @@ function z(n) {
|
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function E(n) {
|
|
62
62
|
return n.state.chainId;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function F(n, a, e) {
|
|
65
65
|
const i = n[a.name];
|
|
66
66
|
if (typeof i == "function")
|
|
67
67
|
return i;
|
|
68
|
-
const
|
|
69
|
-
return typeof
|
|
68
|
+
const u = n[e];
|
|
69
|
+
return typeof u == "function" ? u : (y) => a(n, y);
|
|
70
70
|
}
|
|
71
|
-
const
|
|
71
|
+
const W = "2.13.8", X = () => `@wagmi/core@${W}`;
|
|
72
72
|
var B = function(n, a, e, i) {
|
|
73
73
|
if (e === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
|
|
74
74
|
if (typeof a == "function" ? n !== a || !i : !a.has(n)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
75
75
|
return e === "m" ? i : e === "a" ? i.call(n) : i ? i.value : a.get(n);
|
|
76
|
-
},
|
|
77
|
-
class
|
|
76
|
+
}, x, L;
|
|
77
|
+
class O extends Error {
|
|
78
78
|
get docsBaseUrl() {
|
|
79
79
|
return "https://wagmi.sh/core";
|
|
80
80
|
}
|
|
81
81
|
get version() {
|
|
82
|
-
return
|
|
82
|
+
return X();
|
|
83
83
|
}
|
|
84
84
|
constructor(a, e = {}) {
|
|
85
85
|
var i;
|
|
86
|
-
super(),
|
|
86
|
+
super(), x.add(this), Object.defineProperty(this, "details", {
|
|
87
87
|
enumerable: !0,
|
|
88
88
|
configurable: !0,
|
|
89
89
|
writable: !0,
|
|
@@ -109,27 +109,27 @@ class g extends Error {
|
|
|
109
109
|
writable: !0,
|
|
110
110
|
value: "WagmiCoreError"
|
|
111
111
|
});
|
|
112
|
-
const
|
|
112
|
+
const u = e.cause instanceof O ? e.cause.details : (i = e.cause) != null && i.message ? e.cause.message : e.details, y = e.cause instanceof O && e.cause.docsPath || e.docsPath;
|
|
113
113
|
this.message = [
|
|
114
114
|
a || "An error occurred.",
|
|
115
115
|
"",
|
|
116
116
|
...e.metaMessages ? [...e.metaMessages, ""] : [],
|
|
117
|
-
...
|
|
118
|
-
`Docs: ${this.docsBaseUrl}${
|
|
117
|
+
...y ? [
|
|
118
|
+
`Docs: ${this.docsBaseUrl}${y}.html${e.docsSlug ? `#${e.docsSlug}` : ""}`
|
|
119
119
|
] : [],
|
|
120
|
-
...
|
|
120
|
+
...u ? [`Details: ${u}`] : [],
|
|
121
121
|
`Version: ${this.version}`
|
|
122
122
|
].join(`
|
|
123
|
-
`), e.cause && (this.cause = e.cause), this.details =
|
|
123
|
+
`), e.cause && (this.cause = e.cause), this.details = u, this.docsPath = y, this.metaMessages = e.metaMessages, this.shortMessage = a;
|
|
124
124
|
}
|
|
125
125
|
walk(a) {
|
|
126
|
-
return B(this,
|
|
126
|
+
return B(this, x, "m", L).call(this, this, a);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
return e != null && e(a) ? a : a.cause ? B(this,
|
|
129
|
+
x = /* @__PURE__ */ new WeakSet(), L = function n(a, e) {
|
|
130
|
+
return e != null && e(a) ? a : a.cause ? B(this, x, "m", n).call(this, a.cause, e) : a;
|
|
131
131
|
};
|
|
132
|
-
class
|
|
132
|
+
class Y extends O {
|
|
133
133
|
constructor() {
|
|
134
134
|
super("Connector not connected."), Object.defineProperty(this, "name", {
|
|
135
135
|
enumerable: !0,
|
|
@@ -139,7 +139,7 @@ class X extends g {
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
class
|
|
142
|
+
class ee extends O {
|
|
143
143
|
constructor({ address: a, connector: e }) {
|
|
144
144
|
super(`Account "${a}" not found for connector "${e.name}".`), Object.defineProperty(this, "name", {
|
|
145
145
|
enumerable: !0,
|
|
@@ -149,7 +149,7 @@ class Y extends g {
|
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
class
|
|
152
|
+
class te extends O {
|
|
153
153
|
constructor({ connectionChainId: a, connectorChainId: e }) {
|
|
154
154
|
super(`The current chain of the connector (id: ${e}) does not match the connection's chain (id: ${a}).`, {
|
|
155
155
|
metaMessages: [
|
|
@@ -164,7 +164,7 @@ class ee extends g {
|
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
class
|
|
167
|
+
class ne extends O {
|
|
168
168
|
constructor({ connector: a }) {
|
|
169
169
|
super(`Connector "${a.name}" unavailable while reconnecting.`, {
|
|
170
170
|
details: [
|
|
@@ -180,117 +180,117 @@ class te extends g {
|
|
|
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
|
-
throw new
|
|
189
|
-
const [
|
|
188
|
+
throw new ne({ connector: o });
|
|
189
|
+
const [A, V] = await Promise.all([
|
|
190
190
|
o.getAccounts(),
|
|
191
191
|
o.getChainId()
|
|
192
192
|
]);
|
|
193
193
|
e = {
|
|
194
|
-
accounts:
|
|
195
|
-
chainId:
|
|
194
|
+
accounts: A,
|
|
195
|
+
chainId: V,
|
|
196
196
|
connector: o
|
|
197
197
|
};
|
|
198
198
|
} else
|
|
199
199
|
e = n.state.connections.get(n.state.current);
|
|
200
200
|
if (!e)
|
|
201
|
-
throw new
|
|
202
|
-
const i = a.chainId ?? e.chainId,
|
|
203
|
-
if (
|
|
204
|
-
throw new
|
|
201
|
+
throw new Y();
|
|
202
|
+
const i = a.chainId ?? e.chainId, u = await e.connector.getChainId();
|
|
203
|
+
if (u !== e.chainId)
|
|
204
|
+
throw new te({
|
|
205
205
|
connectionChainId: e.chainId,
|
|
206
|
-
connectorChainId:
|
|
206
|
+
connectorChainId: u
|
|
207
207
|
});
|
|
208
|
-
const
|
|
209
|
-
if (
|
|
210
|
-
return
|
|
211
|
-
const r =
|
|
208
|
+
const y = e.connector;
|
|
209
|
+
if (y.getClient)
|
|
210
|
+
return y.getClient({ chainId: i });
|
|
211
|
+
const r = Q(a.account ?? e.accounts[0]);
|
|
212
212
|
if (r.address = K(r.address), a.account && !e.accounts.some((o) => o.toLowerCase() === r.address.toLowerCase()))
|
|
213
|
-
throw new
|
|
213
|
+
throw new ee({
|
|
214
214
|
address: r.address,
|
|
215
|
-
connector:
|
|
215
|
+
connector: y
|
|
216
216
|
});
|
|
217
|
-
const
|
|
218
|
-
return
|
|
217
|
+
const v = n.chains.find((o) => o.id === i), N = await e.connector.getProvider({ chainId: i });
|
|
218
|
+
return G({
|
|
219
219
|
account: r,
|
|
220
|
-
chain:
|
|
220
|
+
chain: v,
|
|
221
221
|
name: "Connector Client",
|
|
222
|
-
transport: (o) =>
|
|
222
|
+
transport: (o) => J(N)({ ...o, retryCount: 0 })
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
|
-
async function
|
|
226
|
-
const { abi: e, chainId: i, connector:
|
|
225
|
+
async function H(n, a) {
|
|
226
|
+
const { abi: e, chainId: i, connector: u, ...y } = 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: i,
|
|
230
|
-
connector:
|
|
230
|
+
connector: u
|
|
231
231
|
})).account;
|
|
232
|
-
const
|
|
232
|
+
const v = n.getClient({ chainId: i }), N = F(v, j, "simulateContract"), { result: o, request: A } = await N({ ...y, abi: e, account: r });
|
|
233
233
|
return {
|
|
234
|
-
chainId:
|
|
234
|
+
chainId: v.chain.id,
|
|
235
235
|
result: o,
|
|
236
|
-
request: { __mode: "prepared", ...
|
|
236
|
+
request: { __mode: "prepared", ...A, chainId: i }
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
239
|
function s(n) {
|
|
240
240
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
241
241
|
var i;
|
|
242
|
-
const
|
|
243
|
-
return
|
|
242
|
+
const u = E(a), y = z(a), r = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
|
|
243
|
+
return H(a, {
|
|
244
244
|
...e,
|
|
245
245
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
246
246
|
address: (i = n.address) == null ? void 0 : i[r],
|
|
247
247
|
abi: n.abi
|
|
248
248
|
});
|
|
249
|
-
} : (a, e) =>
|
|
249
|
+
} : (a, e) => H(a, {
|
|
250
250
|
...e,
|
|
251
251
|
...n.address ? { address: n.address } : {},
|
|
252
252
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
253
253
|
abi: n.abi
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
const { chainId: e, ...i } = a,
|
|
258
|
-
return
|
|
256
|
+
function k(n, a) {
|
|
257
|
+
const { chainId: e, ...i } = a, u = n.getClient({ chainId: e });
|
|
258
|
+
return F(u, Z, "readContract")(i);
|
|
259
259
|
}
|
|
260
260
|
function t(n) {
|
|
261
261
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
262
262
|
var i;
|
|
263
|
-
const
|
|
264
|
-
return
|
|
263
|
+
const u = E(a), y = z(a), r = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
|
|
264
|
+
return k(a, {
|
|
265
265
|
...e,
|
|
266
266
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
267
267
|
address: (i = n.address) == null ? void 0 : i[r],
|
|
268
268
|
abi: n.abi
|
|
269
269
|
});
|
|
270
|
-
} : (a, e) =>
|
|
270
|
+
} : (a, e) => k(a, {
|
|
271
271
|
...e,
|
|
272
272
|
...n.address ? { address: n.address } : {},
|
|
273
273
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
274
274
|
abi: n.abi
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
-
async function
|
|
278
|
-
const { account: e, chainId: i, connector:
|
|
279
|
-
let
|
|
280
|
-
typeof e == "object" && e.type === "local" ?
|
|
281
|
-
const { connector:
|
|
277
|
+
async function q(n, a) {
|
|
278
|
+
const { account: e, chainId: i, connector: u, __mode: y, ...r } = a;
|
|
279
|
+
let v;
|
|
280
|
+
typeof e == "object" && e.type === "local" ? v = n.getClient({ chainId: i }) : v = await U(n, { account: e, chainId: i, connector: u });
|
|
281
|
+
const { connector: N } = z(n);
|
|
282
282
|
let o;
|
|
283
|
-
if (
|
|
283
|
+
if (y === "prepared" || N != null && N.supportsSimulation)
|
|
284
284
|
o = r;
|
|
285
285
|
else {
|
|
286
|
-
const { request:
|
|
286
|
+
const { request: A } = await H(n, {
|
|
287
287
|
...r,
|
|
288
288
|
account: e,
|
|
289
289
|
chainId: i
|
|
290
290
|
});
|
|
291
|
-
o =
|
|
291
|
+
o = A;
|
|
292
292
|
}
|
|
293
|
-
return await
|
|
293
|
+
return await F(v, $, "writeContract")({
|
|
294
294
|
...o,
|
|
295
295
|
...e ? { account: e } : {},
|
|
296
296
|
chain: i ? { id: i } : null
|
|
@@ -299,22 +299,22 @@ async function k(n, a) {
|
|
|
299
299
|
function p(n) {
|
|
300
300
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
301
301
|
var i;
|
|
302
|
-
const
|
|
302
|
+
const u = E(a), y = z(a);
|
|
303
303
|
let r;
|
|
304
|
-
return e.chainId ? r = e.chainId : e.account && e.account ===
|
|
304
|
+
return e.chainId ? r = e.chainId : e.account && e.account === y.address || e.account === void 0 ? r = y.chainId : r = u, q(a, {
|
|
305
305
|
...e,
|
|
306
306
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
307
307
|
address: r ? (i = n.address) == null ? void 0 : i[r] : void 0,
|
|
308
308
|
abi: n.abi
|
|
309
309
|
});
|
|
310
|
-
} : (a, e) =>
|
|
310
|
+
} : (a, e) => q(a, {
|
|
311
311
|
...e,
|
|
312
312
|
...n.address ? { address: n.address } : {},
|
|
313
313
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
314
314
|
abi: n.abi
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
|
-
const
|
|
317
|
+
const ue = [
|
|
318
318
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
319
319
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
320
320
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -688,7 +688,7 @@ const re = [
|
|
|
688
688
|
outputs: [],
|
|
689
689
|
stateMutability: "payable"
|
|
690
690
|
}
|
|
691
|
-
],
|
|
691
|
+
], oe = [
|
|
692
692
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
693
693
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
694
694
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
@@ -1071,7 +1071,7 @@ const re = [
|
|
|
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" },
|
|
@@ -1111,7 +1111,7 @@ const re = [
|
|
|
1111
1111
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1112
1112
|
stateMutability: "view"
|
|
1113
1113
|
}
|
|
1114
|
-
],
|
|
1114
|
+
], le = [
|
|
1115
1115
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
1116
1116
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
1117
1117
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
@@ -1232,7 +1232,7 @@ const re = [
|
|
|
1232
1232
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1233
1233
|
stateMutability: "view"
|
|
1234
1234
|
}
|
|
1235
|
-
],
|
|
1235
|
+
], de = [
|
|
1236
1236
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
1237
1237
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
1238
1238
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -1284,7 +1284,7 @@ const re = [
|
|
|
1284
1284
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1285
1285
|
stateMutability: "nonpayable"
|
|
1286
1286
|
}
|
|
1287
|
-
],
|
|
1287
|
+
], M = [
|
|
1288
1288
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
1289
1289
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
1290
1290
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -1545,7 +1545,8 @@ const re = [
|
|
|
1545
1545
|
name: "protocolFeeReceiver_",
|
|
1546
1546
|
internalType: "address",
|
|
1547
1547
|
type: "address"
|
|
1548
|
-
}
|
|
1548
|
+
},
|
|
1549
|
+
{ name: "owner_", internalType: "address", type: "address" }
|
|
1549
1550
|
],
|
|
1550
1551
|
stateMutability: "nonpayable"
|
|
1551
1552
|
},
|
|
@@ -2030,7 +2031,7 @@ const re = [
|
|
|
2030
2031
|
outputs: [],
|
|
2031
2032
|
stateMutability: "payable"
|
|
2032
2033
|
}
|
|
2033
|
-
],
|
|
2034
|
+
], h = [
|
|
2034
2035
|
{
|
|
2035
2036
|
type: "error",
|
|
2036
2037
|
inputs: [
|
|
@@ -3038,7 +3039,7 @@ const re = [
|
|
|
3038
3039
|
outputs: [],
|
|
3039
3040
|
stateMutability: "payable"
|
|
3040
3041
|
}
|
|
3041
|
-
],
|
|
3042
|
+
], S = [
|
|
3042
3043
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
3043
3044
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
3044
3045
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -3840,7 +3841,7 @@ const re = [
|
|
|
3840
3841
|
outputs: [],
|
|
3841
3842
|
stateMutability: "payable"
|
|
3842
3843
|
}
|
|
3843
|
-
],
|
|
3844
|
+
], C = [
|
|
3844
3845
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
3845
3846
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
3846
3847
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
@@ -4061,7 +4062,7 @@ const re = [
|
|
|
4061
4062
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4062
4063
|
stateMutability: "view"
|
|
4063
4064
|
}
|
|
4064
|
-
],
|
|
4065
|
+
], ae = [
|
|
4065
4066
|
{
|
|
4066
4067
|
type: "function",
|
|
4067
4068
|
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
|
@@ -4757,7 +4758,7 @@ const re = [
|
|
|
4757
4758
|
stateMutability: "payable"
|
|
4758
4759
|
},
|
|
4759
4760
|
{ type: "receive", stateMutability: "payable" }
|
|
4760
|
-
],
|
|
4761
|
+
], R = [
|
|
4761
4762
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
4762
4763
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
4763
4764
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -5303,7 +5304,178 @@ const re = [
|
|
|
5303
5304
|
stateMutability: "payable"
|
|
5304
5305
|
},
|
|
5305
5306
|
{ type: "receive", stateMutability: "payable" }
|
|
5306
|
-
],
|
|
5307
|
+
], f = [
|
|
5308
|
+
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
5309
|
+
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
5310
|
+
{ type: "error", inputs: [], name: "NoHandoverRequest" },
|
|
5311
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
5312
|
+
{
|
|
5313
|
+
type: "event",
|
|
5314
|
+
anonymous: !1,
|
|
5315
|
+
inputs: [
|
|
5316
|
+
{
|
|
5317
|
+
name: "pendingOwner",
|
|
5318
|
+
internalType: "address",
|
|
5319
|
+
type: "address",
|
|
5320
|
+
indexed: !0
|
|
5321
|
+
}
|
|
5322
|
+
],
|
|
5323
|
+
name: "OwnershipHandoverCanceled"
|
|
5324
|
+
},
|
|
5325
|
+
{
|
|
5326
|
+
type: "event",
|
|
5327
|
+
anonymous: !1,
|
|
5328
|
+
inputs: [
|
|
5329
|
+
{
|
|
5330
|
+
name: "pendingOwner",
|
|
5331
|
+
internalType: "address",
|
|
5332
|
+
type: "address",
|
|
5333
|
+
indexed: !0
|
|
5334
|
+
}
|
|
5335
|
+
],
|
|
5336
|
+
name: "OwnershipHandoverRequested"
|
|
5337
|
+
},
|
|
5338
|
+
{
|
|
5339
|
+
type: "event",
|
|
5340
|
+
anonymous: !1,
|
|
5341
|
+
inputs: [
|
|
5342
|
+
{
|
|
5343
|
+
name: "oldOwner",
|
|
5344
|
+
internalType: "address",
|
|
5345
|
+
type: "address",
|
|
5346
|
+
indexed: !0
|
|
5347
|
+
},
|
|
5348
|
+
{
|
|
5349
|
+
name: "newOwner",
|
|
5350
|
+
internalType: "address",
|
|
5351
|
+
type: "address",
|
|
5352
|
+
indexed: !0
|
|
5353
|
+
}
|
|
5354
|
+
],
|
|
5355
|
+
name: "OwnershipTransferred"
|
|
5356
|
+
},
|
|
5357
|
+
{
|
|
5358
|
+
type: "event",
|
|
5359
|
+
anonymous: !1,
|
|
5360
|
+
inputs: [
|
|
5361
|
+
{ name: "user", internalType: "address", type: "address", indexed: !0 },
|
|
5362
|
+
{
|
|
5363
|
+
name: "roles",
|
|
5364
|
+
internalType: "uint256",
|
|
5365
|
+
type: "uint256",
|
|
5366
|
+
indexed: !0
|
|
5367
|
+
}
|
|
5368
|
+
],
|
|
5369
|
+
name: "RolesUpdated"
|
|
5370
|
+
},
|
|
5371
|
+
{
|
|
5372
|
+
type: "function",
|
|
5373
|
+
inputs: [],
|
|
5374
|
+
name: "cancelOwnershipHandover",
|
|
5375
|
+
outputs: [],
|
|
5376
|
+
stateMutability: "payable"
|
|
5377
|
+
},
|
|
5378
|
+
{
|
|
5379
|
+
type: "function",
|
|
5380
|
+
inputs: [
|
|
5381
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
5382
|
+
],
|
|
5383
|
+
name: "completeOwnershipHandover",
|
|
5384
|
+
outputs: [],
|
|
5385
|
+
stateMutability: "payable"
|
|
5386
|
+
},
|
|
5387
|
+
{
|
|
5388
|
+
type: "function",
|
|
5389
|
+
inputs: [
|
|
5390
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
5391
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
5392
|
+
],
|
|
5393
|
+
name: "grantRoles",
|
|
5394
|
+
outputs: [],
|
|
5395
|
+
stateMutability: "payable"
|
|
5396
|
+
},
|
|
5397
|
+
{
|
|
5398
|
+
type: "function",
|
|
5399
|
+
inputs: [
|
|
5400
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
5401
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
5402
|
+
],
|
|
5403
|
+
name: "hasAllRoles",
|
|
5404
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
5405
|
+
stateMutability: "view"
|
|
5406
|
+
},
|
|
5407
|
+
{
|
|
5408
|
+
type: "function",
|
|
5409
|
+
inputs: [
|
|
5410
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
5411
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
5412
|
+
],
|
|
5413
|
+
name: "hasAnyRole",
|
|
5414
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
5415
|
+
stateMutability: "view"
|
|
5416
|
+
},
|
|
5417
|
+
{
|
|
5418
|
+
type: "function",
|
|
5419
|
+
inputs: [],
|
|
5420
|
+
name: "owner",
|
|
5421
|
+
outputs: [{ name: "result", internalType: "address", type: "address" }],
|
|
5422
|
+
stateMutability: "view"
|
|
5423
|
+
},
|
|
5424
|
+
{
|
|
5425
|
+
type: "function",
|
|
5426
|
+
inputs: [
|
|
5427
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
5428
|
+
],
|
|
5429
|
+
name: "ownershipHandoverExpiresAt",
|
|
5430
|
+
outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
|
|
5431
|
+
stateMutability: "view"
|
|
5432
|
+
},
|
|
5433
|
+
{
|
|
5434
|
+
type: "function",
|
|
5435
|
+
inputs: [],
|
|
5436
|
+
name: "renounceOwnership",
|
|
5437
|
+
outputs: [],
|
|
5438
|
+
stateMutability: "payable"
|
|
5439
|
+
},
|
|
5440
|
+
{
|
|
5441
|
+
type: "function",
|
|
5442
|
+
inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
5443
|
+
name: "renounceRoles",
|
|
5444
|
+
outputs: [],
|
|
5445
|
+
stateMutability: "payable"
|
|
5446
|
+
},
|
|
5447
|
+
{
|
|
5448
|
+
type: "function",
|
|
5449
|
+
inputs: [],
|
|
5450
|
+
name: "requestOwnershipHandover",
|
|
5451
|
+
outputs: [],
|
|
5452
|
+
stateMutability: "payable"
|
|
5453
|
+
},
|
|
5454
|
+
{
|
|
5455
|
+
type: "function",
|
|
5456
|
+
inputs: [
|
|
5457
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
5458
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
5459
|
+
],
|
|
5460
|
+
name: "revokeRoles",
|
|
5461
|
+
outputs: [],
|
|
5462
|
+
stateMutability: "payable"
|
|
5463
|
+
},
|
|
5464
|
+
{
|
|
5465
|
+
type: "function",
|
|
5466
|
+
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
5467
|
+
name: "rolesOf",
|
|
5468
|
+
outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
5469
|
+
stateMutability: "view"
|
|
5470
|
+
},
|
|
5471
|
+
{
|
|
5472
|
+
type: "function",
|
|
5473
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
5474
|
+
name: "transferOwnership",
|
|
5475
|
+
outputs: [],
|
|
5476
|
+
stateMutability: "payable"
|
|
5477
|
+
}
|
|
5478
|
+
], ie = [
|
|
5307
5479
|
{
|
|
5308
5480
|
type: "function",
|
|
5309
5481
|
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
@@ -5311,7 +5483,7 @@ const re = [
|
|
|
5311
5483
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
5312
5484
|
stateMutability: "view"
|
|
5313
5485
|
}
|
|
5314
|
-
],
|
|
5486
|
+
], w = [
|
|
5315
5487
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
5316
5488
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
5317
5489
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -5857,7 +6029,7 @@ const re = [
|
|
|
5857
6029
|
outputs: [],
|
|
5858
6030
|
stateMutability: "payable"
|
|
5859
6031
|
}
|
|
5860
|
-
],
|
|
6032
|
+
], g = [
|
|
5861
6033
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
5862
6034
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
5863
6035
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -6359,7 +6531,7 @@ const re = [
|
|
|
6359
6531
|
outputs: [],
|
|
6360
6532
|
stateMutability: "payable"
|
|
6361
6533
|
}
|
|
6362
|
-
],
|
|
6534
|
+
], D = [
|
|
6363
6535
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
6364
6536
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
6365
6537
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -6643,615 +6815,666 @@ const re = [
|
|
|
6643
6815
|
outputs: [],
|
|
6644
6816
|
stateMutability: "payable"
|
|
6645
6817
|
}
|
|
6646
|
-
],
|
|
6647
|
-
abi:
|
|
6818
|
+
], me = /* @__PURE__ */ t({
|
|
6819
|
+
abi: P,
|
|
6648
6820
|
functionName: "getComponentInterface"
|
|
6649
|
-
}),
|
|
6650
|
-
{ abi:
|
|
6651
|
-
),
|
|
6652
|
-
{ abi:
|
|
6653
|
-
),
|
|
6654
|
-
abi:
|
|
6821
|
+
}), be = /* @__PURE__ */ t(
|
|
6822
|
+
{ abi: P, functionName: "supportsInterface" }
|
|
6823
|
+
), ce = /* @__PURE__ */ t(
|
|
6824
|
+
{ abi: M, functionName: "allowList" }
|
|
6825
|
+
), Te = /* @__PURE__ */ t({
|
|
6826
|
+
abi: M,
|
|
6655
6827
|
functionName: "claimed"
|
|
6656
|
-
}), Te = /* @__PURE__ */ t({
|
|
6657
|
-
abi: w,
|
|
6658
|
-
functionName: "claims"
|
|
6659
6828
|
}), fe = /* @__PURE__ */ t({
|
|
6660
|
-
abi:
|
|
6661
|
-
functionName: "
|
|
6829
|
+
abi: M,
|
|
6830
|
+
functionName: "claims"
|
|
6662
6831
|
}), ve = /* @__PURE__ */ t({
|
|
6663
|
-
abi:
|
|
6664
|
-
functionName: "
|
|
6832
|
+
abi: M,
|
|
6833
|
+
functionName: "isClaimable"
|
|
6665
6834
|
}), we = /* @__PURE__ */ t({
|
|
6666
|
-
abi:
|
|
6667
|
-
functionName: "
|
|
6835
|
+
abi: M,
|
|
6836
|
+
functionName: "limit"
|
|
6668
6837
|
}), Me = /* @__PURE__ */ t({
|
|
6669
|
-
abi:
|
|
6838
|
+
abi: M,
|
|
6839
|
+
functionName: "owner"
|
|
6840
|
+
}), he = /* @__PURE__ */ t({
|
|
6841
|
+
abi: M,
|
|
6670
6842
|
functionName: "reward"
|
|
6671
6843
|
}), Ie = /* @__PURE__ */ p({
|
|
6672
|
-
abi:
|
|
6844
|
+
abi: M,
|
|
6673
6845
|
functionName: "claim"
|
|
6674
|
-
}),
|
|
6675
|
-
abi:
|
|
6846
|
+
}), ge = /* @__PURE__ */ s({
|
|
6847
|
+
abi: M,
|
|
6676
6848
|
functionName: "claim"
|
|
6677
|
-
}),
|
|
6849
|
+
}), Oe = /* @__PURE__ */ t({
|
|
6678
6850
|
abi: d,
|
|
6679
6851
|
functionName: "createBoostAuth"
|
|
6680
|
-
}),
|
|
6852
|
+
}), Ne = /* @__PURE__ */ t({
|
|
6681
6853
|
abi: d,
|
|
6682
6854
|
functionName: "getBoost"
|
|
6683
|
-
}),
|
|
6855
|
+
}), Ae = /* @__PURE__ */ t({
|
|
6684
6856
|
abi: d,
|
|
6685
6857
|
functionName: "getBoostCount"
|
|
6686
|
-
}),
|
|
6858
|
+
}), Re = /* @__PURE__ */ t({
|
|
6687
6859
|
abi: d,
|
|
6688
6860
|
functionName: "protocolFee"
|
|
6689
|
-
}),
|
|
6861
|
+
}), xe = /* @__PURE__ */ t({
|
|
6690
6862
|
abi: d,
|
|
6691
6863
|
functionName: "protocolFeeReceiver"
|
|
6692
6864
|
}), ze = /* @__PURE__ */ p({
|
|
6693
6865
|
abi: d,
|
|
6694
6866
|
functionName: "claimIncentive"
|
|
6695
|
-
}),
|
|
6867
|
+
}), Ce = /* @__PURE__ */ p({
|
|
6696
6868
|
abi: d,
|
|
6697
6869
|
functionName: "claimIncentiveFor"
|
|
6698
6870
|
}), _e = /* @__PURE__ */ p({
|
|
6699
6871
|
abi: d,
|
|
6700
6872
|
functionName: "setCreateBoostAuth"
|
|
6701
|
-
}),
|
|
6873
|
+
}), He = /* @__PURE__ */ p({
|
|
6702
6874
|
abi: d,
|
|
6703
6875
|
functionName: "setProtocolFeeReceiver"
|
|
6704
|
-
}),
|
|
6876
|
+
}), Ee = /* @__PURE__ */ s({
|
|
6705
6877
|
abi: d,
|
|
6706
6878
|
functionName: "claimIncentive"
|
|
6707
|
-
}),
|
|
6879
|
+
}), Fe = /* @__PURE__ */ s({
|
|
6708
6880
|
abi: d,
|
|
6709
6881
|
functionName: "claimIncentiveFor"
|
|
6710
|
-
}),
|
|
6882
|
+
}), De = /* @__PURE__ */ s({
|
|
6711
6883
|
abi: d,
|
|
6712
6884
|
functionName: "createBoost"
|
|
6713
|
-
}),
|
|
6885
|
+
}), ke = /* @__PURE__ */ s({
|
|
6714
6886
|
abi: d,
|
|
6715
6887
|
functionName: "setCreateBoostAuth"
|
|
6716
|
-
}),
|
|
6888
|
+
}), qe = /* @__PURE__ */ s({
|
|
6717
6889
|
abi: d,
|
|
6718
6890
|
functionName: "setProtocolFeeReceiver"
|
|
6719
6891
|
}), Be = /* @__PURE__ */ t({
|
|
6720
|
-
abi:
|
|
6892
|
+
abi: h,
|
|
6721
6893
|
functionName: "getBaseImplementation"
|
|
6722
|
-
}), qe = /* @__PURE__ */ t({
|
|
6723
|
-
abi: M,
|
|
6724
|
-
functionName: "getClone"
|
|
6725
6894
|
}), Le = /* @__PURE__ */ t({
|
|
6726
|
-
abi:
|
|
6727
|
-
functionName: "
|
|
6895
|
+
abi: h,
|
|
6896
|
+
functionName: "getClone"
|
|
6728
6897
|
}), Ue = /* @__PURE__ */ t({
|
|
6729
|
-
abi:
|
|
6898
|
+
abi: h,
|
|
6899
|
+
functionName: "getCloneIdentifier"
|
|
6900
|
+
}), Pe = /* @__PURE__ */ t({
|
|
6901
|
+
abi: h,
|
|
6730
6902
|
functionName: "getClones"
|
|
6731
|
-
}), Pe = /* @__PURE__ */ p({
|
|
6732
|
-
abi: M,
|
|
6733
|
-
functionName: "deployClone"
|
|
6734
6903
|
}), Se = /* @__PURE__ */ p({
|
|
6735
|
-
abi:
|
|
6736
|
-
functionName: "register"
|
|
6737
|
-
}), Ve = /* @__PURE__ */ s({
|
|
6738
|
-
abi: M,
|
|
6904
|
+
abi: h,
|
|
6739
6905
|
functionName: "deployClone"
|
|
6906
|
+
}), Ve = /* @__PURE__ */ p({
|
|
6907
|
+
abi: h,
|
|
6908
|
+
functionName: "register"
|
|
6740
6909
|
}), je = /* @__PURE__ */ s({
|
|
6741
|
-
abi:
|
|
6910
|
+
abi: h,
|
|
6911
|
+
functionName: "deployClone"
|
|
6912
|
+
}), Ze = /* @__PURE__ */ s({
|
|
6913
|
+
abi: h,
|
|
6742
6914
|
functionName: "register"
|
|
6743
|
-
}),
|
|
6915
|
+
}), $e = /* @__PURE__ */ t({
|
|
6744
6916
|
abi: c,
|
|
6745
6917
|
functionName: "asset"
|
|
6746
|
-
}),
|
|
6918
|
+
}), Ge = /* @__PURE__ */ t({
|
|
6747
6919
|
abi: c,
|
|
6748
6920
|
functionName: "cgdaParams"
|
|
6749
|
-
}),
|
|
6921
|
+
}), Je = /* @__PURE__ */ t({
|
|
6750
6922
|
abi: c,
|
|
6751
6923
|
functionName: "claimed"
|
|
6752
|
-
}),
|
|
6924
|
+
}), Qe = /* @__PURE__ */ t({
|
|
6753
6925
|
abi: c,
|
|
6754
6926
|
functionName: "claims"
|
|
6755
6927
|
}), Ke = /* @__PURE__ */ t({
|
|
6756
6928
|
abi: c,
|
|
6757
6929
|
functionName: "currentReward"
|
|
6758
|
-
}),
|
|
6930
|
+
}), We = /* @__PURE__ */ t({
|
|
6759
6931
|
abi: c,
|
|
6760
6932
|
functionName: "isClaimable"
|
|
6761
|
-
}),
|
|
6933
|
+
}), Xe = /* @__PURE__ */ t({
|
|
6762
6934
|
abi: c,
|
|
6763
6935
|
functionName: "owner"
|
|
6764
|
-
}),
|
|
6936
|
+
}), Ye = /* @__PURE__ */ t({
|
|
6765
6937
|
abi: c,
|
|
6766
6938
|
functionName: "reward"
|
|
6767
|
-
}),
|
|
6939
|
+
}), et = /* @__PURE__ */ t({
|
|
6768
6940
|
abi: c,
|
|
6769
6941
|
functionName: "totalBudget"
|
|
6770
|
-
}),
|
|
6942
|
+
}), tt = /* @__PURE__ */ p({
|
|
6771
6943
|
abi: c,
|
|
6772
6944
|
functionName: "claim"
|
|
6773
|
-
}),
|
|
6945
|
+
}), nt = /* @__PURE__ */ p({
|
|
6774
6946
|
abi: c,
|
|
6775
6947
|
functionName: "clawback"
|
|
6776
|
-
}),
|
|
6948
|
+
}), at = /* @__PURE__ */ s({
|
|
6777
6949
|
abi: c,
|
|
6778
6950
|
functionName: "claim"
|
|
6779
|
-
}),
|
|
6951
|
+
}), it = /* @__PURE__ */ s({
|
|
6780
6952
|
abi: c,
|
|
6781
6953
|
functionName: "clawback"
|
|
6782
|
-
}),
|
|
6954
|
+
}), st = /* @__PURE__ */ t({
|
|
6783
6955
|
abi: l,
|
|
6784
6956
|
functionName: "asset"
|
|
6785
|
-
}),
|
|
6957
|
+
}), pt = /* @__PURE__ */ t({
|
|
6786
6958
|
abi: l,
|
|
6787
6959
|
functionName: "claimed"
|
|
6788
|
-
}),
|
|
6960
|
+
}), rt = /* @__PURE__ */ t({
|
|
6789
6961
|
abi: l,
|
|
6790
6962
|
functionName: "claims"
|
|
6791
|
-
}),
|
|
6963
|
+
}), ut = /* @__PURE__ */ t(
|
|
6792
6964
|
{ abi: l, functionName: "currentReward" }
|
|
6793
6965
|
), yt = /* @__PURE__ */ t({
|
|
6794
6966
|
abi: l,
|
|
6795
6967
|
functionName: "entries"
|
|
6796
|
-
}),
|
|
6968
|
+
}), ot = /* @__PURE__ */ t({
|
|
6797
6969
|
abi: l,
|
|
6798
6970
|
functionName: "isClaimable"
|
|
6799
|
-
}),
|
|
6971
|
+
}), lt = /* @__PURE__ */ t({
|
|
6800
6972
|
abi: l,
|
|
6801
6973
|
functionName: "limit"
|
|
6802
|
-
}),
|
|
6974
|
+
}), dt = /* @__PURE__ */ t({
|
|
6803
6975
|
abi: l,
|
|
6804
6976
|
functionName: "owner"
|
|
6805
|
-
}),
|
|
6977
|
+
}), mt = /* @__PURE__ */ t({
|
|
6806
6978
|
abi: l,
|
|
6807
6979
|
functionName: "reward"
|
|
6808
|
-
}),
|
|
6980
|
+
}), bt = /* @__PURE__ */ t({
|
|
6809
6981
|
abi: l,
|
|
6810
6982
|
functionName: "strategy"
|
|
6811
|
-
}),
|
|
6983
|
+
}), ct = /* @__PURE__ */ p({
|
|
6812
6984
|
abi: l,
|
|
6813
6985
|
functionName: "claim"
|
|
6814
|
-
}),
|
|
6986
|
+
}), Tt = /* @__PURE__ */ p({
|
|
6815
6987
|
abi: l,
|
|
6816
6988
|
functionName: "clawback"
|
|
6817
|
-
}),
|
|
6989
|
+
}), ft = /* @__PURE__ */ p({
|
|
6818
6990
|
abi: l,
|
|
6819
6991
|
functionName: "drawRaffle"
|
|
6820
|
-
}),
|
|
6992
|
+
}), vt = /* @__PURE__ */ s(
|
|
6821
6993
|
{ abi: l, functionName: "claim" }
|
|
6822
|
-
),
|
|
6994
|
+
), wt = /* @__PURE__ */ s({
|
|
6823
6995
|
abi: l,
|
|
6824
6996
|
functionName: "clawback"
|
|
6825
|
-
}),
|
|
6997
|
+
}), Mt = /* @__PURE__ */ s({
|
|
6826
6998
|
abi: l,
|
|
6827
6999
|
functionName: "drawRaffle"
|
|
6828
|
-
}),
|
|
6829
|
-
abi:
|
|
7000
|
+
}), ht = /* @__PURE__ */ t({
|
|
7001
|
+
abi: S,
|
|
6830
7002
|
functionName: "getIncentiveCriteria"
|
|
6831
7003
|
}), It = /* @__PURE__ */ t({
|
|
6832
|
-
abi:
|
|
7004
|
+
abi: S,
|
|
6833
7005
|
functionName: "getMaxReward"
|
|
6834
|
-
}),
|
|
7006
|
+
}), gt = /* @__PURE__ */ t(
|
|
6835
7007
|
{ abi: T, functionName: "asset" }
|
|
6836
|
-
),
|
|
7008
|
+
), Ot = /* @__PURE__ */ t({
|
|
6837
7009
|
abi: T,
|
|
6838
7010
|
functionName: "claimed"
|
|
6839
|
-
}),
|
|
7011
|
+
}), Nt = /* @__PURE__ */ t({
|
|
6840
7012
|
abi: T,
|
|
6841
7013
|
functionName: "claims"
|
|
6842
|
-
}),
|
|
7014
|
+
}), At = /* @__PURE__ */ t({
|
|
6843
7015
|
abi: T,
|
|
6844
7016
|
functionName: "currentReward"
|
|
6845
|
-
}),
|
|
7017
|
+
}), Rt = /* @__PURE__ */ t({
|
|
6846
7018
|
abi: T,
|
|
6847
7019
|
functionName: "isClaimable"
|
|
6848
|
-
}),
|
|
7020
|
+
}), xt = /* @__PURE__ */ t(
|
|
6849
7021
|
{ abi: T, functionName: "limit" }
|
|
6850
7022
|
), zt = /* @__PURE__ */ t(
|
|
6851
7023
|
{ abi: T, functionName: "owner" }
|
|
6852
|
-
),
|
|
7024
|
+
), Ct = /* @__PURE__ */ t({
|
|
6853
7025
|
abi: T,
|
|
6854
7026
|
functionName: "reward"
|
|
6855
7027
|
}), _t = /* @__PURE__ */ t({
|
|
6856
7028
|
abi: T,
|
|
6857
7029
|
functionName: "totalClaimed"
|
|
6858
|
-
}),
|
|
7030
|
+
}), Ht = /* @__PURE__ */ p({
|
|
6859
7031
|
abi: T,
|
|
6860
7032
|
functionName: "claim"
|
|
6861
|
-
}),
|
|
7033
|
+
}), Et = /* @__PURE__ */ p({
|
|
6862
7034
|
abi: T,
|
|
6863
7035
|
functionName: "clawback"
|
|
6864
|
-
}),
|
|
7036
|
+
}), Ft = /* @__PURE__ */ s({
|
|
6865
7037
|
abi: T,
|
|
6866
7038
|
functionName: "claim"
|
|
6867
|
-
}),
|
|
7039
|
+
}), Dt = /* @__PURE__ */ s({
|
|
6868
7040
|
abi: T,
|
|
6869
7041
|
functionName: "clawback"
|
|
6870
|
-
}), Dt = /* @__PURE__ */ t({
|
|
6871
|
-
abi: x,
|
|
6872
|
-
functionName: "getActionClaimant"
|
|
6873
7042
|
}), kt = /* @__PURE__ */ t({
|
|
6874
|
-
abi:
|
|
7043
|
+
abi: C,
|
|
7044
|
+
functionName: "getActionClaimant"
|
|
7045
|
+
}), qt = /* @__PURE__ */ t({
|
|
7046
|
+
abi: C,
|
|
6875
7047
|
functionName: "getActionSteps"
|
|
6876
7048
|
}), Bt = /* @__PURE__ */ p({
|
|
6877
|
-
abi:
|
|
7049
|
+
abi: C,
|
|
6878
7050
|
functionName: "execute"
|
|
6879
|
-
}),
|
|
6880
|
-
abi:
|
|
7051
|
+
}), Lt = /* @__PURE__ */ s({
|
|
7052
|
+
abi: C,
|
|
6881
7053
|
functionName: "execute"
|
|
6882
|
-
}), Lt = /* @__PURE__ */ t({
|
|
6883
|
-
abi: ne,
|
|
6884
|
-
functionName: "isAuthorized"
|
|
6885
7054
|
}), Ut = /* @__PURE__ */ t({
|
|
7055
|
+
abi: ae,
|
|
7056
|
+
functionName: "isAuthorized"
|
|
7057
|
+
}), Pt = /* @__PURE__ */ t({
|
|
6886
7058
|
abi: I,
|
|
6887
7059
|
functionName: "hashSignerData"
|
|
6888
|
-
}),
|
|
7060
|
+
}), St = /* @__PURE__ */ t({
|
|
6889
7061
|
abi: I,
|
|
6890
7062
|
functionName: "signers"
|
|
6891
|
-
}),
|
|
7063
|
+
}), Vt = /* @__PURE__ */ p({
|
|
6892
7064
|
abi: I,
|
|
6893
7065
|
functionName: "setAuthorized"
|
|
6894
|
-
}),
|
|
7066
|
+
}), jt = /* @__PURE__ */ p({
|
|
6895
7067
|
abi: I,
|
|
6896
7068
|
functionName: "setValidatorCaller"
|
|
6897
|
-
}),
|
|
7069
|
+
}), Zt = /* @__PURE__ */ p({
|
|
6898
7070
|
abi: I,
|
|
6899
7071
|
functionName: "validate"
|
|
6900
|
-
}),
|
|
7072
|
+
}), $t = /* @__PURE__ */ s({
|
|
6901
7073
|
abi: I,
|
|
6902
7074
|
functionName: "setAuthorized"
|
|
6903
|
-
}),
|
|
7075
|
+
}), Gt = /* @__PURE__ */ s({
|
|
6904
7076
|
abi: I,
|
|
6905
7077
|
functionName: "setValidatorCaller"
|
|
6906
|
-
}),
|
|
7078
|
+
}), Jt = /* @__PURE__ */ s({
|
|
6907
7079
|
abi: I,
|
|
6908
7080
|
functionName: "validate"
|
|
6909
|
-
}),
|
|
7081
|
+
}), Qt = /* @__PURE__ */ t({
|
|
6910
7082
|
abi: m,
|
|
6911
7083
|
functionName: "available"
|
|
6912
7084
|
}), Kt = /* @__PURE__ */ t({
|
|
6913
7085
|
abi: m,
|
|
6914
7086
|
functionName: "distributed"
|
|
6915
|
-
}),
|
|
7087
|
+
}), Wt = /* @__PURE__ */ t({
|
|
6916
7088
|
abi: m,
|
|
6917
7089
|
functionName: "owner"
|
|
6918
|
-
}),
|
|
7090
|
+
}), Xt = /* @__PURE__ */ t({
|
|
6919
7091
|
abi: m,
|
|
6920
7092
|
functionName: "total"
|
|
6921
|
-
}),
|
|
7093
|
+
}), Yt = /* @__PURE__ */ p({
|
|
6922
7094
|
abi: m,
|
|
6923
7095
|
functionName: "allocate"
|
|
6924
|
-
}),
|
|
7096
|
+
}), en = /* @__PURE__ */ p({
|
|
6925
7097
|
abi: m,
|
|
6926
7098
|
functionName: "clawback"
|
|
6927
|
-
}),
|
|
7099
|
+
}), tn = /* @__PURE__ */ p({
|
|
6928
7100
|
abi: m,
|
|
6929
7101
|
functionName: "clawbackFromTarget"
|
|
6930
|
-
}),
|
|
7102
|
+
}), nn = /* @__PURE__ */ p({
|
|
6931
7103
|
abi: m,
|
|
6932
7104
|
functionName: "disburse"
|
|
6933
|
-
}),
|
|
7105
|
+
}), an = /* @__PURE__ */ p({
|
|
6934
7106
|
abi: m,
|
|
6935
7107
|
functionName: "disburseBatch"
|
|
6936
|
-
}),
|
|
7108
|
+
}), sn = /* @__PURE__ */ s({
|
|
6937
7109
|
abi: m,
|
|
6938
7110
|
functionName: "allocate"
|
|
6939
|
-
}),
|
|
7111
|
+
}), pn = /* @__PURE__ */ s({
|
|
6940
7112
|
abi: m,
|
|
6941
7113
|
functionName: "clawback"
|
|
6942
|
-
}),
|
|
7114
|
+
}), rn = /* @__PURE__ */ s({
|
|
6943
7115
|
abi: m,
|
|
6944
7116
|
functionName: "clawbackFromTarget"
|
|
6945
|
-
}),
|
|
7117
|
+
}), un = /* @__PURE__ */ s({
|
|
6946
7118
|
abi: m,
|
|
6947
7119
|
functionName: "disburse"
|
|
6948
7120
|
}), yn = /* @__PURE__ */ s({
|
|
6949
7121
|
abi: m,
|
|
6950
7122
|
functionName: "disburseBatch"
|
|
6951
|
-
}),
|
|
6952
|
-
abi:
|
|
7123
|
+
}), on = /* @__PURE__ */ t({
|
|
7124
|
+
abi: R,
|
|
6953
7125
|
functionName: "managementFee"
|
|
6954
|
-
}), on = /* @__PURE__ */ p({
|
|
6955
|
-
abi: A,
|
|
6956
|
-
functionName: "payManagementFee"
|
|
6957
7126
|
}), ln = /* @__PURE__ */ p({
|
|
6958
|
-
abi:
|
|
6959
|
-
functionName: "setManagementFee"
|
|
6960
|
-
}), dn = /* @__PURE__ */ s({
|
|
6961
|
-
abi: A,
|
|
7127
|
+
abi: R,
|
|
6962
7128
|
functionName: "payManagementFee"
|
|
7129
|
+
}), dn = /* @__PURE__ */ p({
|
|
7130
|
+
abi: R,
|
|
7131
|
+
functionName: "setManagementFee"
|
|
6963
7132
|
}), mn = /* @__PURE__ */ s({
|
|
6964
|
-
abi:
|
|
7133
|
+
abi: R,
|
|
7134
|
+
functionName: "payManagementFee"
|
|
7135
|
+
}), bn = /* @__PURE__ */ s({
|
|
7136
|
+
abi: R,
|
|
6965
7137
|
functionName: "setManagementFee"
|
|
6966
|
-
}),
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
7138
|
+
}), cn = /* @__PURE__ */ t({
|
|
7139
|
+
abi: f,
|
|
7140
|
+
functionName: "ownershipHandoverExpiresAt"
|
|
7141
|
+
}), Tn = /* @__PURE__ */ p({
|
|
7142
|
+
abi: f,
|
|
7143
|
+
functionName: "cancelOwnershipHandover"
|
|
7144
|
+
}), fn = /* @__PURE__ */ p({
|
|
7145
|
+
abi: f,
|
|
7146
|
+
functionName: "completeOwnershipHandover"
|
|
7147
|
+
}), vn = /* @__PURE__ */ p({
|
|
7148
|
+
abi: f,
|
|
7149
|
+
functionName: "renounceOwnership"
|
|
7150
|
+
}), wn = /* @__PURE__ */ p(
|
|
7151
|
+
{ abi: f, functionName: "renounceRoles" }
|
|
7152
|
+
), Mn = /* @__PURE__ */ p({
|
|
7153
|
+
abi: f,
|
|
7154
|
+
functionName: "requestOwnershipHandover"
|
|
7155
|
+
}), hn = /* @__PURE__ */ p({
|
|
7156
|
+
abi: f,
|
|
7157
|
+
functionName: "transferOwnership"
|
|
7158
|
+
}), In = /* @__PURE__ */ s({
|
|
7159
|
+
abi: f,
|
|
7160
|
+
functionName: "cancelOwnershipHandover"
|
|
7161
|
+
}), gn = /* @__PURE__ */ s({
|
|
7162
|
+
abi: f,
|
|
7163
|
+
functionName: "completeOwnershipHandover"
|
|
7164
|
+
}), On = /* @__PURE__ */ s({
|
|
7165
|
+
abi: f,
|
|
7166
|
+
functionName: "renounceOwnership"
|
|
7167
|
+
}), Nn = /* @__PURE__ */ s({
|
|
7168
|
+
abi: f,
|
|
7169
|
+
functionName: "renounceRoles"
|
|
7170
|
+
}), An = /* @__PURE__ */ s({
|
|
7171
|
+
abi: f,
|
|
7172
|
+
functionName: "requestOwnershipHandover"
|
|
7173
|
+
}), Rn = /* @__PURE__ */ s({
|
|
7174
|
+
abi: f,
|
|
7175
|
+
functionName: "transferOwnership"
|
|
7176
|
+
}), xn = /* @__PURE__ */ t(
|
|
7177
|
+
{ abi: ie, functionName: "isAuthorized" }
|
|
7178
|
+
), zn = /* @__PURE__ */ t({
|
|
7179
|
+
abi: w,
|
|
6970
7180
|
functionName: "claimed"
|
|
6971
|
-
}),
|
|
6972
|
-
abi:
|
|
7181
|
+
}), Cn = /* @__PURE__ */ t({
|
|
7182
|
+
abi: w,
|
|
6973
7183
|
functionName: "claims"
|
|
6974
|
-
}),
|
|
6975
|
-
abi:
|
|
7184
|
+
}), _n = /* @__PURE__ */ t({
|
|
7185
|
+
abi: w,
|
|
6976
7186
|
functionName: "currentReward"
|
|
6977
|
-
}),
|
|
6978
|
-
abi:
|
|
7187
|
+
}), Hn = /* @__PURE__ */ t({
|
|
7188
|
+
abi: w,
|
|
6979
7189
|
functionName: "isClaimable"
|
|
6980
|
-
}),
|
|
6981
|
-
abi:
|
|
7190
|
+
}), En = /* @__PURE__ */ t({
|
|
7191
|
+
abi: w,
|
|
6982
7192
|
functionName: "limit"
|
|
6983
|
-
}),
|
|
6984
|
-
abi:
|
|
7193
|
+
}), Fn = /* @__PURE__ */ t({
|
|
7194
|
+
abi: w,
|
|
6985
7195
|
functionName: "reward"
|
|
6986
|
-
}),
|
|
6987
|
-
abi:
|
|
7196
|
+
}), Dn = /* @__PURE__ */ t({
|
|
7197
|
+
abi: w,
|
|
6988
7198
|
functionName: "selector"
|
|
6989
|
-
}),
|
|
6990
|
-
abi:
|
|
7199
|
+
}), kn = /* @__PURE__ */ t({
|
|
7200
|
+
abi: w,
|
|
6991
7201
|
functionName: "venue"
|
|
6992
|
-
}),
|
|
6993
|
-
abi:
|
|
7202
|
+
}), qn = /* @__PURE__ */ p({
|
|
7203
|
+
abi: w,
|
|
6994
7204
|
functionName: "claim"
|
|
6995
|
-
}),
|
|
6996
|
-
abi:
|
|
7205
|
+
}), Bn = /* @__PURE__ */ s({
|
|
7206
|
+
abi: w,
|
|
6997
7207
|
functionName: "claim"
|
|
6998
|
-
}),
|
|
7208
|
+
}), Ln = /* @__PURE__ */ t({
|
|
6999
7209
|
abi: b,
|
|
7000
7210
|
functionName: "hasAllRoles"
|
|
7001
|
-
}),
|
|
7211
|
+
}), Un = /* @__PURE__ */ t({
|
|
7002
7212
|
abi: b,
|
|
7003
7213
|
functionName: "hasAnyRole"
|
|
7004
|
-
}),
|
|
7214
|
+
}), Pn = /* @__PURE__ */ t({
|
|
7005
7215
|
abi: b,
|
|
7006
7216
|
functionName: "isAuthorized"
|
|
7007
|
-
}),
|
|
7217
|
+
}), Sn = /* @__PURE__ */ t({
|
|
7008
7218
|
abi: b,
|
|
7009
7219
|
functionName: "rolesOf"
|
|
7010
|
-
}),
|
|
7220
|
+
}), Vn = /* @__PURE__ */ p({
|
|
7011
7221
|
abi: b,
|
|
7012
7222
|
functionName: "grantManyRoles"
|
|
7013
|
-
}),
|
|
7223
|
+
}), jn = /* @__PURE__ */ p({
|
|
7014
7224
|
abi: b,
|
|
7015
7225
|
functionName: "grantRoles"
|
|
7016
|
-
}),
|
|
7226
|
+
}), Zn = /* @__PURE__ */ p({
|
|
7017
7227
|
abi: b,
|
|
7018
7228
|
functionName: "revokeManyRoles"
|
|
7019
|
-
}),
|
|
7229
|
+
}), $n = /* @__PURE__ */ p({
|
|
7020
7230
|
abi: b,
|
|
7021
7231
|
functionName: "revokeRoles"
|
|
7022
|
-
}),
|
|
7232
|
+
}), Gn = /* @__PURE__ */ p({
|
|
7023
7233
|
abi: b,
|
|
7024
7234
|
functionName: "setAuthorized"
|
|
7025
|
-
}),
|
|
7235
|
+
}), Jn = /* @__PURE__ */ s({
|
|
7026
7236
|
abi: b,
|
|
7027
7237
|
functionName: "grantManyRoles"
|
|
7028
|
-
}),
|
|
7238
|
+
}), Qn = /* @__PURE__ */ s({
|
|
7029
7239
|
abi: b,
|
|
7030
7240
|
functionName: "grantRoles"
|
|
7031
|
-
}),
|
|
7241
|
+
}), Kn = /* @__PURE__ */ s(
|
|
7032
7242
|
{ abi: b, functionName: "revokeManyRoles" }
|
|
7033
|
-
),
|
|
7243
|
+
), Wn = /* @__PURE__ */ s({
|
|
7034
7244
|
abi: b,
|
|
7035
7245
|
functionName: "revokeRoles"
|
|
7036
|
-
}),
|
|
7246
|
+
}), Xn = /* @__PURE__ */ s({
|
|
7037
7247
|
abi: b,
|
|
7038
7248
|
functionName: "setAuthorized"
|
|
7039
|
-
}),
|
|
7040
|
-
abi:
|
|
7249
|
+
}), Yn = /* @__PURE__ */ t({
|
|
7250
|
+
abi: g,
|
|
7041
7251
|
functionName: "hashSignerData"
|
|
7042
|
-
}),
|
|
7043
|
-
abi:
|
|
7252
|
+
}), ea = /* @__PURE__ */ t({
|
|
7253
|
+
abi: g,
|
|
7044
7254
|
functionName: "signers"
|
|
7045
|
-
}),
|
|
7046
|
-
abi:
|
|
7255
|
+
}), ta = /* @__PURE__ */ p({
|
|
7256
|
+
abi: g,
|
|
7047
7257
|
functionName: "setAuthorized"
|
|
7048
|
-
}),
|
|
7049
|
-
abi:
|
|
7258
|
+
}), na = /* @__PURE__ */ p({
|
|
7259
|
+
abi: g,
|
|
7050
7260
|
functionName: "setValidatorCaller"
|
|
7051
|
-
}),
|
|
7052
|
-
abi:
|
|
7261
|
+
}), aa = /* @__PURE__ */ p({
|
|
7262
|
+
abi: g,
|
|
7053
7263
|
functionName: "validate"
|
|
7054
|
-
}),
|
|
7055
|
-
abi:
|
|
7264
|
+
}), ia = /* @__PURE__ */ s({
|
|
7265
|
+
abi: g,
|
|
7056
7266
|
functionName: "setAuthorized"
|
|
7057
|
-
}),
|
|
7058
|
-
abi:
|
|
7267
|
+
}), sa = /* @__PURE__ */ s({
|
|
7268
|
+
abi: g,
|
|
7059
7269
|
functionName: "setValidatorCaller"
|
|
7060
|
-
}),
|
|
7061
|
-
abi:
|
|
7270
|
+
}), pa = /* @__PURE__ */ s({
|
|
7271
|
+
abi: g,
|
|
7062
7272
|
functionName: "validate"
|
|
7063
|
-
}),
|
|
7273
|
+
}), ra = /* @__PURE__ */ t({
|
|
7064
7274
|
abi: _,
|
|
7065
7275
|
functionName: "isAllowed"
|
|
7066
|
-
}),
|
|
7276
|
+
}), ua = /* @__PURE__ */ t({
|
|
7067
7277
|
abi: _,
|
|
7068
7278
|
functionName: "owner"
|
|
7069
|
-
}),
|
|
7279
|
+
}), ya = /* @__PURE__ */ p(
|
|
7070
7280
|
{ abi: _, functionName: "setAllowed" }
|
|
7071
|
-
),
|
|
7281
|
+
), oa = /* @__PURE__ */ s({
|
|
7072
7282
|
abi: _,
|
|
7073
7283
|
functionName: "setAllowed"
|
|
7074
|
-
}),
|
|
7075
|
-
abi:
|
|
7284
|
+
}), la = /* @__PURE__ */ t({
|
|
7285
|
+
abi: D,
|
|
7076
7286
|
functionName: "isAllowed"
|
|
7077
|
-
}),
|
|
7078
|
-
abi:
|
|
7287
|
+
}), da = /* @__PURE__ */ p({
|
|
7288
|
+
abi: D,
|
|
7079
7289
|
functionName: "setDenied"
|
|
7080
|
-
}),
|
|
7081
|
-
abi:
|
|
7290
|
+
}), ma = /* @__PURE__ */ s({
|
|
7291
|
+
abi: D,
|
|
7082
7292
|
functionName: "setDenied"
|
|
7083
7293
|
});
|
|
7084
7294
|
export {
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7295
|
+
Le as $,
|
|
7296
|
+
Zn as A,
|
|
7297
|
+
de as B,
|
|
7298
|
+
Qn as C,
|
|
7299
|
+
Tn as D,
|
|
7090
7300
|
b as E,
|
|
7091
|
-
|
|
7092
|
-
|
|
7301
|
+
g as F,
|
|
7302
|
+
vn as G,
|
|
7093
7303
|
I as H,
|
|
7094
7304
|
d as I,
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7305
|
+
gn as J,
|
|
7306
|
+
be as K,
|
|
7307
|
+
ie as L,
|
|
7308
|
+
me as M,
|
|
7309
|
+
Ze as N,
|
|
7310
|
+
D as O,
|
|
7311
|
+
Ve as P,
|
|
7312
|
+
le as Q,
|
|
7103
7313
|
_ as R,
|
|
7104
|
-
|
|
7314
|
+
Xn as S,
|
|
7105
7315
|
T,
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7316
|
+
wn as U,
|
|
7317
|
+
je as V,
|
|
7318
|
+
Mn as W,
|
|
7319
|
+
On as X,
|
|
7320
|
+
Nn as Y,
|
|
7321
|
+
Se as Z,
|
|
7322
|
+
Be as _,
|
|
7323
|
+
Gn as a,
|
|
7324
|
+
ht as a$,
|
|
7325
|
+
Pe as a0,
|
|
7326
|
+
Ue as a1,
|
|
7327
|
+
xn as a2,
|
|
7328
|
+
ye as a3,
|
|
7329
|
+
sn as a4,
|
|
7330
|
+
Yt as a5,
|
|
7331
|
+
pn as a6,
|
|
7332
|
+
en as a7,
|
|
7333
|
+
rn as a8,
|
|
7334
|
+
tn as a9,
|
|
7335
|
+
Ye as aA,
|
|
7336
|
+
Je as aB,
|
|
7337
|
+
$e as aC,
|
|
7338
|
+
Ge as aD,
|
|
7339
|
+
et as aE,
|
|
7340
|
+
at as aF,
|
|
7341
|
+
tt as aG,
|
|
7342
|
+
it as aH,
|
|
7343
|
+
nt as aI,
|
|
7344
|
+
We as aJ,
|
|
7345
|
+
Ke as aK,
|
|
7346
|
+
dt as aL,
|
|
7347
|
+
ut as aM,
|
|
7348
|
+
rt as aN,
|
|
7349
|
+
pt as aO,
|
|
7350
|
+
st as aP,
|
|
7351
|
+
bt as aQ,
|
|
7352
|
+
mt as aR,
|
|
7353
|
+
lt as aS,
|
|
7354
|
+
yt as aT,
|
|
7355
|
+
vt as aU,
|
|
7356
|
+
ct as aV,
|
|
7357
|
+
wt as aW,
|
|
7358
|
+
Tt as aX,
|
|
7359
|
+
ot as aY,
|
|
7360
|
+
Mt as aZ,
|
|
7361
|
+
ft as a_,
|
|
7362
|
+
un as aa,
|
|
7363
|
+
nn as ab,
|
|
7364
|
+
yn as ac,
|
|
7365
|
+
an as ad,
|
|
7366
|
+
Wt as ae,
|
|
7367
|
+
Xt as af,
|
|
7368
|
+
Qt as ag,
|
|
7369
|
+
Kt as ah,
|
|
7370
|
+
Me as ai,
|
|
7371
|
+
fe as aj,
|
|
7372
|
+
he as ak,
|
|
7373
|
+
Te as al,
|
|
7374
|
+
ce as am,
|
|
7375
|
+
we as an,
|
|
7376
|
+
ge as ao,
|
|
7377
|
+
Ie as ap,
|
|
7378
|
+
ve as aq,
|
|
7379
|
+
ua as ar,
|
|
7380
|
+
ra as as,
|
|
7381
|
+
oa as at,
|
|
7382
|
+
ya as au,
|
|
7383
|
+
la as av,
|
|
7384
|
+
ma as aw,
|
|
7385
|
+
da as ax,
|
|
7386
|
+
Xe as ay,
|
|
7387
|
+
Qe as az,
|
|
7388
|
+
S as b,
|
|
7389
|
+
xe as b$,
|
|
7390
|
+
It as b0,
|
|
7391
|
+
zt as b1,
|
|
7392
|
+
_t as b2,
|
|
7393
|
+
At as b3,
|
|
7394
|
+
Nt as b4,
|
|
7395
|
+
Ot as b5,
|
|
7396
|
+
gt as b6,
|
|
7397
|
+
Ct as b7,
|
|
7398
|
+
xt as b8,
|
|
7399
|
+
Ft as b9,
|
|
7400
|
+
$t as bA,
|
|
7401
|
+
Vt as bB,
|
|
7402
|
+
Gt as bC,
|
|
7403
|
+
jt as bD,
|
|
7404
|
+
mn as bE,
|
|
7405
|
+
ln as bF,
|
|
7406
|
+
bn as bG,
|
|
7407
|
+
dn as bH,
|
|
7408
|
+
on as bI,
|
|
7409
|
+
oe as bJ,
|
|
7410
|
+
C as bK,
|
|
7411
|
+
qt as bL,
|
|
7412
|
+
kt as bM,
|
|
7413
|
+
Lt as bN,
|
|
7414
|
+
Bt as bO,
|
|
7415
|
+
De as bP,
|
|
7416
|
+
Ee as bQ,
|
|
7417
|
+
ze as bR,
|
|
7418
|
+
Fe as bS,
|
|
7419
|
+
Ce as bT,
|
|
7420
|
+
Ne as bU,
|
|
7421
|
+
Ae as bV,
|
|
7422
|
+
Ut as bW,
|
|
7423
|
+
Oe as bX,
|
|
7424
|
+
ke as bY,
|
|
7425
|
+
_e as bZ,
|
|
7426
|
+
Re as b_,
|
|
7427
|
+
Ht as ba,
|
|
7428
|
+
Dt as bb,
|
|
7429
|
+
Et as bc,
|
|
7430
|
+
Rt as bd,
|
|
7431
|
+
Cn as be,
|
|
7432
|
+
_n as bf,
|
|
7433
|
+
Fn as bg,
|
|
7434
|
+
zn as bh,
|
|
7435
|
+
kn as bi,
|
|
7436
|
+
En as bj,
|
|
7437
|
+
Dn as bk,
|
|
7438
|
+
Bn as bl,
|
|
7439
|
+
qn as bm,
|
|
7440
|
+
Hn as bn,
|
|
7441
|
+
ea as bo,
|
|
7442
|
+
Yn as bp,
|
|
7443
|
+
pa as bq,
|
|
7444
|
+
aa as br,
|
|
7445
|
+
ia as bs,
|
|
7446
|
+
ta as bt,
|
|
7447
|
+
sa as bu,
|
|
7448
|
+
na as bv,
|
|
7449
|
+
St as bw,
|
|
7450
|
+
Pt as bx,
|
|
7451
|
+
Jt as by,
|
|
7452
|
+
Zt as bz,
|
|
7453
|
+
jn as c,
|
|
7454
|
+
qe as c0,
|
|
7455
|
+
He as c1,
|
|
7456
|
+
$n as d,
|
|
7457
|
+
Jn as e,
|
|
7235
7458
|
m as f,
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7459
|
+
Vn as g,
|
|
7460
|
+
w as h,
|
|
7461
|
+
Kn as i,
|
|
7462
|
+
Un as j,
|
|
7463
|
+
Ln as k,
|
|
7464
|
+
hn as l,
|
|
7242
7465
|
l as m,
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7466
|
+
Rn as n,
|
|
7467
|
+
R as o,
|
|
7468
|
+
Pn as p,
|
|
7469
|
+
An as q,
|
|
7470
|
+
ue as r,
|
|
7471
|
+
fn as s,
|
|
7472
|
+
In as t,
|
|
7473
|
+
h as u,
|
|
7474
|
+
cn as v,
|
|
7252
7475
|
c as w,
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7476
|
+
Wn as x,
|
|
7477
|
+
Sn as y,
|
|
7478
|
+
M as z
|
|
7256
7479
|
};
|
|
7257
|
-
//# sourceMappingURL=generated-
|
|
7480
|
+
//# sourceMappingURL=generated-1ZT_mHJx.js.map
|