@ubi.fun/sdk 0.1.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.
Files changed (191) hide show
  1. package/LICENSE +10 -0
  2. package/README.md +279 -0
  3. package/dist/abi/AddressFeeSplitManager.d.cts +938 -0
  4. package/dist/abi/AddressFeeSplitManager.d.ts +939 -0
  5. package/dist/abi/AddressFeeSplitManager.d.ts.map +1 -0
  6. package/dist/abi/BidWall.d.cts +739 -0
  7. package/dist/abi/BidWall.d.ts +740 -0
  8. package/dist/abi/BidWall.d.ts.map +1 -0
  9. package/dist/abi/FairLaunch.d.cts +535 -0
  10. package/dist/abi/FairLaunch.d.ts +536 -0
  11. package/dist/abi/FairLaunch.d.ts.map +1 -0
  12. package/dist/abi/FeeEscrow.d.cts +281 -0
  13. package/dist/abi/FeeEscrow.d.ts +282 -0
  14. package/dist/abi/FeeEscrow.d.ts.map +1 -0
  15. package/dist/abi/Flaunch.d.cts +775 -0
  16. package/dist/abi/Flaunch.d.ts +776 -0
  17. package/dist/abi/Flaunch.d.ts.map +1 -0
  18. package/dist/abi/FlaunchPositionManager.d.cts +2170 -0
  19. package/dist/abi/FlaunchPositionManager.d.ts +2171 -0
  20. package/dist/abi/FlaunchPositionManager.d.ts.map +1 -0
  21. package/dist/abi/FlaunchZap.d.cts +300 -0
  22. package/dist/abi/FlaunchZap.d.ts +301 -0
  23. package/dist/abi/FlaunchZap.d.ts.map +1 -0
  24. package/dist/abi/InitialPrice.d.cts +252 -0
  25. package/dist/abi/InitialPrice.d.ts +253 -0
  26. package/dist/abi/InitialPrice.d.ts.map +1 -0
  27. package/dist/abi/Memecoin.d.cts +680 -0
  28. package/dist/abi/Memecoin.d.ts +681 -0
  29. package/dist/abi/Memecoin.d.ts.map +1 -0
  30. package/dist/abi/Multicall.d.cts +332 -0
  31. package/dist/abi/Multicall.d.ts +333 -0
  32. package/dist/abi/Multicall.d.ts.map +1 -0
  33. package/dist/abi/PoolManager.d.cts +1056 -0
  34. package/dist/abi/PoolManager.d.ts +1057 -0
  35. package/dist/abi/PoolManager.d.ts.map +1 -0
  36. package/dist/abi/PoolSwap.d.cts +89 -0
  37. package/dist/abi/PoolSwap.d.ts +90 -0
  38. package/dist/abi/PoolSwap.d.ts.map +1 -0
  39. package/dist/abi/Quoter.d.cts +485 -0
  40. package/dist/abi/Quoter.d.ts +486 -0
  41. package/dist/abi/Quoter.d.ts.map +1 -0
  42. package/dist/abi/ReferralEscrow.d.cts +459 -0
  43. package/dist/abi/ReferralEscrow.d.ts +460 -0
  44. package/dist/abi/ReferralEscrow.d.ts.map +1 -0
  45. package/dist/abi/TreasuryManager.d.cts +325 -0
  46. package/dist/abi/TreasuryManager.d.ts +326 -0
  47. package/dist/abi/TreasuryManager.d.ts.map +1 -0
  48. package/dist/abi/TreasuryManagerFactory.d.cts +433 -0
  49. package/dist/abi/TreasuryManagerFactory.d.ts +434 -0
  50. package/dist/abi/TreasuryManagerFactory.d.ts.map +1 -0
  51. package/dist/abi/UniversalRewardsDistributor.d.cts +191 -0
  52. package/dist/abi/UniversalRewardsDistributor.d.ts +192 -0
  53. package/dist/abi/UniversalRewardsDistributor.d.ts.map +1 -0
  54. package/dist/abi/XHandleClaims.d.cts +383 -0
  55. package/dist/abi/XHandleClaims.d.ts +384 -0
  56. package/dist/abi/XHandleClaims.d.ts.map +1 -0
  57. package/dist/abi/index.cjs +13541 -0
  58. package/dist/abi/index.cjs.map +1 -0
  59. package/dist/abi/index.d.cts +18 -0
  60. package/dist/abi/index.d.ts +19 -0
  61. package/dist/abi/index.d.ts.map +1 -0
  62. package/dist/abi/index.js +13522 -0
  63. package/dist/abi/index.js.map +1 -0
  64. package/dist/addresses/index.cjs +90 -0
  65. package/dist/addresses/index.cjs.map +1 -0
  66. package/dist/addresses/index.js +70 -0
  67. package/dist/addresses/index.js.map +1 -0
  68. package/dist/addresses.d.cts +48 -0
  69. package/dist/addresses.d.ts +49 -0
  70. package/dist/addresses.d.ts.map +1 -0
  71. package/dist/clients/BidWallClient.d.cts +44 -0
  72. package/dist/clients/BidWallClient.d.ts +45 -0
  73. package/dist/clients/BidWallClient.d.ts.map +1 -0
  74. package/dist/clients/FairLaunchClient.d.cts +47 -0
  75. package/dist/clients/FairLaunchClient.d.ts +48 -0
  76. package/dist/clients/FairLaunchClient.d.ts.map +1 -0
  77. package/dist/clients/FeeEscrowClient.d.cts +40 -0
  78. package/dist/clients/FeeEscrowClient.d.ts +41 -0
  79. package/dist/clients/FeeEscrowClient.d.ts.map +1 -0
  80. package/dist/clients/FlaunchClient.d.cts +35 -0
  81. package/dist/clients/FlaunchClient.d.ts +36 -0
  82. package/dist/clients/FlaunchClient.d.ts.map +1 -0
  83. package/dist/clients/FlaunchPositionManagerClient.d.cts +117 -0
  84. package/dist/clients/FlaunchPositionManagerClient.d.ts +118 -0
  85. package/dist/clients/FlaunchPositionManagerClient.d.ts.map +1 -0
  86. package/dist/clients/FlaunchZapClient.d.cts +127 -0
  87. package/dist/clients/FlaunchZapClient.d.ts +128 -0
  88. package/dist/clients/FlaunchZapClient.d.ts.map +1 -0
  89. package/dist/clients/InitialPriceClient.d.cts +32 -0
  90. package/dist/clients/InitialPriceClient.d.ts +33 -0
  91. package/dist/clients/InitialPriceClient.d.ts.map +1 -0
  92. package/dist/clients/MemecoinClient.d.cts +66 -0
  93. package/dist/clients/MemecoinClient.d.ts +67 -0
  94. package/dist/clients/MemecoinClient.d.ts.map +1 -0
  95. package/dist/clients/MulticallClient.d.cts +15 -0
  96. package/dist/clients/MulticallClient.d.ts +16 -0
  97. package/dist/clients/MulticallClient.d.ts.map +1 -0
  98. package/dist/clients/PoolManagerClient.d.cts +50 -0
  99. package/dist/clients/PoolManagerClient.d.ts +51 -0
  100. package/dist/clients/PoolManagerClient.d.ts.map +1 -0
  101. package/dist/clients/PoolSwapClient.d.cts +37 -0
  102. package/dist/clients/PoolSwapClient.d.ts +38 -0
  103. package/dist/clients/PoolSwapClient.d.ts.map +1 -0
  104. package/dist/clients/QuoterClient.d.cts +58 -0
  105. package/dist/clients/QuoterClient.d.ts +59 -0
  106. package/dist/clients/QuoterClient.d.ts.map +1 -0
  107. package/dist/clients/ReferralEscrowClient.d.cts +39 -0
  108. package/dist/clients/ReferralEscrowClient.d.ts +40 -0
  109. package/dist/clients/ReferralEscrowClient.d.ts.map +1 -0
  110. package/dist/clients/TreasuryManagerClient.d.cts +71 -0
  111. package/dist/clients/TreasuryManagerClient.d.ts +72 -0
  112. package/dist/clients/TreasuryManagerClient.d.ts.map +1 -0
  113. package/dist/clients/TreasuryManagerFactoryClient.d.cts +15 -0
  114. package/dist/clients/TreasuryManagerFactoryClient.d.ts +16 -0
  115. package/dist/clients/TreasuryManagerFactoryClient.d.ts.map +1 -0
  116. package/dist/clients/UniversalRewardsDistributorClient.d.cts +45 -0
  117. package/dist/clients/UniversalRewardsDistributorClient.d.ts +46 -0
  118. package/dist/clients/UniversalRewardsDistributorClient.d.ts.map +1 -0
  119. package/dist/clients/XHandleClaimsClient.d.cts +64 -0
  120. package/dist/clients/XHandleClaimsClient.d.ts +65 -0
  121. package/dist/clients/XHandleClaimsClient.d.ts.map +1 -0
  122. package/dist/helpers/chainIdToChain.d.cts +113 -0
  123. package/dist/helpers/chainIdToChain.d.ts +114 -0
  124. package/dist/helpers/chainIdToChain.d.ts.map +1 -0
  125. package/dist/helpers/hex.d.cts +3 -0
  126. package/dist/helpers/hex.d.ts +4 -0
  127. package/dist/helpers/hex.d.ts.map +1 -0
  128. package/dist/helpers/index.cjs +196 -0
  129. package/dist/helpers/index.cjs.map +1 -0
  130. package/dist/helpers/index.d.cts +3 -0
  131. package/dist/helpers/index.d.ts +4 -0
  132. package/dist/helpers/index.d.ts.map +1 -0
  133. package/dist/helpers/index.js +184 -0
  134. package/dist/helpers/index.js.map +1 -0
  135. package/dist/helpers/ipfs.d.cts +56 -0
  136. package/dist/helpers/ipfs.d.ts +57 -0
  137. package/dist/helpers/ipfs.d.ts.map +1 -0
  138. package/dist/hooks/FlaunchPositionManagerHooks.d.cts +28 -0
  139. package/dist/hooks/FlaunchPositionManagerHooks.d.ts +29 -0
  140. package/dist/hooks/FlaunchPositionManagerHooks.d.ts.map +1 -0
  141. package/dist/hooks/index.cjs +73 -0
  142. package/dist/hooks/index.cjs.map +1 -0
  143. package/dist/hooks/index.d.cts +1 -0
  144. package/dist/hooks/index.d.ts +2 -0
  145. package/dist/hooks/index.d.ts.map +1 -0
  146. package/dist/hooks/index.js +70 -0
  147. package/dist/hooks/index.js.map +1 -0
  148. package/dist/index.cjs +16808 -0
  149. package/dist/index.cjs.map +1 -0
  150. package/dist/index.d.cts +31 -0
  151. package/dist/index.d.ts +32 -0
  152. package/dist/index.d.ts.map +1 -0
  153. package/dist/index.js +16718 -0
  154. package/dist/index.js.map +1 -0
  155. package/dist/index.umd.cjs +2 -0
  156. package/dist/index.umd.cjs.map +1 -0
  157. package/dist/sdk/FlaunchSDK.d.cts +520 -0
  158. package/dist/sdk/FlaunchSDK.d.ts +521 -0
  159. package/dist/sdk/FlaunchSDK.d.ts.map +1 -0
  160. package/dist/sdk/calldata.d.cts +65 -0
  161. package/dist/sdk/calldata.d.ts +66 -0
  162. package/dist/sdk/calldata.d.ts.map +1 -0
  163. package/dist/sdk/drift.d.cts +20 -0
  164. package/dist/sdk/drift.d.ts +21 -0
  165. package/dist/sdk/drift.d.ts.map +1 -0
  166. package/dist/sdk/factory.d.cts +20 -0
  167. package/dist/sdk/factory.d.ts +21 -0
  168. package/dist/sdk/factory.d.ts.map +1 -0
  169. package/dist/types.d.cts +56 -0
  170. package/dist/types.d.ts +57 -0
  171. package/dist/types.d.ts.map +1 -0
  172. package/dist/utils/index.cjs +455 -0
  173. package/dist/utils/index.cjs.map +1 -0
  174. package/dist/utils/index.d.cts +4 -0
  175. package/dist/utils/index.d.ts +5 -0
  176. package/dist/utils/index.d.ts.map +1 -0
  177. package/dist/utils/index.js +431 -0
  178. package/dist/utils/index.js.map +1 -0
  179. package/dist/utils/parseSwap.d.cts +45 -0
  180. package/dist/utils/parseSwap.d.ts +46 -0
  181. package/dist/utils/parseSwap.d.ts.map +1 -0
  182. package/dist/utils/slippage.d.cts +11 -0
  183. package/dist/utils/slippage.d.ts +12 -0
  184. package/dist/utils/slippage.d.ts.map +1 -0
  185. package/dist/utils/swap.d.cts +49 -0
  186. package/dist/utils/swap.d.ts +50 -0
  187. package/dist/utils/swap.d.ts.map +1 -0
  188. package/dist/utils/univ4.d.cts +78 -0
  189. package/dist/utils/univ4.d.ts +79 -0
  190. package/dist/utils/univ4.d.ts.map +1 -0
  191. package/package.json +161 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlaunchPositionManager.d.ts","sourceRoot":"","sources":["../../src/abi/FlaunchPositionManager.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAouF5B,CAAC"}
