@flaunch/sdk 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +78 -0
- package/dist/abi/BidWallV1_1.d.ts +740 -0
- package/dist/abi/BidWallV1_1.d.ts.map +1 -0
- package/dist/abi/FairLaunchV1_1.d.ts +522 -0
- package/dist/abi/FairLaunchV1_1.d.ts.map +1 -0
- package/dist/abi/FastFlaunchZap.d.ts +30 -20
- package/dist/abi/FastFlaunchZap.d.ts.map +1 -1
- package/dist/abi/FlaunchPositionManagerV1_1.d.ts +2053 -0
- package/dist/abi/FlaunchPositionManagerV1_1.d.ts.map +1 -0
- package/dist/abi/FlaunchV1_1.d.ts +850 -0
- package/dist/abi/FlaunchV1_1.d.ts.map +1 -0
- package/dist/abi/FlaunchZap.d.ts +330 -0
- package/dist/abi/FlaunchZap.d.ts.map +1 -0
- package/dist/abi/RevenueManager.d.ts +648 -0
- package/dist/abi/RevenueManager.d.ts.map +1 -0
- package/dist/abi/TreasuryManagerFactory.d.ts +434 -0
- package/dist/abi/TreasuryManagerFactory.d.ts.map +1 -0
- package/dist/abi/index.cjs +27 -58
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.js +27 -58
- package/dist/abi/index.js.map +1 -1
- package/dist/addresses/index.cjs +127 -91
- package/dist/addresses/index.cjs.map +1 -1
- package/dist/addresses/index.js +121 -92
- package/dist/addresses/index.js.map +1 -1
- package/dist/addresses.d.ts +7 -0
- package/dist/addresses.d.ts.map +1 -1
- package/dist/clients/BidWallClient.d.ts +20 -0
- package/dist/clients/BidWallClient.d.ts.map +1 -1
- package/dist/clients/BidWallV1_1Client.d.ts +46 -0
- package/dist/clients/BidWallV1_1Client.d.ts.map +1 -0
- package/dist/clients/FairLaunchClient.d.ts +20 -0
- package/dist/clients/FairLaunchClient.d.ts.map +1 -1
- package/dist/clients/FairLaunchV1_1Client.d.ts +50 -0
- package/dist/clients/FairLaunchV1_1Client.d.ts.map +1 -0
- package/dist/clients/FastFlaunchClient.d.ts +40 -0
- package/dist/clients/FastFlaunchClient.d.ts.map +1 -1
- package/dist/clients/FlaunchClient.d.ts +20 -0
- package/dist/clients/FlaunchClient.d.ts.map +1 -1
- package/dist/clients/FlaunchPositionManagerV1_1Client.d.ts +90 -0
- package/dist/clients/FlaunchPositionManagerV1_1Client.d.ts.map +1 -0
- package/dist/clients/FlaunchV1_1Client.d.ts +31 -0
- package/dist/clients/FlaunchV1_1Client.d.ts.map +1 -0
- package/dist/clients/FlaunchZapClient.d.ts +70 -0
- package/dist/clients/FlaunchZapClient.d.ts.map +1 -0
- package/dist/clients/MemecoinClient.d.ts +27 -0
- package/dist/clients/MemecoinClient.d.ts.map +1 -1
- package/dist/clients/Permit2Client.d.ts +17 -0
- package/dist/clients/Permit2Client.d.ts.map +1 -1
- package/dist/clients/QuoterClient.d.ts +39 -3
- package/dist/clients/QuoterClient.d.ts.map +1 -1
- package/dist/clients/RevenueManagerClient.d.ts +42 -0
- package/dist/clients/RevenueManagerClient.d.ts.map +1 -0
- package/dist/clients/StateViewClient.d.ts +30 -0
- package/dist/clients/StateViewClient.d.ts.map +1 -1
- package/dist/clients/TreasuryManagerFactoryClient.d.ts +24 -0
- package/dist/clients/TreasuryManagerFactoryClient.d.ts.map +1 -0
- package/dist/helpers/chainIdToChain.d.ts +5 -0
- package/dist/helpers/chainIdToChain.d.ts.map +1 -0
- package/dist/helpers/index.cjs +5310 -0
- package/dist/helpers/index.cjs.map +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +5313 -4
- package/dist/helpers/index.js.map +1 -1
- package/dist/hooks/FlaunchPositionManagerHooks.d.ts +42 -0
- package/dist/hooks/FlaunchPositionManagerHooks.d.ts.map +1 -1
- package/dist/hooks/index.cjs +95 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +94 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.cjs.js +16748 -11289
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +16742 -11291
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/sdk/FlaunchSDK.d.ts +288 -15
- package/dist/sdk/FlaunchSDK.d.ts.map +1 -1
- package/dist/utils/universalRouter.d.ts +2 -0
- package/dist/utils/universalRouter.d.ts.map +1 -1
- package/package.json +8 -3
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
export declare const TreasuryManagerFactoryAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "_protocolOwner";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "address";
|
|
8
|
+
readonly name: "_feeEscrow";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}];
|
|
11
|
+
readonly stateMutability: "nonpayable";
|
|
12
|
+
readonly type: "constructor";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly name: "AccessControlBadConfirmation";
|
|
16
|
+
readonly type: "error";
|
|
17
|
+
}, {
|
|
18
|
+
readonly inputs: readonly [{
|
|
19
|
+
readonly internalType: "address";
|
|
20
|
+
readonly name: "account";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
}, {
|
|
23
|
+
readonly internalType: "bytes32";
|
|
24
|
+
readonly name: "neededRole";
|
|
25
|
+
readonly type: "bytes32";
|
|
26
|
+
}];
|
|
27
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly name: "AlreadyInitialized";
|
|
32
|
+
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
readonly name: "NewOwnerIsZeroAddress";
|
|
36
|
+
readonly type: "error";
|
|
37
|
+
}, {
|
|
38
|
+
readonly inputs: readonly [];
|
|
39
|
+
readonly name: "NoHandoverRequest";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly name: "Unauthorized";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "UnknownManagerImplemention";
|
|
48
|
+
readonly type: "error";
|
|
49
|
+
}, {
|
|
50
|
+
readonly anonymous: false;
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly indexed: true;
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "_manager";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}, {
|
|
57
|
+
readonly indexed: true;
|
|
58
|
+
readonly internalType: "address";
|
|
59
|
+
readonly name: "_managerImplementation";
|
|
60
|
+
readonly type: "address";
|
|
61
|
+
}];
|
|
62
|
+
readonly name: "ManagerDeployed";
|
|
63
|
+
readonly type: "event";
|
|
64
|
+
}, {
|
|
65
|
+
readonly anonymous: false;
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly indexed: true;
|
|
68
|
+
readonly internalType: "address";
|
|
69
|
+
readonly name: "_managerImplementation";
|
|
70
|
+
readonly type: "address";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "ManagerImplementationApproved";
|
|
73
|
+
readonly type: "event";
|
|
74
|
+
}, {
|
|
75
|
+
readonly anonymous: false;
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly indexed: true;
|
|
78
|
+
readonly internalType: "address";
|
|
79
|
+
readonly name: "_managerImplementation";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
}];
|
|
82
|
+
readonly name: "ManagerImplementationUnapproved";
|
|
83
|
+
readonly type: "event";
|
|
84
|
+
}, {
|
|
85
|
+
readonly anonymous: false;
|
|
86
|
+
readonly inputs: readonly [{
|
|
87
|
+
readonly indexed: true;
|
|
88
|
+
readonly internalType: "address";
|
|
89
|
+
readonly name: "pendingOwner";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
}];
|
|
92
|
+
readonly name: "OwnershipHandoverCanceled";
|
|
93
|
+
readonly type: "event";
|
|
94
|
+
}, {
|
|
95
|
+
readonly anonymous: false;
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly indexed: true;
|
|
98
|
+
readonly internalType: "address";
|
|
99
|
+
readonly name: "pendingOwner";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "OwnershipHandoverRequested";
|
|
103
|
+
readonly type: "event";
|
|
104
|
+
}, {
|
|
105
|
+
readonly anonymous: false;
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly indexed: true;
|
|
108
|
+
readonly internalType: "address";
|
|
109
|
+
readonly name: "oldOwner";
|
|
110
|
+
readonly type: "address";
|
|
111
|
+
}, {
|
|
112
|
+
readonly indexed: true;
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
readonly name: "newOwner";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
}];
|
|
117
|
+
readonly name: "OwnershipTransferred";
|
|
118
|
+
readonly type: "event";
|
|
119
|
+
}, {
|
|
120
|
+
readonly anonymous: false;
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly indexed: true;
|
|
123
|
+
readonly internalType: "bytes32";
|
|
124
|
+
readonly name: "role";
|
|
125
|
+
readonly type: "bytes32";
|
|
126
|
+
}, {
|
|
127
|
+
readonly indexed: true;
|
|
128
|
+
readonly internalType: "bytes32";
|
|
129
|
+
readonly name: "previousAdminRole";
|
|
130
|
+
readonly type: "bytes32";
|
|
131
|
+
}, {
|
|
132
|
+
readonly indexed: true;
|
|
133
|
+
readonly internalType: "bytes32";
|
|
134
|
+
readonly name: "newAdminRole";
|
|
135
|
+
readonly type: "bytes32";
|
|
136
|
+
}];
|
|
137
|
+
readonly name: "RoleAdminChanged";
|
|
138
|
+
readonly type: "event";
|
|
139
|
+
}, {
|
|
140
|
+
readonly anonymous: false;
|
|
141
|
+
readonly inputs: readonly [{
|
|
142
|
+
readonly indexed: true;
|
|
143
|
+
readonly internalType: "bytes32";
|
|
144
|
+
readonly name: "role";
|
|
145
|
+
readonly type: "bytes32";
|
|
146
|
+
}, {
|
|
147
|
+
readonly indexed: true;
|
|
148
|
+
readonly internalType: "address";
|
|
149
|
+
readonly name: "account";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly indexed: true;
|
|
153
|
+
readonly internalType: "address";
|
|
154
|
+
readonly name: "sender";
|
|
155
|
+
readonly type: "address";
|
|
156
|
+
}];
|
|
157
|
+
readonly name: "RoleGranted";
|
|
158
|
+
readonly type: "event";
|
|
159
|
+
}, {
|
|
160
|
+
readonly anonymous: false;
|
|
161
|
+
readonly inputs: readonly [{
|
|
162
|
+
readonly indexed: true;
|
|
163
|
+
readonly internalType: "bytes32";
|
|
164
|
+
readonly name: "role";
|
|
165
|
+
readonly type: "bytes32";
|
|
166
|
+
}, {
|
|
167
|
+
readonly indexed: true;
|
|
168
|
+
readonly internalType: "address";
|
|
169
|
+
readonly name: "account";
|
|
170
|
+
readonly type: "address";
|
|
171
|
+
}, {
|
|
172
|
+
readonly indexed: true;
|
|
173
|
+
readonly internalType: "address";
|
|
174
|
+
readonly name: "sender";
|
|
175
|
+
readonly type: "address";
|
|
176
|
+
}];
|
|
177
|
+
readonly name: "RoleRevoked";
|
|
178
|
+
readonly type: "event";
|
|
179
|
+
}, {
|
|
180
|
+
readonly inputs: readonly [];
|
|
181
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
182
|
+
readonly outputs: readonly [{
|
|
183
|
+
readonly internalType: "bytes32";
|
|
184
|
+
readonly name: "";
|
|
185
|
+
readonly type: "bytes32";
|
|
186
|
+
}];
|
|
187
|
+
readonly stateMutability: "view";
|
|
188
|
+
readonly type: "function";
|
|
189
|
+
}, {
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
readonly name: "_managerImplementation";
|
|
193
|
+
readonly type: "address";
|
|
194
|
+
}];
|
|
195
|
+
readonly name: "approveManager";
|
|
196
|
+
readonly outputs: readonly [];
|
|
197
|
+
readonly stateMutability: "nonpayable";
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
}, {
|
|
200
|
+
readonly inputs: readonly [{
|
|
201
|
+
readonly internalType: "address";
|
|
202
|
+
readonly name: "_managerImplementation";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
}];
|
|
205
|
+
readonly name: "approvedManagerImplementation";
|
|
206
|
+
readonly outputs: readonly [{
|
|
207
|
+
readonly internalType: "bool";
|
|
208
|
+
readonly name: "_approved";
|
|
209
|
+
readonly type: "bool";
|
|
210
|
+
}];
|
|
211
|
+
readonly stateMutability: "view";
|
|
212
|
+
readonly type: "function";
|
|
213
|
+
}, {
|
|
214
|
+
readonly inputs: readonly [];
|
|
215
|
+
readonly name: "cancelOwnershipHandover";
|
|
216
|
+
readonly outputs: readonly [];
|
|
217
|
+
readonly stateMutability: "payable";
|
|
218
|
+
readonly type: "function";
|
|
219
|
+
}, {
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly internalType: "address";
|
|
222
|
+
readonly name: "pendingOwner";
|
|
223
|
+
readonly type: "address";
|
|
224
|
+
}];
|
|
225
|
+
readonly name: "completeOwnershipHandover";
|
|
226
|
+
readonly outputs: readonly [];
|
|
227
|
+
readonly stateMutability: "payable";
|
|
228
|
+
readonly type: "function";
|
|
229
|
+
}, {
|
|
230
|
+
readonly inputs: readonly [{
|
|
231
|
+
readonly internalType: "address";
|
|
232
|
+
readonly name: "_managerImplementation";
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
}, {
|
|
235
|
+
readonly internalType: "address";
|
|
236
|
+
readonly name: "_owner";
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
}, {
|
|
239
|
+
readonly internalType: "bytes";
|
|
240
|
+
readonly name: "_data";
|
|
241
|
+
readonly type: "bytes";
|
|
242
|
+
}];
|
|
243
|
+
readonly name: "deployAndInitializeManager";
|
|
244
|
+
readonly outputs: readonly [{
|
|
245
|
+
readonly internalType: "address payable";
|
|
246
|
+
readonly name: "manager_";
|
|
247
|
+
readonly type: "address";
|
|
248
|
+
}];
|
|
249
|
+
readonly stateMutability: "nonpayable";
|
|
250
|
+
readonly type: "function";
|
|
251
|
+
}, {
|
|
252
|
+
readonly inputs: readonly [{
|
|
253
|
+
readonly internalType: "address";
|
|
254
|
+
readonly name: "_managerImplementation";
|
|
255
|
+
readonly type: "address";
|
|
256
|
+
}];
|
|
257
|
+
readonly name: "deployManager";
|
|
258
|
+
readonly outputs: readonly [{
|
|
259
|
+
readonly internalType: "address payable";
|
|
260
|
+
readonly name: "manager_";
|
|
261
|
+
readonly type: "address";
|
|
262
|
+
}];
|
|
263
|
+
readonly stateMutability: "nonpayable";
|
|
264
|
+
readonly type: "function";
|
|
265
|
+
}, {
|
|
266
|
+
readonly inputs: readonly [];
|
|
267
|
+
readonly name: "feeEscrow";
|
|
268
|
+
readonly outputs: readonly [{
|
|
269
|
+
readonly internalType: "contract IFeeEscrow";
|
|
270
|
+
readonly name: "";
|
|
271
|
+
readonly type: "address";
|
|
272
|
+
}];
|
|
273
|
+
readonly stateMutability: "view";
|
|
274
|
+
readonly type: "function";
|
|
275
|
+
}, {
|
|
276
|
+
readonly inputs: readonly [{
|
|
277
|
+
readonly internalType: "bytes32";
|
|
278
|
+
readonly name: "role";
|
|
279
|
+
readonly type: "bytes32";
|
|
280
|
+
}];
|
|
281
|
+
readonly name: "getRoleAdmin";
|
|
282
|
+
readonly outputs: readonly [{
|
|
283
|
+
readonly internalType: "bytes32";
|
|
284
|
+
readonly name: "";
|
|
285
|
+
readonly type: "bytes32";
|
|
286
|
+
}];
|
|
287
|
+
readonly stateMutability: "view";
|
|
288
|
+
readonly type: "function";
|
|
289
|
+
}, {
|
|
290
|
+
readonly inputs: readonly [{
|
|
291
|
+
readonly internalType: "bytes32";
|
|
292
|
+
readonly name: "role";
|
|
293
|
+
readonly type: "bytes32";
|
|
294
|
+
}, {
|
|
295
|
+
readonly internalType: "address";
|
|
296
|
+
readonly name: "account";
|
|
297
|
+
readonly type: "address";
|
|
298
|
+
}];
|
|
299
|
+
readonly name: "grantRole";
|
|
300
|
+
readonly outputs: readonly [];
|
|
301
|
+
readonly stateMutability: "nonpayable";
|
|
302
|
+
readonly type: "function";
|
|
303
|
+
}, {
|
|
304
|
+
readonly inputs: readonly [{
|
|
305
|
+
readonly internalType: "bytes32";
|
|
306
|
+
readonly name: "role";
|
|
307
|
+
readonly type: "bytes32";
|
|
308
|
+
}, {
|
|
309
|
+
readonly internalType: "address";
|
|
310
|
+
readonly name: "account";
|
|
311
|
+
readonly type: "address";
|
|
312
|
+
}];
|
|
313
|
+
readonly name: "hasRole";
|
|
314
|
+
readonly outputs: readonly [{
|
|
315
|
+
readonly internalType: "bool";
|
|
316
|
+
readonly name: "";
|
|
317
|
+
readonly type: "bool";
|
|
318
|
+
}];
|
|
319
|
+
readonly stateMutability: "view";
|
|
320
|
+
readonly type: "function";
|
|
321
|
+
}, {
|
|
322
|
+
readonly inputs: readonly [{
|
|
323
|
+
readonly internalType: "address";
|
|
324
|
+
readonly name: "_manager";
|
|
325
|
+
readonly type: "address";
|
|
326
|
+
}];
|
|
327
|
+
readonly name: "managerImplementation";
|
|
328
|
+
readonly outputs: readonly [{
|
|
329
|
+
readonly internalType: "address";
|
|
330
|
+
readonly name: "_managerImplementation";
|
|
331
|
+
readonly type: "address";
|
|
332
|
+
}];
|
|
333
|
+
readonly stateMutability: "view";
|
|
334
|
+
readonly type: "function";
|
|
335
|
+
}, {
|
|
336
|
+
readonly inputs: readonly [];
|
|
337
|
+
readonly name: "owner";
|
|
338
|
+
readonly outputs: readonly [{
|
|
339
|
+
readonly internalType: "address";
|
|
340
|
+
readonly name: "result";
|
|
341
|
+
readonly type: "address";
|
|
342
|
+
}];
|
|
343
|
+
readonly stateMutability: "view";
|
|
344
|
+
readonly type: "function";
|
|
345
|
+
}, {
|
|
346
|
+
readonly inputs: readonly [{
|
|
347
|
+
readonly internalType: "address";
|
|
348
|
+
readonly name: "pendingOwner";
|
|
349
|
+
readonly type: "address";
|
|
350
|
+
}];
|
|
351
|
+
readonly name: "ownershipHandoverExpiresAt";
|
|
352
|
+
readonly outputs: readonly [{
|
|
353
|
+
readonly internalType: "uint256";
|
|
354
|
+
readonly name: "result";
|
|
355
|
+
readonly type: "uint256";
|
|
356
|
+
}];
|
|
357
|
+
readonly stateMutability: "view";
|
|
358
|
+
readonly type: "function";
|
|
359
|
+
}, {
|
|
360
|
+
readonly inputs: readonly [];
|
|
361
|
+
readonly name: "renounceOwnership";
|
|
362
|
+
readonly outputs: readonly [];
|
|
363
|
+
readonly stateMutability: "payable";
|
|
364
|
+
readonly type: "function";
|
|
365
|
+
}, {
|
|
366
|
+
readonly inputs: readonly [{
|
|
367
|
+
readonly internalType: "bytes32";
|
|
368
|
+
readonly name: "role";
|
|
369
|
+
readonly type: "bytes32";
|
|
370
|
+
}, {
|
|
371
|
+
readonly internalType: "address";
|
|
372
|
+
readonly name: "callerConfirmation";
|
|
373
|
+
readonly type: "address";
|
|
374
|
+
}];
|
|
375
|
+
readonly name: "renounceRole";
|
|
376
|
+
readonly outputs: readonly [];
|
|
377
|
+
readonly stateMutability: "nonpayable";
|
|
378
|
+
readonly type: "function";
|
|
379
|
+
}, {
|
|
380
|
+
readonly inputs: readonly [];
|
|
381
|
+
readonly name: "requestOwnershipHandover";
|
|
382
|
+
readonly outputs: readonly [];
|
|
383
|
+
readonly stateMutability: "payable";
|
|
384
|
+
readonly type: "function";
|
|
385
|
+
}, {
|
|
386
|
+
readonly inputs: readonly [{
|
|
387
|
+
readonly internalType: "bytes32";
|
|
388
|
+
readonly name: "role";
|
|
389
|
+
readonly type: "bytes32";
|
|
390
|
+
}, {
|
|
391
|
+
readonly internalType: "address";
|
|
392
|
+
readonly name: "account";
|
|
393
|
+
readonly type: "address";
|
|
394
|
+
}];
|
|
395
|
+
readonly name: "revokeRole";
|
|
396
|
+
readonly outputs: readonly [];
|
|
397
|
+
readonly stateMutability: "nonpayable";
|
|
398
|
+
readonly type: "function";
|
|
399
|
+
}, {
|
|
400
|
+
readonly inputs: readonly [{
|
|
401
|
+
readonly internalType: "bytes4";
|
|
402
|
+
readonly name: "interfaceId";
|
|
403
|
+
readonly type: "bytes4";
|
|
404
|
+
}];
|
|
405
|
+
readonly name: "supportsInterface";
|
|
406
|
+
readonly outputs: readonly [{
|
|
407
|
+
readonly internalType: "bool";
|
|
408
|
+
readonly name: "";
|
|
409
|
+
readonly type: "bool";
|
|
410
|
+
}];
|
|
411
|
+
readonly stateMutability: "view";
|
|
412
|
+
readonly type: "function";
|
|
413
|
+
}, {
|
|
414
|
+
readonly inputs: readonly [{
|
|
415
|
+
readonly internalType: "address";
|
|
416
|
+
readonly name: "newOwner";
|
|
417
|
+
readonly type: "address";
|
|
418
|
+
}];
|
|
419
|
+
readonly name: "transferOwnership";
|
|
420
|
+
readonly outputs: readonly [];
|
|
421
|
+
readonly stateMutability: "payable";
|
|
422
|
+
readonly type: "function";
|
|
423
|
+
}, {
|
|
424
|
+
readonly inputs: readonly [{
|
|
425
|
+
readonly internalType: "address";
|
|
426
|
+
readonly name: "_managerImplementation";
|
|
427
|
+
readonly type: "address";
|
|
428
|
+
}];
|
|
429
|
+
readonly name: "unapproveManager";
|
|
430
|
+
readonly outputs: readonly [];
|
|
431
|
+
readonly stateMutability: "nonpayable";
|
|
432
|
+
readonly type: "function";
|
|
433
|
+
}];
|
|
434
|
+
//# sourceMappingURL=TreasuryManagerFactory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreasuryManagerFactory.d.ts","sourceRoot":"","sources":["../../src/abi/TreasuryManagerFactory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4X5B,CAAC"}
|
package/dist/abi/index.cjs
CHANGED
|
@@ -252,95 +252,64 @@ const FairLaunchAbi = [
|
|
|
252
252
|
|
|
253
253
|
const FastFlaunchZapAbi = [
|
|
254
254
|
{
|
|
255
|
-
type: "constructor",
|
|
256
255
|
inputs: [
|
|
257
256
|
{
|
|
257
|
+
internalType: "contract PositionManager",
|
|
258
258
|
name: "_positionManager",
|
|
259
259
|
type: "address",
|
|
260
|
-
internalType: "contract PositionManager",
|
|
261
260
|
},
|
|
262
261
|
],
|
|
263
262
|
stateMutability: "nonpayable",
|
|
263
|
+
type: "constructor",
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
|
-
type: "function",
|
|
267
|
-
name: "FAIR_LAUNCH_SUPPLY",
|
|
268
266
|
inputs: [],
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
name: "",
|
|
272
|
-
type: "uint256",
|
|
273
|
-
internalType: "uint256",
|
|
274
|
-
},
|
|
275
|
-
],
|
|
267
|
+
name: "CREATOR_FEE_ALLOCATION",
|
|
268
|
+
outputs: [{ internalType: "uint24", name: "", type: "uint24" }],
|
|
276
269
|
stateMutability: "view",
|
|
270
|
+
type: "function",
|
|
277
271
|
},
|
|
278
272
|
{
|
|
279
|
-
type: "function",
|
|
280
|
-
name: "USDC_MARKET_CAP",
|
|
281
273
|
inputs: [],
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
name: "",
|
|
285
|
-
type: "uint256",
|
|
286
|
-
internalType: "uint256",
|
|
287
|
-
},
|
|
288
|
-
],
|
|
274
|
+
name: "FAIR_LAUNCH_SUPPLY",
|
|
275
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
289
276
|
stateMutability: "view",
|
|
277
|
+
type: "function",
|
|
290
278
|
},
|
|
291
279
|
{
|
|
280
|
+
inputs: [],
|
|
281
|
+
name: "USDC_MARKET_CAP",
|
|
282
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
283
|
+
stateMutability: "view",
|
|
292
284
|
type: "function",
|
|
293
|
-
|
|
285
|
+
},
|
|
286
|
+
{
|
|
294
287
|
inputs: [
|
|
295
288
|
{
|
|
296
|
-
name: "_params",
|
|
297
|
-
type: "tuple",
|
|
298
|
-
internalType: "struct FastFlaunchZap.FastFlaunchParams",
|
|
299
289
|
components: [
|
|
300
|
-
{
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
name: "symbol",
|
|
307
|
-
type: "string",
|
|
308
|
-
internalType: "string",
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
name: "tokenUri",
|
|
312
|
-
type: "string",
|
|
313
|
-
internalType: "string",
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
name: "creator",
|
|
317
|
-
type: "address",
|
|
318
|
-
internalType: "address",
|
|
319
|
-
},
|
|
290
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
291
|
+
{ internalType: "string", name: "symbol", type: "string" },
|
|
292
|
+
{ internalType: "string", name: "tokenUri", type: "string" },
|
|
293
|
+
{ internalType: "address", name: "creator", type: "address" },
|
|
320
294
|
],
|
|
295
|
+
internalType: "struct FastFlaunchZap.FastFlaunchParams",
|
|
296
|
+
name: "_params",
|
|
297
|
+
type: "tuple",
|
|
321
298
|
},
|
|
322
299
|
],
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
name: "memecoin_",
|
|
326
|
-
type: "address",
|
|
327
|
-
internalType: "address",
|
|
328
|
-
},
|
|
329
|
-
],
|
|
300
|
+
name: "flaunch",
|
|
301
|
+
outputs: [{ internalType: "address", name: "memecoin_", type: "address" }],
|
|
330
302
|
stateMutability: "nonpayable",
|
|
303
|
+
type: "function",
|
|
331
304
|
},
|
|
332
305
|
{
|
|
333
|
-
type: "function",
|
|
334
|
-
name: "positionManager",
|
|
335
306
|
inputs: [],
|
|
307
|
+
name: "positionManager",
|
|
336
308
|
outputs: [
|
|
337
|
-
{
|
|
338
|
-
name: "",
|
|
339
|
-
type: "address",
|
|
340
|
-
internalType: "contract PositionManager",
|
|
341
|
-
},
|
|
309
|
+
{ internalType: "contract PositionManager", name: "", type: "address" },
|
|
342
310
|
],
|
|
343
311
|
stateMutability: "view",
|
|
312
|
+
type: "function",
|
|
344
313
|
},
|
|
345
314
|
];
|
|
346
315
|
|