@paraswap/dex-lib 4.7.12 → 4.7.13-from-amount-pos.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 (215) hide show
  1. package/build/abi/PendleRouterStatic.json +19 -0
  2. package/build/abi/{MStableAsset.json → apex-defi/ApexDefiFactory.abi.json} +992 -788
  3. package/build/abi/{BProtocol.json → apex-defi/ApexDefiRouter.abi.json} +539 -574
  4. package/build/abi/apex-defi/ApexDefiToken.abi.json +229 -0
  5. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +92 -0
  6. package/build/abi/{OneInchLp.json → apex-defi/ApexDefiWrapperFactory.abi.json} +577 -774
  7. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
  8. package/build/abi/pendle/pendle-deployer.abi.json +520 -0
  9. package/build/abi/pendle/pendle-oracle.abi.json +413 -0
  10. package/build/abi/ring-v2/few-wrapped-token.json +587 -0
  11. package/build/abi/ring-v2/ring-v2-factory.json +125 -0
  12. package/build/abi/ring-v2/ring-v2-pool.json +461 -0
  13. package/build/abi/ring-v2/ring-v2-router.json +332 -0
  14. package/build/abi/stabull/stabull-curve.json +738 -0
  15. package/build/abi/stabull/stabull-router.json +76 -0
  16. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +26 -0
  17. package/build/abi/uniswap-v4/hooks/SpotHook.json +54 -0
  18. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +45 -0
  19. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +682 -0
  20. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +1335 -0
  21. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +29 -0
  22. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +153 -0
  23. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +1 -0
  24. package/build/dex/{usual-bond/usual-bond.d.ts → aave-pt-to-underlying/aave-pt-to-underlying.d.ts} +23 -18
  25. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +323 -0
  26. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +1 -0
  27. package/build/dex/aave-pt-to-underlying/config.d.ts +3 -0
  28. package/build/dex/aave-pt-to-underlying/config.js +24 -0
  29. package/build/dex/aave-pt-to-underlying/config.js.map +1 -0
  30. package/build/dex/aave-pt-to-underlying/constants.d.ts +2 -0
  31. package/build/dex/aave-pt-to-underlying/constants.js +6 -0
  32. package/build/dex/aave-pt-to-underlying/constants.js.map +1 -0
  33. package/build/dex/aave-pt-to-underlying/types.d.ts +24 -0
  34. package/build/dex/aave-pt-to-underlying/types.js.map +1 -0
  35. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +39 -0
  36. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +244 -0
  37. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
  38. package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
  39. package/build/dex/aave-pt-to-usdc/config.js +47 -0
  40. package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
  41. package/build/dex/aave-pt-to-usdc/constants.d.ts +2 -0
  42. package/build/dex/aave-pt-to-usdc/constants.js +6 -0
  43. package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
  44. package/build/dex/aave-pt-to-usdc/types.d.ts +22 -0
  45. package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
  46. package/build/dex/apex-defi/apex-defi-factory.d.ts +26 -0
  47. package/build/dex/apex-defi/apex-defi-factory.js +53 -0
  48. package/build/dex/apex-defi/apex-defi-factory.js.map +1 -0
  49. package/build/dex/apex-defi/apex-defi-pool.d.ts +55 -0
  50. package/build/dex/apex-defi/apex-defi-pool.js +247 -0
  51. package/build/dex/apex-defi/apex-defi-pool.js.map +1 -0
  52. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +57 -0
  53. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +250 -0
  54. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +1 -0
  55. package/build/dex/apex-defi/apex-defi.d.ts +97 -0
  56. package/build/dex/apex-defi/apex-defi.js +1021 -0
  57. package/build/dex/apex-defi/apex-defi.js.map +1 -0
  58. package/build/dex/apex-defi/config.d.ts +4 -0
  59. package/build/dex/apex-defi/config.js +138 -0
  60. package/build/dex/apex-defi/config.js.map +1 -0
  61. package/build/dex/apex-defi/types.d.ts +32 -0
  62. package/build/dex/apex-defi/types.js +3 -0
  63. package/build/dex/{usual-bond → apex-defi}/types.js.map +1 -1
  64. package/build/dex/apex-defi/utils.d.ts +46 -0
  65. package/build/dex/apex-defi/utils.js +133 -0
  66. package/build/dex/apex-defi/utils.js.map +1 -0
  67. package/build/dex/maker-psm/maker-psm-event-pool.d.ts +43 -0
  68. package/build/dex/maker-psm/maker-psm-event-pool.js +132 -0
  69. package/build/dex/maker-psm/maker-psm-event-pool.js.map +1 -0
  70. package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
  71. package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
  72. package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
  73. package/build/dex/{usual-bond → stabull}/config.d.ts +1 -1
  74. package/build/dex/stabull/config.js +177 -0
  75. package/build/dex/stabull/config.js.map +1 -0
  76. package/build/dex/{se-vlr/se-vlr-pool.d.ts → stabull/stabull-pool.d.ts} +13 -6
  77. package/build/dex/stabull/stabull-pool.js +113 -0
  78. package/build/dex/stabull/stabull-pool.js.map +1 -0
  79. package/build/dex/stabull/stabull.d.ts +55 -0
  80. package/build/dex/stabull/stabull.js +286 -0
  81. package/build/dex/stabull/stabull.js.map +1 -0
  82. package/build/dex/stabull/types.d.ts +21 -0
  83. package/build/dex/stabull/types.js +3 -0
  84. package/build/dex/stabull/types.js.map +1 -0
  85. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
  86. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
  87. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
  88. package/build/dex/uniswap-v4/contract-math/Position.d.ts +6 -0
  89. package/build/dex/uniswap-v4/contract-math/Position.js +29 -0
  90. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -1
  91. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
  92. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
  93. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
  94. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  95. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
  96. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
  97. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
  98. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
  99. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
  100. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  101. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
  102. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
  103. package/build/dex/uniswap-v4/hooks/index.d.ts +1 -0
  104. package/build/dex/uniswap-v4/hooks/index.js +9 -0
  105. package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
  106. package/build/dex/uniswap-v4/hooks/spot.d.ts +15 -0
  107. package/build/dex/uniswap-v4/hooks/spot.js +109 -0
  108. package/build/dex/uniswap-v4/hooks/spot.js.map +1 -0
  109. package/build/dex/uniswap-v4/hooks/template.d.ts +150 -0
  110. package/build/dex/uniswap-v4/hooks/template.js +104 -0
  111. package/build/dex/uniswap-v4/hooks/template.js.map +1 -0
  112. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
  113. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
  114. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
  115. package/build/dex/usual/usual-usdc-usdc.d.ts +17 -0
  116. package/build/dex/usual/usual-usdc-usdc.js +59 -0
  117. package/build/dex/usual/usual-usdc-usdc.js.map +1 -0
  118. package/build/dex/{se-vlr → yo}/config.d.ts +1 -1
  119. package/build/dex/yo/config.js +21 -0
  120. package/build/dex/yo/config.js.map +1 -0
  121. package/build/dex/yo/types.d.ts +13 -0
  122. package/build/dex/yo/types.js +3 -0
  123. package/build/dex/{se-vlr → yo}/types.js.map +1 -1
  124. package/build/dex/yo/yo-pool.d.ts +13 -0
  125. package/build/dex/yo/yo-pool.js +26 -0
  126. package/build/dex/yo/yo-pool.js.map +1 -0
  127. package/build/dex/yo/yo.d.ts +39 -0
  128. package/build/dex/yo/yo.js +248 -0
  129. package/build/dex/yo/yo.js.map +1 -0
  130. package/build/executor/Executor01BytecodeBuilder.js +10 -4
  131. package/build/executor/Executor01BytecodeBuilder.js.map +1 -1
  132. package/build/implementations/api-paraswap-sdk.d.ts +25 -0
  133. package/build/implementations/api-paraswap-sdk.js +102 -0
  134. package/build/implementations/api-paraswap-sdk.js.map +1 -0
  135. package/package.json +1 -1
  136. package/build/abi/Jarvis.json +0 -1172
  137. package/build/abi/Onebit.json +0 -736
  138. package/build/abi/Shell.json +0 -1294
  139. package/build/abi/TraderJoeV2Router.json +0 -50
  140. package/build/abi/wUSDM.json +0 -757
  141. package/build/abi/zrx.v2.json +0 -1967
  142. package/build/abi/zrx.v3.json +0 -3454
  143. package/build/abi/zrx.v4.json +0 -2193
  144. package/build/dex/OneInchLp.d.ts +0 -24
  145. package/build/dex/OneInchLp.js +0 -43
  146. package/build/dex/OneInchLp.js.map +0 -1
  147. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  148. package/build/dex/bProtocol/bProtocol.js +0 -56
  149. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  150. package/build/dex/bProtocol/types.d.ts +0 -11
  151. package/build/dex/bProtocol/types.js +0 -8
  152. package/build/dex/bProtocol/types.js.map +0 -1
  153. package/build/dex/jarvis.d.ts +0 -56
  154. package/build/dex/jarvis.js +0 -163
  155. package/build/dex/jarvis.js.map +0 -1
  156. package/build/dex/mStable.d.ts +0 -44
  157. package/build/dex/mStable.js +0 -75
  158. package/build/dex/mStable.js.map +0 -1
  159. package/build/dex/onebit/onebit.d.ts +0 -16
  160. package/build/dex/onebit/onebit.js +0 -61
  161. package/build/dex/onebit/onebit.js.map +0 -1
  162. package/build/dex/onebit/types.d.ts +0 -14
  163. package/build/dex/onebit/types.js +0 -8
  164. package/build/dex/onebit/types.js.map +0 -1
  165. package/build/dex/se-vlr/config.js +0 -24
  166. package/build/dex/se-vlr/config.js.map +0 -1
  167. package/build/dex/se-vlr/se-vlr-pool.js +0 -70
  168. package/build/dex/se-vlr/se-vlr-pool.js.map +0 -1
  169. package/build/dex/se-vlr/se-vlr.d.ts +0 -35
  170. package/build/dex/se-vlr/se-vlr.js +0 -131
  171. package/build/dex/se-vlr/se-vlr.js.map +0 -1
  172. package/build/dex/se-vlr/types.d.ts +0 -6
  173. package/build/dex/shell.d.ts +0 -25
  174. package/build/dex/shell.js +0 -41
  175. package/build/dex/shell.js.map +0 -1
  176. package/build/dex/trader-joe-v2.d.ts +0 -40
  177. package/build/dex/trader-joe-v2.js +0 -74
  178. package/build/dex/trader-joe-v2.js.map +0 -1
  179. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +0 -94
  180. package/build/dex/uniswap-v3/uniswap-v3-new.js +0 -923
  181. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +0 -1
  182. package/build/dex/usual-bond/config.js +0 -13
  183. package/build/dex/usual-bond/config.js.map +0 -1
  184. package/build/dex/usual-bond/types.d.ts +0 -7
  185. package/build/dex/usual-bond/usual-bond.js +0 -176
  186. package/build/dex/usual-bond/usual-bond.js.map +0 -1
  187. package/build/dex/wusdm/config.d.ts +0 -3
  188. package/build/dex/wusdm/config.js +0 -43
  189. package/build/dex/wusdm/config.js.map +0 -1
  190. package/build/dex/wusdm/constants.d.ts +0 -2
  191. package/build/dex/wusdm/constants.js +0 -6
  192. package/build/dex/wusdm/constants.js.map +0 -1
  193. package/build/dex/wusdm/types.d.ts +0 -18
  194. package/build/dex/wusdm/types.js +0 -11
  195. package/build/dex/wusdm/types.js.map +0 -1
  196. package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
  197. package/build/dex/wusdm/wusdm-pool.js +0 -74
  198. package/build/dex/wusdm/wusdm-pool.js.map +0 -1
  199. package/build/dex/wusdm/wusdm.d.ts +0 -46
  200. package/build/dex/wusdm/wusdm.js +0 -243
  201. package/build/dex/wusdm/wusdm.js.map +0 -1
  202. package/build/dex/zerox/config.d.ts +0 -2
  203. package/build/dex/zerox/config.js +0 -33
  204. package/build/dex/zerox/config.js.map +0 -1
  205. package/build/dex/zerox/index.d.ts +0 -22
  206. package/build/dex/zerox/index.js +0 -225
  207. package/build/dex/zerox/index.js.map +0 -1
  208. package/build/dex/zerox/order.d.ts +0 -88
  209. package/build/dex/zerox/order.js +0 -53
  210. package/build/dex/zerox/order.js.map +0 -1
  211. package/build/dex/zerox/types.d.ts +0 -73
  212. package/build/dex/zerox/types.js +0 -21
  213. package/build/dex/zerox/types.js.map +0 -1
  214. /package/build/dex/{se-vlr → aave-pt-to-underlying}/types.js +0 -0
  215. /package/build/dex/{usual-bond → aave-pt-to-usdc}/types.js +0 -0
