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