@dodoex/dodo-contract-request 1.0.0 → 1.1.1

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/.cache/contract-info/UniswapV2Factory.json +1 -0
  2. package/.cache/contract-info/UniswapV2Router02.json +1 -0
  3. package/.env.sample +1 -1
  4. package/.releaserc.json +4 -11
  5. package/CHANGELOG.md +14 -0
  6. package/contract-config/sepolia.json +6 -3
  7. package/dist/config.js +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/types/config/sepolia.d.ts +2 -0
  10. package/dist/types/contract/BuyoutModel.d.ts +19 -19
  11. package/dist/types/contract/CP.d.ts +47 -53
  12. package/dist/types/contract/CloneFactory.d.ts +1 -1
  13. package/dist/types/contract/CrowdPoolingFactory.d.ts +39 -42
  14. package/dist/types/contract/CustomERC20.d.ts +27 -27
  15. package/dist/types/contract/CustomMintableERC20.d.ts +31 -31
  16. package/dist/types/contract/D3Proxy.d.ts +26 -26
  17. package/dist/types/contract/D3Vault.d.ts +105 -144
  18. package/dist/types/contract/DODOApprove.d.ts +15 -15
  19. package/dist/types/contract/DODOApproveProxy.d.ts +17 -17
  20. package/dist/types/contract/DODOCalleeHelper.d.ts +12 -12
  21. package/dist/types/contract/DODOCirculationHelper.d.ts +12 -12
  22. package/dist/types/contract/DODOCpProxy.d.ts +13 -12
  23. package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +12 -12
  24. package/dist/types/contract/DODODppProxy.d.ts +17 -17
  25. package/dist/types/contract/DODODspProxy.d.ts +27 -27
  26. package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +17 -17
  27. package/dist/types/contract/DODOIncentive.d.ts +23 -29
  28. package/dist/types/contract/DODOMineV2Factory.d.ts +18 -18
  29. package/dist/types/contract/DODOMineV3Proxy.d.ts +19 -18
  30. package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +18 -18
  31. package/dist/types/contract/DODOMineV3Registry.d.ts +13 -13
  32. package/dist/types/contract/DODONFT.d.ts +30 -30
  33. package/dist/types/contract/DODONFT1155.d.ts +23 -23
  34. package/dist/types/contract/DODONFTApprove.d.ts +22 -22
  35. package/dist/types/contract/DODONFTPoolProxy.d.ts +41 -41
  36. package/dist/types/contract/DODONFTProxy.d.ts +28 -28
  37. package/dist/types/contract/DODONFTRegistry.d.ts +14 -17
  38. package/dist/types/contract/DODONFTRouteHelper.d.ts +2 -2
  39. package/dist/types/contract/DODOSellHelper.d.ts +2 -2
  40. package/dist/types/contract/DODOStarterProxy.d.ts +6 -6
  41. package/dist/types/contract/DODOV1.d.ts +97 -100
  42. package/dist/types/contract/DODOV1Adapter.d.ts +3 -3
  43. package/dist/types/contract/DODOV1PmmHelper.d.ts +1 -1
  44. package/dist/types/contract/DODOV1Proxy.d.ts +14 -14
  45. package/dist/types/contract/DODOV2Proxy02.d.ts +93 -93
  46. package/dist/types/contract/DODOV2RouteHelper.d.ts +4 -4
  47. package/dist/types/contract/DPPAdvanced.d.ts +50 -82
  48. package/dist/types/contract/DPPAdvancedAdmin.d.ts +25 -25
  49. package/dist/types/contract/DPPFactory.d.ts +30 -33
  50. package/dist/types/contract/DSP.d.ts +61 -93
  51. package/dist/types/contract/DSPFactory.d.ts +21 -24
  52. package/dist/types/contract/DVM.d.ts +58 -86
  53. package/dist/types/contract/DVMFactory.d.ts +21 -24
  54. package/dist/types/contract/ERC20.d.ts +15 -15
  55. package/dist/types/contract/ERC20Helper.d.ts +4 -23
  56. package/dist/types/contract/ERC20MineV3.d.ts +38 -48
  57. package/dist/types/contract/ERC20V3Factory.d.ts +33 -37
  58. package/dist/types/contract/FeeRateDIP3Impl.d.ts +25 -34
  59. package/dist/types/contract/FeeRateModel.d.ts +8 -8
  60. package/dist/types/contract/GSP.d.ts +82 -117
  61. package/dist/types/contract/GSPFactory.d.ts +23 -26
  62. package/dist/types/contract/InitializableERC20.d.ts +16 -16
  63. package/dist/types/contract/LimitOrder.d.ts +38 -38
  64. package/dist/types/contract/LimitOrderBot.d.ts +18 -18
  65. package/dist/types/contract/MulticallWithValid.d.ts +8 -8
  66. package/dist/types/contract/PermissionManager.d.ts +13 -13
  67. package/dist/types/contract/UniswapV2Factory.d.ts +62 -0
  68. package/dist/types/contract/UniswapV2Router02.d.ts +272 -0
  69. package/dist/types/contract/dodoTeam.d.ts +46 -49
  70. package/dist/types/contract/vDODOToken.d.ts +55 -67
  71. package/dist/types/contractRequests.d.ts +1 -1
  72. package/dist/types/index.d.ts +2 -0
  73. package/package.json +3 -3
  74. package/src/config/sepolia.ts +1 -1
  75. package/src/contract/BuyoutModel.ts +10 -10
  76. package/src/contract/CP.ts +5 -5
  77. package/src/contract/CrowdPoolingFactory.ts +15 -15
  78. package/src/contract/CustomERC20.ts +11 -11
  79. package/src/contract/CustomMintableERC20.ts +15 -15
  80. package/src/contract/D3Proxy.ts +20 -20
  81. package/src/contract/D3Vault.ts +31 -31
  82. package/src/contract/DODOApprove.ts +2 -2
  83. package/src/contract/DODOApproveProxy.ts +2 -2
  84. package/src/contract/DODOCalleeHelper.ts +11 -11
  85. package/src/contract/DODOCpProxy.ts +13 -12
  86. package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +9 -9
  87. package/src/contract/DODODppProxy.ts +14 -14
  88. package/src/contract/DODODspProxy.ts +23 -23
  89. package/src/contract/DODODspProxyWithoutGSP.ts +14 -14
  90. package/src/contract/DODOIncentive.ts +6 -6
  91. package/src/contract/DODOMineV2Factory.ts +4 -4
  92. package/src/contract/DODOMineV3Proxy.ts +12 -11
  93. package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +8 -8
  94. package/src/contract/DODONFT.ts +10 -10
  95. package/src/contract/DODONFT1155.ts +11 -11
  96. package/src/contract/DODONFTApprove.ts +8 -8
  97. package/src/contract/DODONFTPoolProxy.ts +24 -24
  98. package/src/contract/DODONFTProxy.ts +6 -6
  99. package/src/contract/DODOStarterProxy.ts +4 -4
  100. package/src/contract/DODOV1.ts +41 -41
  101. package/src/contract/DODOV1Proxy.ts +10 -10
  102. package/src/contract/DODOV2Proxy02.ts +75 -75
  103. package/src/contract/DPPAdvanced.ts +17 -17
  104. package/src/contract/DPPAdvancedAdmin.ts +12 -12
  105. package/src/contract/DPPFactory.ts +4 -4
  106. package/src/contract/DSP.ts +22 -22
  107. package/src/contract/DSPFactory.ts +4 -4
  108. package/src/contract/DVM.ts +22 -22
  109. package/src/contract/DVMFactory.ts +4 -4
  110. package/src/contract/ERC20.ts +8 -8
  111. package/src/contract/ERC20MineV3.ts +19 -19
  112. package/src/contract/ERC20V3Factory.ts +15 -15
  113. package/src/contract/FeeRateDIP3Impl.ts +8 -8
  114. package/src/contract/GSP.ts +34 -34
  115. package/src/contract/GSPFactory.ts +6 -6
  116. package/src/contract/InitializableERC20.ts +9 -9
  117. package/src/contract/LimitOrder.ts +9 -9
  118. package/src/contract/LimitOrderBot.ts +5 -5
  119. package/src/contract/UniswapV2Factory.ts +122 -0
  120. package/src/contract/UniswapV2Router02.ts +373 -0
  121. package/src/contract/dodoTeam.ts +24 -24
  122. package/src/contract/vDODOToken.ts +18 -18
  123. package/src/index.ts +2 -0