@@ -0,0 +1,300 @@
1
+ export declare const FlaunchZapAbi: readonly [{
2
+ readonly type: "constructor";
3
+ readonly inputs: readonly [{
4
+ readonly name: "_positionManager";
5
+ readonly type: "address";
6
+ readonly internalType: "contract PositionManager";
7
+ }, {
8
+ readonly name: "_flaunchContract";
9
+ readonly type: "address";
10
+ readonly internalType: "contract Flaunch";
11
+ }, {
12
+ readonly name: "_flETH";
13
+ readonly type: "address";
14
+ readonly internalType: "contract IFLETH";
15
+ }, {
16
+ readonly name: "_poolSwap";
17
+ readonly type: "address";
18
+ readonly internalType: "contract PoolSwap";
19
+ }, {
20
+ readonly name: "_treasuryManagerFactory";
21
+ readonly type: "address";
22
+ readonly internalType: "contract ITreasuryManagerFactory";
23
+ }, {
24
+ readonly name: "_merkleAirdrop";
25
+ readonly type: "address";
26
+ readonly internalType: "contract IMerkleAirdrop";
27
+ }, {
28
+ readonly name: "_whitelistFairLaunch";
29
+ readonly type: "address";
30
+ readonly internalType: "contract WhitelistFairLaunch";
31
+ }];
32
+ readonly stateMutability: "nonpayable";
33
+ }, {
34
+ readonly type: "receive";
35
+ readonly stateMutability: "payable";
36
+ }, {
37
+ readonly type: "function";
38
+ readonly name: "calculateFee";
39
+ readonly inputs: readonly [{
40
+ readonly name: "_premineAmount";
41
+ readonly type: "uint256";
42
+ readonly internalType: "uint256";
43
+ }, {
44
+ readonly name: "_slippage";
45
+ readonly type: "uint256";
46
+ readonly internalType: "uint256";
47
+ }, {
48
+ readonly name: "_initialPriceParams";
49
+ readonly type: "bytes";
50
+ readonly internalType: "bytes";
51
+ }];
52
+ readonly outputs: readonly [{
53
+ readonly name: "ethRequired_";
54
+ readonly type: "uint256";
55
+ readonly internalType: "uint256";
56
+ }];
57
+ readonly stateMutability: "view";
58
+ }, {
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";
84
+ }, {
85
+ readonly type: "function";
86
+ readonly name: "flETH";
87
+ readonly inputs: readonly [];
88
+ readonly outputs: readonly [{
89
+ readonly name: "";
90
+ readonly type: "address";
91
+ readonly internalType: "contract IFLETH";
92
+ }];
93
+ readonly stateMutability: "view";
94
+ }, {
95
+ readonly type: "function";
96
+ readonly name: "flaunch";
97
+ readonly inputs: readonly [{
98
+ readonly name: "_flaunchParams";
99
+ readonly type: "tuple";
100
+ readonly internalType: "struct PositionManager.FlaunchParams";
101
+ readonly components: readonly [{
102
+ readonly name: "name";
103
+ readonly type: "string";
104
+ readonly internalType: "string";
105
+ }, {
106
+ readonly name: "symbol";
107
+ readonly type: "string";
108
+ readonly internalType: "string";
109
+ }, {
110
+ readonly name: "tokenUri";
111
+ readonly type: "string";
112
+ readonly internalType: "string";
113
+ }, {
114
+ readonly name: "initialTokenFairLaunch";
115
+ readonly type: "uint256";
116
+ readonly internalType: "uint256";
117
+ }, {
118
+ readonly name: "fairLaunchDuration";
119
+ readonly type: "uint256";
120
+ readonly internalType: "uint256";
121
+ }, {
122
+ readonly name: "premineAmount";
123
+ readonly type: "uint256";
124
+ readonly internalType: "uint256";
125
+ }, {
126
+ readonly name: "creator";
127
+ readonly type: "address";
128
+ readonly internalType: "address";
129
+ }, {
130
+ readonly name: "creatorFeeAllocation";
131
+ readonly type: "uint24";
132
+ readonly internalType: "uint24";
133
+ }, {
134
+ readonly name: "flaunchAt";
135
+ readonly type: "uint256";
136
+ readonly internalType: "uint256";
137
+ }, {
138
+ readonly name: "initialPriceParams";
139
+ readonly type: "bytes";
140
+ readonly internalType: "bytes";
141
+ }, {
142
+ readonly name: "feeCalculatorParams";
143
+ readonly type: "bytes";
144
+ readonly internalType: "bytes";
145
+ }];
146
+ }, {
147
+ readonly name: "_trustedFeeSigner";
148
+ readonly type: "address";
149
+ readonly internalType: "address";
150
+ }, {
151
+ readonly name: "_premineSwapHookData";
152
+ readonly type: "bytes";
153
+ readonly internalType: "bytes";
154
+ }, {
155
+ readonly name: "_whitelistParams";
156
+ readonly type: "tuple";
157
+ readonly internalType: "struct FlaunchZap.WhitelistParams";
158
+ readonly components: readonly [{
159
+ readonly name: "merkleRoot";
160
+ readonly type: "bytes32";
161
+ readonly internalType: "bytes32";
162
+ }, {
163
+ readonly name: "merkleIPFSHash";
164
+ readonly type: "string";
165
+ readonly internalType: "string";
166
+ }, {
167
+ readonly name: "maxTokens";
168
+ readonly type: "uint256";
169
+ readonly internalType: "uint256";
170
+ }];
171
+ }, {
172
+ readonly name: "_airdropParams";
173
+ readonly type: "tuple";
174
+ readonly internalType: "struct FlaunchZap.AirdropParams";
175
+ readonly components: readonly [{
176
+ readonly name: "airdropIndex";
177
+ readonly type: "uint256";
178
+ readonly internalType: "uint256";
179
+ }, {
180
+ readonly name: "airdropAmount";
181
+ readonly type: "uint256";
182
+ readonly internalType: "uint256";
183
+ }, {
184
+ readonly name: "airdropEndTime";
185
+ readonly type: "uint256";
186
+ readonly internalType: "uint256";
187
+ }, {
188
+ readonly name: "merkleRoot";
189
+ readonly type: "bytes32";
190
+ readonly internalType: "bytes32";
191
+ }, {
192
+ readonly name: "merkleIPFSHash";
193
+ readonly type: "string";
194
+ readonly internalType: "string";
195
+ }];
196
+ }, {
197
+ readonly name: "_treasuryManagerParams";
198
+ readonly type: "tuple";
199
+ readonly internalType: "struct FlaunchZap.TreasuryManagerParams";
200
+ readonly components: readonly [{
201
+ readonly name: "manager";
202
+ readonly type: "address";
203
+ readonly internalType: "address";
204
+ }, {
205
+ readonly name: "permissions";
206
+ readonly type: "address";
207
+ readonly internalType: "address";
208
+ }, {
209
+ readonly name: "initializeData";
210
+ readonly type: "bytes";
211
+ readonly internalType: "bytes";
212
+ }, {
213
+ readonly name: "depositData";
214
+ readonly type: "bytes";
215
+ readonly internalType: "bytes";
216
+ }];
217
+ }];
218
+ readonly outputs: readonly [{
219
+ readonly name: "memecoin_";
220
+ readonly type: "address";
221
+ readonly internalType: "address";
222
+ }, {
223
+ readonly name: "ethSpent_";
224
+ readonly type: "uint256";
225
+ readonly internalType: "uint256";
226
+ }, {
227
+ readonly name: "deployedManager_";
228
+ readonly type: "address";
229
+ readonly internalType: "address";
230
+ }];
231
+ readonly stateMutability: "payable";
232
+ }, {
233
+ readonly type: "function";
234
+ readonly name: "flaunchContract";
235
+ readonly inputs: readonly [];
236
+ readonly outputs: readonly [{
237
+ readonly name: "";
238
+ readonly type: "address";
239
+ readonly internalType: "contract Flaunch";
240
+ }];
241
+ readonly stateMutability: "view";
242
+ }, {
243
+ readonly type: "function";
244
+ readonly name: "merkleAirdrop";
245
+ readonly inputs: readonly [];
246
+ readonly outputs: readonly [{
247
+ readonly name: "";
248
+ readonly type: "address";
249
+ readonly internalType: "contract IMerkleAirdrop";
250
+ }];
251
+ readonly stateMutability: "view";
252
+ }, {
253
+ readonly type: "function";
254
+ readonly name: "poolSwap";
255
+ readonly inputs: readonly [];
256
+ readonly outputs: readonly [{
257
+ readonly name: "";
258
+ readonly type: "address";
259
+ readonly internalType: "contract PoolSwap";
260
+ }];
261
+ readonly stateMutability: "view";
262
+ }, {
263
+ readonly type: "function";
264
+ readonly name: "positionManager";
265
+ readonly inputs: readonly [];
266
+ readonly outputs: readonly [{
267
+ readonly name: "";
268
+ readonly type: "address";
269
+ readonly internalType: "contract PositionManager";
270
+ }];
271
+ readonly stateMutability: "view";
272
+ }, {
273
+ readonly type: "function";
274
+ readonly name: "treasuryManagerFactory";
275
+ readonly inputs: readonly [];
276
+ readonly outputs: readonly [{
277
+ readonly name: "";
278
+ readonly type: "address";
279
+ readonly internalType: "contract ITreasuryManagerFactory";
280
+ }];
281
+ readonly stateMutability: "view";
282
+ }, {
283
+ readonly type: "function";
284
+ readonly name: "whitelistFairLaunch";
285
+ readonly inputs: readonly [];
286
+ readonly outputs: readonly [{
287
+ readonly name: "";
288
+ readonly type: "address";
289
+ readonly internalType: "contract WhitelistFairLaunch";
290
+ }];
291
+ readonly stateMutability: "view";
292
+ }, {
293
+ readonly type: "error";
294
+ readonly name: "CreatorCannotBeZero";
295
+ readonly inputs: readonly [];
296
+ }, {
297
+ readonly type: "error";
298
+ readonly name: "InsufficientMemecoinsForAirdrop";
299
+ readonly inputs: readonly [];
300
+ }];
@@ -0,0 +1,301 @@
1
+ export declare const FlaunchZapAbi: readonly [{
2
+ readonly type: "constructor";
3
+ readonly inputs: readonly [{
4
+ readonly name: "_positionManager";
5
+ readonly type: "address";
6
+ readonly internalType: "contract PositionManager";
7
+ }, {
8
+ readonly name: "_flaunchContract";
9
+ readonly type: "address";
10
+ readonly internalType: "contract Flaunch";
11
+ }, {
12
+ readonly name: "_flETH";
13
+ readonly type: "address";
14
+ readonly internalType: "contract IFLETH";
15
+ }, {
16
+ readonly name: "_poolSwap";
17
+ readonly type: "address";
18
+ readonly internalType: "contract PoolSwap";
19
+ }, {
20
+ readonly name: "_treasuryManagerFactory";
21
+ readonly type: "address";
22
+ readonly internalType: "contract ITreasuryManagerFactory";
23
+ }, {
24
+ readonly name: "_merkleAirdrop";
25
+ readonly type: "address";
26
+ readonly internalType: "contract IMerkleAirdrop";
27
+ }, {
28
+ readonly name: "_whitelistFairLaunch";
29
+ readonly type: "address";
30
+ readonly internalType: "contract WhitelistFairLaunch";
31
+ }];
32
+ readonly stateMutability: "nonpayable";
33
+ }, {
34
+ readonly type: "receive";
35
+ readonly stateMutability: "payable";
36
+ }, {
37
+ readonly type: "function";
38
+ readonly name: "calculateFee";
39
+ readonly inputs: readonly [{
40
+ readonly name: "_premineAmount";
41
+ readonly type: "uint256";
42
+ readonly internalType: "uint256";
43
+ }, {
44
+ readonly name: "_slippage";
45
+ readonly type: "uint256";
46
+ readonly internalType: "uint256";
47
+ }, {
48
+ readonly name: "_initialPriceParams";
49
+ readonly type: "bytes";
50
+ readonly internalType: "bytes";
51
+ }];
52
+ readonly outputs: readonly [{
53
+ readonly name: "ethRequired_";
54
+ readonly type: "uint256";
55
+ readonly internalType: "uint256";
56
+ }];
57
+ readonly stateMutability: "view";
58
+ }, {
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";
84
+ }, {
85
+ readonly type: "function";
86
+ readonly name: "flETH";
87
+ readonly inputs: readonly [];
88
+ readonly outputs: readonly [{
89
+ readonly name: "";
90
+ readonly type: "address";
91
+ readonly internalType: "contract IFLETH";
92
+ }];
93
+ readonly stateMutability: "view";
94
+ }, {
95
+ readonly type: "function";
96
+ readonly name: "flaunch";
97
+ readonly inputs: readonly [{
98
+ readonly name: "_flaunchParams";
99
+ readonly type: "tuple";
100
+ readonly internalType: "struct PositionManager.FlaunchParams";
101
+ readonly components: readonly [{
102
+ readonly name: "name";
103
+ readonly type: "string";
104
+ readonly internalType: "string";
105
+ }, {
106
+ readonly name: "symbol";
107
+ readonly type: "string";
108
+ readonly internalType: "string";
109
+ }, {
110
+ readonly name: "tokenUri";
111
+ readonly type: "string";
112
+ readonly internalType: "string";
113
+ }, {
114
+ readonly name: "initialTokenFairLaunch";
115
+ readonly type: "uint256";
116
+ readonly internalType: "uint256";
117
+ }, {
118
+ readonly name: "fairLaunchDuration";
119
+ readonly type: "uint256";
120
+ readonly internalType: "uint256";
121
+ }, {
122
+ readonly name: "premineAmount";
123
+ readonly type: "uint256";
124
+ readonly internalType: "uint256";
125
+ }, {
126
+ readonly name: "creator";
127
+ readonly type: "address";
128
+ readonly internalType: "address";
129
+ }, {
130
+ readonly name: "creatorFeeAllocation";
131
+ readonly type: "uint24";
132
+ readonly internalType: "uint24";
133
+ }, {
134
+ readonly name: "flaunchAt";
135
+ readonly type: "uint256";
136
+ readonly internalType: "uint256";
137
+ }, {
138
+ readonly name: "initialPriceParams";
139
+ readonly type: "bytes";
140
+ readonly internalType: "bytes";
141
+ }, {
142
+ readonly name: "feeCalculatorParams";
143
+ readonly type: "bytes";
144
+ readonly internalType: "bytes";
145
+ }];
146
+ }, {
147
+ readonly name: "_trustedFeeSigner";
148
+ readonly type: "address";
149
+ readonly internalType: "address";
150
+ }, {
151
+ readonly name: "_premineSwapHookData";
152
+ readonly type: "bytes";
153
+ readonly internalType: "bytes";
154
+ }, {
155
+ readonly name: "_whitelistParams";
156
+ readonly type: "tuple";
157
+ readonly internalType: "struct FlaunchZap.WhitelistParams";
158
+ readonly components: readonly [{
159
+ readonly name: "merkleRoot";
160
+ readonly type: "bytes32";
161
+ readonly internalType: "bytes32";
162
+ }, {
163
+ readonly name: "merkleIPFSHash";
164
+ readonly type: "string";
165
+ readonly internalType: "string";
166
+ }, {
167
+ readonly name: "maxTokens";
168
+ readonly type: "uint256";
169
+ readonly internalType: "uint256";
170
+ }];
171
+ }, {
172
+ readonly name: "_airdropParams";
173
+ readonly type: "tuple";
174
+ readonly internalType: "struct FlaunchZap.AirdropParams";
175
+ readonly components: readonly [{
176
+ readonly name: "airdropIndex";
177
+ readonly type: "uint256";
178
+ readonly internalType: "uint256";
179
+ }, {
180
+ readonly name: "airdropAmount";
181
+ readonly type: "uint256";
182
+ readonly internalType: "uint256";
183
+ }, {
184
+ readonly name: "airdropEndTime";
185
+ readonly type: "uint256";
186
+ readonly internalType: "uint256";
187
+ }, {
188
+ readonly name: "merkleRoot";
189
+ readonly type: "bytes32";
190
+ readonly internalType: "bytes32";
191
+ }, {
192
+ readonly name: "merkleIPFSHash";
193
+ readonly type: "string";
194
+ readonly internalType: "string";
195
+ }];
196
+ }, {
197
+ readonly name: "_treasuryManagerParams";
198
+ readonly type: "tuple";
199
+ readonly internalType: "struct FlaunchZap.TreasuryManagerParams";
200
+ readonly components: readonly [{
201
+ readonly name: "manager";
202
+ readonly type: "address";
203
+ readonly internalType: "address";
204
+ }, {
205
+ readonly name: "permissions";
206
+ readonly type: "address";
207
+ readonly internalType: "address";
208
+ }, {
209
+ readonly name: "initializeData";
210
+ readonly type: "bytes";
211
+ readonly internalType: "bytes";
212
+ }, {
213
+ readonly name: "depositData";
214
+ readonly type: "bytes";
215
+ readonly internalType: "bytes";
216
+ }];
217
+ }];
218
+ readonly outputs: readonly [{
219
+ readonly name: "memecoin_";
220
+ readonly type: "address";
221
+ readonly internalType: "address";
222
+ }, {
223
+ readonly name: "ethSpent_";
224
+ readonly type: "uint256";
225
+ readonly internalType: "uint256";
226
+ }, {
227
+ readonly name: "deployedManager_";
228
+ readonly type: "address";
229
+ readonly internalType: "address";
230
+ }];
231
+ readonly stateMutability: "payable";
232
+ }, {
233
+ readonly type: "function";
234
+ readonly name: "flaunchContract";
235
+ readonly inputs: readonly [];
236
+ readonly outputs: readonly [{
237
+ readonly name: "";
238
+ readonly type: "address";
239
+ readonly internalType: "contract Flaunch";
240
+ }];
241
+ readonly stateMutability: "view";
242
+ }, {
243
+ readonly type: "function";
244
+ readonly name: "merkleAirdrop";
245
+ readonly inputs: readonly [];
246
+ readonly outputs: readonly [{
247
+ readonly name: "";
248
+ readonly type: "address";
249
+ readonly internalType: "contract IMerkleAirdrop";
250
+ }];
251
+ readonly stateMutability: "view";
252
+ }, {
253
+ readonly type: "function";
254
+ readonly name: "poolSwap";
255
+ readonly inputs: readonly [];
256
+ readonly outputs: readonly [{
257
+ readonly name: "";
258
+ readonly type: "address";
259
+ readonly internalType: "contract PoolSwap";
260
+ }];
261
+ readonly stateMutability: "view";
262
+ }, {
263
+ readonly type: "function";
264
+ readonly name: "positionManager";
265
+ readonly inputs: readonly [];
266
+ readonly outputs: readonly [{
267
+ readonly name: "";
268
+ readonly type: "address";
269
+ readonly internalType: "contract PositionManager";
270
+ }];
271
+ readonly stateMutability: "view";
272
+ }, {
273
+ readonly type: "function";
274
+ readonly name: "treasuryManagerFactory";
275
+ readonly inputs: readonly [];
276
+ readonly outputs: readonly [{
277
+ readonly name: "";
278
+ readonly type: "address";
279
+ readonly internalType: "contract ITreasuryManagerFactory";
280
+ }];
281
+ readonly stateMutability: "view";
282
+ }, {
283
+ readonly type: "function";
284
+ readonly name: "whitelistFairLaunch";
285
+ readonly inputs: readonly [];
286
+ readonly outputs: readonly [{
287
+ readonly name: "";
288
+ readonly type: "address";
289
+ readonly internalType: "contract WhitelistFairLaunch";
290
+ }];
291
+ readonly stateMutability: "view";
292
+ }, {
293
+ readonly type: "error";
294
+ readonly name: "CreatorCannotBeZero";
295
+ readonly inputs: readonly [];
296
+ }, {
297
+ readonly type: "error";
298
+ readonly name: "InsufficientMemecoinsForAirdrop";
299
+ readonly inputs: readonly [];
300
+ }];
301
+ //# sourceMappingURL=FlaunchZap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlaunchZap.d.ts","sourceRoot":"","sources":["../../src/abi/FlaunchZap.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmYhB,CAAC"}