@boostxyz/sdk 2.1.2 → 2.2.1
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 +219 -0
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +39 -39
- 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 +18 -17
- package/dist/AllowLists/AllowList.js.map +1 -1
- package/dist/AllowLists/SimpleAllowList.cjs +1 -1
- package/dist/AllowLists/SimpleAllowList.js +9 -9
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.js +2 -2
- package/dist/Auth/PassthroughAuth.cjs +1 -1
- package/dist/Auth/PassthroughAuth.js +1 -1
- package/dist/BoostCore.cjs +2 -2
- package/dist/BoostCore.cjs.map +1 -1
- package/dist/BoostCore.d.ts +33 -0
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +98 -81
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.js +12 -12
- package/dist/{Budget-CUIFf1Br.js → Budget-2Zb3Mb-8.js} +40 -39
- package/dist/{Budget-CUIFf1Br.js.map → Budget-2Zb3Mb-8.js.map} +1 -1
- package/dist/{Budget-cI30CIMN.cjs → Budget-2xKEvkbL.cjs} +2 -2
- package/dist/{Budget-cI30CIMN.cjs.map → Budget-2xKEvkbL.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 +3 -3
- package/dist/Budgets/ManagedBudget.cjs +1 -1
- package/dist/Budgets/ManagedBudget.js +33 -33
- 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/Incentive-CfIjdL4T.cjs +2 -0
- package/dist/Incentive-CfIjdL4T.cjs.map +1 -0
- package/dist/Incentive-DNwTyG5Z.js +393 -0
- package/dist/Incentive-DNwTyG5Z.js.map +1 -0
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
- package/dist/Incentives/AllowListIncentive.js +28 -28
- 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.d.ts +30 -0
- package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
- package/dist/Incentives/CGDAIncentive.js +25 -25
- package/dist/Incentives/CGDAIncentive.js.map +1 -1
- package/dist/Incentives/ERC1155Incentive.d.ts +25 -0
- package/dist/Incentives/ERC1155Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
- package/dist/Incentives/ERC20Incentive.d.ts +30 -0
- package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.js +42 -42
- package/dist/Incentives/ERC20Incentive.js.map +1 -1
- package/dist/Incentives/ERC20PeggedIncentive.d.ts +905 -0
- package/dist/Incentives/ERC20PeggedIncentive.d.ts.map +1 -0
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +67 -0
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js +31 -31
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableIncentive.cjs.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.d.ts +20 -0
- package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.js +18 -18
- 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 +26 -4
- package/dist/Incentives/Incentive.d.ts.map +1 -1
- package/dist/Incentives/Incentive.js +20 -40
- 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.d.ts +25 -0
- package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
- package/dist/Incentives/PointsIncentive.js +29 -29
- package/dist/Incentives/PointsIncentive.js.map +1 -1
- package/dist/{SimpleDenyList-Ds0CQ4uR.cjs → SimpleDenyList-BQ0GqQfC.cjs} +2 -2
- package/dist/{SimpleDenyList-Ds0CQ4uR.cjs.map → SimpleDenyList-BQ0GqQfC.cjs.map} +1 -1
- package/dist/{SimpleDenyList-CXruWOyu.js → SimpleDenyList-D49GF3NX.js} +11 -11
- package/dist/{SimpleDenyList-CXruWOyu.js.map → SimpleDenyList-D49GF3NX.js.map} +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs +1 -1
- package/dist/Validators/LimitedSignerValidator.d.ts +10 -0
- package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -1
- package/dist/Validators/LimitedSignerValidator.js +15 -15
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.cjs.map +1 -1
- package/dist/Validators/SignerValidator.d.ts +10 -0
- package/dist/Validators/SignerValidator.d.ts.map +1 -1
- package/dist/Validators/SignerValidator.js +8 -8
- package/dist/Validators/SignerValidator.js.map +1 -1
- 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 +20 -19
- package/dist/Validators/Validator.js.map +1 -1
- package/dist/{componentInterfaces-dakxtQHf.js → componentInterfaces-C4uAYjSo.js} +12 -12
- package/dist/componentInterfaces-C4uAYjSo.js.map +1 -0
- package/dist/deployments.json +3 -0
- package/dist/{generated-BTslM7bf.js → generated-B5pVBNb-.js} +1835 -730
- package/dist/generated-B5pVBNb-.js.map +1 -0
- package/dist/generated-D50hBWtr.cjs +3 -0
- package/dist/generated-D50hBWtr.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +113 -110
- 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 +27 -5
- 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/ERC20PeggedIncentive.ts +507 -0
- package/src/Incentives/ERC20VariableIncentive.test.ts +48 -0
- package/src/Incentives/ERC20VariableIncentive.ts +1 -1
- package/src/Incentives/Incentive.ts +9 -1
- package/src/Incentives/PointsIncentive.test.ts +51 -0
- package/src/Incentives/PointsIncentive.ts +1 -1
- package/src/Validators/Validator.ts +3 -0
- package/src/index.ts +1 -0
- package/dist/componentInterfaces-dakxtQHf.js.map +0 -1
- package/dist/generated-BTslM7bf.js.map +0 -1
- package/dist/generated-DhXxTQ20.cjs +0 -3
- package/dist/generated-DhXxTQ20.cjs.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { simulateContract as
|
|
2
|
-
import { createClient as
|
|
3
|
-
import { parseAccount as
|
|
4
|
-
function
|
|
5
|
-
const a = n.state.current, e = n.state.connections.get(a),
|
|
1
|
+
import { simulateContract as $, readContract as j, writeContract as G } from "viem/actions";
|
|
2
|
+
import { createClient as K, custom as Q } from "viem";
|
|
3
|
+
import { parseAccount as Y, getAddress as W } from "viem/utils";
|
|
4
|
+
function C(n) {
|
|
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) {
|
|
7
7
|
case "connected":
|
|
8
8
|
return {
|
|
9
9
|
address: y,
|
|
10
|
-
addresses:
|
|
10
|
+
addresses: p,
|
|
11
11
|
chain: u,
|
|
12
12
|
chainId: e == null ? void 0 : e.chainId,
|
|
13
13
|
connector: e == null ? void 0 : e.connector,
|
|
@@ -20,7 +20,7 @@ function z(n) {
|
|
|
20
20
|
case "reconnecting":
|
|
21
21
|
return {
|
|
22
22
|
address: y,
|
|
23
|
-
addresses:
|
|
23
|
+
addresses: p,
|
|
24
24
|
chain: u,
|
|
25
25
|
chainId: e == null ? void 0 : e.chainId,
|
|
26
26
|
connector: e == null ? void 0 : e.connector,
|
|
@@ -33,7 +33,7 @@ function z(n) {
|
|
|
33
33
|
case "connecting":
|
|
34
34
|
return {
|
|
35
35
|
address: y,
|
|
36
|
-
addresses:
|
|
36
|
+
addresses: p,
|
|
37
37
|
chain: u,
|
|
38
38
|
chainId: e == null ? void 0 : e.chainId,
|
|
39
39
|
connector: e == null ? void 0 : e.connector,
|
|
@@ -58,32 +58,32 @@ function z(n) {
|
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function D(n) {
|
|
62
62
|
return n.state.chainId;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
const
|
|
66
|
-
if (typeof
|
|
67
|
-
return
|
|
64
|
+
function F(n, a, e) {
|
|
65
|
+
const p = n[a.name];
|
|
66
|
+
if (typeof p == "function")
|
|
67
|
+
return p;
|
|
68
68
|
const y = n[e];
|
|
69
69
|
return typeof y == "function" ? y : (u) => a(n, u);
|
|
70
70
|
}
|
|
71
|
-
const
|
|
72
|
-
var
|
|
73
|
-
if (e === "a" && !
|
|
74
|
-
if (typeof a == "function" ? n !== a || !
|
|
75
|
-
return e === "m" ?
|
|
76
|
-
},
|
|
77
|
-
class
|
|
71
|
+
const X = "2.13.8", J = () => `@wagmi/core@${X}`;
|
|
72
|
+
var S = function(n, a, e, p) {
|
|
73
|
+
if (e === "a" && !p) throw new TypeError("Private accessor was defined without a getter");
|
|
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
|
+
return e === "m" ? p : e === "a" ? p.call(n) : p ? p.value : a.get(n);
|
|
76
|
+
}, z, B;
|
|
77
|
+
class A extends Error {
|
|
78
78
|
get docsBaseUrl() {
|
|
79
79
|
return "https://wagmi.sh/core";
|
|
80
80
|
}
|
|
81
81
|
get version() {
|
|
82
|
-
return
|
|
82
|
+
return J();
|
|
83
83
|
}
|
|
84
84
|
constructor(a, e = {}) {
|
|
85
|
-
var
|
|
86
|
-
super(),
|
|
85
|
+
var p;
|
|
86
|
+
super(), z.add(this), Object.defineProperty(this, "details", {
|
|
87
87
|
enumerable: !0,
|
|
88
88
|
configurable: !0,
|
|
89
89
|
writable: !0,
|
|
@@ -109,7 +109,7 @@ class g extends Error {
|
|
|
109
109
|
writable: !0,
|
|
110
110
|
value: "WagmiCoreError"
|
|
111
111
|
});
|
|
112
|
-
const y = e.cause instanceof
|
|
112
|
+
const y = e.cause instanceof A ? e.cause.details : (p = e.cause) != null && p.message ? e.cause.message : e.details, u = e.cause instanceof A && e.cause.docsPath || e.docsPath;
|
|
113
113
|
this.message = [
|
|
114
114
|
a || "An error occurred.",
|
|
115
115
|
"",
|
|
@@ -123,13 +123,13 @@ class g 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
|
|
126
|
+
return S(this, z, "m", B).call(this, this, a);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
return e != null && e(a) ? a : a.cause ?
|
|
129
|
+
z = /* @__PURE__ */ new WeakSet(), B = function n(a, e) {
|
|
130
|
+
return e != null && e(a) ? a : a.cause ? S(this, z, "m", n).call(this, a.cause, e) : a;
|
|
131
131
|
};
|
|
132
|
-
class
|
|
132
|
+
class ee extends A {
|
|
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 te extends A {
|
|
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 ne extends A {
|
|
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 ae extends A {
|
|
168
168
|
constructor({ connector: a }) {
|
|
169
169
|
super(`Connector "${a.name}" unavailable while reconnecting.`, {
|
|
170
170
|
details: [
|
|
@@ -180,141 +180,141 @@ class te extends g {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
async function
|
|
183
|
+
async function P(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 ae({ connector: o });
|
|
189
|
+
const [x, Z] = await Promise.all([
|
|
190
190
|
o.getAccounts(),
|
|
191
191
|
o.getChainId()
|
|
192
192
|
]);
|
|
193
193
|
e = {
|
|
194
|
-
accounts:
|
|
195
|
-
chainId:
|
|
194
|
+
accounts: x,
|
|
195
|
+
chainId: Z,
|
|
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
|
|
201
|
+
throw new ee();
|
|
202
|
+
const p = a.chainId ?? e.chainId, y = await e.connector.getChainId();
|
|
203
203
|
if (y !== e.chainId)
|
|
204
|
-
throw new
|
|
204
|
+
throw new ne({
|
|
205
205
|
connectionChainId: e.chainId,
|
|
206
206
|
connectorChainId: y
|
|
207
207
|
});
|
|
208
208
|
const u = e.connector;
|
|
209
209
|
if (u.getClient)
|
|
210
|
-
return u.getClient({ chainId:
|
|
211
|
-
const r =
|
|
212
|
-
if (r.address =
|
|
213
|
-
throw new
|
|
210
|
+
return u.getClient({ chainId: p });
|
|
211
|
+
const r = Y(a.account ?? e.accounts[0]);
|
|
212
|
+
if (r.address = W(r.address), a.account && !e.accounts.some((o) => o.toLowerCase() === r.address.toLowerCase()))
|
|
213
|
+
throw new te({
|
|
214
214
|
address: r.address,
|
|
215
215
|
connector: u
|
|
216
216
|
});
|
|
217
|
-
const
|
|
218
|
-
return
|
|
217
|
+
const w = n.chains.find((o) => o.id === p), N = await e.connector.getProvider({ chainId: p });
|
|
218
|
+
return K({
|
|
219
219
|
account: r,
|
|
220
|
-
chain:
|
|
220
|
+
chain: w,
|
|
221
221
|
name: "Connector Client",
|
|
222
|
-
transport: (o) =>
|
|
222
|
+
transport: (o) => Q(N)({ ...o, retryCount: 0 })
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
|
-
async function
|
|
226
|
-
const { abi: e, chainId:
|
|
225
|
+
async function E(n, a) {
|
|
226
|
+
const { abi: e, chainId: p, connector: y, ...u } = a;
|
|
227
227
|
let r;
|
|
228
|
-
a.account ? r = a.account : r = (await
|
|
229
|
-
chainId:
|
|
228
|
+
a.account ? r = a.account : r = (await P(n, {
|
|
229
|
+
chainId: p,
|
|
230
230
|
connector: y
|
|
231
231
|
})).account;
|
|
232
|
-
const
|
|
232
|
+
const w = n.getClient({ chainId: p }), N = F(w, $, "simulateContract"), { result: o, request: x } = await N({ ...u, abi: e, account: r });
|
|
233
233
|
return {
|
|
234
|
-
chainId:
|
|
234
|
+
chainId: w.chain.id,
|
|
235
235
|
result: o,
|
|
236
|
-
request: { __mode: "prepared", ...
|
|
236
|
+
request: { __mode: "prepared", ...x, chainId: p }
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function i(n) {
|
|
240
240
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
241
|
-
var
|
|
242
|
-
const y =
|
|
243
|
-
return
|
|
241
|
+
var p;
|
|
242
|
+
const y = D(a), u = C(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
|
|
243
|
+
return E(a, {
|
|
244
244
|
...e,
|
|
245
245
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
246
|
-
address: (
|
|
246
|
+
address: (p = n.address) == null ? void 0 : p[r],
|
|
247
247
|
abi: n.abi
|
|
248
248
|
});
|
|
249
|
-
} : (a, e) =>
|
|
249
|
+
} : (a, e) => E(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, ...
|
|
258
|
-
return
|
|
256
|
+
function q(n, a) {
|
|
257
|
+
const { chainId: e, ...p } = a, y = n.getClient({ chainId: e });
|
|
258
|
+
return F(y, j, "readContract")(p);
|
|
259
259
|
}
|
|
260
260
|
function t(n) {
|
|
261
261
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
262
|
-
var
|
|
263
|
-
const y =
|
|
264
|
-
return
|
|
262
|
+
var p;
|
|
263
|
+
const y = D(a), u = C(a), r = (e == null ? void 0 : e.chainId) ?? u.chainId ?? y;
|
|
264
|
+
return q(a, {
|
|
265
265
|
...e,
|
|
266
266
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
267
|
-
address: (
|
|
267
|
+
address: (p = n.address) == null ? void 0 : p[r],
|
|
268
268
|
abi: n.abi
|
|
269
269
|
});
|
|
270
|
-
} : (a, e) =>
|
|
270
|
+
} : (a, e) => q(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:
|
|
279
|
-
let
|
|
280
|
-
typeof e == "object" && e.type === "local" ?
|
|
281
|
-
const { connector:
|
|
277
|
+
async function L(n, a) {
|
|
278
|
+
const { account: e, chainId: p, connector: y, __mode: u, ...r } = a;
|
|
279
|
+
let w;
|
|
280
|
+
typeof e == "object" && e.type === "local" ? w = n.getClient({ chainId: p }) : w = await P(n, { account: e, chainId: p, connector: y });
|
|
281
|
+
const { connector: N } = C(n);
|
|
282
282
|
let o;
|
|
283
|
-
if (u === "prepared" ||
|
|
283
|
+
if (u === "prepared" || N != null && N.supportsSimulation)
|
|
284
284
|
o = r;
|
|
285
285
|
else {
|
|
286
|
-
const { request:
|
|
286
|
+
const { request: x } = await E(n, {
|
|
287
287
|
...r,
|
|
288
288
|
account: e,
|
|
289
|
-
chainId:
|
|
289
|
+
chainId: p
|
|
290
290
|
});
|
|
291
|
-
o =
|
|
291
|
+
o = x;
|
|
292
292
|
}
|
|
293
|
-
return await
|
|
293
|
+
return await F(w, G, "writeContract")({
|
|
294
294
|
...o,
|
|
295
295
|
...e ? { account: e } : {},
|
|
296
|
-
chain:
|
|
296
|
+
chain: p ? { id: p } : null
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function s(n) {
|
|
300
300
|
return n.address !== void 0 && typeof n.address == "object" ? (a, e) => {
|
|
301
|
-
var
|
|
302
|
-
const y =
|
|
301
|
+
var p;
|
|
302
|
+
const y = D(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, L(a, {
|
|
305
305
|
...e,
|
|
306
306
|
...n.functionName ? { functionName: n.functionName } : {},
|
|
307
|
-
address: r ? (
|
|
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) => L(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" },
|
|
@@ -416,7 +416,7 @@ const re = [
|
|
|
416
416
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
417
417
|
stateMutability: "view"
|
|
418
418
|
}
|
|
419
|
-
],
|
|
419
|
+
], oe = [
|
|
420
420
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
421
421
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
422
422
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
@@ -688,7 +688,7 @@ const re = [
|
|
|
688
688
|
outputs: [],
|
|
689
689
|
stateMutability: "payable"
|
|
690
690
|
}
|
|
691
|
-
],
|
|
691
|
+
], le = [
|
|
692
692
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
693
693
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
694
694
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
@@ -1111,7 +1111,7 @@ const re = [
|
|
|
1111
1111
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1112
1112
|
stateMutability: "view"
|
|
1113
1113
|
}
|
|
1114
|
-
],
|
|
1114
|
+
], de = [
|
|
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
|
+
], me = [
|
|
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
|
+
], I = [
|
|
1288
1288
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
1289
1289
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
1290
1290
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -1532,7 +1532,7 @@ const re = [
|
|
|
1532
1532
|
outputs: [],
|
|
1533
1533
|
stateMutability: "payable"
|
|
1534
1534
|
}
|
|
1535
|
-
],
|
|
1535
|
+
], m = [
|
|
1536
1536
|
{
|
|
1537
1537
|
type: "constructor",
|
|
1538
1538
|
inputs: [
|
|
@@ -2031,7 +2031,7 @@ const re = [
|
|
|
2031
2031
|
outputs: [],
|
|
2032
2032
|
stateMutability: "payable"
|
|
2033
2033
|
}
|
|
2034
|
-
],
|
|
2034
|
+
], h = [
|
|
2035
2035
|
{
|
|
2036
2036
|
type: "error",
|
|
2037
2037
|
inputs: [
|
|
@@ -2234,7 +2234,7 @@ const re = [
|
|
|
2234
2234
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
2235
2235
|
stateMutability: "view"
|
|
2236
2236
|
}
|
|
2237
|
-
],
|
|
2237
|
+
], T = [
|
|
2238
2238
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
2239
2239
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
2240
2240
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -2266,6 +2266,43 @@ const re = [
|
|
|
2266
2266
|
{ type: "error", inputs: [], name: "NotClaimable" },
|
|
2267
2267
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
2268
2268
|
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
2269
|
+
{
|
|
2270
|
+
type: "event",
|
|
2271
|
+
anonymous: !1,
|
|
2272
|
+
inputs: [
|
|
2273
|
+
{
|
|
2274
|
+
name: "asset",
|
|
2275
|
+
internalType: "address",
|
|
2276
|
+
type: "address",
|
|
2277
|
+
indexed: !0
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
name: "initialReward",
|
|
2281
|
+
internalType: "uint256",
|
|
2282
|
+
type: "uint256",
|
|
2283
|
+
indexed: !1
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
name: "rewardDecay",
|
|
2287
|
+
internalType: "uint256",
|
|
2288
|
+
type: "uint256",
|
|
2289
|
+
indexed: !1
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
name: "rewardBoost",
|
|
2293
|
+
internalType: "uint256",
|
|
2294
|
+
type: "uint256",
|
|
2295
|
+
indexed: !1
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
name: "totalBudget",
|
|
2299
|
+
internalType: "uint256",
|
|
2300
|
+
type: "uint256",
|
|
2301
|
+
indexed: !1
|
|
2302
|
+
}
|
|
2303
|
+
],
|
|
2304
|
+
name: "CGDAIncentiveInitialized"
|
|
2305
|
+
},
|
|
2269
2306
|
{
|
|
2270
2307
|
type: "event",
|
|
2271
2308
|
anonymous: !1,
|
|
@@ -2669,6 +2706,43 @@ const re = [
|
|
|
2669
2706
|
],
|
|
2670
2707
|
name: "Claimed"
|
|
2671
2708
|
},
|
|
2709
|
+
{
|
|
2710
|
+
type: "event",
|
|
2711
|
+
anonymous: !1,
|
|
2712
|
+
inputs: [
|
|
2713
|
+
{
|
|
2714
|
+
name: "asset",
|
|
2715
|
+
internalType: "address",
|
|
2716
|
+
type: "address",
|
|
2717
|
+
indexed: !0
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
name: "strategy",
|
|
2721
|
+
internalType: "enum AERC20Incentive.Strategy",
|
|
2722
|
+
type: "uint8",
|
|
2723
|
+
indexed: !1
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
name: "reward",
|
|
2727
|
+
internalType: "uint256",
|
|
2728
|
+
type: "uint256",
|
|
2729
|
+
indexed: !1
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
name: "limit",
|
|
2733
|
+
internalType: "uint256",
|
|
2734
|
+
type: "uint256",
|
|
2735
|
+
indexed: !1
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
name: "manager",
|
|
2739
|
+
internalType: "address",
|
|
2740
|
+
type: "address",
|
|
2741
|
+
indexed: !1
|
|
2742
|
+
}
|
|
2743
|
+
],
|
|
2744
|
+
name: "ERC20IncentiveInitialized"
|
|
2745
|
+
},
|
|
2672
2746
|
{
|
|
2673
2747
|
type: "event",
|
|
2674
2748
|
anonymous: !1,
|
|
@@ -3039,7 +3113,8 @@ const re = [
|
|
|
3039
3113
|
outputs: [],
|
|
3040
3114
|
stateMutability: "payable"
|
|
3041
3115
|
}
|
|
3042
|
-
],
|
|
3116
|
+
], d = [
|
|
3117
|
+
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
3043
3118
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
3044
3119
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
3045
3120
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -3076,6 +3151,38 @@ const re = [
|
|
|
3076
3151
|
],
|
|
3077
3152
|
name: "Claimed"
|
|
3078
3153
|
},
|
|
3154
|
+
{
|
|
3155
|
+
type: "event",
|
|
3156
|
+
anonymous: !1,
|
|
3157
|
+
inputs: [
|
|
3158
|
+
{
|
|
3159
|
+
name: "asset",
|
|
3160
|
+
internalType: "address",
|
|
3161
|
+
type: "address",
|
|
3162
|
+
indexed: !0
|
|
3163
|
+
},
|
|
3164
|
+
{ name: "peg", internalType: "address", type: "address", indexed: !0 },
|
|
3165
|
+
{
|
|
3166
|
+
name: "reward",
|
|
3167
|
+
internalType: "uint256",
|
|
3168
|
+
type: "uint256",
|
|
3169
|
+
indexed: !1
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
name: "limit",
|
|
3173
|
+
internalType: "uint256",
|
|
3174
|
+
type: "uint256",
|
|
3175
|
+
indexed: !1
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
name: "manager",
|
|
3179
|
+
internalType: "address",
|
|
3180
|
+
type: "address",
|
|
3181
|
+
indexed: !1
|
|
3182
|
+
}
|
|
3183
|
+
],
|
|
3184
|
+
name: "ERC20PeggedIncentiveInitialized"
|
|
3185
|
+
},
|
|
3079
3186
|
{
|
|
3080
3187
|
type: "event",
|
|
3081
3188
|
anonymous: !1,
|
|
@@ -3236,31 +3343,8 @@ const re = [
|
|
|
3236
3343
|
{
|
|
3237
3344
|
type: "function",
|
|
3238
3345
|
inputs: [],
|
|
3239
|
-
name: "
|
|
3240
|
-
outputs: [
|
|
3241
|
-
{
|
|
3242
|
-
name: "",
|
|
3243
|
-
internalType: "struct AERC20VariableCriteriaIncentive.IncentiveCriteria",
|
|
3244
|
-
type: "tuple",
|
|
3245
|
-
components: [
|
|
3246
|
-
{
|
|
3247
|
-
name: "criteriaType",
|
|
3248
|
-
internalType: "enum SignatureType",
|
|
3249
|
-
type: "uint8"
|
|
3250
|
-
},
|
|
3251
|
-
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
3252
|
-
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
3253
|
-
{ name: "targetContract", internalType: "address", type: "address" }
|
|
3254
|
-
]
|
|
3255
|
-
}
|
|
3256
|
-
],
|
|
3257
|
-
stateMutability: "view"
|
|
3258
|
-
},
|
|
3259
|
-
{
|
|
3260
|
-
type: "function",
|
|
3261
|
-
inputs: [],
|
|
3262
|
-
name: "getMaxReward",
|
|
3263
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3346
|
+
name: "getPeg",
|
|
3347
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3264
3348
|
stateMutability: "view"
|
|
3265
3349
|
},
|
|
3266
3350
|
{
|
|
@@ -3303,22 +3387,6 @@ const re = [
|
|
|
3303
3387
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3304
3388
|
stateMutability: "view"
|
|
3305
3389
|
},
|
|
3306
|
-
{
|
|
3307
|
-
type: "function",
|
|
3308
|
-
inputs: [],
|
|
3309
|
-
name: "incentiveCriteria",
|
|
3310
|
-
outputs: [
|
|
3311
|
-
{
|
|
3312
|
-
name: "criteriaType",
|
|
3313
|
-
internalType: "enum SignatureType",
|
|
3314
|
-
type: "uint8"
|
|
3315
|
-
},
|
|
3316
|
-
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
3317
|
-
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
3318
|
-
{ name: "targetContract", internalType: "address", type: "address" }
|
|
3319
|
-
],
|
|
3320
|
-
stateMutability: "view"
|
|
3321
|
-
},
|
|
3322
3390
|
{
|
|
3323
3391
|
type: "function",
|
|
3324
3392
|
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
@@ -3337,7 +3405,7 @@ const re = [
|
|
|
3337
3405
|
type: "function",
|
|
3338
3406
|
inputs: [
|
|
3339
3407
|
{ name: "claimTarget", internalType: "address", type: "address" },
|
|
3340
|
-
{ name: "", internalType: "bytes", type: "bytes" }
|
|
3408
|
+
{ name: "data_", internalType: "bytes", type: "bytes" }
|
|
3341
3409
|
],
|
|
3342
3410
|
name: "isClaimable",
|
|
3343
3411
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
@@ -3350,13 +3418,6 @@ const re = [
|
|
|
3350
3418
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3351
3419
|
stateMutability: "view"
|
|
3352
3420
|
},
|
|
3353
|
-
{
|
|
3354
|
-
type: "function",
|
|
3355
|
-
inputs: [],
|
|
3356
|
-
name: "maxReward",
|
|
3357
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3358
|
-
stateMutability: "view"
|
|
3359
|
-
},
|
|
3360
3421
|
{
|
|
3361
3422
|
type: "function",
|
|
3362
3423
|
inputs: [],
|
|
@@ -3373,6 +3434,13 @@ const re = [
|
|
|
3373
3434
|
outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
|
|
3374
3435
|
stateMutability: "view"
|
|
3375
3436
|
},
|
|
3437
|
+
{
|
|
3438
|
+
type: "function",
|
|
3439
|
+
inputs: [],
|
|
3440
|
+
name: "peg",
|
|
3441
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3442
|
+
stateMutability: "view"
|
|
3443
|
+
},
|
|
3376
3444
|
{
|
|
3377
3445
|
type: "function",
|
|
3378
3446
|
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
@@ -3452,6 +3520,13 @@ const re = [
|
|
|
3452
3520
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3453
3521
|
stateMutability: "view"
|
|
3454
3522
|
},
|
|
3523
|
+
{
|
|
3524
|
+
type: "function",
|
|
3525
|
+
inputs: [],
|
|
3526
|
+
name: "totalClaim",
|
|
3527
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3528
|
+
stateMutability: "view"
|
|
3529
|
+
},
|
|
3455
3530
|
{
|
|
3456
3531
|
type: "function",
|
|
3457
3532
|
inputs: [],
|
|
@@ -3466,8 +3541,7 @@ const re = [
|
|
|
3466
3541
|
outputs: [],
|
|
3467
3542
|
stateMutability: "payable"
|
|
3468
3543
|
}
|
|
3469
|
-
],
|
|
3470
|
-
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
3544
|
+
], V = [
|
|
3471
3545
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
3472
3546
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
3473
3547
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -3504,6 +3578,78 @@ const re = [
|
|
|
3504
3578
|
],
|
|
3505
3579
|
name: "Claimed"
|
|
3506
3580
|
},
|
|
3581
|
+
{
|
|
3582
|
+
type: "event",
|
|
3583
|
+
anonymous: !1,
|
|
3584
|
+
inputs: [
|
|
3585
|
+
{
|
|
3586
|
+
name: "asset",
|
|
3587
|
+
internalType: "address",
|
|
3588
|
+
type: "address",
|
|
3589
|
+
indexed: !0
|
|
3590
|
+
},
|
|
3591
|
+
{
|
|
3592
|
+
name: "reward",
|
|
3593
|
+
internalType: "uint256",
|
|
3594
|
+
type: "uint256",
|
|
3595
|
+
indexed: !1
|
|
3596
|
+
},
|
|
3597
|
+
{
|
|
3598
|
+
name: "limit",
|
|
3599
|
+
internalType: "uint256",
|
|
3600
|
+
type: "uint256",
|
|
3601
|
+
indexed: !1
|
|
3602
|
+
},
|
|
3603
|
+
{
|
|
3604
|
+
name: "maxReward",
|
|
3605
|
+
internalType: "uint256",
|
|
3606
|
+
type: "uint256",
|
|
3607
|
+
indexed: !1
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
name: "criteria",
|
|
3611
|
+
internalType: "struct AERC20VariableCriteriaIncentive.IncentiveCriteria",
|
|
3612
|
+
type: "tuple",
|
|
3613
|
+
components: [
|
|
3614
|
+
{
|
|
3615
|
+
name: "criteriaType",
|
|
3616
|
+
internalType: "enum SignatureType",
|
|
3617
|
+
type: "uint8"
|
|
3618
|
+
},
|
|
3619
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
3620
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
3621
|
+
{ name: "targetContract", internalType: "address", type: "address" }
|
|
3622
|
+
],
|
|
3623
|
+
indexed: !1
|
|
3624
|
+
}
|
|
3625
|
+
],
|
|
3626
|
+
name: "ERC20VariableCriteriaIncentiveInitialized"
|
|
3627
|
+
},
|
|
3628
|
+
{
|
|
3629
|
+
type: "event",
|
|
3630
|
+
anonymous: !1,
|
|
3631
|
+
inputs: [
|
|
3632
|
+
{
|
|
3633
|
+
name: "asset",
|
|
3634
|
+
internalType: "address",
|
|
3635
|
+
type: "address",
|
|
3636
|
+
indexed: !0
|
|
3637
|
+
},
|
|
3638
|
+
{
|
|
3639
|
+
name: "reward",
|
|
3640
|
+
internalType: "uint256",
|
|
3641
|
+
type: "uint256",
|
|
3642
|
+
indexed: !1
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
name: "limit",
|
|
3646
|
+
internalType: "uint256",
|
|
3647
|
+
type: "uint256",
|
|
3648
|
+
indexed: !1
|
|
3649
|
+
}
|
|
3650
|
+
],
|
|
3651
|
+
name: "ERC20VariableIncentiveInitialized"
|
|
3652
|
+
},
|
|
3507
3653
|
{
|
|
3508
3654
|
type: "event",
|
|
3509
3655
|
anonymous: !1,
|
|
@@ -3663,26 +3809,56 @@ const re = [
|
|
|
3663
3809
|
},
|
|
3664
3810
|
{
|
|
3665
3811
|
type: "function",
|
|
3666
|
-
inputs: [
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3812
|
+
inputs: [],
|
|
3813
|
+
name: "getIncentiveCriteria",
|
|
3814
|
+
outputs: [
|
|
3815
|
+
{
|
|
3816
|
+
name: "",
|
|
3817
|
+
internalType: "struct AERC20VariableCriteriaIncentive.IncentiveCriteria",
|
|
3818
|
+
type: "tuple",
|
|
3819
|
+
components: [
|
|
3820
|
+
{
|
|
3821
|
+
name: "criteriaType",
|
|
3822
|
+
internalType: "enum SignatureType",
|
|
3823
|
+
type: "uint8"
|
|
3824
|
+
},
|
|
3825
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
3826
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
3827
|
+
{ name: "targetContract", internalType: "address", type: "address" }
|
|
3828
|
+
]
|
|
3829
|
+
}
|
|
3830
|
+
],
|
|
3831
|
+
stateMutability: "view"
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
type: "function",
|
|
3835
|
+
inputs: [],
|
|
3836
|
+
name: "getMaxReward",
|
|
3837
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3838
|
+
stateMutability: "view"
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
type: "function",
|
|
3842
|
+
inputs: [
|
|
3843
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
3844
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
3845
|
+
],
|
|
3846
|
+
name: "grantManyRoles",
|
|
3847
|
+
outputs: [],
|
|
3848
|
+
stateMutability: "nonpayable"
|
|
3849
|
+
},
|
|
3850
|
+
{
|
|
3851
|
+
type: "function",
|
|
3852
|
+
inputs: [
|
|
3853
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
3854
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
3855
|
+
],
|
|
3856
|
+
name: "grantRoles",
|
|
3857
|
+
outputs: [],
|
|
3858
|
+
stateMutability: "payable"
|
|
3859
|
+
},
|
|
3860
|
+
{
|
|
3861
|
+
type: "function",
|
|
3686
3862
|
inputs: [
|
|
3687
3863
|
{ name: "user", internalType: "address", type: "address" },
|
|
3688
3864
|
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
@@ -3701,6 +3877,22 @@ const re = [
|
|
|
3701
3877
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3702
3878
|
stateMutability: "view"
|
|
3703
3879
|
},
|
|
3880
|
+
{
|
|
3881
|
+
type: "function",
|
|
3882
|
+
inputs: [],
|
|
3883
|
+
name: "incentiveCriteria",
|
|
3884
|
+
outputs: [
|
|
3885
|
+
{
|
|
3886
|
+
name: "criteriaType",
|
|
3887
|
+
internalType: "enum SignatureType",
|
|
3888
|
+
type: "uint8"
|
|
3889
|
+
},
|
|
3890
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
3891
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
3892
|
+
{ name: "targetContract", internalType: "address", type: "address" }
|
|
3893
|
+
],
|
|
3894
|
+
stateMutability: "view"
|
|
3895
|
+
},
|
|
3704
3896
|
{
|
|
3705
3897
|
type: "function",
|
|
3706
3898
|
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
@@ -3732,6 +3924,13 @@ const re = [
|
|
|
3732
3924
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3733
3925
|
stateMutability: "view"
|
|
3734
3926
|
},
|
|
3927
|
+
{
|
|
3928
|
+
type: "function",
|
|
3929
|
+
inputs: [],
|
|
3930
|
+
name: "maxReward",
|
|
3931
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3932
|
+
stateMutability: "view"
|
|
3933
|
+
},
|
|
3735
3934
|
{
|
|
3736
3935
|
type: "function",
|
|
3737
3936
|
inputs: [],
|
|
@@ -3841,49 +4040,68 @@ const re = [
|
|
|
3841
4040
|
outputs: [],
|
|
3842
4041
|
stateMutability: "payable"
|
|
3843
4042
|
}
|
|
3844
|
-
],
|
|
4043
|
+
], f = [
|
|
3845
4044
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
4045
|
+
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
4046
|
+
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
3846
4047
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
3847
4048
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
4049
|
+
{
|
|
4050
|
+
type: "error",
|
|
4051
|
+
inputs: [
|
|
4052
|
+
{ name: "asset", internalType: "address", type: "address" },
|
|
4053
|
+
{ name: "available", internalType: "uint256", type: "uint256" },
|
|
4054
|
+
{ name: "required", internalType: "uint256", type: "uint256" }
|
|
4055
|
+
],
|
|
4056
|
+
name: "InsufficientFunds"
|
|
4057
|
+
},
|
|
4058
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
3848
4059
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
3849
4060
|
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
3850
|
-
{ type: "error", inputs: [], name: "
|
|
4061
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
4062
|
+
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
4063
|
+
{ type: "error", inputs: [], name: "NoHandoverRequest" },
|
|
4064
|
+
{ type: "error", inputs: [], name: "NotClaimable" },
|
|
3851
4065
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
4066
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
3852
4067
|
{
|
|
3853
4068
|
type: "event",
|
|
3854
4069
|
anonymous: !1,
|
|
3855
4070
|
inputs: [
|
|
3856
4071
|
{
|
|
3857
|
-
name: "
|
|
4072
|
+
name: "recipient",
|
|
3858
4073
|
internalType: "address",
|
|
3859
4074
|
type: "address",
|
|
3860
4075
|
indexed: !0
|
|
3861
4076
|
},
|
|
3862
|
-
{
|
|
3863
|
-
name: "caller",
|
|
3864
|
-
internalType: "address",
|
|
3865
|
-
type: "address",
|
|
3866
|
-
indexed: !1
|
|
3867
|
-
},
|
|
3868
|
-
{ name: "success", internalType: "bool", type: "bool", indexed: !1 },
|
|
3869
4077
|
{ name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
|
|
3870
4078
|
],
|
|
3871
|
-
name: "
|
|
4079
|
+
name: "Claimed"
|
|
3872
4080
|
},
|
|
3873
4081
|
{
|
|
3874
4082
|
type: "event",
|
|
3875
4083
|
anonymous: !1,
|
|
3876
4084
|
inputs: [
|
|
3877
|
-
{ name: "user", internalType: "address", type: "address", indexed: !0 },
|
|
3878
4085
|
{
|
|
3879
|
-
name: "
|
|
3880
|
-
internalType: "
|
|
3881
|
-
type: "
|
|
4086
|
+
name: "asset",
|
|
4087
|
+
internalType: "address",
|
|
4088
|
+
type: "address",
|
|
4089
|
+
indexed: !0
|
|
4090
|
+
},
|
|
4091
|
+
{
|
|
4092
|
+
name: "reward",
|
|
4093
|
+
internalType: "uint256",
|
|
4094
|
+
type: "uint256",
|
|
3882
4095
|
indexed: !1
|
|
3883
4096
|
},
|
|
3884
|
-
{
|
|
4097
|
+
{
|
|
4098
|
+
name: "limit",
|
|
4099
|
+
internalType: "uint256",
|
|
4100
|
+
type: "uint256",
|
|
4101
|
+
indexed: !1
|
|
4102
|
+
}
|
|
3885
4103
|
],
|
|
3886
|
-
name: "
|
|
4104
|
+
name: "ERC20VariableIncentiveInitialized"
|
|
3887
4105
|
},
|
|
3888
4106
|
{
|
|
3889
4107
|
type: "event",
|
|
@@ -3899,111 +4117,660 @@ const re = [
|
|
|
3899
4117
|
name: "Initialized"
|
|
3900
4118
|
},
|
|
3901
4119
|
{
|
|
3902
|
-
type: "
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
4120
|
+
type: "event",
|
|
4121
|
+
anonymous: !1,
|
|
4122
|
+
inputs: [
|
|
4123
|
+
{
|
|
4124
|
+
name: "pendingOwner",
|
|
4125
|
+
internalType: "address",
|
|
4126
|
+
type: "address",
|
|
4127
|
+
indexed: !0
|
|
4128
|
+
}
|
|
3907
4129
|
],
|
|
3908
|
-
|
|
4130
|
+
name: "OwnershipHandoverCanceled"
|
|
3909
4131
|
},
|
|
3910
4132
|
{
|
|
3911
|
-
type: "
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
4133
|
+
type: "event",
|
|
4134
|
+
anonymous: !1,
|
|
4135
|
+
inputs: [
|
|
4136
|
+
{
|
|
4137
|
+
name: "pendingOwner",
|
|
4138
|
+
internalType: "address",
|
|
4139
|
+
type: "address",
|
|
4140
|
+
indexed: !0
|
|
4141
|
+
}
|
|
3917
4142
|
],
|
|
3918
|
-
|
|
4143
|
+
name: "OwnershipHandoverRequested"
|
|
3919
4144
|
},
|
|
3920
4145
|
{
|
|
3921
|
-
type: "
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
outputs: [
|
|
4146
|
+
type: "event",
|
|
4147
|
+
anonymous: !1,
|
|
4148
|
+
inputs: [
|
|
3925
4149
|
{
|
|
3926
|
-
name: "",
|
|
3927
|
-
internalType: "
|
|
3928
|
-
type: "
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
3937
|
-
{ name: "targetContract", internalType: "address", type: "address" },
|
|
3938
|
-
{ name: "chainid", internalType: "uint256", type: "uint256" }
|
|
3939
|
-
]
|
|
4150
|
+
name: "oldOwner",
|
|
4151
|
+
internalType: "address",
|
|
4152
|
+
type: "address",
|
|
4153
|
+
indexed: !0
|
|
4154
|
+
},
|
|
4155
|
+
{
|
|
4156
|
+
name: "newOwner",
|
|
4157
|
+
internalType: "address",
|
|
4158
|
+
type: "address",
|
|
4159
|
+
indexed: !0
|
|
3940
4160
|
}
|
|
3941
4161
|
],
|
|
3942
|
-
|
|
4162
|
+
name: "OwnershipTransferred"
|
|
3943
4163
|
},
|
|
3944
4164
|
{
|
|
3945
|
-
type: "
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
4165
|
+
type: "event",
|
|
4166
|
+
anonymous: !1,
|
|
4167
|
+
inputs: [
|
|
4168
|
+
{ name: "user", internalType: "address", type: "address", indexed: !0 },
|
|
3949
4169
|
{
|
|
3950
|
-
name: "",
|
|
3951
|
-
internalType: "
|
|
3952
|
-
type: "
|
|
3953
|
-
|
|
3954
|
-
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
3955
|
-
{
|
|
3956
|
-
name: "signatureType",
|
|
3957
|
-
internalType: "enum AEventAction.SignatureType",
|
|
3958
|
-
type: "uint8"
|
|
3959
|
-
},
|
|
3960
|
-
{ name: "actionType", internalType: "uint8", type: "uint8" },
|
|
3961
|
-
{ name: "targetContract", internalType: "address", type: "address" },
|
|
3962
|
-
{ name: "chainid", internalType: "uint256", type: "uint256" },
|
|
3963
|
-
{
|
|
3964
|
-
name: "actionParameter",
|
|
3965
|
-
internalType: "struct AEventAction.Criteria",
|
|
3966
|
-
type: "tuple",
|
|
3967
|
-
components: [
|
|
3968
|
-
{
|
|
3969
|
-
name: "filterType",
|
|
3970
|
-
internalType: "enum AEventAction.FilterType",
|
|
3971
|
-
type: "uint8"
|
|
3972
|
-
},
|
|
3973
|
-
{
|
|
3974
|
-
name: "fieldType",
|
|
3975
|
-
internalType: "enum AEventAction.PrimitiveType",
|
|
3976
|
-
type: "uint8"
|
|
3977
|
-
},
|
|
3978
|
-
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
3979
|
-
{ name: "filterData", internalType: "bytes", type: "bytes" }
|
|
3980
|
-
]
|
|
3981
|
-
}
|
|
3982
|
-
]
|
|
4170
|
+
name: "roles",
|
|
4171
|
+
internalType: "uint256",
|
|
4172
|
+
type: "uint256",
|
|
4173
|
+
indexed: !0
|
|
3983
4174
|
}
|
|
3984
4175
|
],
|
|
4176
|
+
name: "RolesUpdated"
|
|
4177
|
+
},
|
|
4178
|
+
{
|
|
4179
|
+
type: "function",
|
|
4180
|
+
inputs: [],
|
|
4181
|
+
name: "ADMIN_ROLE",
|
|
4182
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3985
4183
|
stateMutability: "view"
|
|
3986
4184
|
},
|
|
3987
4185
|
{
|
|
3988
4186
|
type: "function",
|
|
3989
4187
|
inputs: [],
|
|
3990
|
-
name: "
|
|
3991
|
-
outputs: [
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4188
|
+
name: "MANAGER_ROLE",
|
|
4189
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4190
|
+
stateMutability: "view"
|
|
4191
|
+
},
|
|
4192
|
+
{
|
|
4193
|
+
type: "function",
|
|
4194
|
+
inputs: [],
|
|
4195
|
+
name: "asset",
|
|
4196
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4197
|
+
stateMutability: "view"
|
|
4198
|
+
},
|
|
4199
|
+
{
|
|
4200
|
+
type: "function",
|
|
4201
|
+
inputs: [],
|
|
4202
|
+
name: "cancelOwnershipHandover",
|
|
4203
|
+
outputs: [],
|
|
4204
|
+
stateMutability: "payable"
|
|
4205
|
+
},
|
|
4206
|
+
{
|
|
4207
|
+
type: "function",
|
|
4208
|
+
inputs: [
|
|
4209
|
+
{ name: "claimTarget", internalType: "address", type: "address" },
|
|
4210
|
+
{ name: "data_", internalType: "bytes", type: "bytes" }
|
|
4211
|
+
],
|
|
4212
|
+
name: "claim",
|
|
4213
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4214
|
+
stateMutability: "nonpayable"
|
|
4215
|
+
},
|
|
4216
|
+
{
|
|
4217
|
+
type: "function",
|
|
4218
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4219
|
+
name: "claimed",
|
|
4220
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4221
|
+
stateMutability: "view"
|
|
4222
|
+
},
|
|
4223
|
+
{
|
|
4224
|
+
type: "function",
|
|
4225
|
+
inputs: [],
|
|
4226
|
+
name: "claims",
|
|
4227
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4228
|
+
stateMutability: "view"
|
|
4229
|
+
},
|
|
4230
|
+
{
|
|
4231
|
+
type: "function",
|
|
4232
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
4233
|
+
name: "clawback",
|
|
4234
|
+
outputs: [
|
|
4235
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
4236
|
+
{ name: "", internalType: "address", type: "address" }
|
|
4237
|
+
],
|
|
4238
|
+
stateMutability: "nonpayable"
|
|
4239
|
+
},
|
|
4240
|
+
{
|
|
4241
|
+
type: "function",
|
|
4242
|
+
inputs: [
|
|
4243
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
4244
|
+
],
|
|
4245
|
+
name: "completeOwnershipHandover",
|
|
4246
|
+
outputs: [],
|
|
4247
|
+
stateMutability: "payable"
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
type: "function",
|
|
4251
|
+
inputs: [],
|
|
4252
|
+
name: "currentReward",
|
|
4253
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4254
|
+
stateMutability: "view"
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
type: "function",
|
|
4258
|
+
inputs: [],
|
|
4259
|
+
name: "getComponentInterface",
|
|
4260
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
4261
|
+
stateMutability: "pure"
|
|
4262
|
+
},
|
|
4263
|
+
{
|
|
4264
|
+
type: "function",
|
|
4265
|
+
inputs: [
|
|
4266
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4267
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
4268
|
+
],
|
|
4269
|
+
name: "grantManyRoles",
|
|
4270
|
+
outputs: [],
|
|
4271
|
+
stateMutability: "nonpayable"
|
|
4272
|
+
},
|
|
4273
|
+
{
|
|
4274
|
+
type: "function",
|
|
4275
|
+
inputs: [
|
|
4276
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4277
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
4278
|
+
],
|
|
4279
|
+
name: "grantRoles",
|
|
4280
|
+
outputs: [],
|
|
4281
|
+
stateMutability: "payable"
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
type: "function",
|
|
4285
|
+
inputs: [
|
|
4286
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4287
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
4288
|
+
],
|
|
4289
|
+
name: "hasAllRoles",
|
|
4290
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4291
|
+
stateMutability: "view"
|
|
4292
|
+
},
|
|
4293
|
+
{
|
|
4294
|
+
type: "function",
|
|
4295
|
+
inputs: [
|
|
4296
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4297
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
4298
|
+
],
|
|
4299
|
+
name: "hasAnyRole",
|
|
4300
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4301
|
+
stateMutability: "view"
|
|
4302
|
+
},
|
|
4303
|
+
{
|
|
4304
|
+
type: "function",
|
|
4305
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
4306
|
+
name: "initialize",
|
|
4307
|
+
outputs: [],
|
|
4308
|
+
stateMutability: "nonpayable"
|
|
4309
|
+
},
|
|
4310
|
+
{
|
|
4311
|
+
type: "function",
|
|
4312
|
+
inputs: [{ name: "account_", internalType: "address", type: "address" }],
|
|
4313
|
+
name: "isAuthorized",
|
|
4314
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4315
|
+
stateMutability: "view"
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
type: "function",
|
|
4319
|
+
inputs: [
|
|
4320
|
+
{ name: "claimTarget", internalType: "address", type: "address" },
|
|
4321
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
4322
|
+
],
|
|
4323
|
+
name: "isClaimable",
|
|
4324
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4325
|
+
stateMutability: "view"
|
|
4326
|
+
},
|
|
4327
|
+
{
|
|
4328
|
+
type: "function",
|
|
4329
|
+
inputs: [],
|
|
4330
|
+
name: "limit",
|
|
4331
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4332
|
+
stateMutability: "view"
|
|
4333
|
+
},
|
|
4334
|
+
{
|
|
4335
|
+
type: "function",
|
|
4336
|
+
inputs: [],
|
|
4337
|
+
name: "owner",
|
|
4338
|
+
outputs: [{ name: "result", internalType: "address", type: "address" }],
|
|
4339
|
+
stateMutability: "view"
|
|
4340
|
+
},
|
|
4341
|
+
{
|
|
4342
|
+
type: "function",
|
|
4343
|
+
inputs: [
|
|
4344
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
4345
|
+
],
|
|
4346
|
+
name: "ownershipHandoverExpiresAt",
|
|
4347
|
+
outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
|
|
4348
|
+
stateMutability: "view"
|
|
4349
|
+
},
|
|
4350
|
+
{
|
|
4351
|
+
type: "function",
|
|
4352
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
4353
|
+
name: "preflight",
|
|
4354
|
+
outputs: [{ name: "budgetData", internalType: "bytes", type: "bytes" }],
|
|
4355
|
+
stateMutability: "view"
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
type: "function",
|
|
4359
|
+
inputs: [],
|
|
4360
|
+
name: "renounceOwnership",
|
|
4361
|
+
outputs: [],
|
|
4362
|
+
stateMutability: "payable"
|
|
4363
|
+
},
|
|
4364
|
+
{
|
|
4365
|
+
type: "function",
|
|
4366
|
+
inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
4367
|
+
name: "renounceRoles",
|
|
4368
|
+
outputs: [],
|
|
4369
|
+
stateMutability: "payable"
|
|
4370
|
+
},
|
|
4371
|
+
{
|
|
4372
|
+
type: "function",
|
|
4373
|
+
inputs: [],
|
|
4374
|
+
name: "requestOwnershipHandover",
|
|
4375
|
+
outputs: [],
|
|
4376
|
+
stateMutability: "payable"
|
|
4377
|
+
},
|
|
4378
|
+
{
|
|
4379
|
+
type: "function",
|
|
4380
|
+
inputs: [
|
|
4381
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4382
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
4383
|
+
],
|
|
4384
|
+
name: "revokeManyRoles",
|
|
4385
|
+
outputs: [],
|
|
4386
|
+
stateMutability: "nonpayable"
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
type: "function",
|
|
4390
|
+
inputs: [
|
|
4391
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4392
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
4393
|
+
],
|
|
4394
|
+
name: "revokeRoles",
|
|
4395
|
+
outputs: [],
|
|
4396
|
+
stateMutability: "payable"
|
|
4397
|
+
},
|
|
4398
|
+
{
|
|
4399
|
+
type: "function",
|
|
4400
|
+
inputs: [],
|
|
4401
|
+
name: "reward",
|
|
4402
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4403
|
+
stateMutability: "view"
|
|
4404
|
+
},
|
|
4405
|
+
{
|
|
4406
|
+
type: "function",
|
|
4407
|
+
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
4408
|
+
name: "rolesOf",
|
|
4409
|
+
outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
4410
|
+
stateMutability: "view"
|
|
4411
|
+
},
|
|
4412
|
+
{
|
|
4413
|
+
type: "function",
|
|
4414
|
+
inputs: [
|
|
4415
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4416
|
+
{ name: "authorized_", internalType: "bool[]", type: "bool[]" }
|
|
4417
|
+
],
|
|
4418
|
+
name: "setAuthorized",
|
|
4419
|
+
outputs: [],
|
|
4420
|
+
stateMutability: "nonpayable"
|
|
4421
|
+
},
|
|
4422
|
+
{
|
|
4423
|
+
type: "function",
|
|
4424
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
4425
|
+
name: "supportsInterface",
|
|
4426
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4427
|
+
stateMutability: "view"
|
|
4428
|
+
},
|
|
4429
|
+
{
|
|
4430
|
+
type: "function",
|
|
4431
|
+
inputs: [],
|
|
4432
|
+
name: "totalClaimed",
|
|
4433
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4434
|
+
stateMutability: "view"
|
|
4435
|
+
},
|
|
4436
|
+
{
|
|
4437
|
+
type: "function",
|
|
4438
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
4439
|
+
name: "transferOwnership",
|
|
4440
|
+
outputs: [],
|
|
4441
|
+
stateMutability: "payable"
|
|
4442
|
+
}
|
|
4443
|
+
], _ = [
|
|
4444
|
+
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
4445
|
+
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
4446
|
+
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
4447
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
4448
|
+
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
4449
|
+
{ type: "error", inputs: [], name: "NotImplemented" },
|
|
4450
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
4451
|
+
{
|
|
4452
|
+
type: "event",
|
|
4453
|
+
anonymous: !1,
|
|
4454
|
+
inputs: [
|
|
4455
|
+
{
|
|
4456
|
+
name: "executor",
|
|
4457
|
+
internalType: "address",
|
|
4458
|
+
type: "address",
|
|
4459
|
+
indexed: !0
|
|
4460
|
+
},
|
|
4461
|
+
{
|
|
4462
|
+
name: "caller",
|
|
4463
|
+
internalType: "address",
|
|
4464
|
+
type: "address",
|
|
4465
|
+
indexed: !1
|
|
4466
|
+
},
|
|
4467
|
+
{ name: "success", internalType: "bool", type: "bool", indexed: !1 },
|
|
4468
|
+
{ name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
|
|
4469
|
+
],
|
|
4470
|
+
name: "ActionExecuted"
|
|
4471
|
+
},
|
|
4472
|
+
{
|
|
4473
|
+
type: "event",
|
|
4474
|
+
anonymous: !1,
|
|
4475
|
+
inputs: [
|
|
4476
|
+
{ name: "user", internalType: "address", type: "address", indexed: !0 },
|
|
4477
|
+
{
|
|
4478
|
+
name: "isValidated",
|
|
4479
|
+
internalType: "bool",
|
|
4480
|
+
type: "bool",
|
|
4481
|
+
indexed: !1
|
|
4482
|
+
},
|
|
4483
|
+
{ name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
|
|
4484
|
+
],
|
|
4485
|
+
name: "ActionValidated"
|
|
4486
|
+
},
|
|
4487
|
+
{
|
|
4488
|
+
type: "event",
|
|
4489
|
+
anonymous: !1,
|
|
4490
|
+
inputs: [
|
|
4491
|
+
{
|
|
4492
|
+
name: "actionClaimant",
|
|
4493
|
+
internalType: "struct AEventAction.ActionClaimant",
|
|
4494
|
+
type: "tuple",
|
|
4495
|
+
components: [
|
|
4496
|
+
{
|
|
4497
|
+
name: "signatureType",
|
|
4498
|
+
internalType: "enum AEventAction.SignatureType",
|
|
4499
|
+
type: "uint8"
|
|
4500
|
+
},
|
|
4501
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
4502
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
4503
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
4504
|
+
{ name: "chainid", internalType: "uint256", type: "uint256" }
|
|
4505
|
+
],
|
|
4506
|
+
indexed: !1
|
|
4507
|
+
},
|
|
4508
|
+
{
|
|
4509
|
+
name: "actionStepOne",
|
|
4510
|
+
internalType: "struct AEventAction.ActionStep",
|
|
4511
|
+
type: "tuple",
|
|
4512
|
+
components: [
|
|
4513
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
4514
|
+
{
|
|
4515
|
+
name: "signatureType",
|
|
4516
|
+
internalType: "enum AEventAction.SignatureType",
|
|
4517
|
+
type: "uint8"
|
|
4518
|
+
},
|
|
4519
|
+
{ name: "actionType", internalType: "uint8", type: "uint8" },
|
|
4520
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
4521
|
+
{ name: "chainid", internalType: "uint256", type: "uint256" },
|
|
4522
|
+
{
|
|
4523
|
+
name: "actionParameter",
|
|
4524
|
+
internalType: "struct AEventAction.Criteria",
|
|
4525
|
+
type: "tuple",
|
|
4526
|
+
components: [
|
|
4527
|
+
{
|
|
4528
|
+
name: "filterType",
|
|
4529
|
+
internalType: "enum AEventAction.FilterType",
|
|
4530
|
+
type: "uint8"
|
|
4531
|
+
},
|
|
4532
|
+
{
|
|
4533
|
+
name: "fieldType",
|
|
4534
|
+
internalType: "enum AEventAction.PrimitiveType",
|
|
4535
|
+
type: "uint8"
|
|
4536
|
+
},
|
|
4537
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
4538
|
+
{ name: "filterData", internalType: "bytes", type: "bytes" }
|
|
4539
|
+
]
|
|
4540
|
+
}
|
|
4541
|
+
],
|
|
4542
|
+
indexed: !1
|
|
4543
|
+
},
|
|
4544
|
+
{
|
|
4545
|
+
name: "actionStepTwo",
|
|
4546
|
+
internalType: "struct AEventAction.ActionStep",
|
|
4547
|
+
type: "tuple",
|
|
4548
|
+
components: [
|
|
4549
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
4550
|
+
{
|
|
4551
|
+
name: "signatureType",
|
|
4552
|
+
internalType: "enum AEventAction.SignatureType",
|
|
4553
|
+
type: "uint8"
|
|
4554
|
+
},
|
|
4555
|
+
{ name: "actionType", internalType: "uint8", type: "uint8" },
|
|
4556
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
4557
|
+
{ name: "chainid", internalType: "uint256", type: "uint256" },
|
|
4558
|
+
{
|
|
4559
|
+
name: "actionParameter",
|
|
4560
|
+
internalType: "struct AEventAction.Criteria",
|
|
4561
|
+
type: "tuple",
|
|
4562
|
+
components: [
|
|
4563
|
+
{
|
|
4564
|
+
name: "filterType",
|
|
4565
|
+
internalType: "enum AEventAction.FilterType",
|
|
4566
|
+
type: "uint8"
|
|
4567
|
+
},
|
|
4568
|
+
{
|
|
4569
|
+
name: "fieldType",
|
|
4570
|
+
internalType: "enum AEventAction.PrimitiveType",
|
|
4571
|
+
type: "uint8"
|
|
4572
|
+
},
|
|
4573
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
4574
|
+
{ name: "filterData", internalType: "bytes", type: "bytes" }
|
|
4575
|
+
]
|
|
4576
|
+
}
|
|
4577
|
+
],
|
|
4578
|
+
indexed: !1
|
|
4579
|
+
},
|
|
4580
|
+
{
|
|
4581
|
+
name: "actionStepThree",
|
|
4582
|
+
internalType: "struct AEventAction.ActionStep",
|
|
4583
|
+
type: "tuple",
|
|
4584
|
+
components: [
|
|
4585
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
4586
|
+
{
|
|
4587
|
+
name: "signatureType",
|
|
4588
|
+
internalType: "enum AEventAction.SignatureType",
|
|
4589
|
+
type: "uint8"
|
|
4590
|
+
},
|
|
4591
|
+
{ name: "actionType", internalType: "uint8", type: "uint8" },
|
|
4592
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
4593
|
+
{ name: "chainid", internalType: "uint256", type: "uint256" },
|
|
4594
|
+
{
|
|
4595
|
+
name: "actionParameter",
|
|
4596
|
+
internalType: "struct AEventAction.Criteria",
|
|
4597
|
+
type: "tuple",
|
|
4598
|
+
components: [
|
|
4599
|
+
{
|
|
4600
|
+
name: "filterType",
|
|
4601
|
+
internalType: "enum AEventAction.FilterType",
|
|
4602
|
+
type: "uint8"
|
|
4603
|
+
},
|
|
4604
|
+
{
|
|
4605
|
+
name: "fieldType",
|
|
4606
|
+
internalType: "enum AEventAction.PrimitiveType",
|
|
4607
|
+
type: "uint8"
|
|
4608
|
+
},
|
|
4609
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
4610
|
+
{ name: "filterData", internalType: "bytes", type: "bytes" }
|
|
4611
|
+
]
|
|
4612
|
+
}
|
|
4613
|
+
],
|
|
4614
|
+
indexed: !1
|
|
4615
|
+
},
|
|
4616
|
+
{
|
|
4617
|
+
name: "actionStepFour",
|
|
4618
|
+
internalType: "struct AEventAction.ActionStep",
|
|
4619
|
+
type: "tuple",
|
|
4620
|
+
components: [
|
|
4621
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
4622
|
+
{
|
|
4623
|
+
name: "signatureType",
|
|
4624
|
+
internalType: "enum AEventAction.SignatureType",
|
|
4625
|
+
type: "uint8"
|
|
4626
|
+
},
|
|
4627
|
+
{ name: "actionType", internalType: "uint8", type: "uint8" },
|
|
4628
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
4629
|
+
{ name: "chainid", internalType: "uint256", type: "uint256" },
|
|
4630
|
+
{
|
|
4631
|
+
name: "actionParameter",
|
|
4632
|
+
internalType: "struct AEventAction.Criteria",
|
|
4633
|
+
type: "tuple",
|
|
4634
|
+
components: [
|
|
4635
|
+
{
|
|
4636
|
+
name: "filterType",
|
|
4637
|
+
internalType: "enum AEventAction.FilterType",
|
|
4638
|
+
type: "uint8"
|
|
4639
|
+
},
|
|
4640
|
+
{
|
|
4641
|
+
name: "fieldType",
|
|
4642
|
+
internalType: "enum AEventAction.PrimitiveType",
|
|
4643
|
+
type: "uint8"
|
|
4644
|
+
},
|
|
4645
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
4646
|
+
{ name: "filterData", internalType: "bytes", type: "bytes" }
|
|
4647
|
+
]
|
|
4648
|
+
}
|
|
4649
|
+
],
|
|
4650
|
+
indexed: !1
|
|
4651
|
+
}
|
|
4652
|
+
],
|
|
4653
|
+
name: "EventActionInitialized"
|
|
4654
|
+
},
|
|
4655
|
+
{
|
|
4656
|
+
type: "event",
|
|
4657
|
+
anonymous: !1,
|
|
4658
|
+
inputs: [
|
|
4659
|
+
{
|
|
4660
|
+
name: "version",
|
|
4661
|
+
internalType: "uint64",
|
|
4662
|
+
type: "uint64",
|
|
4663
|
+
indexed: !1
|
|
4664
|
+
}
|
|
4665
|
+
],
|
|
4666
|
+
name: "Initialized"
|
|
4667
|
+
},
|
|
4668
|
+
{
|
|
4669
|
+
type: "function",
|
|
4670
|
+
inputs: [],
|
|
4671
|
+
name: "VALIDATOR",
|
|
4672
|
+
outputs: [
|
|
4673
|
+
{ name: "", internalType: "contract AValidator", type: "address" }
|
|
4674
|
+
],
|
|
4675
|
+
stateMutability: "view"
|
|
4676
|
+
},
|
|
4677
|
+
{
|
|
4678
|
+
type: "function",
|
|
4679
|
+
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
4680
|
+
name: "execute",
|
|
4681
|
+
outputs: [
|
|
4682
|
+
{ name: "", internalType: "bool", type: "bool" },
|
|
4683
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
4684
|
+
],
|
|
4685
|
+
stateMutability: "payable"
|
|
4686
|
+
},
|
|
4687
|
+
{
|
|
4688
|
+
type: "function",
|
|
4689
|
+
inputs: [],
|
|
4690
|
+
name: "getActionClaimant",
|
|
4691
|
+
outputs: [
|
|
4692
|
+
{
|
|
4693
|
+
name: "",
|
|
4694
|
+
internalType: "struct AEventAction.ActionClaimant",
|
|
4695
|
+
type: "tuple",
|
|
4696
|
+
components: [
|
|
4697
|
+
{
|
|
4698
|
+
name: "signatureType",
|
|
4699
|
+
internalType: "enum AEventAction.SignatureType",
|
|
4700
|
+
type: "uint8"
|
|
4701
|
+
},
|
|
4702
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
4703
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
4704
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
4705
|
+
{ name: "chainid", internalType: "uint256", type: "uint256" }
|
|
4706
|
+
]
|
|
4707
|
+
}
|
|
4708
|
+
],
|
|
4709
|
+
stateMutability: "view"
|
|
4710
|
+
},
|
|
4711
|
+
{
|
|
4712
|
+
type: "function",
|
|
4713
|
+
inputs: [{ name: "index", internalType: "uint256", type: "uint256" }],
|
|
4714
|
+
name: "getActionStep",
|
|
4715
|
+
outputs: [
|
|
4716
|
+
{
|
|
4717
|
+
name: "",
|
|
4718
|
+
internalType: "struct AEventAction.ActionStep",
|
|
4719
|
+
type: "tuple",
|
|
4720
|
+
components: [
|
|
4721
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
4722
|
+
{
|
|
4723
|
+
name: "signatureType",
|
|
4724
|
+
internalType: "enum AEventAction.SignatureType",
|
|
4725
|
+
type: "uint8"
|
|
4726
|
+
},
|
|
4727
|
+
{ name: "actionType", internalType: "uint8", type: "uint8" },
|
|
4728
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
4729
|
+
{ name: "chainid", internalType: "uint256", type: "uint256" },
|
|
4730
|
+
{
|
|
4731
|
+
name: "actionParameter",
|
|
4732
|
+
internalType: "struct AEventAction.Criteria",
|
|
4733
|
+
type: "tuple",
|
|
4734
|
+
components: [
|
|
4735
|
+
{
|
|
4736
|
+
name: "filterType",
|
|
4737
|
+
internalType: "enum AEventAction.FilterType",
|
|
4738
|
+
type: "uint8"
|
|
4739
|
+
},
|
|
4740
|
+
{
|
|
4741
|
+
name: "fieldType",
|
|
4742
|
+
internalType: "enum AEventAction.PrimitiveType",
|
|
4743
|
+
type: "uint8"
|
|
4744
|
+
},
|
|
4745
|
+
{ name: "fieldIndex", internalType: "uint8", type: "uint8" },
|
|
4746
|
+
{ name: "filterData", internalType: "bytes", type: "bytes" }
|
|
4747
|
+
]
|
|
4748
|
+
}
|
|
4749
|
+
]
|
|
4750
|
+
}
|
|
4751
|
+
],
|
|
4752
|
+
stateMutability: "view"
|
|
4753
|
+
},
|
|
4754
|
+
{
|
|
4755
|
+
type: "function",
|
|
4756
|
+
inputs: [],
|
|
4757
|
+
name: "getActionSteps",
|
|
4758
|
+
outputs: [
|
|
4759
|
+
{
|
|
4760
|
+
name: "",
|
|
4761
|
+
internalType: "struct AEventAction.ActionStep[]",
|
|
4762
|
+
type: "tuple[]",
|
|
4763
|
+
components: [
|
|
4764
|
+
{ name: "signature", internalType: "bytes32", type: "bytes32" },
|
|
4765
|
+
{
|
|
4766
|
+
name: "signatureType",
|
|
4767
|
+
internalType: "enum AEventAction.SignatureType",
|
|
4768
|
+
type: "uint8"
|
|
4769
|
+
},
|
|
4770
|
+
{ name: "actionType", internalType: "uint8", type: "uint8" },
|
|
4771
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
4772
|
+
{ name: "chainid", internalType: "uint256", type: "uint256" },
|
|
4773
|
+
{
|
|
4007
4774
|
name: "actionParameter",
|
|
4008
4775
|
internalType: "struct AEventAction.Criteria",
|
|
4009
4776
|
type: "tuple",
|
|
@@ -4062,7 +4829,7 @@ const re = [
|
|
|
4062
4829
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4063
4830
|
stateMutability: "view"
|
|
4064
4831
|
}
|
|
4065
|
-
],
|
|
4832
|
+
], ie = [
|
|
4066
4833
|
{
|
|
4067
4834
|
type: "function",
|
|
4068
4835
|
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
|
@@ -4070,7 +4837,7 @@ const re = [
|
|
|
4070
4837
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4071
4838
|
stateMutability: "view"
|
|
4072
4839
|
}
|
|
4073
|
-
],
|
|
4840
|
+
], g = [
|
|
4074
4841
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
4075
4842
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
4076
4843
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
@@ -4148,10 +4915,23 @@ const re = [
|
|
|
4148
4915
|
name: "newOwner",
|
|
4149
4916
|
internalType: "address",
|
|
4150
4917
|
type: "address",
|
|
4151
|
-
indexed: !0
|
|
4918
|
+
indexed: !0
|
|
4919
|
+
}
|
|
4920
|
+
],
|
|
4921
|
+
name: "OwnershipTransferred"
|
|
4922
|
+
},
|
|
4923
|
+
{
|
|
4924
|
+
type: "event",
|
|
4925
|
+
anonymous: !1,
|
|
4926
|
+
inputs: [
|
|
4927
|
+
{
|
|
4928
|
+
name: "validatorCaller",
|
|
4929
|
+
internalType: "address",
|
|
4930
|
+
type: "address",
|
|
4931
|
+
indexed: !1
|
|
4152
4932
|
}
|
|
4153
4933
|
],
|
|
4154
|
-
name: "
|
|
4934
|
+
name: "SignerValidatorInitialized"
|
|
4155
4935
|
},
|
|
4156
4936
|
{
|
|
4157
4937
|
type: "function",
|
|
@@ -4317,7 +5097,7 @@ const re = [
|
|
|
4317
5097
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4318
5098
|
stateMutability: "nonpayable"
|
|
4319
5099
|
}
|
|
4320
|
-
],
|
|
5100
|
+
], b = [
|
|
4321
5101
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
4322
5102
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
4323
5103
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -4758,7 +5538,7 @@ const re = [
|
|
|
4758
5538
|
stateMutability: "payable"
|
|
4759
5539
|
},
|
|
4760
5540
|
{ type: "receive", stateMutability: "payable" }
|
|
4761
|
-
],
|
|
5541
|
+
], R = [
|
|
4762
5542
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
4763
5543
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
4764
5544
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -5304,7 +6084,178 @@ const re = [
|
|
|
5304
6084
|
stateMutability: "payable"
|
|
5305
6085
|
},
|
|
5306
6086
|
{ type: "receive", stateMutability: "payable" }
|
|
5307
|
-
],
|
|
6087
|
+
], v = [
|
|
6088
|
+
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
6089
|
+
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
6090
|
+
{ type: "error", inputs: [], name: "NoHandoverRequest" },
|
|
6091
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
6092
|
+
{
|
|
6093
|
+
type: "event",
|
|
6094
|
+
anonymous: !1,
|
|
6095
|
+
inputs: [
|
|
6096
|
+
{
|
|
6097
|
+
name: "pendingOwner",
|
|
6098
|
+
internalType: "address",
|
|
6099
|
+
type: "address",
|
|
6100
|
+
indexed: !0
|
|
6101
|
+
}
|
|
6102
|
+
],
|
|
6103
|
+
name: "OwnershipHandoverCanceled"
|
|
6104
|
+
},
|
|
6105
|
+
{
|
|
6106
|
+
type: "event",
|
|
6107
|
+
anonymous: !1,
|
|
6108
|
+
inputs: [
|
|
6109
|
+
{
|
|
6110
|
+
name: "pendingOwner",
|
|
6111
|
+
internalType: "address",
|
|
6112
|
+
type: "address",
|
|
6113
|
+
indexed: !0
|
|
6114
|
+
}
|
|
6115
|
+
],
|
|
6116
|
+
name: "OwnershipHandoverRequested"
|
|
6117
|
+
},
|
|
6118
|
+
{
|
|
6119
|
+
type: "event",
|
|
6120
|
+
anonymous: !1,
|
|
6121
|
+
inputs: [
|
|
6122
|
+
{
|
|
6123
|
+
name: "oldOwner",
|
|
6124
|
+
internalType: "address",
|
|
6125
|
+
type: "address",
|
|
6126
|
+
indexed: !0
|
|
6127
|
+
},
|
|
6128
|
+
{
|
|
6129
|
+
name: "newOwner",
|
|
6130
|
+
internalType: "address",
|
|
6131
|
+
type: "address",
|
|
6132
|
+
indexed: !0
|
|
6133
|
+
}
|
|
6134
|
+
],
|
|
6135
|
+
name: "OwnershipTransferred"
|
|
6136
|
+
},
|
|
6137
|
+
{
|
|
6138
|
+
type: "event",
|
|
6139
|
+
anonymous: !1,
|
|
6140
|
+
inputs: [
|
|
6141
|
+
{ name: "user", internalType: "address", type: "address", indexed: !0 },
|
|
6142
|
+
{
|
|
6143
|
+
name: "roles",
|
|
6144
|
+
internalType: "uint256",
|
|
6145
|
+
type: "uint256",
|
|
6146
|
+
indexed: !0
|
|
6147
|
+
}
|
|
6148
|
+
],
|
|
6149
|
+
name: "RolesUpdated"
|
|
6150
|
+
},
|
|
6151
|
+
{
|
|
6152
|
+
type: "function",
|
|
6153
|
+
inputs: [],
|
|
6154
|
+
name: "cancelOwnershipHandover",
|
|
6155
|
+
outputs: [],
|
|
6156
|
+
stateMutability: "payable"
|
|
6157
|
+
},
|
|
6158
|
+
{
|
|
6159
|
+
type: "function",
|
|
6160
|
+
inputs: [
|
|
6161
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
6162
|
+
],
|
|
6163
|
+
name: "completeOwnershipHandover",
|
|
6164
|
+
outputs: [],
|
|
6165
|
+
stateMutability: "payable"
|
|
6166
|
+
},
|
|
6167
|
+
{
|
|
6168
|
+
type: "function",
|
|
6169
|
+
inputs: [
|
|
6170
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
6171
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
6172
|
+
],
|
|
6173
|
+
name: "grantRoles",
|
|
6174
|
+
outputs: [],
|
|
6175
|
+
stateMutability: "payable"
|
|
6176
|
+
},
|
|
6177
|
+
{
|
|
6178
|
+
type: "function",
|
|
6179
|
+
inputs: [
|
|
6180
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
6181
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
6182
|
+
],
|
|
6183
|
+
name: "hasAllRoles",
|
|
6184
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
6185
|
+
stateMutability: "view"
|
|
6186
|
+
},
|
|
6187
|
+
{
|
|
6188
|
+
type: "function",
|
|
6189
|
+
inputs: [
|
|
6190
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
6191
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
6192
|
+
],
|
|
6193
|
+
name: "hasAnyRole",
|
|
6194
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
6195
|
+
stateMutability: "view"
|
|
6196
|
+
},
|
|
6197
|
+
{
|
|
6198
|
+
type: "function",
|
|
6199
|
+
inputs: [],
|
|
6200
|
+
name: "owner",
|
|
6201
|
+
outputs: [{ name: "result", internalType: "address", type: "address" }],
|
|
6202
|
+
stateMutability: "view"
|
|
6203
|
+
},
|
|
6204
|
+
{
|
|
6205
|
+
type: "function",
|
|
6206
|
+
inputs: [
|
|
6207
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
6208
|
+
],
|
|
6209
|
+
name: "ownershipHandoverExpiresAt",
|
|
6210
|
+
outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
|
|
6211
|
+
stateMutability: "view"
|
|
6212
|
+
},
|
|
6213
|
+
{
|
|
6214
|
+
type: "function",
|
|
6215
|
+
inputs: [],
|
|
6216
|
+
name: "renounceOwnership",
|
|
6217
|
+
outputs: [],
|
|
6218
|
+
stateMutability: "payable"
|
|
6219
|
+
},
|
|
6220
|
+
{
|
|
6221
|
+
type: "function",
|
|
6222
|
+
inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
6223
|
+
name: "renounceRoles",
|
|
6224
|
+
outputs: [],
|
|
6225
|
+
stateMutability: "payable"
|
|
6226
|
+
},
|
|
6227
|
+
{
|
|
6228
|
+
type: "function",
|
|
6229
|
+
inputs: [],
|
|
6230
|
+
name: "requestOwnershipHandover",
|
|
6231
|
+
outputs: [],
|
|
6232
|
+
stateMutability: "payable"
|
|
6233
|
+
},
|
|
6234
|
+
{
|
|
6235
|
+
type: "function",
|
|
6236
|
+
inputs: [
|
|
6237
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
6238
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
6239
|
+
],
|
|
6240
|
+
name: "revokeRoles",
|
|
6241
|
+
outputs: [],
|
|
6242
|
+
stateMutability: "payable"
|
|
6243
|
+
},
|
|
6244
|
+
{
|
|
6245
|
+
type: "function",
|
|
6246
|
+
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
6247
|
+
name: "rolesOf",
|
|
6248
|
+
outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
6249
|
+
stateMutability: "view"
|
|
6250
|
+
},
|
|
6251
|
+
{
|
|
6252
|
+
type: "function",
|
|
6253
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
6254
|
+
name: "transferOwnership",
|
|
6255
|
+
outputs: [],
|
|
6256
|
+
stateMutability: "payable"
|
|
6257
|
+
}
|
|
6258
|
+
], se = [
|
|
5308
6259
|
{
|
|
5309
6260
|
type: "function",
|
|
5310
6261
|
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
@@ -5312,7 +6263,7 @@ const re = [
|
|
|
5312
6263
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
5313
6264
|
stateMutability: "view"
|
|
5314
6265
|
}
|
|
5315
|
-
],
|
|
6266
|
+
], M = [
|
|
5316
6267
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
5317
6268
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
5318
6269
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -5400,6 +6351,37 @@ const re = [
|
|
|
5400
6351
|
],
|
|
5401
6352
|
name: "OwnershipTransferred"
|
|
5402
6353
|
},
|
|
6354
|
+
{
|
|
6355
|
+
type: "event",
|
|
6356
|
+
anonymous: !1,
|
|
6357
|
+
inputs: [
|
|
6358
|
+
{
|
|
6359
|
+
name: "venue",
|
|
6360
|
+
internalType: "address",
|
|
6361
|
+
type: "address",
|
|
6362
|
+
indexed: !0
|
|
6363
|
+
},
|
|
6364
|
+
{
|
|
6365
|
+
name: "selector",
|
|
6366
|
+
internalType: "bytes4",
|
|
6367
|
+
type: "bytes4",
|
|
6368
|
+
indexed: !1
|
|
6369
|
+
},
|
|
6370
|
+
{
|
|
6371
|
+
name: "reward",
|
|
6372
|
+
internalType: "uint256",
|
|
6373
|
+
type: "uint256",
|
|
6374
|
+
indexed: !1
|
|
6375
|
+
},
|
|
6376
|
+
{
|
|
6377
|
+
name: "limit",
|
|
6378
|
+
internalType: "uint256",
|
|
6379
|
+
type: "uint256",
|
|
6380
|
+
indexed: !1
|
|
6381
|
+
}
|
|
6382
|
+
],
|
|
6383
|
+
name: "PointsIncentiveInitialized"
|
|
6384
|
+
},
|
|
5403
6385
|
{
|
|
5404
6386
|
type: "event",
|
|
5405
6387
|
anonymous: !1,
|
|
@@ -5635,7 +6617,7 @@ const re = [
|
|
|
5635
6617
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5636
6618
|
stateMutability: "view"
|
|
5637
6619
|
}
|
|
5638
|
-
],
|
|
6620
|
+
], c = [
|
|
5639
6621
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
5640
6622
|
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
5641
6623
|
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
@@ -5858,7 +6840,7 @@ const re = [
|
|
|
5858
6840
|
outputs: [],
|
|
5859
6841
|
stateMutability: "payable"
|
|
5860
6842
|
}
|
|
5861
|
-
],
|
|
6843
|
+
], O = [
|
|
5862
6844
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
5863
6845
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
5864
6846
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -5937,6 +6919,19 @@ const re = [
|
|
|
5937
6919
|
],
|
|
5938
6920
|
name: "OwnershipTransferred"
|
|
5939
6921
|
},
|
|
6922
|
+
{
|
|
6923
|
+
type: "event",
|
|
6924
|
+
anonymous: !1,
|
|
6925
|
+
inputs: [
|
|
6926
|
+
{
|
|
6927
|
+
name: "validatorCaller",
|
|
6928
|
+
internalType: "address",
|
|
6929
|
+
type: "address",
|
|
6930
|
+
indexed: !1
|
|
6931
|
+
}
|
|
6932
|
+
],
|
|
6933
|
+
name: "SignerValidatorInitialized"
|
|
6934
|
+
},
|
|
5940
6935
|
{
|
|
5941
6936
|
type: "function",
|
|
5942
6937
|
inputs: [],
|
|
@@ -6076,7 +7071,7 @@ const re = [
|
|
|
6076
7071
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
6077
7072
|
stateMutability: "nonpayable"
|
|
6078
7073
|
}
|
|
6079
|
-
],
|
|
7074
|
+
], H = [
|
|
6080
7075
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
6081
7076
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
6082
7077
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -6360,7 +7355,7 @@ const re = [
|
|
|
6360
7355
|
outputs: [],
|
|
6361
7356
|
stateMutability: "payable"
|
|
6362
7357
|
}
|
|
6363
|
-
],
|
|
7358
|
+
], k = [
|
|
6364
7359
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
6365
7360
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
6366
7361
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -6644,615 +7639,725 @@ const re = [
|
|
|
6644
7639
|
outputs: [],
|
|
6645
7640
|
stateMutability: "payable"
|
|
6646
7641
|
}
|
|
6647
|
-
],
|
|
7642
|
+
], be = /* @__PURE__ */ t({
|
|
6648
7643
|
abi: U,
|
|
6649
7644
|
functionName: "getComponentInterface"
|
|
6650
|
-
}),
|
|
7645
|
+
}), ce = /* @__PURE__ */ t(
|
|
6651
7646
|
{ abi: U, functionName: "supportsInterface" }
|
|
6652
|
-
),
|
|
6653
|
-
{ abi:
|
|
6654
|
-
),
|
|
6655
|
-
abi:
|
|
7647
|
+
), Te = /* @__PURE__ */ t(
|
|
7648
|
+
{ abi: I, functionName: "allowList" }
|
|
7649
|
+
), fe = /* @__PURE__ */ t({
|
|
7650
|
+
abi: I,
|
|
6656
7651
|
functionName: "claimed"
|
|
6657
|
-
}),
|
|
6658
|
-
abi:
|
|
7652
|
+
}), ve = /* @__PURE__ */ t({
|
|
7653
|
+
abi: I,
|
|
6659
7654
|
functionName: "claims"
|
|
6660
|
-
}),
|
|
6661
|
-
abi:
|
|
7655
|
+
}), we = /* @__PURE__ */ t({
|
|
7656
|
+
abi: I,
|
|
6662
7657
|
functionName: "isClaimable"
|
|
6663
|
-
}),
|
|
6664
|
-
abi:
|
|
7658
|
+
}), Me = /* @__PURE__ */ t({
|
|
7659
|
+
abi: I,
|
|
6665
7660
|
functionName: "limit"
|
|
6666
|
-
}),
|
|
6667
|
-
abi:
|
|
7661
|
+
}), Ie = /* @__PURE__ */ t({
|
|
7662
|
+
abi: I,
|
|
6668
7663
|
functionName: "owner"
|
|
6669
|
-
}),
|
|
6670
|
-
abi:
|
|
7664
|
+
}), he = /* @__PURE__ */ t({
|
|
7665
|
+
abi: I,
|
|
6671
7666
|
functionName: "reward"
|
|
6672
|
-
}),
|
|
6673
|
-
abi:
|
|
7667
|
+
}), ge = /* @__PURE__ */ s({
|
|
7668
|
+
abi: I,
|
|
6674
7669
|
functionName: "claim"
|
|
6675
|
-
}),
|
|
6676
|
-
abi:
|
|
7670
|
+
}), Oe = /* @__PURE__ */ i({
|
|
7671
|
+
abi: I,
|
|
6677
7672
|
functionName: "claim"
|
|
6678
|
-
}),
|
|
6679
|
-
abi:
|
|
7673
|
+
}), Ae = /* @__PURE__ */ t({
|
|
7674
|
+
abi: m,
|
|
6680
7675
|
functionName: "createBoostAuth"
|
|
6681
|
-
}), Oe = /* @__PURE__ */ t({
|
|
6682
|
-
abi: d,
|
|
6683
|
-
functionName: "getBoost"
|
|
6684
7676
|
}), Ne = /* @__PURE__ */ t({
|
|
6685
|
-
abi:
|
|
7677
|
+
abi: m,
|
|
7678
|
+
functionName: "getBoost"
|
|
7679
|
+
}), xe = /* @__PURE__ */ t({
|
|
7680
|
+
abi: m,
|
|
6686
7681
|
functionName: "getBoostCount"
|
|
6687
|
-
}), Ae = /* @__PURE__ */ t({
|
|
6688
|
-
abi: d,
|
|
6689
|
-
functionName: "protocolFee"
|
|
6690
7682
|
}), Re = /* @__PURE__ */ t({
|
|
6691
|
-
abi:
|
|
7683
|
+
abi: m,
|
|
7684
|
+
functionName: "protocolFee"
|
|
7685
|
+
}), ze = /* @__PURE__ */ t({
|
|
7686
|
+
abi: m,
|
|
6692
7687
|
functionName: "protocolFeeReceiver"
|
|
6693
|
-
}),
|
|
6694
|
-
abi:
|
|
7688
|
+
}), Ce = /* @__PURE__ */ s({
|
|
7689
|
+
abi: m,
|
|
6695
7690
|
functionName: "claimIncentive"
|
|
6696
|
-
}),
|
|
6697
|
-
abi:
|
|
7691
|
+
}), _e = /* @__PURE__ */ s({
|
|
7692
|
+
abi: m,
|
|
6698
7693
|
functionName: "claimIncentiveFor"
|
|
6699
|
-
}),
|
|
6700
|
-
abi:
|
|
7694
|
+
}), He = /* @__PURE__ */ s({
|
|
7695
|
+
abi: m,
|
|
6701
7696
|
functionName: "setCreateBoostAuth"
|
|
6702
|
-
}),
|
|
6703
|
-
abi:
|
|
7697
|
+
}), Ee = /* @__PURE__ */ s({
|
|
7698
|
+
abi: m,
|
|
6704
7699
|
functionName: "setProtocolFeeReceiver"
|
|
6705
|
-
}),
|
|
6706
|
-
abi:
|
|
7700
|
+
}), De = /* @__PURE__ */ i({
|
|
7701
|
+
abi: m,
|
|
6707
7702
|
functionName: "claimIncentive"
|
|
6708
|
-
}),
|
|
6709
|
-
abi:
|
|
7703
|
+
}), Fe = /* @__PURE__ */ i({
|
|
7704
|
+
abi: m,
|
|
6710
7705
|
functionName: "claimIncentiveFor"
|
|
6711
|
-
}),
|
|
6712
|
-
abi:
|
|
7706
|
+
}), ke = /* @__PURE__ */ i({
|
|
7707
|
+
abi: m,
|
|
6713
7708
|
functionName: "createBoost"
|
|
6714
|
-
}),
|
|
6715
|
-
abi:
|
|
7709
|
+
}), qe = /* @__PURE__ */ i({
|
|
7710
|
+
abi: m,
|
|
6716
7711
|
functionName: "setCreateBoostAuth"
|
|
6717
|
-
}),
|
|
6718
|
-
abi:
|
|
7712
|
+
}), Le = /* @__PURE__ */ i({
|
|
7713
|
+
abi: m,
|
|
6719
7714
|
functionName: "setProtocolFeeReceiver"
|
|
6720
|
-
}),
|
|
6721
|
-
abi:
|
|
7715
|
+
}), Se = /* @__PURE__ */ t({
|
|
7716
|
+
abi: h,
|
|
6722
7717
|
functionName: "getBaseImplementation"
|
|
6723
|
-
}),
|
|
6724
|
-
abi:
|
|
7718
|
+
}), Be = /* @__PURE__ */ t({
|
|
7719
|
+
abi: h,
|
|
6725
7720
|
functionName: "getClone"
|
|
6726
|
-
}),
|
|
6727
|
-
abi:
|
|
7721
|
+
}), Pe = /* @__PURE__ */ t({
|
|
7722
|
+
abi: h,
|
|
6728
7723
|
functionName: "getCloneIdentifier"
|
|
6729
7724
|
}), Ue = /* @__PURE__ */ t({
|
|
6730
|
-
abi:
|
|
7725
|
+
abi: h,
|
|
6731
7726
|
functionName: "getClones"
|
|
6732
|
-
}),
|
|
6733
|
-
abi:
|
|
7727
|
+
}), Ve = /* @__PURE__ */ s({
|
|
7728
|
+
abi: h,
|
|
6734
7729
|
functionName: "deployClone"
|
|
6735
|
-
}),
|
|
6736
|
-
abi:
|
|
7730
|
+
}), Ze = /* @__PURE__ */ s({
|
|
7731
|
+
abi: h,
|
|
6737
7732
|
functionName: "register"
|
|
6738
|
-
}),
|
|
6739
|
-
abi:
|
|
7733
|
+
}), $e = /* @__PURE__ */ i({
|
|
7734
|
+
abi: h,
|
|
6740
7735
|
functionName: "deployClone"
|
|
6741
|
-
}), je = /* @__PURE__ */
|
|
6742
|
-
abi:
|
|
7736
|
+
}), je = /* @__PURE__ */ i({
|
|
7737
|
+
abi: h,
|
|
6743
7738
|
functionName: "register"
|
|
6744
|
-
}),
|
|
6745
|
-
abi:
|
|
7739
|
+
}), Ge = /* @__PURE__ */ t({
|
|
7740
|
+
abi: T,
|
|
6746
7741
|
functionName: "asset"
|
|
6747
|
-
}),
|
|
6748
|
-
abi:
|
|
7742
|
+
}), Ke = /* @__PURE__ */ t({
|
|
7743
|
+
abi: T,
|
|
6749
7744
|
functionName: "cgdaParams"
|
|
6750
|
-
}),
|
|
6751
|
-
abi:
|
|
7745
|
+
}), Qe = /* @__PURE__ */ t({
|
|
7746
|
+
abi: T,
|
|
6752
7747
|
functionName: "claimed"
|
|
6753
|
-
}),
|
|
6754
|
-
abi:
|
|
7748
|
+
}), Ye = /* @__PURE__ */ t({
|
|
7749
|
+
abi: T,
|
|
6755
7750
|
functionName: "claims"
|
|
6756
|
-
}),
|
|
6757
|
-
abi:
|
|
7751
|
+
}), We = /* @__PURE__ */ t({
|
|
7752
|
+
abi: T,
|
|
6758
7753
|
functionName: "currentReward"
|
|
6759
|
-
}),
|
|
6760
|
-
abi:
|
|
7754
|
+
}), Xe = /* @__PURE__ */ t({
|
|
7755
|
+
abi: T,
|
|
6761
7756
|
functionName: "isClaimable"
|
|
6762
|
-
}),
|
|
6763
|
-
abi:
|
|
7757
|
+
}), Je = /* @__PURE__ */ t({
|
|
7758
|
+
abi: T,
|
|
6764
7759
|
functionName: "owner"
|
|
6765
|
-
}),
|
|
6766
|
-
abi:
|
|
7760
|
+
}), et = /* @__PURE__ */ t({
|
|
7761
|
+
abi: T,
|
|
6767
7762
|
functionName: "reward"
|
|
6768
|
-
}),
|
|
6769
|
-
abi:
|
|
7763
|
+
}), tt = /* @__PURE__ */ t({
|
|
7764
|
+
abi: T,
|
|
6770
7765
|
functionName: "totalBudget"
|
|
6771
|
-
}), et = /* @__PURE__ */ p({
|
|
6772
|
-
abi: c,
|
|
6773
|
-
functionName: "claim"
|
|
6774
|
-
}), tt = /* @__PURE__ */ p({
|
|
6775
|
-
abi: c,
|
|
6776
|
-
functionName: "clawback"
|
|
6777
7766
|
}), nt = /* @__PURE__ */ s({
|
|
6778
|
-
abi:
|
|
7767
|
+
abi: T,
|
|
6779
7768
|
functionName: "claim"
|
|
6780
7769
|
}), at = /* @__PURE__ */ s({
|
|
6781
|
-
abi:
|
|
7770
|
+
abi: T,
|
|
7771
|
+
functionName: "clawback"
|
|
7772
|
+
}), it = /* @__PURE__ */ i({
|
|
7773
|
+
abi: T,
|
|
7774
|
+
functionName: "claim"
|
|
7775
|
+
}), st = /* @__PURE__ */ i({
|
|
7776
|
+
abi: T,
|
|
6782
7777
|
functionName: "clawback"
|
|
6783
|
-
}),
|
|
7778
|
+
}), pt = /* @__PURE__ */ t({
|
|
6784
7779
|
abi: l,
|
|
6785
7780
|
functionName: "asset"
|
|
6786
|
-
}),
|
|
7781
|
+
}), rt = /* @__PURE__ */ t({
|
|
6787
7782
|
abi: l,
|
|
6788
7783
|
functionName: "claimed"
|
|
6789
|
-
}),
|
|
7784
|
+
}), yt = /* @__PURE__ */ t({
|
|
6790
7785
|
abi: l,
|
|
6791
7786
|
functionName: "claims"
|
|
6792
|
-
}),
|
|
7787
|
+
}), ut = /* @__PURE__ */ t(
|
|
6793
7788
|
{ abi: l, functionName: "currentReward" }
|
|
6794
|
-
),
|
|
7789
|
+
), ot = /* @__PURE__ */ t({
|
|
6795
7790
|
abi: l,
|
|
6796
7791
|
functionName: "entries"
|
|
6797
|
-
}),
|
|
7792
|
+
}), lt = /* @__PURE__ */ t({
|
|
6798
7793
|
abi: l,
|
|
6799
7794
|
functionName: "isClaimable"
|
|
6800
|
-
}),
|
|
7795
|
+
}), dt = /* @__PURE__ */ t({
|
|
6801
7796
|
abi: l,
|
|
6802
7797
|
functionName: "limit"
|
|
6803
|
-
}),
|
|
7798
|
+
}), mt = /* @__PURE__ */ t({
|
|
6804
7799
|
abi: l,
|
|
6805
7800
|
functionName: "owner"
|
|
6806
|
-
}),
|
|
7801
|
+
}), bt = /* @__PURE__ */ t({
|
|
6807
7802
|
abi: l,
|
|
6808
7803
|
functionName: "reward"
|
|
6809
|
-
}),
|
|
7804
|
+
}), ct = /* @__PURE__ */ t({
|
|
6810
7805
|
abi: l,
|
|
6811
7806
|
functionName: "strategy"
|
|
6812
|
-
}),
|
|
7807
|
+
}), Tt = /* @__PURE__ */ s({
|
|
6813
7808
|
abi: l,
|
|
6814
7809
|
functionName: "claim"
|
|
6815
|
-
}),
|
|
7810
|
+
}), ft = /* @__PURE__ */ s({
|
|
6816
7811
|
abi: l,
|
|
6817
7812
|
functionName: "clawback"
|
|
6818
|
-
}),
|
|
7813
|
+
}), vt = /* @__PURE__ */ s({
|
|
6819
7814
|
abi: l,
|
|
6820
7815
|
functionName: "drawRaffle"
|
|
6821
|
-
}),
|
|
7816
|
+
}), wt = /* @__PURE__ */ i(
|
|
6822
7817
|
{ abi: l, functionName: "claim" }
|
|
6823
|
-
),
|
|
7818
|
+
), Mt = /* @__PURE__ */ i({
|
|
6824
7819
|
abi: l,
|
|
6825
7820
|
functionName: "clawback"
|
|
6826
|
-
}),
|
|
7821
|
+
}), It = /* @__PURE__ */ i({
|
|
6827
7822
|
abi: l,
|
|
6828
7823
|
functionName: "drawRaffle"
|
|
6829
|
-
}),
|
|
6830
|
-
abi:
|
|
7824
|
+
}), ht = /* @__PURE__ */ t({
|
|
7825
|
+
abi: d,
|
|
7826
|
+
functionName: "asset"
|
|
7827
|
+
}), gt = /* @__PURE__ */ t(
|
|
7828
|
+
{ abi: d, functionName: "claimed" }
|
|
7829
|
+
), Ot = /* @__PURE__ */ t({
|
|
7830
|
+
abi: d,
|
|
7831
|
+
functionName: "claims"
|
|
7832
|
+
}), At = /* @__PURE__ */ t({
|
|
7833
|
+
abi: d,
|
|
7834
|
+
functionName: "currentReward"
|
|
7835
|
+
}), Nt = /* @__PURE__ */ t({
|
|
7836
|
+
abi: d,
|
|
7837
|
+
functionName: "getPeg"
|
|
7838
|
+
}), xt = /* @__PURE__ */ t({
|
|
7839
|
+
abi: d,
|
|
7840
|
+
functionName: "isClaimable"
|
|
7841
|
+
}), Rt = /* @__PURE__ */ t({
|
|
7842
|
+
abi: d,
|
|
7843
|
+
functionName: "limit"
|
|
7844
|
+
}), zt = /* @__PURE__ */ t({
|
|
7845
|
+
abi: d,
|
|
7846
|
+
functionName: "owner"
|
|
7847
|
+
}), Ct = /* @__PURE__ */ t({
|
|
7848
|
+
abi: d,
|
|
7849
|
+
functionName: "peg"
|
|
7850
|
+
}), _t = /* @__PURE__ */ t({
|
|
7851
|
+
abi: d,
|
|
7852
|
+
functionName: "reward"
|
|
7853
|
+
}), Ht = /* @__PURE__ */ t({
|
|
7854
|
+
abi: d,
|
|
7855
|
+
functionName: "totalClaimed"
|
|
7856
|
+
}), Et = /* @__PURE__ */ s(
|
|
7857
|
+
{ abi: d, functionName: "claim" }
|
|
7858
|
+
), Dt = /* @__PURE__ */ s({
|
|
7859
|
+
abi: d,
|
|
7860
|
+
functionName: "clawback"
|
|
7861
|
+
}), Ft = /* @__PURE__ */ i({
|
|
7862
|
+
abi: d,
|
|
7863
|
+
functionName: "claim"
|
|
7864
|
+
}), kt = /* @__PURE__ */ i({
|
|
7865
|
+
abi: d,
|
|
7866
|
+
functionName: "clawback"
|
|
7867
|
+
}), qt = /* @__PURE__ */ t({
|
|
7868
|
+
abi: V,
|
|
6831
7869
|
functionName: "getIncentiveCriteria"
|
|
6832
|
-
}),
|
|
6833
|
-
abi:
|
|
7870
|
+
}), Lt = /* @__PURE__ */ t({
|
|
7871
|
+
abi: V,
|
|
6834
7872
|
functionName: "getMaxReward"
|
|
6835
|
-
}),
|
|
6836
|
-
{ abi:
|
|
6837
|
-
),
|
|
6838
|
-
abi:
|
|
7873
|
+
}), St = /* @__PURE__ */ t(
|
|
7874
|
+
{ abi: f, functionName: "asset" }
|
|
7875
|
+
), Bt = /* @__PURE__ */ t({
|
|
7876
|
+
abi: f,
|
|
6839
7877
|
functionName: "claimed"
|
|
6840
|
-
}),
|
|
6841
|
-
abi:
|
|
7878
|
+
}), Pt = /* @__PURE__ */ t({
|
|
7879
|
+
abi: f,
|
|
6842
7880
|
functionName: "claims"
|
|
6843
|
-
}),
|
|
6844
|
-
abi:
|
|
7881
|
+
}), Ut = /* @__PURE__ */ t({
|
|
7882
|
+
abi: f,
|
|
6845
7883
|
functionName: "currentReward"
|
|
6846
|
-
}),
|
|
6847
|
-
abi:
|
|
7884
|
+
}), Vt = /* @__PURE__ */ t({
|
|
7885
|
+
abi: f,
|
|
6848
7886
|
functionName: "isClaimable"
|
|
6849
|
-
}),
|
|
6850
|
-
{ abi:
|
|
6851
|
-
),
|
|
6852
|
-
{ abi:
|
|
6853
|
-
),
|
|
6854
|
-
abi:
|
|
7887
|
+
}), Zt = /* @__PURE__ */ t(
|
|
7888
|
+
{ abi: f, functionName: "limit" }
|
|
7889
|
+
), $t = /* @__PURE__ */ t(
|
|
7890
|
+
{ abi: f, functionName: "owner" }
|
|
7891
|
+
), jt = /* @__PURE__ */ t({
|
|
7892
|
+
abi: f,
|
|
6855
7893
|
functionName: "reward"
|
|
6856
|
-
}),
|
|
6857
|
-
abi:
|
|
7894
|
+
}), Gt = /* @__PURE__ */ t({
|
|
7895
|
+
abi: f,
|
|
6858
7896
|
functionName: "totalClaimed"
|
|
6859
|
-
}),
|
|
6860
|
-
abi:
|
|
7897
|
+
}), Kt = /* @__PURE__ */ s({
|
|
7898
|
+
abi: f,
|
|
6861
7899
|
functionName: "claim"
|
|
6862
|
-
}),
|
|
6863
|
-
abi:
|
|
7900
|
+
}), Qt = /* @__PURE__ */ s({
|
|
7901
|
+
abi: f,
|
|
6864
7902
|
functionName: "clawback"
|
|
6865
|
-
}),
|
|
6866
|
-
abi:
|
|
7903
|
+
}), Yt = /* @__PURE__ */ i({
|
|
7904
|
+
abi: f,
|
|
6867
7905
|
functionName: "claim"
|
|
6868
|
-
}),
|
|
6869
|
-
abi:
|
|
7906
|
+
}), Wt = /* @__PURE__ */ i({
|
|
7907
|
+
abi: f,
|
|
6870
7908
|
functionName: "clawback"
|
|
6871
|
-
}),
|
|
6872
|
-
abi:
|
|
7909
|
+
}), Xt = /* @__PURE__ */ t({
|
|
7910
|
+
abi: _,
|
|
6873
7911
|
functionName: "getActionClaimant"
|
|
6874
|
-
}),
|
|
6875
|
-
abi:
|
|
7912
|
+
}), Jt = /* @__PURE__ */ t({
|
|
7913
|
+
abi: _,
|
|
6876
7914
|
functionName: "getActionSteps"
|
|
6877
|
-
}),
|
|
6878
|
-
abi:
|
|
7915
|
+
}), en = /* @__PURE__ */ s({
|
|
7916
|
+
abi: _,
|
|
6879
7917
|
functionName: "execute"
|
|
6880
|
-
}),
|
|
6881
|
-
abi:
|
|
7918
|
+
}), tn = /* @__PURE__ */ i({
|
|
7919
|
+
abi: _,
|
|
6882
7920
|
functionName: "execute"
|
|
6883
|
-
}),
|
|
6884
|
-
abi:
|
|
7921
|
+
}), nn = /* @__PURE__ */ t({
|
|
7922
|
+
abi: ie,
|
|
6885
7923
|
functionName: "isAuthorized"
|
|
6886
|
-
}),
|
|
6887
|
-
abi:
|
|
7924
|
+
}), an = /* @__PURE__ */ t({
|
|
7925
|
+
abi: g,
|
|
6888
7926
|
functionName: "hashSignerData"
|
|
6889
|
-
}),
|
|
6890
|
-
abi:
|
|
7927
|
+
}), sn = /* @__PURE__ */ t({
|
|
7928
|
+
abi: g,
|
|
6891
7929
|
functionName: "signers"
|
|
6892
|
-
}),
|
|
6893
|
-
abi:
|
|
7930
|
+
}), pn = /* @__PURE__ */ s({
|
|
7931
|
+
abi: g,
|
|
6894
7932
|
functionName: "setAuthorized"
|
|
6895
|
-
}),
|
|
6896
|
-
abi:
|
|
7933
|
+
}), rn = /* @__PURE__ */ s({
|
|
7934
|
+
abi: g,
|
|
6897
7935
|
functionName: "setValidatorCaller"
|
|
6898
|
-
}),
|
|
6899
|
-
abi:
|
|
7936
|
+
}), yn = /* @__PURE__ */ s({
|
|
7937
|
+
abi: g,
|
|
6900
7938
|
functionName: "validate"
|
|
6901
|
-
}),
|
|
6902
|
-
abi:
|
|
7939
|
+
}), un = /* @__PURE__ */ i({
|
|
7940
|
+
abi: g,
|
|
6903
7941
|
functionName: "setAuthorized"
|
|
6904
|
-
}),
|
|
6905
|
-
abi:
|
|
7942
|
+
}), on = /* @__PURE__ */ i({
|
|
7943
|
+
abi: g,
|
|
6906
7944
|
functionName: "setValidatorCaller"
|
|
6907
|
-
}),
|
|
6908
|
-
abi:
|
|
7945
|
+
}), ln = /* @__PURE__ */ i({
|
|
7946
|
+
abi: g,
|
|
6909
7947
|
functionName: "validate"
|
|
6910
|
-
}),
|
|
6911
|
-
abi:
|
|
7948
|
+
}), dn = /* @__PURE__ */ t({
|
|
7949
|
+
abi: b,
|
|
6912
7950
|
functionName: "available"
|
|
6913
|
-
}),
|
|
6914
|
-
abi:
|
|
7951
|
+
}), mn = /* @__PURE__ */ t({
|
|
7952
|
+
abi: b,
|
|
6915
7953
|
functionName: "distributed"
|
|
6916
|
-
}),
|
|
6917
|
-
abi:
|
|
7954
|
+
}), bn = /* @__PURE__ */ t({
|
|
7955
|
+
abi: b,
|
|
6918
7956
|
functionName: "owner"
|
|
6919
|
-
}),
|
|
6920
|
-
abi:
|
|
7957
|
+
}), cn = /* @__PURE__ */ t({
|
|
7958
|
+
abi: b,
|
|
6921
7959
|
functionName: "total"
|
|
6922
|
-
}),
|
|
6923
|
-
abi:
|
|
7960
|
+
}), Tn = /* @__PURE__ */ s({
|
|
7961
|
+
abi: b,
|
|
6924
7962
|
functionName: "allocate"
|
|
6925
|
-
}),
|
|
6926
|
-
abi:
|
|
7963
|
+
}), fn = /* @__PURE__ */ s({
|
|
7964
|
+
abi: b,
|
|
6927
7965
|
functionName: "clawback"
|
|
6928
|
-
}),
|
|
6929
|
-
abi:
|
|
7966
|
+
}), vn = /* @__PURE__ */ s({
|
|
7967
|
+
abi: b,
|
|
6930
7968
|
functionName: "clawbackFromTarget"
|
|
6931
|
-
}),
|
|
6932
|
-
abi:
|
|
7969
|
+
}), wn = /* @__PURE__ */ s({
|
|
7970
|
+
abi: b,
|
|
6933
7971
|
functionName: "disburse"
|
|
6934
|
-
}),
|
|
6935
|
-
abi:
|
|
7972
|
+
}), Mn = /* @__PURE__ */ s({
|
|
7973
|
+
abi: b,
|
|
6936
7974
|
functionName: "disburseBatch"
|
|
6937
|
-
}),
|
|
6938
|
-
abi:
|
|
7975
|
+
}), In = /* @__PURE__ */ i({
|
|
7976
|
+
abi: b,
|
|
6939
7977
|
functionName: "allocate"
|
|
6940
|
-
}),
|
|
6941
|
-
abi:
|
|
7978
|
+
}), hn = /* @__PURE__ */ i({
|
|
7979
|
+
abi: b,
|
|
6942
7980
|
functionName: "clawback"
|
|
6943
|
-
}),
|
|
6944
|
-
abi:
|
|
7981
|
+
}), gn = /* @__PURE__ */ i({
|
|
7982
|
+
abi: b,
|
|
6945
7983
|
functionName: "clawbackFromTarget"
|
|
6946
|
-
}),
|
|
6947
|
-
abi:
|
|
7984
|
+
}), On = /* @__PURE__ */ i({
|
|
7985
|
+
abi: b,
|
|
6948
7986
|
functionName: "disburse"
|
|
6949
|
-
}),
|
|
6950
|
-
abi:
|
|
7987
|
+
}), An = /* @__PURE__ */ i({
|
|
7988
|
+
abi: b,
|
|
6951
7989
|
functionName: "disburseBatch"
|
|
6952
|
-
}),
|
|
6953
|
-
abi:
|
|
7990
|
+
}), Nn = /* @__PURE__ */ t({
|
|
7991
|
+
abi: R,
|
|
6954
7992
|
functionName: "managementFee"
|
|
6955
|
-
}),
|
|
6956
|
-
abi:
|
|
7993
|
+
}), xn = /* @__PURE__ */ s({
|
|
7994
|
+
abi: R,
|
|
6957
7995
|
functionName: "payManagementFee"
|
|
6958
|
-
}),
|
|
6959
|
-
abi:
|
|
7996
|
+
}), Rn = /* @__PURE__ */ s({
|
|
7997
|
+
abi: R,
|
|
6960
7998
|
functionName: "setManagementFee"
|
|
6961
|
-
}),
|
|
6962
|
-
abi:
|
|
7999
|
+
}), zn = /* @__PURE__ */ i({
|
|
8000
|
+
abi: R,
|
|
6963
8001
|
functionName: "payManagementFee"
|
|
6964
|
-
}),
|
|
6965
|
-
abi:
|
|
8002
|
+
}), Cn = /* @__PURE__ */ i({
|
|
8003
|
+
abi: R,
|
|
6966
8004
|
functionName: "setManagementFee"
|
|
6967
|
-
}),
|
|
6968
|
-
{ abi: ae, functionName: "isAuthorized" }
|
|
6969
|
-
), cn = /* @__PURE__ */ t({
|
|
8005
|
+
}), _n = /* @__PURE__ */ t({
|
|
6970
8006
|
abi: v,
|
|
6971
|
-
functionName: "
|
|
6972
|
-
}),
|
|
8007
|
+
functionName: "ownershipHandoverExpiresAt"
|
|
8008
|
+
}), Hn = /* @__PURE__ */ s({
|
|
6973
8009
|
abi: v,
|
|
6974
|
-
functionName: "
|
|
6975
|
-
}),
|
|
8010
|
+
functionName: "cancelOwnershipHandover"
|
|
8011
|
+
}), En = /* @__PURE__ */ s({
|
|
6976
8012
|
abi: v,
|
|
6977
|
-
functionName: "
|
|
6978
|
-
}),
|
|
8013
|
+
functionName: "completeOwnershipHandover"
|
|
8014
|
+
}), Dn = /* @__PURE__ */ s({
|
|
6979
8015
|
abi: v,
|
|
6980
|
-
functionName: "
|
|
6981
|
-
}),
|
|
8016
|
+
functionName: "renounceOwnership"
|
|
8017
|
+
}), Fn = /* @__PURE__ */ s(
|
|
8018
|
+
{ abi: v, functionName: "renounceRoles" }
|
|
8019
|
+
), kn = /* @__PURE__ */ s({
|
|
6982
8020
|
abi: v,
|
|
6983
|
-
functionName: "
|
|
6984
|
-
}),
|
|
8021
|
+
functionName: "requestOwnershipHandover"
|
|
8022
|
+
}), qn = /* @__PURE__ */ s({
|
|
6985
8023
|
abi: v,
|
|
6986
|
-
functionName: "
|
|
6987
|
-
}),
|
|
8024
|
+
functionName: "transferOwnership"
|
|
8025
|
+
}), Ln = /* @__PURE__ */ i({
|
|
6988
8026
|
abi: v,
|
|
6989
|
-
functionName: "
|
|
6990
|
-
}),
|
|
8027
|
+
functionName: "cancelOwnershipHandover"
|
|
8028
|
+
}), Sn = /* @__PURE__ */ i({
|
|
6991
8029
|
abi: v,
|
|
6992
|
-
functionName: "
|
|
6993
|
-
}),
|
|
8030
|
+
functionName: "completeOwnershipHandover"
|
|
8031
|
+
}), Bn = /* @__PURE__ */ i({
|
|
6994
8032
|
abi: v,
|
|
6995
|
-
functionName: "
|
|
6996
|
-
}),
|
|
8033
|
+
functionName: "renounceOwnership"
|
|
8034
|
+
}), Pn = /* @__PURE__ */ i({
|
|
8035
|
+
abi: v,
|
|
8036
|
+
functionName: "renounceRoles"
|
|
8037
|
+
}), Un = /* @__PURE__ */ i({
|
|
6997
8038
|
abi: v,
|
|
8039
|
+
functionName: "requestOwnershipHandover"
|
|
8040
|
+
}), Vn = /* @__PURE__ */ i({
|
|
8041
|
+
abi: v,
|
|
8042
|
+
functionName: "transferOwnership"
|
|
8043
|
+
}), Zn = /* @__PURE__ */ t(
|
|
8044
|
+
{ abi: se, functionName: "isAuthorized" }
|
|
8045
|
+
), $n = /* @__PURE__ */ t({
|
|
8046
|
+
abi: M,
|
|
8047
|
+
functionName: "claimed"
|
|
8048
|
+
}), jn = /* @__PURE__ */ t({
|
|
8049
|
+
abi: M,
|
|
8050
|
+
functionName: "claims"
|
|
8051
|
+
}), Gn = /* @__PURE__ */ t({
|
|
8052
|
+
abi: M,
|
|
8053
|
+
functionName: "currentReward"
|
|
8054
|
+
}), Kn = /* @__PURE__ */ t({
|
|
8055
|
+
abi: M,
|
|
8056
|
+
functionName: "isClaimable"
|
|
8057
|
+
}), Qn = /* @__PURE__ */ t({
|
|
8058
|
+
abi: M,
|
|
8059
|
+
functionName: "limit"
|
|
8060
|
+
}), Yn = /* @__PURE__ */ t({
|
|
8061
|
+
abi: M,
|
|
8062
|
+
functionName: "reward"
|
|
8063
|
+
}), Wn = /* @__PURE__ */ t({
|
|
8064
|
+
abi: M,
|
|
8065
|
+
functionName: "selector"
|
|
8066
|
+
}), Xn = /* @__PURE__ */ t({
|
|
8067
|
+
abi: M,
|
|
8068
|
+
functionName: "venue"
|
|
8069
|
+
}), Jn = /* @__PURE__ */ s({
|
|
8070
|
+
abi: M,
|
|
6998
8071
|
functionName: "claim"
|
|
6999
|
-
}),
|
|
7000
|
-
abi:
|
|
8072
|
+
}), ea = /* @__PURE__ */ i({
|
|
8073
|
+
abi: M,
|
|
8074
|
+
functionName: "claim"
|
|
8075
|
+
}), ta = /* @__PURE__ */ t({
|
|
8076
|
+
abi: c,
|
|
7001
8077
|
functionName: "hasAllRoles"
|
|
7002
|
-
}),
|
|
7003
|
-
abi:
|
|
8078
|
+
}), na = /* @__PURE__ */ t({
|
|
8079
|
+
abi: c,
|
|
7004
8080
|
functionName: "hasAnyRole"
|
|
7005
|
-
}),
|
|
7006
|
-
abi:
|
|
8081
|
+
}), aa = /* @__PURE__ */ t({
|
|
8082
|
+
abi: c,
|
|
7007
8083
|
functionName: "isAuthorized"
|
|
7008
|
-
}),
|
|
7009
|
-
abi:
|
|
8084
|
+
}), ia = /* @__PURE__ */ t({
|
|
8085
|
+
abi: c,
|
|
7010
8086
|
functionName: "rolesOf"
|
|
7011
|
-
}),
|
|
7012
|
-
abi:
|
|
8087
|
+
}), sa = /* @__PURE__ */ s({
|
|
8088
|
+
abi: c,
|
|
7013
8089
|
functionName: "grantManyRoles"
|
|
7014
|
-
}),
|
|
7015
|
-
abi:
|
|
8090
|
+
}), pa = /* @__PURE__ */ s({
|
|
8091
|
+
abi: c,
|
|
7016
8092
|
functionName: "grantRoles"
|
|
7017
|
-
}),
|
|
7018
|
-
abi:
|
|
8093
|
+
}), ra = /* @__PURE__ */ s({
|
|
8094
|
+
abi: c,
|
|
7019
8095
|
functionName: "revokeManyRoles"
|
|
7020
|
-
}),
|
|
7021
|
-
abi:
|
|
8096
|
+
}), ya = /* @__PURE__ */ s({
|
|
8097
|
+
abi: c,
|
|
7022
8098
|
functionName: "revokeRoles"
|
|
7023
|
-
}),
|
|
7024
|
-
abi:
|
|
8099
|
+
}), ua = /* @__PURE__ */ s({
|
|
8100
|
+
abi: c,
|
|
7025
8101
|
functionName: "setAuthorized"
|
|
7026
|
-
}),
|
|
7027
|
-
abi:
|
|
8102
|
+
}), oa = /* @__PURE__ */ i({
|
|
8103
|
+
abi: c,
|
|
7028
8104
|
functionName: "grantManyRoles"
|
|
7029
|
-
}),
|
|
7030
|
-
abi:
|
|
8105
|
+
}), la = /* @__PURE__ */ i({
|
|
8106
|
+
abi: c,
|
|
7031
8107
|
functionName: "grantRoles"
|
|
7032
|
-
}),
|
|
7033
|
-
{ abi:
|
|
7034
|
-
),
|
|
7035
|
-
abi:
|
|
8108
|
+
}), da = /* @__PURE__ */ i(
|
|
8109
|
+
{ abi: c, functionName: "revokeManyRoles" }
|
|
8110
|
+
), ma = /* @__PURE__ */ i({
|
|
8111
|
+
abi: c,
|
|
7036
8112
|
functionName: "revokeRoles"
|
|
7037
|
-
}),
|
|
7038
|
-
abi:
|
|
8113
|
+
}), ba = /* @__PURE__ */ i({
|
|
8114
|
+
abi: c,
|
|
7039
8115
|
functionName: "setAuthorized"
|
|
7040
|
-
}),
|
|
7041
|
-
abi:
|
|
8116
|
+
}), ca = /* @__PURE__ */ t({
|
|
8117
|
+
abi: O,
|
|
7042
8118
|
functionName: "hashSignerData"
|
|
7043
|
-
}),
|
|
7044
|
-
abi:
|
|
8119
|
+
}), Ta = /* @__PURE__ */ t({
|
|
8120
|
+
abi: O,
|
|
7045
8121
|
functionName: "signers"
|
|
7046
|
-
}),
|
|
7047
|
-
abi:
|
|
8122
|
+
}), fa = /* @__PURE__ */ s({
|
|
8123
|
+
abi: O,
|
|
7048
8124
|
functionName: "setAuthorized"
|
|
7049
|
-
}),
|
|
7050
|
-
abi:
|
|
8125
|
+
}), va = /* @__PURE__ */ s({
|
|
8126
|
+
abi: O,
|
|
7051
8127
|
functionName: "setValidatorCaller"
|
|
7052
|
-
}),
|
|
7053
|
-
abi:
|
|
8128
|
+
}), wa = /* @__PURE__ */ s({
|
|
8129
|
+
abi: O,
|
|
7054
8130
|
functionName: "validate"
|
|
7055
|
-
}),
|
|
7056
|
-
abi:
|
|
8131
|
+
}), Ma = /* @__PURE__ */ i({
|
|
8132
|
+
abi: O,
|
|
7057
8133
|
functionName: "setAuthorized"
|
|
7058
|
-
}),
|
|
7059
|
-
abi:
|
|
8134
|
+
}), Ia = /* @__PURE__ */ i({
|
|
8135
|
+
abi: O,
|
|
7060
8136
|
functionName: "setValidatorCaller"
|
|
7061
|
-
}),
|
|
7062
|
-
abi:
|
|
8137
|
+
}), ha = /* @__PURE__ */ i({
|
|
8138
|
+
abi: O,
|
|
7063
8139
|
functionName: "validate"
|
|
7064
|
-
}),
|
|
7065
|
-
abi:
|
|
8140
|
+
}), ga = /* @__PURE__ */ t({
|
|
8141
|
+
abi: H,
|
|
7066
8142
|
functionName: "isAllowed"
|
|
7067
|
-
}),
|
|
7068
|
-
abi:
|
|
8143
|
+
}), Oa = /* @__PURE__ */ t({
|
|
8144
|
+
abi: H,
|
|
7069
8145
|
functionName: "owner"
|
|
7070
|
-
}),
|
|
7071
|
-
{ abi:
|
|
7072
|
-
),
|
|
7073
|
-
abi:
|
|
8146
|
+
}), Aa = /* @__PURE__ */ s(
|
|
8147
|
+
{ abi: H, functionName: "setAllowed" }
|
|
8148
|
+
), Na = /* @__PURE__ */ i({
|
|
8149
|
+
abi: H,
|
|
7074
8150
|
functionName: "setAllowed"
|
|
7075
|
-
}),
|
|
7076
|
-
abi:
|
|
8151
|
+
}), xa = /* @__PURE__ */ t({
|
|
8152
|
+
abi: k,
|
|
7077
8153
|
functionName: "isAllowed"
|
|
7078
|
-
}),
|
|
7079
|
-
abi:
|
|
8154
|
+
}), Ra = /* @__PURE__ */ s({
|
|
8155
|
+
abi: k,
|
|
7080
8156
|
functionName: "setDenied"
|
|
7081
|
-
}),
|
|
7082
|
-
abi:
|
|
8157
|
+
}), za = /* @__PURE__ */ i({
|
|
8158
|
+
abi: k,
|
|
7083
8159
|
functionName: "setDenied"
|
|
7084
8160
|
});
|
|
7085
8161
|
export {
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
8162
|
+
Vn as $,
|
|
8163
|
+
f as A,
|
|
8164
|
+
I as B,
|
|
8165
|
+
k as C,
|
|
8166
|
+
Ln as D,
|
|
8167
|
+
_n as E,
|
|
8168
|
+
O as F,
|
|
8169
|
+
ce as G,
|
|
8170
|
+
Hn as H,
|
|
8171
|
+
la as I,
|
|
8172
|
+
be as J,
|
|
8173
|
+
je as K,
|
|
8174
|
+
kn as L,
|
|
8175
|
+
da as M,
|
|
8176
|
+
Ze as N,
|
|
8177
|
+
H as O,
|
|
8178
|
+
$e as P,
|
|
8179
|
+
Ve as Q,
|
|
8180
|
+
ma as R,
|
|
8181
|
+
Se as S,
|
|
7106
8182
|
T,
|
|
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
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
8183
|
+
Bn as U,
|
|
8184
|
+
Dn as V,
|
|
8185
|
+
Pn as W,
|
|
8186
|
+
Be as X,
|
|
8187
|
+
ta as Y,
|
|
8188
|
+
Un as Z,
|
|
8189
|
+
se as _,
|
|
8190
|
+
V as a,
|
|
8191
|
+
qt as a$,
|
|
8192
|
+
Ue as a0,
|
|
8193
|
+
Pe as a1,
|
|
8194
|
+
Zn as a2,
|
|
8195
|
+
oe as a3,
|
|
8196
|
+
In as a4,
|
|
8197
|
+
Tn as a5,
|
|
8198
|
+
hn as a6,
|
|
8199
|
+
fn as a7,
|
|
8200
|
+
gn as a8,
|
|
8201
|
+
vn as a9,
|
|
8202
|
+
et as aA,
|
|
8203
|
+
Qe as aB,
|
|
8204
|
+
Ge as aC,
|
|
8205
|
+
Ke as aD,
|
|
8206
|
+
tt as aE,
|
|
8207
|
+
it as aF,
|
|
8208
|
+
nt as aG,
|
|
8209
|
+
st as aH,
|
|
8210
|
+
at as aI,
|
|
8211
|
+
Xe as aJ,
|
|
8212
|
+
We as aK,
|
|
8213
|
+
mt as aL,
|
|
8214
|
+
ut as aM,
|
|
8215
|
+
yt as aN,
|
|
8216
|
+
rt as aO,
|
|
8217
|
+
pt as aP,
|
|
8218
|
+
ct as aQ,
|
|
8219
|
+
bt as aR,
|
|
8220
|
+
dt as aS,
|
|
8221
|
+
ot as aT,
|
|
8222
|
+
wt as aU,
|
|
8223
|
+
Tt as aV,
|
|
8224
|
+
Mt as aW,
|
|
8225
|
+
ft as aX,
|
|
8226
|
+
lt as aY,
|
|
8227
|
+
It as aZ,
|
|
8228
|
+
vt as a_,
|
|
8229
|
+
On as aa,
|
|
8230
|
+
wn as ab,
|
|
8231
|
+
An as ac,
|
|
8232
|
+
Mn as ad,
|
|
8233
|
+
bn as ae,
|
|
8234
|
+
cn as af,
|
|
8235
|
+
dn as ag,
|
|
8236
|
+
mn as ah,
|
|
8237
|
+
Ie as ai,
|
|
8238
|
+
ve as aj,
|
|
8239
|
+
he as ak,
|
|
8240
|
+
fe as al,
|
|
8241
|
+
Te as am,
|
|
8242
|
+
Me as an,
|
|
8243
|
+
Oe as ao,
|
|
8244
|
+
ge as ap,
|
|
8245
|
+
we as aq,
|
|
8246
|
+
Oa as ar,
|
|
8247
|
+
ga as as,
|
|
8248
|
+
Na as at,
|
|
8249
|
+
Aa as au,
|
|
8250
|
+
xa as av,
|
|
8251
|
+
za as aw,
|
|
8252
|
+
Ra as ax,
|
|
8253
|
+
Je as ay,
|
|
8254
|
+
Ye as az,
|
|
8255
|
+
l as b,
|
|
8256
|
+
Jt as b$,
|
|
8257
|
+
Lt as b0,
|
|
8258
|
+
$t as b1,
|
|
8259
|
+
Gt as b2,
|
|
8260
|
+
Ut as b3,
|
|
8261
|
+
Pt as b4,
|
|
8262
|
+
Bt as b5,
|
|
8263
|
+
St as b6,
|
|
8264
|
+
jt as b7,
|
|
8265
|
+
Zt as b8,
|
|
8266
|
+
Yt as b9,
|
|
8267
|
+
un as bA,
|
|
8268
|
+
pn as bB,
|
|
8269
|
+
on as bC,
|
|
8270
|
+
rn as bD,
|
|
8271
|
+
zn as bE,
|
|
8272
|
+
xn as bF,
|
|
8273
|
+
Cn as bG,
|
|
8274
|
+
Rn as bH,
|
|
8275
|
+
Nn as bI,
|
|
8276
|
+
le as bJ,
|
|
8277
|
+
zt as bK,
|
|
8278
|
+
At as bL,
|
|
8279
|
+
Ot as bM,
|
|
8280
|
+
Ht as bN,
|
|
8281
|
+
gt as bO,
|
|
8282
|
+
ht as bP,
|
|
8283
|
+
Ct as bQ,
|
|
8284
|
+
_t as bR,
|
|
8285
|
+
Rt as bS,
|
|
8286
|
+
Ft as bT,
|
|
8287
|
+
Et as bU,
|
|
8288
|
+
kt as bV,
|
|
8289
|
+
Dt as bW,
|
|
8290
|
+
xt as bX,
|
|
8291
|
+
Nt as bY,
|
|
8292
|
+
de as bZ,
|
|
8293
|
+
_ as b_,
|
|
8294
|
+
Kt as ba,
|
|
8295
|
+
Wt as bb,
|
|
8296
|
+
Qt as bc,
|
|
8297
|
+
Vt as bd,
|
|
8298
|
+
jn as be,
|
|
8299
|
+
Gn as bf,
|
|
8300
|
+
Yn as bg,
|
|
8301
|
+
$n as bh,
|
|
8302
|
+
Xn as bi,
|
|
8303
|
+
Qn as bj,
|
|
8304
|
+
Wn as bk,
|
|
8305
|
+
ea as bl,
|
|
8306
|
+
Jn as bm,
|
|
8307
|
+
Kn as bn,
|
|
8308
|
+
Ta as bo,
|
|
8309
|
+
ca as bp,
|
|
8310
|
+
ha as bq,
|
|
8311
|
+
wa as br,
|
|
8312
|
+
Ma as bs,
|
|
8313
|
+
fa as bt,
|
|
8314
|
+
Ia as bu,
|
|
8315
|
+
va as bv,
|
|
8316
|
+
sn as bw,
|
|
8317
|
+
an as bx,
|
|
8318
|
+
ln as by,
|
|
8319
|
+
yn as bz,
|
|
8320
|
+
ba as c,
|
|
8321
|
+
Xt as c0,
|
|
8322
|
+
tn as c1,
|
|
8323
|
+
en as c2,
|
|
8324
|
+
ke as c3,
|
|
8325
|
+
De as c4,
|
|
8326
|
+
Ce as c5,
|
|
8327
|
+
Fe as c6,
|
|
8328
|
+
_e as c7,
|
|
8329
|
+
Ne as c8,
|
|
8330
|
+
xe as c9,
|
|
8331
|
+
nn as ca,
|
|
8332
|
+
Ae as cb,
|
|
8333
|
+
qe as cc,
|
|
8334
|
+
He as cd,
|
|
8335
|
+
Re as ce,
|
|
8336
|
+
ze as cf,
|
|
8337
|
+
Le as cg,
|
|
8338
|
+
Ee as ch,
|
|
8339
|
+
ua as d,
|
|
8340
|
+
oa as e,
|
|
8341
|
+
d as f,
|
|
8342
|
+
M as g,
|
|
8343
|
+
m as h,
|
|
8344
|
+
sa as i,
|
|
8345
|
+
ra as j,
|
|
8346
|
+
ia as k,
|
|
8347
|
+
na as l,
|
|
8348
|
+
ya as m,
|
|
8349
|
+
qn as n,
|
|
8350
|
+
R as o,
|
|
8351
|
+
ue as p,
|
|
8352
|
+
Sn as q,
|
|
8353
|
+
En as r,
|
|
8354
|
+
Fn as s,
|
|
8355
|
+
aa as t,
|
|
8356
|
+
pa as u,
|
|
8357
|
+
b as v,
|
|
8358
|
+
me as w,
|
|
8359
|
+
g as x,
|
|
8360
|
+
h as y,
|
|
8361
|
+
c as z
|
|
7257
8362
|
};
|
|
7258
|
-
//# sourceMappingURL=generated-
|
|
8363
|
+
//# sourceMappingURL=generated-B5pVBNb-.js.map
|