@@ -4,21 +4,21 @@
4
4
  * @param {string} __to - string
5
5
  * @returns {string} __output0 - address
6
6
  */
7
- export declare function fetchPermissionManager_NEW_OWNER_(chainId: number, __to: string): Promise<string>;
7
+ export declare function fetchPermissionManager_NEW_OWNER_(chainId: number, __to: string): any;
8
8
  /**
9
9
  * fetch _OWNER_
10
10
  * @param {number} chainId - number
11
11
  * @param {string} __to - string
12
12
  * @returns {string} __output0 - address
13
13
  */
14
- export declare function fetchPermissionManager_OWNER_(chainId: number, __to: string): Promise<string>;
14
+ export declare function fetchPermissionManager_OWNER_(chainId: number, __to: string): any;
15
15
  /**
16
16
  * fetch _WHITELIST_MODE_ON_
17
17
  * @param {number} chainId - number
18
18
  * @param {string} __to - string
19
19
  * @returns {boolean} __output0 - bool
20
20
  */
21
- export declare function fetchPermissionManager_WHITELIST_MODE_ON_(chainId: number, __to: string): Promise<boolean>;
21
+ export declare function fetchPermissionManager_WHITELIST_MODE_ON_(chainId: number, __to: string): any;
22
22
  /**
23
23
  * fetch isAllowed
24
24
  * @param {number} chainId - number
@@ -26,58 +26,58 @@ export declare function fetchPermissionManager_WHITELIST_MODE_ON_(chainId: numbe
26
26
  * @param {string} account - address
27
27
  * @returns {boolean} __output0 - bool
28
28
  */
