@flaunch/sdk 0.8.2 → 0.8.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abi/FlaunchZap.d.ts +106 -102
- 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 +268 -242
- package/dist/abi/TreasuryManagerFactory.d.ts.map +1 -1
- package/dist/abi/index.cjs +476 -322
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.js +476 -322
- 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 +8 -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 +34 -7
- 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 +935 -381
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +933 -383
- 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,334 @@
|
|
|
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
|
-
}, {
|
|
34
|
-
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "CreatorCannotBeZero";
|
|
36
|
-
readonly type: "error";
|
|
37
33
|
}, {
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
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";
|
|
62
|
-
readonly type: "function";
|
|
63
58
|
}, {
|
|
64
|
-
readonly
|
|
59
|
+
readonly type: "function";
|
|
65
60
|
readonly name: "flETH";
|
|
61
|
+
readonly inputs: readonly [];
|
|
66
62
|
readonly outputs: readonly [{
|
|
67
|
-
readonly internalType: "contract IFLETH";
|
|
68
63
|
readonly name: "";
|
|
69
64
|
readonly type: "address";
|
|
65
|
+
readonly internalType: "contract IFLETH";
|
|
70
66
|
}];
|
|
71
67
|
readonly stateMutability: "view";
|
|
72
|
-
readonly type: "function";
|
|
73
68
|
}, {
|
|
69
|
+
readonly type: "function";
|
|
70
|
+
readonly name: "flaunch";
|
|
74
71
|
readonly inputs: readonly [{
|
|
72
|
+
readonly name: "_flaunchParams";
|
|
73
|
+
readonly type: "tuple";
|
|
74
|
+
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
75
75
|
readonly components: readonly [{
|
|
76
|
-
readonly internalType: "string";
|
|
77
76
|
readonly name: "name";
|
|
78
77
|
readonly type: "string";
|
|
79
|
-
}, {
|
|
80
78
|
readonly internalType: "string";
|
|
79
|
+
}, {
|
|
81
80
|
readonly name: "symbol";
|
|
82
81
|
readonly type: "string";
|
|
83
|
-
}, {
|
|
84
82
|
readonly internalType: "string";
|
|
83
|
+
}, {
|
|
85
84
|
readonly name: "tokenUri";
|
|
86
85
|
readonly type: "string";
|
|
86
|
+
readonly internalType: "string";
|
|
87
87
|
}, {
|
|
88
|
-
readonly internalType: "uint256";
|
|
89
88
|
readonly name: "initialTokenFairLaunch";
|
|
90
89
|
readonly type: "uint256";
|
|
91
|
-
}, {
|
|
92
90
|
readonly internalType: "uint256";
|
|
91
|
+
}, {
|
|
93
92
|
readonly name: "fairLaunchDuration";
|
|
94
93
|
readonly type: "uint256";
|
|
95
|
-
}, {
|
|
96
94
|
readonly internalType: "uint256";
|
|
95
|
+
}, {
|
|
97
96
|
readonly name: "premineAmount";
|
|
98
97
|
readonly type: "uint256";
|
|
98
|
+
readonly internalType: "uint256";
|
|
99
99
|
}, {
|
|
100
|
-
readonly internalType: "address";
|
|
101
100
|
readonly name: "creator";
|
|
102
101
|
readonly type: "address";
|
|
102
|
+
readonly internalType: "address";
|
|
103
103
|
}, {
|
|
104
|
-
readonly internalType: "uint24";
|
|
105
104
|
readonly name: "creatorFeeAllocation";
|
|
106
105
|
readonly type: "uint24";
|
|
106
|
+
readonly internalType: "uint24";
|
|
107
107
|
}, {
|
|
108
|
-
readonly internalType: "uint256";
|
|
109
108
|
readonly name: "flaunchAt";
|
|
110
109
|
readonly type: "uint256";
|
|
110
|
+
readonly internalType: "uint256";
|
|
111
111
|
}, {
|
|
112
|
-
readonly internalType: "bytes";
|
|
113
112
|
readonly name: "initialPriceParams";
|
|
114
113
|
readonly type: "bytes";
|
|
115
|
-
}, {
|
|
116
114
|
readonly internalType: "bytes";
|
|
115
|
+
}, {
|
|
117
116
|
readonly name: "feeCalculatorParams";
|
|
118
117
|
readonly type: "bytes";
|
|
118
|
+
readonly internalType: "bytes";
|
|
119
119
|
}];
|
|
120
|
-
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
121
|
-
readonly name: "_flaunchParams";
|
|
122
|
-
readonly type: "tuple";
|
|
123
120
|
}];
|
|
124
|
-
readonly name: "flaunch";
|
|
125
121
|
readonly outputs: readonly [{
|
|
126
|
-
readonly internalType: "address";
|
|
127
122
|
readonly name: "memecoin_";
|
|
128
123
|
readonly type: "address";
|
|
124
|
+
readonly internalType: "address";
|
|
129
125
|
}, {
|
|
130
|
-
readonly internalType: "uint256";
|
|
131
126
|
readonly name: "ethSpent_";
|
|
132
127
|
readonly type: "uint256";
|
|
128
|
+
readonly internalType: "uint256";
|
|
133
129
|
}, {
|
|
134
|
-
readonly internalType: "address";
|
|
135
130
|
readonly name: "";
|
|
136
131
|
readonly type: "address";
|
|
132
|
+
readonly internalType: "address";
|
|
137
133
|
}];
|
|
138
134
|
readonly stateMutability: "payable";
|
|
139
|
-
readonly type: "function";
|
|
140
135
|
}, {
|
|
136
|
+
readonly type: "function";
|
|
137
|
+
readonly name: "flaunch";
|
|
141
138
|
readonly inputs: readonly [{
|
|
139
|
+
readonly name: "_flaunchParams";
|
|
140
|
+
readonly type: "tuple";
|
|
141
|
+
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
142
142
|
readonly components: readonly [{
|
|
143
|
-
readonly internalType: "string";
|
|
144
143
|
readonly name: "name";
|
|
145
144
|
readonly type: "string";
|
|
146
|
-
}, {
|
|
147
145
|
readonly internalType: "string";
|
|
146
|
+
}, {
|
|
148
147
|
readonly name: "symbol";
|
|
149
148
|
readonly type: "string";
|
|
150
|
-
}, {
|
|
151
149
|
readonly internalType: "string";
|
|
150
|
+
}, {
|
|
152
151
|
readonly name: "tokenUri";
|
|
153
152
|
readonly type: "string";
|
|
153
|
+
readonly internalType: "string";
|
|
154
154
|
}, {
|
|
155
|
-
readonly internalType: "uint256";
|
|
156
155
|
readonly name: "initialTokenFairLaunch";
|
|
157
156
|
readonly type: "uint256";
|
|
158
|
-
}, {
|
|
159
157
|
readonly internalType: "uint256";
|
|
158
|
+
}, {
|
|
160
159
|
readonly name: "fairLaunchDuration";
|
|
161
160
|
readonly type: "uint256";
|
|
162
|
-
}, {
|
|
163
161
|
readonly internalType: "uint256";
|
|
162
|
+
}, {
|
|
164
163
|
readonly name: "premineAmount";
|
|
165
164
|
readonly type: "uint256";
|
|
165
|
+
readonly internalType: "uint256";
|
|
166
166
|
}, {
|
|
167
|
-
readonly internalType: "address";
|
|
168
167
|
readonly name: "creator";
|
|
169
168
|
readonly type: "address";
|
|
169
|
+
readonly internalType: "address";
|
|
170
170
|
}, {
|
|
171
|
-
readonly internalType: "uint24";
|
|
172
171
|
readonly name: "creatorFeeAllocation";
|
|
173
172
|
readonly type: "uint24";
|
|
173
|
+
readonly internalType: "uint24";
|
|
174
174
|
}, {
|
|
175
|
-
readonly internalType: "uint256";
|
|
176
175
|
readonly name: "flaunchAt";
|
|
177
176
|
readonly type: "uint256";
|
|
177
|
+
readonly internalType: "uint256";
|
|
178
178
|
}, {
|
|
179
|
-
readonly internalType: "bytes";
|
|
180
179
|
readonly name: "initialPriceParams";
|
|
181
180
|
readonly type: "bytes";
|
|
182
|
-
}, {
|
|
183
181
|
readonly internalType: "bytes";
|
|
182
|
+
}, {
|
|
184
183
|
readonly name: "feeCalculatorParams";
|
|
185
184
|
readonly type: "bytes";
|
|
185
|
+
readonly internalType: "bytes";
|
|
186
186
|
}];
|
|
187
|
-
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
188
|
-
readonly name: "_flaunchParams";
|
|
189
|
-
readonly type: "tuple";
|
|
190
187
|
}, {
|
|
188
|
+
readonly name: "_whitelistParams";
|
|
189
|
+
readonly type: "tuple";
|
|
190
|
+
readonly internalType: "struct FlaunchZap.WhitelistParams";
|
|
191
191
|
readonly components: readonly [{
|
|
192
|
-
readonly internalType: "bytes32";
|
|
193
192
|
readonly name: "merkleRoot";
|
|
194
193
|
readonly type: "bytes32";
|
|
194
|
+
readonly internalType: "bytes32";
|
|
195
195
|
}, {
|
|
196
|
-
readonly internalType: "string";
|
|
197
196
|
readonly name: "merkleIPFSHash";
|
|
198
197
|
readonly type: "string";
|
|
198
|
+
readonly internalType: "string";
|
|
199
199
|
}, {
|
|
200
|
-
readonly internalType: "uint256";
|
|
201
200
|
readonly name: "maxTokens";
|
|
202
201
|
readonly type: "uint256";
|
|
202
|
+
readonly internalType: "uint256";
|
|
203
203
|
}];
|
|
204
|
-
readonly internalType: "struct FlaunchZap.WhitelistParams";
|
|
205
|
-
readonly name: "_whitelistParams";
|
|
206
|
-
readonly type: "tuple";
|
|
207
204
|
}, {
|
|
205
|
+
readonly name: "_airdropParams";
|
|
206
|
+
readonly type: "tuple";
|
|
207
|
+
readonly internalType: "struct FlaunchZap.AirdropParams";
|
|
208
208
|
readonly components: readonly [{
|
|
209
|
-
readonly internalType: "uint256";
|
|
210
209
|
readonly name: "airdropIndex";
|
|
211
210
|
readonly type: "uint256";
|
|
212
|
-
}, {
|
|
213
211
|
readonly internalType: "uint256";
|
|
212
|
+
}, {
|
|
214
213
|
readonly name: "airdropAmount";
|
|
215
214
|
readonly type: "uint256";
|
|
216
|
-
}, {
|
|
217
215
|
readonly internalType: "uint256";
|
|
216
|
+
}, {
|
|
218
217
|
readonly name: "airdropEndTime";
|
|
219
218
|
readonly type: "uint256";
|
|
219
|
+
readonly internalType: "uint256";
|
|
220
220
|
}, {
|
|
221
|
-
readonly internalType: "bytes32";
|
|
222
221
|
readonly name: "merkleRoot";
|
|
223
222
|
readonly type: "bytes32";
|
|
223
|
+
readonly internalType: "bytes32";
|
|
224
224
|
}, {
|
|
225
|
-
readonly internalType: "string";
|
|
226
225
|
readonly name: "merkleIPFSHash";
|
|
227
226
|
readonly type: "string";
|
|
227
|
+
readonly internalType: "string";
|
|
228
228
|
}];
|
|
229
|
-
readonly internalType: "struct FlaunchZap.AirdropParams";
|
|
230
|
-
readonly name: "_airdropParams";
|
|
231
|
-
readonly type: "tuple";
|
|
232
229
|
}, {
|
|
230
|
+
readonly name: "_treasuryManagerParams";
|
|
231
|
+
readonly type: "tuple";
|
|
232
|
+
readonly internalType: "struct FlaunchZap.TreasuryManagerParams";
|
|
233
233
|
readonly components: readonly [{
|
|
234
|
-
readonly internalType: "address";
|
|
235
234
|
readonly name: "manager";
|
|
236
235
|
readonly type: "address";
|
|
236
|
+
readonly internalType: "address";
|
|
237
|
+
}, {
|
|
238
|
+
readonly name: "permissions";
|
|
239
|
+
readonly type: "address";
|
|
240
|
+
readonly internalType: "address";
|
|
237
241
|
}, {
|
|
238
|
-
readonly internalType: "bytes";
|
|
239
242
|
readonly name: "initializeData";
|
|
240
243
|
readonly type: "bytes";
|
|
241
|
-
}, {
|
|
242
244
|
readonly internalType: "bytes";
|
|
245
|
+
}, {
|
|
243
246
|
readonly name: "depositData";
|
|
244
247
|
readonly type: "bytes";
|
|
248
|
+
readonly internalType: "bytes";
|
|
245
249
|
}];
|
|
246
|
-
readonly internalType: "struct FlaunchZap.TreasuryManagerParams";
|
|
247
|
-
readonly name: "_treasuryManagerParams";
|
|
248
|
-
readonly type: "tuple";
|
|
249
250
|
}];
|
|
250
|
-
readonly name: "flaunch";
|
|
251
251
|
readonly outputs: readonly [{
|
|
252
|
-
readonly internalType: "address";
|
|
253
252
|
readonly name: "memecoin_";
|
|
254
253
|
readonly type: "address";
|
|
254
|
+
readonly internalType: "address";
|
|
255
255
|
}, {
|
|
256
|
-
readonly internalType: "uint256";
|
|
257
256
|
readonly name: "ethSpent_";
|
|
258
257
|
readonly type: "uint256";
|
|
258
|
+
readonly internalType: "uint256";
|
|
259
259
|
}, {
|
|
260
|
-
readonly internalType: "address";
|
|
261
260
|
readonly name: "deployedManager_";
|
|
262
261
|
readonly type: "address";
|
|
262
|
+
readonly internalType: "address";
|
|
263
263
|
}];
|
|
264
264
|
readonly stateMutability: "payable";
|
|
265
|
-
readonly type: "function";
|
|
266
265
|
}, {
|
|
267
|
-
readonly
|
|
266
|
+
readonly type: "function";
|
|
268
267
|
readonly name: "flaunchContract";
|
|
268
|
+
readonly inputs: readonly [];
|
|
269
269
|
readonly outputs: readonly [{
|
|
270
|
-
readonly internalType: "contract Flaunch";
|
|
271
270
|
readonly name: "";
|
|
272
271
|
readonly type: "address";
|
|
272
|
+
readonly internalType: "contract Flaunch";
|
|
273
273
|
}];
|
|
274
274
|
readonly stateMutability: "view";
|
|
275
|
-
readonly type: "function";
|
|
276
275
|
}, {
|
|
277
|
-
readonly
|
|
276
|
+
readonly type: "function";
|
|
278
277
|
readonly name: "merkleAirdrop";
|
|
278
|
+
readonly inputs: readonly [];
|
|
279
279
|
readonly outputs: readonly [{
|
|
280
|
-
readonly internalType: "contract IMerkleAirdrop";
|
|
281
280
|
readonly name: "";
|
|
282
281
|
readonly type: "address";
|
|
282
|
+
readonly internalType: "contract IMerkleAirdrop";
|
|
283
283
|
}];
|
|
284
284
|
readonly stateMutability: "view";
|
|
285
|
-
readonly type: "function";
|
|
286
285
|
}, {
|
|
287
|
-
readonly
|
|
286
|
+
readonly type: "function";
|
|
288
287
|
readonly name: "poolSwap";
|
|
288
|
+
readonly inputs: readonly [];
|
|
289
289
|
readonly outputs: readonly [{
|
|
290
|
-
readonly internalType: "contract PoolSwap";
|
|
291
290
|
readonly name: "";
|
|
292
291
|
readonly type: "address";
|
|
292
|
+
readonly internalType: "contract PoolSwap";
|
|
293
293
|
}];
|
|
294
294
|
readonly stateMutability: "view";
|
|
295
|
-
readonly type: "function";
|
|
296
295
|
}, {
|
|
297
|
-
readonly
|
|
296
|
+
readonly type: "function";
|
|
298
297
|
readonly name: "positionManager";
|
|
298
|
+
readonly inputs: readonly [];
|
|
299
299
|
readonly outputs: readonly [{
|
|
300
|
-
readonly internalType: "contract PositionManager";
|
|
301
300
|
readonly name: "";
|
|
302
301
|
readonly type: "address";
|
|
302
|
+
readonly internalType: "contract PositionManager";
|
|
303
303
|
}];
|
|
304
304
|
readonly stateMutability: "view";
|
|
305
|
-
readonly type: "function";
|
|
306
305
|
}, {
|
|
307
|
-
readonly
|
|
306
|
+
readonly type: "function";
|
|
308
307
|
readonly name: "treasuryManagerFactory";
|
|
308
|
+
readonly inputs: readonly [];
|
|
309
309
|
readonly outputs: readonly [{
|
|
310
|
-
readonly internalType: "contract ITreasuryManagerFactory";
|
|
311
310
|
readonly name: "";
|
|
312
311
|
readonly type: "address";
|
|
312
|
+
readonly internalType: "contract ITreasuryManagerFactory";
|
|
313
313
|
}];
|
|
314
314
|
readonly stateMutability: "view";
|
|
315
|
-
readonly type: "function";
|
|
316
315
|
}, {
|
|
317
|
-
readonly
|
|
316
|
+
readonly type: "function";
|
|
318
317
|
readonly name: "whitelistFairLaunch";
|
|
318
|
+
readonly inputs: readonly [];
|
|
319
319
|
readonly outputs: readonly [{
|
|
320
|
-
readonly internalType: "contract WhitelistFairLaunch";
|
|
321
320
|
readonly name: "";
|
|
322
321
|
readonly type: "address";
|
|
322
|
+
readonly internalType: "contract WhitelistFairLaunch";
|
|
323
323
|
}];
|
|
324
324
|
readonly stateMutability: "view";
|
|
325
|
-
readonly type: "function";
|
|
326
325
|
}, {
|
|
327
|
-
readonly
|
|
328
|
-
readonly
|
|
326
|
+
readonly type: "error";
|
|
327
|
+
readonly name: "CreatorCannotBeZero";
|
|
328
|
+
readonly inputs: readonly [];
|
|
329
|
+
}, {
|
|
330
|
+
readonly type: "error";
|
|
331
|
+
readonly name: "InsufficientMemecoinsForAirdrop";
|
|
332
|
+
readonly inputs: readonly [];
|
|
329
333
|
}];
|
|
330
334
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4UhB,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"}
|