@flaunch/sdk 0.8.2 → 0.8.3-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abi/FlaunchZap.d.ts +131 -101
- package/dist/abi/FlaunchZap.d.ts.map +1 -1
- package/dist/abi/TreasuryManager.d.ts +106 -0
- package/dist/abi/TreasuryManager.d.ts.map +1 -0
- package/dist/abi/TreasuryManagerFactory.d.ts +243 -243
- package/dist/abi/TreasuryManagerFactory.d.ts.map +1 -1
- package/dist/abi/index.cjs +483 -329
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.js +483 -329
- package/dist/abi/index.js.map +1 -1
- package/dist/addresses/index.cjs +23 -6
- package/dist/addresses/index.cjs.map +1 -1
- package/dist/addresses/index.js +21 -7
- package/dist/addresses/index.js.map +1 -1
- package/dist/addresses.d.ts +6 -1
- package/dist/addresses.d.ts.map +1 -1
- package/dist/clients/FlaunchZapClient.d.ts +44 -1
- package/dist/clients/FlaunchZapClient.d.ts.map +1 -1
- package/dist/clients/TreasuryManagerClient.d.ts +60 -0
- package/dist/clients/TreasuryManagerClient.d.ts.map +1 -0
- package/dist/clients/TreasuryManagerFactoryClient.d.ts +4 -14
- package/dist/clients/TreasuryManagerFactoryClient.d.ts.map +1 -1
- package/dist/helpers/index.cjs +61 -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 +62 -2
- package/dist/helpers/index.js.map +1 -1
- package/dist/helpers/permissions.d.ts +10 -0
- package/dist/helpers/permissions.d.ts.map +1 -0
- package/dist/index.cjs.js +985 -431
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +983 -433
- 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 +71 -6
- package/dist/sdk/FlaunchSDK.d.ts.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/abi/FlaunchZap.d.ts
CHANGED
|
@@ -1,330 +1,360 @@
|
|
|
1
1
|
export declare const FlaunchZapAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
2
3
|
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "contract PositionManager";
|
|
4
4
|
readonly name: "_positionManager";
|
|
5
5
|
readonly type: "address";
|
|
6
|
+
readonly internalType: "contract PositionManager";
|
|
6
7
|
}, {
|
|
7
|
-
readonly internalType: "contract Flaunch";
|
|
8
8
|
readonly name: "_flaunchContract";
|
|
9
9
|
readonly type: "address";
|
|
10
|
+
readonly internalType: "contract Flaunch";
|
|
10
11
|
}, {
|
|
11
|
-
readonly internalType: "contract IFLETH";
|
|
12
12
|
readonly name: "_flETH";
|
|
13
13
|
readonly type: "address";
|
|
14
|
+
readonly internalType: "contract IFLETH";
|
|
14
15
|
}, {
|
|
15
|
-
readonly internalType: "contract PoolSwap";
|
|
16
16
|
readonly name: "_poolSwap";
|
|
17
17
|
readonly type: "address";
|
|
18
|
+
readonly internalType: "contract PoolSwap";
|
|
18
19
|
}, {
|
|
19
|
-
readonly internalType: "contract ITreasuryManagerFactory";
|
|
20
20
|
readonly name: "_treasuryManagerFactory";
|
|
21
21
|
readonly type: "address";
|
|
22
|
+
readonly internalType: "contract ITreasuryManagerFactory";
|
|
22
23
|
}, {
|
|
23
|
-
readonly internalType: "contract IMerkleAirdrop";
|
|
24
24
|
readonly name: "_merkleAirdrop";
|
|
25
25
|
readonly type: "address";
|
|
26
|
+
readonly internalType: "contract IMerkleAirdrop";
|
|
26
27
|
}, {
|
|
27
|
-
readonly internalType: "contract WhitelistFairLaunch";
|
|
28
28
|
readonly name: "_whitelistFairLaunch";
|
|
29
29
|
readonly type: "address";
|
|
30
|
+
readonly internalType: "contract WhitelistFairLaunch";
|
|
30
31
|
}];
|
|
31
32
|
readonly stateMutability: "nonpayable";
|
|
32
|
-
readonly type: "constructor";
|
|
33
33
|
}, {
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly type: "error";
|
|
37
|
-
}, {
|
|
38
|
-
readonly inputs: readonly [];
|
|
39
|
-
readonly name: "InsufficientMemecoinsForAirdrop";
|
|
40
|
-
readonly type: "error";
|
|
34
|
+
readonly type: "receive";
|
|
35
|
+
readonly stateMutability: "payable";
|
|
41
36
|
}, {
|
|
37
|
+
readonly type: "function";
|
|
38
|
+
readonly name: "calculateFee";
|
|
42
39
|
readonly inputs: readonly [{
|
|
43
|
-
readonly internalType: "uint256";
|
|
44
40
|
readonly name: "_premineAmount";
|
|
45
41
|
readonly type: "uint256";
|
|
46
|
-
}, {
|
|
47
42
|
readonly internalType: "uint256";
|
|
43
|
+
}, {
|
|
48
44
|
readonly name: "_slippage";
|
|
49
45
|
readonly type: "uint256";
|
|
46
|
+
readonly internalType: "uint256";
|
|
50
47
|
}, {
|
|
51
|
-
readonly internalType: "bytes";
|
|
52
48
|
readonly name: "_initialPriceParams";
|
|
53
49
|
readonly type: "bytes";
|
|
50
|
+
readonly internalType: "bytes";
|
|
54
51
|
}];
|
|
55
|
-
readonly name: "calculateFee";
|
|
56
52
|
readonly outputs: readonly [{
|
|
57
|
-
readonly internalType: "uint256";
|
|
58
53
|
readonly name: "ethRequired_";
|
|
59
54
|
readonly type: "uint256";
|
|
55
|
+
readonly internalType: "uint256";
|
|
60
56
|
}];
|
|
61
57
|
readonly stateMutability: "view";
|
|
58
|
+
}, {
|
|
62
59
|
readonly type: "function";
|
|
60
|
+
readonly name: "deployAndInitializeManager";
|
|
61
|
+
readonly inputs: readonly [{
|
|
62
|
+
readonly name: "_managerImplementation";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
readonly internalType: "address";
|
|
65
|
+
}, {
|
|
66
|
+
readonly name: "_owner";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
readonly internalType: "address";
|
|
69
|
+
}, {
|
|
70
|
+
readonly name: "_data";
|
|
71
|
+
readonly type: "bytes";
|
|
72
|
+
readonly internalType: "bytes";
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: "_permissions";
|
|
75
|
+
readonly type: "address";
|
|
76
|
+
readonly internalType: "address";
|
|
77
|
+
}];
|
|
78
|
+
readonly outputs: readonly [{
|
|
79
|
+
readonly name: "manager_";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
readonly internalType: "address payable";
|
|
82
|
+
}];
|
|
83
|
+
readonly stateMutability: "nonpayable";
|
|
63
84
|
}, {
|
|
64
|
-
readonly
|
|
85
|
+
readonly type: "function";
|
|
65
86
|
readonly name: "flETH";
|
|
87
|
+
readonly inputs: readonly [];
|
|
66
88
|
readonly outputs: readonly [{
|
|
67
|
-
readonly internalType: "contract IFLETH";
|
|
68
89
|
readonly name: "";
|
|
69
90
|
readonly type: "address";
|
|
91
|
+
readonly internalType: "contract IFLETH";
|
|
70
92
|
}];
|
|
71
93
|
readonly stateMutability: "view";
|
|
72
|
-
readonly type: "function";
|
|
73
94
|
}, {
|
|
95
|
+
readonly type: "function";
|
|
96
|
+
readonly name: "flaunch";
|
|
74
97
|
readonly inputs: readonly [{
|
|
98
|
+
readonly name: "_flaunchParams";
|
|
99
|
+
readonly type: "tuple";
|
|
100
|
+
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
75
101
|
readonly components: readonly [{
|
|
76
|
-
readonly internalType: "string";
|
|
77
102
|
readonly name: "name";
|
|
78
103
|
readonly type: "string";
|
|
79
|
-
}, {
|
|
80
104
|
readonly internalType: "string";
|
|
105
|
+
}, {
|
|
81
106
|
readonly name: "symbol";
|
|
82
107
|
readonly type: "string";
|
|
83
|
-
}, {
|
|
84
108
|
readonly internalType: "string";
|
|
109
|
+
}, {
|
|
85
110
|
readonly name: "tokenUri";
|
|
86
111
|
readonly type: "string";
|
|
112
|
+
readonly internalType: "string";
|
|
87
113
|
}, {
|
|
88
|
-
readonly internalType: "uint256";
|
|
89
114
|
readonly name: "initialTokenFairLaunch";
|
|
90
115
|
readonly type: "uint256";
|
|
91
|
-
}, {
|
|
92
116
|
readonly internalType: "uint256";
|
|
117
|
+
}, {
|
|
93
118
|
readonly name: "fairLaunchDuration";
|
|
94
119
|
readonly type: "uint256";
|
|
95
|
-
}, {
|
|
96
120
|
readonly internalType: "uint256";
|
|
121
|
+
}, {
|
|
97
122
|
readonly name: "premineAmount";
|
|
98
123
|
readonly type: "uint256";
|
|
124
|
+
readonly internalType: "uint256";
|
|
99
125
|
}, {
|
|
100
|
-
readonly internalType: "address";
|
|
101
126
|
readonly name: "creator";
|
|
102
127
|
readonly type: "address";
|
|
128
|
+
readonly internalType: "address";
|
|
103
129
|
}, {
|
|
104
|
-
readonly internalType: "uint24";
|
|
105
130
|
readonly name: "creatorFeeAllocation";
|
|
106
131
|
readonly type: "uint24";
|
|
132
|
+
readonly internalType: "uint24";
|
|
107
133
|
}, {
|
|
108
|
-
readonly internalType: "uint256";
|
|
109
134
|
readonly name: "flaunchAt";
|
|
110
135
|
readonly type: "uint256";
|
|
136
|
+
readonly internalType: "uint256";
|
|
111
137
|
}, {
|
|
112
|
-
readonly internalType: "bytes";
|
|
113
138
|
readonly name: "initialPriceParams";
|
|
114
139
|
readonly type: "bytes";
|
|
115
|
-
}, {
|
|
116
140
|
readonly internalType: "bytes";
|
|
141
|
+
}, {
|
|
117
142
|
readonly name: "feeCalculatorParams";
|
|
118
143
|
readonly type: "bytes";
|
|
144
|
+
readonly internalType: "bytes";
|
|
119
145
|
}];
|
|
120
|
-
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
121
|
-
readonly name: "_flaunchParams";
|
|
122
|
-
readonly type: "tuple";
|
|
123
146
|
}];
|
|
124
|
-
readonly name: "flaunch";
|
|
125
147
|
readonly outputs: readonly [{
|
|
126
|
-
readonly internalType: "address";
|
|
127
148
|
readonly name: "memecoin_";
|
|
128
149
|
readonly type: "address";
|
|
150
|
+
readonly internalType: "address";
|
|
129
151
|
}, {
|
|
130
|
-
readonly internalType: "uint256";
|
|
131
152
|
readonly name: "ethSpent_";
|
|
132
153
|
readonly type: "uint256";
|
|
154
|
+
readonly internalType: "uint256";
|
|
133
155
|
}, {
|
|
134
|
-
readonly internalType: "address";
|
|
135
156
|
readonly name: "";
|
|
136
157
|
readonly type: "address";
|
|
158
|
+
readonly internalType: "address";
|
|
137
159
|
}];
|
|
138
160
|
readonly stateMutability: "payable";
|
|
139
|
-
readonly type: "function";
|
|
140
161
|
}, {
|
|
162
|
+
readonly type: "function";
|
|
163
|
+
readonly name: "flaunch";
|
|
141
164
|
readonly inputs: readonly [{
|
|
165
|
+
readonly name: "_flaunchParams";
|
|
166
|
+
readonly type: "tuple";
|
|
167
|
+
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
142
168
|
readonly components: readonly [{
|
|
143
|
-
readonly internalType: "string";
|
|
144
169
|
readonly name: "name";
|
|
145
170
|
readonly type: "string";
|
|
146
|
-
}, {
|
|
147
171
|
readonly internalType: "string";
|
|
172
|
+
}, {
|
|
148
173
|
readonly name: "symbol";
|
|
149
174
|
readonly type: "string";
|
|
150
|
-
}, {
|
|
151
175
|
readonly internalType: "string";
|
|
176
|
+
}, {
|
|
152
177
|
readonly name: "tokenUri";
|
|
153
178
|
readonly type: "string";
|
|
179
|
+
readonly internalType: "string";
|
|
154
180
|
}, {
|
|
155
|
-
readonly internalType: "uint256";
|
|
156
181
|
readonly name: "initialTokenFairLaunch";
|
|
157
182
|
readonly type: "uint256";
|
|
158
|
-
}, {
|
|
159
183
|
readonly internalType: "uint256";
|
|
184
|
+
}, {
|
|
160
185
|
readonly name: "fairLaunchDuration";
|
|
161
186
|
readonly type: "uint256";
|
|
162
|
-
}, {
|
|
163
187
|
readonly internalType: "uint256";
|
|
188
|
+
}, {
|
|
164
189
|
readonly name: "premineAmount";
|
|
165
190
|
readonly type: "uint256";
|
|
191
|
+
readonly internalType: "uint256";
|
|
166
192
|
}, {
|
|
167
|
-
readonly internalType: "address";
|
|
168
193
|
readonly name: "creator";
|
|
169
194
|
readonly type: "address";
|
|
195
|
+
readonly internalType: "address";
|
|
170
196
|
}, {
|
|
171
|
-
readonly internalType: "uint24";
|
|
172
197
|
readonly name: "creatorFeeAllocation";
|
|
173
198
|
readonly type: "uint24";
|
|
199
|
+
readonly internalType: "uint24";
|
|
174
200
|
}, {
|
|
175
|
-
readonly internalType: "uint256";
|
|
176
201
|
readonly name: "flaunchAt";
|
|
177
202
|
readonly type: "uint256";
|
|
203
|
+
readonly internalType: "uint256";
|
|
178
204
|
}, {
|
|
179
|
-
readonly internalType: "bytes";
|
|
180
205
|
readonly name: "initialPriceParams";
|
|
181
206
|
readonly type: "bytes";
|
|
182
|
-
}, {
|
|
183
207
|
readonly internalType: "bytes";
|
|
208
|
+
}, {
|
|
184
209
|
readonly name: "feeCalculatorParams";
|
|
185
210
|
readonly type: "bytes";
|
|
211
|
+
readonly internalType: "bytes";
|
|
186
212
|
}];
|
|
187
|
-
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
188
|
-
readonly name: "_flaunchParams";
|
|
189
|
-
readonly type: "tuple";
|
|
190
213
|
}, {
|
|
214
|
+
readonly name: "_whitelistParams";
|
|
215
|
+
readonly type: "tuple";
|
|
216
|
+
readonly internalType: "struct FlaunchZap.WhitelistParams";
|
|
191
217
|
readonly components: readonly [{
|
|
192
|
-
readonly internalType: "bytes32";
|
|
193
218
|
readonly name: "merkleRoot";
|
|
194
219
|
readonly type: "bytes32";
|
|
220
|
+
readonly internalType: "bytes32";
|
|
195
221
|
}, {
|
|
196
|
-
readonly internalType: "string";
|
|
197
222
|
readonly name: "merkleIPFSHash";
|
|
198
223
|
readonly type: "string";
|
|
224
|
+
readonly internalType: "string";
|
|
199
225
|
}, {
|
|
200
|
-
readonly internalType: "uint256";
|
|
201
226
|
readonly name: "maxTokens";
|
|
202
227
|
readonly type: "uint256";
|
|
228
|
+
readonly internalType: "uint256";
|
|
203
229
|
}];
|
|
204
|
-
readonly internalType: "struct FlaunchZap.WhitelistParams";
|
|
205
|
-
readonly name: "_whitelistParams";
|
|
206
|
-
readonly type: "tuple";
|
|
207
230
|
}, {
|
|
231
|
+
readonly name: "_airdropParams";
|
|
232
|
+
readonly type: "tuple";
|
|
233
|
+
readonly internalType: "struct FlaunchZap.AirdropParams";
|
|
208
234
|
readonly components: readonly [{
|
|
209
|
-
readonly internalType: "uint256";
|
|
210
235
|
readonly name: "airdropIndex";
|
|
211
236
|
readonly type: "uint256";
|
|
212
|
-
}, {
|
|
213
237
|
readonly internalType: "uint256";
|
|
238
|
+
}, {
|
|
214
239
|
readonly name: "airdropAmount";
|
|
215
240
|
readonly type: "uint256";
|
|
216
|
-
}, {
|
|
217
241
|
readonly internalType: "uint256";
|
|
242
|
+
}, {
|
|
218
243
|
readonly name: "airdropEndTime";
|
|
219
244
|
readonly type: "uint256";
|
|
245
|
+
readonly internalType: "uint256";
|
|
220
246
|
}, {
|
|
221
|
-
readonly internalType: "bytes32";
|
|
222
247
|
readonly name: "merkleRoot";
|
|
223
248
|
readonly type: "bytes32";
|
|
249
|
+
readonly internalType: "bytes32";
|
|
224
250
|
}, {
|
|
225
|
-
readonly internalType: "string";
|
|
226
251
|
readonly name: "merkleIPFSHash";
|
|
227
252
|
readonly type: "string";
|
|
253
|
+
readonly internalType: "string";
|
|
228
254
|
}];
|
|
229
|
-
readonly internalType: "struct FlaunchZap.AirdropParams";
|
|
230
|
-
readonly name: "_airdropParams";
|
|
231
|
-
readonly type: "tuple";
|
|
232
255
|
}, {
|
|
256
|
+
readonly name: "_treasuryManagerParams";
|
|
257
|
+
readonly type: "tuple";
|
|
258
|
+
readonly internalType: "struct FlaunchZap.TreasuryManagerParams";
|
|
233
259
|
readonly components: readonly [{
|
|
234
|
-
readonly internalType: "address";
|
|
235
260
|
readonly name: "manager";
|
|
236
261
|
readonly type: "address";
|
|
262
|
+
readonly internalType: "address";
|
|
263
|
+
}, {
|
|
264
|
+
readonly name: "permissions";
|
|
265
|
+
readonly type: "address";
|
|
266
|
+
readonly internalType: "address";
|
|
237
267
|
}, {
|
|
238
|
-
readonly internalType: "bytes";
|
|
239
268
|
readonly name: "initializeData";
|
|
240
269
|
readonly type: "bytes";
|
|
241
|
-
}, {
|
|
242
270
|
readonly internalType: "bytes";
|
|
271
|
+
}, {
|
|
243
272
|
readonly name: "depositData";
|
|
244
273
|
readonly type: "bytes";
|
|
274
|
+
readonly internalType: "bytes";
|
|
245
275
|
}];
|
|
246
|
-
readonly internalType: "struct FlaunchZap.TreasuryManagerParams";
|
|
247
|
-
readonly name: "_treasuryManagerParams";
|
|
248
|
-
readonly type: "tuple";
|
|
249
276
|
}];
|
|
250
|
-
readonly name: "flaunch";
|
|
251
277
|
readonly outputs: readonly [{
|
|
252
|
-
readonly internalType: "address";
|
|
253
278
|
readonly name: "memecoin_";
|
|
254
279
|
readonly type: "address";
|
|
280
|
+
readonly internalType: "address";
|
|
255
281
|
}, {
|
|
256
|
-
readonly internalType: "uint256";
|
|
257
282
|
readonly name: "ethSpent_";
|
|
258
283
|
readonly type: "uint256";
|
|
284
|
+
readonly internalType: "uint256";
|
|
259
285
|
}, {
|
|
260
|
-
readonly internalType: "address";
|
|
261
286
|
readonly name: "deployedManager_";
|
|
262
287
|
readonly type: "address";
|
|
288
|
+
readonly internalType: "address";
|
|
263
289
|
}];
|
|
264
290
|
readonly stateMutability: "payable";
|
|
265
|
-
readonly type: "function";
|
|
266
291
|
}, {
|
|
267
|
-
readonly
|
|
292
|
+
readonly type: "function";
|
|
268
293
|
readonly name: "flaunchContract";
|
|
294
|
+
readonly inputs: readonly [];
|
|
269
295
|
readonly outputs: readonly [{
|
|
270
|
-
readonly internalType: "contract Flaunch";
|
|
271
296
|
readonly name: "";
|
|
272
297
|
readonly type: "address";
|
|
298
|
+
readonly internalType: "contract Flaunch";
|
|
273
299
|
}];
|
|
274
300
|
readonly stateMutability: "view";
|
|
275
|
-
readonly type: "function";
|
|
276
301
|
}, {
|
|
277
|
-
readonly
|
|
302
|
+
readonly type: "function";
|
|
278
303
|
readonly name: "merkleAirdrop";
|
|
304
|
+
readonly inputs: readonly [];
|
|
279
305
|
readonly outputs: readonly [{
|
|
280
|
-
readonly internalType: "contract IMerkleAirdrop";
|
|
281
306
|
readonly name: "";
|
|
282
307
|
readonly type: "address";
|
|
308
|
+
readonly internalType: "contract IMerkleAirdrop";
|
|
283
309
|
}];
|
|
284
310
|
readonly stateMutability: "view";
|
|
285
|
-
readonly type: "function";
|
|
286
311
|
}, {
|
|
287
|
-
readonly
|
|
312
|
+
readonly type: "function";
|
|
288
313
|
readonly name: "poolSwap";
|
|
314
|
+
readonly inputs: readonly [];
|
|
289
315
|
readonly outputs: readonly [{
|
|
290
|
-
readonly internalType: "contract PoolSwap";
|
|
291
316
|
readonly name: "";
|
|
292
317
|
readonly type: "address";
|
|
318
|
+
readonly internalType: "contract PoolSwap";
|
|
293
319
|
}];
|
|
294
320
|
readonly stateMutability: "view";
|
|
295
|
-
readonly type: "function";
|
|
296
321
|
}, {
|
|
297
|
-
readonly
|
|
322
|
+
readonly type: "function";
|
|
298
323
|
readonly name: "positionManager";
|
|
324
|
+
readonly inputs: readonly [];
|
|
299
325
|
readonly outputs: readonly [{
|
|
300
|
-
readonly internalType: "contract PositionManager";
|
|
301
326
|
readonly name: "";
|
|
302
327
|
readonly type: "address";
|
|
328
|
+
readonly internalType: "contract PositionManager";
|
|
303
329
|
}];
|
|
304
330
|
readonly stateMutability: "view";
|
|
305
|
-
readonly type: "function";
|
|
306
331
|
}, {
|
|
307
|
-
readonly
|
|
332
|
+
readonly type: "function";
|
|
308
333
|
readonly name: "treasuryManagerFactory";
|
|
334
|
+
readonly inputs: readonly [];
|
|
309
335
|
readonly outputs: readonly [{
|
|
310
|
-
readonly internalType: "contract ITreasuryManagerFactory";
|
|
311
336
|
readonly name: "";
|
|
312
337
|
readonly type: "address";
|
|
338
|
+
readonly internalType: "contract ITreasuryManagerFactory";
|
|
313
339
|
}];
|
|
314
340
|
readonly stateMutability: "view";
|
|
315
|
-
readonly type: "function";
|
|
316
341
|
}, {
|
|
317
|
-
readonly
|
|
342
|
+
readonly type: "function";
|
|
318
343
|
readonly name: "whitelistFairLaunch";
|
|
344
|
+
readonly inputs: readonly [];
|
|
319
345
|
readonly outputs: readonly [{
|
|
320
|
-
readonly internalType: "contract WhitelistFairLaunch";
|
|
321
346
|
readonly name: "";
|
|
322
347
|
readonly type: "address";
|
|
348
|
+
readonly internalType: "contract WhitelistFairLaunch";
|
|
323
349
|
}];
|
|
324
350
|
readonly stateMutability: "view";
|
|
325
|
-
readonly type: "function";
|
|
326
351
|
}, {
|
|
327
|
-
readonly
|
|
328
|
-
readonly
|
|
352
|
+
readonly type: "error";
|
|
353
|
+
readonly name: "CreatorCannotBeZero";
|
|
354
|
+
readonly inputs: readonly [];
|
|
355
|
+
}, {
|
|
356
|
+
readonly type: "error";
|
|
357
|
+
readonly name: "InsufficientMemecoinsForAirdrop";
|
|
358
|
+
readonly inputs: readonly [];
|
|
329
359
|
}];
|
|
330
360
|
//# sourceMappingURL=FlaunchZap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlaunchZap.d.ts","sourceRoot":"","sources":["../../src/abi/FlaunchZap.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"FlaunchZap.d.ts","sourceRoot":"","sources":["../../src/abi/FlaunchZap.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkWhB,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
export declare const TreasuryManagerAbi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "deposit";
|
|
4
|
+
readonly inputs: readonly [{
|
|
5
|
+
readonly name: "_flaunchToken";
|
|
6
|
+
readonly type: "tuple";
|
|
7
|
+
readonly internalType: "struct ITreasuryManager.FlaunchToken";
|
|
8
|
+
readonly components: readonly [{
|
|
9
|
+
readonly name: "flaunch";
|
|
10
|
+
readonly type: "address";
|
|
11
|
+
readonly internalType: "contract Flaunch";
|
|
12
|
+
}, {
|
|
13
|
+
readonly name: "tokenId";
|
|
14
|
+
readonly type: "uint256";
|
|
15
|
+
readonly internalType: "uint256";
|
|
16
|
+
}];
|
|
17
|
+
}, {
|
|
18
|
+
readonly name: "_creator";
|
|
19
|
+
readonly type: "address";
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "_data";
|
|
23
|
+
readonly type: "bytes";
|
|
24
|
+
readonly internalType: "bytes";
|
|
25
|
+
}];
|
|
26
|
+
readonly outputs: readonly [];
|
|
27
|
+
readonly stateMutability: "nonpayable";
|
|
28
|
+
}, {
|
|
29
|
+
readonly type: "function";
|
|
30
|
+
readonly name: "initialize";
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly name: "_owner";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "_data";
|
|
37
|
+
readonly type: "bytes";
|
|
38
|
+
readonly internalType: "bytes";
|
|
39
|
+
}];
|
|
40
|
+
readonly outputs: readonly [];
|
|
41
|
+
readonly stateMutability: "nonpayable";
|
|
42
|
+
}, {
|
|
43
|
+
readonly type: "function";
|
|
44
|
+
readonly name: "managerOwner";
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly outputs: readonly [{
|
|
47
|
+
readonly name: "";
|
|
48
|
+
readonly type: "address";
|
|
49
|
+
readonly internalType: "address";
|
|
50
|
+
}];
|
|
51
|
+
readonly stateMutability: "view";
|
|
52
|
+
}, {
|
|
53
|
+
readonly type: "function";
|
|
54
|
+
readonly name: "permissions";
|
|
55
|
+
readonly inputs: readonly [];
|
|
56
|
+
readonly outputs: readonly [{
|
|
57
|
+
readonly name: "";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
readonly internalType: "contract IManagerPermissions";
|
|
60
|
+
}];
|
|
61
|
+
readonly stateMutability: "view";
|
|
62
|
+
}, {
|
|
63
|
+
readonly type: "function";
|
|
64
|
+
readonly name: "rescue";
|
|
65
|
+
readonly inputs: readonly [{
|
|
66
|
+
readonly name: "_flaunchToken";
|
|
67
|
+
readonly type: "tuple";
|
|
68
|
+
readonly internalType: "struct ITreasuryManager.FlaunchToken";
|
|
69
|
+
readonly components: readonly [{
|
|
70
|
+
readonly name: "flaunch";
|
|
71
|
+
readonly type: "address";
|
|
72
|
+
readonly internalType: "contract Flaunch";
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: "tokenId";
|
|
75
|
+
readonly type: "uint256";
|
|
76
|
+
readonly internalType: "uint256";
|
|
77
|
+
}];
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "_recipient";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
}];
|
|
83
|
+
readonly outputs: readonly [];
|
|
84
|
+
readonly stateMutability: "nonpayable";
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "function";
|
|
87
|
+
readonly name: "setPermissions";
|
|
88
|
+
readonly inputs: readonly [{
|
|
89
|
+
readonly name: "_permissions";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
readonly internalType: "address";
|
|
92
|
+
}];
|
|
93
|
+
readonly outputs: readonly [];
|
|
94
|
+
readonly stateMutability: "nonpayable";
|
|
95
|
+
}, {
|
|
96
|
+
readonly type: "function";
|
|
97
|
+
readonly name: "transferManagerOwnership";
|
|
98
|
+
readonly inputs: readonly [{
|
|
99
|
+
readonly name: "_newManagerOwner";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
readonly internalType: "address";
|
|
102
|
+
}];
|
|
103
|
+
readonly outputs: readonly [];
|
|
104
|
+
readonly stateMutability: "nonpayable";
|
|
105
|
+
}];
|
|
106
|
+
//# sourceMappingURL=TreasuryManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreasuryManager.d.ts","sourceRoot":"","sources":["../../src/abi/TreasuryManager.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkGrB,CAAC"}
|