29
- export declare function fetchPermissionManagerIsAllowed(chainId: number, __to: string, account: string): Promise<boolean>;
29
+ export declare function fetchPermissionManagerIsAllowed(chainId: number, __to: string, account: string): any;
30
30
  /**
31
31
  * encode addToBlacklist
32
32
  * @param {string} account - address
33
33
  * @returns {string} encode data
34
34
  */
35
- export declare function encodePermissionManagerAddToBlacklist(account: string): string;
35
+ export declare function encodePermissionManagerAddToBlacklist(account: string): any;
36
36
  /**
37
37
  * encode addToWhitelist
38
38
  * @param {string} account - address
39
39
  * @returns {string} encode data
40
40
  */
41
- export declare function encodePermissionManagerAddToWhitelist(account: string): string;
41
+ export declare function encodePermissionManagerAddToWhitelist(account: string): any;
42
42
  /**
43
43
  * encode claimOwnership
44
44
 
45
45
  * @returns {string} encode data
46
46
  */
47
- export declare function encodePermissionManagerClaimOwnership(): string;
47
+ export declare function encodePermissionManagerClaimOwnership(): any;
48
48
  /**
49
49
  * encode initOwner
50
50
  * @param {string} newOwner - address
51
51
  * @returns {string} encode data
52
52
  */
53
- export declare function encodePermissionManagerInitOwner(newOwner: string): string;
53
+ export declare function encodePermissionManagerInitOwner(newOwner: string): any;
54
54
  /**
55
55
  * encode openBlacklistMode
56
56
 
57
57
  * @returns {string} encode data
58
58
  */
59
- export declare function encodePermissionManagerOpenBlacklistMode(): string;
59
+ export declare function encodePermissionManagerOpenBlacklistMode(): any;
60
60
  /**
61
61
  * encode openWhitelistMode
62
62
 
63
63
  * @returns {string} encode data
64
64
  */
65
- export declare function encodePermissionManagerOpenWhitelistMode(): string;
65
+ export declare function encodePermissionManagerOpenWhitelistMode(): any;
66
66
  /**
67
67
  * encode removeFromBlacklist
68
68
  * @param {string} account - address
69
69
  * @returns {string} encode data
70
70
  */
71
- export declare function encodePermissionManagerRemoveFromBlacklist(account: string): string;
71
+ export declare function encodePermissionManagerRemoveFromBlacklist(account: string): any;
72
72
  /**
73
73
  * encode removeFromWhitelist
74
74
  * @param {string} account - address
75
75
  * @returns {string} encode data
76
76
  */
77
- export declare function encodePermissionManagerRemoveFromWhitelist(account: string): string;
77
+ export declare function encodePermissionManagerRemoveFromWhitelist(account: string): any;
78
78
  /**
79
79
  * encode transferOwnership
80
80
  * @param {string} newOwner - address
81
81
  * @returns {string} encode data
82
82
  */
