@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.
- package/LICENSE +10 -0
- package/README.md +279 -0
- package/dist/abi/AddressFeeSplitManager.d.cts +938 -0
- package/dist/abi/AddressFeeSplitManager.d.ts +939 -0
- package/dist/abi/AddressFeeSplitManager.d.ts.map +1 -0
- package/dist/abi/BidWall.d.cts +739 -0
- package/dist/abi/BidWall.d.ts +740 -0
- package/dist/abi/BidWall.d.ts.map +1 -0
- package/dist/abi/FairLaunch.d.cts +535 -0
- package/dist/abi/FairLaunch.d.ts +536 -0
- package/dist/abi/FairLaunch.d.ts.map +1 -0
- package/dist/abi/FeeEscrow.d.cts +281 -0
- package/dist/abi/FeeEscrow.d.ts +282 -0
- package/dist/abi/FeeEscrow.d.ts.map +1 -0
- package/dist/abi/Flaunch.d.cts +775 -0
- package/dist/abi/Flaunch.d.ts +776 -0
- package/dist/abi/Flaunch.d.ts.map +1 -0
- package/dist/abi/FlaunchPositionManager.d.cts +2170 -0
- package/dist/abi/FlaunchPositionManager.d.ts +2171 -0
- package/dist/abi/FlaunchPositionManager.d.ts.map +1 -0
- package/dist/abi/FlaunchZap.d.cts +300 -0
- package/dist/abi/FlaunchZap.d.ts +301 -0
- package/dist/abi/FlaunchZap.d.ts.map +1 -0
- package/dist/abi/InitialPrice.d.cts +252 -0
- package/dist/abi/InitialPrice.d.ts +253 -0
- package/dist/abi/InitialPrice.d.ts.map +1 -0
- package/dist/abi/Memecoin.d.cts +680 -0
- package/dist/abi/Memecoin.d.ts +681 -0
- package/dist/abi/Memecoin.d.ts.map +1 -0
- package/dist/abi/Multicall.d.cts +332 -0
- package/dist/abi/Multicall.d.ts +333 -0
- package/dist/abi/Multicall.d.ts.map +1 -0
- package/dist/abi/PoolManager.d.cts +1056 -0
- package/dist/abi/PoolManager.d.ts +1057 -0
- package/dist/abi/PoolManager.d.ts.map +1 -0
- package/dist/abi/PoolSwap.d.cts +89 -0
- package/dist/abi/PoolSwap.d.ts +90 -0
- package/dist/abi/PoolSwap.d.ts.map +1 -0
- package/dist/abi/Quoter.d.cts +485 -0
- package/dist/abi/Quoter.d.ts +486 -0
- package/dist/abi/Quoter.d.ts.map +1 -0
- package/dist/abi/ReferralEscrow.d.cts +459 -0
- package/dist/abi/ReferralEscrow.d.ts +460 -0
- package/dist/abi/ReferralEscrow.d.ts.map +1 -0
- package/dist/abi/TreasuryManager.d.cts +325 -0
- package/dist/abi/TreasuryManager.d.ts +326 -0
- package/dist/abi/TreasuryManager.d.ts.map +1 -0
- package/dist/abi/TreasuryManagerFactory.d.cts +433 -0
- package/dist/abi/TreasuryManagerFactory.d.ts +434 -0
- package/dist/abi/TreasuryManagerFactory.d.ts.map +1 -0
- package/dist/abi/UniversalRewardsDistributor.d.cts +191 -0
- package/dist/abi/UniversalRewardsDistributor.d.ts +192 -0
- package/dist/abi/UniversalRewardsDistributor.d.ts.map +1 -0
- package/dist/abi/XHandleClaims.d.cts +383 -0
- package/dist/abi/XHandleClaims.d.ts +384 -0
- package/dist/abi/XHandleClaims.d.ts.map +1 -0
- package/dist/abi/index.cjs +13541 -0
- package/dist/abi/index.cjs.map +1 -0
- package/dist/abi/index.d.cts +18 -0
- package/dist/abi/index.d.ts +19 -0
- package/dist/abi/index.d.ts.map +1 -0
- package/dist/abi/index.js +13522 -0
- package/dist/abi/index.js.map +1 -0
- package/dist/addresses/index.cjs +90 -0
- package/dist/addresses/index.cjs.map +1 -0
- package/dist/addresses/index.js +70 -0
- package/dist/addresses/index.js.map +1 -0
- package/dist/addresses.d.cts +48 -0
- package/dist/addresses.d.ts +49 -0
- package/dist/addresses.d.ts.map +1 -0
- package/dist/clients/BidWallClient.d.cts +44 -0
- package/dist/clients/BidWallClient.d.ts +45 -0
- package/dist/clients/BidWallClient.d.ts.map +1 -0
- package/dist/clients/FairLaunchClient.d.cts +47 -0
- package/dist/clients/FairLaunchClient.d.ts +48 -0
- package/dist/clients/FairLaunchClient.d.ts.map +1 -0
- package/dist/clients/FeeEscrowClient.d.cts +40 -0
- package/dist/clients/FeeEscrowClient.d.ts +41 -0
- package/dist/clients/FeeEscrowClient.d.ts.map +1 -0
- package/dist/clients/FlaunchClient.d.cts +35 -0
- package/dist/clients/FlaunchClient.d.ts +36 -0
- package/dist/clients/FlaunchClient.d.ts.map +1 -0
- package/dist/clients/FlaunchPositionManagerClient.d.cts +117 -0
- package/dist/clients/FlaunchPositionManagerClient.d.ts +118 -0
- package/dist/clients/FlaunchPositionManagerClient.d.ts.map +1 -0
- package/dist/clients/FlaunchZapClient.d.cts +127 -0
- package/dist/clients/FlaunchZapClient.d.ts +128 -0
- package/dist/clients/FlaunchZapClient.d.ts.map +1 -0
- package/dist/clients/InitialPriceClient.d.cts +32 -0
- package/dist/clients/InitialPriceClient.d.ts +33 -0
- package/dist/clients/InitialPriceClient.d.ts.map +1 -0
- package/dist/clients/MemecoinClient.d.cts +66 -0
- package/dist/clients/MemecoinClient.d.ts +67 -0
- package/dist/clients/MemecoinClient.d.ts.map +1 -0
- package/dist/clients/MulticallClient.d.cts +15 -0
- package/dist/clients/MulticallClient.d.ts +16 -0
- package/dist/clients/MulticallClient.d.ts.map +1 -0
- package/dist/clients/PoolManagerClient.d.cts +50 -0
- package/dist/clients/PoolManagerClient.d.ts +51 -0
- package/dist/clients/PoolManagerClient.d.ts.map +1 -0
- package/dist/clients/PoolSwapClient.d.cts +37 -0
- package/dist/clients/PoolSwapClient.d.ts +38 -0
- package/dist/clients/PoolSwapClient.d.ts.map +1 -0
- package/dist/clients/QuoterClient.d.cts +58 -0
- package/dist/clients/QuoterClient.d.ts +59 -0
- package/dist/clients/QuoterClient.d.ts.map +1 -0
- package/dist/clients/ReferralEscrowClient.d.cts +39 -0
- package/dist/clients/ReferralEscrowClient.d.ts +40 -0
- package/dist/clients/ReferralEscrowClient.d.ts.map +1 -0
- package/dist/clients/TreasuryManagerClient.d.cts +71 -0
- package/dist/clients/TreasuryManagerClient.d.ts +72 -0
- package/dist/clients/TreasuryManagerClient.d.ts.map +1 -0
- package/dist/clients/TreasuryManagerFactoryClient.d.cts +15 -0
- package/dist/clients/TreasuryManagerFactoryClient.d.ts +16 -0
- package/dist/clients/TreasuryManagerFactoryClient.d.ts.map +1 -0
- package/dist/clients/UniversalRewardsDistributorClient.d.cts +45 -0
- package/dist/clients/UniversalRewardsDistributorClient.d.ts +46 -0
- package/dist/clients/UniversalRewardsDistributorClient.d.ts.map +1 -0
- package/dist/clients/XHandleClaimsClient.d.cts +64 -0
- package/dist/clients/XHandleClaimsClient.d.ts +65 -0
- package/dist/clients/XHandleClaimsClient.d.ts.map +1 -0
- package/dist/helpers/chainIdToChain.d.cts +113 -0
- package/dist/helpers/chainIdToChain.d.ts +114 -0
- package/dist/helpers/chainIdToChain.d.ts.map +1 -0
- package/dist/helpers/hex.d.cts +3 -0
- package/dist/helpers/hex.d.ts +4 -0
- package/dist/helpers/hex.d.ts.map +1 -0
- package/dist/helpers/index.cjs +196 -0
- package/dist/helpers/index.cjs.map +1 -0
- package/dist/helpers/index.d.cts +3 -0
- package/dist/helpers/index.d.ts +4 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/index.js +184 -0
- package/dist/helpers/index.js.map +1 -0
- package/dist/helpers/ipfs.d.cts +56 -0
- package/dist/helpers/ipfs.d.ts +57 -0
- package/dist/helpers/ipfs.d.ts.map +1 -0
- package/dist/hooks/FlaunchPositionManagerHooks.d.cts +28 -0
- package/dist/hooks/FlaunchPositionManagerHooks.d.ts +29 -0
- package/dist/hooks/FlaunchPositionManagerHooks.d.ts.map +1 -0
- package/dist/hooks/index.cjs +73 -0
- package/dist/hooks/index.cjs.map +1 -0
- package/dist/hooks/index.d.cts +1 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +70 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/index.cjs +16808 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +31 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +16718 -0
- package/dist/index.js.map +1 -0
- package/dist/index.umd.cjs +2 -0
- package/dist/index.umd.cjs.map +1 -0
- package/dist/sdk/FlaunchSDK.d.cts +520 -0
- package/dist/sdk/FlaunchSDK.d.ts +521 -0
- package/dist/sdk/FlaunchSDK.d.ts.map +1 -0
- package/dist/sdk/calldata.d.cts +65 -0
- package/dist/sdk/calldata.d.ts +66 -0
- package/dist/sdk/calldata.d.ts.map +1 -0
- package/dist/sdk/drift.d.cts +20 -0
- package/dist/sdk/drift.d.ts +21 -0
- package/dist/sdk/drift.d.ts.map +1 -0
- package/dist/sdk/factory.d.cts +20 -0
- package/dist/sdk/factory.d.ts +21 -0
- package/dist/sdk/factory.d.ts.map +1 -0
- package/dist/types.d.cts +56 -0
- package/dist/types.d.ts +57 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/index.cjs +455 -0
- package/dist/utils/index.cjs.map +1 -0
- package/dist/utils/index.d.cts +4 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +431 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/parseSwap.d.cts +45 -0
- package/dist/utils/parseSwap.d.ts +46 -0
- package/dist/utils/parseSwap.d.ts.map +1 -0
- package/dist/utils/slippage.d.cts +11 -0
- package/dist/utils/slippage.d.ts +12 -0
- package/dist/utils/slippage.d.ts.map +1 -0
- package/dist/utils/swap.d.cts +49 -0
- package/dist/utils/swap.d.ts +50 -0
- package/dist/utils/swap.d.ts.map +1 -0
- package/dist/utils/univ4.d.cts +78 -0
- package/dist/utils/univ4.d.ts +79 -0
- package/dist/utils/univ4.d.ts.map +1 -0
- package/package.json +161 -0
|
@@ -0,0 +1,2171 @@
|
|
|
1
|
+
export declare const FlaunchPositionManagerAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "params";
|
|
5
|
+
readonly type: "tuple";
|
|
6
|
+
readonly internalType: "struct PositionManager.ConstructorParams";
|
|
7
|
+
readonly components: readonly [{
|
|
8
|
+
readonly name: "nativeToken";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "poolManager";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
readonly internalType: "contract IPoolManager";
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: "feeDistribution";
|
|
17
|
+
readonly type: "tuple";
|
|
18
|
+
readonly internalType: "struct FeeDistributor.FeeDistribution";
|
|
19
|
+
readonly components: readonly [{
|
|
20
|
+
readonly name: "swapFee";
|
|
21
|
+
readonly type: "uint24";
|
|
22
|
+
readonly internalType: "uint24";
|
|
23
|
+
}, {
|
|
24
|
+
readonly name: "referrer";
|
|
25
|
+
readonly type: "uint24";
|
|
26
|
+
readonly internalType: "uint24";
|
|
27
|
+
}, {
|
|
28
|
+
readonly name: "protocol";
|
|
29
|
+
readonly type: "uint24";
|
|
30
|
+
readonly internalType: "uint24";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "active";
|
|
33
|
+
readonly type: "bool";
|
|
34
|
+
readonly internalType: "bool";
|
|
35
|
+
}];
|
|
36
|
+
}, {
|
|
37
|
+
readonly name: "initialPrice";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
readonly internalType: "contract IInitialPrice";
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "protocolOwner";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "protocolFeeRecipient";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
readonly internalType: "address";
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "flayGovernance";
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
readonly internalType: "address";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "feeEscrow";
|
|
54
|
+
readonly type: "address";
|
|
55
|
+
readonly internalType: "address";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "feeExemptions";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
readonly internalType: "contract FeeExemptions";
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "actionManager";
|
|
62
|
+
readonly type: "address";
|
|
63
|
+
readonly internalType: "contract TreasuryActionManager";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "bidWall";
|
|
66
|
+
readonly type: "address";
|
|
67
|
+
readonly internalType: "contract BidWall";
|
|
68
|
+
}, {
|
|
69
|
+
readonly name: "fairLaunch";
|
|
70
|
+
readonly type: "address";
|
|
71
|
+
readonly internalType: "contract FairLaunch";
|
|
72
|
+
}];
|
|
73
|
+
}];
|
|
74
|
+
readonly stateMutability: "nonpayable";
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "receive";
|
|
77
|
+
readonly stateMutability: "payable";
|
|
78
|
+
}, {
|
|
79
|
+
readonly type: "function";
|
|
80
|
+
readonly name: "BURN_ADDRESS";
|
|
81
|
+
readonly inputs: readonly [];
|
|
82
|
+
readonly outputs: readonly [{
|
|
83
|
+
readonly name: "";
|
|
84
|
+
readonly type: "address";
|
|
85
|
+
readonly internalType: "address";
|
|
86
|
+
}];
|
|
87
|
+
readonly stateMutability: "view";
|
|
88
|
+
}, {
|
|
89
|
+
readonly type: "function";
|
|
90
|
+
readonly name: "MAX_FAIR_LAUNCH_PROTOCOL_ALLOCATION";
|
|
91
|
+
readonly inputs: readonly [];
|
|
92
|
+
readonly outputs: readonly [{
|
|
93
|
+
readonly name: "";
|
|
94
|
+
readonly type: "uint24";
|
|
95
|
+
readonly internalType: "uint24";
|
|
96
|
+
}];
|
|
97
|
+
readonly stateMutability: "view";
|
|
98
|
+
}, {
|
|
99
|
+
readonly type: "function";
|
|
100
|
+
readonly name: "MAX_PROTOCOL_ALLOCATION";
|
|
101
|
+
readonly inputs: readonly [];
|
|
102
|
+
readonly outputs: readonly [{
|
|
103
|
+
readonly name: "";
|
|
104
|
+
readonly type: "uint24";
|
|
105
|
+
readonly internalType: "uint24";
|
|
106
|
+
}];
|
|
107
|
+
readonly stateMutability: "view";
|
|
108
|
+
}, {
|
|
109
|
+
readonly type: "function";
|
|
110
|
+
readonly name: "actionManager";
|
|
111
|
+
readonly inputs: readonly [];
|
|
112
|
+
readonly outputs: readonly [{
|
|
113
|
+
readonly name: "";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
readonly internalType: "contract TreasuryActionManager";
|
|
116
|
+
}];
|
|
117
|
+
readonly stateMutability: "view";
|
|
118
|
+
}, {
|
|
119
|
+
readonly type: "function";
|
|
120
|
+
readonly name: "afterAddLiquidity";
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly name: "_sender";
|
|
123
|
+
readonly type: "address";
|
|
124
|
+
readonly internalType: "address";
|
|
125
|
+
}, {
|
|
126
|
+
readonly name: "_key";
|
|
127
|
+
readonly type: "tuple";
|
|
128
|
+
readonly internalType: "struct PoolKey";
|
|
129
|
+
readonly components: readonly [{
|
|
130
|
+
readonly name: "currency0";
|
|
131
|
+
readonly type: "address";
|
|
132
|
+
readonly internalType: "Currency";
|
|
133
|
+
}, {
|
|
134
|
+
readonly name: "currency1";
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
readonly internalType: "Currency";
|
|
137
|
+
}, {
|
|
138
|
+
readonly name: "fee";
|
|
139
|
+
readonly type: "uint24";
|
|
140
|
+
readonly internalType: "uint24";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "tickSpacing";
|
|
143
|
+
readonly type: "int24";
|
|
144
|
+
readonly internalType: "int24";
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: "hooks";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
readonly internalType: "contract IHooks";
|
|
149
|
+
}];
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: "";
|
|
152
|
+
readonly type: "tuple";
|
|
153
|
+
readonly internalType: "struct IPoolManager.ModifyLiquidityParams";
|
|
154
|
+
readonly components: readonly [{
|
|
155
|
+
readonly name: "tickLower";
|
|
156
|
+
readonly type: "int24";
|
|
157
|
+
readonly internalType: "int24";
|
|
158
|
+
}, {
|
|
159
|
+
readonly name: "tickUpper";
|
|
160
|
+
readonly type: "int24";
|
|
161
|
+
readonly internalType: "int24";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "liquidityDelta";
|
|
164
|
+
readonly type: "int256";
|
|
165
|
+
readonly internalType: "int256";
|
|
166
|
+
}, {
|
|
167
|
+
readonly name: "salt";
|
|
168
|
+
readonly type: "bytes32";
|
|
169
|
+
readonly internalType: "bytes32";
|
|
170
|
+
}];
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "_delta";
|
|
173
|
+
readonly type: "int256";
|
|
174
|
+
readonly internalType: "BalanceDelta";
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "_feesAccrued";
|
|
177
|
+
readonly type: "int256";
|
|
178
|
+
readonly internalType: "BalanceDelta";
|
|
179
|
+
}, {
|
|
180
|
+
readonly name: "";
|
|
181
|
+
readonly type: "bytes";
|
|
182
|
+
readonly internalType: "bytes";
|
|
183
|
+
}];
|
|
184
|
+
readonly outputs: readonly [{
|
|
185
|
+
readonly name: "selector_";
|
|
186
|
+
readonly type: "bytes4";
|
|
187
|
+
readonly internalType: "bytes4";
|
|
188
|
+
}, {
|
|
189
|
+
readonly name: "";
|
|
190
|
+
readonly type: "int256";
|
|
191
|
+
readonly internalType: "BalanceDelta";
|
|
192
|
+
}];
|
|
193
|
+
readonly stateMutability: "nonpayable";
|
|
194
|
+
}, {
|
|
195
|
+
readonly type: "function";
|
|
196
|
+
readonly name: "afterDonate";
|
|
197
|
+
readonly inputs: readonly [{
|
|
198
|
+
readonly name: "_sender";
|
|
199
|
+
readonly type: "address";
|
|
200
|
+
readonly internalType: "address";
|
|
201
|
+
}, {
|
|
202
|
+
readonly name: "_key";
|
|
203
|
+
readonly type: "tuple";
|
|
204
|
+
readonly internalType: "struct PoolKey";
|
|
205
|
+
readonly components: readonly [{
|
|
206
|
+
readonly name: "currency0";
|
|
207
|
+
readonly type: "address";
|
|
208
|
+
readonly internalType: "Currency";
|
|
209
|
+
}, {
|
|
210
|
+
readonly name: "currency1";
|
|
211
|
+
readonly type: "address";
|
|
212
|
+
readonly internalType: "Currency";
|
|
213
|
+
}, {
|
|
214
|
+
readonly name: "fee";
|
|
215
|
+
readonly type: "uint24";
|
|
216
|
+
readonly internalType: "uint24";
|
|
217
|
+
}, {
|
|
218
|
+
readonly name: "tickSpacing";
|
|
219
|
+
readonly type: "int24";
|
|
220
|
+
readonly internalType: "int24";
|
|
221
|
+
}, {
|
|
222
|
+
readonly name: "hooks";
|
|
223
|
+
readonly type: "address";
|
|
224
|
+
readonly internalType: "contract IHooks";
|
|
225
|
+
}];
|
|
226
|
+
}, {
|
|
227
|
+
readonly name: "_amount0";
|
|
228
|
+
readonly type: "uint256";
|
|
229
|
+
readonly internalType: "uint256";
|
|
230
|
+
}, {
|
|
231
|
+
readonly name: "_amount1";
|
|
232
|
+
readonly type: "uint256";
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "";
|
|
236
|
+
readonly type: "bytes";
|
|
237
|
+
readonly internalType: "bytes";
|
|
238
|
+
}];
|
|
239
|
+
readonly outputs: readonly [{
|
|
240
|
+
readonly name: "selector_";
|
|
241
|
+
readonly type: "bytes4";
|
|
242
|
+
readonly internalType: "bytes4";
|
|
243
|
+
}];
|
|
244
|
+
readonly stateMutability: "nonpayable";
|
|
245
|
+
}, {
|
|
246
|
+
readonly type: "function";
|
|
247
|
+
readonly name: "afterInitialize";
|
|
248
|
+
readonly inputs: readonly [{
|
|
249
|
+
readonly name: "";
|
|
250
|
+
readonly type: "address";
|
|
251
|
+
readonly internalType: "address";
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "";
|
|
254
|
+
readonly type: "tuple";
|
|
255
|
+
readonly internalType: "struct PoolKey";
|
|
256
|
+
readonly components: readonly [{
|
|
257
|
+
readonly name: "currency0";
|
|
258
|
+
readonly type: "address";
|
|
259
|
+
readonly internalType: "Currency";
|
|
260
|
+
}, {
|
|
261
|
+
readonly name: "currency1";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
readonly internalType: "Currency";
|
|
264
|
+
}, {
|
|
265
|
+
readonly name: "fee";
|
|
266
|
+
readonly type: "uint24";
|
|
267
|
+
readonly internalType: "uint24";
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "tickSpacing";
|
|
270
|
+
readonly type: "int24";
|
|
271
|
+
readonly internalType: "int24";
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: "hooks";
|
|
274
|
+
readonly type: "address";
|
|
275
|
+
readonly internalType: "contract IHooks";
|
|
276
|
+
}];
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "";
|
|
279
|
+
readonly type: "uint160";
|
|
280
|
+
readonly internalType: "uint160";
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "";
|
|
283
|
+
readonly type: "int24";
|
|
284
|
+
readonly internalType: "int24";
|
|
285
|
+
}];
|
|
286
|
+
readonly outputs: readonly [{
|
|
287
|
+
readonly name: "";
|
|
288
|
+
readonly type: "bytes4";
|
|
289
|
+
readonly internalType: "bytes4";
|
|
290
|
+
}];
|
|
291
|
+
readonly stateMutability: "nonpayable";
|
|
292
|
+
}, {
|
|
293
|
+
readonly type: "function";
|
|
294
|
+
readonly name: "afterRemoveLiquidity";
|
|
295
|
+
readonly inputs: readonly [{
|
|
296
|
+
readonly name: "_sender";
|
|
297
|
+
readonly type: "address";
|
|
298
|
+
readonly internalType: "address";
|
|
299
|
+
}, {
|
|
300
|
+
readonly name: "_key";
|
|
301
|
+
readonly type: "tuple";
|
|
302
|
+
readonly internalType: "struct PoolKey";
|
|
303
|
+
readonly components: readonly [{
|
|
304
|
+
readonly name: "currency0";
|
|
305
|
+
readonly type: "address";
|
|
306
|
+
readonly internalType: "Currency";
|
|
307
|
+
}, {
|
|
308
|
+
readonly name: "currency1";
|
|
309
|
+
readonly type: "address";
|
|
310
|
+
readonly internalType: "Currency";
|
|
311
|
+
}, {
|
|
312
|
+
readonly name: "fee";
|
|
313
|
+
readonly type: "uint24";
|
|
314
|
+
readonly internalType: "uint24";
|
|
315
|
+
}, {
|
|
316
|
+
readonly name: "tickSpacing";
|
|
317
|
+
readonly type: "int24";
|
|
318
|
+
readonly internalType: "int24";
|
|
319
|
+
}, {
|
|
320
|
+
readonly name: "hooks";
|
|
321
|
+
readonly type: "address";
|
|
322
|
+
readonly internalType: "contract IHooks";
|
|
323
|
+
}];
|
|
324
|
+
}, {
|
|
325
|
+
readonly name: "";
|
|
326
|
+
readonly type: "tuple";
|
|
327
|
+
readonly internalType: "struct IPoolManager.ModifyLiquidityParams";
|
|
328
|
+
readonly components: readonly [{
|
|
329
|
+
readonly name: "tickLower";
|
|
330
|
+
readonly type: "int24";
|
|
331
|
+
readonly internalType: "int24";
|
|
332
|
+
}, {
|
|
333
|
+
readonly name: "tickUpper";
|
|
334
|
+
readonly type: "int24";
|
|
335
|
+
readonly internalType: "int24";
|
|
336
|
+
}, {
|
|
337
|
+
readonly name: "liquidityDelta";
|
|
338
|
+
readonly type: "int256";
|
|
339
|
+
readonly internalType: "int256";
|
|
340
|
+
}, {
|
|
341
|
+
readonly name: "salt";
|
|
342
|
+
readonly type: "bytes32";
|
|
343
|
+
readonly internalType: "bytes32";
|
|
344
|
+
}];
|
|
345
|
+
}, {
|
|
346
|
+
readonly name: "_delta";
|
|
347
|
+
readonly type: "int256";
|
|
348
|
+
readonly internalType: "BalanceDelta";
|
|
349
|
+
}, {
|
|
350
|
+
readonly name: "_feesAccrued";
|
|
351
|
+
readonly type: "int256";
|
|
352
|
+
readonly internalType: "BalanceDelta";
|
|
353
|
+
}, {
|
|
354
|
+
readonly name: "";
|
|
355
|
+
readonly type: "bytes";
|
|
356
|
+
readonly internalType: "bytes";
|
|
357
|
+
}];
|
|
358
|
+
readonly outputs: readonly [{
|
|
359
|
+
readonly name: "selector_";
|
|
360
|
+
readonly type: "bytes4";
|
|
361
|
+
readonly internalType: "bytes4";
|
|
362
|
+
}, {
|
|
363
|
+
readonly name: "";
|
|
364
|
+
readonly type: "int256";
|
|
365
|
+
readonly internalType: "BalanceDelta";
|
|
366
|
+
}];
|
|
367
|
+
readonly stateMutability: "nonpayable";
|
|
368
|
+
}, {
|
|
369
|
+
readonly type: "function";
|
|
370
|
+
readonly name: "afterSwap";
|
|
371
|
+
readonly inputs: readonly [{
|
|
372
|
+
readonly name: "_sender";
|
|
373
|
+
readonly type: "address";
|
|
374
|
+
readonly internalType: "address";
|
|
375
|
+
}, {
|
|
376
|
+
readonly name: "_key";
|
|
377
|
+
readonly type: "tuple";
|
|
378
|
+
readonly internalType: "struct PoolKey";
|
|
379
|
+
readonly components: readonly [{
|
|
380
|
+
readonly name: "currency0";
|
|
381
|
+
readonly type: "address";
|
|
382
|
+
readonly internalType: "Currency";
|
|
383
|
+
}, {
|
|
384
|
+
readonly name: "currency1";
|
|
385
|
+
readonly type: "address";
|
|
386
|
+
readonly internalType: "Currency";
|
|
387
|
+
}, {
|
|
388
|
+
readonly name: "fee";
|
|
389
|
+
readonly type: "uint24";
|
|
390
|
+
readonly internalType: "uint24";
|
|
391
|
+
}, {
|
|
392
|
+
readonly name: "tickSpacing";
|
|
393
|
+
readonly type: "int24";
|
|
394
|
+
readonly internalType: "int24";
|
|
395
|
+
}, {
|
|
396
|
+
readonly name: "hooks";
|
|
397
|
+
readonly type: "address";
|
|
398
|
+
readonly internalType: "contract IHooks";
|
|
399
|
+
}];
|
|
400
|
+
}, {
|
|
401
|
+
readonly name: "_params";
|
|
402
|
+
readonly type: "tuple";
|
|
403
|
+
readonly internalType: "struct IPoolManager.SwapParams";
|
|
404
|
+
readonly components: readonly [{
|
|
405
|
+
readonly name: "zeroForOne";
|
|
406
|
+
readonly type: "bool";
|
|
407
|
+
readonly internalType: "bool";
|
|
408
|
+
}, {
|
|
409
|
+
readonly name: "amountSpecified";
|
|
410
|
+
readonly type: "int256";
|
|
411
|
+
readonly internalType: "int256";
|
|
412
|
+
}, {
|
|
413
|
+
readonly name: "sqrtPriceLimitX96";
|
|
414
|
+
readonly type: "uint160";
|
|
415
|
+
readonly internalType: "uint160";
|
|
416
|
+
}];
|
|
417
|
+
}, {
|
|
418
|
+
readonly name: "_delta";
|
|
419
|
+
readonly type: "int256";
|
|
420
|
+
readonly internalType: "BalanceDelta";
|
|
421
|
+
}, {
|
|
422
|
+
readonly name: "_hookData";
|
|
423
|
+
readonly type: "bytes";
|
|
424
|
+
readonly internalType: "bytes";
|
|
425
|
+
}];
|
|
426
|
+
readonly outputs: readonly [{
|
|
427
|
+
readonly name: "selector_";
|
|
428
|
+
readonly type: "bytes4";
|
|
429
|
+
readonly internalType: "bytes4";
|
|
430
|
+
}, {
|
|
431
|
+
readonly name: "hookDeltaUnspecified_";
|
|
432
|
+
readonly type: "int128";
|
|
433
|
+
readonly internalType: "int128";
|
|
434
|
+
}];
|
|
435
|
+
readonly stateMutability: "nonpayable";
|
|
436
|
+
}, {
|
|
437
|
+
readonly type: "function";
|
|
438
|
+
readonly name: "beforeAddLiquidity";
|
|
439
|
+
readonly inputs: readonly [{
|
|
440
|
+
readonly name: "_sender";
|
|
441
|
+
readonly type: "address";
|
|
442
|
+
readonly internalType: "address";
|
|
443
|
+
}, {
|
|
444
|
+
readonly name: "_key";
|
|
445
|
+
readonly type: "tuple";
|
|
446
|
+
readonly internalType: "struct PoolKey";
|
|
447
|
+
readonly components: readonly [{
|
|
448
|
+
readonly name: "currency0";
|
|
449
|
+
readonly type: "address";
|
|
450
|
+
readonly internalType: "Currency";
|
|
451
|
+
}, {
|
|
452
|
+
readonly name: "currency1";
|
|
453
|
+
readonly type: "address";
|
|
454
|
+
readonly internalType: "Currency";
|
|
455
|
+
}, {
|
|
456
|
+
readonly name: "fee";
|
|
457
|
+
readonly type: "uint24";
|
|
458
|
+
readonly internalType: "uint24";
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "tickSpacing";
|
|
461
|
+
readonly type: "int24";
|
|
462
|
+
readonly internalType: "int24";
|
|
463
|
+
}, {
|
|
464
|
+
readonly name: "hooks";
|
|
465
|
+
readonly type: "address";
|
|
466
|
+
readonly internalType: "contract IHooks";
|
|
467
|
+
}];
|
|
468
|
+
}, {
|
|
469
|
+
readonly name: "";
|
|
470
|
+
readonly type: "tuple";
|
|
471
|
+
readonly internalType: "struct IPoolManager.ModifyLiquidityParams";
|
|
472
|
+
readonly components: readonly [{
|
|
473
|
+
readonly name: "tickLower";
|
|
474
|
+
readonly type: "int24";
|
|
475
|
+
readonly internalType: "int24";
|
|
476
|
+
}, {
|
|
477
|
+
readonly name: "tickUpper";
|
|
478
|
+
readonly type: "int24";
|
|
479
|
+
readonly internalType: "int24";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "liquidityDelta";
|
|
482
|
+
readonly type: "int256";
|
|
483
|
+
readonly internalType: "int256";
|
|
484
|
+
}, {
|
|
485
|
+
readonly name: "salt";
|
|
486
|
+
readonly type: "bytes32";
|
|
487
|
+
readonly internalType: "bytes32";
|
|
488
|
+
}];
|
|
489
|
+
}, {
|
|
490
|
+
readonly name: "";
|
|
491
|
+
readonly type: "bytes";
|
|
492
|
+
readonly internalType: "bytes";
|
|
493
|
+
}];
|
|
494
|
+
readonly outputs: readonly [{
|
|
495
|
+
readonly name: "selector_";
|
|
496
|
+
readonly type: "bytes4";
|
|
497
|
+
readonly internalType: "bytes4";
|
|
498
|
+
}];
|
|
499
|
+
readonly stateMutability: "view";
|
|
500
|
+
}, {
|
|
501
|
+
readonly type: "function";
|
|
502
|
+
readonly name: "beforeDonate";
|
|
503
|
+
readonly inputs: readonly [{
|
|
504
|
+
readonly name: "";
|
|
505
|
+
readonly type: "address";
|
|
506
|
+
readonly internalType: "address";
|
|
507
|
+
}, {
|
|
508
|
+
readonly name: "";
|
|
509
|
+
readonly type: "tuple";
|
|
510
|
+
readonly internalType: "struct PoolKey";
|
|
511
|
+
readonly components: readonly [{
|
|
512
|
+
readonly name: "currency0";
|
|
513
|
+
readonly type: "address";
|
|
514
|
+
readonly internalType: "Currency";
|
|
515
|
+
}, {
|
|
516
|
+
readonly name: "currency1";
|
|
517
|
+
readonly type: "address";
|
|
518
|
+
readonly internalType: "Currency";
|
|
519
|
+
}, {
|
|
520
|
+
readonly name: "fee";
|
|
521
|
+
readonly type: "uint24";
|
|
522
|
+
readonly internalType: "uint24";
|
|
523
|
+
}, {
|
|
524
|
+
readonly name: "tickSpacing";
|
|
525
|
+
readonly type: "int24";
|
|
526
|
+
readonly internalType: "int24";
|
|
527
|
+
}, {
|
|
528
|
+
readonly name: "hooks";
|
|
529
|
+
readonly type: "address";
|
|
530
|
+
readonly internalType: "contract IHooks";
|
|
531
|
+
}];
|
|
532
|
+
}, {
|
|
533
|
+
readonly name: "";
|
|
534
|
+
readonly type: "uint256";
|
|
535
|
+
readonly internalType: "uint256";
|
|
536
|
+
}, {
|
|
537
|
+
readonly name: "";
|
|
538
|
+
readonly type: "uint256";
|
|
539
|
+
readonly internalType: "uint256";
|
|
540
|
+
}, {
|
|
541
|
+
readonly name: "";
|
|
542
|
+
readonly type: "bytes";
|
|
543
|
+
readonly internalType: "bytes";
|
|
544
|
+
}];
|
|
545
|
+
readonly outputs: readonly [{
|
|
546
|
+
readonly name: "";
|
|
547
|
+
readonly type: "bytes4";
|
|
548
|
+
readonly internalType: "bytes4";
|
|
549
|
+
}];
|
|
550
|
+
readonly stateMutability: "nonpayable";
|
|
551
|
+
}, {
|
|
552
|
+
readonly type: "function";
|
|
553
|
+
readonly name: "beforeInitialize";
|
|
554
|
+
readonly inputs: readonly [{
|
|
555
|
+
readonly name: "";
|
|
556
|
+
readonly type: "address";
|
|
557
|
+
readonly internalType: "address";
|
|
558
|
+
}, {
|
|
559
|
+
readonly name: "";
|
|
560
|
+
readonly type: "tuple";
|
|
561
|
+
readonly internalType: "struct PoolKey";
|
|
562
|
+
readonly components: readonly [{
|
|
563
|
+
readonly name: "currency0";
|
|
564
|
+
readonly type: "address";
|
|
565
|
+
readonly internalType: "Currency";
|
|
566
|
+
}, {
|
|
567
|
+
readonly name: "currency1";
|
|
568
|
+
readonly type: "address";
|
|
569
|
+
readonly internalType: "Currency";
|
|
570
|
+
}, {
|
|
571
|
+
readonly name: "fee";
|
|
572
|
+
readonly type: "uint24";
|
|
573
|
+
readonly internalType: "uint24";
|
|
574
|
+
}, {
|
|
575
|
+
readonly name: "tickSpacing";
|
|
576
|
+
readonly type: "int24";
|
|
577
|
+
readonly internalType: "int24";
|
|
578
|
+
}, {
|
|
579
|
+
readonly name: "hooks";
|
|
580
|
+
readonly type: "address";
|
|
581
|
+
readonly internalType: "contract IHooks";
|
|
582
|
+
}];
|
|
583
|
+
}, {
|
|
584
|
+
readonly name: "";
|
|
585
|
+
readonly type: "uint160";
|
|
586
|
+
readonly internalType: "uint160";
|
|
587
|
+
}];
|
|
588
|
+
readonly outputs: readonly [{
|
|
589
|
+
readonly name: "";
|
|
590
|
+
readonly type: "bytes4";
|
|
591
|
+
readonly internalType: "bytes4";
|
|
592
|
+
}];
|
|
593
|
+
readonly stateMutability: "view";
|
|
594
|
+
}, {
|
|
595
|
+
readonly type: "function";
|
|
596
|
+
readonly name: "beforeRemoveLiquidity";
|
|
597
|
+
readonly inputs: readonly [{
|
|
598
|
+
readonly name: "_sender";
|
|
599
|
+
readonly type: "address";
|
|
600
|
+
readonly internalType: "address";
|
|
601
|
+
}, {
|
|
602
|
+
readonly name: "_key";
|
|
603
|
+
readonly type: "tuple";
|
|
604
|
+
readonly internalType: "struct PoolKey";
|
|
605
|
+
readonly components: readonly [{
|
|
606
|
+
readonly name: "currency0";
|
|
607
|
+
readonly type: "address";
|
|
608
|
+
readonly internalType: "Currency";
|
|
609
|
+
}, {
|
|
610
|
+
readonly name: "currency1";
|
|
611
|
+
readonly type: "address";
|
|
612
|
+
readonly internalType: "Currency";
|
|
613
|
+
}, {
|
|
614
|
+
readonly name: "fee";
|
|
615
|
+
readonly type: "uint24";
|
|
616
|
+
readonly internalType: "uint24";
|
|
617
|
+
}, {
|
|
618
|
+
readonly name: "tickSpacing";
|
|
619
|
+
readonly type: "int24";
|
|
620
|
+
readonly internalType: "int24";
|
|
621
|
+
}, {
|
|
622
|
+
readonly name: "hooks";
|
|
623
|
+
readonly type: "address";
|
|
624
|
+
readonly internalType: "contract IHooks";
|
|
625
|
+
}];
|
|
626
|
+
}, {
|
|
627
|
+
readonly name: "";
|
|
628
|
+
readonly type: "tuple";
|
|
629
|
+
readonly internalType: "struct IPoolManager.ModifyLiquidityParams";
|
|
630
|
+
readonly components: readonly [{
|
|
631
|
+
readonly name: "tickLower";
|
|
632
|
+
readonly type: "int24";
|
|
633
|
+
readonly internalType: "int24";
|
|
634
|
+
}, {
|
|
635
|
+
readonly name: "tickUpper";
|
|
636
|
+
readonly type: "int24";
|
|
637
|
+
readonly internalType: "int24";
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "liquidityDelta";
|
|
640
|
+
readonly type: "int256";
|
|
641
|
+
readonly internalType: "int256";
|
|
642
|
+
}, {
|
|
643
|
+
readonly name: "salt";
|
|
644
|
+
readonly type: "bytes32";
|
|
645
|
+
readonly internalType: "bytes32";
|
|
646
|
+
}];
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "";
|
|
649
|
+
readonly type: "bytes";
|
|
650
|
+
readonly internalType: "bytes";
|
|
651
|
+
}];
|
|
652
|
+
readonly outputs: readonly [{
|
|
653
|
+
readonly name: "selector_";
|
|
654
|
+
readonly type: "bytes4";
|
|
655
|
+
readonly internalType: "bytes4";
|
|
656
|
+
}];
|
|
657
|
+
readonly stateMutability: "view";
|
|
658
|
+
}, {
|
|
659
|
+
readonly type: "function";
|
|
660
|
+
readonly name: "beforeSwap";
|
|
661
|
+
readonly inputs: readonly [{
|
|
662
|
+
readonly name: "_sender";
|
|
663
|
+
readonly type: "address";
|
|
664
|
+
readonly internalType: "address";
|
|
665
|
+
}, {
|
|
666
|
+
readonly name: "_key";
|
|
667
|
+
readonly type: "tuple";
|
|
668
|
+
readonly internalType: "struct PoolKey";
|
|
669
|
+
readonly components: readonly [{
|
|
670
|
+
readonly name: "currency0";
|
|
671
|
+
readonly type: "address";
|
|
672
|
+
readonly internalType: "Currency";
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: "currency1";
|
|
675
|
+
readonly type: "address";
|
|
676
|
+
readonly internalType: "Currency";
|
|
677
|
+
}, {
|
|
678
|
+
readonly name: "fee";
|
|
679
|
+
readonly type: "uint24";
|
|
680
|
+
readonly internalType: "uint24";
|
|
681
|
+
}, {
|
|
682
|
+
readonly name: "tickSpacing";
|
|
683
|
+
readonly type: "int24";
|
|
684
|
+
readonly internalType: "int24";
|
|
685
|
+
}, {
|
|
686
|
+
readonly name: "hooks";
|
|
687
|
+
readonly type: "address";
|
|
688
|
+
readonly internalType: "contract IHooks";
|
|
689
|
+
}];
|
|
690
|
+
}, {
|
|
691
|
+
readonly name: "_params";
|
|
692
|
+
readonly type: "tuple";
|
|
693
|
+
readonly internalType: "struct IPoolManager.SwapParams";
|
|
694
|
+
readonly components: readonly [{
|
|
695
|
+
readonly name: "zeroForOne";
|
|
696
|
+
readonly type: "bool";
|
|
697
|
+
readonly internalType: "bool";
|
|
698
|
+
}, {
|
|
699
|
+
readonly name: "amountSpecified";
|
|
700
|
+
readonly type: "int256";
|
|
701
|
+
readonly internalType: "int256";
|
|
702
|
+
}, {
|
|
703
|
+
readonly name: "sqrtPriceLimitX96";
|
|
704
|
+
readonly type: "uint160";
|
|
705
|
+
readonly internalType: "uint160";
|
|
706
|
+
}];
|
|
707
|
+
}, {
|
|
708
|
+
readonly name: "_hookData";
|
|
709
|
+
readonly type: "bytes";
|
|
710
|
+
readonly internalType: "bytes";
|
|
711
|
+
}];
|
|
712
|
+
readonly outputs: readonly [{
|
|
713
|
+
readonly name: "selector_";
|
|
714
|
+
readonly type: "bytes4";
|
|
715
|
+
readonly internalType: "bytes4";
|
|
716
|
+
}, {
|
|
717
|
+
readonly name: "beforeSwapDelta_";
|
|
718
|
+
readonly type: "int256";
|
|
719
|
+
readonly internalType: "BeforeSwapDelta";
|
|
720
|
+
}, {
|
|
721
|
+
readonly name: "";
|
|
722
|
+
readonly type: "uint24";
|
|
723
|
+
readonly internalType: "uint24";
|
|
724
|
+
}];
|
|
725
|
+
readonly stateMutability: "nonpayable";
|
|
726
|
+
}, {
|
|
727
|
+
readonly type: "function";
|
|
728
|
+
readonly name: "bidWall";
|
|
729
|
+
readonly inputs: readonly [];
|
|
730
|
+
readonly outputs: readonly [{
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly type: "address";
|
|
733
|
+
readonly internalType: "contract BidWall";
|
|
734
|
+
}];
|
|
735
|
+
readonly stateMutability: "view";
|
|
736
|
+
}, {
|
|
737
|
+
readonly type: "function";
|
|
738
|
+
readonly name: "cancelOwnershipHandover";
|
|
739
|
+
readonly inputs: readonly [];
|
|
740
|
+
readonly outputs: readonly [];
|
|
741
|
+
readonly stateMutability: "payable";
|
|
742
|
+
}, {
|
|
743
|
+
readonly type: "function";
|
|
744
|
+
readonly name: "closeBidWall";
|
|
745
|
+
readonly inputs: readonly [{
|
|
746
|
+
readonly name: "_key";
|
|
747
|
+
readonly type: "tuple";
|
|
748
|
+
readonly internalType: "struct PoolKey";
|
|
749
|
+
readonly components: readonly [{
|
|
750
|
+
readonly name: "currency0";
|
|
751
|
+
readonly type: "address";
|
|
752
|
+
readonly internalType: "Currency";
|
|
753
|
+
}, {
|
|
754
|
+
readonly name: "currency1";
|
|
755
|
+
readonly type: "address";
|
|
756
|
+
readonly internalType: "Currency";
|
|
757
|
+
}, {
|
|
758
|
+
readonly name: "fee";
|
|
759
|
+
readonly type: "uint24";
|
|
760
|
+
readonly internalType: "uint24";
|
|
761
|
+
}, {
|
|
762
|
+
readonly name: "tickSpacing";
|
|
763
|
+
readonly type: "int24";
|
|
764
|
+
readonly internalType: "int24";
|
|
765
|
+
}, {
|
|
766
|
+
readonly name: "hooks";
|
|
767
|
+
readonly type: "address";
|
|
768
|
+
readonly internalType: "contract IHooks";
|
|
769
|
+
}];
|
|
770
|
+
}];
|
|
771
|
+
readonly outputs: readonly [];
|
|
772
|
+
readonly stateMutability: "nonpayable";
|
|
773
|
+
}, {
|
|
774
|
+
readonly type: "function";
|
|
775
|
+
readonly name: "completeOwnershipHandover";
|
|
776
|
+
readonly inputs: readonly [{
|
|
777
|
+
readonly name: "pendingOwner";
|
|
778
|
+
readonly type: "address";
|
|
779
|
+
readonly internalType: "address";
|
|
780
|
+
}];
|
|
781
|
+
readonly outputs: readonly [];
|
|
782
|
+
readonly stateMutability: "payable";
|
|
783
|
+
}, {
|
|
784
|
+
readonly type: "function";
|
|
785
|
+
readonly name: "fairLaunch";
|
|
786
|
+
readonly inputs: readonly [];
|
|
787
|
+
readonly outputs: readonly [{
|
|
788
|
+
readonly name: "";
|
|
789
|
+
readonly type: "address";
|
|
790
|
+
readonly internalType: "contract FairLaunch";
|
|
791
|
+
}];
|
|
792
|
+
readonly stateMutability: "view";
|
|
793
|
+
}, {
|
|
794
|
+
readonly type: "function";
|
|
795
|
+
readonly name: "fairLaunchFeeCalculator";
|
|
796
|
+
readonly inputs: readonly [];
|
|
797
|
+
readonly outputs: readonly [{
|
|
798
|
+
readonly name: "";
|
|
799
|
+
readonly type: "address";
|
|
800
|
+
readonly internalType: "contract IFeeCalculator";
|
|
801
|
+
}];
|
|
802
|
+
readonly stateMutability: "view";
|
|
803
|
+
}, {
|
|
804
|
+
readonly type: "function";
|
|
805
|
+
readonly name: "feeCalculator";
|
|
806
|
+
readonly inputs: readonly [];
|
|
807
|
+
readonly outputs: readonly [{
|
|
808
|
+
readonly name: "";
|
|
809
|
+
readonly type: "address";
|
|
810
|
+
readonly internalType: "contract IFeeCalculator";
|
|
811
|
+
}];
|
|
812
|
+
readonly stateMutability: "view";
|
|
813
|
+
}, {
|
|
814
|
+
readonly type: "function";
|
|
815
|
+
readonly name: "feeEscrow";
|
|
816
|
+
readonly inputs: readonly [];
|
|
817
|
+
readonly outputs: readonly [{
|
|
818
|
+
readonly name: "";
|
|
819
|
+
readonly type: "address";
|
|
820
|
+
readonly internalType: "contract FeeEscrow";
|
|
821
|
+
}];
|
|
822
|
+
readonly stateMutability: "view";
|
|
823
|
+
}, {
|
|
824
|
+
readonly type: "function";
|
|
825
|
+
readonly name: "feeExemptions";
|
|
826
|
+
readonly inputs: readonly [];
|
|
827
|
+
readonly outputs: readonly [{
|
|
828
|
+
readonly name: "";
|
|
829
|
+
readonly type: "address";
|
|
830
|
+
readonly internalType: "contract FeeExemptions";
|
|
831
|
+
}];
|
|
832
|
+
readonly stateMutability: "view";
|
|
833
|
+
}, {
|
|
834
|
+
readonly type: "function";
|
|
835
|
+
readonly name: "feeSplit";
|
|
836
|
+
readonly inputs: readonly [{
|
|
837
|
+
readonly name: "_poolId";
|
|
838
|
+
readonly type: "bytes32";
|
|
839
|
+
readonly internalType: "PoolId";
|
|
840
|
+
}, {
|
|
841
|
+
readonly name: "_amount";
|
|
842
|
+
readonly type: "uint256";
|
|
843
|
+
readonly internalType: "uint256";
|
|
844
|
+
}];
|
|
845
|
+
readonly outputs: readonly [{
|
|
846
|
+
readonly name: "bidWall_";
|
|
847
|
+
readonly type: "uint256";
|
|
848
|
+
readonly internalType: "uint256";
|
|
849
|
+
}, {
|
|
850
|
+
readonly name: "creator_";
|
|
851
|
+
readonly type: "uint256";
|
|
852
|
+
readonly internalType: "uint256";
|
|
853
|
+
}, {
|
|
854
|
+
readonly name: "protocol_";
|
|
855
|
+
readonly type: "uint256";
|
|
856
|
+
readonly internalType: "uint256";
|
|
857
|
+
}];
|
|
858
|
+
readonly stateMutability: "view";
|
|
859
|
+
}, {
|
|
860
|
+
readonly type: "function";
|
|
861
|
+
readonly name: "flaunch";
|
|
862
|
+
readonly inputs: readonly [{
|
|
863
|
+
readonly name: "_params";
|
|
864
|
+
readonly type: "tuple";
|
|
865
|
+
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
866
|
+
readonly components: readonly [{
|
|
867
|
+
readonly name: "name";
|
|
868
|
+
readonly type: "string";
|
|
869
|
+
readonly internalType: "string";
|
|
870
|
+
}, {
|
|
871
|
+
readonly name: "symbol";
|
|
872
|
+
readonly type: "string";
|
|
873
|
+
readonly internalType: "string";
|
|
874
|
+
}, {
|
|
875
|
+
readonly name: "tokenUri";
|
|
876
|
+
readonly type: "string";
|
|
877
|
+
readonly internalType: "string";
|
|
878
|
+
}, {
|
|
879
|
+
readonly name: "initialTokenFairLaunch";
|
|
880
|
+
readonly type: "uint256";
|
|
881
|
+
readonly internalType: "uint256";
|
|
882
|
+
}, {
|
|
883
|
+
readonly name: "fairLaunchDuration";
|
|
884
|
+
readonly type: "uint256";
|
|
885
|
+
readonly internalType: "uint256";
|
|
886
|
+
}, {
|
|
887
|
+
readonly name: "premineAmount";
|
|
888
|
+
readonly type: "uint256";
|
|
889
|
+
readonly internalType: "uint256";
|
|
890
|
+
}, {
|
|
891
|
+
readonly name: "creator";
|
|
892
|
+
readonly type: "address";
|
|
893
|
+
readonly internalType: "address";
|
|
894
|
+
}, {
|
|
895
|
+
readonly name: "creatorFeeAllocation";
|
|
896
|
+
readonly type: "uint24";
|
|
897
|
+
readonly internalType: "uint24";
|
|
898
|
+
}, {
|
|
899
|
+
readonly name: "flaunchAt";
|
|
900
|
+
readonly type: "uint256";
|
|
901
|
+
readonly internalType: "uint256";
|
|
902
|
+
}, {
|
|
903
|
+
readonly name: "initialPriceParams";
|
|
904
|
+
readonly type: "bytes";
|
|
905
|
+
readonly internalType: "bytes";
|
|
906
|
+
}, {
|
|
907
|
+
readonly name: "feeCalculatorParams";
|
|
908
|
+
readonly type: "bytes";
|
|
909
|
+
readonly internalType: "bytes";
|
|
910
|
+
}];
|
|
911
|
+
}];
|
|
912
|
+
readonly outputs: readonly [{
|
|
913
|
+
readonly name: "memecoin_";
|
|
914
|
+
readonly type: "address";
|
|
915
|
+
readonly internalType: "address";
|
|
916
|
+
}];
|
|
917
|
+
readonly stateMutability: "payable";
|
|
918
|
+
}, {
|
|
919
|
+
readonly type: "function";
|
|
920
|
+
readonly name: "flaunchContract";
|
|
921
|
+
readonly inputs: readonly [];
|
|
922
|
+
readonly outputs: readonly [{
|
|
923
|
+
readonly name: "";
|
|
924
|
+
readonly type: "address";
|
|
925
|
+
readonly internalType: "contract IFlaunch";
|
|
926
|
+
}];
|
|
927
|
+
readonly stateMutability: "view";
|
|
928
|
+
}, {
|
|
929
|
+
readonly type: "function";
|
|
930
|
+
readonly name: "flaunchesAt";
|
|
931
|
+
readonly inputs: readonly [{
|
|
932
|
+
readonly name: "_poolId";
|
|
933
|
+
readonly type: "bytes32";
|
|
934
|
+
readonly internalType: "PoolId";
|
|
935
|
+
}];
|
|
936
|
+
readonly outputs: readonly [{
|
|
937
|
+
readonly name: "_flaunchTime";
|
|
938
|
+
readonly type: "uint256";
|
|
939
|
+
readonly internalType: "uint256";
|
|
940
|
+
}];
|
|
941
|
+
readonly stateMutability: "view";
|
|
942
|
+
}, {
|
|
943
|
+
readonly type: "function";
|
|
944
|
+
readonly name: "flayGovernance";
|
|
945
|
+
readonly inputs: readonly [];
|
|
946
|
+
readonly outputs: readonly [{
|
|
947
|
+
readonly name: "";
|
|
948
|
+
readonly type: "address";
|
|
949
|
+
readonly internalType: "address";
|
|
950
|
+
}];
|
|
951
|
+
readonly stateMutability: "view";
|
|
952
|
+
}, {
|
|
953
|
+
readonly type: "function";
|
|
954
|
+
readonly name: "getFairLaunchFeeDistribution";
|
|
955
|
+
readonly inputs: readonly [];
|
|
956
|
+
readonly outputs: readonly [{
|
|
957
|
+
readonly name: "feeDistribution_";
|
|
958
|
+
readonly type: "tuple";
|
|
959
|
+
readonly internalType: "struct FeeDistributor.FeeDistribution";
|
|
960
|
+
readonly components: readonly [{
|
|
961
|
+
readonly name: "swapFee";
|
|
962
|
+
readonly type: "uint24";
|
|
963
|
+
readonly internalType: "uint24";
|
|
964
|
+
}, {
|
|
965
|
+
readonly name: "referrer";
|
|
966
|
+
readonly type: "uint24";
|
|
967
|
+
readonly internalType: "uint24";
|
|
968
|
+
}, {
|
|
969
|
+
readonly name: "protocol";
|
|
970
|
+
readonly type: "uint24";
|
|
971
|
+
readonly internalType: "uint24";
|
|
972
|
+
}, {
|
|
973
|
+
readonly name: "active";
|
|
974
|
+
readonly type: "bool";
|
|
975
|
+
readonly internalType: "bool";
|
|
976
|
+
}];
|
|
977
|
+
}, {
|
|
978
|
+
readonly name: "creatorAllocation_";
|
|
979
|
+
readonly type: "uint24";
|
|
980
|
+
readonly internalType: "uint24";
|
|
981
|
+
}];
|
|
982
|
+
readonly stateMutability: "view";
|
|
983
|
+
}, {
|
|
984
|
+
readonly type: "function";
|
|
985
|
+
readonly name: "getFeeCalculator";
|
|
986
|
+
readonly inputs: readonly [{
|
|
987
|
+
readonly name: "_isFairLaunch";
|
|
988
|
+
readonly type: "bool";
|
|
989
|
+
readonly internalType: "bool";
|
|
990
|
+
}];
|
|
991
|
+
readonly outputs: readonly [{
|
|
992
|
+
readonly name: "";
|
|
993
|
+
readonly type: "address";
|
|
994
|
+
readonly internalType: "contract IFeeCalculator";
|
|
995
|
+
}];
|
|
996
|
+
readonly stateMutability: "view";
|
|
997
|
+
}, {
|
|
998
|
+
readonly type: "function";
|
|
999
|
+
readonly name: "getFlaunchingFee";
|
|
1000
|
+
readonly inputs: readonly [{
|
|
1001
|
+
readonly name: "_initialPriceParams";
|
|
1002
|
+
readonly type: "bytes";
|
|
1003
|
+
readonly internalType: "bytes";
|
|
1004
|
+
}];
|
|
1005
|
+
readonly outputs: readonly [{
|
|
1006
|
+
readonly name: "";
|
|
1007
|
+
readonly type: "uint256";
|
|
1008
|
+
readonly internalType: "uint256";
|
|
1009
|
+
}];
|
|
1010
|
+
readonly stateMutability: "view";
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly type: "function";
|
|
1013
|
+
readonly name: "getFlaunchingMarketCap";
|
|
1014
|
+
readonly inputs: readonly [{
|
|
1015
|
+
readonly name: "_initialPriceParams";
|
|
1016
|
+
readonly type: "bytes";
|
|
1017
|
+
readonly internalType: "bytes";
|
|
1018
|
+
}];
|
|
1019
|
+
readonly outputs: readonly [{
|
|
1020
|
+
readonly name: "";
|
|
1021
|
+
readonly type: "uint256";
|
|
1022
|
+
readonly internalType: "uint256";
|
|
1023
|
+
}];
|
|
1024
|
+
readonly stateMutability: "view";
|
|
1025
|
+
}, {
|
|
1026
|
+
readonly type: "function";
|
|
1027
|
+
readonly name: "getHookPermissions";
|
|
1028
|
+
readonly inputs: readonly [];
|
|
1029
|
+
readonly outputs: readonly [{
|
|
1030
|
+
readonly name: "";
|
|
1031
|
+
readonly type: "tuple";
|
|
1032
|
+
readonly internalType: "struct Hooks.Permissions";
|
|
1033
|
+
readonly components: readonly [{
|
|
1034
|
+
readonly name: "beforeInitialize";
|
|
1035
|
+
readonly type: "bool";
|
|
1036
|
+
readonly internalType: "bool";
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly name: "afterInitialize";
|
|
1039
|
+
readonly type: "bool";
|
|
1040
|
+
readonly internalType: "bool";
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly name: "beforeAddLiquidity";
|
|
1043
|
+
readonly type: "bool";
|
|
1044
|
+
readonly internalType: "bool";
|
|
1045
|
+
}, {
|
|
1046
|
+
readonly name: "afterAddLiquidity";
|
|
1047
|
+
readonly type: "bool";
|
|
1048
|
+
readonly internalType: "bool";
|
|
1049
|
+
}, {
|
|
1050
|
+
readonly name: "beforeRemoveLiquidity";
|
|
1051
|
+
readonly type: "bool";
|
|
1052
|
+
readonly internalType: "bool";
|
|
1053
|
+
}, {
|
|
1054
|
+
readonly name: "afterRemoveLiquidity";
|
|
1055
|
+
readonly type: "bool";
|
|
1056
|
+
readonly internalType: "bool";
|
|
1057
|
+
}, {
|
|
1058
|
+
readonly name: "beforeSwap";
|
|
1059
|
+
readonly type: "bool";
|
|
1060
|
+
readonly internalType: "bool";
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly name: "afterSwap";
|
|
1063
|
+
readonly type: "bool";
|
|
1064
|
+
readonly internalType: "bool";
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly name: "beforeDonate";
|
|
1067
|
+
readonly type: "bool";
|
|
1068
|
+
readonly internalType: "bool";
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly name: "afterDonate";
|
|
1071
|
+
readonly type: "bool";
|
|
1072
|
+
readonly internalType: "bool";
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly name: "beforeSwapReturnDelta";
|
|
1075
|
+
readonly type: "bool";
|
|
1076
|
+
readonly internalType: "bool";
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly name: "afterSwapReturnDelta";
|
|
1079
|
+
readonly type: "bool";
|
|
1080
|
+
readonly internalType: "bool";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly name: "afterAddLiquidityReturnDelta";
|
|
1083
|
+
readonly type: "bool";
|
|
1084
|
+
readonly internalType: "bool";
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly name: "afterRemoveLiquidityReturnDelta";
|
|
1087
|
+
readonly type: "bool";
|
|
1088
|
+
readonly internalType: "bool";
|
|
1089
|
+
}];
|
|
1090
|
+
}];
|
|
1091
|
+
readonly stateMutability: "pure";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly type: "function";
|
|
1094
|
+
readonly name: "getPoolFeeDistribution";
|
|
1095
|
+
readonly inputs: readonly [{
|
|
1096
|
+
readonly name: "_poolId";
|
|
1097
|
+
readonly type: "bytes32";
|
|
1098
|
+
readonly internalType: "PoolId";
|
|
1099
|
+
}];
|
|
1100
|
+
readonly outputs: readonly [{
|
|
1101
|
+
readonly name: "feeDistribution_";
|
|
1102
|
+
readonly type: "tuple";
|
|
1103
|
+
readonly internalType: "struct FeeDistributor.FeeDistribution";
|
|
1104
|
+
readonly components: readonly [{
|
|
1105
|
+
readonly name: "swapFee";
|
|
1106
|
+
readonly type: "uint24";
|
|
1107
|
+
readonly internalType: "uint24";
|
|
1108
|
+
}, {
|
|
1109
|
+
readonly name: "referrer";
|
|
1110
|
+
readonly type: "uint24";
|
|
1111
|
+
readonly internalType: "uint24";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly name: "protocol";
|
|
1114
|
+
readonly type: "uint24";
|
|
1115
|
+
readonly internalType: "uint24";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly name: "active";
|
|
1118
|
+
readonly type: "bool";
|
|
1119
|
+
readonly internalType: "bool";
|
|
1120
|
+
}];
|
|
1121
|
+
}];
|
|
1122
|
+
readonly stateMutability: "view";
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly type: "function";
|
|
1125
|
+
readonly name: "initialPrice";
|
|
1126
|
+
readonly inputs: readonly [];
|
|
1127
|
+
readonly outputs: readonly [{
|
|
1128
|
+
readonly name: "";
|
|
1129
|
+
readonly type: "address";
|
|
1130
|
+
readonly internalType: "contract IInitialPrice";
|
|
1131
|
+
}];
|
|
1132
|
+
readonly stateMutability: "view";
|
|
1133
|
+
}, {
|
|
1134
|
+
readonly type: "function";
|
|
1135
|
+
readonly name: "maxReferrerAllocation";
|
|
1136
|
+
readonly inputs: readonly [];
|
|
1137
|
+
readonly outputs: readonly [{
|
|
1138
|
+
readonly name: "";
|
|
1139
|
+
readonly type: "uint24";
|
|
1140
|
+
readonly internalType: "uint24";
|
|
1141
|
+
}];
|
|
1142
|
+
readonly stateMutability: "view";
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly type: "function";
|
|
1145
|
+
readonly name: "minProtocolAllocation";
|
|
1146
|
+
readonly inputs: readonly [];
|
|
1147
|
+
readonly outputs: readonly [{
|
|
1148
|
+
readonly name: "";
|
|
1149
|
+
readonly type: "uint24";
|
|
1150
|
+
readonly internalType: "uint24";
|
|
1151
|
+
}];
|
|
1152
|
+
readonly stateMutability: "view";
|
|
1153
|
+
}, {
|
|
1154
|
+
readonly type: "function";
|
|
1155
|
+
readonly name: "nativeToken";
|
|
1156
|
+
readonly inputs: readonly [];
|
|
1157
|
+
readonly outputs: readonly [{
|
|
1158
|
+
readonly name: "";
|
|
1159
|
+
readonly type: "address";
|
|
1160
|
+
readonly internalType: "address";
|
|
1161
|
+
}];
|
|
1162
|
+
readonly stateMutability: "view";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly type: "function";
|
|
1165
|
+
readonly name: "notifier";
|
|
1166
|
+
readonly inputs: readonly [];
|
|
1167
|
+
readonly outputs: readonly [{
|
|
1168
|
+
readonly name: "";
|
|
1169
|
+
readonly type: "address";
|
|
1170
|
+
readonly internalType: "contract Notifier";
|
|
1171
|
+
}];
|
|
1172
|
+
readonly stateMutability: "view";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly type: "function";
|
|
1175
|
+
readonly name: "owner";
|
|
1176
|
+
readonly inputs: readonly [];
|
|
1177
|
+
readonly outputs: readonly [{
|
|
1178
|
+
readonly name: "result";
|
|
1179
|
+
readonly type: "address";
|
|
1180
|
+
readonly internalType: "address";
|
|
1181
|
+
}];
|
|
1182
|
+
readonly stateMutability: "view";
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly type: "function";
|
|
1185
|
+
readonly name: "ownershipHandoverExpiresAt";
|
|
1186
|
+
readonly inputs: readonly [{
|
|
1187
|
+
readonly name: "pendingOwner";
|
|
1188
|
+
readonly type: "address";
|
|
1189
|
+
readonly internalType: "address";
|
|
1190
|
+
}];
|
|
1191
|
+
readonly outputs: readonly [{
|
|
1192
|
+
readonly name: "result";
|
|
1193
|
+
readonly type: "uint256";
|
|
1194
|
+
readonly internalType: "uint256";
|
|
1195
|
+
}];
|
|
1196
|
+
readonly stateMutability: "view";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly type: "function";
|
|
1199
|
+
readonly name: "poolFees";
|
|
1200
|
+
readonly inputs: readonly [{
|
|
1201
|
+
readonly name: "_poolKey";
|
|
1202
|
+
readonly type: "tuple";
|
|
1203
|
+
readonly internalType: "struct PoolKey";
|
|
1204
|
+
readonly components: readonly [{
|
|
1205
|
+
readonly name: "currency0";
|
|
1206
|
+
readonly type: "address";
|
|
1207
|
+
readonly internalType: "Currency";
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly name: "currency1";
|
|
1210
|
+
readonly type: "address";
|
|
1211
|
+
readonly internalType: "Currency";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly name: "fee";
|
|
1214
|
+
readonly type: "uint24";
|
|
1215
|
+
readonly internalType: "uint24";
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly name: "tickSpacing";
|
|
1218
|
+
readonly type: "int24";
|
|
1219
|
+
readonly internalType: "int24";
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly name: "hooks";
|
|
1222
|
+
readonly type: "address";
|
|
1223
|
+
readonly internalType: "contract IHooks";
|
|
1224
|
+
}];
|
|
1225
|
+
}];
|
|
1226
|
+
readonly outputs: readonly [{
|
|
1227
|
+
readonly name: "";
|
|
1228
|
+
readonly type: "tuple";
|
|
1229
|
+
readonly internalType: "struct InternalSwapPool.ClaimableFees";
|
|
1230
|
+
readonly components: readonly [{
|
|
1231
|
+
readonly name: "amount0";
|
|
1232
|
+
readonly type: "uint256";
|
|
1233
|
+
readonly internalType: "uint256";
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly name: "amount1";
|
|
1236
|
+
readonly type: "uint256";
|
|
1237
|
+
readonly internalType: "uint256";
|
|
1238
|
+
}];
|
|
1239
|
+
}];
|
|
1240
|
+
readonly stateMutability: "view";
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly type: "function";
|
|
1243
|
+
readonly name: "poolKey";
|
|
1244
|
+
readonly inputs: readonly [{
|
|
1245
|
+
readonly name: "_token";
|
|
1246
|
+
readonly type: "address";
|
|
1247
|
+
readonly internalType: "address";
|
|
1248
|
+
}];
|
|
1249
|
+
readonly outputs: readonly [{
|
|
1250
|
+
readonly name: "";
|
|
1251
|
+
readonly type: "tuple";
|
|
1252
|
+
readonly internalType: "struct PoolKey";
|
|
1253
|
+
readonly components: readonly [{
|
|
1254
|
+
readonly name: "currency0";
|
|
1255
|
+
readonly type: "address";
|
|
1256
|
+
readonly internalType: "Currency";
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly name: "currency1";
|
|
1259
|
+
readonly type: "address";
|
|
1260
|
+
readonly internalType: "Currency";
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly name: "fee";
|
|
1263
|
+
readonly type: "uint24";
|
|
1264
|
+
readonly internalType: "uint24";
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly name: "tickSpacing";
|
|
1267
|
+
readonly type: "int24";
|
|
1268
|
+
readonly internalType: "int24";
|
|
1269
|
+
}, {
|
|
1270
|
+
readonly name: "hooks";
|
|
1271
|
+
readonly type: "address";
|
|
1272
|
+
readonly internalType: "contract IHooks";
|
|
1273
|
+
}];
|
|
1274
|
+
}];
|
|
1275
|
+
readonly stateMutability: "view";
|
|
1276
|
+
}, {
|
|
1277
|
+
readonly type: "function";
|
|
1278
|
+
readonly name: "poolManager";
|
|
1279
|
+
readonly inputs: readonly [];
|
|
1280
|
+
readonly outputs: readonly [{
|
|
1281
|
+
readonly name: "";
|
|
1282
|
+
readonly type: "address";
|
|
1283
|
+
readonly internalType: "contract IPoolManager";
|
|
1284
|
+
}];
|
|
1285
|
+
readonly stateMutability: "view";
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly type: "function";
|
|
1288
|
+
readonly name: "referralEscrow";
|
|
1289
|
+
readonly inputs: readonly [];
|
|
1290
|
+
readonly outputs: readonly [{
|
|
1291
|
+
readonly name: "";
|
|
1292
|
+
readonly type: "address";
|
|
1293
|
+
readonly internalType: "contract ReferralEscrow";
|
|
1294
|
+
}];
|
|
1295
|
+
readonly stateMutability: "view";
|
|
1296
|
+
}, {
|
|
1297
|
+
readonly type: "function";
|
|
1298
|
+
readonly name: "renounceOwnership";
|
|
1299
|
+
readonly inputs: readonly [];
|
|
1300
|
+
readonly outputs: readonly [];
|
|
1301
|
+
readonly stateMutability: "payable";
|
|
1302
|
+
}, {
|
|
1303
|
+
readonly type: "function";
|
|
1304
|
+
readonly name: "requestOwnershipHandover";
|
|
1305
|
+
readonly inputs: readonly [];
|
|
1306
|
+
readonly outputs: readonly [];
|
|
1307
|
+
readonly stateMutability: "payable";
|
|
1308
|
+
}, {
|
|
1309
|
+
readonly type: "function";
|
|
1310
|
+
readonly name: "setFairLaunchFeeCalculator";
|
|
1311
|
+
readonly inputs: readonly [{
|
|
1312
|
+
readonly name: "_feeCalculator";
|
|
1313
|
+
readonly type: "address";
|
|
1314
|
+
readonly internalType: "contract IFeeCalculator";
|
|
1315
|
+
}];
|
|
1316
|
+
readonly outputs: readonly [];
|
|
1317
|
+
readonly stateMutability: "nonpayable";
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly type: "function";
|
|
1320
|
+
readonly name: "setFairLaunchFeeDistribution";
|
|
1321
|
+
readonly inputs: readonly [{
|
|
1322
|
+
readonly name: "_feeDistribution";
|
|
1323
|
+
readonly type: "tuple";
|
|
1324
|
+
readonly internalType: "struct FeeDistributor.FeeDistribution";
|
|
1325
|
+
readonly components: readonly [{
|
|
1326
|
+
readonly name: "swapFee";
|
|
1327
|
+
readonly type: "uint24";
|
|
1328
|
+
readonly internalType: "uint24";
|
|
1329
|
+
}, {
|
|
1330
|
+
readonly name: "referrer";
|
|
1331
|
+
readonly type: "uint24";
|
|
1332
|
+
readonly internalType: "uint24";
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly name: "protocol";
|
|
1335
|
+
readonly type: "uint24";
|
|
1336
|
+
readonly internalType: "uint24";
|
|
1337
|
+
}, {
|
|
1338
|
+
readonly name: "active";
|
|
1339
|
+
readonly type: "bool";
|
|
1340
|
+
readonly internalType: "bool";
|
|
1341
|
+
}];
|
|
1342
|
+
}, {
|
|
1343
|
+
readonly name: "_creatorAllocation";
|
|
1344
|
+
readonly type: "uint24";
|
|
1345
|
+
readonly internalType: "uint24";
|
|
1346
|
+
}];
|
|
1347
|
+
readonly outputs: readonly [];
|
|
1348
|
+
readonly stateMutability: "nonpayable";
|
|
1349
|
+
}, {
|
|
1350
|
+
readonly type: "function";
|
|
1351
|
+
readonly name: "setFeeCalculator";
|
|
1352
|
+
readonly inputs: readonly [{
|
|
1353
|
+
readonly name: "_feeCalculator";
|
|
1354
|
+
readonly type: "address";
|
|
1355
|
+
readonly internalType: "contract IFeeCalculator";
|
|
1356
|
+
}];
|
|
1357
|
+
readonly outputs: readonly [];
|
|
1358
|
+
readonly stateMutability: "nonpayable";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly type: "function";
|
|
1361
|
+
readonly name: "setFeeDistribution";
|
|
1362
|
+
readonly inputs: readonly [{
|
|
1363
|
+
readonly name: "_feeDistribution";
|
|
1364
|
+
readonly type: "tuple";
|
|
1365
|
+
readonly internalType: "struct FeeDistributor.FeeDistribution";
|
|
1366
|
+
readonly components: readonly [{
|
|
1367
|
+
readonly name: "swapFee";
|
|
1368
|
+
readonly type: "uint24";
|
|
1369
|
+
readonly internalType: "uint24";
|
|
1370
|
+
}, {
|
|
1371
|
+
readonly name: "referrer";
|
|
1372
|
+
readonly type: "uint24";
|
|
1373
|
+
readonly internalType: "uint24";
|
|
1374
|
+
}, {
|
|
1375
|
+
readonly name: "protocol";
|
|
1376
|
+
readonly type: "uint24";
|
|
1377
|
+
readonly internalType: "uint24";
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly name: "active";
|
|
1380
|
+
readonly type: "bool";
|
|
1381
|
+
readonly internalType: "bool";
|
|
1382
|
+
}];
|
|
1383
|
+
}];
|
|
1384
|
+
readonly outputs: readonly [];
|
|
1385
|
+
readonly stateMutability: "nonpayable";
|
|
1386
|
+
}, {
|
|
1387
|
+
readonly type: "function";
|
|
1388
|
+
readonly name: "setFlaunch";
|
|
1389
|
+
readonly inputs: readonly [{
|
|
1390
|
+
readonly name: "_flaunchContract";
|
|
1391
|
+
readonly type: "address";
|
|
1392
|
+
readonly internalType: "address";
|
|
1393
|
+
}];
|
|
1394
|
+
readonly outputs: readonly [];
|
|
1395
|
+
readonly stateMutability: "nonpayable";
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly type: "function";
|
|
1398
|
+
readonly name: "setInitialPrice";
|
|
1399
|
+
readonly inputs: readonly [{
|
|
1400
|
+
readonly name: "_initialPrice";
|
|
1401
|
+
readonly type: "address";
|
|
1402
|
+
readonly internalType: "address";
|
|
1403
|
+
}];
|
|
1404
|
+
readonly outputs: readonly [];
|
|
1405
|
+
readonly stateMutability: "nonpayable";
|
|
1406
|
+
}, {
|
|
1407
|
+
readonly type: "function";
|
|
1408
|
+
readonly name: "setPoolFeeDistribution";
|
|
1409
|
+
readonly inputs: readonly [{
|
|
1410
|
+
readonly name: "_poolId";
|
|
1411
|
+
readonly type: "bytes32";
|
|
1412
|
+
readonly internalType: "PoolId";
|
|
1413
|
+
}, {
|
|
1414
|
+
readonly name: "_feeDistribution";
|
|
1415
|
+
readonly type: "tuple";
|
|
1416
|
+
readonly internalType: "struct FeeDistributor.FeeDistribution";
|
|
1417
|
+
readonly components: readonly [{
|
|
1418
|
+
readonly name: "swapFee";
|
|
1419
|
+
readonly type: "uint24";
|
|
1420
|
+
readonly internalType: "uint24";
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly name: "referrer";
|
|
1423
|
+
readonly type: "uint24";
|
|
1424
|
+
readonly internalType: "uint24";
|
|
1425
|
+
}, {
|
|
1426
|
+
readonly name: "protocol";
|
|
1427
|
+
readonly type: "uint24";
|
|
1428
|
+
readonly internalType: "uint24";
|
|
1429
|
+
}, {
|
|
1430
|
+
readonly name: "active";
|
|
1431
|
+
readonly type: "bool";
|
|
1432
|
+
readonly internalType: "bool";
|
|
1433
|
+
}];
|
|
1434
|
+
}];
|
|
1435
|
+
readonly outputs: readonly [];
|
|
1436
|
+
readonly stateMutability: "nonpayable";
|
|
1437
|
+
}, {
|
|
1438
|
+
readonly type: "function";
|
|
1439
|
+
readonly name: "setProtocolFeeDistribution";
|
|
1440
|
+
readonly inputs: readonly [{
|
|
1441
|
+
readonly name: "_protocol";
|
|
1442
|
+
readonly type: "uint24";
|
|
1443
|
+
readonly internalType: "uint24";
|
|
1444
|
+
}];
|
|
1445
|
+
readonly outputs: readonly [];
|
|
1446
|
+
readonly stateMutability: "nonpayable";
|
|
1447
|
+
}, {
|
|
1448
|
+
readonly type: "function";
|
|
1449
|
+
readonly name: "setReferralEscrow";
|
|
1450
|
+
readonly inputs: readonly [{
|
|
1451
|
+
readonly name: "_referralEscrow";
|
|
1452
|
+
readonly type: "address";
|
|
1453
|
+
readonly internalType: "address payable";
|
|
1454
|
+
}];
|
|
1455
|
+
readonly outputs: readonly [];
|
|
1456
|
+
readonly stateMutability: "nonpayable";
|
|
1457
|
+
}, {
|
|
1458
|
+
readonly type: "function";
|
|
1459
|
+
readonly name: "transferOwnership";
|
|
1460
|
+
readonly inputs: readonly [{
|
|
1461
|
+
readonly name: "newOwner";
|
|
1462
|
+
readonly type: "address";
|
|
1463
|
+
readonly internalType: "address";
|
|
1464
|
+
}];
|
|
1465
|
+
readonly outputs: readonly [];
|
|
1466
|
+
readonly stateMutability: "payable";
|
|
1467
|
+
}, {
|
|
1468
|
+
readonly type: "function";
|
|
1469
|
+
readonly name: "unlockCallback";
|
|
1470
|
+
readonly inputs: readonly [{
|
|
1471
|
+
readonly name: "data";
|
|
1472
|
+
readonly type: "bytes";
|
|
1473
|
+
readonly internalType: "bytes";
|
|
1474
|
+
}];
|
|
1475
|
+
readonly outputs: readonly [{
|
|
1476
|
+
readonly name: "";
|
|
1477
|
+
readonly type: "bytes";
|
|
1478
|
+
readonly internalType: "bytes";
|
|
1479
|
+
}];
|
|
1480
|
+
readonly stateMutability: "nonpayable";
|
|
1481
|
+
}, {
|
|
1482
|
+
readonly type: "event";
|
|
1483
|
+
readonly name: "CreatorFeeAllocationUpdated";
|
|
1484
|
+
readonly inputs: readonly [{
|
|
1485
|
+
readonly name: "_poolId";
|
|
1486
|
+
readonly type: "bytes32";
|
|
1487
|
+
readonly indexed: true;
|
|
1488
|
+
readonly internalType: "PoolId";
|
|
1489
|
+
}, {
|
|
1490
|
+
readonly name: "_allocation";
|
|
1491
|
+
readonly type: "uint24";
|
|
1492
|
+
readonly indexed: false;
|
|
1493
|
+
readonly internalType: "uint24";
|
|
1494
|
+
}];
|
|
1495
|
+
readonly anonymous: false;
|
|
1496
|
+
}, {
|
|
1497
|
+
readonly type: "event";
|
|
1498
|
+
readonly name: "FairLaunchBurn";
|
|
1499
|
+
readonly inputs: readonly [{
|
|
1500
|
+
readonly name: "_poolId";
|
|
1501
|
+
readonly type: "bytes32";
|
|
1502
|
+
readonly indexed: true;
|
|
1503
|
+
readonly internalType: "PoolId";
|
|
1504
|
+
}, {
|
|
1505
|
+
readonly name: "_unsoldSupply";
|
|
1506
|
+
readonly type: "uint256";
|
|
1507
|
+
readonly indexed: false;
|
|
1508
|
+
readonly internalType: "uint256";
|
|
1509
|
+
}];
|
|
1510
|
+
readonly anonymous: false;
|
|
1511
|
+
}, {
|
|
1512
|
+
readonly type: "event";
|
|
1513
|
+
readonly name: "FairLaunchFeeCalculatorUpdated";
|
|
1514
|
+
readonly inputs: readonly [{
|
|
1515
|
+
readonly name: "_feeCalculator";
|
|
1516
|
+
readonly type: "address";
|
|
1517
|
+
readonly indexed: false;
|
|
1518
|
+
readonly internalType: "address";
|
|
1519
|
+
}];
|
|
1520
|
+
readonly anonymous: false;
|
|
1521
|
+
}, {
|
|
1522
|
+
readonly type: "event";
|
|
1523
|
+
readonly name: "FairLaunchFeeDistributionUpdated";
|
|
1524
|
+
readonly inputs: readonly [{
|
|
1525
|
+
readonly name: "_feeDistribution";
|
|
1526
|
+
readonly type: "tuple";
|
|
1527
|
+
readonly indexed: false;
|
|
1528
|
+
readonly internalType: "struct FeeDistributor.FeeDistribution";
|
|
1529
|
+
readonly components: readonly [{
|
|
1530
|
+
readonly name: "swapFee";
|
|
1531
|
+
readonly type: "uint24";
|
|
1532
|
+
readonly internalType: "uint24";
|
|
1533
|
+
}, {
|
|
1534
|
+
readonly name: "referrer";
|
|
1535
|
+
readonly type: "uint24";
|
|
1536
|
+
readonly internalType: "uint24";
|
|
1537
|
+
}, {
|
|
1538
|
+
readonly name: "protocol";
|
|
1539
|
+
readonly type: "uint24";
|
|
1540
|
+
readonly internalType: "uint24";
|
|
1541
|
+
}, {
|
|
1542
|
+
readonly name: "active";
|
|
1543
|
+
readonly type: "bool";
|
|
1544
|
+
readonly internalType: "bool";
|
|
1545
|
+
}];
|
|
1546
|
+
}, {
|
|
1547
|
+
readonly name: "_creatorAllocation";
|
|
1548
|
+
readonly type: "uint24";
|
|
1549
|
+
readonly indexed: false;
|
|
1550
|
+
readonly internalType: "uint24";
|
|
1551
|
+
}];
|
|
1552
|
+
readonly anonymous: false;
|
|
1553
|
+
}, {
|
|
1554
|
+
readonly type: "event";
|
|
1555
|
+
readonly name: "FeeCalculatorUpdated";
|
|
1556
|
+
readonly inputs: readonly [{
|
|
1557
|
+
readonly name: "_feeCalculator";
|
|
1558
|
+
readonly type: "address";
|
|
1559
|
+
readonly indexed: false;
|
|
1560
|
+
readonly internalType: "address";
|
|
1561
|
+
}];
|
|
1562
|
+
readonly anonymous: false;
|
|
1563
|
+
}, {
|
|
1564
|
+
readonly type: "event";
|
|
1565
|
+
readonly name: "FeeDistributionUpdated";
|
|
1566
|
+
readonly inputs: readonly [{
|
|
1567
|
+
readonly name: "_feeDistribution";
|
|
1568
|
+
readonly type: "tuple";
|
|
1569
|
+
readonly indexed: false;
|
|
1570
|
+
readonly internalType: "struct FeeDistributor.FeeDistribution";
|
|
1571
|
+
readonly components: readonly [{
|
|
1572
|
+
readonly name: "swapFee";
|
|
1573
|
+
readonly type: "uint24";
|
|
1574
|
+
readonly internalType: "uint24";
|
|
1575
|
+
}, {
|
|
1576
|
+
readonly name: "referrer";
|
|
1577
|
+
readonly type: "uint24";
|
|
1578
|
+
readonly internalType: "uint24";
|
|
1579
|
+
}, {
|
|
1580
|
+
readonly name: "protocol";
|
|
1581
|
+
readonly type: "uint24";
|
|
1582
|
+
readonly internalType: "uint24";
|
|
1583
|
+
}, {
|
|
1584
|
+
readonly name: "active";
|
|
1585
|
+
readonly type: "bool";
|
|
1586
|
+
readonly internalType: "bool";
|
|
1587
|
+
}];
|
|
1588
|
+
}];
|
|
1589
|
+
readonly anonymous: false;
|
|
1590
|
+
}, {
|
|
1591
|
+
readonly type: "event";
|
|
1592
|
+
readonly name: "HookFee";
|
|
1593
|
+
readonly inputs: readonly [{
|
|
1594
|
+
readonly name: "id";
|
|
1595
|
+
readonly type: "bytes32";
|
|
1596
|
+
readonly indexed: true;
|
|
1597
|
+
readonly internalType: "bytes32";
|
|
1598
|
+
}, {
|
|
1599
|
+
readonly name: "sender";
|
|
1600
|
+
readonly type: "address";
|
|
1601
|
+
readonly indexed: true;
|
|
1602
|
+
readonly internalType: "address";
|
|
1603
|
+
}, {
|
|
1604
|
+
readonly name: "feeAmount0";
|
|
1605
|
+
readonly type: "uint128";
|
|
1606
|
+
readonly indexed: false;
|
|
1607
|
+
readonly internalType: "uint128";
|
|
1608
|
+
}, {
|
|
1609
|
+
readonly name: "feeAmount1";
|
|
1610
|
+
readonly type: "uint128";
|
|
1611
|
+
readonly indexed: false;
|
|
1612
|
+
readonly internalType: "uint128";
|
|
1613
|
+
}];
|
|
1614
|
+
readonly anonymous: false;
|
|
1615
|
+
}, {
|
|
1616
|
+
readonly type: "event";
|
|
1617
|
+
readonly name: "HookSwap";
|
|
1618
|
+
readonly inputs: readonly [{
|
|
1619
|
+
readonly name: "id";
|
|
1620
|
+
readonly type: "bytes32";
|
|
1621
|
+
readonly indexed: true;
|
|
1622
|
+
readonly internalType: "bytes32";
|
|
1623
|
+
}, {
|
|
1624
|
+
readonly name: "sender";
|
|
1625
|
+
readonly type: "address";
|
|
1626
|
+
readonly indexed: true;
|
|
1627
|
+
readonly internalType: "address";
|
|
1628
|
+
}, {
|
|
1629
|
+
readonly name: "amount0";
|
|
1630
|
+
readonly type: "int128";
|
|
1631
|
+
readonly indexed: false;
|
|
1632
|
+
readonly internalType: "int128";
|
|
1633
|
+
}, {
|
|
1634
|
+
readonly name: "amount1";
|
|
1635
|
+
readonly type: "int128";
|
|
1636
|
+
readonly indexed: false;
|
|
1637
|
+
readonly internalType: "int128";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly name: "hookLPfeeAmount0";
|
|
1640
|
+
readonly type: "uint128";
|
|
1641
|
+
readonly indexed: false;
|
|
1642
|
+
readonly internalType: "uint128";
|
|
1643
|
+
}, {
|
|
1644
|
+
readonly name: "hookLPfeeAmount1";
|
|
1645
|
+
readonly type: "uint128";
|
|
1646
|
+
readonly indexed: false;
|
|
1647
|
+
readonly internalType: "uint128";
|
|
1648
|
+
}];
|
|
1649
|
+
readonly anonymous: false;
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly type: "event";
|
|
1652
|
+
readonly name: "InitialPriceUpdated";
|
|
1653
|
+
readonly inputs: readonly [{
|
|
1654
|
+
readonly name: "_initialPrice";
|
|
1655
|
+
readonly type: "address";
|
|
1656
|
+
readonly indexed: false;
|
|
1657
|
+
readonly internalType: "address";
|
|
1658
|
+
}];
|
|
1659
|
+
readonly anonymous: false;
|
|
1660
|
+
}, {
|
|
1661
|
+
readonly type: "event";
|
|
1662
|
+
readonly name: "OwnershipHandoverCanceled";
|
|
1663
|
+
readonly inputs: readonly [{
|
|
1664
|
+
readonly name: "pendingOwner";
|
|
1665
|
+
readonly type: "address";
|
|
1666
|
+
readonly indexed: true;
|
|
1667
|
+
readonly internalType: "address";
|
|
1668
|
+
}];
|
|
1669
|
+
readonly anonymous: false;
|
|
1670
|
+
}, {
|
|
1671
|
+
readonly type: "event";
|
|
1672
|
+
readonly name: "OwnershipHandoverRequested";
|
|
1673
|
+
readonly inputs: readonly [{
|
|
1674
|
+
readonly name: "pendingOwner";
|
|
1675
|
+
readonly type: "address";
|
|
1676
|
+
readonly indexed: true;
|
|
1677
|
+
readonly internalType: "address";
|
|
1678
|
+
}];
|
|
1679
|
+
readonly anonymous: false;
|
|
1680
|
+
}, {
|
|
1681
|
+
readonly type: "event";
|
|
1682
|
+
readonly name: "OwnershipTransferred";
|
|
1683
|
+
readonly inputs: readonly [{
|
|
1684
|
+
readonly name: "oldOwner";
|
|
1685
|
+
readonly type: "address";
|
|
1686
|
+
readonly indexed: true;
|
|
1687
|
+
readonly internalType: "address";
|
|
1688
|
+
}, {
|
|
1689
|
+
readonly name: "newOwner";
|
|
1690
|
+
readonly type: "address";
|
|
1691
|
+
readonly indexed: true;
|
|
1692
|
+
readonly internalType: "address";
|
|
1693
|
+
}];
|
|
1694
|
+
readonly anonymous: false;
|
|
1695
|
+
}, {
|
|
1696
|
+
readonly type: "event";
|
|
1697
|
+
readonly name: "PoolCreated";
|
|
1698
|
+
readonly inputs: readonly [{
|
|
1699
|
+
readonly name: "_poolId";
|
|
1700
|
+
readonly type: "bytes32";
|
|
1701
|
+
readonly indexed: true;
|
|
1702
|
+
readonly internalType: "PoolId";
|
|
1703
|
+
}, {
|
|
1704
|
+
readonly name: "_memecoin";
|
|
1705
|
+
readonly type: "address";
|
|
1706
|
+
readonly indexed: false;
|
|
1707
|
+
readonly internalType: "address";
|
|
1708
|
+
}, {
|
|
1709
|
+
readonly name: "_memecoinTreasury";
|
|
1710
|
+
readonly type: "address";
|
|
1711
|
+
readonly indexed: false;
|
|
1712
|
+
readonly internalType: "address";
|
|
1713
|
+
}, {
|
|
1714
|
+
readonly name: "_tokenId";
|
|
1715
|
+
readonly type: "uint256";
|
|
1716
|
+
readonly indexed: false;
|
|
1717
|
+
readonly internalType: "uint256";
|
|
1718
|
+
}, {
|
|
1719
|
+
readonly name: "_currencyFlipped";
|
|
1720
|
+
readonly type: "bool";
|
|
1721
|
+
readonly indexed: false;
|
|
1722
|
+
readonly internalType: "bool";
|
|
1723
|
+
}, {
|
|
1724
|
+
readonly name: "_flaunchFee";
|
|
1725
|
+
readonly type: "uint256";
|
|
1726
|
+
readonly indexed: false;
|
|
1727
|
+
readonly internalType: "uint256";
|
|
1728
|
+
}, {
|
|
1729
|
+
readonly name: "_params";
|
|
1730
|
+
readonly type: "tuple";
|
|
1731
|
+
readonly indexed: false;
|
|
1732
|
+
readonly internalType: "struct PositionManager.FlaunchParams";
|
|
1733
|
+
readonly components: readonly [{
|
|
1734
|
+
readonly name: "name";
|
|
1735
|
+
readonly type: "string";
|
|
1736
|
+
readonly internalType: "string";
|
|
1737
|
+
}, {
|
|
1738
|
+
readonly name: "symbol";
|
|
1739
|
+
readonly type: "string";
|
|
1740
|
+
readonly internalType: "string";
|
|
1741
|
+
}, {
|
|
1742
|
+
readonly name: "tokenUri";
|
|
1743
|
+
readonly type: "string";
|
|
1744
|
+
readonly internalType: "string";
|
|
1745
|
+
}, {
|
|
1746
|
+
readonly name: "initialTokenFairLaunch";
|
|
1747
|
+
readonly type: "uint256";
|
|
1748
|
+
readonly internalType: "uint256";
|
|
1749
|
+
}, {
|
|
1750
|
+
readonly name: "fairLaunchDuration";
|
|
1751
|
+
readonly type: "uint256";
|
|
1752
|
+
readonly internalType: "uint256";
|
|
1753
|
+
}, {
|
|
1754
|
+
readonly name: "premineAmount";
|
|
1755
|
+
readonly type: "uint256";
|
|
1756
|
+
readonly internalType: "uint256";
|
|
1757
|
+
}, {
|
|
1758
|
+
readonly name: "creator";
|
|
1759
|
+
readonly type: "address";
|
|
1760
|
+
readonly internalType: "address";
|
|
1761
|
+
}, {
|
|
1762
|
+
readonly name: "creatorFeeAllocation";
|
|
1763
|
+
readonly type: "uint24";
|
|
1764
|
+
readonly internalType: "uint24";
|
|
1765
|
+
}, {
|
|
1766
|
+
readonly name: "flaunchAt";
|
|
1767
|
+
readonly type: "uint256";
|
|
1768
|
+
readonly internalType: "uint256";
|
|
1769
|
+
}, {
|
|
1770
|
+
readonly name: "initialPriceParams";
|
|
1771
|
+
readonly type: "bytes";
|
|
1772
|
+
readonly internalType: "bytes";
|
|
1773
|
+
}, {
|
|
1774
|
+
readonly name: "feeCalculatorParams";
|
|
1775
|
+
readonly type: "bytes";
|
|
1776
|
+
readonly internalType: "bytes";
|
|
1777
|
+
}];
|
|
1778
|
+
}];
|
|
1779
|
+
readonly anonymous: false;
|
|
1780
|
+
}, {
|
|
1781
|
+
readonly type: "event";
|
|
1782
|
+
readonly name: "PoolFeeDistributionUpdated";
|
|
1783
|
+
readonly inputs: readonly [{
|
|
1784
|
+
readonly name: "_poolId";
|
|
1785
|
+
readonly type: "bytes32";
|
|
1786
|
+
readonly indexed: true;
|
|
1787
|
+
readonly internalType: "PoolId";
|
|
1788
|
+
}, {
|
|
1789
|
+
readonly name: "_feeDistribution";
|
|
1790
|
+
readonly type: "tuple";
|
|
1791
|
+
readonly indexed: false;
|
|
1792
|
+
readonly internalType: "struct FeeDistributor.FeeDistribution";
|
|
1793
|
+
readonly components: readonly [{
|
|
1794
|
+
readonly name: "swapFee";
|
|
1795
|
+
readonly type: "uint24";
|
|
1796
|
+
readonly internalType: "uint24";
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly name: "referrer";
|
|
1799
|
+
readonly type: "uint24";
|
|
1800
|
+
readonly internalType: "uint24";
|
|
1801
|
+
}, {
|
|
1802
|
+
readonly name: "protocol";
|
|
1803
|
+
readonly type: "uint24";
|
|
1804
|
+
readonly internalType: "uint24";
|
|
1805
|
+
}, {
|
|
1806
|
+
readonly name: "active";
|
|
1807
|
+
readonly type: "bool";
|
|
1808
|
+
readonly internalType: "bool";
|
|
1809
|
+
}];
|
|
1810
|
+
}];
|
|
1811
|
+
readonly anonymous: false;
|
|
1812
|
+
}, {
|
|
1813
|
+
readonly type: "event";
|
|
1814
|
+
readonly name: "PoolFeesDistributed";
|
|
1815
|
+
readonly inputs: readonly [{
|
|
1816
|
+
readonly name: "_poolId";
|
|
1817
|
+
readonly type: "bytes32";
|
|
1818
|
+
readonly indexed: true;
|
|
1819
|
+
readonly internalType: "PoolId";
|
|
1820
|
+
}, {
|
|
1821
|
+
readonly name: "_donateAmount";
|
|
1822
|
+
readonly type: "uint256";
|
|
1823
|
+
readonly indexed: false;
|
|
1824
|
+
readonly internalType: "uint256";
|
|
1825
|
+
}, {
|
|
1826
|
+
readonly name: "_creatorAmount";
|
|
1827
|
+
readonly type: "uint256";
|
|
1828
|
+
readonly indexed: false;
|
|
1829
|
+
readonly internalType: "uint256";
|
|
1830
|
+
}, {
|
|
1831
|
+
readonly name: "_bidWallAmount";
|
|
1832
|
+
readonly type: "uint256";
|
|
1833
|
+
readonly indexed: false;
|
|
1834
|
+
readonly internalType: "uint256";
|
|
1835
|
+
}, {
|
|
1836
|
+
readonly name: "_governanceAmount";
|
|
1837
|
+
readonly type: "uint256";
|
|
1838
|
+
readonly indexed: false;
|
|
1839
|
+
readonly internalType: "uint256";
|
|
1840
|
+
}, {
|
|
1841
|
+
readonly name: "_protocolAmount";
|
|
1842
|
+
readonly type: "uint256";
|
|
1843
|
+
readonly indexed: false;
|
|
1844
|
+
readonly internalType: "uint256";
|
|
1845
|
+
}];
|
|
1846
|
+
readonly anonymous: false;
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly type: "event";
|
|
1849
|
+
readonly name: "PoolFeesReceived";
|
|
1850
|
+
readonly inputs: readonly [{
|
|
1851
|
+
readonly name: "_poolId";
|
|
1852
|
+
readonly type: "bytes32";
|
|
1853
|
+
readonly indexed: true;
|
|
1854
|
+
readonly internalType: "PoolId";
|
|
1855
|
+
}, {
|
|
1856
|
+
readonly name: "_amount0";
|
|
1857
|
+
readonly type: "uint256";
|
|
1858
|
+
readonly indexed: false;
|
|
1859
|
+
readonly internalType: "uint256";
|
|
1860
|
+
}, {
|
|
1861
|
+
readonly name: "_amount1";
|
|
1862
|
+
readonly type: "uint256";
|
|
1863
|
+
readonly indexed: false;
|
|
1864
|
+
readonly internalType: "uint256";
|
|
1865
|
+
}];
|
|
1866
|
+
readonly anonymous: false;
|
|
1867
|
+
}, {
|
|
1868
|
+
readonly type: "event";
|
|
1869
|
+
readonly name: "PoolFeesSwapped";
|
|
1870
|
+
readonly inputs: readonly [{
|
|
1871
|
+
readonly name: "_poolId";
|
|
1872
|
+
readonly type: "bytes32";
|
|
1873
|
+
readonly indexed: true;
|
|
1874
|
+
readonly internalType: "PoolId";
|
|
1875
|
+
}, {
|
|
1876
|
+
readonly name: "zeroForOne";
|
|
1877
|
+
readonly type: "bool";
|
|
1878
|
+
readonly indexed: false;
|
|
1879
|
+
readonly internalType: "bool";
|
|
1880
|
+
}, {
|
|
1881
|
+
readonly name: "_amount0";
|
|
1882
|
+
readonly type: "uint256";
|
|
1883
|
+
readonly indexed: false;
|
|
1884
|
+
readonly internalType: "uint256";
|
|
1885
|
+
}, {
|
|
1886
|
+
readonly name: "_amount1";
|
|
1887
|
+
readonly type: "uint256";
|
|
1888
|
+
readonly indexed: false;
|
|
1889
|
+
readonly internalType: "uint256";
|
|
1890
|
+
}];
|
|
1891
|
+
readonly anonymous: false;
|
|
1892
|
+
}, {
|
|
1893
|
+
readonly type: "event";
|
|
1894
|
+
readonly name: "PoolPremine";
|
|
1895
|
+
readonly inputs: readonly [{
|
|
1896
|
+
readonly name: "_poolId";
|
|
1897
|
+
readonly type: "bytes32";
|
|
1898
|
+
readonly indexed: true;
|
|
1899
|
+
readonly internalType: "PoolId";
|
|
1900
|
+
}, {
|
|
1901
|
+
readonly name: "_premineAmount";
|
|
1902
|
+
readonly type: "int256";
|
|
1903
|
+
readonly indexed: false;
|
|
1904
|
+
readonly internalType: "int256";
|
|
1905
|
+
}];
|
|
1906
|
+
readonly anonymous: false;
|
|
1907
|
+
}, {
|
|
1908
|
+
readonly type: "event";
|
|
1909
|
+
readonly name: "PoolScheduled";
|
|
1910
|
+
readonly inputs: readonly [{
|
|
1911
|
+
readonly name: "_poolId";
|
|
1912
|
+
readonly type: "bytes32";
|
|
1913
|
+
readonly indexed: true;
|
|
1914
|
+
readonly internalType: "PoolId";
|
|
1915
|
+
}, {
|
|
1916
|
+
readonly name: "_flaunchesAt";
|
|
1917
|
+
readonly type: "uint256";
|
|
1918
|
+
readonly indexed: false;
|
|
1919
|
+
readonly internalType: "uint256";
|
|
1920
|
+
}];
|
|
1921
|
+
readonly anonymous: false;
|
|
1922
|
+
}, {
|
|
1923
|
+
readonly type: "event";
|
|
1924
|
+
readonly name: "PoolStateUpdated";
|
|
1925
|
+
readonly inputs: readonly [{
|
|
1926
|
+
readonly name: "_poolId";
|
|
1927
|
+
readonly type: "bytes32";
|
|
1928
|
+
readonly indexed: true;
|
|
1929
|
+
readonly internalType: "PoolId";
|
|
1930
|
+
}, {
|
|
1931
|
+
readonly name: "_sqrtPriceX96";
|
|
1932
|
+
readonly type: "uint160";
|
|
1933
|
+
readonly indexed: false;
|
|
1934
|
+
readonly internalType: "uint160";
|
|
1935
|
+
}, {
|
|
1936
|
+
readonly name: "_tick";
|
|
1937
|
+
readonly type: "int24";
|
|
1938
|
+
readonly indexed: false;
|
|
1939
|
+
readonly internalType: "int24";
|
|
1940
|
+
}, {
|
|
1941
|
+
readonly name: "_protocolFee";
|
|
1942
|
+
readonly type: "uint24";
|
|
1943
|
+
readonly indexed: false;
|
|
1944
|
+
readonly internalType: "uint24";
|
|
1945
|
+
}, {
|
|
1946
|
+
readonly name: "_swapFee";
|
|
1947
|
+
readonly type: "uint24";
|
|
1948
|
+
readonly indexed: false;
|
|
1949
|
+
readonly internalType: "uint24";
|
|
1950
|
+
}, {
|
|
1951
|
+
readonly name: "_liquidity";
|
|
1952
|
+
readonly type: "uint128";
|
|
1953
|
+
readonly indexed: false;
|
|
1954
|
+
readonly internalType: "uint128";
|
|
1955
|
+
}];
|
|
1956
|
+
readonly anonymous: false;
|
|
1957
|
+
}, {
|
|
1958
|
+
readonly type: "event";
|
|
1959
|
+
readonly name: "PoolSwap";
|
|
1960
|
+
readonly inputs: readonly [{
|
|
1961
|
+
readonly name: "poolId";
|
|
1962
|
+
readonly type: "bytes32";
|
|
1963
|
+
readonly indexed: true;
|
|
1964
|
+
readonly internalType: "PoolId";
|
|
1965
|
+
}, {
|
|
1966
|
+
readonly name: "flAmount0";
|
|
1967
|
+
readonly type: "int256";
|
|
1968
|
+
readonly indexed: false;
|
|
1969
|
+
readonly internalType: "int256";
|
|
1970
|
+
}, {
|
|
1971
|
+
readonly name: "flAmount1";
|
|
1972
|
+
readonly type: "int256";
|
|
1973
|
+
readonly indexed: false;
|
|
1974
|
+
readonly internalType: "int256";
|
|
1975
|
+
}, {
|
|
1976
|
+
readonly name: "flFee0";
|
|
1977
|
+
readonly type: "int256";
|
|
1978
|
+
readonly indexed: false;
|
|
1979
|
+
readonly internalType: "int256";
|
|
1980
|
+
}, {
|
|
1981
|
+
readonly name: "flFee1";
|
|
1982
|
+
readonly type: "int256";
|
|
1983
|
+
readonly indexed: false;
|
|
1984
|
+
readonly internalType: "int256";
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly name: "ispAmount0";
|
|
1987
|
+
readonly type: "int256";
|
|
1988
|
+
readonly indexed: false;
|
|
1989
|
+
readonly internalType: "int256";
|
|
1990
|
+
}, {
|
|
1991
|
+
readonly name: "ispAmount1";
|
|
1992
|
+
readonly type: "int256";
|
|
1993
|
+
readonly indexed: false;
|
|
1994
|
+
readonly internalType: "int256";
|
|
1995
|
+
}, {
|
|
1996
|
+
readonly name: "ispFee0";
|
|
1997
|
+
readonly type: "int256";
|
|
1998
|
+
readonly indexed: false;
|
|
1999
|
+
readonly internalType: "int256";
|
|
2000
|
+
}, {
|
|
2001
|
+
readonly name: "ispFee1";
|
|
2002
|
+
readonly type: "int256";
|
|
2003
|
+
readonly indexed: false;
|
|
2004
|
+
readonly internalType: "int256";
|
|
2005
|
+
}, {
|
|
2006
|
+
readonly name: "uniAmount0";
|
|
2007
|
+
readonly type: "int256";
|
|
2008
|
+
readonly indexed: false;
|
|
2009
|
+
readonly internalType: "int256";
|
|
2010
|
+
}, {
|
|
2011
|
+
readonly name: "uniAmount1";
|
|
2012
|
+
readonly type: "int256";
|
|
2013
|
+
readonly indexed: false;
|
|
2014
|
+
readonly internalType: "int256";
|
|
2015
|
+
}, {
|
|
2016
|
+
readonly name: "uniFee0";
|
|
2017
|
+
readonly type: "int256";
|
|
2018
|
+
readonly indexed: false;
|
|
2019
|
+
readonly internalType: "int256";
|
|
2020
|
+
}, {
|
|
2021
|
+
readonly name: "uniFee1";
|
|
2022
|
+
readonly type: "int256";
|
|
2023
|
+
readonly indexed: false;
|
|
2024
|
+
readonly internalType: "int256";
|
|
2025
|
+
}];
|
|
2026
|
+
readonly anonymous: false;
|
|
2027
|
+
}, {
|
|
2028
|
+
readonly type: "event";
|
|
2029
|
+
readonly name: "ReferralEscrowUpdated";
|
|
2030
|
+
readonly inputs: readonly [{
|
|
2031
|
+
readonly name: "_referralEscrow";
|
|
2032
|
+
readonly type: "address";
|
|
2033
|
+
readonly indexed: false;
|
|
2034
|
+
readonly internalType: "address";
|
|
2035
|
+
}];
|
|
2036
|
+
readonly anonymous: false;
|
|
2037
|
+
}, {
|
|
2038
|
+
readonly type: "event";
|
|
2039
|
+
readonly name: "ReferrerFeePaid";
|
|
2040
|
+
readonly inputs: readonly [{
|
|
2041
|
+
readonly name: "_poolId";
|
|
2042
|
+
readonly type: "bytes32";
|
|
2043
|
+
readonly indexed: true;
|
|
2044
|
+
readonly internalType: "PoolId";
|
|
2045
|
+
}, {
|
|
2046
|
+
readonly name: "_recipient";
|
|
2047
|
+
readonly type: "address";
|
|
2048
|
+
readonly indexed: false;
|
|
2049
|
+
readonly internalType: "address";
|
|
2050
|
+
}, {
|
|
2051
|
+
readonly name: "_token";
|
|
2052
|
+
readonly type: "address";
|
|
2053
|
+
readonly indexed: false;
|
|
2054
|
+
readonly internalType: "address";
|
|
2055
|
+
}, {
|
|
2056
|
+
readonly name: "_amount";
|
|
2057
|
+
readonly type: "uint256";
|
|
2058
|
+
readonly indexed: false;
|
|
2059
|
+
readonly internalType: "uint256";
|
|
2060
|
+
}];
|
|
2061
|
+
readonly anonymous: false;
|
|
2062
|
+
}, {
|
|
2063
|
+
readonly type: "error";
|
|
2064
|
+
readonly name: "AlreadyInitialized";
|
|
2065
|
+
readonly inputs: readonly [];
|
|
2066
|
+
}, {
|
|
2067
|
+
readonly type: "error";
|
|
2068
|
+
readonly name: "CallerIsNotBidWall";
|
|
2069
|
+
readonly inputs: readonly [];
|
|
2070
|
+
}, {
|
|
2071
|
+
readonly type: "error";
|
|
2072
|
+
readonly name: "CallerNotCreator";
|
|
2073
|
+
readonly inputs: readonly [{
|
|
2074
|
+
readonly name: "_caller";
|
|
2075
|
+
readonly type: "address";
|
|
2076
|
+
readonly internalType: "address";
|
|
2077
|
+
}];
|
|
2078
|
+
}, {
|
|
2079
|
+
readonly type: "error";
|
|
2080
|
+
readonly name: "CannotBeInitializedDirectly";
|
|
2081
|
+
readonly inputs: readonly [];
|
|
2082
|
+
}, {
|
|
2083
|
+
readonly type: "error";
|
|
2084
|
+
readonly name: "CannotModifyLiquidityDuringFairLaunch";
|
|
2085
|
+
readonly inputs: readonly [];
|
|
2086
|
+
}, {
|
|
2087
|
+
readonly type: "error";
|
|
2088
|
+
readonly name: "CannotSellTokenDuringFairLaunch";
|
|
2089
|
+
readonly inputs: readonly [];
|
|
2090
|
+
}, {
|
|
2091
|
+
readonly type: "error";
|
|
2092
|
+
readonly name: "CreatorFeeInvalid";
|
|
2093
|
+
readonly inputs: readonly [];
|
|
2094
|
+
}, {
|
|
2095
|
+
readonly type: "error";
|
|
2096
|
+
readonly name: "HookNotImplemented";
|
|
2097
|
+
readonly inputs: readonly [];
|
|
2098
|
+
}, {
|
|
2099
|
+
readonly type: "error";
|
|
2100
|
+
readonly name: "InsufficientFlaunchFee";
|
|
2101
|
+
readonly inputs: readonly [{
|
|
2102
|
+
readonly name: "_paid";
|
|
2103
|
+
readonly type: "uint256";
|
|
2104
|
+
readonly internalType: "uint256";
|
|
2105
|
+
}, {
|
|
2106
|
+
readonly name: "_required";
|
|
2107
|
+
readonly type: "uint256";
|
|
2108
|
+
readonly internalType: "uint256";
|
|
2109
|
+
}];
|
|
2110
|
+
}, {
|
|
2111
|
+
readonly type: "error";
|
|
2112
|
+
readonly name: "InvalidPool";
|
|
2113
|
+
readonly inputs: readonly [];
|
|
2114
|
+
}, {
|
|
2115
|
+
readonly type: "error";
|
|
2116
|
+
readonly name: "LockFailure";
|
|
2117
|
+
readonly inputs: readonly [];
|
|
2118
|
+
}, {
|
|
2119
|
+
readonly type: "error";
|
|
2120
|
+
readonly name: "NewOwnerIsZeroAddress";
|
|
2121
|
+
readonly inputs: readonly [];
|
|
2122
|
+
}, {
|
|
2123
|
+
readonly type: "error";
|
|
2124
|
+
readonly name: "NoHandoverRequest";
|
|
2125
|
+
readonly inputs: readonly [];
|
|
2126
|
+
}, {
|
|
2127
|
+
readonly type: "error";
|
|
2128
|
+
readonly name: "NotPoolManager";
|
|
2129
|
+
readonly inputs: readonly [];
|
|
2130
|
+
}, {
|
|
2131
|
+
readonly type: "error";
|
|
2132
|
+
readonly name: "NotSelf";
|
|
2133
|
+
readonly inputs: readonly [];
|
|
2134
|
+
}, {
|
|
2135
|
+
readonly type: "error";
|
|
2136
|
+
readonly name: "ProtocolFeeInvalid";
|
|
2137
|
+
readonly inputs: readonly [];
|
|
2138
|
+
}, {
|
|
2139
|
+
readonly type: "error";
|
|
2140
|
+
readonly name: "RecipientZeroAddress";
|
|
2141
|
+
readonly inputs: readonly [];
|
|
2142
|
+
}, {
|
|
2143
|
+
readonly type: "error";
|
|
2144
|
+
readonly name: "ReferrerFeeInvalid";
|
|
2145
|
+
readonly inputs: readonly [];
|
|
2146
|
+
}, {
|
|
2147
|
+
readonly type: "error";
|
|
2148
|
+
readonly name: "SwapFeeInvalid";
|
|
2149
|
+
readonly inputs: readonly [];
|
|
2150
|
+
}, {
|
|
2151
|
+
readonly type: "error";
|
|
2152
|
+
readonly name: "TokenNotFlaunched";
|
|
2153
|
+
readonly inputs: readonly [{
|
|
2154
|
+
readonly name: "_flaunchesAt";
|
|
2155
|
+
readonly type: "uint256";
|
|
2156
|
+
readonly internalType: "uint256";
|
|
2157
|
+
}];
|
|
2158
|
+
}, {
|
|
2159
|
+
readonly type: "error";
|
|
2160
|
+
readonly name: "Unauthorized";
|
|
2161
|
+
readonly inputs: readonly [];
|
|
2162
|
+
}, {
|
|
2163
|
+
readonly type: "error";
|
|
2164
|
+
readonly name: "UnknownPool";
|
|
2165
|
+
readonly inputs: readonly [{
|
|
2166
|
+
readonly name: "_poolId";
|
|
2167
|
+
readonly type: "bytes32";
|
|
2168
|
+
readonly internalType: "PoolId";
|
|
2169
|
+
}];
|
|
2170
|
+
}];
|
|
2171
|
+
//# sourceMappingURL=FlaunchPositionManager.d.ts.map
|