@@ -0,0 +1,125 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ { "internalType": "address", "name": "_feeToSetter", "type": "address" }
5
+ ],
6
+ "payable": false,
7
+ "stateMutability": "nonpayable",
8
+ "type": "constructor"
9
+ },
10
+ {
11
+ "anonymous": false,
12
+ "inputs": [
13
+ {
14
+ "indexed": true,
15
+ "internalType": "address",
16
+ "name": "token0",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "indexed": true,
21
+ "internalType": "address",
22
+ "name": "token1",
23
+ "type": "address"
24
+ },
25
+ {
26
+ "indexed": false,
27
+ "internalType": "address",
28
+ "name": "pair",
29
+ "type": "address"
30
+ },
31
+ {
32
+ "indexed": false,
33
+ "internalType": "uint256",
34
+ "name": "",
35
+ "type": "uint256"
36
+ }
37
+ ],
38
+ "name": "PairCreated",
39
+ "type": "event"
40
+ },
41
+ {
42
+ "constant": true,
43
+ "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
44
+ "name": "allPairs",
45
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
46
+ "payable": false,
47
+ "stateMutability": "view",
48
+ "type": "function"
49
+ },
50
+ {
51
+ "constant": true,
52
+ "inputs": [],
53
+ "name": "allPairsLength",
54
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
55
+ "payable": false,
56
+ "stateMutability": "view",
57
+ "type": "function"
58
+ },
59
+ {
60
+ "constant": false,
61
+ "inputs": [
62
+ { "internalType": "address", "name": "tokenA", "type": "address" },
63
+ { "internalType": "address", "name": "tokenB", "type": "address" }
64
+ ],
65
+ "name": "createPair",
66
+ "outputs": [
67
+ { "internalType": "address", "name": "pair", "type": "address" }
68
+ ],
69
+ "payable": false,
70
+ "stateMutability": "nonpayable",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "constant": true,
75
+ "inputs": [],
76
+ "name": "feeTo",
77
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
78
+ "payable": false,
79
+ "stateMutability": "view",
80
+ "type": "function"
81
+ },
82
+ {
83
+ "constant": true,
84
+ "inputs": [],
85
+ "name": "feeToSetter",
86
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
87
+ "payable": false,
88
+ "stateMutability": "view",
89
+ "type": "function"
90
+ },
91
+ {
92
+ "constant": true,
93
+ "inputs": [
94
+ { "internalType": "address", "name": "", "type": "address" },
95
+ { "internalType": "address", "name": "", "type": "address" }
96
+ ],
97
+ "name": "getPair",
98
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
99
+ "payable": false,
100
+ "stateMutability": "view",
101
+ "type": "function"
102
+ },
103
+ {
104
+ "constant": false,
105
+ "inputs": [
106
+ { "internalType": "address", "name": "_feeTo", "type": "address" }
107
+ ],
108
+ "name": "setFeeTo",
109
+ "outputs": [],
110
+ "payable": false,
111
+ "stateMutability": "nonpayable",
112
+ "type": "function"
113
+ },
114
+ {
115
+ "constant": false,
116
+ "inputs": [
117
+ { "internalType": "address", "name": "_feeToSetter", "type": "address" }
118
+ ],
119
+ "name": "setFeeToSetter",
120
+ "outputs": [],
121
+ "payable": false,
122
+ "stateMutability": "nonpayable",
123
+ "type": "function"
124
+ }
125
+ ]
@@ -0,0 +1,461 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "payable": false,
5
+ "stateMutability": "nonpayable",
6
+ "type": "constructor"
7
+ },
8
+ {
9
+ "anonymous": false,
10
+ "inputs": [
11
+ {
12
+ "indexed": true,
13
+ "internalType": "address",
14
+ "name": "owner",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "indexed": true,
19
+ "internalType": "address",
20
+ "name": "spender",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "indexed": false,
25
+ "internalType": "uint256",
26
+ "name": "value",
27
+ "type": "uint256"
28
+ }
29
+ ],
30
+ "name": "Approval",
31
+ "type": "event"
32
+ },
33
+ {
34
+ "anonymous": false,
35
+ "inputs": [
36
+ {
37
+ "indexed": true,
38
+ "internalType": "address",
39
+ "name": "sender",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "indexed": false,
44
+ "internalType": "uint256",
45
+ "name": "amount0",
46
+ "type": "uint256"
47
+ },
48
+ {
49
+ "indexed": false,
50
+ "internalType": "uint256",
51
+ "name": "amount1",
52
+ "type": "uint256"
53
+ },
54
+ {
55
+ "indexed": true,
56
+ "internalType": "address",
57
+ "name": "to",
58
+ "type": "address"
59
+ }
60
+ ],
61
+ "name": "Burn",
62
+ "type": "event"
63
+ },
64
+ {
65
+ "anonymous": false,
66
+ "inputs": [
67
+ {
68
+ "indexed": true,
69
+ "internalType": "address",
70
+ "name": "sender",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "indexed": false,
75
+ "internalType": "uint256",
76
+ "name": "amount0",
77
+ "type": "uint256"
78
+ },
79
+ {
80
+ "indexed": false,
81
+ "internalType": "uint256",
82
+ "name": "amount1",
83
+ "type": "uint256"
84
+ }
85
+ ],
86
+ "name": "Mint",
87
+ "type": "event"
88
+ },
89
+ {
90
+ "anonymous": false,
91
+ "inputs": [
92
+ {
93
+ "indexed": true,
94
+ "internalType": "address",
95
+ "name": "sender",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "indexed": false,
100
+ "internalType": "uint256",
101
+ "name": "amount0In",
102
+ "type": "uint256"
103
+ },
104
+ {
105
+ "indexed": false,
106
+ "internalType": "uint256",
107
+ "name": "amount1In",
108
+ "type": "uint256"
109
+ },
110
+ {
111
+ "indexed": false,
112
+ "internalType": "uint256",
113
+ "name": "amount0Out",
114
+ "type": "uint256"
115
+ },
116
+ {
117
+ "indexed": false,
118
+ "internalType": "uint256",
119
+ "name": "amount1Out",
120
+ "type": "uint256"
121
+ },
122
+ {
123
+ "indexed": true,
124
+ "internalType": "address",
125
+ "name": "to",
126
+ "type": "address"
127
+ }
128
+ ],
129
+ "name": "Swap",
130
+ "type": "event"
131
+ },
132
+ {
133
+ "anonymous": false,
134
+ "inputs": [
135
+ {
136
+ "indexed": false,
137
+ "internalType": "uint112",
138
+ "name": "reserve0",
139
+ "type": "uint112"
140
+ },
141
+ {
142
+ "indexed": false,
143
+ "internalType": "uint112",
144
+ "name": "reserve1",
145
+ "type": "uint112"
146
+ }
147
+ ],
148
+ "name": "Sync",
149
+ "type": "event"
150
+ },
151
+ {
152
+ "anonymous": false,
153
+ "inputs": [
154
+ {
155
+ "indexed": true,
156
+ "internalType": "address",
157
+ "name": "from",
158
+ "type": "address"
159
+ },
160
+ {
161
+ "indexed": true,
162
+ "internalType": "address",
163
+ "name": "to",
164
+ "type": "address"
165
+ },
166
+ {
167
+ "indexed": false,
168
+ "internalType": "uint256",
169
+ "name": "value",
170
+ "type": "uint256"
171
+ }
172
+ ],
173
+ "name": "Transfer",
174
+ "type": "event"
175
+ },
176
+ {
177
+ "constant": true,
178
+ "inputs": [],
179
+ "name": "DOMAIN_SEPARATOR",
180
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
181
+ "payable": false,
182
+ "stateMutability": "view",
183
+ "type": "function"
184
+ },
185
+ {
186
+ "constant": true,
187
+ "inputs": [],
188
+ "name": "MINIMUM_LIQUIDITY",
189
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
190
+ "payable": false,
191
+ "stateMutability": "view",
192
+ "type": "function"
193
+ },
194
+ {
195
+ "constant": true,
196
+ "inputs": [],
197
+ "name": "PERMIT_TYPEHASH",
198
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
199
+ "payable": false,
200
+ "stateMutability": "view",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "constant": true,
205
+ "inputs": [
206
+ { "internalType": "address", "name": "", "type": "address" },
207
+ { "internalType": "address", "name": "", "type": "address" }
208
+ ],
209
+ "name": "allowance",
210
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
211
+ "payable": false,
212
+ "stateMutability": "view",
213
+ "type": "function"
214
+ },
215
+ {
216
+ "constant": false,
217
+ "inputs": [
218
+ { "internalType": "address", "name": "spender", "type": "address" },
219
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
220
+ ],
221
+ "name": "approve",
222
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
223
+ "payable": false,
224
+ "stateMutability": "nonpayable",
225
+ "type": "function"
226
+ },
227
+ {
228
+ "constant": true,
229
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
230
+ "name": "balanceOf",
231
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
232
+ "payable": false,
233
+ "stateMutability": "view",
234
+ "type": "function"
235
+ },
236
+ {
237
+ "constant": false,
238
+ "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
239
+ "name": "burn",
240
+ "outputs": [
241
+ { "internalType": "uint256", "name": "amount0", "type": "uint256" },
242
+ { "internalType": "uint256", "name": "amount1", "type": "uint256" }
243
+ ],
244
+ "payable": false,
245
+ "stateMutability": "nonpayable",
246
+ "type": "function"
247
+ },
248
+ {
249
+ "constant": true,
250
+ "inputs": [],
251
+ "name": "decimals",
252
+ "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
253
+ "payable": false,
254
+ "stateMutability": "view",
255
+ "type": "function"
256
+ },
257
+ {
258
+ "constant": true,
259
+ "inputs": [],
260
+ "name": "factory",
261
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
262
+ "payable": false,
263
+ "stateMutability": "view",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "constant": true,
268
+ "inputs": [],
269
+ "name": "getReserves",
270
+ "outputs": [
271
+ { "internalType": "uint112", "name": "_reserve0", "type": "uint112" },
272
+ { "internalType": "uint112", "name": "_reserve1", "type": "uint112" },
273
+ {
274
+ "internalType": "uint32",
275
+ "name": "_blockTimestampLast",
276
+ "type": "uint32"
277
+ }
278
+ ],
279
+ "payable": false,
280
+ "stateMutability": "view",
281
+ "type": "function"
282
+ },
283
+ {
284
+ "constant": false,
285
+ "inputs": [
286
+ { "internalType": "address", "name": "_token0", "type": "address" },
287
+ { "internalType": "address", "name": "_token1", "type": "address" }
288
+ ],
289
+ "name": "initialize",
290
+ "outputs": [],
291
+ "payable": false,
292
+ "stateMutability": "nonpayable",
293
+ "type": "function"
294
+ },
295
+ {
296
+ "constant": true,
297
+ "inputs": [],
298
+ "name": "kLast",
299
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
300
+ "payable": false,
301
+ "stateMutability": "view",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "constant": false,
306
+ "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
307
+ "name": "mint",
308
+ "outputs": [
309
+ { "internalType": "uint256", "name": "liquidity", "type": "uint256" }
310
+ ],
311
+ "payable": false,
312
+ "stateMutability": "nonpayable",
313
+ "type": "function"
314
+ },
315
+ {
316
+ "constant": true,
317
+ "inputs": [],
318
+ "name": "name",
319
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
320
+ "payable": false,
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "constant": true,
326
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
327
+ "name": "nonces",
328
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
329
+ "payable": false,
330
+ "stateMutability": "view",
331
+ "type": "function"
332
+ },
333
+ {
334
+ "constant": false,
335
+ "inputs": [
336
+ { "internalType": "address", "name": "owner", "type": "address" },
337
+ { "internalType": "address", "name": "spender", "type": "address" },
338
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
339
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
340
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
341
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
342
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
343
+ ],
344
+ "name": "permit",
345
+ "outputs": [],
346
+ "payable": false,
347
+ "stateMutability": "nonpayable",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "constant": true,
352
+ "inputs": [],
353
+ "name": "price0CumulativeLast",
354
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
355
+ "payable": false,
356
+ "stateMutability": "view",
357
+ "type": "function"
358
+ },
359
+ {
360
+ "constant": true,
361
+ "inputs": [],
362
+ "name": "price1CumulativeLast",
363
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
364
+ "payable": false,
365
+ "stateMutability": "view",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "constant": false,
370
+ "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
371
+ "name": "skim",
372
+ "outputs": [],
373
+ "payable": false,
374
+ "stateMutability": "nonpayable",
375
+ "type": "function"
376
+ },
377
+ {
378
+ "constant": false,
379
+ "inputs": [
380
+ { "internalType": "uint256", "name": "amount0Out", "type": "uint256" },
381
+ { "internalType": "uint256", "name": "amount1Out", "type": "uint256" },
382
+ { "internalType": "address", "name": "to", "type": "address" },
383
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
384
+ ],
385
+ "name": "swap",
386
+ "outputs": [],
387
+ "payable": false,
388
+ "stateMutability": "nonpayable",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "constant": true,
393
+ "inputs": [],
394
+ "name": "symbol",
395
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
396
+ "payable": false,
397
+ "stateMutability": "view",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "constant": false,
402
+ "inputs": [],
403
+ "name": "sync",
404
+ "outputs": [],
405
+ "payable": false,
406
+ "stateMutability": "nonpayable",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "constant": true,
411
+ "inputs": [],
412
+ "name": "token0",
413
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
414
+ "payable": false,
415
+ "stateMutability": "view",
416
+ "type": "function"
417
+ },
418
+ {
419
+ "constant": true,
420
+ "inputs": [],
421
+ "name": "token1",
422
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
423
+ "payable": false,
424
+ "stateMutability": "view",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "constant": true,
429
+ "inputs": [],
430
+ "name": "totalSupply",
431
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
432
+ "payable": false,
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "constant": false,
438
+ "inputs": [
439
+ { "internalType": "address", "name": "to", "type": "address" },
440
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
441
+ ],
442
+ "name": "transfer",
443
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
444
+ "payable": false,
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "constant": false,
450
+ "inputs": [
451
+ { "internalType": "address", "name": "from", "type": "address" },
452
+ { "internalType": "address", "name": "to", "type": "address" },
453
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
454
+ ],
455
+ "name": "transferFrom",
456
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
457
+ "payable": false,
458
+ "stateMutability": "nonpayable",
459
+ "type": "function"
460
+ }
461
+ ]