genius-intents 0.18.2 → 0.19.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 (123) hide show
  1. package/CHANGELOG.md +46 -3
  2. package/dist/genius-intents.d.ts.map +1 -1
  3. package/dist/genius-intents.js +8 -2
  4. package/dist/genius-intents.js.map +1 -1
  5. package/dist/index.d.ts +2 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +3 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/lib/dex/algebra/algebra-factory.abi.d.ts +3 -0
  10. package/dist/lib/dex/algebra/algebra-factory.abi.d.ts.map +1 -0
  11. package/dist/lib/dex/algebra/algebra-factory.abi.js +34 -0
  12. package/dist/lib/dex/algebra/algebra-factory.abi.js.map +1 -0
  13. package/dist/lib/dex/algebra/algebra-quoter.abi.d.ts +3 -0
  14. package/dist/lib/dex/algebra/algebra-quoter.abi.d.ts.map +1 -0
  15. package/dist/lib/dex/algebra/algebra-quoter.abi.js +135 -0
  16. package/dist/lib/dex/algebra/algebra-quoter.abi.js.map +1 -0
  17. package/dist/lib/dex/algebra/algebra-router.abi.d.ts +3 -0
  18. package/dist/lib/dex/algebra/algebra-router.abi.d.ts.map +1 -0
  19. package/dist/lib/dex/algebra/algebra-router.abi.js +273 -0
  20. package/dist/lib/dex/algebra/algebra-router.abi.js.map +1 -0
  21. package/dist/lib/dex/uniswapv3/slipstream-quoter.abi.d.ts +3 -0
  22. package/dist/lib/dex/uniswapv3/slipstream-quoter.abi.d.ts.map +1 -0
  23. package/dist/lib/dex/uniswapv3/slipstream-quoter.abi.js +30 -0
  24. package/dist/lib/dex/uniswapv3/slipstream-quoter.abi.js.map +1 -0
  25. package/dist/lib/dex/uniswapv3/slipstream-router.abi.d.ts +3 -0
  26. package/dist/lib/dex/uniswapv3/slipstream-router.abi.d.ts.map +1 -0
  27. package/dist/lib/dex/uniswapv3/slipstream-router.abi.js +45 -0
  28. package/dist/lib/dex/uniswapv3/slipstream-router.abi.js.map +1 -0
  29. package/dist/lib/dex/ve33/aerodrome-factory.abi.d.ts +3 -0
  30. package/dist/lib/dex/ve33/aerodrome-factory.abi.d.ts.map +1 -0
  31. package/dist/lib/dex/ve33/aerodrome-factory.abi.js +17 -0
  32. package/dist/lib/dex/ve33/aerodrome-factory.abi.js.map +1 -0
  33. package/dist/lib/dex/ve33/aerodrome-router.abi.d.ts +3 -0
  34. package/dist/lib/dex/ve33/aerodrome-router.abi.d.ts.map +1 -0
  35. package/dist/lib/dex/ve33/aerodrome-router.abi.js +119 -0
  36. package/dist/lib/dex/ve33/aerodrome-router.abi.js.map +1 -0
  37. package/dist/lib/dex/ve33/blackhole-router.abi.d.ts +3 -0
  38. package/dist/lib/dex/ve33/blackhole-router.abi.d.ts.map +1 -0
  39. package/dist/lib/dex/ve33/blackhole-router.abi.js +1492 -0
  40. package/dist/lib/dex/ve33/blackhole-router.abi.js.map +1 -0
  41. package/dist/lib/dex/ve33/pharaoh-router.abi.d.ts +3 -0
  42. package/dist/lib/dex/ve33/pharaoh-router.abi.d.ts.map +1 -0
  43. package/dist/lib/dex/ve33/pharaoh-router.abi.js +502 -0
  44. package/dist/lib/dex/ve33/pharaoh-router.abi.js.map +1 -0
  45. package/dist/lib/dex/ve33/velodrome-router.abi.d.ts +3 -0
  46. package/dist/lib/dex/ve33/velodrome-router.abi.d.ts.map +1 -0
  47. package/dist/lib/dex/ve33/velodrome-router.abi.js +634 -0
  48. package/dist/lib/dex/ve33/velodrome-router.abi.js.map +1 -0
  49. package/dist/protocols/algebra/algebra.service.d.ts +61 -0
  50. package/dist/protocols/algebra/algebra.service.d.ts.map +1 -0
  51. package/dist/protocols/algebra/algebra.service.js +562 -0
  52. package/dist/protocols/algebra/algebra.service.js.map +1 -0
  53. package/dist/protocols/algebra/algebra.types.d.ts +83 -0
  54. package/dist/protocols/algebra/algebra.types.d.ts.map +1 -0
  55. package/dist/protocols/algebra/algebra.types.js +9 -0
  56. package/dist/protocols/algebra/algebra.types.js.map +1 -0
  57. package/dist/protocols/algebra/index.d.ts +3 -0
  58. package/dist/protocols/algebra/index.d.ts.map +1 -0
  59. package/dist/protocols/algebra/index.js +21 -0
  60. package/dist/protocols/algebra/index.js.map +1 -0
  61. package/dist/protocols/okx/okx.service.d.ts +9 -8
  62. package/dist/protocols/okx/okx.service.d.ts.map +1 -1
  63. package/dist/protocols/okx/okx.service.js +133 -143
  64. package/dist/protocols/okx/okx.service.js.map +1 -1
  65. package/dist/protocols/okx/okx.types.d.ts +9 -3
  66. package/dist/protocols/okx/okx.types.d.ts.map +1 -1
  67. package/dist/protocols/relay/relay.service.d.ts +3 -0
  68. package/dist/protocols/relay/relay.service.d.ts.map +1 -1
  69. package/dist/protocols/relay/relay.service.js +7 -1
  70. package/dist/protocols/relay/relay.service.js.map +1 -1
  71. package/dist/protocols/v2-dex/v2-dex.service.d.ts +0 -3
  72. package/dist/protocols/v2-dex/v2-dex.service.d.ts.map +1 -1
  73. package/dist/protocols/v2-dex/v2-dex.service.js +54 -55
  74. package/dist/protocols/v2-dex/v2-dex.service.js.map +1 -1
  75. package/dist/protocols/v2-dex/v2-dex.types.d.ts +0 -10
  76. package/dist/protocols/v2-dex/v2-dex.types.d.ts.map +1 -1
  77. package/dist/protocols/v3-dex/v3-dex.service.d.ts +50 -6
  78. package/dist/protocols/v3-dex/v3-dex.service.d.ts.map +1 -1
  79. package/dist/protocols/v3-dex/v3-dex.service.js +369 -193
  80. package/dist/protocols/v3-dex/v3-dex.service.js.map +1 -1
  81. package/dist/protocols/v3-dex/v3-dex.types.d.ts +4 -1
  82. package/dist/protocols/v3-dex/v3-dex.types.d.ts.map +1 -1
  83. package/dist/protocols/v3-dex/v3-dex.types.js +3 -0
  84. package/dist/protocols/v3-dex/v3-dex.types.js.map +1 -1
  85. package/dist/protocols/ve33/index.d.ts +3 -0
  86. package/dist/protocols/ve33/index.d.ts.map +1 -0
  87. package/dist/protocols/ve33/index.js +6 -0
  88. package/dist/protocols/ve33/index.js.map +1 -0
  89. package/dist/protocols/ve33/ve33.handlers.d.ts +3 -0
  90. package/dist/protocols/ve33/ve33.handlers.d.ts.map +1 -0
  91. package/dist/protocols/ve33/ve33.handlers.js +187 -0
  92. package/dist/protocols/ve33/ve33.handlers.js.map +1 -0
  93. package/dist/protocols/ve33/ve33.service.d.ts +26 -0
  94. package/dist/protocols/ve33/ve33.service.d.ts.map +1 -0
  95. package/dist/protocols/ve33/ve33.service.js +486 -0
  96. package/dist/protocols/ve33/ve33.service.js.map +1 -0
  97. package/dist/protocols/ve33/ve33.types.d.ts +136 -0
  98. package/dist/protocols/ve33/ve33.types.d.ts.map +1 -0
  99. package/dist/protocols/ve33/ve33.types.js +11 -0
  100. package/dist/protocols/ve33/ve33.types.js.map +1 -0
  101. package/dist/types/enums.d.ts +5 -2
  102. package/dist/types/enums.d.ts.map +1 -1
  103. package/dist/types/enums.js +3 -0
  104. package/dist/types/enums.js.map +1 -1
  105. package/dist/types/price-params.d.ts +4 -0
  106. package/dist/types/price-params.d.ts.map +1 -1
  107. package/dist/types/price-response.d.ts +4 -2
  108. package/dist/types/price-response.d.ts.map +1 -1
  109. package/dist/types/quote-response.d.ts +3 -1
  110. package/dist/types/quote-response.d.ts.map +1 -1
  111. package/dist/utils/dex-deployment-key.d.ts +14 -0
  112. package/dist/utils/dex-deployment-key.d.ts.map +1 -0
  113. package/dist/utils/dex-deployment-key.js +17 -0
  114. package/dist/utils/dex-deployment-key.js.map +1 -0
  115. package/dist/utils/min-amount-out.d.ts +12 -0
  116. package/dist/utils/min-amount-out.d.ts.map +1 -0
  117. package/dist/utils/min-amount-out.js +18 -0
  118. package/dist/utils/min-amount-out.js.map +1 -0
  119. package/dist/utils/sort-addresses.d.ts +2 -0
  120. package/dist/utils/sort-addresses.d.ts.map +1 -0
  121. package/dist/utils/sort-addresses.js +14 -0
  122. package/dist/utils/sort-addresses.js.map +1 -0
  123. package/package.json +1 -1
