@boostxyz/sdk 0.0.0-alpha.16 → 0.0.0-alpha.17
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.js +8 -8
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +320 -137
- 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.js +3 -3
- package/dist/AllowLists/OpenAllowList.d.ts +183 -0
- package/dist/AllowLists/OpenAllowList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleAllowList.cjs +1 -1
- package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
- package/dist/AllowLists/SimpleAllowList.d.ts +77 -31
- package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleAllowList.js +34 -70
- package/dist/AllowLists/SimpleAllowList.js.map +1 -1
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.d.ts +186 -3
- package/dist/AllowLists/SimpleDenyList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleDenyList.js +4 -4
- package/dist/Auth/PassthroughAuth.cjs +1 -1
- package/dist/Auth/PassthroughAuth.js +1 -1
- package/dist/BoostCore.cjs +2 -2
- package/dist/BoostCore.js +54 -54
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.js +10 -10
- package/dist/Budgets/Budget.cjs +1 -1
- package/dist/Budgets/Budget.cjs.map +1 -1
- package/dist/Budgets/Budget.d.ts.map +1 -1
- package/dist/Budgets/Budget.js +2 -2
- package/dist/Budgets/Budget.js.map +1 -1
- package/dist/Budgets/ManagedBudget.cjs +1 -1
- package/dist/Budgets/ManagedBudget.cjs.map +1 -1
- package/dist/Budgets/ManagedBudget.d.ts +6 -156
- package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
- package/dist/Budgets/ManagedBudget.js +60 -282
- package/dist/Budgets/ManagedBudget.js.map +1 -1
- package/dist/Budgets/VestingBudget.d.ts +158 -54
- package/dist/Budgets/VestingBudget.d.ts.map +1 -1
- package/dist/Deployable/DeployableTarget.cjs +1 -1
- package/dist/Deployable/DeployableTarget.js +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.cjs +2 -0
- package/dist/Deployable/DeployableTargetWithRBAC.cjs.map +1 -0
- package/dist/Deployable/DeployableTargetWithRBAC.d.ts +179 -0
- package/dist/Deployable/DeployableTargetWithRBAC.d.ts.map +1 -0
- package/dist/Deployable/DeployableTargetWithRBAC.js +222 -0
- package/dist/Deployable/DeployableTargetWithRBAC.js.map +1 -0
- package/dist/{Incentive-CtuAJAjG.js → Incentive-DJf-vdyL.js} +23 -23
- package/dist/{Incentive-CtuAJAjG.js.map → Incentive-DJf-vdyL.js.map} +1 -1
- package/dist/{Incentive-CqX3fYEd.cjs → Incentive-DNwROd1r.cjs} +2 -2
- package/dist/{Incentive-CqX3fYEd.cjs.map → Incentive-DNwROd1r.cjs.map} +1 -1
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.js +10 -10
- package/dist/Incentives/CGDAIncentive.cjs +1 -1
- package/dist/Incentives/CGDAIncentive.js +9 -9
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.js +23 -23
- package/dist/Incentives/Incentive.cjs +1 -1
- package/dist/Incentives/Incentive.js +3 -3
- package/dist/Incentives/PointsIncentive.cjs +1 -1
- package/dist/Incentives/PointsIncentive.js +6 -6
- package/dist/SimpleDenyList-DMlUkmAn.cjs +2 -0
- package/dist/SimpleDenyList-DMlUkmAn.cjs.map +1 -0
- package/dist/SimpleDenyList-DvUvmOeE.js +132 -0
- package/dist/SimpleDenyList-DvUvmOeE.js.map +1 -0
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.js +7 -7
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.js +2 -2
- package/dist/componentInterfaces-BPVR_Ykd.js +13 -0
- package/dist/componentInterfaces-BPVR_Ykd.js.map +1 -0
- package/dist/{componentInterfaces-CKCBwG16.cjs → componentInterfaces-BfppSIl4.cjs} +2 -2
- package/dist/componentInterfaces-BfppSIl4.cjs.map +1 -0
- package/dist/generated-CMQ6ZC2_.cjs +3 -0
- package/dist/generated-CMQ6ZC2_.cjs.map +1 -0
- package/dist/{generated-DLMdMwD1.js → generated-C_7Jx3YG.js} +1654 -882
- package/dist/generated-C_7Jx3YG.js.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 +100 -96
- package/dist/index.js.map +1 -1
- package/package.json +10 -3
- package/src/Actions/EventAction.test.ts +138 -0
- package/src/Actions/EventAction.ts +28 -7
- package/src/AllowLists/SimpleAllowList.ts +9 -54
- package/src/AllowLists/SimpleDenyList.ts +6 -3
- package/src/Budgets/Budget.ts +1 -2
- package/src/Budgets/ManagedBudget.ts +3 -277
- package/src/Budgets/VestingBudget.ts +3 -74
- package/src/Deployable/DeployableTargetWithRBAC.ts +323 -0
- package/src/index.test.ts +3 -4
- package/src/index.ts +1 -0
- package/dist/Budgets/SimpleBudget.d.ts +0 -824
- package/dist/Budgets/SimpleBudget.d.ts.map +0 -1
- package/dist/SimpleDenyList-9UIxZZKP.cjs +0 -2
- package/dist/SimpleDenyList-9UIxZZKP.cjs.map +0 -1
- package/dist/SimpleDenyList-DGPNc7ov.js +0 -132
- package/dist/SimpleDenyList-DGPNc7ov.js.map +0 -1
- package/dist/componentInterfaces-CKCBwG16.cjs.map +0 -1
- package/dist/componentInterfaces-Cmg8tUxq.js +0 -13
- package/dist/componentInterfaces-Cmg8tUxq.js.map +0 -1
- package/dist/generated-BLg7yPgI.cjs +0 -3
- package/dist/generated-BLg7yPgI.cjs.map +0 -1
- package/dist/generated-DLMdMwD1.js.map +0 -1
- package/src/Budgets/SimpleBudget.test.ts +0 -152
- package/src/Budgets/SimpleBudget.ts +0 -563
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { simulateContract as
|
|
2
|
-
import { createClient as
|
|
3
|
-
import { parseAccount as
|
|
1
|
+
import { simulateContract as U, readContract as P, writeContract as j } from "viem/actions";
|
|
2
|
+
import { createClient as S, custom as V } from "viem";
|
|
3
|
+
import { parseAccount as Z, getAddress as $ } from "viem/utils";
|
|
4
4
|
function A(t) {
|
|
5
|
-
const a = t.state.current, e = t.state.connections.get(a), i = e == null ? void 0 : e.accounts,
|
|
5
|
+
const a = t.state.current, e = t.state.connections.get(a), i = e == null ? void 0 : e.accounts, u = i == null ? void 0 : i[0], y = t.chains.find((T) => T.id === (e == null ? void 0 : e.chainId)), r = t.state.status;
|
|
6
6
|
switch (r) {
|
|
7
7
|
case "connected":
|
|
8
8
|
return {
|
|
9
|
-
address:
|
|
9
|
+
address: u,
|
|
10
10
|
addresses: i,
|
|
11
|
-
chain:
|
|
11
|
+
chain: y,
|
|
12
12
|
chainId: e == null ? void 0 : e.chainId,
|
|
13
13
|
connector: e == null ? void 0 : e.connector,
|
|
14
14
|
isConnected: !0,
|
|
@@ -19,12 +19,12 @@ function A(t) {
|
|
|
19
19
|
};
|
|
20
20
|
case "reconnecting":
|
|
21
21
|
return {
|
|
22
|
-
address:
|
|
22
|
+
address: u,
|
|
23
23
|
addresses: i,
|
|
24
|
-
chain:
|
|
24
|
+
chain: y,
|
|
25
25
|
chainId: e == null ? void 0 : e.chainId,
|
|
26
26
|
connector: e == null ? void 0 : e.connector,
|
|
27
|
-
isConnected: !!
|
|
27
|
+
isConnected: !!u,
|
|
28
28
|
isConnecting: !1,
|
|
29
29
|
isDisconnected: !1,
|
|
30
30
|
isReconnecting: !0,
|
|
@@ -32,9 +32,9 @@ function A(t) {
|
|
|
32
32
|
};
|
|
33
33
|
case "connecting":
|
|
34
34
|
return {
|
|
35
|
-
address:
|
|
35
|
+
address: u,
|
|
36
36
|
addresses: i,
|
|
37
|
-
chain:
|
|
37
|
+
chain: y,
|
|
38
38
|
chainId: e == null ? void 0 : e.chainId,
|
|
39
39
|
connector: e == null ? void 0 : e.connector,
|
|
40
40
|
isConnected: !1,
|
|
@@ -58,32 +58,32 @@ function A(t) {
|
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function C(t) {
|
|
62
62
|
return t.state.chainId;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function _(t, a, e) {
|
|
65
65
|
const i = t[a.name];
|
|
66
66
|
if (typeof i == "function")
|
|
67
67
|
return i;
|
|
68
|
-
const
|
|
69
|
-
return typeof
|
|
68
|
+
const u = t[e];
|
|
69
|
+
return typeof u == "function" ? u : (y) => a(t, y);
|
|
70
70
|
}
|
|
71
|
-
const
|
|
72
|
-
var
|
|
71
|
+
const G = "2.13.8", W = () => `@wagmi/core@${G}`;
|
|
72
|
+
var D = function(t, a, e, i) {
|
|
73
73
|
if (e === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
|
|
74
74
|
if (typeof a == "function" ? t !== a || !i : !a.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
75
75
|
return e === "m" ? i : e === "a" ? i.call(t) : i ? i.value : a.get(t);
|
|
76
|
-
},
|
|
77
|
-
class
|
|
76
|
+
}, N, F;
|
|
77
|
+
class h extends Error {
|
|
78
78
|
get docsBaseUrl() {
|
|
79
79
|
return "https://wagmi.sh/core";
|
|
80
80
|
}
|
|
81
81
|
get version() {
|
|
82
|
-
return
|
|
82
|
+
return W();
|
|
83
83
|
}
|
|
84
84
|
constructor(a, e = {}) {
|
|
85
85
|
var i;
|
|
86
|
-
super(),
|
|
86
|
+
super(), N.add(this), Object.defineProperty(this, "details", {
|
|
87
87
|
enumerable: !0,
|
|
88
88
|
configurable: !0,
|
|
89
89
|
writable: !0,
|
|
@@ -109,27 +109,27 @@ class I extends Error {
|
|
|
109
109
|
writable: !0,
|
|
110
110
|
value: "WagmiCoreError"
|
|
111
111
|
});
|
|
112
|
-
const
|
|
112
|
+
const u = e.cause instanceof h ? e.cause.details : (i = e.cause) != null && i.message ? e.cause.message : e.details, y = e.cause instanceof h && e.cause.docsPath || e.docsPath;
|
|
113
113
|
this.message = [
|
|
114
114
|
a || "An error occurred.",
|
|
115
115
|
"",
|
|
116
116
|
...e.metaMessages ? [...e.metaMessages, ""] : [],
|
|
117
|
-
...
|
|
118
|
-
`Docs: ${this.docsBaseUrl}${
|
|
117
|
+
...y ? [
|
|
118
|
+
`Docs: ${this.docsBaseUrl}${y}.html${e.docsSlug ? `#${e.docsSlug}` : ""}`
|
|
119
119
|
] : [],
|
|
120
|
-
...
|
|
120
|
+
...u ? [`Details: ${u}`] : [],
|
|
121
121
|
`Version: ${this.version}`
|
|
122
122
|
].join(`
|
|
123
|
-
`), e.cause && (this.cause = e.cause), this.details =
|
|
123
|
+
`), e.cause && (this.cause = e.cause), this.details = u, this.docsPath = y, this.metaMessages = e.metaMessages, this.shortMessage = a;
|
|
124
124
|
}
|
|
125
125
|
walk(a) {
|
|
126
|
-
return
|
|
126
|
+
return D(this, N, "m", F).call(this, this, a);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
return e != null && e(a) ? a : a.cause ?
|
|
129
|
+
N = /* @__PURE__ */ new WeakSet(), F = function t(a, e) {
|
|
130
|
+
return e != null && e(a) ? a : a.cause ? D(this, N, "m", t).call(this, a.cause, e) : a;
|
|
131
131
|
};
|
|
132
|
-
class
|
|
132
|
+
class K extends h {
|
|
133
133
|
constructor() {
|
|
134
134
|
super("Connector not connected."), Object.defineProperty(this, "name", {
|
|
135
135
|
enumerable: !0,
|
|
@@ -139,7 +139,7 @@ class W extends I {
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
class
|
|
142
|
+
class J extends h {
|
|
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 Q extends I {
|
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
class
|
|
152
|
+
class Q extends h {
|
|
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 X extends I {
|
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
class
|
|
167
|
+
class Y extends h {
|
|
168
168
|
constructor({ connector: a }) {
|
|
169
169
|
super(`Connector "${a.name}" unavailable while reconnecting.`, {
|
|
170
170
|
details: [
|
|
@@ -180,118 +180,118 @@ class J extends I {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
async function
|
|
183
|
+
async function B(t, a = {}) {
|
|
184
184
|
let e;
|
|
185
185
|
if (a.connector) {
|
|
186
|
-
const { connector:
|
|
187
|
-
if (t.state.status === "reconnecting" && !
|
|
188
|
-
throw new
|
|
189
|
-
const [
|
|
190
|
-
|
|
191
|
-
|
|
186
|
+
const { connector: o } = a;
|
|
187
|
+
if (t.state.status === "reconnecting" && !o.getAccounts && !o.getChainId)
|
|
188
|
+
throw new Y({ connector: o });
|
|
189
|
+
const [O, L] = await Promise.all([
|
|
190
|
+
o.getAccounts(),
|
|
191
|
+
o.getChainId()
|
|
192
192
|
]);
|
|
193
193
|
e = {
|
|
194
|
-
accounts:
|
|
195
|
-
chainId:
|
|
196
|
-
connector:
|
|
194
|
+
accounts: O,
|
|
195
|
+
chainId: L,
|
|
196
|
+
connector: o
|
|
197
197
|
};
|
|
198
198
|
} else
|
|
199
199
|
e = t.state.connections.get(t.state.current);
|
|
200
200
|
if (!e)
|
|
201
|
-
throw new
|
|
202
|
-
const i = a.chainId ?? e.chainId,
|
|
203
|
-
if (
|
|
204
|
-
throw new
|
|
201
|
+
throw new K();
|
|
202
|
+
const i = a.chainId ?? e.chainId, u = await e.connector.getChainId();
|
|
203
|
+
if (u !== e.chainId)
|
|
204
|
+
throw new Q({
|
|
205
205
|
connectionChainId: e.chainId,
|
|
206
|
-
connectorChainId:
|
|
206
|
+
connectorChainId: u
|
|
207
207
|
});
|
|
208
|
-
const
|
|
209
|
-
if (
|
|
210
|
-
return
|
|
211
|
-
const r =
|
|
212
|
-
if (r.address = $(r.address), a.account && !e.accounts.some((
|
|
213
|
-
throw new
|
|
208
|
+
const y = e.connector;
|
|
209
|
+
if (y.getClient)
|
|
210
|
+
return y.getClient({ chainId: i });
|
|
211
|
+
const r = Z(a.account ?? e.accounts[0]);
|
|
212
|
+
if (r.address = $(r.address), a.account && !e.accounts.some((o) => o.toLowerCase() === r.address.toLowerCase()))
|
|
213
|
+
throw new J({
|
|
214
214
|
address: r.address,
|
|
215
|
-
connector:
|
|
215
|
+
connector: y
|
|
216
216
|
});
|
|
217
|
-
const T = t.chains.find((
|
|
218
|
-
return
|
|
217
|
+
const T = t.chains.find((o) => o.id === i), g = await e.connector.getProvider({ chainId: i });
|
|
218
|
+
return S({
|
|
219
219
|
account: r,
|
|
220
220
|
chain: T,
|
|
221
221
|
name: "Connector Client",
|
|
222
|
-
transport: (
|
|
222
|
+
transport: (o) => V(g)({ ...o, retryCount: 0 })
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
|
-
async function
|
|
226
|
-
const { abi: e, chainId: i, connector:
|
|
225
|
+
async function R(t, a) {
|
|
226
|
+
const { abi: e, chainId: i, connector: u, ...y } = a;
|
|
227
227
|
let r;
|
|
228
|
-
a.account ? r = a.account : r = (await
|
|
228
|
+
a.account ? r = a.account : r = (await B(t, {
|
|
229
229
|
chainId: i,
|
|
230
|
-
connector:
|
|
230
|
+
connector: u
|
|
231
231
|
})).account;
|
|
232
|
-
const T = t.getClient({ chainId: i }),
|
|
232
|
+
const T = t.getClient({ chainId: i }), g = _(T, U, "simulateContract"), { result: o, request: O } = await g({ ...y, abi: e, account: r });
|
|
233
233
|
return {
|
|
234
234
|
chainId: T.chain.id,
|
|
235
|
-
result:
|
|
236
|
-
request: { __mode: "prepared", ...
|
|
235
|
+
result: o,
|
|
236
|
+
request: { __mode: "prepared", ...O, chainId: i }
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
239
|
function s(t) {
|
|
240
240
|
return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
|
|
241
241
|
var i;
|
|
242
|
-
const
|
|
243
|
-
return
|
|
242
|
+
const u = C(a), y = A(a), r = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
|
|
243
|
+
return R(a, {
|
|
244
244
|
...e,
|
|
245
245
|
...t.functionName ? { functionName: t.functionName } : {},
|
|
246
246
|
address: (i = t.address) == null ? void 0 : i[r],
|
|
247
247
|
abi: t.abi
|
|
248
248
|
});
|
|
249
|
-
} : (a, e) =>
|
|
249
|
+
} : (a, e) => R(a, {
|
|
250
250
|
...e,
|
|
251
251
|
...t.address ? { address: t.address } : {},
|
|
252
252
|
...t.functionName ? { functionName: t.functionName } : {},
|
|
253
253
|
abi: t.abi
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
const { chainId: e, ...i } = a,
|
|
258
|
-
return
|
|
256
|
+
function E(t, a) {
|
|
257
|
+
const { chainId: e, ...i } = a, u = t.getClient({ chainId: e });
|
|
258
|
+
return _(u, P, "readContract")(i);
|
|
259
259
|
}
|
|
260
260
|
function n(t) {
|
|
261
261
|
return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
|
|
262
262
|
var i;
|
|
263
|
-
const
|
|
264
|
-
return
|
|
263
|
+
const u = C(a), y = A(a), r = (e == null ? void 0 : e.chainId) ?? y.chainId ?? u;
|
|
264
|
+
return E(a, {
|
|
265
265
|
...e,
|
|
266
266
|
...t.functionName ? { functionName: t.functionName } : {},
|
|
267
267
|
address: (i = t.address) == null ? void 0 : i[r],
|
|
268
268
|
abi: t.abi
|
|
269
269
|
});
|
|
270
|
-
} : (a, e) =>
|
|
270
|
+
} : (a, e) => E(a, {
|
|
271
271
|
...e,
|
|
272
272
|
...t.address ? { address: t.address } : {},
|
|
273
273
|
...t.functionName ? { functionName: t.functionName } : {},
|
|
274
274
|
abi: t.abi
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
-
async function
|
|
278
|
-
const { account: e, chainId: i, connector:
|
|
277
|
+
async function q(t, a) {
|
|
278
|
+
const { account: e, chainId: i, connector: u, __mode: y, ...r } = a;
|
|
279
279
|
let T;
|
|
280
|
-
typeof e == "object" && e.type === "local" ? T = t.getClient({ chainId: i }) : T = await
|
|
281
|
-
const { connector:
|
|
282
|
-
let
|
|
283
|
-
if (
|
|
284
|
-
|
|
280
|
+
typeof e == "object" && e.type === "local" ? T = t.getClient({ chainId: i }) : T = await B(t, { account: e, chainId: i, connector: u });
|
|
281
|
+
const { connector: g } = A(t);
|
|
282
|
+
let o;
|
|
283
|
+
if (y === "prepared" || g != null && g.supportsSimulation)
|
|
284
|
+
o = r;
|
|
285
285
|
else {
|
|
286
|
-
const { request:
|
|
286
|
+
const { request: O } = await R(t, {
|
|
287
287
|
...r,
|
|
288
288
|
account: e,
|
|
289
289
|
chainId: i
|
|
290
290
|
});
|
|
291
|
-
|
|
291
|
+
o = O;
|
|
292
292
|
}
|
|
293
|
-
return await
|
|
294
|
-
...
|
|
293
|
+
return await _(T, j, "writeContract")({
|
|
294
|
+
...o,
|
|
295
295
|
...e ? { account: e } : {},
|
|
296
296
|
chain: i ? { id: i } : null
|
|
297
297
|
});
|
|
@@ -299,22 +299,22 @@ async function D(t, a) {
|
|
|
299
299
|
function p(t) {
|
|
300
300
|
return t.address !== void 0 && typeof t.address == "object" ? (a, e) => {
|
|
301
301
|
var i;
|
|
302
|
-
const
|
|
302
|
+
const u = C(a), y = A(a);
|
|
303
303
|
let r;
|
|
304
|
-
return e.chainId ? r = e.chainId : e.account && e.account ===
|
|
304
|
+
return e.chainId ? r = e.chainId : e.account && e.account === y.address || e.account === void 0 ? r = y.chainId : r = u, q(a, {
|
|
305
305
|
...e,
|
|
306
306
|
...t.functionName ? { functionName: t.functionName } : {},
|
|
307
307
|
address: r ? (i = t.address) == null ? void 0 : i[r] : void 0,
|
|
308
308
|
abi: t.abi
|
|
309
309
|
});
|
|
310
|
-
} : (a, e) =>
|
|
310
|
+
} : (a, e) => q(a, {
|
|
311
311
|
...e,
|
|
312
312
|
...t.address ? { address: t.address } : {},
|
|
313
313
|
...t.functionName ? { functionName: t.functionName } : {},
|
|
314
314
|
abi: t.abi
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
|
-
const
|
|
317
|
+
const ie = [
|
|
318
318
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
319
319
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
320
320
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -416,12 +416,17 @@ const ae = [
|
|
|
416
416
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
417
417
|
stateMutability: "view"
|
|
418
418
|
}
|
|
419
|
-
],
|
|
419
|
+
], se = [
|
|
420
|
+
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
420
421
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
421
422
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
422
423
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
423
424
|
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
425
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
426
|
+
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
427
|
+
{ type: "error", inputs: [], name: "NoHandoverRequest" },
|
|
424
428
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
429
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
425
430
|
{
|
|
426
431
|
type: "event",
|
|
427
432
|
anonymous: !1,
|
|
@@ -436,163 +441,93 @@ const ae = [
|
|
|
436
441
|
name: "Initialized"
|
|
437
442
|
},
|
|
438
443
|
{
|
|
439
|
-
type: "
|
|
440
|
-
|
|
441
|
-
name: "getComponentInterface",
|
|
442
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
443
|
-
stateMutability: "pure"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
type: "function",
|
|
447
|
-
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
448
|
-
name: "initialize",
|
|
449
|
-
outputs: [],
|
|
450
|
-
stateMutability: "nonpayable"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
type: "function",
|
|
454
|
-
inputs: [
|
|
455
|
-
{ name: "user_", internalType: "address", type: "address" },
|
|
456
|
-
{ name: "data_", internalType: "bytes", type: "bytes" }
|
|
457
|
-
],
|
|
458
|
-
name: "isAllowed",
|
|
459
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
460
|
-
stateMutability: "view"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
type: "function",
|
|
464
|
-
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
465
|
-
name: "supportsInterface",
|
|
466
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
467
|
-
stateMutability: "view"
|
|
468
|
-
}
|
|
469
|
-
], se = [
|
|
470
|
-
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
471
|
-
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
472
|
-
{
|
|
473
|
-
type: "error",
|
|
474
|
-
inputs: [
|
|
475
|
-
{ name: "asset", internalType: "address", type: "address" },
|
|
476
|
-
{ name: "available", internalType: "uint256", type: "uint256" },
|
|
477
|
-
{ name: "required", internalType: "uint256", type: "uint256" }
|
|
478
|
-
],
|
|
479
|
-
name: "InsufficientFunds"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
type: "error",
|
|
483
|
-
inputs: [
|
|
484
|
-
{ name: "asset", internalType: "address", type: "address" },
|
|
485
|
-
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
486
|
-
],
|
|
487
|
-
name: "InvalidAllocation"
|
|
488
|
-
},
|
|
489
|
-
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
490
|
-
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
491
|
-
{ type: "error", inputs: [], name: "NotImplemented" },
|
|
492
|
-
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
493
|
-
{
|
|
494
|
-
type: "error",
|
|
444
|
+
type: "event",
|
|
445
|
+
anonymous: !1,
|
|
495
446
|
inputs: [
|
|
496
|
-
{
|
|
497
|
-
|
|
498
|
-
|
|
447
|
+
{
|
|
448
|
+
name: "pendingOwner",
|
|
449
|
+
internalType: "address",
|
|
450
|
+
type: "address",
|
|
451
|
+
indexed: !0
|
|
452
|
+
}
|
|
499
453
|
],
|
|
500
|
-
name: "
|
|
454
|
+
name: "OwnershipHandoverCanceled"
|
|
501
455
|
},
|
|
502
456
|
{
|
|
503
457
|
type: "event",
|
|
504
458
|
anonymous: !1,
|
|
505
459
|
inputs: [
|
|
506
460
|
{
|
|
507
|
-
name: "
|
|
461
|
+
name: "pendingOwner",
|
|
508
462
|
internalType: "address",
|
|
509
463
|
type: "address",
|
|
510
464
|
indexed: !0
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
name: "isAuthorized",
|
|
514
|
-
internalType: "bool",
|
|
515
|
-
type: "bool",
|
|
516
|
-
indexed: !1
|
|
517
465
|
}
|
|
518
466
|
],
|
|
519
|
-
name: "
|
|
467
|
+
name: "OwnershipHandoverRequested"
|
|
520
468
|
},
|
|
521
469
|
{
|
|
522
470
|
type: "event",
|
|
523
471
|
anonymous: !1,
|
|
524
472
|
inputs: [
|
|
525
473
|
{
|
|
526
|
-
name: "
|
|
474
|
+
name: "oldOwner",
|
|
527
475
|
internalType: "address",
|
|
528
476
|
type: "address",
|
|
529
477
|
indexed: !0
|
|
530
478
|
},
|
|
531
|
-
{ name: "to", internalType: "address", type: "address", indexed: !1 },
|
|
532
479
|
{
|
|
533
|
-
name: "
|
|
534
|
-
internalType: "
|
|
535
|
-
type: "
|
|
536
|
-
indexed: !
|
|
480
|
+
name: "newOwner",
|
|
481
|
+
internalType: "address",
|
|
482
|
+
type: "address",
|
|
483
|
+
indexed: !0
|
|
537
484
|
}
|
|
538
485
|
],
|
|
539
|
-
name: "
|
|
486
|
+
name: "OwnershipTransferred"
|
|
540
487
|
},
|
|
541
488
|
{
|
|
542
489
|
type: "event",
|
|
543
490
|
anonymous: !1,
|
|
544
491
|
inputs: [
|
|
492
|
+
{ name: "user", internalType: "address", type: "address", indexed: !0 },
|
|
545
493
|
{
|
|
546
|
-
name: "
|
|
547
|
-
internalType: "
|
|
548
|
-
type: "
|
|
549
|
-
indexed: !
|
|
494
|
+
name: "roles",
|
|
495
|
+
internalType: "uint256",
|
|
496
|
+
type: "uint256",
|
|
497
|
+
indexed: !0
|
|
550
498
|
}
|
|
551
499
|
],
|
|
552
|
-
name: "
|
|
553
|
-
},
|
|
554
|
-
{ type: "fallback", stateMutability: "payable" },
|
|
555
|
-
{
|
|
556
|
-
type: "function",
|
|
557
|
-
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
558
|
-
name: "allocate",
|
|
559
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
560
|
-
stateMutability: "payable"
|
|
500
|
+
name: "RolesUpdated"
|
|
561
501
|
},
|
|
562
502
|
{
|
|
563
503
|
type: "function",
|
|
564
|
-
inputs: [
|
|
565
|
-
name: "
|
|
504
|
+
inputs: [],
|
|
505
|
+
name: "ADMIN_ROLE",
|
|
566
506
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
567
507
|
stateMutability: "view"
|
|
568
508
|
},
|
|
569
509
|
{
|
|
570
510
|
type: "function",
|
|
571
|
-
inputs: [
|
|
572
|
-
name: "
|
|
573
|
-
outputs: [{ name: "", internalType: "
|
|
574
|
-
stateMutability: "
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
type: "function",
|
|
578
|
-
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
579
|
-
name: "disburse",
|
|
580
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
581
|
-
stateMutability: "nonpayable"
|
|
511
|
+
inputs: [],
|
|
512
|
+
name: "MANAGER_ROLE",
|
|
513
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
514
|
+
stateMutability: "view"
|
|
582
515
|
},
|
|
583
516
|
{
|
|
584
517
|
type: "function",
|
|
585
|
-
inputs: [
|
|
586
|
-
name: "
|
|
587
|
-
outputs: [
|
|
588
|
-
stateMutability: "
|
|
518
|
+
inputs: [],
|
|
519
|
+
name: "cancelOwnershipHandover",
|
|
520
|
+
outputs: [],
|
|
521
|
+
stateMutability: "payable"
|
|
589
522
|
},
|
|
590
523
|
{
|
|
591
524
|
type: "function",
|
|
592
|
-
inputs: [
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
525
|
+
inputs: [
|
|
526
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
527
|
+
],
|
|
528
|
+
name: "completeOwnershipHandover",
|
|
529
|
+
outputs: [],
|
|
530
|
+
stateMutability: "payable"
|
|
596
531
|
},
|
|
597
532
|
{
|
|
598
533
|
type: "function",
|
|
@@ -603,287 +538,213 @@ const ae = [
|
|
|
603
538
|
},
|
|
604
539
|
{
|
|
605
540
|
type: "function",
|
|
606
|
-
inputs: [
|
|
607
|
-
|
|
541
|
+
inputs: [
|
|
542
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
543
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
544
|
+
],
|
|
545
|
+
name: "grantRoles",
|
|
546
|
+
outputs: [],
|
|
547
|
+
stateMutability: "payable"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
type: "function",
|
|
551
|
+
inputs: [
|
|
552
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
553
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
554
|
+
],
|
|
555
|
+
name: "grantRoles",
|
|
608
556
|
outputs: [],
|
|
609
557
|
stateMutability: "nonpayable"
|
|
610
558
|
},
|
|
611
559
|
{
|
|
612
560
|
type: "function",
|
|
613
|
-
inputs: [
|
|
614
|
-
|
|
561
|
+
inputs: [
|
|
562
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
563
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
564
|
+
],
|
|
565
|
+
name: "hasAllRoles",
|
|
615
566
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
616
567
|
stateMutability: "view"
|
|
617
568
|
},
|
|
618
569
|
{
|
|
619
570
|
type: "function",
|
|
620
|
-
inputs: [
|
|
621
|
-
|
|
622
|
-
|
|
571
|
+
inputs: [
|
|
572
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
573
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
574
|
+
],
|
|
575
|
+
name: "hasAnyRole",
|
|
576
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
577
|
+
stateMutability: "view"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
type: "function",
|
|
581
|
+
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
582
|
+
name: "initialize",
|
|
583
|
+
outputs: [],
|
|
623
584
|
stateMutability: "nonpayable"
|
|
624
585
|
},
|
|
625
586
|
{
|
|
626
587
|
type: "function",
|
|
627
588
|
inputs: [
|
|
628
|
-
{ name: "
|
|
629
|
-
{ name: "
|
|
589
|
+
{ name: "user_", internalType: "address", type: "address" },
|
|
590
|
+
{ name: "data_", internalType: "bytes", type: "bytes" }
|
|
630
591
|
],
|
|
631
|
-
name: "
|
|
632
|
-
outputs: [],
|
|
633
|
-
stateMutability: "
|
|
592
|
+
name: "isAllowed",
|
|
593
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
594
|
+
stateMutability: "view"
|
|
634
595
|
},
|
|
635
596
|
{
|
|
636
597
|
type: "function",
|
|
637
|
-
inputs: [{ name: "
|
|
638
|
-
name: "
|
|
598
|
+
inputs: [{ name: "account_", internalType: "address", type: "address" }],
|
|
599
|
+
name: "isAuthorized",
|
|
639
600
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
640
601
|
stateMutability: "view"
|
|
641
602
|
},
|
|
642
603
|
{
|
|
643
604
|
type: "function",
|
|
644
|
-
inputs: [
|
|
645
|
-
name: "
|
|
646
|
-
outputs: [{ name: "", internalType: "
|
|
605
|
+
inputs: [],
|
|
606
|
+
name: "owner",
|
|
607
|
+
outputs: [{ name: "result", internalType: "address", type: "address" }],
|
|
647
608
|
stateMutability: "view"
|
|
648
609
|
},
|
|
649
|
-
{ type: "receive", stateMutability: "payable" }
|
|
650
|
-
], B = [
|
|
651
|
-
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
652
|
-
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
653
|
-
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
654
|
-
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
655
|
-
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
656
610
|
{
|
|
657
|
-
type: "
|
|
658
|
-
anonymous: !1,
|
|
611
|
+
type: "function",
|
|
659
612
|
inputs: [
|
|
660
|
-
{
|
|
661
|
-
name: "version",
|
|
662
|
-
internalType: "uint64",
|
|
663
|
-
type: "uint64",
|
|
664
|
-
indexed: !1
|
|
665
|
-
}
|
|
613
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
666
614
|
],
|
|
667
|
-
name: "
|
|
615
|
+
name: "ownershipHandoverExpiresAt",
|
|
616
|
+
outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
|
|
617
|
+
stateMutability: "view"
|
|
668
618
|
},
|
|
669
619
|
{
|
|
670
620
|
type: "function",
|
|
671
621
|
inputs: [],
|
|
672
|
-
name: "
|
|
673
|
-
outputs: [
|
|
674
|
-
stateMutability: "
|
|
622
|
+
name: "renounceOwnership",
|
|
623
|
+
outputs: [],
|
|
624
|
+
stateMutability: "payable"
|
|
675
625
|
},
|
|
676
626
|
{
|
|
677
627
|
type: "function",
|
|
678
|
-
inputs: [{ name: "", internalType: "
|
|
679
|
-
name: "
|
|
628
|
+
inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
629
|
+
name: "renounceRoles",
|
|
680
630
|
outputs: [],
|
|
681
|
-
stateMutability: "
|
|
631
|
+
stateMutability: "payable"
|
|
682
632
|
},
|
|
683
633
|
{
|
|
684
634
|
type: "function",
|
|
685
|
-
inputs: [
|
|
686
|
-
name: "
|
|
687
|
-
outputs: [
|
|
688
|
-
stateMutability: "
|
|
689
|
-
}
|
|
690
|
-
], pe = [
|
|
691
|
-
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
692
|
-
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
693
|
-
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
694
|
-
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
695
|
-
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
696
|
-
{ type: "error", inputs: [], name: "NotClaimable" },
|
|
697
|
-
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
698
|
-
{
|
|
699
|
-
type: "event",
|
|
700
|
-
anonymous: !1,
|
|
701
|
-
inputs: [
|
|
702
|
-
{
|
|
703
|
-
name: "recipient",
|
|
704
|
-
internalType: "address",
|
|
705
|
-
type: "address",
|
|
706
|
-
indexed: !0
|
|
707
|
-
},
|
|
708
|
-
{ name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
|
|
709
|
-
],
|
|
710
|
-
name: "Claimed"
|
|
635
|
+
inputs: [],
|
|
636
|
+
name: "requestOwnershipHandover",
|
|
637
|
+
outputs: [],
|
|
638
|
+
stateMutability: "payable"
|
|
711
639
|
},
|
|
712
640
|
{
|
|
713
|
-
type: "
|
|
714
|
-
anonymous: !1,
|
|
641
|
+
type: "function",
|
|
715
642
|
inputs: [
|
|
716
|
-
{
|
|
717
|
-
|
|
718
|
-
internalType: "uint64",
|
|
719
|
-
type: "uint64",
|
|
720
|
-
indexed: !1
|
|
721
|
-
}
|
|
643
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
644
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
722
645
|
],
|
|
723
|
-
name: "
|
|
646
|
+
name: "revokeRoles",
|
|
647
|
+
outputs: [],
|
|
648
|
+
stateMutability: "payable"
|
|
724
649
|
},
|
|
725
650
|
{
|
|
726
651
|
type: "function",
|
|
727
652
|
inputs: [
|
|
728
|
-
{ name: "
|
|
729
|
-
{ name: "
|
|
653
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
654
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
730
655
|
],
|
|
731
|
-
name: "
|
|
732
|
-
outputs: [
|
|
733
|
-
stateMutability: "nonpayable"
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
type: "function",
|
|
737
|
-
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
738
|
-
name: "claimed",
|
|
739
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
740
|
-
stateMutability: "view"
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
type: "function",
|
|
744
|
-
inputs: [],
|
|
745
|
-
name: "claims",
|
|
746
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
747
|
-
stateMutability: "view"
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
type: "function",
|
|
751
|
-
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
752
|
-
name: "clawback",
|
|
753
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
656
|
+
name: "revokeRoles",
|
|
657
|
+
outputs: [],
|
|
754
658
|
stateMutability: "nonpayable"
|
|
755
659
|
},
|
|
756
660
|
{
|
|
757
661
|
type: "function",
|
|
758
|
-
inputs: [],
|
|
759
|
-
name: "
|
|
760
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
662
|
+
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
663
|
+
name: "rolesOf",
|
|
664
|
+
outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
761
665
|
stateMutability: "view"
|
|
762
666
|
},
|
|
763
667
|
{
|
|
764
668
|
type: "function",
|
|
765
|
-
inputs: [
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
{
|
|
771
|
-
type: "function",
|
|
772
|
-
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
773
|
-
name: "initialize",
|
|
669
|
+
inputs: [
|
|
670
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
671
|
+
{ name: "authorized_", internalType: "bool[]", type: "bool[]" }
|
|
672
|
+
],
|
|
673
|
+
name: "setAuthorized",
|
|
774
674
|
outputs: [],
|
|
775
675
|
stateMutability: "nonpayable"
|
|
776
676
|
},
|
|
777
677
|
{
|
|
778
678
|
type: "function",
|
|
779
|
-
inputs: [
|
|
780
|
-
|
|
781
|
-
{ name: "data_", internalType: "bytes", type: "bytes" }
|
|
782
|
-
],
|
|
783
|
-
name: "isClaimable",
|
|
679
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
680
|
+
name: "supportsInterface",
|
|
784
681
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
785
682
|
stateMutability: "view"
|
|
786
683
|
},
|
|
787
684
|
{
|
|
788
685
|
type: "function",
|
|
789
|
-
inputs: [{ name: "
|
|
790
|
-
name: "
|
|
791
|
-
outputs: [
|
|
792
|
-
stateMutability: "
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
type: "function",
|
|
796
|
-
inputs: [],
|
|
797
|
-
name: "reward",
|
|
798
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
799
|
-
stateMutability: "view"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
type: "function",
|
|
803
|
-
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
804
|
-
name: "supportsInterface",
|
|
805
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
806
|
-
stateMutability: "view"
|
|
686
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
687
|
+
name: "transferOwnership",
|
|
688
|
+
outputs: [],
|
|
689
|
+
stateMutability: "payable"
|
|
807
690
|
}
|
|
808
|
-
],
|
|
691
|
+
], pe = [
|
|
692
|
+
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
809
693
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
810
694
|
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
811
|
-
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
812
|
-
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
813
|
-
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
814
695
|
{
|
|
815
|
-
type: "
|
|
816
|
-
anonymous: !1,
|
|
696
|
+
type: "error",
|
|
817
697
|
inputs: [
|
|
818
|
-
{
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
type: "uint64",
|
|
822
|
-
indexed: !1
|
|
823
|
-
}
|
|
698
|
+
{ name: "asset", internalType: "address", type: "address" },
|
|
699
|
+
{ name: "available", internalType: "uint256", type: "uint256" },
|
|
700
|
+
{ name: "required", internalType: "uint256", type: "uint256" }
|
|
824
701
|
],
|
|
825
|
-
name: "
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
type: "function",
|
|
829
|
-
inputs: [],
|
|
830
|
-
name: "getComponentInterface",
|
|
831
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
832
|
-
stateMutability: "pure"
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
type: "function",
|
|
836
|
-
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
837
|
-
name: "initialize",
|
|
838
|
-
outputs: [],
|
|
839
|
-
stateMutability: "nonpayable"
|
|
840
|
-
},
|
|
841
|
-
{
|
|
842
|
-
type: "function",
|
|
843
|
-
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
844
|
-
name: "supportsInterface",
|
|
845
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
846
|
-
stateMutability: "view"
|
|
702
|
+
name: "InsufficientFunds"
|
|
847
703
|
},
|
|
848
704
|
{
|
|
849
|
-
type: "
|
|
705
|
+
type: "error",
|
|
850
706
|
inputs: [
|
|
851
|
-
{ name: "
|
|
852
|
-
{ name: "
|
|
853
|
-
{ name: "claimant", internalType: "address", type: "address" },
|
|
854
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
707
|
+
{ name: "asset", internalType: "address", type: "address" },
|
|
708
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
855
709
|
],
|
|
856
|
-
name: "
|
|
857
|
-
|
|
858
|
-
stateMutability: "nonpayable"
|
|
859
|
-
}
|
|
860
|
-
], w = [
|
|
861
|
-
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
862
|
-
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
863
|
-
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
864
|
-
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
865
|
-
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
710
|
+
name: "InvalidAllocation"
|
|
711
|
+
},
|
|
866
712
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
867
713
|
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
714
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
868
715
|
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
869
716
|
{ type: "error", inputs: [], name: "NoHandoverRequest" },
|
|
870
|
-
{ type: "error", inputs: [], name: "NotClaimable" },
|
|
871
717
|
{ type: "error", inputs: [], name: "NotImplemented" },
|
|
872
718
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
719
|
+
{
|
|
720
|
+
type: "error",
|
|
721
|
+
inputs: [
|
|
722
|
+
{ name: "asset", internalType: "address", type: "address" },
|
|
723
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
724
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
725
|
+
],
|
|
726
|
+
name: "TransferFailed"
|
|
727
|
+
},
|
|
873
728
|
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
874
729
|
{
|
|
875
730
|
type: "event",
|
|
876
731
|
anonymous: !1,
|
|
877
732
|
inputs: [
|
|
878
733
|
{
|
|
879
|
-
name: "
|
|
734
|
+
name: "asset",
|
|
880
735
|
internalType: "address",
|
|
881
736
|
type: "address",
|
|
882
737
|
indexed: !0
|
|
883
738
|
},
|
|
884
|
-
{ name: "
|
|
739
|
+
{ name: "to", internalType: "address", type: "address", indexed: !1 },
|
|
740
|
+
{
|
|
741
|
+
name: "amount",
|
|
742
|
+
internalType: "uint256",
|
|
743
|
+
type: "uint256",
|
|
744
|
+
indexed: !1
|
|
745
|
+
}
|
|
885
746
|
],
|
|
886
|
-
name: "
|
|
747
|
+
name: "Distributed"
|
|
887
748
|
},
|
|
888
749
|
{
|
|
889
750
|
type: "event",
|
|
@@ -943,52 +804,62 @@ const ae = [
|
|
|
943
804
|
],
|
|
944
805
|
name: "OwnershipTransferred"
|
|
945
806
|
},
|
|
807
|
+
{
|
|
808
|
+
type: "event",
|
|
809
|
+
anonymous: !1,
|
|
810
|
+
inputs: [
|
|
811
|
+
{ name: "user", internalType: "address", type: "address", indexed: !0 },
|
|
812
|
+
{
|
|
813
|
+
name: "roles",
|
|
814
|
+
internalType: "uint256",
|
|
815
|
+
type: "uint256",
|
|
816
|
+
indexed: !0
|
|
817
|
+
}
|
|
818
|
+
],
|
|
819
|
+
name: "RolesUpdated"
|
|
820
|
+
},
|
|
821
|
+
{ type: "fallback", stateMutability: "payable" },
|
|
946
822
|
{
|
|
947
823
|
type: "function",
|
|
948
824
|
inputs: [],
|
|
949
|
-
name: "
|
|
950
|
-
outputs: [
|
|
951
|
-
{ name: "", internalType: "contract SimpleAllowList", type: "address" }
|
|
952
|
-
],
|
|
825
|
+
name: "ADMIN_ROLE",
|
|
826
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
953
827
|
stateMutability: "view"
|
|
954
828
|
},
|
|
955
829
|
{
|
|
956
830
|
type: "function",
|
|
957
831
|
inputs: [],
|
|
958
|
-
name: "
|
|
959
|
-
outputs: [],
|
|
960
|
-
stateMutability: "
|
|
832
|
+
name: "MANAGER_ROLE",
|
|
833
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
834
|
+
stateMutability: "view"
|
|
961
835
|
},
|
|
962
836
|
{
|
|
963
837
|
type: "function",
|
|
964
|
-
inputs: [
|
|
965
|
-
|
|
966
|
-
{ name: "", internalType: "bytes", type: "bytes" }
|
|
967
|
-
],
|
|
968
|
-
name: "claim",
|
|
838
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
839
|
+
name: "allocate",
|
|
969
840
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
970
|
-
stateMutability: "
|
|
841
|
+
stateMutability: "payable"
|
|
971
842
|
},
|
|
972
843
|
{
|
|
973
844
|
type: "function",
|
|
974
|
-
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
975
|
-
name: "
|
|
976
|
-
outputs: [{ name: "", internalType: "
|
|
845
|
+
inputs: [{ name: "asset_", internalType: "address", type: "address" }],
|
|
846
|
+
name: "available",
|
|
847
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
977
848
|
stateMutability: "view"
|
|
978
849
|
},
|
|
979
850
|
{
|
|
980
851
|
type: "function",
|
|
981
852
|
inputs: [],
|
|
982
|
-
name: "
|
|
983
|
-
outputs: [
|
|
984
|
-
stateMutability: "
|
|
853
|
+
name: "cancelOwnershipHandover",
|
|
854
|
+
outputs: [],
|
|
855
|
+
stateMutability: "payable"
|
|
985
856
|
},
|
|
986
857
|
{
|
|
987
858
|
type: "function",
|
|
988
|
-
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
859
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
989
860
|
name: "clawback",
|
|
990
861
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
991
|
-
stateMutability: "
|
|
862
|
+
stateMutability: "nonpayable"
|
|
992
863
|
},
|
|
993
864
|
{
|
|
994
865
|
type: "function",
|
|
@@ -1001,10 +872,547 @@ const ae = [
|
|
|
1001
872
|
},
|
|
1002
873
|
{
|
|
1003
874
|
type: "function",
|
|
1004
|
-
inputs: [],
|
|
1005
|
-
name: "
|
|
1006
|
-
outputs: [{ name: "", internalType: "
|
|
1007
|
-
stateMutability: "
|
|
875
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
876
|
+
name: "disburse",
|
|
877
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
878
|
+
stateMutability: "nonpayable"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
type: "function",
|
|
882
|
+
inputs: [{ name: "data_", internalType: "bytes[]", type: "bytes[]" }],
|
|
883
|
+
name: "disburseBatch",
|
|
884
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
885
|
+
stateMutability: "nonpayable"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
type: "function",
|
|
889
|
+
inputs: [{ name: "asset_", internalType: "address", type: "address" }],
|
|
890
|
+
name: "distributed",
|
|
891
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
892
|
+
stateMutability: "view"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
type: "function",
|
|
896
|
+
inputs: [],
|
|
897
|
+
name: "getComponentInterface",
|
|
898
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
899
|
+
stateMutability: "pure"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
type: "function",
|
|
903
|
+
inputs: [
|
|
904
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
905
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
906
|
+
],
|
|
907
|
+
name: "grantRoles",
|
|
908
|
+
outputs: [],
|
|
909
|
+
stateMutability: "payable"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
type: "function",
|
|
913
|
+
inputs: [
|
|
914
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
915
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
916
|
+
],
|
|
917
|
+
name: "grantRoles",
|
|
918
|
+
outputs: [],
|
|
919
|
+
stateMutability: "nonpayable"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
type: "function",
|
|
923
|
+
inputs: [
|
|
924
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
925
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
926
|
+
],
|
|
927
|
+
name: "hasAllRoles",
|
|
928
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
929
|
+
stateMutability: "view"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
type: "function",
|
|
933
|
+
inputs: [
|
|
934
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
935
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
936
|
+
],
|
|
937
|
+
name: "hasAnyRole",
|
|
938
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
939
|
+
stateMutability: "view"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
type: "function",
|
|
943
|
+
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
944
|
+
name: "initialize",
|
|
945
|
+
outputs: [],
|
|
946
|
+
stateMutability: "nonpayable"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
type: "function",
|
|
950
|
+
inputs: [{ name: "account_", internalType: "address", type: "address" }],
|
|
951
|
+
name: "isAuthorized",
|
|
952
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
953
|
+
stateMutability: "view"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
type: "function",
|
|
957
|
+
inputs: [],
|
|
958
|
+
name: "owner",
|
|
959
|
+
outputs: [{ name: "result", internalType: "address", type: "address" }],
|
|
960
|
+
stateMutability: "view"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
type: "function",
|
|
964
|
+
inputs: [
|
|
965
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
966
|
+
],
|
|
967
|
+
name: "ownershipHandoverExpiresAt",
|
|
968
|
+
outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
|
|
969
|
+
stateMutability: "view"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
type: "function",
|
|
973
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
974
|
+
name: "reconcile",
|
|
975
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
976
|
+
stateMutability: "nonpayable"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
type: "function",
|
|
980
|
+
inputs: [],
|
|
981
|
+
name: "renounceOwnership",
|
|
982
|
+
outputs: [],
|
|
983
|
+
stateMutability: "payable"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
type: "function",
|
|
987
|
+
inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
988
|
+
name: "renounceRoles",
|
|
989
|
+
outputs: [],
|
|
990
|
+
stateMutability: "payable"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
type: "function",
|
|
994
|
+
inputs: [],
|
|
995
|
+
name: "requestOwnershipHandover",
|
|
996
|
+
outputs: [],
|
|
997
|
+
stateMutability: "payable"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
type: "function",
|
|
1001
|
+
inputs: [
|
|
1002
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
1003
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
1004
|
+
],
|
|
1005
|
+
name: "revokeRoles",
|
|
1006
|
+
outputs: [],
|
|
1007
|
+
stateMutability: "payable"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
type: "function",
|
|
1011
|
+
inputs: [
|
|
1012
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
1013
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
1014
|
+
],
|
|
1015
|
+
name: "revokeRoles",
|
|
1016
|
+
outputs: [],
|
|
1017
|
+
stateMutability: "nonpayable"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
type: "function",
|
|
1021
|
+
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
1022
|
+
name: "rolesOf",
|
|
1023
|
+
outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
1024
|
+
stateMutability: "view"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
type: "function",
|
|
1028
|
+
inputs: [
|
|
1029
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
1030
|
+
{ name: "authorized_", internalType: "bool[]", type: "bool[]" }
|
|
1031
|
+
],
|
|
1032
|
+
name: "setAuthorized",
|
|
1033
|
+
outputs: [],
|
|
1034
|
+
stateMutability: "nonpayable"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
type: "function",
|
|
1038
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
1039
|
+
name: "supportsInterface",
|
|
1040
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1041
|
+
stateMutability: "view"
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
type: "function",
|
|
1045
|
+
inputs: [{ name: "asset_", internalType: "address", type: "address" }],
|
|
1046
|
+
name: "total",
|
|
1047
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1048
|
+
stateMutability: "view"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
type: "function",
|
|
1052
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
1053
|
+
name: "transferOwnership",
|
|
1054
|
+
outputs: [],
|
|
1055
|
+
stateMutability: "payable"
|
|
1056
|
+
},
|
|
1057
|
+
{ type: "receive", stateMutability: "payable" }
|
|
1058
|
+
], k = [
|
|
1059
|
+
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
1060
|
+
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
1061
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
1062
|
+
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
1063
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1064
|
+
{
|
|
1065
|
+
type: "event",
|
|
1066
|
+
anonymous: !1,
|
|
1067
|
+
inputs: [
|
|
1068
|
+
{
|
|
1069
|
+
name: "version",
|
|
1070
|
+
internalType: "uint64",
|
|
1071
|
+
type: "uint64",
|
|
1072
|
+
indexed: !1
|
|
1073
|
+
}
|
|
1074
|
+
],
|
|
1075
|
+
name: "Initialized"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
type: "function",
|
|
1079
|
+
inputs: [],
|
|
1080
|
+
name: "getComponentInterface",
|
|
1081
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
1082
|
+
stateMutability: "pure"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
type: "function",
|
|
1086
|
+
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
1087
|
+
name: "initialize",
|
|
1088
|
+
outputs: [],
|
|
1089
|
+
stateMutability: "nonpayable"
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
type: "function",
|
|
1093
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
1094
|
+
name: "supportsInterface",
|
|
1095
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1096
|
+
stateMutability: "view"
|
|
1097
|
+
}
|
|
1098
|
+
], re = [
|
|
1099
|
+
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
1100
|
+
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
1101
|
+
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
1102
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
1103
|
+
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
1104
|
+
{ type: "error", inputs: [], name: "NotClaimable" },
|
|
1105
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1106
|
+
{
|
|
1107
|
+
type: "event",
|
|
1108
|
+
anonymous: !1,
|
|
1109
|
+
inputs: [
|
|
1110
|
+
{
|
|
1111
|
+
name: "recipient",
|
|
1112
|
+
internalType: "address",
|
|
1113
|
+
type: "address",
|
|
1114
|
+
indexed: !0
|
|
1115
|
+
},
|
|
1116
|
+
{ name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
|
|
1117
|
+
],
|
|
1118
|
+
name: "Claimed"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
type: "event",
|
|
1122
|
+
anonymous: !1,
|
|
1123
|
+
inputs: [
|
|
1124
|
+
{
|
|
1125
|
+
name: "version",
|
|
1126
|
+
internalType: "uint64",
|
|
1127
|
+
type: "uint64",
|
|
1128
|
+
indexed: !1
|
|
1129
|
+
}
|
|
1130
|
+
],
|
|
1131
|
+
name: "Initialized"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
type: "function",
|
|
1135
|
+
inputs: [
|
|
1136
|
+
{ name: "claimant", internalType: "address", type: "address" },
|
|
1137
|
+
{ name: "data_", internalType: "bytes", type: "bytes" }
|
|
1138
|
+
],
|
|
1139
|
+
name: "claim",
|
|
1140
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1141
|
+
stateMutability: "nonpayable"
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
type: "function",
|
|
1145
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1146
|
+
name: "claimed",
|
|
1147
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1148
|
+
stateMutability: "view"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
type: "function",
|
|
1152
|
+
inputs: [],
|
|
1153
|
+
name: "claims",
|
|
1154
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1155
|
+
stateMutability: "view"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
type: "function",
|
|
1159
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
1160
|
+
name: "clawback",
|
|
1161
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1162
|
+
stateMutability: "nonpayable"
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
type: "function",
|
|
1166
|
+
inputs: [],
|
|
1167
|
+
name: "currentReward",
|
|
1168
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1169
|
+
stateMutability: "view"
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
type: "function",
|
|
1173
|
+
inputs: [],
|
|
1174
|
+
name: "getComponentInterface",
|
|
1175
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
1176
|
+
stateMutability: "pure"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
type: "function",
|
|
1180
|
+
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
1181
|
+
name: "initialize",
|
|
1182
|
+
outputs: [],
|
|
1183
|
+
stateMutability: "nonpayable"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
type: "function",
|
|
1187
|
+
inputs: [
|
|
1188
|
+
{ name: "claimant", internalType: "address", type: "address" },
|
|
1189
|
+
{ name: "data_", internalType: "bytes", type: "bytes" }
|
|
1190
|
+
],
|
|
1191
|
+
name: "isClaimable",
|
|
1192
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1193
|
+
stateMutability: "view"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
type: "function",
|
|
1197
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
1198
|
+
name: "preflight",
|
|
1199
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
1200
|
+
stateMutability: "view"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
type: "function",
|
|
1204
|
+
inputs: [],
|
|
1205
|
+
name: "reward",
|
|
1206
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1207
|
+
stateMutability: "view"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
type: "function",
|
|
1211
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
1212
|
+
name: "supportsInterface",
|
|
1213
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1214
|
+
stateMutability: "view"
|
|
1215
|
+
}
|
|
1216
|
+
], ue = [
|
|
1217
|
+
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
1218
|
+
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
1219
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
1220
|
+
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
1221
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1222
|
+
{
|
|
1223
|
+
type: "event",
|
|
1224
|
+
anonymous: !1,
|
|
1225
|
+
inputs: [
|
|
1226
|
+
{
|
|
1227
|
+
name: "version",
|
|
1228
|
+
internalType: "uint64",
|
|
1229
|
+
type: "uint64",
|
|
1230
|
+
indexed: !1
|
|
1231
|
+
}
|
|
1232
|
+
],
|
|
1233
|
+
name: "Initialized"
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
type: "function",
|
|
1237
|
+
inputs: [],
|
|
1238
|
+
name: "getComponentInterface",
|
|
1239
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
1240
|
+
stateMutability: "pure"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
type: "function",
|
|
1244
|
+
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
1245
|
+
name: "initialize",
|
|
1246
|
+
outputs: [],
|
|
1247
|
+
stateMutability: "nonpayable"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
type: "function",
|
|
1251
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
1252
|
+
name: "supportsInterface",
|
|
1253
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1254
|
+
stateMutability: "view"
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
type: "function",
|
|
1258
|
+
inputs: [
|
|
1259
|
+
{ name: "boostId", internalType: "uint256", type: "uint256" },
|
|
1260
|
+
{ name: "incentiveId", internalType: "uint256", type: "uint256" },
|
|
1261
|
+
{ name: "claimant", internalType: "address", type: "address" },
|
|
1262
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
1263
|
+
],
|
|
1264
|
+
name: "validate",
|
|
1265
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1266
|
+
stateMutability: "nonpayable"
|
|
1267
|
+
}
|
|
1268
|
+
], v = [
|
|
1269
|
+
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
1270
|
+
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
1271
|
+
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
1272
|
+
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
1273
|
+
{ type: "error", inputs: [], name: "InitializerNotImplemented" },
|
|
1274
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
1275
|
+
{ type: "error", inputs: [], name: "InvalidInitializationData" },
|
|
1276
|
+
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
1277
|
+
{ type: "error", inputs: [], name: "NoHandoverRequest" },
|
|
1278
|
+
{ type: "error", inputs: [], name: "NotClaimable" },
|
|
1279
|
+
{ type: "error", inputs: [], name: "NotImplemented" },
|
|
1280
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1281
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
1282
|
+
{
|
|
1283
|
+
type: "event",
|
|
1284
|
+
anonymous: !1,
|
|
1285
|
+
inputs: [
|
|
1286
|
+
{
|
|
1287
|
+
name: "recipient",
|
|
1288
|
+
internalType: "address",
|
|
1289
|
+
type: "address",
|
|
1290
|
+
indexed: !0
|
|
1291
|
+
},
|
|
1292
|
+
{ name: "data", internalType: "bytes", type: "bytes", indexed: !1 }
|
|
1293
|
+
],
|
|
1294
|
+
name: "Claimed"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
type: "event",
|
|
1298
|
+
anonymous: !1,
|
|
1299
|
+
inputs: [
|
|
1300
|
+
{
|
|
1301
|
+
name: "version",
|
|
1302
|
+
internalType: "uint64",
|
|
1303
|
+
type: "uint64",
|
|
1304
|
+
indexed: !1
|
|
1305
|
+
}
|
|
1306
|
+
],
|
|
1307
|
+
name: "Initialized"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
type: "event",
|
|
1311
|
+
anonymous: !1,
|
|
1312
|
+
inputs: [
|
|
1313
|
+
{
|
|
1314
|
+
name: "pendingOwner",
|
|
1315
|
+
internalType: "address",
|
|
1316
|
+
type: "address",
|
|
1317
|
+
indexed: !0
|
|
1318
|
+
}
|
|
1319
|
+
],
|
|
1320
|
+
name: "OwnershipHandoverCanceled"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
type: "event",
|
|
1324
|
+
anonymous: !1,
|
|
1325
|
+
inputs: [
|
|
1326
|
+
{
|
|
1327
|
+
name: "pendingOwner",
|
|
1328
|
+
internalType: "address",
|
|
1329
|
+
type: "address",
|
|
1330
|
+
indexed: !0
|
|
1331
|
+
}
|
|
1332
|
+
],
|
|
1333
|
+
name: "OwnershipHandoverRequested"
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
type: "event",
|
|
1337
|
+
anonymous: !1,
|
|
1338
|
+
inputs: [
|
|
1339
|
+
{
|
|
1340
|
+
name: "oldOwner",
|
|
1341
|
+
internalType: "address",
|
|
1342
|
+
type: "address",
|
|
1343
|
+
indexed: !0
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
name: "newOwner",
|
|
1347
|
+
internalType: "address",
|
|
1348
|
+
type: "address",
|
|
1349
|
+
indexed: !0
|
|
1350
|
+
}
|
|
1351
|
+
],
|
|
1352
|
+
name: "OwnershipTransferred"
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
type: "function",
|
|
1356
|
+
inputs: [],
|
|
1357
|
+
name: "allowList",
|
|
1358
|
+
outputs: [
|
|
1359
|
+
{ name: "", internalType: "contract SimpleAllowList", type: "address" }
|
|
1360
|
+
],
|
|
1361
|
+
stateMutability: "view"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
type: "function",
|
|
1365
|
+
inputs: [],
|
|
1366
|
+
name: "cancelOwnershipHandover",
|
|
1367
|
+
outputs: [],
|
|
1368
|
+
stateMutability: "payable"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
type: "function",
|
|
1372
|
+
inputs: [
|
|
1373
|
+
{ name: "claimTarget", internalType: "address", type: "address" },
|
|
1374
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
1375
|
+
],
|
|
1376
|
+
name: "claim",
|
|
1377
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1378
|
+
stateMutability: "nonpayable"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
type: "function",
|
|
1382
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1383
|
+
name: "claimed",
|
|
1384
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1385
|
+
stateMutability: "view"
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
type: "function",
|
|
1389
|
+
inputs: [],
|
|
1390
|
+
name: "claims",
|
|
1391
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1392
|
+
stateMutability: "view"
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
type: "function",
|
|
1396
|
+
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
1397
|
+
name: "clawback",
|
|
1398
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1399
|
+
stateMutability: "pure"
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
type: "function",
|
|
1403
|
+
inputs: [
|
|
1404
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
1405
|
+
],
|
|
1406
|
+
name: "completeOwnershipHandover",
|
|
1407
|
+
outputs: [],
|
|
1408
|
+
stateMutability: "payable"
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
type: "function",
|
|
1412
|
+
inputs: [],
|
|
1413
|
+
name: "currentReward",
|
|
1414
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1415
|
+
stateMutability: "view"
|
|
1008
1416
|
},
|
|
1009
1417
|
{
|
|
1010
1418
|
type: "function",
|
|
@@ -1095,7 +1503,7 @@ const ae = [
|
|
|
1095
1503
|
outputs: [],
|
|
1096
1504
|
stateMutability: "payable"
|
|
1097
1505
|
}
|
|
1098
|
-
],
|
|
1506
|
+
], l = [
|
|
1099
1507
|
{
|
|
1100
1508
|
type: "constructor",
|
|
1101
1509
|
inputs: [
|
|
@@ -1518,7 +1926,7 @@ const ae = [
|
|
|
1518
1926
|
outputs: [],
|
|
1519
1927
|
stateMutability: "payable"
|
|
1520
1928
|
}
|
|
1521
|
-
],
|
|
1929
|
+
], I = [
|
|
1522
1930
|
{
|
|
1523
1931
|
type: "error",
|
|
1524
1932
|
inputs: [
|
|
@@ -1721,7 +2129,7 @@ const ae = [
|
|
|
1721
2129
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1722
2130
|
stateMutability: "view"
|
|
1723
2131
|
}
|
|
1724
|
-
],
|
|
2132
|
+
], m = [
|
|
1725
2133
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
1726
2134
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
1727
2135
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -1986,7 +2394,7 @@ const ae = [
|
|
|
1986
2394
|
outputs: [],
|
|
1987
2395
|
stateMutability: "payable"
|
|
1988
2396
|
}
|
|
1989
|
-
],
|
|
2397
|
+
], d = [
|
|
1990
2398
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
1991
2399
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
1992
2400
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -2280,7 +2688,7 @@ const ae = [
|
|
|
2280
2688
|
outputs: [],
|
|
2281
2689
|
stateMutability: "payable"
|
|
2282
2690
|
}
|
|
2283
|
-
],
|
|
2691
|
+
], c = [
|
|
2284
2692
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
2285
2693
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
2286
2694
|
{ type: "error", inputs: [], name: "ClaimFailed" },
|
|
@@ -2753,7 +3161,7 @@ const ae = [
|
|
|
2753
3161
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
2754
3162
|
stateMutability: "view"
|
|
2755
3163
|
}
|
|
2756
|
-
],
|
|
3164
|
+
], X = [
|
|
2757
3165
|
{
|
|
2758
3166
|
type: "function",
|
|
2759
3167
|
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
|
@@ -2761,7 +3169,7 @@ const ae = [
|
|
|
2761
3169
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
2762
3170
|
stateMutability: "view"
|
|
2763
3171
|
}
|
|
2764
|
-
],
|
|
3172
|
+
], b = [
|
|
2765
3173
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
2766
3174
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
2767
3175
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -2798,28 +3206,10 @@ const ae = [
|
|
|
2798
3206
|
{ name: "to", internalType: "address", type: "address" },
|
|
2799
3207
|
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
2800
3208
|
],
|
|
2801
|
-
name: "TransferFailed"
|
|
2802
|
-
},
|
|
2803
|
-
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
2804
|
-
{
|
|
2805
|
-
type: "event",
|
|
2806
|
-
anonymous: !1,
|
|
2807
|
-
inputs: [
|
|
2808
|
-
{
|
|
2809
|
-
name: "account",
|
|
2810
|
-
internalType: "address",
|
|
2811
|
-
type: "address",
|
|
2812
|
-
indexed: !0
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
name: "isAuthorized",
|
|
2816
|
-
internalType: "bool",
|
|
2817
|
-
type: "bool",
|
|
2818
|
-
indexed: !1
|
|
2819
|
-
}
|
|
2820
|
-
],
|
|
2821
|
-
name: "Authorized"
|
|
3209
|
+
name: "TransferFailed"
|
|
2822
3210
|
},
|
|
3211
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
3212
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
2823
3213
|
{
|
|
2824
3214
|
type: "event",
|
|
2825
3215
|
anonymous: !1,
|
|
@@ -3205,7 +3595,7 @@ const ae = [
|
|
|
3205
3595
|
stateMutability: "payable"
|
|
3206
3596
|
},
|
|
3207
3597
|
{ type: "receive", stateMutability: "payable" }
|
|
3208
|
-
],
|
|
3598
|
+
], ee = [
|
|
3209
3599
|
{
|
|
3210
3600
|
type: "function",
|
|
3211
3601
|
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
@@ -3379,12 +3769,267 @@ const ae = [
|
|
|
3379
3769
|
{
|
|
3380
3770
|
type: "function",
|
|
3381
3771
|
inputs: [
|
|
3382
|
-
{ name: "user", internalType: "address", type: "address" },
|
|
3383
|
-
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
3772
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
3773
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
3774
|
+
],
|
|
3775
|
+
name: "grantRoles",
|
|
3776
|
+
outputs: [],
|
|
3777
|
+
stateMutability: "payable"
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
type: "function",
|
|
3781
|
+
inputs: [
|
|
3782
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
3783
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
3784
|
+
],
|
|
3785
|
+
name: "hasAllRoles",
|
|
3786
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3787
|
+
stateMutability: "view"
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
type: "function",
|
|
3791
|
+
inputs: [
|
|
3792
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
3793
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
3794
|
+
],
|
|
3795
|
+
name: "hasAnyRole",
|
|
3796
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3797
|
+
stateMutability: "view"
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
type: "function",
|
|
3801
|
+
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
3802
|
+
name: "initialize",
|
|
3803
|
+
outputs: [],
|
|
3804
|
+
stateMutability: "nonpayable"
|
|
3805
|
+
},
|
|
3806
|
+
{
|
|
3807
|
+
type: "function",
|
|
3808
|
+
inputs: [
|
|
3809
|
+
{ name: "claimTarget", internalType: "address", type: "address" },
|
|
3810
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
3811
|
+
],
|
|
3812
|
+
name: "isClaimable",
|
|
3813
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3814
|
+
stateMutability: "view"
|
|
3815
|
+
},
|
|
3816
|
+
{
|
|
3817
|
+
type: "function",
|
|
3818
|
+
inputs: [],
|
|
3819
|
+
name: "limit",
|
|
3820
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3821
|
+
stateMutability: "view"
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
type: "function",
|
|
3825
|
+
inputs: [],
|
|
3826
|
+
name: "owner",
|
|
3827
|
+
outputs: [{ name: "result", internalType: "address", type: "address" }],
|
|
3828
|
+
stateMutability: "view"
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
type: "function",
|
|
3832
|
+
inputs: [
|
|
3833
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
3834
|
+
],
|
|
3835
|
+
name: "ownershipHandoverExpiresAt",
|
|
3836
|
+
outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
|
|
3837
|
+
stateMutability: "view"
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
type: "function",
|
|
3841
|
+
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
3842
|
+
name: "preflight",
|
|
3843
|
+
outputs: [{ name: "budgetData", internalType: "bytes", type: "bytes" }],
|
|
3844
|
+
stateMutability: "pure"
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
type: "function",
|
|
3848
|
+
inputs: [],
|
|
3849
|
+
name: "renounceOwnership",
|
|
3850
|
+
outputs: [],
|
|
3851
|
+
stateMutability: "payable"
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
type: "function",
|
|
3855
|
+
inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
3856
|
+
name: "renounceRoles",
|
|
3857
|
+
outputs: [],
|
|
3858
|
+
stateMutability: "payable"
|
|
3859
|
+
},
|
|
3860
|
+
{
|
|
3861
|
+
type: "function",
|
|
3862
|
+
inputs: [],
|
|
3863
|
+
name: "requestOwnershipHandover",
|
|
3864
|
+
outputs: [],
|
|
3865
|
+
stateMutability: "payable"
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
type: "function",
|
|
3869
|
+
inputs: [
|
|
3870
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
3871
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
3872
|
+
],
|
|
3873
|
+
name: "revokeRoles",
|
|
3874
|
+
outputs: [],
|
|
3875
|
+
stateMutability: "payable"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
type: "function",
|
|
3879
|
+
inputs: [],
|
|
3880
|
+
name: "reward",
|
|
3881
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3882
|
+
stateMutability: "view"
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
type: "function",
|
|
3886
|
+
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
3887
|
+
name: "rolesOf",
|
|
3888
|
+
outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
3889
|
+
stateMutability: "view"
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
type: "function",
|
|
3893
|
+
inputs: [],
|
|
3894
|
+
name: "selector",
|
|
3895
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
3896
|
+
stateMutability: "view"
|
|
3897
|
+
},
|
|
3898
|
+
{
|
|
3899
|
+
type: "function",
|
|
3900
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
3901
|
+
name: "supportsInterface",
|
|
3902
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3903
|
+
stateMutability: "view"
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
type: "function",
|
|
3907
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
3908
|
+
name: "transferOwnership",
|
|
3909
|
+
outputs: [],
|
|
3910
|
+
stateMutability: "payable"
|
|
3911
|
+
},
|
|
3912
|
+
{
|
|
3913
|
+
type: "function",
|
|
3914
|
+
inputs: [],
|
|
3915
|
+
name: "venue",
|
|
3916
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3917
|
+
stateMutability: "view"
|
|
3918
|
+
}
|
|
3919
|
+
], w = [
|
|
3920
|
+
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
3921
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
3922
|
+
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
|
|
3923
|
+
{ type: "error", inputs: [], name: "NoHandoverRequest" },
|
|
3924
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
3925
|
+
{
|
|
3926
|
+
type: "event",
|
|
3927
|
+
anonymous: !1,
|
|
3928
|
+
inputs: [
|
|
3929
|
+
{
|
|
3930
|
+
name: "pendingOwner",
|
|
3931
|
+
internalType: "address",
|
|
3932
|
+
type: "address",
|
|
3933
|
+
indexed: !0
|
|
3934
|
+
}
|
|
3935
|
+
],
|
|
3936
|
+
name: "OwnershipHandoverCanceled"
|
|
3937
|
+
},
|
|
3938
|
+
{
|
|
3939
|
+
type: "event",
|
|
3940
|
+
anonymous: !1,
|
|
3941
|
+
inputs: [
|
|
3942
|
+
{
|
|
3943
|
+
name: "pendingOwner",
|
|
3944
|
+
internalType: "address",
|
|
3945
|
+
type: "address",
|
|
3946
|
+
indexed: !0
|
|
3947
|
+
}
|
|
3948
|
+
],
|
|
3949
|
+
name: "OwnershipHandoverRequested"
|
|
3950
|
+
},
|
|
3951
|
+
{
|
|
3952
|
+
type: "event",
|
|
3953
|
+
anonymous: !1,
|
|
3954
|
+
inputs: [
|
|
3955
|
+
{
|
|
3956
|
+
name: "oldOwner",
|
|
3957
|
+
internalType: "address",
|
|
3958
|
+
type: "address",
|
|
3959
|
+
indexed: !0
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
name: "newOwner",
|
|
3963
|
+
internalType: "address",
|
|
3964
|
+
type: "address",
|
|
3965
|
+
indexed: !0
|
|
3966
|
+
}
|
|
3967
|
+
],
|
|
3968
|
+
name: "OwnershipTransferred"
|
|
3969
|
+
},
|
|
3970
|
+
{
|
|
3971
|
+
type: "event",
|
|
3972
|
+
anonymous: !1,
|
|
3973
|
+
inputs: [
|
|
3974
|
+
{ name: "user", internalType: "address", type: "address", indexed: !0 },
|
|
3975
|
+
{
|
|
3976
|
+
name: "roles",
|
|
3977
|
+
internalType: "uint256",
|
|
3978
|
+
type: "uint256",
|
|
3979
|
+
indexed: !0
|
|
3980
|
+
}
|
|
3981
|
+
],
|
|
3982
|
+
name: "RolesUpdated"
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
type: "function",
|
|
3986
|
+
inputs: [],
|
|
3987
|
+
name: "ADMIN_ROLE",
|
|
3988
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3989
|
+
stateMutability: "view"
|
|
3990
|
+
},
|
|
3991
|
+
{
|
|
3992
|
+
type: "function",
|
|
3993
|
+
inputs: [],
|
|
3994
|
+
name: "MANAGER_ROLE",
|
|
3995
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3996
|
+
stateMutability: "view"
|
|
3997
|
+
},
|
|
3998
|
+
{
|
|
3999
|
+
type: "function",
|
|
4000
|
+
inputs: [],
|
|
4001
|
+
name: "cancelOwnershipHandover",
|
|
4002
|
+
outputs: [],
|
|
4003
|
+
stateMutability: "payable"
|
|
4004
|
+
},
|
|
4005
|
+
{
|
|
4006
|
+
type: "function",
|
|
4007
|
+
inputs: [
|
|
4008
|
+
{ name: "pendingOwner", internalType: "address", type: "address" }
|
|
4009
|
+
],
|
|
4010
|
+
name: "completeOwnershipHandover",
|
|
4011
|
+
outputs: [],
|
|
4012
|
+
stateMutability: "payable"
|
|
4013
|
+
},
|
|
4014
|
+
{
|
|
4015
|
+
type: "function",
|
|
4016
|
+
inputs: [
|
|
4017
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4018
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
4019
|
+
],
|
|
4020
|
+
name: "grantRoles",
|
|
4021
|
+
outputs: [],
|
|
4022
|
+
stateMutability: "payable"
|
|
4023
|
+
},
|
|
4024
|
+
{
|
|
4025
|
+
type: "function",
|
|
4026
|
+
inputs: [
|
|
4027
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4028
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
3384
4029
|
],
|
|
3385
4030
|
name: "grantRoles",
|
|
3386
4031
|
outputs: [],
|
|
3387
|
-
stateMutability: "
|
|
4032
|
+
stateMutability: "nonpayable"
|
|
3388
4033
|
},
|
|
3389
4034
|
{
|
|
3390
4035
|
type: "function",
|
|
@@ -3408,28 +4053,11 @@ const ae = [
|
|
|
3408
4053
|
},
|
|
3409
4054
|
{
|
|
3410
4055
|
type: "function",
|
|
3411
|
-
inputs: [{ name: "
|
|
3412
|
-
name: "
|
|
3413
|
-
outputs: [],
|
|
3414
|
-
stateMutability: "nonpayable"
|
|
3415
|
-
},
|
|
3416
|
-
{
|
|
3417
|
-
type: "function",
|
|
3418
|
-
inputs: [
|
|
3419
|
-
{ name: "claimTarget", internalType: "address", type: "address" },
|
|
3420
|
-
{ name: "", internalType: "bytes", type: "bytes" }
|
|
3421
|
-
],
|
|
3422
|
-
name: "isClaimable",
|
|
4056
|
+
inputs: [{ name: "account_", internalType: "address", type: "address" }],
|
|
4057
|
+
name: "isAuthorized",
|
|
3423
4058
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3424
4059
|
stateMutability: "view"
|
|
3425
4060
|
},
|
|
3426
|
-
{
|
|
3427
|
-
type: "function",
|
|
3428
|
-
inputs: [],
|
|
3429
|
-
name: "limit",
|
|
3430
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3431
|
-
stateMutability: "view"
|
|
3432
|
-
},
|
|
3433
4061
|
{
|
|
3434
4062
|
type: "function",
|
|
3435
4063
|
inputs: [],
|
|
@@ -3446,13 +4074,6 @@ const ae = [
|
|
|
3446
4074
|
outputs: [{ name: "result", internalType: "uint256", type: "uint256" }],
|
|
3447
4075
|
stateMutability: "view"
|
|
3448
4076
|
},
|
|
3449
|
-
{
|
|
3450
|
-
type: "function",
|
|
3451
|
-
inputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
3452
|
-
name: "preflight",
|
|
3453
|
-
outputs: [{ name: "budgetData", internalType: "bytes", type: "bytes" }],
|
|
3454
|
-
stateMutability: "pure"
|
|
3455
|
-
},
|
|
3456
4077
|
{
|
|
3457
4078
|
type: "function",
|
|
3458
4079
|
inputs: [],
|
|
@@ -3486,10 +4107,13 @@ const ae = [
|
|
|
3486
4107
|
},
|
|
3487
4108
|
{
|
|
3488
4109
|
type: "function",
|
|
3489
|
-
inputs: [
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
4110
|
+
inputs: [
|
|
4111
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4112
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
4113
|
+
],
|
|
4114
|
+
name: "revokeRoles",
|
|
4115
|
+
outputs: [],
|
|
4116
|
+
stateMutability: "nonpayable"
|
|
3493
4117
|
},
|
|
3494
4118
|
{
|
|
3495
4119
|
type: "function",
|
|
@@ -3500,17 +4124,13 @@ const ae = [
|
|
|
3500
4124
|
},
|
|
3501
4125
|
{
|
|
3502
4126
|
type: "function",
|
|
3503
|
-
inputs: [
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
3511
|
-
name: "supportsInterface",
|
|
3512
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3513
|
-
stateMutability: "view"
|
|
4127
|
+
inputs: [
|
|
4128
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4129
|
+
{ name: "authorized_", internalType: "bool[]", type: "bool[]" }
|
|
4130
|
+
],
|
|
4131
|
+
name: "setAuthorized",
|
|
4132
|
+
outputs: [],
|
|
4133
|
+
stateMutability: "nonpayable"
|
|
3514
4134
|
},
|
|
3515
4135
|
{
|
|
3516
4136
|
type: "function",
|
|
@@ -3518,15 +4138,8 @@ const ae = [
|
|
|
3518
4138
|
name: "transferOwnership",
|
|
3519
4139
|
outputs: [],
|
|
3520
4140
|
stateMutability: "payable"
|
|
3521
|
-
},
|
|
3522
|
-
{
|
|
3523
|
-
type: "function",
|
|
3524
|
-
inputs: [],
|
|
3525
|
-
name: "venue",
|
|
3526
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3527
|
-
stateMutability: "view"
|
|
3528
4141
|
}
|
|
3529
|
-
],
|
|
4142
|
+
], M = [
|
|
3530
4143
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
3531
4144
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
3532
4145
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -3744,7 +4357,7 @@ const ae = [
|
|
|
3744
4357
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3745
4358
|
stateMutability: "nonpayable"
|
|
3746
4359
|
}
|
|
3747
|
-
],
|
|
4360
|
+
], x = [
|
|
3748
4361
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
3749
4362
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
3750
4363
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -3756,6 +4369,7 @@ const ae = [
|
|
|
3756
4369
|
{ type: "error", inputs: [], name: "NoHandoverRequest" },
|
|
3757
4370
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
3758
4371
|
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
4372
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
3759
4373
|
{
|
|
3760
4374
|
type: "event",
|
|
3761
4375
|
anonymous: !1,
|
|
@@ -3831,7 +4445,14 @@ const ae = [
|
|
|
3831
4445
|
{
|
|
3832
4446
|
type: "function",
|
|
3833
4447
|
inputs: [],
|
|
3834
|
-
name: "
|
|
4448
|
+
name: "ADMIN_ROLE",
|
|
4449
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4450
|
+
stateMutability: "view"
|
|
4451
|
+
},
|
|
4452
|
+
{
|
|
4453
|
+
type: "function",
|
|
4454
|
+
inputs: [],
|
|
4455
|
+
name: "MANAGER_ROLE",
|
|
3835
4456
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3836
4457
|
stateMutability: "view"
|
|
3837
4458
|
},
|
|
@@ -3868,6 +4489,16 @@ const ae = [
|
|
|
3868
4489
|
outputs: [],
|
|
3869
4490
|
stateMutability: "payable"
|
|
3870
4491
|
},
|
|
4492
|
+
{
|
|
4493
|
+
type: "function",
|
|
4494
|
+
inputs: [
|
|
4495
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4496
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
4497
|
+
],
|
|
4498
|
+
name: "grantRoles",
|
|
4499
|
+
outputs: [],
|
|
4500
|
+
stateMutability: "nonpayable"
|
|
4501
|
+
},
|
|
3871
4502
|
{
|
|
3872
4503
|
type: "function",
|
|
3873
4504
|
inputs: [
|
|
@@ -3905,6 +4536,13 @@ const ae = [
|
|
|
3905
4536
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3906
4537
|
stateMutability: "view"
|
|
3907
4538
|
},
|
|
4539
|
+
{
|
|
4540
|
+
type: "function",
|
|
4541
|
+
inputs: [{ name: "account_", internalType: "address", type: "address" }],
|
|
4542
|
+
name: "isAuthorized",
|
|
4543
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4544
|
+
stateMutability: "view"
|
|
4545
|
+
},
|
|
3908
4546
|
{
|
|
3909
4547
|
type: "function",
|
|
3910
4548
|
inputs: [],
|
|
@@ -3952,6 +4590,16 @@ const ae = [
|
|
|
3952
4590
|
outputs: [],
|
|
3953
4591
|
stateMutability: "payable"
|
|
3954
4592
|
},
|
|
4593
|
+
{
|
|
4594
|
+
type: "function",
|
|
4595
|
+
inputs: [
|
|
4596
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4597
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
4598
|
+
],
|
|
4599
|
+
name: "revokeRoles",
|
|
4600
|
+
outputs: [],
|
|
4601
|
+
stateMutability: "nonpayable"
|
|
4602
|
+
},
|
|
3955
4603
|
{
|
|
3956
4604
|
type: "function",
|
|
3957
4605
|
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
@@ -3969,6 +4617,16 @@ const ae = [
|
|
|
3969
4617
|
outputs: [],
|
|
3970
4618
|
stateMutability: "nonpayable"
|
|
3971
4619
|
},
|
|
4620
|
+
{
|
|
4621
|
+
type: "function",
|
|
4622
|
+
inputs: [
|
|
4623
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4624
|
+
{ name: "authorized_", internalType: "bool[]", type: "bool[]" }
|
|
4625
|
+
],
|
|
4626
|
+
name: "setAuthorized",
|
|
4627
|
+
outputs: [],
|
|
4628
|
+
stateMutability: "nonpayable"
|
|
4629
|
+
},
|
|
3972
4630
|
{
|
|
3973
4631
|
type: "function",
|
|
3974
4632
|
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
@@ -3983,7 +4641,7 @@ const ae = [
|
|
|
3983
4641
|
outputs: [],
|
|
3984
4642
|
stateMutability: "payable"
|
|
3985
4643
|
}
|
|
3986
|
-
],
|
|
4644
|
+
], H = [
|
|
3987
4645
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
3988
4646
|
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
3989
4647
|
{ type: "error", inputs: [], name: "CloneAlreadyInitialized" },
|
|
@@ -3995,6 +4653,7 @@ const ae = [
|
|
|
3995
4653
|
{ type: "error", inputs: [], name: "NoHandoverRequest" },
|
|
3996
4654
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
3997
4655
|
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
4656
|
+
{ type: "error", inputs: [], name: "Unauthorized" },
|
|
3998
4657
|
{
|
|
3999
4658
|
type: "event",
|
|
4000
4659
|
anonymous: !1,
|
|
@@ -4053,6 +4712,34 @@ const ae = [
|
|
|
4053
4712
|
],
|
|
4054
4713
|
name: "OwnershipTransferred"
|
|
4055
4714
|
},
|
|
4715
|
+
{
|
|
4716
|
+
type: "event",
|
|
4717
|
+
anonymous: !1,
|
|
4718
|
+
inputs: [
|
|
4719
|
+
{ name: "user", internalType: "address", type: "address", indexed: !0 },
|
|
4720
|
+
{
|
|
4721
|
+
name: "roles",
|
|
4722
|
+
internalType: "uint256",
|
|
4723
|
+
type: "uint256",
|
|
4724
|
+
indexed: !0
|
|
4725
|
+
}
|
|
4726
|
+
],
|
|
4727
|
+
name: "RolesUpdated"
|
|
4728
|
+
},
|
|
4729
|
+
{
|
|
4730
|
+
type: "function",
|
|
4731
|
+
inputs: [],
|
|
4732
|
+
name: "ADMIN_ROLE",
|
|
4733
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4734
|
+
stateMutability: "view"
|
|
4735
|
+
},
|
|
4736
|
+
{
|
|
4737
|
+
type: "function",
|
|
4738
|
+
inputs: [],
|
|
4739
|
+
name: "MANAGER_ROLE",
|
|
4740
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4741
|
+
stateMutability: "view"
|
|
4742
|
+
},
|
|
4056
4743
|
{
|
|
4057
4744
|
type: "function",
|
|
4058
4745
|
inputs: [],
|
|
@@ -4076,6 +4763,46 @@ const ae = [
|
|
|
4076
4763
|
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
4077
4764
|
stateMutability: "pure"
|
|
4078
4765
|
},
|
|
4766
|
+
{
|
|
4767
|
+
type: "function",
|
|
4768
|
+
inputs: [
|
|
4769
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4770
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
4771
|
+
],
|
|
4772
|
+
name: "grantRoles",
|
|
4773
|
+
outputs: [],
|
|
4774
|
+
stateMutability: "payable"
|
|
4775
|
+
},
|
|
4776
|
+
{
|
|
4777
|
+
type: "function",
|
|
4778
|
+
inputs: [
|
|
4779
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4780
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
4781
|
+
],
|
|
4782
|
+
name: "grantRoles",
|
|
4783
|
+
outputs: [],
|
|
4784
|
+
stateMutability: "nonpayable"
|
|
4785
|
+
},
|
|
4786
|
+
{
|
|
4787
|
+
type: "function",
|
|
4788
|
+
inputs: [
|
|
4789
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4790
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
4791
|
+
],
|
|
4792
|
+
name: "hasAllRoles",
|
|
4793
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4794
|
+
stateMutability: "view"
|
|
4795
|
+
},
|
|
4796
|
+
{
|
|
4797
|
+
type: "function",
|
|
4798
|
+
inputs: [
|
|
4799
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4800
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
4801
|
+
],
|
|
4802
|
+
name: "hasAnyRole",
|
|
4803
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4804
|
+
stateMutability: "view"
|
|
4805
|
+
},
|
|
4079
4806
|
{
|
|
4080
4807
|
type: "function",
|
|
4081
4808
|
inputs: [{ name: "data_", internalType: "bytes", type: "bytes" }],
|
|
@@ -4093,6 +4820,13 @@ const ae = [
|
|
|
4093
4820
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4094
4821
|
stateMutability: "view"
|
|
4095
4822
|
},
|
|
4823
|
+
{
|
|
4824
|
+
type: "function",
|
|
4825
|
+
inputs: [{ name: "account_", internalType: "address", type: "address" }],
|
|
4826
|
+
name: "isAuthorized",
|
|
4827
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4828
|
+
stateMutability: "view"
|
|
4829
|
+
},
|
|
4096
4830
|
{
|
|
4097
4831
|
type: "function",
|
|
4098
4832
|
inputs: [],
|
|
@@ -4116,6 +4850,13 @@ const ae = [
|
|
|
4116
4850
|
outputs: [],
|
|
4117
4851
|
stateMutability: "payable"
|
|
4118
4852
|
},
|
|
4853
|
+
{
|
|
4854
|
+
type: "function",
|
|
4855
|
+
inputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
4856
|
+
name: "renounceRoles",
|
|
4857
|
+
outputs: [],
|
|
4858
|
+
stateMutability: "payable"
|
|
4859
|
+
},
|
|
4119
4860
|
{
|
|
4120
4861
|
type: "function",
|
|
4121
4862
|
inputs: [],
|
|
@@ -4123,6 +4864,43 @@ const ae = [
|
|
|
4123
4864
|
outputs: [],
|
|
4124
4865
|
stateMutability: "payable"
|
|
4125
4866
|
},
|
|
4867
|
+
{
|
|
4868
|
+
type: "function",
|
|
4869
|
+
inputs: [
|
|
4870
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4871
|
+
{ name: "roles", internalType: "uint256", type: "uint256" }
|
|
4872
|
+
],
|
|
4873
|
+
name: "revokeRoles",
|
|
4874
|
+
outputs: [],
|
|
4875
|
+
stateMutability: "payable"
|
|
4876
|
+
},
|
|
4877
|
+
{
|
|
4878
|
+
type: "function",
|
|
4879
|
+
inputs: [
|
|
4880
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4881
|
+
{ name: "roles_", internalType: "uint256[]", type: "uint256[]" }
|
|
4882
|
+
],
|
|
4883
|
+
name: "revokeRoles",
|
|
4884
|
+
outputs: [],
|
|
4885
|
+
stateMutability: "nonpayable"
|
|
4886
|
+
},
|
|
4887
|
+
{
|
|
4888
|
+
type: "function",
|
|
4889
|
+
inputs: [{ name: "user", internalType: "address", type: "address" }],
|
|
4890
|
+
name: "rolesOf",
|
|
4891
|
+
outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
|
|
4892
|
+
stateMutability: "view"
|
|
4893
|
+
},
|
|
4894
|
+
{
|
|
4895
|
+
type: "function",
|
|
4896
|
+
inputs: [
|
|
4897
|
+
{ name: "accounts_", internalType: "address[]", type: "address[]" },
|
|
4898
|
+
{ name: "authorized_", internalType: "bool[]", type: "bool[]" }
|
|
4899
|
+
],
|
|
4900
|
+
name: "setAuthorized",
|
|
4901
|
+
outputs: [],
|
|
4902
|
+
stateMutability: "nonpayable"
|
|
4903
|
+
},
|
|
4126
4904
|
{
|
|
4127
4905
|
type: "function",
|
|
4128
4906
|
inputs: [
|
|
@@ -4148,538 +4926,532 @@ const ae = [
|
|
|
4148
4926
|
stateMutability: "payable"
|
|
4149
4927
|
}
|
|
4150
4928
|
], ye = /* @__PURE__ */ n({
|
|
4151
|
-
abi:
|
|
4929
|
+
abi: k,
|
|
4152
4930
|
functionName: "getComponentInterface"
|
|
4153
|
-
}),
|
|
4154
|
-
{ abi:
|
|
4155
|
-
),
|
|
4156
|
-
{ abi:
|
|
4157
|
-
),
|
|
4158
|
-
abi:
|
|
4931
|
+
}), oe = /* @__PURE__ */ n(
|
|
4932
|
+
{ abi: k, functionName: "supportsInterface" }
|
|
4933
|
+
), le = /* @__PURE__ */ n(
|
|
4934
|
+
{ abi: v, functionName: "allowList" }
|
|
4935
|
+
), de = /* @__PURE__ */ n({
|
|
4936
|
+
abi: v,
|
|
4159
4937
|
functionName: "claimed"
|
|
4160
|
-
}), de = /* @__PURE__ */ n({
|
|
4161
|
-
abi: w,
|
|
4162
|
-
functionName: "claims"
|
|
4163
4938
|
}), me = /* @__PURE__ */ n({
|
|
4164
|
-
abi:
|
|
4165
|
-
functionName: "
|
|
4939
|
+
abi: v,
|
|
4940
|
+
functionName: "claims"
|
|
4166
4941
|
}), ce = /* @__PURE__ */ n({
|
|
4167
|
-
abi:
|
|
4168
|
-
functionName: "
|
|
4942
|
+
abi: v,
|
|
4943
|
+
functionName: "isClaimable"
|
|
4169
4944
|
}), be = /* @__PURE__ */ n({
|
|
4170
|
-
abi:
|
|
4171
|
-
functionName: "
|
|
4945
|
+
abi: v,
|
|
4946
|
+
functionName: "limit"
|
|
4172
4947
|
}), Te = /* @__PURE__ */ n({
|
|
4173
|
-
abi:
|
|
4948
|
+
abi: v,
|
|
4949
|
+
functionName: "owner"
|
|
4950
|
+
}), fe = /* @__PURE__ */ n({
|
|
4951
|
+
abi: v,
|
|
4174
4952
|
functionName: "reward"
|
|
4175
|
-
}),
|
|
4176
|
-
abi:
|
|
4953
|
+
}), we = /* @__PURE__ */ p({
|
|
4954
|
+
abi: v,
|
|
4177
4955
|
functionName: "claim"
|
|
4178
|
-
}),
|
|
4179
|
-
abi:
|
|
4956
|
+
}), ve = /* @__PURE__ */ s({
|
|
4957
|
+
abi: v,
|
|
4180
4958
|
functionName: "claim"
|
|
4181
|
-
}),
|
|
4182
|
-
abi:
|
|
4959
|
+
}), Me = /* @__PURE__ */ n({
|
|
4960
|
+
abi: l,
|
|
4183
4961
|
functionName: "claimFee"
|
|
4184
|
-
}),
|
|
4185
|
-
abi:
|
|
4962
|
+
}), he = /* @__PURE__ */ n({
|
|
4963
|
+
abi: l,
|
|
4186
4964
|
functionName: "createBoostAuth"
|
|
4187
|
-
}),
|
|
4188
|
-
abi:
|
|
4965
|
+
}), Ie = /* @__PURE__ */ n({
|
|
4966
|
+
abi: l,
|
|
4189
4967
|
functionName: "getBoost"
|
|
4190
|
-
}), he = /* @__PURE__ */ n({
|
|
4191
|
-
abi: d,
|
|
4192
|
-
functionName: "getBoostCount"
|
|
4193
4968
|
}), ge = /* @__PURE__ */ n({
|
|
4194
|
-
abi:
|
|
4969
|
+
abi: l,
|
|
4970
|
+
functionName: "getBoostCount"
|
|
4971
|
+
}), Oe = /* @__PURE__ */ n({
|
|
4972
|
+
abi: l,
|
|
4195
4973
|
functionName: "protocolFee"
|
|
4196
4974
|
}), Ne = /* @__PURE__ */ n({
|
|
4197
|
-
abi:
|
|
4975
|
+
abi: l,
|
|
4198
4976
|
functionName: "protocolFeeReceiver"
|
|
4199
|
-
}), Oe = /* @__PURE__ */ p({
|
|
4200
|
-
abi: d,
|
|
4201
|
-
functionName: "claimIncentive"
|
|
4202
4977
|
}), Ae = /* @__PURE__ */ p({
|
|
4203
|
-
abi:
|
|
4204
|
-
functionName: "
|
|
4978
|
+
abi: l,
|
|
4979
|
+
functionName: "claimIncentive"
|
|
4205
4980
|
}), ze = /* @__PURE__ */ p({
|
|
4206
|
-
abi:
|
|
4981
|
+
abi: l,
|
|
4982
|
+
functionName: "claimIncentiveFor"
|
|
4983
|
+
}), xe = /* @__PURE__ */ p({
|
|
4984
|
+
abi: l,
|
|
4207
4985
|
functionName: "setClaimFee"
|
|
4208
|
-
}),
|
|
4209
|
-
abi:
|
|
4986
|
+
}), Re = /* @__PURE__ */ p({
|
|
4987
|
+
abi: l,
|
|
4210
4988
|
functionName: "setCreateBoostAuth"
|
|
4211
|
-
}),
|
|
4212
|
-
abi:
|
|
4989
|
+
}), Ce = /* @__PURE__ */ p({
|
|
4990
|
+
abi: l,
|
|
4213
4991
|
functionName: "setProtocolFeeReceiver"
|
|
4214
|
-
}), Re = /* @__PURE__ */ s({
|
|
4215
|
-
abi: d,
|
|
4216
|
-
functionName: "claimIncentive"
|
|
4217
4992
|
}), _e = /* @__PURE__ */ s({
|
|
4218
|
-
abi:
|
|
4219
|
-
functionName: "
|
|
4993
|
+
abi: l,
|
|
4994
|
+
functionName: "claimIncentive"
|
|
4220
4995
|
}), He = /* @__PURE__ */ s({
|
|
4221
|
-
abi:
|
|
4996
|
+
abi: l,
|
|
4997
|
+
functionName: "claimIncentiveFor"
|
|
4998
|
+
}), Ee = /* @__PURE__ */ s({
|
|
4999
|
+
abi: l,
|
|
4222
5000
|
functionName: "setClaimFee"
|
|
4223
|
-
}),
|
|
4224
|
-
abi:
|
|
5001
|
+
}), qe = /* @__PURE__ */ s({
|
|
5002
|
+
abi: l,
|
|
4225
5003
|
functionName: "setCreateBoostAuth"
|
|
4226
|
-
}),
|
|
4227
|
-
abi:
|
|
5004
|
+
}), De = /* @__PURE__ */ s({
|
|
5005
|
+
abi: l,
|
|
4228
5006
|
functionName: "setProtocolFeeReceiver"
|
|
4229
|
-
}),
|
|
4230
|
-
abi:
|
|
5007
|
+
}), Fe = /* @__PURE__ */ n({
|
|
5008
|
+
abi: I,
|
|
4231
5009
|
functionName: "getBaseImplementation"
|
|
4232
|
-
}), qe = /* @__PURE__ */ n({
|
|
4233
|
-
abi: M,
|
|
4234
|
-
functionName: "getCloneIdentifier"
|
|
4235
5010
|
}), Be = /* @__PURE__ */ n({
|
|
4236
|
-
abi:
|
|
5011
|
+
abi: I,
|
|
5012
|
+
functionName: "getCloneIdentifier"
|
|
5013
|
+
}), ke = /* @__PURE__ */ n({
|
|
5014
|
+
abi: I,
|
|
4237
5015
|
functionName: "getClones"
|
|
4238
|
-
}),
|
|
4239
|
-
abi:
|
|
5016
|
+
}), Le = /* @__PURE__ */ p({
|
|
5017
|
+
abi: I,
|
|
4240
5018
|
functionName: "deployClone"
|
|
4241
|
-
}),
|
|
4242
|
-
abi:
|
|
5019
|
+
}), Ue = /* @__PURE__ */ p({
|
|
5020
|
+
abi: I,
|
|
4243
5021
|
functionName: "register"
|
|
4244
|
-
}),
|
|
4245
|
-
abi:
|
|
5022
|
+
}), Pe = /* @__PURE__ */ s({
|
|
5023
|
+
abi: I,
|
|
4246
5024
|
functionName: "deployClone"
|
|
4247
|
-
}),
|
|
4248
|
-
abi:
|
|
5025
|
+
}), je = /* @__PURE__ */ s({
|
|
5026
|
+
abi: I,
|
|
4249
5027
|
functionName: "register"
|
|
4250
|
-
}), je = /* @__PURE__ */ n({
|
|
4251
|
-
abi: c,
|
|
4252
|
-
functionName: "asset"
|
|
4253
5028
|
}), Se = /* @__PURE__ */ n({
|
|
4254
|
-
abi:
|
|
4255
|
-
functionName: "
|
|
5029
|
+
abi: m,
|
|
5030
|
+
functionName: "asset"
|
|
4256
5031
|
}), Ve = /* @__PURE__ */ n({
|
|
4257
|
-
abi:
|
|
5032
|
+
abi: m,
|
|
5033
|
+
functionName: "cgdaParams"
|
|
5034
|
+
}), Ze = /* @__PURE__ */ n({
|
|
5035
|
+
abi: m,
|
|
4258
5036
|
functionName: "claimed"
|
|
4259
5037
|
}), $e = /* @__PURE__ */ n({
|
|
4260
|
-
abi:
|
|
5038
|
+
abi: m,
|
|
4261
5039
|
functionName: "claims"
|
|
4262
|
-
}), Ze = /* @__PURE__ */ n({
|
|
4263
|
-
abi: c,
|
|
4264
|
-
functionName: "currentReward"
|
|
4265
5040
|
}), Ge = /* @__PURE__ */ n({
|
|
4266
|
-
abi:
|
|
4267
|
-
functionName: "
|
|
5041
|
+
abi: m,
|
|
5042
|
+
functionName: "currentReward"
|
|
4268
5043
|
}), We = /* @__PURE__ */ n({
|
|
4269
|
-
abi:
|
|
5044
|
+
abi: m,
|
|
5045
|
+
functionName: "isClaimable"
|
|
5046
|
+
}), Ke = /* @__PURE__ */ n({
|
|
5047
|
+
abi: m,
|
|
4270
5048
|
functionName: "owner"
|
|
4271
|
-
}),
|
|
4272
|
-
abi:
|
|
5049
|
+
}), Je = /* @__PURE__ */ n({
|
|
5050
|
+
abi: m,
|
|
4273
5051
|
functionName: "reward"
|
|
4274
|
-
}),
|
|
4275
|
-
abi:
|
|
5052
|
+
}), Qe = /* @__PURE__ */ n({
|
|
5053
|
+
abi: m,
|
|
4276
5054
|
functionName: "totalBudget"
|
|
4277
|
-
}),
|
|
4278
|
-
abi:
|
|
5055
|
+
}), Ye = /* @__PURE__ */ p({
|
|
5056
|
+
abi: m,
|
|
4279
5057
|
functionName: "claim"
|
|
4280
|
-
}),
|
|
4281
|
-
abi:
|
|
5058
|
+
}), Xe = /* @__PURE__ */ p({
|
|
5059
|
+
abi: m,
|
|
4282
5060
|
functionName: "clawback"
|
|
4283
|
-
}), Ye = /* @__PURE__ */ s({
|
|
4284
|
-
abi: c,
|
|
4285
|
-
functionName: "claim"
|
|
4286
5061
|
}), et = /* @__PURE__ */ s({
|
|
4287
|
-
abi: c,
|
|
4288
|
-
functionName: "clawback"
|
|
4289
|
-
}), tt = /* @__PURE__ */ n({
|
|
4290
5062
|
abi: m,
|
|
4291
|
-
functionName: "
|
|
4292
|
-
}),
|
|
5063
|
+
functionName: "claim"
|
|
5064
|
+
}), tt = /* @__PURE__ */ s({
|
|
4293
5065
|
abi: m,
|
|
4294
|
-
functionName: "
|
|
5066
|
+
functionName: "clawback"
|
|
5067
|
+
}), nt = /* @__PURE__ */ n({
|
|
5068
|
+
abi: d,
|
|
5069
|
+
functionName: "asset"
|
|
4295
5070
|
}), at = /* @__PURE__ */ n({
|
|
4296
|
-
abi:
|
|
5071
|
+
abi: d,
|
|
5072
|
+
functionName: "claimed"
|
|
5073
|
+
}), it = /* @__PURE__ */ n({
|
|
5074
|
+
abi: d,
|
|
4297
5075
|
functionName: "claims"
|
|
4298
|
-
}),
|
|
4299
|
-
{ abi:
|
|
4300
|
-
),
|
|
4301
|
-
abi:
|
|
5076
|
+
}), st = /* @__PURE__ */ n(
|
|
5077
|
+
{ abi: d, functionName: "currentReward" }
|
|
5078
|
+
), pt = /* @__PURE__ */ n({
|
|
5079
|
+
abi: d,
|
|
4302
5080
|
functionName: "entries"
|
|
4303
|
-
}), pt = /* @__PURE__ */ n({
|
|
4304
|
-
abi: m,
|
|
4305
|
-
functionName: "isClaimable"
|
|
4306
5081
|
}), rt = /* @__PURE__ */ n({
|
|
4307
|
-
abi:
|
|
5082
|
+
abi: d,
|
|
5083
|
+
functionName: "isClaimable"
|
|
5084
|
+
}), ut = /* @__PURE__ */ n({
|
|
5085
|
+
abi: d,
|
|
4308
5086
|
functionName: "limit"
|
|
4309
5087
|
}), yt = /* @__PURE__ */ n({
|
|
4310
|
-
abi:
|
|
5088
|
+
abi: d,
|
|
4311
5089
|
functionName: "owner"
|
|
4312
|
-
}), ut = /* @__PURE__ */ n({
|
|
4313
|
-
abi: m,
|
|
4314
|
-
functionName: "reward"
|
|
4315
5090
|
}), ot = /* @__PURE__ */ n({
|
|
4316
|
-
abi:
|
|
5091
|
+
abi: d,
|
|
5092
|
+
functionName: "reward"
|
|
5093
|
+
}), lt = /* @__PURE__ */ n({
|
|
5094
|
+
abi: d,
|
|
4317
5095
|
functionName: "strategy"
|
|
4318
|
-
}), lt = /* @__PURE__ */ p({
|
|
4319
|
-
abi: m,
|
|
4320
|
-
functionName: "claim"
|
|
4321
5096
|
}), dt = /* @__PURE__ */ p({
|
|
4322
|
-
abi:
|
|
4323
|
-
functionName: "
|
|
5097
|
+
abi: d,
|
|
5098
|
+
functionName: "claim"
|
|
4324
5099
|
}), mt = /* @__PURE__ */ p({
|
|
4325
|
-
abi:
|
|
5100
|
+
abi: d,
|
|
5101
|
+
functionName: "clawback"
|
|
5102
|
+
}), ct = /* @__PURE__ */ p({
|
|
5103
|
+
abi: d,
|
|
4326
5104
|
functionName: "drawRaffle"
|
|
4327
|
-
}),
|
|
4328
|
-
{ abi:
|
|
4329
|
-
),
|
|
4330
|
-
abi:
|
|
5105
|
+
}), bt = /* @__PURE__ */ s(
|
|
5106
|
+
{ abi: d, functionName: "claim" }
|
|
5107
|
+
), Tt = /* @__PURE__ */ s({
|
|
5108
|
+
abi: d,
|
|
4331
5109
|
functionName: "clawback"
|
|
4332
|
-
}),
|
|
4333
|
-
abi:
|
|
5110
|
+
}), ft = /* @__PURE__ */ s({
|
|
5111
|
+
abi: d,
|
|
4334
5112
|
functionName: "drawRaffle"
|
|
4335
|
-
}),
|
|
4336
|
-
{ abi:
|
|
4337
|
-
),
|
|
4338
|
-
abi:
|
|
5113
|
+
}), wt = /* @__PURE__ */ n(
|
|
5114
|
+
{ abi: c, functionName: "asset" }
|
|
5115
|
+
), vt = /* @__PURE__ */ n({
|
|
5116
|
+
abi: c,
|
|
4339
5117
|
functionName: "claimed"
|
|
4340
|
-
}),
|
|
4341
|
-
abi:
|
|
5118
|
+
}), Mt = /* @__PURE__ */ n({
|
|
5119
|
+
abi: c,
|
|
4342
5120
|
functionName: "claims"
|
|
4343
|
-
}),
|
|
4344
|
-
abi:
|
|
5121
|
+
}), ht = /* @__PURE__ */ n({
|
|
5122
|
+
abi: c,
|
|
4345
5123
|
functionName: "currentReward"
|
|
4346
|
-
}),
|
|
4347
|
-
abi:
|
|
5124
|
+
}), It = /* @__PURE__ */ n({
|
|
5125
|
+
abi: c,
|
|
4348
5126
|
functionName: "isClaimable"
|
|
4349
|
-
}),
|
|
4350
|
-
{ abi:
|
|
4351
|
-
),
|
|
4352
|
-
{ abi:
|
|
5127
|
+
}), gt = /* @__PURE__ */ n(
|
|
5128
|
+
{ abi: c, functionName: "limit" }
|
|
5129
|
+
), Ot = /* @__PURE__ */ n(
|
|
5130
|
+
{ abi: c, functionName: "owner" }
|
|
4353
5131
|
), Nt = /* @__PURE__ */ n({
|
|
4354
|
-
abi:
|
|
5132
|
+
abi: c,
|
|
4355
5133
|
functionName: "reward"
|
|
4356
|
-
}),
|
|
4357
|
-
abi:
|
|
5134
|
+
}), At = /* @__PURE__ */ n({
|
|
5135
|
+
abi: c,
|
|
4358
5136
|
functionName: "totalClaimed"
|
|
4359
|
-
}), At = /* @__PURE__ */ p({
|
|
4360
|
-
abi: b,
|
|
4361
|
-
functionName: "claim"
|
|
4362
5137
|
}), zt = /* @__PURE__ */ p({
|
|
4363
|
-
abi:
|
|
5138
|
+
abi: c,
|
|
5139
|
+
functionName: "claim"
|
|
5140
|
+
}), xt = /* @__PURE__ */ p({
|
|
5141
|
+
abi: c,
|
|
4364
5142
|
functionName: "clawback"
|
|
4365
|
-
}),
|
|
4366
|
-
abi:
|
|
5143
|
+
}), Rt = /* @__PURE__ */ s({
|
|
5144
|
+
abi: c,
|
|
4367
5145
|
functionName: "claim"
|
|
4368
|
-
}),
|
|
4369
|
-
abi:
|
|
5146
|
+
}), Ct = /* @__PURE__ */ s({
|
|
5147
|
+
abi: c,
|
|
4370
5148
|
functionName: "clawback"
|
|
4371
|
-
}),
|
|
5149
|
+
}), _t = /* @__PURE__ */ n({
|
|
4372
5150
|
abi: z,
|
|
4373
5151
|
functionName: "getActionClaimant"
|
|
4374
|
-
}),
|
|
5152
|
+
}), Ht = /* @__PURE__ */ n({
|
|
4375
5153
|
abi: z,
|
|
4376
5154
|
functionName: "getActionSteps"
|
|
4377
|
-
}),
|
|
5155
|
+
}), Et = /* @__PURE__ */ p({
|
|
4378
5156
|
abi: z,
|
|
4379
5157
|
functionName: "execute"
|
|
4380
|
-
}),
|
|
5158
|
+
}), qt = /* @__PURE__ */ s({
|
|
4381
5159
|
abi: z,
|
|
4382
5160
|
functionName: "execute"
|
|
4383
|
-
}),
|
|
4384
|
-
abi:
|
|
5161
|
+
}), Dt = /* @__PURE__ */ n({
|
|
5162
|
+
abi: X,
|
|
4385
5163
|
functionName: "isAuthorized"
|
|
4386
|
-
}),
|
|
4387
|
-
abi:
|
|
5164
|
+
}), Ft = /* @__PURE__ */ n({
|
|
5165
|
+
abi: b,
|
|
4388
5166
|
functionName: "available"
|
|
4389
|
-
}), qt = /* @__PURE__ */ n({
|
|
4390
|
-
abi: o,
|
|
4391
|
-
functionName: "distributed"
|
|
4392
5167
|
}), Bt = /* @__PURE__ */ n({
|
|
4393
|
-
abi:
|
|
4394
|
-
functionName: "
|
|
4395
|
-
}), Pt = /* @__PURE__ */ n({
|
|
4396
|
-
abi: o,
|
|
4397
|
-
functionName: "hasAnyRole"
|
|
5168
|
+
abi: b,
|
|
5169
|
+
functionName: "distributed"
|
|
4398
5170
|
}), kt = /* @__PURE__ */ n({
|
|
4399
|
-
abi:
|
|
4400
|
-
functionName: "isAuthorized"
|
|
4401
|
-
}), Lt = /* @__PURE__ */ n({
|
|
4402
|
-
abi: o,
|
|
5171
|
+
abi: b,
|
|
4403
5172
|
functionName: "owner"
|
|
4404
|
-
}),
|
|
4405
|
-
abi:
|
|
4406
|
-
functionName: "rolesOf"
|
|
4407
|
-
}), jt = /* @__PURE__ */ n({
|
|
4408
|
-
abi: o,
|
|
5173
|
+
}), Lt = /* @__PURE__ */ n({
|
|
5174
|
+
abi: b,
|
|
4409
5175
|
functionName: "total"
|
|
4410
|
-
}),
|
|
4411
|
-
abi:
|
|
5176
|
+
}), Ut = /* @__PURE__ */ p({
|
|
5177
|
+
abi: b,
|
|
4412
5178
|
functionName: "allocate"
|
|
4413
|
-
}),
|
|
4414
|
-
abi:
|
|
5179
|
+
}), Pt = /* @__PURE__ */ p({
|
|
5180
|
+
abi: b,
|
|
4415
5181
|
functionName: "clawback"
|
|
4416
|
-
}),
|
|
4417
|
-
abi:
|
|
5182
|
+
}), jt = /* @__PURE__ */ p({
|
|
5183
|
+
abi: b,
|
|
4418
5184
|
functionName: "disburse"
|
|
4419
|
-
}),
|
|
4420
|
-
abi:
|
|
5185
|
+
}), St = /* @__PURE__ */ p({
|
|
5186
|
+
abi: b,
|
|
4421
5187
|
functionName: "disburseBatch"
|
|
4422
|
-
}),
|
|
4423
|
-
abi:
|
|
4424
|
-
functionName: "grantRoles"
|
|
4425
|
-
}), Wt = /* @__PURE__ */ p({
|
|
4426
|
-
abi: o,
|
|
4427
|
-
functionName: "revokeRoles"
|
|
4428
|
-
}), Qt = /* @__PURE__ */ p({
|
|
4429
|
-
abi: o,
|
|
4430
|
-
functionName: "setAuthorized"
|
|
4431
|
-
}), Xt = /* @__PURE__ */ s({
|
|
4432
|
-
abi: o,
|
|
5188
|
+
}), Vt = /* @__PURE__ */ s({
|
|
5189
|
+
abi: b,
|
|
4433
5190
|
functionName: "allocate"
|
|
4434
|
-
}),
|
|
4435
|
-
abi:
|
|
5191
|
+
}), Zt = /* @__PURE__ */ s({
|
|
5192
|
+
abi: b,
|
|
4436
5193
|
functionName: "clawback"
|
|
4437
|
-
}),
|
|
4438
|
-
abi:
|
|
5194
|
+
}), $t = /* @__PURE__ */ s({
|
|
5195
|
+
abi: b,
|
|
4439
5196
|
functionName: "disburse"
|
|
4440
|
-
}),
|
|
4441
|
-
abi:
|
|
5197
|
+
}), Gt = /* @__PURE__ */ s({
|
|
5198
|
+
abi: b,
|
|
4442
5199
|
functionName: "disburseBatch"
|
|
4443
|
-
}),
|
|
4444
|
-
abi:
|
|
4445
|
-
|
|
4446
|
-
}), tn = /* @__PURE__ */ s({
|
|
4447
|
-
abi: o,
|
|
4448
|
-
functionName: "revokeRoles"
|
|
4449
|
-
}), nn = /* @__PURE__ */ s({
|
|
4450
|
-
abi: o,
|
|
4451
|
-
functionName: "setAuthorized"
|
|
4452
|
-
}), an = /* @__PURE__ */ n(
|
|
4453
|
-
{ abi: Y, functionName: "isAuthorized" }
|
|
4454
|
-
), sn = /* @__PURE__ */ n({
|
|
5200
|
+
}), Wt = /* @__PURE__ */ n(
|
|
5201
|
+
{ abi: ee, functionName: "isAuthorized" }
|
|
5202
|
+
), Kt = /* @__PURE__ */ n({
|
|
4455
5203
|
abi: f,
|
|
4456
5204
|
functionName: "claimed"
|
|
4457
|
-
}),
|
|
5205
|
+
}), Jt = /* @__PURE__ */ n({
|
|
4458
5206
|
abi: f,
|
|
4459
5207
|
functionName: "claims"
|
|
4460
|
-
}),
|
|
5208
|
+
}), Qt = /* @__PURE__ */ n({
|
|
4461
5209
|
abi: f,
|
|
4462
5210
|
functionName: "currentReward"
|
|
4463
|
-
}),
|
|
5211
|
+
}), Yt = /* @__PURE__ */ n({
|
|
4464
5212
|
abi: f,
|
|
4465
5213
|
functionName: "isClaimable"
|
|
4466
|
-
}),
|
|
5214
|
+
}), Xt = /* @__PURE__ */ n({
|
|
4467
5215
|
abi: f,
|
|
4468
5216
|
functionName: "limit"
|
|
4469
|
-
}),
|
|
5217
|
+
}), en = /* @__PURE__ */ n({
|
|
4470
5218
|
abi: f,
|
|
4471
5219
|
functionName: "reward"
|
|
4472
|
-
}),
|
|
5220
|
+
}), tn = /* @__PURE__ */ n({
|
|
4473
5221
|
abi: f,
|
|
4474
5222
|
functionName: "selector"
|
|
4475
|
-
}),
|
|
5223
|
+
}), nn = /* @__PURE__ */ n({
|
|
4476
5224
|
abi: f,
|
|
4477
5225
|
functionName: "venue"
|
|
4478
|
-
}),
|
|
5226
|
+
}), an = /* @__PURE__ */ p({
|
|
4479
5227
|
abi: f,
|
|
4480
5228
|
functionName: "claim"
|
|
4481
|
-
}),
|
|
5229
|
+
}), sn = /* @__PURE__ */ s({
|
|
4482
5230
|
abi: f,
|
|
4483
5231
|
functionName: "claim"
|
|
4484
|
-
}),
|
|
4485
|
-
abi:
|
|
4486
|
-
functionName: "
|
|
5232
|
+
}), pn = /* @__PURE__ */ n({
|
|
5233
|
+
abi: w,
|
|
5234
|
+
functionName: "hasAllRoles"
|
|
5235
|
+
}), rn = /* @__PURE__ */ n({
|
|
5236
|
+
abi: w,
|
|
5237
|
+
functionName: "hasAnyRole"
|
|
5238
|
+
}), un = /* @__PURE__ */ n({
|
|
5239
|
+
abi: w,
|
|
5240
|
+
functionName: "isAuthorized"
|
|
5241
|
+
}), yn = /* @__PURE__ */ n({
|
|
5242
|
+
abi: w,
|
|
5243
|
+
functionName: "rolesOf"
|
|
5244
|
+
}), on = /* @__PURE__ */ p({
|
|
5245
|
+
abi: w,
|
|
5246
|
+
functionName: "grantRoles"
|
|
5247
|
+
}), ln = /* @__PURE__ */ p({
|
|
5248
|
+
abi: w,
|
|
5249
|
+
functionName: "revokeRoles"
|
|
5250
|
+
}), dn = /* @__PURE__ */ p({
|
|
5251
|
+
abi: w,
|
|
5252
|
+
functionName: "setAuthorized"
|
|
5253
|
+
}), mn = /* @__PURE__ */ s({
|
|
5254
|
+
abi: w,
|
|
5255
|
+
functionName: "grantRoles"
|
|
5256
|
+
}), cn = /* @__PURE__ */ s({
|
|
5257
|
+
abi: w,
|
|
5258
|
+
functionName: "revokeRoles"
|
|
5259
|
+
}), bn = /* @__PURE__ */ s({
|
|
5260
|
+
abi: w,
|
|
5261
|
+
functionName: "setAuthorized"
|
|
4487
5262
|
}), Tn = /* @__PURE__ */ n({
|
|
4488
|
-
abi:
|
|
5263
|
+
abi: M,
|
|
5264
|
+
functionName: "hashSignerData"
|
|
5265
|
+
}), fn = /* @__PURE__ */ n({
|
|
5266
|
+
abi: M,
|
|
4489
5267
|
functionName: "signers"
|
|
4490
|
-
}), fn = /* @__PURE__ */ p({
|
|
4491
|
-
abi: v,
|
|
4492
|
-
functionName: "setAuthorized"
|
|
4493
5268
|
}), wn = /* @__PURE__ */ p({
|
|
4494
|
-
abi:
|
|
4495
|
-
functionName: "
|
|
5269
|
+
abi: M,
|
|
5270
|
+
functionName: "setAuthorized"
|
|
4496
5271
|
}), vn = /* @__PURE__ */ p({
|
|
4497
|
-
abi:
|
|
5272
|
+
abi: M,
|
|
5273
|
+
functionName: "setValidatorCaller"
|
|
5274
|
+
}), Mn = /* @__PURE__ */ p({
|
|
5275
|
+
abi: M,
|
|
4498
5276
|
functionName: "validate"
|
|
4499
|
-
}),
|
|
4500
|
-
abi:
|
|
5277
|
+
}), hn = /* @__PURE__ */ s({
|
|
5278
|
+
abi: M,
|
|
4501
5279
|
functionName: "setAuthorized"
|
|
4502
|
-
}),
|
|
4503
|
-
abi:
|
|
5280
|
+
}), In = /* @__PURE__ */ s({
|
|
5281
|
+
abi: M,
|
|
4504
5282
|
functionName: "setValidatorCaller"
|
|
4505
|
-
}),
|
|
4506
|
-
abi:
|
|
5283
|
+
}), gn = /* @__PURE__ */ s({
|
|
5284
|
+
abi: M,
|
|
4507
5285
|
functionName: "validate"
|
|
4508
|
-
}),
|
|
4509
|
-
abi:
|
|
5286
|
+
}), On = /* @__PURE__ */ n({
|
|
5287
|
+
abi: x,
|
|
4510
5288
|
functionName: "isAllowed"
|
|
4511
5289
|
}), Nn = /* @__PURE__ */ n({
|
|
4512
|
-
abi:
|
|
5290
|
+
abi: x,
|
|
4513
5291
|
functionName: "owner"
|
|
4514
|
-
}),
|
|
4515
|
-
{ abi:
|
|
4516
|
-
), An = /* @__PURE__ */ p(
|
|
4517
|
-
{ abi: g, functionName: "setAllowed" }
|
|
5292
|
+
}), An = /* @__PURE__ */ p(
|
|
5293
|
+
{ abi: x, functionName: "setAllowed" }
|
|
4518
5294
|
), zn = /* @__PURE__ */ s({
|
|
4519
|
-
abi:
|
|
4520
|
-
functionName: "grantRoles"
|
|
4521
|
-
}), Cn = /* @__PURE__ */ s({
|
|
4522
|
-
abi: g,
|
|
5295
|
+
abi: x,
|
|
4523
5296
|
functionName: "setAllowed"
|
|
4524
5297
|
}), xn = /* @__PURE__ */ n({
|
|
4525
|
-
abi:
|
|
5298
|
+
abi: H,
|
|
4526
5299
|
functionName: "isAllowed"
|
|
4527
5300
|
}), Rn = /* @__PURE__ */ p({
|
|
4528
|
-
abi:
|
|
5301
|
+
abi: H,
|
|
4529
5302
|
functionName: "setDenied"
|
|
4530
|
-
}),
|
|
4531
|
-
abi:
|
|
5303
|
+
}), Cn = /* @__PURE__ */ s({
|
|
5304
|
+
abi: H,
|
|
4532
5305
|
functionName: "setDenied"
|
|
4533
5306
|
});
|
|
4534
5307
|
export {
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
5308
|
+
le as $,
|
|
5309
|
+
x as A,
|
|
5310
|
+
Ut as B,
|
|
5311
|
+
w as C,
|
|
5312
|
+
cn as D,
|
|
5313
|
+
Zt as E,
|
|
5314
|
+
bn as F,
|
|
5315
|
+
Pt as G,
|
|
5316
|
+
M as H,
|
|
5317
|
+
Ue as I,
|
|
5318
|
+
$t as J,
|
|
5319
|
+
jt as K,
|
|
5320
|
+
mn as L,
|
|
5321
|
+
on as M,
|
|
5322
|
+
m as N,
|
|
5323
|
+
v as O,
|
|
5324
|
+
Gt as P,
|
|
5325
|
+
kt as Q,
|
|
5326
|
+
Ft as R,
|
|
5327
|
+
Bt as S,
|
|
5328
|
+
d as T,
|
|
5329
|
+
St as U,
|
|
5330
|
+
Lt as V,
|
|
5331
|
+
Te as W,
|
|
5332
|
+
me as X,
|
|
5333
|
+
ye as Y,
|
|
5334
|
+
fe as Z,
|
|
5335
|
+
de as _,
|
|
5336
|
+
ee as a,
|
|
4564
5337
|
wt as a$,
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
5338
|
+
be as a0,
|
|
5339
|
+
ve as a1,
|
|
5340
|
+
we as a2,
|
|
5341
|
+
ce as a3,
|
|
5342
|
+
Nn as a4,
|
|
5343
|
+
On as a5,
|
|
5344
|
+
zn as a6,
|
|
5345
|
+
An as a7,
|
|
5346
|
+
xn as a8,
|
|
5347
|
+
Cn as a9,
|
|
5348
|
+
mt as aA,
|
|
5349
|
+
rt as aB,
|
|
5350
|
+
ft as aC,
|
|
5351
|
+
ct as aD,
|
|
5352
|
+
Jt as aE,
|
|
5353
|
+
Qt as aF,
|
|
5354
|
+
en as aG,
|
|
5355
|
+
Kt as aH,
|
|
5356
|
+
nn as aI,
|
|
5357
|
+
Xt as aJ,
|
|
5358
|
+
tn as aK,
|
|
5359
|
+
sn as aL,
|
|
5360
|
+
an as aM,
|
|
5361
|
+
Yt as aN,
|
|
5362
|
+
fn as aO,
|
|
4590
5363
|
Tn as aP,
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
5364
|
+
gn as aQ,
|
|
5365
|
+
Mn as aR,
|
|
5366
|
+
hn as aS,
|
|
5367
|
+
wn as aT,
|
|
5368
|
+
In as aU,
|
|
5369
|
+
vn as aV,
|
|
5370
|
+
Ot as aW,
|
|
5371
|
+
At as aX,
|
|
5372
|
+
ht as aY,
|
|
5373
|
+
Mt as aZ,
|
|
4601
5374
|
vt as a_,
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
5375
|
+
Rn as aa,
|
|
5376
|
+
Ke as ab,
|
|
5377
|
+
$e as ac,
|
|
5378
|
+
Je as ad,
|
|
5379
|
+
Ze as ae,
|
|
5380
|
+
Se as af,
|
|
5381
|
+
Ve as ag,
|
|
5382
|
+
Qe as ah,
|
|
5383
|
+
et as ai,
|
|
4611
5384
|
Ye as aj,
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
5385
|
+
tt as ak,
|
|
5386
|
+
Xe as al,
|
|
5387
|
+
We as am,
|
|
4615
5388
|
Ge as an,
|
|
4616
|
-
|
|
4617
|
-
|
|
5389
|
+
yt as ao,
|
|
5390
|
+
st as ap,
|
|
4618
5391
|
it as aq,
|
|
4619
5392
|
at as ar,
|
|
4620
5393
|
nt as as,
|
|
4621
|
-
|
|
5394
|
+
lt as at,
|
|
4622
5395
|
ot as au,
|
|
4623
5396
|
ut as av,
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
5397
|
+
pt as aw,
|
|
5398
|
+
bt as ax,
|
|
5399
|
+
dt as ay,
|
|
5400
|
+
Tt as az,
|
|
5401
|
+
l as b,
|
|
5402
|
+
Nt as b0,
|
|
5403
|
+
gt as b1,
|
|
5404
|
+
Rt as b2,
|
|
5405
|
+
zt as b3,
|
|
5406
|
+
Ct as b4,
|
|
4634
5407
|
xt as b5,
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
5408
|
+
It as b6,
|
|
5409
|
+
re as b7,
|
|
5410
|
+
z as b8,
|
|
5411
|
+
Ht as b9,
|
|
4639
5412
|
_t as ba,
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
Y as z
|
|
5413
|
+
qt as bb,
|
|
5414
|
+
Et as bc,
|
|
5415
|
+
_e as bd,
|
|
5416
|
+
Ae as be,
|
|
5417
|
+
He as bf,
|
|
5418
|
+
ze as bg,
|
|
5419
|
+
Ie as bh,
|
|
5420
|
+
ge as bi,
|
|
5421
|
+
Dt as bj,
|
|
5422
|
+
he as bk,
|
|
5423
|
+
qe as bl,
|
|
5424
|
+
Re as bm,
|
|
5425
|
+
Oe as bn,
|
|
5426
|
+
Ne as bo,
|
|
5427
|
+
De as bp,
|
|
5428
|
+
Ce as bq,
|
|
5429
|
+
Me as br,
|
|
5430
|
+
Ee as bs,
|
|
5431
|
+
xe as bt,
|
|
5432
|
+
f as c,
|
|
5433
|
+
ln as d,
|
|
5434
|
+
ie as e,
|
|
5435
|
+
yn as f,
|
|
5436
|
+
c as g,
|
|
5437
|
+
H as h,
|
|
5438
|
+
pn as i,
|
|
5439
|
+
oe as j,
|
|
5440
|
+
je as k,
|
|
5441
|
+
b as l,
|
|
5442
|
+
Pe as m,
|
|
5443
|
+
Le as n,
|
|
5444
|
+
Fe as o,
|
|
5445
|
+
ke as p,
|
|
5446
|
+
Be as q,
|
|
5447
|
+
ue as r,
|
|
5448
|
+
I as s,
|
|
5449
|
+
Wt as t,
|
|
5450
|
+
se as u,
|
|
5451
|
+
un as v,
|
|
5452
|
+
rn as w,
|
|
5453
|
+
Vt as x,
|
|
5454
|
+
pe as y,
|
|
5455
|
+
dn as z
|
|
4684
5456
|
};
|
|
4685
|
-
//# sourceMappingURL=generated-
|
|
5457
|
+
//# sourceMappingURL=generated-C_7Jx3YG.js.map
|