83
- export declare function encodePermissionManagerTransferOwnership(newOwner: string): string;
83
+ export declare function encodePermissionManagerTransferOwnership(newOwner: string): any;
@@ -0,0 +1,62 @@
1
+ export declare function getUniswapV2FactoryContractAddressByChainId(chainId: number): string;
2
+ /**
3
+ * fetch allPairs
4
+ * @param {number} chainId - number
5
+ * @param {number} __input1 - uint256
6
+ * @returns {string} __output0 - address
7
+ */
8
+ export declare function fetchUniswapV2FactoryAllPairs(chainId: number, __input1: number): any;
9
+ /**
10
+ * fetch allPairsLength
11
+ * @param {number} chainId - number
12
+ * @returns {bigint} __output0 - uint256
13
+ */
14
+ export declare function fetchUniswapV2FactoryAllPairsLength(chainId: number): any;
15
+ /**
16
+ * fetch feeTo
17
+ * @param {number} chainId - number
18
+ * @returns {string} __output0 - address
19
+ */
20
+ export declare function fetchUniswapV2FactoryFeeTo(chainId: number): any;
21
+ /**
22
+ * fetch feeToSetter
23
+ * @param {number} chainId - number
24
+ * @returns {string} __output0 - address
25
+ */
26
+ export declare function fetchUniswapV2FactoryFeeToSetter(chainId: number): any;
27
+ /**
28
+ * fetch getPair
29
+ * @param {number} chainId - number
30
+ * @param {string} __input1 - address
31
+ * @param {string} __input2 - address
32
+ * @param {number} __input3 - uint256
33
+ * @returns {string} __output0 - address
34
+ */
35
+ export declare function fetchUniswapV2FactoryGetPair(chainId: number, __input1: string, __input2: string, __input3: number): any;
36
+ /**
37
+ * encode createPair
38
+ * @param {string} tokenA - address
39
+ * @param {string} tokenB - address
40
+ * @param {string} feeRate - uint256
41
+ * @returns {string} encode data
42
+ */
43
+ export declare function encodeUniswapV2FactoryCreatePair(tokenA: string, tokenB: string, feeRate: string): any;
44
+ /**
45
+ * encode setFeeTo
46
+ * @param {string} _feeTo - address
47
+ * @returns {string} encode data
48
+ */
49
+ export declare function encodeUniswapV2FactorySetFeeTo(_feeTo: string): any;
50
+ /**
51
+ * encode setFeeToSetter
52
+ * @param {string} _feeToSetter - address
53
+ * @returns {string} encode data
54
+ */
55
+ export declare function encodeUniswapV2FactorySetFeeToSetter(_feeToSetter: string): any;
56
+ /**
57
+ * encode setLpMtRatio
58
+ * @param {string} pool - address
59
+ * @param {string} ratio - uint256
60
+ * @returns {string} encode data
61
+ */
62
+ export declare function encodeUniswapV2FactorySetLpMtRatio(pool: string, ratio: string): any;
@@ -0,0 +1,272 @@
1
+ export declare function getUniswapV2Router02ContractAddressByChainId(chainId: number): string;
2
+ /**
3
+ * fetch WETH
4
+ * @param {number} chainId - number
5
+ * @returns {string} __output0 - address
6
+ */
7
+ export declare function fetchUniswapV2Router02WETH(chainId: number): any;
8
+ /**
9
+ * fetch factory
10
+ * @param {number} chainId - number
11
+ * @returns {string} __output0 - address
12
+ */
13
+ export declare function fetchUniswapV2Router02Factory(chainId: number): any;
14
+ /**
15
+ * fetch getAmountIn
16
+ * @param {number} chainId - number
17
+ * @param {number} amountOut - uint256
18
+ * @param {number} reserveIn - uint256
19
+ * @param {number} reserveOut - uint256
20
+ * @param {number} fee - uint256
21
+ * @returns {bigint} amountIn - uint256
22
+ */
23
+ export declare function fetchUniswapV2Router02GetAmountIn(chainId: number, amountOut: number, reserveIn: number, reserveOut: number, fee: number): any;
24
+ /**
25
+ * fetch getAmountOut
26
+ * @param {number} chainId - number
27
+ * @param {number} amountIn - uint256
28
+ * @param {number} reserveIn - uint256
29
+ * @param {number} reserveOut - uint256
30
+ * @param {number} fee - uint256
31
+ * @returns {bigint} amountOut - uint256
32
+ */
33
+ export declare function fetchUniswapV2Router02GetAmountOut(chainId: number, amountIn: number, reserveIn: number, reserveOut: number, fee: number): any;
34
+ /**
35
+ * fetch getAmountsIn
36
+ * @param {number} chainId - number
37
+ * @param {number} amountOut - uint256
38
+ * @param {Array<string>} path - address[]
39
+ * @param {Array<number>} fees - uint256[]
40
+ * @returns {Array<bigint>} amounts - uint256[]
41
+ */
42
+ export declare function fetchUniswapV2Router02GetAmountsIn(chainId: number, amountOut: number, path: Array<string>, fees: Array<number>): any;
43
+ /**
44
+ * fetch getAmountsOut
45
+ * @param {number} chainId - number
46
+ * @param {number} amountIn - uint256
47
+ * @param {Array<string>} path - address[]
48
+ * @param {Array<number>} fees - uint256[]
49
+ * @returns {Array<bigint>} amounts - uint256[]
50
+ */
51
+ export declare function fetchUniswapV2Router02GetAmountsOut(chainId: number, amountIn: number, path: Array<string>, fees: Array<number>): any;
52
+ /**
53
+ * fetch quote
54
+ * @param {number} chainId - number
55
+ * @param {number} amountA - uint256
56
+ * @param {number} reserveA - uint256
57
+ * @param {number} reserveB - uint256
58
+ * @returns {bigint} amountB - uint256
59
+ */
60
+ export declare function fetchUniswapV2Router02Quote(chainId: number, amountA: number, reserveA: number, reserveB: number): any;
61
+ /**
62
+ * encode addLiquidity
63
+ * @param {string} tokenA - address
64
+ * @param {string} tokenB - address
65
+ * @param {string} fee - uint256
66
+ * @param {string} amountADesired - uint256
67
+ * @param {string} amountBDesired - uint256
68
+ * @param {string} amountAMin - uint256
69
+ * @param {string} amountBMin - uint256
70
+ * @param {string} to - address
71
+ * @param {string} deadline - uint256
72
+ * @returns {string} encode data
73
+ */
74
+ export declare function encodeUniswapV2Router02AddLiquidity(tokenA: string, tokenB: string, fee: string, amountADesired: string, amountBDesired: string, amountAMin: string, amountBMin: string, to: string, deadline: string): any;
75
+ /**
76
+ * encode addLiquidityETH
77
+ * @param {string} token - address
78
+ * @param {string} fee - uint256
79
+ * @param {string} amountTokenDesired - uint256
80
+ * @param {string} amountTokenMin - uint256
81
+ * @param {string} amountETHMin - uint256
82
+ * @param {string} to - address
83
+ * @param {string} deadline - uint256
84
+ * @returns {string} encode data
85
+ */
86
+ export declare function encodeUniswapV2Router02AddLiquidityETH(token: string, fee: string, amountTokenDesired: string, amountTokenMin: string, amountETHMin: string, to: string, deadline: string): any;
87
+ /**
88
+ * encode removeLiquidity
89
+ * @param {string} tokenA - address
90
+ * @param {string} tokenB - address
91
+ * @param {string} fee - uint256
92
+ * @param {string} liquidity - uint256
93
+ * @param {string} amountAMin - uint256
94
+ * @param {string} amountBMin - uint256
95
+ * @param {string} to - address
96
+ * @param {string} deadline - uint256
97
+ * @returns {string} encode data
98
+ */
99
+ export declare function encodeUniswapV2Router02RemoveLiquidity(tokenA: string, tokenB: string, fee: string, liquidity: string, amountAMin: string, amountBMin: string, to: string, deadline: string): any;
100
+ /**
101
+ * encode removeLiquidityETH
102
+ * @param {string} token - address
103
+ * @param {string} fee - uint256
104
+ * @param {string} liquidity - uint256
105
+ * @param {string} amountTokenMin - uint256
106
+ * @param {string} amountETHMin - uint256
107
+ * @param {string} to - address
108
+ * @param {string} deadline - uint256
109
+ * @returns {string} encode data
110
+ */
111
+ export declare function encodeUniswapV2Router02RemoveLiquidityETH(token: string, fee: string, liquidity: string, amountTokenMin: string, amountETHMin: string, to: string, deadline: string): any;
112
+ /**
113
+ * encode removeLiquidityETHSupportingFeeOnTransferTokens
114
+ * @param {string} token - address
115
+ * @param {string} fee - uint256
116
+ * @param {string} liquidity - uint256
117
+ * @param {string} amountTokenMin - uint256
118
+ * @param {string} amountETHMin - uint256
119
+ * @param {string} to - address
120
+ * @param {string} deadline - uint256
121
+ * @returns {string} encode data
122
+ */
123
+ export declare function encodeUniswapV2Router02RemoveLiquidityETHSupportingFeeOnTransferTokens(token: string, fee: string, liquidity: string, amountTokenMin: string, amountETHMin: string, to: string, deadline: string): any;
124
+ /**
125
+ * encode removeLiquidityETHWithPermit
126
+ * @param {{token: string; fee: string; liquidity: string; amountTokenMin: string; amountETHMin: string; to: string; deadline: string; approveMax: boolean; v: string; r: string; s: string}} params - tuple
127
+ * @returns {string} encode data
128
+ */
129
+ export declare function encodeUniswapV2Router02RemoveLiquidityETHWithPermit(params: {
130
+ token: string;
131
+ fee: string;
132
+ liquidity: string;
133
+ amountTokenMin: string;
134
+ amountETHMin: string;
135
+ to: string;
136
+ deadline: string;
137
+ approveMax: boolean;
138
+ v: string;
139
+ r: string;
140
+ s: string;
141
+ }): any;
142
+ /**
143
+ * encode removeLiquidityETHWithPermitSupportingFeeOnTransferTokens
144
+ * @param {string} token - address
145
+ * @param {string} fee - uint256
146
+ * @param {string} liquidity - uint256
147
+ * @param {string} amountTokenMin - uint256
148
+ * @param {string} amountETHMin - uint256
149
+ * @param {string} to - address
150
+ * @param {string} deadline - uint256
151
+ * @param {boolean} approveMax - bool
152
+ * @param {string} v - uint8
153
+ * @param {string} r - bytes32
154
+ * @param {string} s - bytes32
155
+ * @returns {string} encode data
156
+ */
157
+ export declare function encodeUniswapV2Router02RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token: string, fee: string, liquidity: string, amountTokenMin: string, amountETHMin: string, to: string, deadline: string, approveMax: boolean, v: string, r: string, s: string): any;
158
+ /**
159
+ * encode removeLiquidityWithPermit
160
+ * @param {{tokenA: string; tokenB: string; fee: string; liquidity: string; amountAMin: string; amountBMin: string; to: string; deadline: string; approveMax: boolean; v: string; r: string; s: string}} params - tuple
161
+ * @returns {string} encode data
162
+ */
163
+ export declare function encodeUniswapV2Router02RemoveLiquidityWithPermit(params: {
164
+ tokenA: string;
165
+ tokenB: string;
166
+ fee: string;
167
+ liquidity: string;
168
+ amountAMin: string;
169
+ amountBMin: string;
170
+ to: string;
171
+ deadline: string;
172
+ approveMax: boolean;
173
+ v: string;
174
+ r: string;
175
+ s: string;
176
+ }): any;
177
+ /**
178
+ * encode swapETHForExactTokens
179
+ * @param {string} amountOut - uint256
180
+ * @param {Array<string>} path - address[]
181
+ * @param {Array<string>} fees - uint256[]
182
+ * @param {string} to - address
183
+ * @param {string} deadline - uint256
184
+ * @returns {string} encode data
185
+ */
186
+ export declare function encodeUniswapV2Router02SwapETHForExactTokens(amountOut: string, path: Array<string>, fees: Array<string>, to: string, deadline: string): any;
187
+ /**
188
+ * encode swapExactETHForTokens
189
+ * @param {string} amountOutMin - uint256
190
+ * @param {Array<string>} path - address[]
191
+ * @param {Array<string>} fees - uint256[]
192
+ * @param {string} to - address
193
+ * @param {string} deadline - uint256
194
+ * @returns {string} encode data
195
+ */
196
+ export declare function encodeUniswapV2Router02SwapExactETHForTokens(amountOutMin: string, path: Array<string>, fees: Array<string>, to: string, deadline: string): any;
197
+ /**
198
+ * encode swapExactETHForTokensSupportingFeeOnTransferTokens
199
+ * @param {string} amountOutMin - uint256
200
+ * @param {Array<string>} path - address[]
201
+ * @param {Array<string>} fees - uint256[]
202
+ * @param {string} to - address
203
+ * @param {string} deadline - uint256
204
+ * @returns {string} encode data
205
+ */
206
+ export declare function encodeUniswapV2Router02SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin: string, path: Array<string>, fees: Array<string>, to: string, deadline: string): any;
207
+ /**
208
+ * encode swapExactTokensForETH
209
+ * @param {string} amountIn - uint256
210
+ * @param {string} amountOutMin - uint256
211
+ * @param {Array<string>} path - address[]
212
+ * @param {Array<string>} fees - uint256[]
213
+ * @param {string} to - address
214
+ * @param {string} deadline - uint256
215
+ * @returns {string} encode data
216
+ */
217
+ export declare function encodeUniswapV2Router02SwapExactTokensForETH(amountIn: string, amountOutMin: string, path: Array<string>, fees: Array<string>, to: string, deadline: string): any;
218
+ /**
219
+ * encode swapExactTokensForETHSupportingFeeOnTransferTokens
220
+ * @param {string} amountIn - uint256
221
+ * @param {string} amountOutMin - uint256
222
+ * @param {Array<string>} path - address[]
223
+ * @param {Array<string>} fees - uint256[]
224
+ * @param {string} to - address
225
+ * @param {string} deadline - uint256
226
+ * @returns {string} encode data
227
+ */
228
+ export declare function encodeUniswapV2Router02SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn: string, amountOutMin: string, path: Array<string>, fees: Array<string>, to: string, deadline: string): any;
229
+ /**
230
+ * encode swapExactTokensForTokens
231
+ * @param {string} amountIn - uint256
232
+ * @param {string} amountOutMin - uint256
233
+ * @param {Array<string>} path - address[]
234
+ * @param {Array<string>} fees - uint256[]
235
+ * @param {string} to - address
236
+ * @param {string} deadline - uint256
237
+ * @returns {string} encode data
238
+ */
239
+ export declare function encodeUniswapV2Router02SwapExactTokensForTokens(amountIn: string, amountOutMin: string, path: Array<string>, fees: Array<string>, to: string, deadline: string): any;
240
+ /**
241
+ * encode swapExactTokensForTokensSupportingFeeOnTransferTokens
242
+ * @param {string} amountIn - uint256
243
+ * @param {string} amountOutMin - uint256
244
+ * @param {Array<string>} path - address[]
245
+ * @param {Array<string>} fees - uint256[]
246
+ * @param {string} to - address
247
+ * @param {string} deadline - uint256
248
+ * @returns {string} encode data
249
+ */
250
+ export declare function encodeUniswapV2Router02SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn: string, amountOutMin: string, path: Array<string>, fees: Array<string>, to: string, deadline: string): any;
251
+ /**
252
+ * encode swapTokensForExactETH
253
+ * @param {string} amountOut - uint256
254
+ * @param {string} amountInMax - uint256
255
+ * @param {Array<string>} path - address[]
256
+ * @param {Array<string>} fees - uint256[]
257
+ * @param {string} to - address
258
+ * @param {string} deadline - uint256
259
+ * @returns {string} encode data
260
+ */
261
+ export declare function encodeUniswapV2Router02SwapTokensForExactETH(amountOut: string, amountInMax: string, path: Array<string>, fees: Array<string>, to: string, deadline: string): any;
262
+ /**
263
+ * encode swapTokensForExactTokens
264
+ * @param {string} amountOut - uint256
265
+ * @param {string} amountInMax - uint256
266
+ * @param {Array<string>} path - address[]
267
+ * @param {Array<string>} fees - uint256[]
268
+ * @param {string} to - address
269
+ * @param {string} deadline - uint256
270
+ * @returns {string} encode data
271
+ */
272
+ export declare function encodeUniswapV2Router02SwapTokensForExactTokens(amountOut: string, amountInMax: string, path: Array<string>, fees: Array<string>, to: string, deadline: string): any;