@@ -0,0 +1,273 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.algebraRouterAbi = void 0;
4
+ exports.algebraRouterAbi = [
5
+ {
6
+ inputs: [
7
+ { internalType: 'address', name: '_factory', type: 'address' },
8
+ { internalType: 'address', name: '_WNativeToken', type: 'address' },
9
+ { internalType: 'address', name: '_poolDeployer', type: 'address' },
10
+ ],
11
+ stateMutability: 'nonpayable',
12
+ type: 'constructor',
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: 'WNativeToken',
17
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
18
+ stateMutability: 'view',
19
+ type: 'function',
20
+ },
21
+ {
22
+ inputs: [
23
+ { internalType: 'int256', name: 'amount0Delta', type: 'int256' },
24
+ { internalType: 'int256', name: 'amount1Delta', type: 'int256' },
25
+ { internalType: 'bytes', name: '_data', type: 'bytes' },
26
+ ],
27
+ name: 'algebraSwapCallback',
28
+ outputs: [],
29
+ stateMutability: 'nonpayable',
30
+ type: 'function',
31
+ },
32
+ {
33
+ inputs: [
34
+ {
35
+ components: [
36
+ { internalType: 'bytes', name: 'path', type: 'bytes' },
37
+ { internalType: 'address', name: 'recipient', type: 'address' },
38
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
39
+ { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
40
+ { internalType: 'uint256', name: 'amountOutMinimum', type: 'uint256' },
41
+ ],
42
+ internalType: 'struct ISwapRouter.ExactInputParams',
43
+ name: 'params',
44
+ type: 'tuple',
45
+ },
46
+ ],
47
+ name: 'exactInput',
48
+ outputs: [{ internalType: 'uint256', name: 'amountOut', type: 'uint256' }],
49
+ stateMutability: 'payable',
50
+ type: 'function',
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ components: [
56
+ { internalType: 'address', name: 'tokenIn', type: 'address' },
57
+ { internalType: 'address', name: 'tokenOut', type: 'address' },
58
+ { internalType: 'address', name: 'deployer', type: 'address' },
59
+ { internalType: 'address', name: 'recipient', type: 'address' },
60
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
61
+ { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
62
+ { internalType: 'uint256', name: 'amountOutMinimum', type: 'uint256' },
63
+ { internalType: 'uint160', name: 'limitSqrtPrice', type: 'uint160' },
64
+ ],
65
+ internalType: 'struct ISwapRouter.ExactInputSingleParams',
66
+ name: 'params',
67
+ type: 'tuple',
68
+ },
69
+ ],
70
+ name: 'exactInputSingle',
71
+ outputs: [{ internalType: 'uint256', name: 'amountOut', type: 'uint256' }],
72
+ stateMutability: 'payable',
73
+ type: 'function',
74
+ },
75
+ {
76
+ inputs: [
77
+ {
78
+ components: [
79
+ { internalType: 'address', name: 'tokenIn', type: 'address' },
80
+ { internalType: 'address', name: 'tokenOut', type: 'address' },
81
+ { internalType: 'address', name: 'deployer', type: 'address' },
82
+ { internalType: 'address', name: 'recipient', type: 'address' },
83
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
84
+ { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
85
+ { internalType: 'uint256', name: 'amountOutMinimum', type: 'uint256' },
86
+ { internalType: 'uint160', name: 'limitSqrtPrice', type: 'uint160' },
87
+ ],
88
+ internalType: 'struct ISwapRouter.ExactInputSingleParams',
89
+ name: 'params',
90
+ type: 'tuple',
91
+ },
92
+ ],
93
+ name: 'exactInputSingleSupportingFeeOnTransferTokens',
94
+ outputs: [{ internalType: 'uint256', name: 'amountOut', type: 'uint256' }],
95
+ stateMutability: 'payable',
96
+ type: 'function',
97
+ },
98
+ {
99
+ inputs: [
100
+ {
101
+ components: [
102
+ { internalType: 'bytes', name: 'path', type: 'bytes' },
103
+ { internalType: 'address', name: 'recipient', type: 'address' },
104
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
105
+ { internalType: 'uint256', name: 'amountOut', type: 'uint256' },
106
+ { internalType: 'uint256', name: 'amountInMaximum', type: 'uint256' },
107
+ ],
108
+ internalType: 'struct ISwapRouter.ExactOutputParams',
109
+ name: 'params',
110
+ type: 'tuple',
111
+ },
112
+ ],
113
+ name: 'exactOutput',
114
+ outputs: [{ internalType: 'uint256', name: 'amountIn', type: 'uint256' }],
115
+ stateMutability: 'payable',
116
+ type: 'function',
117
+ },
118
+ {
119
+ inputs: [
120
+ {
121
+ components: [
122
+ { internalType: 'address', name: 'tokenIn', type: 'address' },
123
+ { internalType: 'address', name: 'tokenOut', type: 'address' },
124
+ { internalType: 'address', name: 'deployer', type: 'address' },
125
+ { internalType: 'address', name: 'recipient', type: 'address' },
126
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
127
+ { internalType: 'uint256', name: 'amountOut', type: 'uint256' },
128
+ { internalType: 'uint256', name: 'amountInMaximum', type: 'uint256' },
129
+ { internalType: 'uint160', name: 'limitSqrtPrice', type: 'uint160' },
130
+ ],
131
+ internalType: 'struct ISwapRouter.ExactOutputSingleParams',
132
+ name: 'params',
133
+ type: 'tuple',
134
+ },
135
+ ],
136
+ name: 'exactOutputSingle',
137
+ outputs: [{ internalType: 'uint256', name: 'amountIn', type: 'uint256' }],
138
+ stateMutability: 'payable',
139
+ type: 'function',
140
+ },
141
+ {
142
+ inputs: [],
143
+ name: 'factory',
144
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
145
+ stateMutability: 'view',
146
+ type: 'function',
147
+ },
148
+ {
149
+ inputs: [{ internalType: 'bytes[]', name: 'data', type: 'bytes[]' }],
150
+ name: 'multicall',
151
+ outputs: [{ internalType: 'bytes[]', name: 'results', type: 'bytes[]' }],
152
+ stateMutability: 'payable',
153
+ type: 'function',
154
+ },
155
+ {
156
+ inputs: [],
157
+ name: 'poolDeployer',
158
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
159
+ stateMutability: 'view',
160
+ type: 'function',
161
+ },
162
+ {
163
+ inputs: [],
164
+ name: 'refundNativeToken',
165
+ outputs: [],
166
+ stateMutability: 'payable',
167
+ type: 'function',
168
+ },
169
+ {
170
+ inputs: [
171
+ { internalType: 'address', name: 'token', type: 'address' },
172
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
173
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
174
+ { internalType: 'uint8', name: 'v', type: 'uint8' },
175
+ { internalType: 'bytes32', name: 'r', type: 'bytes32' },
176
+ { internalType: 'bytes32', name: 's', type: 'bytes32' },
177
+ ],
178
+ name: 'selfPermit',
179
+ outputs: [],
180
+ stateMutability: 'payable',
181
+ type: 'function',
182
+ },
183
+ {
184
+ inputs: [
185
+ { internalType: 'address', name: 'token', type: 'address' },
186
+ { internalType: 'uint256', name: 'nonce', type: 'uint256' },
187
+ { internalType: 'uint256', name: 'expiry', type: 'uint256' },
188
+ { internalType: 'uint8', name: 'v', type: 'uint8' },
189
+ { internalType: 'bytes32', name: 'r', type: 'bytes32' },
190
+ { internalType: 'bytes32', name: 's', type: 'bytes32' },
191
+ ],
192
+ name: 'selfPermitAllowed',
193
+ outputs: [],
194
+ stateMutability: 'payable',
195
+ type: 'function',
196
+ },
197
+ {
198
+ inputs: [
199
+ { internalType: 'address', name: 'token', type: 'address' },
200
+ { internalType: 'uint256', name: 'nonce', type: 'uint256' },
201
+ { internalType: 'uint256', name: 'expiry', type: 'uint256' },
202
+ { internalType: 'uint8', name: 'v', type: 'uint8' },
203
+ { internalType: 'bytes32', name: 'r', type: 'bytes32' },
204
+ { internalType: 'bytes32', name: 's', type: 'bytes32' },
205
+ ],
206
+ name: 'selfPermitAllowedIfNecessary',
207
+ outputs: [],
208
+ stateMutability: 'payable',
209
+ type: 'function',
210
+ },
211
+ {
212
+ inputs: [
213
+ { internalType: 'address', name: 'token', type: 'address' },
214
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
215
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
216
+ { internalType: 'uint8', name: 'v', type: 'uint8' },
217
+ { internalType: 'bytes32', name: 'r', type: 'bytes32' },
218
+ { internalType: 'bytes32', name: 's', type: 'bytes32' },
219
+ ],
220
+ name: 'selfPermitIfNecessary',
221
+ outputs: [],
222
+ stateMutability: 'payable',
223
+ type: 'function',
224
+ },
225
+ {
226
+ inputs: [
227
+ { internalType: 'address', name: 'token', type: 'address' },
228
+ { internalType: 'uint256', name: 'amountMinimum', type: 'uint256' },
229
+ { internalType: 'address', name: 'recipient', type: 'address' },
230
+ ],
231
+ name: 'sweepToken',
232
+ outputs: [],
233
+ stateMutability: 'payable',
234
+ type: 'function',
235
+ },
236
+ {
237
+ inputs: [
238
+ { internalType: 'address', name: 'token', type: 'address' },
239
+ { internalType: 'uint256', name: 'amountMinimum', type: 'uint256' },
240
+ { internalType: 'address', name: 'recipient', type: 'address' },
241
+ { internalType: 'uint256', name: 'feeBips', type: 'uint256' },
242
+ { internalType: 'address', name: 'feeRecipient', type: 'address' },
243
+ ],
244
+ name: 'sweepTokenWithFee',
245
+ outputs: [],
246
+ stateMutability: 'payable',
247
+ type: 'function',
248
+ },
249
+ {
250
+ inputs: [
251
+ { internalType: 'uint256', name: 'amountMinimum', type: 'uint256' },
252
+ { internalType: 'address', name: 'recipient', type: 'address' },
253
+ ],
254
+ name: 'unwrapWNativeToken',
255
+ outputs: [],
256
+ stateMutability: 'payable',
257
+ type: 'function',
258
+ },
259
+ {
260
+ inputs: [
261
+ { internalType: 'uint256', name: 'amountMinimum', type: 'uint256' },
262
+ { internalType: 'address', name: 'recipient', type: 'address' },
263
+ { internalType: 'uint256', name: 'feeBips', type: 'uint256' },
264
+ { internalType: 'address', name: 'feeRecipient', type: 'address' },
265
+ ],
266
+ name: 'unwrapWNativeTokenWithFee',
267
+ outputs: [],
268
+ stateMutability: 'payable',
269
+ type: 'function',
270
+ },
271
+ { stateMutability: 'payable', type: 'receive' },
272
+ ];
273
+ //# sourceMappingURL=algebra-router.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"algebra-router.abi.js","sourceRoot":"","sources":["../../../../src/lib/dex/algebra/algebra-router.abi.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAQ;IACnC;QACE,MAAM,EAAE;YACN,EAAE,Y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ACN,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE;YACnE,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;SAChE;QACD,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,SAAS;QAC1B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE;YACnE,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;YAC/D,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;YAC7D,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE;SACnE;QACD,IAAI,EAAE,2BAA2B;QACjC,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,SAAS;QAC1B,IAAI,EAAE,UAAU;KACjB;IACD,EAAE,eAAe,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;CACvC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Abi } from 'viem';
2
+ export declare const slipstreamQuoterAbi: Abi;
3
+ //# sourceMappingURL=slipstream-quoter.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slipstream-quoter.abi.d.ts","sourceRoot":"","sources":["../../../../src/lib/dex/uniswapv3/slipstream-quoter.abi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAE3B,eAAO,MAAM,mBAAmB,EAAE,GAyBxB,CAAC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.slipstreamQuoterAbi = void 0;
4
+ exports.slipstreamQuoterAbi = [
5
+ {
6
+ type: 'function',
7
+ name: 'quoteExactInputSingle',
8
+ stateMutability: 'nonpayable',
9
+ inputs: [
10
+ {
11
+ name: 'params',
12
+ type: 'tuple',
13
+ components: [
14
+ { name: 'tokenIn', type: 'address' },
15
+ { name: 'tokenOut', type: 'address' },
16
+ { name: 'amountIn', type: 'uint256' }, // NOTE: amountIn comes before tickSpacing
17
+ { name: 'tickSpacing', type: 'int24' }, // <— Slipstream-specific
18
+ { name: 'sqrtPriceLimitX96', type: 'uint160' },
19
+ ],
20
+ },
21
+ ],
22
+ outputs: [
23
+ { name: 'amountOut', type: 'uint256' },
24
+ { name: 'sqrtPriceX96After', type: 'uint160' },
25
+ { name: 'initializedTicksCrossed', type: 'uint32' },
26
+ { name: 'gasEstimate', type: 'uint256' },
27
+ ],
28
+ },
29
+ ];
30
+ //# sourceMappingURL=slipstream-quoter.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slipstream-quoter.abi.js","sourceRoot":"","sources":["../../../../src/lib/dex/uniswapv3/slipstream-quoter.abi.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAQ;IACtC;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,uBAAuB;QAC7B,eAAe,EAAE,YAAY;QAC7B,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,OAAO;gBACb,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;oBACpC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,0CAA0C;oBACjF,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,yBAAyB;oBACjE,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,SAAS,EAAE;iBAC/C;aACF;SACF;QACD,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;YACtC,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,SAAS,EAAE;YAC9C,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,EAAE,QAAQ,EAAE;YACnD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE;SACzC;KACF;CACO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Abi } from 'viem';
2
+ export declare const slipstreamRouterAbi: Abi;
3
+ //# sourceMappingURL=slipstream-router.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slipstream-router.abi.d.ts","sourceRoot":"","sources":["../../../../src/lib/dex/uniswapv3/slipstream-router.abi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAE3B,eAAO,MAAM,mBAAmB,EAAE,GAwCxB,CAAC"}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.slipstreamRouterAbi = void 0;
4
+ exports.slipstreamRouterAbi = [
5
+ {
6
+ type: 'function',
7
+ name: 'exactInputSingle',
8
+ stateMutability: 'payable',
9
+ inputs: [
10
+ {
11
+ name: 'params',
12
+ type: 'tuple',
13
+ components: [
14
+ { name: 'tokenIn', type: 'address' },
15
+ { name: 'tokenOut', type: 'address' },
16
+ { name: 'tickSpacing', type: 'int24' }, // <— Slipstream-specific
17
+ { name: 'recipient', type: 'address' },
18
+ { name: 'deadline', type: 'uint256' },
19
+ { name: 'amountIn', type: 'uint256' },
20
+ { name: 'amountOutMinimum', type: 'uint256' },
21
+ { name: 'sqrtPriceLimitX96', type: 'uint160' },
22
+ ],
23
+ },
24
+ ],
25
+ outputs: [{ name: 'amountOut', type: 'uint256' }],
26
+ },
27
+ {
28
+ type: 'function',
29
+ name: 'unwrapWETH9',
30
+ stateMutability: 'payable',
31
+ inputs: [
32
+ { name: 'amountMinimum', type: 'uint256' },
33
+ { name: 'recipient', type: 'address' },
34
+ ],
35
+ outputs: [],
36
+ },
37
+ {
38
+ type: 'function',
39
+ name: 'multicall',
40
+ stateMutability: 'payable',
41
+ inputs: [{ name: 'data', type: 'bytes[]' }],
42
+ outputs: [{ name: 'results', type: 'bytes[]' }],
43
+ },
44
+ ];
45
+ //# sourceMappingURL=slipstream-router.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slipstream-router.abi.js","sourceRoot":"","sources":["../../../../src/lib/dex/uniswapv3/slipstream-router.abi.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAQ;IACtC;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,kBAAkB;QACxB,eAAe,EAAE,SAAS;QAC1B,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,OAAO;gBACb,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;oBACpC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,yBAAyB;oBACjE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;oBACtC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC7C,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,SAAS,EAAE;iBAC/C;aACF;SACF;QACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KAClD;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,aAAa;QACnB,eAAe,EAAE,SAAS;QAC1B,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE;YAC1C,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;SACvC;QACD,OAAO,EAAE,EAAE;KACZ;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,WAAW;QACjB,eAAe,EAAE,SAAS;QAC1B,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAC3C,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KAChD;CACO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Abi } from 'viem';
2
+ export declare const aerodromeFactoryAbi: Abi;
3
+ //# sourceMappingURL=aerodrome-factory.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aerodrome-factory.abi.d.ts","sourceRoot":"","sources":["../../../../src/lib/dex/ve33/aerodrome-factory.abi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAE3B,eAAO,MAAM,mBAAmB,EAAE,GAYxB,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.aerodromeFactoryAbi = void 0;
4
+ exports.aerodromeFactoryAbi = [
5
+ {
6
+ type: 'function',
7
+ name: 'getPair',
8
+ stateMutability: 'view',
9
+ inputs: [
10
+ { name: 'tokenA', type: 'address' },
11
+ { name: 'tokenB', type: 'address' },
12
+ { name: 'stable', type: 'bool' },
13
+ ],
14
+ outputs: [{ name: 'pair', type: 'address' }],
15
+ },
16
+ ];
17
+ //# sourceMappingURL=aerodrome-factory.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aerodrome-factory.abi.js","sourceRoot":"","sources":["../../../../src/lib/dex/ve33/aerodrome-factory.abi.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAQ;IACtC;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;YACnC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;YACnC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;SACjC;QACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KAC7C;CACO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Abi } from 'viem';
2
+ export declare const aerodromeRouterAbi: Abi;
3
+ //# sourceMappingURL=aerodrome-router.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aerodrome-router.abi.d.ts","sourceRoot":"","sources":["../../../../src/lib/dex/ve33/aerodrome-router.abi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAE3B,eAAO,MAAM,kBAAkB,EAAE,GAmHvB,CAAC"}
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.aerodromeRouterAbi = void 0;
4
+ exports.aerodromeRouterAbi = [
5
+ // view helpers
6
+ {
7
+ type: 'function',
8
+ name: 'weth',
9
+ stateMutability: 'view',
10
+ inputs: [],
11
+ outputs: [{ type: 'address' }],
12
+ },
13
+ {
14
+ type: 'function',
15
+ name: 'defaultFactory',
16
+ stateMutability: 'view',
17
+ inputs: [],
18
+ outputs: [{ type: 'address' }],
19
+ },
20
+ {
21
+ type: 'function',
22
+ name: 'poolFor',
23
+ stateMutability: 'view',
24
+ inputs: [
25
+ { name: 'tokenA', type: 'address' },
26
+ { name: 'tokenB', type: 'address' },
27
+ { name: 'stable', type: 'bool' },
28
+ { name: 'factory', type: 'address' },
29
+ ],
30
+ outputs: [{ name: 'pool', type: 'address' }],
31
+ },
32
+ {
33
+ // Solidly-style multi-route quote
34
+ type: 'function',
35
+ name: 'getAmountsOut',
36
+ stateMutability: 'view',
37
+ inputs: [
38
+ { name: 'amountIn', type: 'uint256' },
39
+ {
40
+ name: 'routes',
41
+ type: 'tuple[]',
42
+ components: [
43
+ { name: 'from', type: 'address' },
44
+ { name: 'to', type: 'address' },
45
+ { name: 'stable', type: 'bool' },
46
+ { name: 'factory', type: 'address' },
47
+ ],
48
+ },
49
+ ],
50
+ outputs: [{ name: 'amounts', type: 'uint256[]' }],
51
+ },
52
+ // swaps
53
+ {
54
+ type: 'function',
55
+ name: 'swapExactTokensForTokens',
56
+ stateMutability: 'nonpayable',
57
+ inputs: [
58
+ { name: 'amountIn', type: 'uint256' },
59
+ { name: 'amountOutMin', type: 'uint256' },
60
+ {
61
+ name: 'routes',
62
+ type: 'tuple[]',
63
+ components: [
64
+ { name: 'from', type: 'address' },
65
+ { name: 'to', type: 'address' },
66
+ { name: 'stable', type: 'bool' },
67
+ { name: 'factory', type: 'address' },
68
+ ],
69
+ },
70
+ { name: 'to', type: 'address' },
71
+ { name: 'deadline', type: 'uint256' },
72
+ ],
73
+ outputs: [{ type: 'uint256[]' }],
74
+ },
75
+ {
76
+ type: 'function',
77
+ name: 'swapExactETHForTokens',
78
+ stateMutability: 'payable',
79
+ inputs: [
80
+ { name: 'amountOutMin', type: 'uint256' },
81
+ {
82
+ name: 'routes',
83
+ type: 'tuple[]',
84
+ components: [
85
+ { name: 'from', type: 'address' },
86
+ { name: 'to', type: 'address' },
87
+ { name: 'stable', type: 'bool' },
88
+ { name: 'factory', type: 'address' },
89
+ ],
90
+ },
91
+ { name: 'to', type: 'address' },
92
+ { name: 'deadline', type: 'uint256' },
93
+ ],
94
+ outputs: [{ type: 'uint256[]' }],
95
+ },
96
+ {
97
+ type: 'function',
98
+ name: 'swapExactTokensForETH',
99
+ stateMutability: 'nonpayable',
100
+ inputs: [
101
+ { name: 'amountIn', type: 'uint256' },
102
+ { name: 'amountOutMin', type: 'uint256' },
103
+ {
104
+ name: 'routes',
105
+ type: 'tuple[]',
106
+ components: [
107
+ { name: 'from', type: 'address' },
108
+ { name: 'to', type: 'address' },
109
+ { name: 'stable', type: 'bool' },
110
+ { name: 'factory', type: 'address' },
111
+ ],
112
+ },
113
+ { name: 'to', type: 'address' },
114
+ { name: 'deadline', type: 'uint256' },
115
+ ],
116
+ outputs: [{ type: 'uint256[]' }],
117
+ },
118
+ ];
119
+ //# sourceMappingURL=aerodrome-router.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aerodrome-router.abi.js","sourceRoot":"","sources":["../../../../src/lib/dex/ve33/aerodrome-router.abi.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAQ;IACrC,eAAe;IACf;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,MAAM;QACZ,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KAC/B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,gBAAgB;QACtB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KAC/B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;YACnC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;YACnC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI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AAE,SAAS;gBACf,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;oBACjC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC/B,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;oBAChC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;iBACrC;aACF;YACD,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE;YAC/B,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;SACtC;QACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;KACjC;CACO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Abi } from 'viem';
2
+ export declare const blackholeRouterAbi: Abi;
3
+ //# sourceMappingURL=blackhole-router.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blackhole-router.abi.d.ts","sourceRoot":"","sources":["../../../../src/lib/dex/ve33/blackhole-router.abi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAE3B,eAAO,MAAM,kBAAkB,EAAE,GA+8CvB,CAAC"}