genius-intents 0.10.2-develop.1 → 0.11.1-develop.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/CHANGELOG.md +48 -0
- package/README.md +115 -4
- package/dist/genius-intents.d.ts.map +1 -1
- package/dist/genius-intents.js +5 -0
- package/dist/genius-intents.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/uniswapV2/avax-uniswapv2-router.abi.d.ts +3 -0
- package/dist/lib/uniswapV2/avax-uniswapv2-router.abi.d.ts.map +1 -0
- package/dist/lib/uniswapV2/avax-uniswapv2-router.abi.js +344 -0
- package/dist/lib/uniswapV2/avax-uniswapv2-router.abi.js.map +1 -0
- package/dist/lib/uniswapV2/uniswapV2-factory.abi.d.ts +3 -0
- package/dist/lib/uniswapV2/uniswapV2-factory.abi.d.ts.map +1 -0
- package/dist/lib/uniswapV2/uniswapV2-factory.abi.js +101 -0
- package/dist/lib/uniswapV2/uniswapV2-factory.abi.js.map +1 -0
- package/dist/lib/uniswapV2/uniswapV2-pair.abi.d.ts +3 -0
- package/dist/lib/uniswapV2/uniswapV2-pair.abi.d.ts.map +1 -0
- package/dist/lib/uniswapV2/uniswapV2-pair.abi.js +711 -0
- package/dist/lib/uniswapV2/uniswapV2-pair.abi.js.map +1 -0
- package/dist/lib/uniswapV2/uniswapV2-router.abi.d.ts +3 -0
- package/dist/lib/uniswapV2/uniswapV2-router.abi.d.ts.map +1 -0
- package/dist/lib/uniswapV2/uniswapV2-router.abi.js +344 -0
- package/dist/lib/uniswapV2/uniswapV2-router.abi.js.map +1 -0
- package/dist/protocols/across/across.service.d.ts.map +1 -1
- package/dist/protocols/across/across.service.js +4 -6
- package/dist/protocols/across/across.service.js.map +1 -1
- package/dist/protocols/aftermath/aftermath.service.d.ts +46 -2
- package/dist/protocols/aftermath/aftermath.service.d.ts.map +1 -1
- package/dist/protocols/aftermath/aftermath.service.js +43 -7
- package/dist/protocols/aftermath/aftermath.service.js.map +1 -1
- package/dist/protocols/debridge/debridge.service.d.ts +43 -3
- package/dist/protocols/debridge/debridge.service.d.ts.map +1 -1
- package/dist/protocols/debridge/debridge.service.js +111 -30
- package/dist/protocols/debridge/debridge.service.js.map +1 -1
- package/dist/protocols/debridge/debridge.types.d.ts +25 -0
- package/dist/protocols/debridge/debridge.types.d.ts.map +1 -1
- package/dist/protocols/four-meme/four-meme.service.d.ts +107 -0
- package/dist/protocols/four-meme/four-meme.service.d.ts.map +1 -0
- package/dist/protocols/four-meme/four-meme.service.js +419 -0
- package/dist/protocols/four-meme/four-meme.service.js.map +1 -0
- package/dist/protocols/four-meme/four-meme.types.d.ts +41 -0
- package/dist/protocols/four-meme/four-meme.types.d.ts.map +1 -0
- package/dist/protocols/four-meme/four-meme.types.js +3 -0
- package/dist/protocols/four-meme/four-meme.types.js.map +1 -0
- package/dist/protocols/four-meme/index.d.ts +3 -0
- package/dist/protocols/four-meme/index.d.ts.map +1 -0
- package/dist/protocols/four-meme/index.js +6 -0
- package/dist/protocols/four-meme/index.js.map +1 -0
- package/dist/protocols/genius-bridge/genius-bridge.service.d.ts +16 -1
- package/dist/protocols/genius-bridge/genius-bridge.service.d.ts.map +1 -1
- package/dist/protocols/genius-bridge/genius-bridge.service.js +20 -8
- package/dist/protocols/genius-bridge/genius-bridge.service.js.map +1 -1
- package/dist/protocols/genius-bridge/genius-bridge.types.d.ts +0 -54
- package/dist/protocols/genius-bridge/genius-bridge.types.d.ts.map +1 -1
- package/dist/protocols/genius-bridge/index.d.ts +1 -1
- package/dist/protocols/genius-bridge/index.d.ts.map +1 -1
- package/dist/protocols/jupiter/jupiter.service.d.ts +41 -1
- package/dist/protocols/jupiter/jupiter.service.d.ts.map +1 -1
- package/dist/protocols/jupiter/jupiter.service.js +54 -23
- package/dist/protocols/jupiter/jupiter.service.js.map +1 -1
- package/dist/protocols/kyberswap/kyberswap.service.d.ts +95 -5
- package/dist/protocols/kyberswap/kyberswap.service.d.ts.map +1 -1
- package/dist/protocols/kyberswap/kyberswap.service.js +111 -23
- package/dist/protocols/kyberswap/kyberswap.service.js.map +1 -1
- package/dist/protocols/odos/odos.service.d.ts +59 -4
- package/dist/protocols/odos/odos.service.d.ts.map +1 -1
- package/dist/protocols/odos/odos.service.js +66 -9
- package/dist/protocols/odos/odos.service.js.map +1 -1
- package/dist/protocols/okx/okx.service.d.ts +148 -16
- package/dist/protocols/okx/okx.service.d.ts.map +1 -1
- package/dist/protocols/okx/okx.service.js +482 -74
- package/dist/protocols/okx/okx.service.js.map +1 -1
- package/dist/protocols/okx/okx.types.d.ts +65 -1
- package/dist/protocols/okx/okx.types.d.ts.map +1 -1
- package/dist/protocols/openocean/openocean.service.d.ts +26 -1
- package/dist/protocols/openocean/openocean.service.d.ts.map +1 -1
- package/dist/protocols/openocean/openocean.service.js +59 -26
- package/dist/protocols/openocean/openocean.service.js.map +1 -1
- package/dist/protocols/raydium/raydium-v2.service.d.ts +124 -5
- package/dist/protocols/raydium/raydium-v2.service.d.ts.map +1 -1
- package/dist/protocols/raydium/raydium-v2.service.js +136 -22
- package/dist/protocols/raydium/raydium-v2.service.js.map +1 -1
- package/dist/protocols/v2-dex/index.d.ts +3 -0
- package/dist/protocols/v2-dex/index.d.ts.map +1 -0
- package/dist/protocols/v2-dex/index.js +6 -0
- package/dist/protocols/v2-dex/index.js.map +1 -0
- package/dist/protocols/v2-dex/v2-dex.service.d.ts +76 -0
- package/dist/protocols/v2-dex/v2-dex.service.d.ts.map +1 -0
- package/dist/protocols/v2-dex/v2-dex.service.js +759 -0
- package/dist/protocols/v2-dex/v2-dex.service.js.map +1 -0
- package/dist/protocols/v2-dex/v2-dex.types.d.ts +295 -0
- package/dist/protocols/v2-dex/v2-dex.types.d.ts.map +1 -0
- package/dist/protocols/v2-dex/v2-dex.types.js +13 -0
- package/dist/protocols/v2-dex/v2-dex.types.js.map +1 -0
- package/dist/protocols/zeroX/zeroX.service.d.ts +100 -5
- package/dist/protocols/zeroX/zeroX.service.d.ts.map +1 -1
- package/dist/protocols/zeroX/zeroX.service.js +143 -24
- package/dist/protocols/zeroX/zeroX.service.js.map +1 -1
- package/dist/protocols/zeroX/zeroX.types.d.ts +13 -2
- package/dist/protocols/zeroX/zeroX.types.d.ts.map +1 -1
- package/dist/types/enums.d.ts +6 -2
- package/dist/types/enums.d.ts.map +1 -1
- package/dist/types/enums.js +5 -1
- package/dist/types/enums.js.map +1 -1
- package/dist/types/price-response.d.ts +3 -1
- package/dist/types/price-response.d.ts.map +1 -1
- package/dist/types/quote-response.d.ts +4 -2
- package/dist/types/quote-response.d.ts.map +1 -1
- package/dist/utils/create-error-message.d.ts +7 -3
- package/dist/utils/create-error-message.d.ts.map +1 -1
- package/dist/utils/create-error-message.js +64 -31
- package/dist/utils/create-error-message.js.map +1 -1
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +8 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/throw-error.d.ts +25 -1
- package/dist/utils/throw-error.d.ts.map +1 -1
- package/dist/utils/throw-error.js +62 -4
- package/dist/utils/throw-error.js.map +1 -1
- package/package.json +62 -2
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.avaxUniswapV2RouterAbi = void 0;
|
|
4
|
+
exports.avaxUniswapV2RouterAbi = [
|
|
5
|
+
{
|
|
6
|
+
inputs: [
|
|
7
|
+
{ internalType: 'address', name: '_factory', type: 'address' },
|
|
8
|
+
{ internalType: 'address', name: '_WAVAX', type: 'address' },
|
|
9
|
+
],
|
|
10
|
+
stateMutability: 'nonpayable',
|
|
11
|
+
type: 'constructor',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: 'WAVAX',
|
|
16
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
17
|
+
stateMutability: 'view',
|
|
18
|
+
type: 'function',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
inputs: [
|
|
22
|
+
{ internalType: 'address', name: 'tokenA', type: 'address' },
|
|
23
|
+
{ internalType: 'address', name: 'tokenB', type: 'address' },
|
|
24
|
+
{ internalType: 'uint256', name: 'amountADesired', type: 'uint256' },
|
|
25
|
+
{ internalType: 'uint256', name: 'amountBDesired', type: 'uint256' },
|
|
26
|
+
{ internalType: 'uint256', name: 'amountAMin', type: 'uint256' },
|
|
27
|
+
{ internalType: 'uint256', name: 'amountBMin', type: 'uint256' },
|
|
28
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
29
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
30
|
+
],
|
|
31
|
+
name: 'addLiquidity',
|
|
32
|
+
outputs: [
|
|
33
|
+
{ internalType: 'uint256', name: 'amountA', type: 'uint256' },
|
|
34
|
+
{ internalType: 'uint256', name: 'amountB', type: 'uint256' },
|
|
35
|
+
{ internalType: 'uint256', name: 'liquidity', type: 'uint256' },
|
|
36
|
+
],
|
|
37
|
+
stateMutability: 'nonpayable',
|
|
38
|
+
type: 'function',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
inputs: [
|
|
42
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
43
|
+
{ internalType: 'uint256', name: 'amountTokenDesired', type: 'uint256' },
|
|
44
|
+
{ internalType: 'uint256', name: 'amountTokenMin', type: 'uint256' },
|
|
45
|
+
{ internalType: 'uint256', name: 'amountAVAXMin', type: 'uint256' },
|
|
46
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
47
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
48
|
+
],
|
|
49
|
+
name: 'addLiquidityAVAX',
|
|
50
|
+
outputs: [
|
|
51
|
+
{ internalType: 'uint256', name: 'amountToken', type: 'uint256' },
|
|
52
|
+
{ internalType: 'uint256', name: 'amountAVAX', type: 'uint256' },
|
|
53
|
+
{ internalType: 'uint256', name: 'liquidity', type: 'uint256' },
|
|
54
|
+
],
|
|
55
|
+
stateMutability: 'payable',
|
|
56
|
+
type: 'function',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
inputs: [],
|
|
60
|
+
name: 'factory',
|
|
61
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
62
|
+
stateMutability: 'view',
|
|
63
|
+
type: 'function',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
inputs: [
|
|
67
|
+
{ internalType: 'uint256', name: 'amountOut', type: 'uint256' },
|
|
68
|
+
{ internalType: 'uint256', name: 'reserveIn', type: 'uint256' },
|
|
69
|
+
{ internalType: 'uint256', name: 'reserveOut', type: 'uint256' },
|
|
70
|
+
],
|
|
71
|
+
name: 'getAmountIn',
|
|
72
|
+
outputs: [{ internalType: 'uint256', name: 'amountIn', type: 'uint256' }],
|
|
73
|
+
stateMutability: 'pure',
|
|
74
|
+
type: 'function',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [
|
|
78
|
+
{ internalType: 'uint256', name: 'amountIn', type: 'uint256' },
|
|
79
|
+
{ internalType: 'uint256', name: 'reserveIn', type: 'uint256' },
|
|
80
|
+
{ internalType: 'uint256', name: 'reserveOut', type: 'uint256' },
|
|
81
|
+
],
|
|
82
|
+
name: 'getAmountOut',
|
|
83
|
+
outputs: [{ internalType: 'uint256', name: 'amountOut', type: 'uint256' }],
|
|
84
|
+
stateMutability: 'pure',
|
|
85
|
+
type: 'function',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
inputs: [
|
|
89
|
+
{ internalType: 'uint256', name: 'amountOut', type: 'uint256' },
|
|
90
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
91
|
+
],
|
|
92
|
+
name: 'getAmountsIn',
|
|
93
|
+
outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }],
|
|
94
|
+
stateMutability: 'view',
|
|
95
|
+
type: 'function',
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
inputs: [
|
|
99
|
+
{ internalType: 'uint256', name: 'amountIn', type: 'uint256' },
|
|
100
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
101
|
+
],
|
|
102
|
+
name: 'getAmountsOut',
|
|
103
|
+
outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }],
|
|
104
|
+
stateMutability: 'view',
|
|
105
|
+
type: 'function',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
inputs: [
|
|
109
|
+
{ internalType: 'uint256', name: 'amountA', type: 'uint256' },
|
|
110
|
+
{ internalType: 'uint256', name: 'reserveA', type: 'uint256' },
|
|
111
|
+
{ internalType: 'uint256', name: 'reserveB', type: 'uint256' },
|
|
112
|
+
],
|
|
113
|
+
name: 'quote',
|
|
114
|
+
outputs: [{ internalType: 'uint256', name: 'amountB', type: 'uint256' }],
|
|
115
|
+
stateMutability: 'pure',
|
|
116
|
+
type: 'function',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
inputs: [
|
|
120
|
+
{ internalType: 'address', name: 'tokenA', type: 'address' },
|
|
121
|
+
{ internalType: 'address', name: 'tokenB', type: 'address' },
|
|
122
|
+
{ internalType: 'uint256', name: 'liquidity', type: 'uint256' },
|
|
123
|
+
{ internalType: 'uint256', name: 'amountAMin', type: 'uint256' },
|
|
124
|
+
{ internalType: 'uint256', name: 'amountBMin', type: 'uint256' },
|
|
125
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
126
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
127
|
+
],
|
|
128
|
+
name: 'removeLiquidity',
|
|
129
|
+
outputs: [
|
|
130
|
+
{ internalType: 'uint256', name: 'amountA', type: 'uint256' },
|
|
131
|
+
{ internalType: 'uint256', name: 'amountB', type: 'uint256' },
|
|
132
|
+
],
|
|
133
|
+
stateMutability: 'nonpayable',
|
|
134
|
+
type: 'function',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
inputs: [
|
|
138
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
139
|
+
{ internalType: 'uint256', name: 'liquidity', type: 'uint256' },
|
|
140
|
+
{ internalType: 'uint256', name: 'amountTokenMin', type: 'uint256' },
|
|
141
|
+
{ internalType: 'uint256', name: 'amountAVAXMin', type: 'uint256' },
|
|
142
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
143
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
144
|
+
],
|
|
145
|
+
name: 'removeLiquidityAVAX',
|
|
146
|
+
outputs: [
|
|
147
|
+
{ internalType: 'uint256', name: 'amountToken', type: 'uint256' },
|
|
148
|
+
{ internalType: 'uint256', name: 'amountAVAX', type: 'uint256' },
|
|
149
|
+
],
|
|
150
|
+
stateMutability: 'nonpayable',
|
|
151
|
+
type: 'function',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [
|
|
155
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
156
|
+
{ internalType: 'uint256', name: 'liquidity', type: 'uint256' },
|
|
157
|
+
{ internalType: 'uint256', name: 'amountTokenMin', type: 'uint256' },
|
|
158
|
+
{ internalType: 'uint256', name: 'amountAVAXMin', type: 'uint256' },
|
|
159
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
160
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
161
|
+
],
|
|
162
|
+
name: 'removeLiquidityAVAXSupportingFeeOnTransferTokens',
|
|
163
|
+
outputs: [{ internalType: 'uint256', name: 'amountAVAX', type: 'uint256' }],
|
|
164
|
+
stateMutability: 'nonpayable',
|
|
165
|
+
type: 'function',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
inputs: [
|
|
169
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
170
|
+
{ internalType: 'uint256', name: 'liquidity', type: 'uint256' },
|
|
171
|
+
{ internalType: 'uint256', name: 'amountTokenMin', type: 'uint256' },
|
|
172
|
+
{ internalType: 'uint256', name: 'amountAVAXMin', type: 'uint256' },
|
|
173
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
174
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
175
|
+
{ internalType: 'bool', name: 'approveMax', type: 'bool' },
|
|
176
|
+
{ internalType: 'uint8', name: 'v', type: 'uint8' },
|
|
177
|
+
{ internalType: 'bytes32', name: 'r', type: 'bytes32' },
|
|
178
|
+
{ internalType: 'bytes32', name: 's', type: 'bytes32' },
|
|
179
|
+
],
|
|
180
|
+
name: 'removeLiquidityAVAXWithPermit',
|
|
181
|
+
outputs: [
|
|
182
|
+
{ internalType: 'uint256', name: 'amountToken', type: 'uint256' },
|
|
183
|
+
{ internalType: 'uint256', name: 'amountAVAX', type: 'uint256' },
|
|
184
|
+
],
|
|
185
|
+
stateMutability: 'nonpayable',
|
|
186
|
+
type: 'function',
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
inputs: [
|
|
190
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
191
|
+
{ internalType: 'uint256', name: 'liquidity', type: 'uint256' },
|
|
192
|
+
{ internalType: 'uint256', name: 'amountTokenMin', type: 'uint256' },
|
|
193
|
+
{ internalType: 'uint256', name: 'amountAVAXMin', type: 'uint256' },
|
|
194
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
195
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
196
|
+
{ internalType: 'bool', name: 'approveMax', type: 'bool' },
|
|
197
|
+
{ internalType: 'uint8', name: 'v', type: 'uint8' },
|
|
198
|
+
{ internalType: 'bytes32', name: 'r', type: 'bytes32' },
|
|
199
|
+
{ internalType: 'bytes32', name: 's', type: 'bytes32' },
|
|
200
|
+
],
|
|
201
|
+
name: 'removeLiquidityAVAXWithPermitSupportingFeeOnTransferTokens',
|
|
202
|
+
outputs: [{ internalType: 'uint256', name: 'amountAVAX', type: 'uint256' }],
|
|
203
|
+
stateMutability: 'nonpayable',
|
|
204
|
+
type: 'function',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
inputs: [
|
|
208
|
+
{ internalType: 'address', name: 'tokenA', type: 'address' },
|
|
209
|
+
{ internalType: 'address', name: 'tokenB', type: 'address' },
|
|
210
|
+
{ internalType: 'uint256', name: 'liquidity', type: 'uint256' },
|
|
211
|
+
{ internalType: 'uint256', name: 'amountAMin', type: 'uint256' },
|
|
212
|
+
{ internalType: 'uint256', name: 'amountBMin', type: 'uint256' },
|
|
213
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
214
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
215
|
+
{ internalType: 'bool', name: 'approveMax', type: 'bool' },
|
|
216
|
+
{ internalType: 'uint8', name: 'v', type: 'uint8' },
|
|
217
|
+
{ internalType: 'bytes32', name: 'r', type: 'bytes32' },
|
|
218
|
+
{ internalType: 'bytes32', name: 's', type: 'bytes32' },
|
|
219
|
+
],
|
|
220
|
+
name: 'removeLiquidityWithPermit',
|
|
221
|
+
outputs: [
|
|
222
|
+
{ internalType: 'uint256', name: 'amountA', type: 'uint256' },
|
|
223
|
+
{ internalType: 'uint256', name: 'amountB', type: 'uint256' },
|
|
224
|
+
],
|
|
225
|
+
stateMutability: 'nonpayable',
|
|
226
|
+
type: 'function',
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
inputs: [
|
|
230
|
+
{ internalType: 'uint256', name: 'amountOut', type: 'uint256' },
|
|
231
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
232
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
233
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
234
|
+
],
|
|
235
|
+
name: 'swapAVAXForExactTokens',
|
|
236
|
+
outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }],
|
|
237
|
+
stateMutability: 'payable',
|
|
238
|
+
type: 'function',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
inputs: [
|
|
242
|
+
{ internalType: 'uint256', name: 'amountOutMin', type: 'uint256' },
|
|
243
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
244
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
245
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
246
|
+
],
|
|
247
|
+
name: 'swapExactAVAXForTokens',
|
|
248
|
+
outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }],
|
|
249
|
+
stateMutability: 'payable',
|
|
250
|
+
type: 'function',
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
inputs: [
|
|
254
|
+
{ internalType: 'uint256', name: 'amountOutMin', type: 'uint256' },
|
|
255
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
256
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
257
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
258
|
+
],
|
|
259
|
+
name: 'swapExactAVAXForTokensSupportingFeeOnTransferTokens',
|
|
260
|
+
outputs: [],
|
|
261
|
+
stateMutability: 'payable',
|
|
262
|
+
type: 'function',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
inputs: [
|
|
266
|
+
{ internalType: 'uint256', name: 'amountIn', type: 'uint256' },
|
|
267
|
+
{ internalType: 'uint256', name: 'amountOutMin', type: 'uint256' },
|
|
268
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
269
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
270
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
271
|
+
],
|
|
272
|
+
name: 'swapExactTokensForAVAX',
|
|
273
|
+
outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }],
|
|
274
|
+
stateMutability: 'nonpayable',
|
|
275
|
+
type: 'function',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
inputs: [
|
|
279
|
+
{ internalType: 'uint256', name: 'amountIn', type: 'uint256' },
|
|
280
|
+
{ internalType: 'uint256', name: 'amountOutMin', type: 'uint256' },
|
|
281
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
282
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
283
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
284
|
+
],
|
|
285
|
+
name: 'swapExactTokensForAVAXSupportingFeeOnTransferTokens',
|
|
286
|
+
outputs: [],
|
|
287
|
+
stateMutability: 'nonpayable',
|
|
288
|
+
type: 'function',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
inputs: [
|
|
292
|
+
{ internalType: 'uint256', name: 'amountIn', type: 'uint256' },
|
|
293
|
+
{ internalType: 'uint256', name: 'amountOutMin', type: 'uint256' },
|
|
294
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
295
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
296
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
297
|
+
],
|
|
298
|
+
name: 'swapExactTokensForTokens',
|
|
299
|
+
outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }],
|
|
300
|
+
stateMutability: 'nonpayable',
|
|
301
|
+
type: 'function',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
inputs: [
|
|
305
|
+
{ internalType: 'uint256', name: 'amountIn', type: 'uint256' },
|
|
306
|
+
{ internalType: 'uint256', name: 'amountOutMin', type: 'uint256' },
|
|
307
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
308
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
309
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
310
|
+
],
|
|
311
|
+
name: 'swapExactTokensForTokensSupportingFeeOnTransferTokens',
|
|
312
|
+
outputs: [],
|
|
313
|
+
stateMutability: 'nonpayable',
|
|
314
|
+
type: 'function',
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
inputs: [
|
|
318
|
+
{ internalType: 'uint256', name: 'amountOut', type: 'uint256' },
|
|
319
|
+
{ internalType: 'uint256', name: 'amountInMax', type: 'uint256' },
|
|
320
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
321
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
322
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
323
|
+
],
|
|
324
|
+
name: 'swapTokensForExactAVAX',
|
|
325
|
+
outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }],
|
|
326
|
+
stateMutability: 'nonpayable',
|
|
327
|
+
type: 'function',
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
inputs: [
|
|
331
|
+
{ internalType: 'uint256', name: 'amountOut', type: 'uint256' },
|
|
332
|
+
{ internalType: 'uint256', name: 'amountInMax', type: 'uint256' },
|
|
333
|
+
{ internalType: 'address[]', name: 'path', type: 'address[]' },
|
|
334
|
+
{ internalType: 'address', name: 'to', type: 'address' },
|
|
335
|
+
{ internalType: 'uint256', name: 'deadline', type: 'uint256' },
|
|
336
|
+
],
|
|
337
|
+
name: 'swapTokensForExactTokens',
|
|
338
|
+
outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }],
|
|
339
|
+
stateMutability: 'nonpayable',
|
|
340
|
+
type: 'function',
|
|
341
|
+
},
|
|
342
|
+
{ stateMutability: 'payable', type: 'receive' },
|
|
343
|
+
];
|
|
344
|
+
//# sourceMappingURL=avax-uniswapv2-router.abi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avax-uniswapv2-router.abi.js","sourceRoot":"","sources":["../../../src/lib/uniswapV2/avax-uniswapv2-router.abi.ts"],"names":[],"mappings":";;;AAEa,Q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AE,SAAS,EAAE;CACvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uniswapV2-factory.abi.d.ts","sourceRoot":"","sources":["../../../src/lib/uniswapV2/uniswapV2-factory.abi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAE3B,eAAO,MAAM,mBAAmB,EAAE,GAgGxB,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.uniswapV2FactoryAbi = void 0;
|
|
4
|
+
exports.uniswapV2FactoryAbi = [
|
|
5
|
+
{
|
|
6
|
+
inputs: [{ internalType: 'address', name: '_feeToSetter', type: 'address' }],
|
|
7
|
+
payable: false,
|
|
8
|
+
stateMutability: 'nonpayable',
|
|
9
|
+
type: 'constructor',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
anonymous: false,
|
|
13
|
+
inputs: [
|
|
14
|
+
{ indexed: true, internalType: 'address', name: 'token0', type: 'address' },
|
|
15
|
+
{ indexed: true, internalType: 'address', name: 'token1', type: 'address' },
|
|
16
|
+
{ indexed: false, internalType: 'address', name: 'pair', type: 'address' },
|
|
17
|
+
{ indexed: false, internalType: 'uint256', name: '', type: 'uint256' },
|
|
18
|
+
],
|
|
19
|
+
name: 'PairCreated',
|
|
20
|
+
type: 'event',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
constant: true,
|
|
24
|
+
inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
25
|
+
name: 'allPairs',
|
|
26
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
27
|
+
payable: false,
|
|
28
|
+
stateMutability: 'view',
|
|
29
|
+
type: 'function',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
constant: true,
|
|
33
|
+
inputs: [],
|
|
34
|
+
name: 'allPairsLength',
|
|
35
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
36
|
+
payable: false,
|
|
37
|
+
stateMutability: 'view',
|
|
38
|
+
type: 'function',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
constant: false,
|
|
42
|
+
inputs: [
|
|
43
|
+
{ internalType: 'address', name: 'tokenA', type: 'address' },
|
|
44
|
+
{ internalType: 'address', name: 'tokenB', type: 'address' },
|
|
45
|
+
],
|
|
46
|
+
name: 'createPair',
|
|
47
|
+
outputs: [{ internalType: 'address', name: 'pair', type: 'address' }],
|
|
48
|
+
payable: false,
|
|
49
|
+
stateMutability: 'nonpayable',
|
|
50
|
+
type: 'function',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
constant: true,
|
|
54
|
+
inputs: [],
|
|
55
|
+
name: 'feeTo',
|
|
56
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
57
|
+
payable: false,
|
|
58
|
+
stateMutability: 'view',
|
|
59
|
+
type: 'function',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
constant: true,
|
|
63
|
+
inputs: [],
|
|
64
|
+
name: 'feeToSetter',
|
|
65
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
66
|
+
payable: false,
|
|
67
|
+
stateMutability: 'view',
|
|
68
|
+
type: 'function',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
constant: true,
|
|
72
|
+
inputs: [
|
|
73
|
+
{ internalType: 'address', name: '', type: 'address' },
|
|
74
|
+
{ internalType: 'address', name: '', type: 'address' },
|
|
75
|
+
],
|
|
76
|
+
name: 'getPair',
|
|
77
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
78
|
+
payable: false,
|
|
79
|
+
stateMutability: 'view',
|
|
80
|
+
type: 'function',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
constant: false,
|
|
84
|
+
inputs: [{ internalType: 'address', name: '_feeTo', type: 'address' }],
|
|
85
|
+
name: 'setFeeTo',
|
|
86
|
+
outputs: [],
|
|
87
|
+
payable: false,
|
|
88
|
+
stateMutability: 'nonpayable',
|
|
89
|
+
type: 'function',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
constant: false,
|
|
93
|
+
inputs: [{ internalType: 'address', name: '_feeToSetter', type: 'address' }],
|
|
94
|
+
name: 'setFeeToSetter',
|
|
95
|
+
outputs: [],
|
|
96
|
+
payable: false,
|
|
97
|
+
stateMutability: 'nonpayable',
|
|
98
|
+
type: 'function',
|
|
99
|
+
},
|
|
100
|
+
];
|
|
101
|
+
//# sourceMappingURL=uniswapV2-factory.abi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uniswapV2-factory.abi.js","sourceRoot":"","sources":["../../../src/lib/uniswapV2/uniswapV2-factory.abi.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAQ;IACtC;QACE,MAAM,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAC5E,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3E,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3E,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;YAC1E,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SA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