@paraswap/dex-lib 2.42.22 → 2.42.23

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 (225) hide show
  1. package/build/abi/hashflow/HashflowRouter.abi.json +816 -246
  2. package/build/abi/kyberswap-elastic/IAntiSnipAttackPositionManager.json +1276 -0
  3. package/build/abi/kyberswap-elastic/IFactory.json +550 -0
  4. package/build/abi/kyberswap-elastic/IPool.json +1042 -0
  5. package/build/abi/kyberswap-elastic/IQuoterV2.json +226 -0
  6. package/build/abi/kyberswap-elastic/IRouter.json +239 -0
  7. package/build/abi/kyberswap-elastic/TicksFeesReader.json +142 -0
  8. package/build/abi/wombat/asset.json +769 -0
  9. package/build/abi/wombat/bmw.json +1247 -0
  10. package/build/abi/wombat/pool.json +1364 -0
  11. package/build/config.js +14 -14
  12. package/build/dex/baseswap-v3/baseswap-v3-factory.d.ts +26 -0
  13. package/build/dex/baseswap-v3/baseswap-v3-factory.js +44 -0
  14. package/build/dex/baseswap-v3/baseswap-v3-factory.js.map +1 -0
  15. package/build/dex/baseswap-v3/baseswap-v3-pool.d.ts +46 -0
  16. package/build/dex/baseswap-v3/baseswap-v3-pool.js +312 -0
  17. package/build/dex/baseswap-v3/baseswap-v3-pool.js.map +1 -0
  18. package/build/dex/baseswap-v3/baseswap-v3.d.ts +71 -0
  19. package/build/dex/baseswap-v3/baseswap-v3.js +752 -0
  20. package/build/dex/baseswap-v3/baseswap-v3.js.map +1 -0
  21. package/build/dex/baseswap-v3/config.d.ts +9 -0
  22. package/build/dex/baseswap-v3/config.js +48 -0
  23. package/build/dex/baseswap-v3/config.js.map +1 -0
  24. package/build/dex/baseswap-v3/constants.d.ts +28 -0
  25. package/build/dex/baseswap-v3/constants.js +35 -0
  26. package/build/dex/baseswap-v3/constants.js.map +1 -0
  27. package/build/dex/baseswap-v3/contract-math/BitMath.d.ts +4 -0
  28. package/build/dex/baseswap-v3/contract-math/BitMath.js +93 -0
  29. package/build/dex/baseswap-v3/contract-math/BitMath.js.map +1 -0
  30. package/build/dex/baseswap-v3/contract-math/FixedPoint128.d.ts +3 -0
  31. package/build/dex/baseswap-v3/contract-math/FixedPoint128.js +8 -0
  32. package/build/dex/baseswap-v3/contract-math/FixedPoint128.js.map +1 -0
  33. package/build/dex/baseswap-v3/contract-math/FixedPoint96.d.ts +4 -0
  34. package/build/dex/baseswap-v3/contract-math/FixedPoint96.js +9 -0
  35. package/build/dex/baseswap-v3/contract-math/FixedPoint96.js.map +1 -0
  36. package/build/dex/baseswap-v3/contract-math/FullMath.d.ts +4 -0
  37. package/build/dex/baseswap-v3/contract-math/FullMath.js +19 -0
  38. package/build/dex/baseswap-v3/contract-math/FullMath.js.map +1 -0
  39. package/build/dex/baseswap-v3/contract-math/LiquidityMath.d.ts +3 -0
  40. package/build/dex/baseswap-v3/contract-math/LiquidityMath.js +22 -0
  41. package/build/dex/baseswap-v3/contract-math/LiquidityMath.js.map +1 -0
  42. package/build/dex/baseswap-v3/contract-math/Oracle.d.ts +10 -0
  43. package/build/dex/baseswap-v3/contract-math/Oracle.js +133 -0
  44. package/build/dex/baseswap-v3/contract-math/Oracle.js.map +1 -0
  45. package/build/dex/baseswap-v3/contract-math/SqrtPriceMath.d.ts +10 -0
  46. package/build/dex/baseswap-v3/contract-math/SqrtPriceMath.js +91 -0
  47. package/build/dex/baseswap-v3/contract-math/SqrtPriceMath.js.map +1 -0
  48. package/build/dex/baseswap-v3/contract-math/SwapMath.d.ts +8 -0
  49. package/build/dex/baseswap-v3/contract-math/SwapMath.js +70 -0
  50. package/build/dex/baseswap-v3/contract-math/SwapMath.js.map +1 -0
  51. package/build/dex/baseswap-v3/contract-math/Tick.d.ts +7 -0
  52. package/build/dex/baseswap-v3/contract-math/Tick.js +45 -0
  53. package/build/dex/baseswap-v3/contract-math/Tick.js.map +1 -0
  54. package/build/dex/baseswap-v3/contract-math/TickBitMap.d.ts +7 -0
  55. package/build/dex/baseswap-v3/contract-math/TickBitMap.js +84 -0
  56. package/build/dex/baseswap-v3/contract-math/TickBitMap.js.map +1 -0
  57. package/build/dex/baseswap-v3/contract-math/TickMath.d.ts +8 -0
  58. package/build/dex/baseswap-v3/contract-math/TickMath.js +162 -0
  59. package/build/dex/baseswap-v3/contract-math/TickMath.js.map +1 -0
  60. package/build/dex/baseswap-v3/contract-math/UnsafeMath.d.ts +3 -0
  61. package/build/dex/baseswap-v3/contract-math/UnsafeMath.js +10 -0
  62. package/build/dex/baseswap-v3/contract-math/UnsafeMath.js.map +1 -0
  63. package/build/dex/baseswap-v3/contract-math/uniswap-v3-math.d.ts +37 -0
  64. package/build/dex/baseswap-v3/contract-math/uniswap-v3-math.js +393 -0
  65. package/build/dex/baseswap-v3/contract-math/uniswap-v3-math.js.map +1 -0
  66. package/build/dex/baseswap-v3/contract-math/utils.d.ts +7 -0
  67. package/build/dex/baseswap-v3/contract-math/utils.js +42 -0
  68. package/build/dex/baseswap-v3/contract-math/utils.js.map +1 -0
  69. package/build/dex/baseswap-v3/types.d.ts +164 -0
  70. package/build/dex/baseswap-v3/types.js +9 -0
  71. package/build/dex/baseswap-v3/types.js.map +1 -0
  72. package/build/dex/baseswap-v3/utils.d.ts +6 -0
  73. package/build/dex/baseswap-v3/utils.js +65 -0
  74. package/build/dex/baseswap-v3/utils.js.map +1 -0
  75. package/build/dex/hashflow/config.d.ts +1 -1
  76. package/build/dex/hashflow/config.js +6 -6
  77. package/build/dex/hashflow/config.js.map +1 -1
  78. package/build/dex/hashflow/hashflow.d.ts +7 -7
  79. package/build/dex/hashflow/hashflow.js +47 -54
  80. package/build/dex/hashflow/hashflow.js.map +1 -1
  81. package/build/dex/hashflow/rate-fetcher.d.ts +1 -1
  82. package/build/dex/hashflow/rate-fetcher.js +2 -4
  83. package/build/dex/hashflow/rate-fetcher.js.map +1 -1
  84. package/build/dex/hashflow/types.d.ts +5 -6
  85. package/build/dex/hashflow/types.js.map +1 -1
  86. package/build/dex/hashflow/validators.js +11 -4
  87. package/build/dex/hashflow/validators.js.map +1 -1
  88. package/build/dex/hello/config.d.ts +4 -0
  89. package/build/dex/hello/config.js +15 -0
  90. package/build/dex/hello/config.js.map +1 -0
  91. package/build/dex/hello/hello-pool.d.ts +39 -0
  92. package/build/dex/hello/hello-pool.js +64 -0
  93. package/build/dex/hello/hello-pool.js.map +1 -0
  94. package/build/dex/hello/hello.d.ts +37 -0
  95. package/build/dex/hello/hello.js +126 -0
  96. package/build/dex/hello/hello.js.map +1 -0
  97. package/build/dex/hello/types.d.ts +6 -0
  98. package/build/dex/hello/types.js +3 -0
  99. package/build/dex/hello/types.js.map +1 -0
  100. package/build/dex/kyberswap-elastic/config.d.ts +4 -0
  101. package/build/dex/kyberswap-elastic/config.js +80 -0
  102. package/build/dex/kyberswap-elastic/config.js.map +1 -0
  103. package/build/dex/kyberswap-elastic/constants.d.ts +17 -0
  104. package/build/dex/kyberswap-elastic/constants.js +42 -0
  105. package/build/dex/kyberswap-elastic/constants.js.map +1 -0
  106. package/build/dex/kyberswap-elastic/contract-math/FixedPoint96.d.ts +4 -0
  107. package/build/dex/kyberswap-elastic/contract-math/FixedPoint96.js +9 -0
  108. package/build/dex/kyberswap-elastic/contract-math/FixedPoint96.js.map +1 -0
  109. package/build/dex/kyberswap-elastic/contract-math/FullMath.d.ts +5 -0
  110. package/build/dex/kyberswap-elastic/contract-math/FullMath.js +22 -0
  111. package/build/dex/kyberswap-elastic/contract-math/FullMath.js.map +1 -0
  112. package/build/dex/kyberswap-elastic/contract-math/LiqDeltaMath.d.ts +3 -0
  113. package/build/dex/kyberswap-elastic/contract-math/LiqDeltaMath.js +12 -0
  114. package/build/dex/kyberswap-elastic/contract-math/LiqDeltaMath.js.map +1 -0
  115. package/build/dex/kyberswap-elastic/contract-math/LiquidityMath.d.ts +3 -0
  116. package/build/dex/kyberswap-elastic/contract-math/LiquidityMath.js +22 -0
  117. package/build/dex/kyberswap-elastic/contract-math/LiquidityMath.js.map +1 -0
  118. package/build/dex/kyberswap-elastic/contract-math/QtyDeltaMath.d.ts +5 -0
  119. package/build/dex/kyberswap-elastic/contract-math/QtyDeltaMath.js +25 -0
  120. package/build/dex/kyberswap-elastic/contract-math/QtyDeltaMath.js.map +1 -0
  121. package/build/dex/kyberswap-elastic/contract-math/QuadMath.d.ts +4 -0
  122. package/build/dex/kyberswap-elastic/contract-math/QuadMath.js +27 -0
  123. package/build/dex/kyberswap-elastic/contract-math/QuadMath.js.map +1 -0
  124. package/build/dex/kyberswap-elastic/contract-math/ReinvestmentMath.d.ts +3 -0
  125. package/build/dex/kyberswap-elastic/contract-math/ReinvestmentMath.js +14 -0
  126. package/build/dex/kyberswap-elastic/contract-math/ReinvestmentMath.js.map +1 -0
  127. package/build/dex/kyberswap-elastic/contract-math/SafeCast.d.ts +8 -0
  128. package/build/dex/kyberswap-elastic/contract-math/SafeCast.js +30 -0
  129. package/build/dex/kyberswap-elastic/contract-math/SafeCast.js.map +1 -0
  130. package/build/dex/kyberswap-elastic/contract-math/SqrtPriceMath.d.ts +10 -0
  131. package/build/dex/kyberswap-elastic/contract-math/SqrtPriceMath.js +91 -0
  132. package/build/dex/kyberswap-elastic/contract-math/SqrtPriceMath.js.map +1 -0
  133. package/build/dex/kyberswap-elastic/contract-math/SwapMath.d.ts +13 -0
  134. package/build/dex/kyberswap-elastic/contract-math/SwapMath.js +188 -0
  135. package/build/dex/kyberswap-elastic/contract-math/SwapMath.js.map +1 -0
  136. package/build/dex/kyberswap-elastic/contract-math/TickLinkedList.d.ts +6 -0
  137. package/build/dex/kyberswap-elastic/contract-math/TickLinkedList.js +41 -0
  138. package/build/dex/kyberswap-elastic/contract-math/TickLinkedList.js.map +1 -0
  139. package/build/dex/kyberswap-elastic/contract-math/TickMath.d.ts +9 -0
  140. package/build/dex/kyberswap-elastic/contract-math/TickMath.js +165 -0
  141. package/build/dex/kyberswap-elastic/contract-math/TickMath.js.map +1 -0
  142. package/build/dex/kyberswap-elastic/contract-math/UnsafeMath.d.ts +3 -0
  143. package/build/dex/kyberswap-elastic/contract-math/UnsafeMath.js +10 -0
  144. package/build/dex/kyberswap-elastic/contract-math/UnsafeMath.js.map +1 -0
  145. package/build/dex/kyberswap-elastic/contract-math/kyberswap-elastic-math.d.ts +28 -0
  146. package/build/dex/kyberswap-elastic/contract-math/kyberswap-elastic-math.js +502 -0
  147. package/build/dex/kyberswap-elastic/contract-math/kyberswap-elastic-math.js.map +1 -0
  148. package/build/dex/kyberswap-elastic/contract-math/utils.d.ts +3 -0
  149. package/build/dex/kyberswap-elastic/contract-math/utils.js +16 -0
  150. package/build/dex/kyberswap-elastic/contract-math/utils.js.map +1 -0
  151. package/build/dex/kyberswap-elastic/errors.d.ts +2 -0
  152. package/build/dex/kyberswap-elastic/errors.js +6 -0
  153. package/build/dex/kyberswap-elastic/errors.js.map +1 -0
  154. package/build/dex/kyberswap-elastic/kyberswap-elastic-pool.d.ts +80 -0
  155. package/build/dex/kyberswap-elastic/kyberswap-elastic-pool.js +458 -0
  156. package/build/dex/kyberswap-elastic/kyberswap-elastic-pool.js.map +1 -0
  157. package/build/dex/kyberswap-elastic/kyberswap-elastic.d.ts +53 -0
  158. package/build/dex/kyberswap-elastic/kyberswap-elastic.js +610 -0
  159. package/build/dex/kyberswap-elastic/kyberswap-elastic.js.map +1 -0
  160. package/build/dex/kyberswap-elastic/types.d.ts +134 -0
  161. package/build/dex/kyberswap-elastic/types.js +9 -0
  162. package/build/dex/kyberswap-elastic/types.js.map +1 -0
  163. package/build/dex/kyberswap-elastic/utils/decoders.d.ts +9 -0
  164. package/build/dex/kyberswap-elastic/utils/decoders.js +78 -0
  165. package/build/dex/kyberswap-elastic/utils/decoders.js.map +1 -0
  166. package/build/dex/morphex/config.d.ts +11 -0
  167. package/build/dex/morphex/config.js +43 -0
  168. package/build/dex/morphex/config.js.map +1 -0
  169. package/build/dex/morphex/morphex.d.ts +25 -0
  170. package/build/dex/morphex/morphex.js +19 -0
  171. package/build/dex/morphex/morphex.js.map +1 -0
  172. package/build/dex/my-test-dex/config.d.ts +4 -0
  173. package/build/dex/my-test-dex/config.js +15 -0
  174. package/build/dex/my-test-dex/config.js.map +1 -0
  175. package/build/dex/my-test-dex/my-test-dex-pool.d.ts +39 -0
  176. package/build/dex/my-test-dex/my-test-dex-pool.js +64 -0
  177. package/build/dex/my-test-dex/my-test-dex-pool.js.map +1 -0
  178. package/build/dex/my-test-dex/my-test-dex.d.ts +37 -0
  179. package/build/dex/my-test-dex/my-test-dex.js +126 -0
  180. package/build/dex/my-test-dex/my-test-dex.js.map +1 -0
  181. package/build/dex/my-test-dex/types.d.ts +6 -0
  182. package/build/dex/my-test-dex/types.js +3 -0
  183. package/build/dex/my-test-dex/types.js.map +1 -0
  184. package/build/dex/solidly/forks-override/fvm.d.ts +20 -0
  185. package/build/dex/solidly/forks-override/fvm.js +42 -0
  186. package/build/dex/solidly/forks-override/fvm.js.map +1 -0
  187. package/build/dex/wombat/config.d.ts +4 -0
  188. package/build/dex/wombat/config.js +99 -0
  189. package/build/dex/wombat/config.js.map +1 -0
  190. package/build/dex/wombat/types.d.ts +33 -0
  191. package/build/dex/wombat/types.js +3 -0
  192. package/build/dex/wombat/types.js.map +1 -0
  193. package/build/dex/wombat/utils.d.ts +9 -0
  194. package/build/dex/wombat/utils.js +66 -0
  195. package/build/dex/wombat/utils.js.map +1 -0
  196. package/build/dex/wombat/wombat-bmw.d.ts +40 -0
  197. package/build/dex/wombat/wombat-bmw.js +147 -0
  198. package/build/dex/wombat/wombat-bmw.js.map +1 -0
  199. package/build/dex/wombat/wombat-pool.d.ts +22 -0
  200. package/build/dex/wombat/wombat-pool.js +161 -0
  201. package/build/dex/wombat/wombat-pool.js.map +1 -0
  202. package/build/dex/wombat/wombat-quoter.d.ts +16 -0
  203. package/build/dex/wombat/wombat-quoter.js +176 -0
  204. package/build/dex/wombat/wombat-quoter.js.map +1 -0
  205. package/build/dex/wombat/wombat.d.ts +55 -0
  206. package/build/dex/wombat/wombat.js +290 -0
  207. package/build/dex/wombat/wombat.js.map +1 -0
  208. package/build/lib/fetcher/fetcher.d.ts +1 -1
  209. package/build/lib/fetcher/fetcher.js.map +1 -1
  210. package/package.json +2 -2
  211. package/src/abi/hashflow/HashflowRouter.abi.json +816 -246
  212. package/src/config.ts +14 -14
  213. package/src/dex/hashflow/config.ts +8 -8
  214. package/src/dex/hashflow/hashflow-e2e.test.ts +4 -4
  215. package/src/dex/hashflow/hashflow-integration.test.ts +9 -6
  216. package/src/dex/hashflow/hashflow.ts +70 -87
  217. package/src/dex/hashflow/rate-fetcher.ts +6 -8
  218. package/src/dex/hashflow/types.ts +5 -6
  219. package/src/dex/hashflow/validators.ts +11 -4
  220. package/src/lib/fetcher/fetcher.ts +2 -2
  221. package/tests/constants-e2e.ts +1 -1
  222. package/tests/tenderly-simulation.ts +5 -2
  223. package/.vscode/launch.json +0 -39
  224. package/.vscode/settings.json +0 -2
  225. package/.vscode/tasks.json +0 -15
@@ -0,0 +1,1247 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": true,
7
+ "internalType": "uint256",
8
+ "name": "pid",
9
+ "type": "uint256"
10
+ },
11
+ {
12
+ "indexed": true,
13
+ "internalType": "contract IERC20",
14
+ "name": "lpToken",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "indexed": false,
19
+ "internalType": "contract IBoostedMultiRewarder",
20
+ "name": "boostedRewarder",
21
+ "type": "address"
22
+ }
23
+ ],
24
+ "name": "Add",
25
+ "type": "event"
26
+ },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": true,
32
+ "internalType": "address",
33
+ "name": "user",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "indexed": true,
38
+ "internalType": "uint256",
39
+ "name": "pid",
40
+ "type": "uint256"
41
+ },
42
+ {
43
+ "indexed": false,
44
+ "internalType": "uint256",
45
+ "name": "amount",
46
+ "type": "uint256"
47
+ }
48
+ ],
49
+ "name": "Deposit",
50
+ "type": "event"
51
+ },
52
+ {
53
+ "anonymous": false,
54
+ "inputs": [
55
+ {
56
+ "indexed": true,
57
+ "internalType": "address",
58
+ "name": "user",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "indexed": true,
63
+ "internalType": "uint256",
64
+ "name": "pid",
65
+ "type": "uint256"
66
+ },
67
+ {
68
+ "indexed": false,
69
+ "internalType": "uint256",
70
+ "name": "amount",
71
+ "type": "uint256"
72
+ }
73
+ ],
74
+ "name": "DepositFor",
75
+ "type": "event"
76
+ },
77
+ {
78
+ "anonymous": false,
79
+ "inputs": [
80
+ {
81
+ "indexed": true,
82
+ "internalType": "address",
83
+ "name": "user",
84
+ "type": "address"
85
+ },
86
+ {
87
+ "indexed": true,
88
+ "internalType": "uint256",
89
+ "name": "pid",
90
+ "type": "uint256"
91
+ },
92
+ {
93
+ "indexed": false,
94
+ "internalType": "uint256",
95
+ "name": "amount",
96
+ "type": "uint256"
97
+ }
98
+ ],
99
+ "name": "EmergencyWithdraw",
100
+ "type": "event"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": false,
107
+ "internalType": "address",
108
+ "name": "owner",
109
+ "type": "address"
110
+ },
111
+ {
112
+ "indexed": false,
113
+ "internalType": "uint256",
114
+ "name": "balance",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "EmergencyWomWithdraw",
119
+ "type": "event"
120
+ },
121
+ {
122
+ "anonymous": false,
123
+ "inputs": [
124
+ {
125
+ "indexed": true,
126
+ "internalType": "address",
127
+ "name": "user",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "indexed": true,
132
+ "internalType": "uint256",
133
+ "name": "pid",
134
+ "type": "uint256"
135
+ },
136
+ {
137
+ "indexed": false,
138
+ "internalType": "uint256",
139
+ "name": "amount",
140
+ "type": "uint256"
141
+ }
142
+ ],
143
+ "name": "Harvest",
144
+ "type": "event"
145
+ },
146
+ {
147
+ "anonymous": false,
148
+ "inputs": [
149
+ {
150
+ "indexed": false,
151
+ "internalType": "uint8",
152
+ "name": "version",
153
+ "type": "uint8"
154
+ }
155
+ ],
156
+ "name": "Initialized",
157
+ "type": "event"
158
+ },
159
+ {
160
+ "anonymous": false,
161
+ "inputs": [
162
+ {
163
+ "indexed": true,
164
+ "internalType": "address",
165
+ "name": "previousOwner",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "indexed": true,
170
+ "internalType": "address",
171
+ "name": "newOwner",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "OwnershipTransferred",
176
+ "type": "event"
177
+ },
178
+ {
179
+ "anonymous": false,
180
+ "inputs": [
181
+ {
182
+ "indexed": false,
183
+ "internalType": "address",
184
+ "name": "account",
185
+ "type": "address"
186
+ }
187
+ ],
188
+ "name": "Paused",
189
+ "type": "event"
190
+ },
191
+ {
192
+ "anonymous": false,
193
+ "inputs": [
194
+ {
195
+ "indexed": true,
196
+ "internalType": "uint256",
197
+ "name": "pid",
198
+ "type": "uint256"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "contract IBoostedMultiRewarder",
203
+ "name": "boostedRewarder",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "name": "SetBoostedRewarder",
208
+ "type": "event"
209
+ },
210
+ {
211
+ "anonymous": false,
212
+ "inputs": [
213
+ {
214
+ "indexed": false,
215
+ "internalType": "contract IBribeRewarderFactory",
216
+ "name": "bribeRewarderFactory",
217
+ "type": "address"
218
+ }
219
+ ],
220
+ "name": "SetBribeRewarderFactory",
221
+ "type": "event"
222
+ },
223
+ {
224
+ "anonymous": false,
225
+ "inputs": [
226
+ {
227
+ "indexed": false,
228
+ "internalType": "contract IMasterWombatV3",
229
+ "name": "masterWormbat",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "SetNewMasterWombat",
234
+ "type": "event"
235
+ },
236
+ {
237
+ "anonymous": false,
238
+ "inputs": [
239
+ {
240
+ "indexed": true,
241
+ "internalType": "uint256",
242
+ "name": "pid",
243
+ "type": "uint256"
244
+ },
245
+ {
246
+ "indexed": false,
247
+ "internalType": "contract IMultiRewarder",
248
+ "name": "rewarder",
249
+ "type": "address"
250
+ }
251
+ ],
252
+ "name": "SetRewarder",
253
+ "type": "event"
254
+ },
255
+ {
256
+ "anonymous": false,
257
+ "inputs": [
258
+ {
259
+ "indexed": false,
260
+ "internalType": "address",
261
+ "name": "account",
262
+ "type": "address"
263
+ }
264
+ ],
265
+ "name": "Unpaused",
266
+ "type": "event"
267
+ },
268
+ {
269
+ "anonymous": false,
270
+ "inputs": [
271
+ {
272
+ "indexed": true,
273
+ "internalType": "address",
274
+ "name": "user",
275
+ "type": "address"
276
+ },
277
+ {
278
+ "indexed": false,
279
+ "internalType": "uint256",
280
+ "name": "basePartition",
281
+ "type": "uint256"
282
+ },
283
+ {
284
+ "indexed": false,
285
+ "internalType": "uint256",
286
+ "name": "boostedPartition",
287
+ "type": "uint256"
288
+ }
289
+ ],
290
+ "name": "UpdateEmissionPartition",
291
+ "type": "event"
292
+ },
293
+ {
294
+ "anonymous": false,
295
+ "inputs": [
296
+ {
297
+ "indexed": true,
298
+ "internalType": "address",
299
+ "name": "user",
300
+ "type": "address"
301
+ },
302
+ {
303
+ "indexed": false,
304
+ "internalType": "address",
305
+ "name": "oldVeWOM",
306
+ "type": "address"
307
+ },
308
+ {
309
+ "indexed": false,
310
+ "internalType": "address",
311
+ "name": "newVeWOM",
312
+ "type": "address"
313
+ }
314
+ ],
315
+ "name": "UpdateVeWOM",
316
+ "type": "event"
317
+ },
318
+ {
319
+ "anonymous": false,
320
+ "inputs": [
321
+ {
322
+ "indexed": true,
323
+ "internalType": "address",
324
+ "name": "user",
325
+ "type": "address"
326
+ },
327
+ {
328
+ "indexed": false,
329
+ "internalType": "address",
330
+ "name": "oldVoter",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "indexed": false,
335
+ "internalType": "address",
336
+ "name": "newVoter",
337
+ "type": "address"
338
+ }
339
+ ],
340
+ "name": "UpdateVoter",
341
+ "type": "event"
342
+ },
343
+ {
344
+ "anonymous": false,
345
+ "inputs": [
346
+ {
347
+ "indexed": true,
348
+ "internalType": "address",
349
+ "name": "user",
350
+ "type": "address"
351
+ },
352
+ {
353
+ "indexed": false,
354
+ "internalType": "address",
355
+ "name": "oldWOM",
356
+ "type": "address"
357
+ },
358
+ {
359
+ "indexed": false,
360
+ "internalType": "address",
361
+ "name": "newWOM",
362
+ "type": "address"
363
+ }
364
+ ],
365
+ "name": "UpdateWOM",
366
+ "type": "event"
367
+ },
368
+ {
369
+ "anonymous": false,
370
+ "inputs": [
371
+ {
372
+ "indexed": true,
373
+ "internalType": "address",
374
+ "name": "user",
375
+ "type": "address"
376
+ },
377
+ {
378
+ "indexed": true,
379
+ "internalType": "uint256",
380
+ "name": "pid",
381
+ "type": "uint256"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "uint256",
386
+ "name": "amount",
387
+ "type": "uint256"
388
+ }
389
+ ],
390
+ "name": "Withdraw",
391
+ "type": "event"
392
+ },
393
+ {
394
+ "inputs": [],
395
+ "name": "ACC_TOKEN_PRECISION",
396
+ "outputs": [
397
+ {
398
+ "internalType": "uint256",
399
+ "name": "",
400
+ "type": "uint256"
401
+ }
402
+ ],
403
+ "stateMutability": "view",
404
+ "type": "function"
405
+ },
406
+ {
407
+ "inputs": [],
408
+ "name": "REWARD_DURATION",
409
+ "outputs": [
410
+ {
411
+ "internalType": "uint256",
412
+ "name": "",
413
+ "type": "uint256"
414
+ }
415
+ ],
416
+ "stateMutability": "view",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "inputs": [],
421
+ "name": "TOTAL_PARTITION",
422
+ "outputs": [
423
+ {
424
+ "internalType": "uint256",
425
+ "name": "",
426
+ "type": "uint256"
427
+ }
428
+ ],
429
+ "stateMutability": "view",
430
+ "type": "function"
431
+ },
432
+ {
433
+ "inputs": [
434
+ {
435
+ "internalType": "contract IERC20",
436
+ "name": "_lpToken",
437
+ "type": "address"
438
+ },
439
+ {
440
+ "internalType": "contract IBoostedMultiRewarder",
441
+ "name": "_boostedRewarder",
442
+ "type": "address"
443
+ }
444
+ ],
445
+ "name": "add",
446
+ "outputs": [],
447
+ "stateMutability": "nonpayable",
448
+ "type": "function"
449
+ },
450
+ {
451
+ "inputs": [],
452
+ "name": "basePartition",
453
+ "outputs": [
454
+ {
455
+ "internalType": "uint16",
456
+ "name": "",
457
+ "type": "uint16"
458
+ }
459
+ ],
460
+ "stateMutability": "view",
461
+ "type": "function"
462
+ },
463
+ {
464
+ "inputs": [],
465
+ "name": "boostedPartition",
466
+ "outputs": [
467
+ {
468
+ "internalType": "uint256",
469
+ "name": "",
470
+ "type": "uint256"
471
+ }
472
+ ],
473
+ "stateMutability": "view",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [
478
+ {
479
+ "internalType": "uint256",
480
+ "name": "",
481
+ "type": "uint256"
482
+ }
483
+ ],
484
+ "name": "boostedRewarders",
485
+ "outputs": [
486
+ {
487
+ "internalType": "contract IBoostedMultiRewarder",
488
+ "name": "",
489
+ "type": "address"
490
+ }
491
+ ],
492
+ "stateMutability": "view",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [],
497
+ "name": "bribeRewarderFactory",
498
+ "outputs": [
499
+ {
500
+ "internalType": "contract IBribeRewarderFactory",
501
+ "name": "",
502
+ "type": "address"
503
+ }
504
+ ],
505
+ "stateMutability": "view",
506
+ "type": "function"
507
+ },
508
+ {
509
+ "inputs": [
510
+ {
511
+ "internalType": "uint256",
512
+ "name": "_pid",
513
+ "type": "uint256"
514
+ }
515
+ ],
516
+ "name": "calRewardPerUnit",
517
+ "outputs": [
518
+ {
519
+ "internalType": "uint256",
520
+ "name": "accWomPerShare",
521
+ "type": "uint256"
522
+ },
523
+ {
524
+ "internalType": "uint256",
525
+ "name": "accWomPerFactorShare",
526
+ "type": "uint256"
527
+ }
528
+ ],
529
+ "stateMutability": "view",
530
+ "type": "function"
531
+ },
532
+ {
533
+ "inputs": [
534
+ {
535
+ "internalType": "uint256",
536
+ "name": "_pid",
537
+ "type": "uint256"
538
+ },
539
+ {
540
+ "internalType": "uint256",
541
+ "name": "_amount",
542
+ "type": "uint256"
543
+ }
544
+ ],
545
+ "name": "deposit",
546
+ "outputs": [
547
+ {
548
+ "internalType": "uint256",
549
+ "name": "reward",
550
+ "type": "uint256"
551
+ },
552
+ {
553
+ "internalType": "uint256[]",
554
+ "name": "additionalRewards",
555
+ "type": "uint256[]"
556
+ }
557
+ ],
558
+ "stateMutability": "nonpayable",
559
+ "type": "function"
560
+ },
561
+ {
562
+ "inputs": [
563
+ {
564
+ "internalType": "uint256",
565
+ "name": "_pid",
566
+ "type": "uint256"
567
+ },
568
+ {
569
+ "internalType": "uint256",
570
+ "name": "_amount",
571
+ "type": "uint256"
572
+ },
573
+ {
574
+ "internalType": "address",
575
+ "name": "_user",
576
+ "type": "address"
577
+ }
578
+ ],
579
+ "name": "depositFor",
580
+ "outputs": [],
581
+ "stateMutability": "nonpayable",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "_pid",
589
+ "type": "uint256"
590
+ }
591
+ ],
592
+ "name": "emergencyWithdraw",
593
+ "outputs": [],
594
+ "stateMutability": "nonpayable",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [],
599
+ "name": "emergencyWomWithdraw",
600
+ "outputs": [],
601
+ "stateMutability": "nonpayable",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [
606
+ {
607
+ "internalType": "address",
608
+ "name": "asset",
609
+ "type": "address"
610
+ }
611
+ ],
612
+ "name": "getAssetPid",
613
+ "outputs": [
614
+ {
615
+ "internalType": "uint256",
616
+ "name": "",
617
+ "type": "uint256"
618
+ }
619
+ ],
620
+ "stateMutability": "view",
621
+ "type": "function"
622
+ },
623
+ {
624
+ "inputs": [
625
+ {
626
+ "internalType": "uint256",
627
+ "name": "_pid",
628
+ "type": "uint256"
629
+ }
630
+ ],
631
+ "name": "getSumOfFactors",
632
+ "outputs": [
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "",
636
+ "type": "uint256"
637
+ }
638
+ ],
639
+ "stateMutability": "view",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "contract IERC20",
646
+ "name": "_wom",
647
+ "type": "address"
648
+ },
649
+ {
650
+ "internalType": "contract IVeWom",
651
+ "name": "_veWom",
652
+ "type": "address"
653
+ },
654
+ {
655
+ "internalType": "address",
656
+ "name": "_voter",
657
+ "type": "address"
658
+ },
659
+ {
660
+ "internalType": "uint16",
661
+ "name": "_basePartition",
662
+ "type": "uint16"
663
+ }
664
+ ],
665
+ "name": "initialize",
666
+ "outputs": [],
667
+ "stateMutability": "nonpayable",
668
+ "type": "function"
669
+ },
670
+ {
671
+ "inputs": [
672
+ {
673
+ "internalType": "uint256",
674
+ "name": "_periodFinish",
675
+ "type": "uint256"
676
+ }
677
+ ],
678
+ "name": "lastTimeRewardApplicable",
679
+ "outputs": [
680
+ {
681
+ "internalType": "uint256",
682
+ "name": "",
683
+ "type": "uint256"
684
+ }
685
+ ],
686
+ "stateMutability": "view",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "inputs": [],
691
+ "name": "massUpdatePools",
692
+ "outputs": [],
693
+ "stateMutability": "nonpayable",
694
+ "type": "function"
695
+ },
696
+ {
697
+ "inputs": [
698
+ {
699
+ "internalType": "uint256[]",
700
+ "name": "_pids",
701
+ "type": "uint256[]"
702
+ }
703
+ ],
704
+ "name": "migrate",
705
+ "outputs": [],
706
+ "stateMutability": "nonpayable",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [
711
+ {
712
+ "internalType": "uint256[]",
713
+ "name": "_pids",
714
+ "type": "uint256[]"
715
+ }
716
+ ],
717
+ "name": "multiClaim",
718
+ "outputs": [
719
+ {
720
+ "internalType": "uint256",
721
+ "name": "reward",
722
+ "type": "uint256"
723
+ },
724
+ {
725
+ "internalType": "uint256[]",
726
+ "name": "amounts",
727
+ "type": "uint256[]"
728
+ },
729
+ {
730
+ "internalType": "uint256[][]",
731
+ "name": "additionalRewards",
732
+ "type": "uint256[][]"
733
+ }
734
+ ],
735
+ "stateMutability": "nonpayable",
736
+ "type": "function"
737
+ },
738
+ {
739
+ "inputs": [
740
+ {
741
+ "internalType": "address",
742
+ "name": "_lpToken",
743
+ "type": "address"
744
+ },
745
+ {
746
+ "internalType": "uint256",
747
+ "name": "_amount",
748
+ "type": "uint256"
749
+ }
750
+ ],
751
+ "name": "notifyRewardAmount",
752
+ "outputs": [],
753
+ "stateMutability": "nonpayable",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [],
758
+ "name": "owner",
759
+ "outputs": [
760
+ {
761
+ "internalType": "address",
762
+ "name": "",
763
+ "type": "address"
764
+ }
765
+ ],
766
+ "stateMutability": "view",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [],
771
+ "name": "pause",
772
+ "outputs": [],
773
+ "stateMutability": "nonpayable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [],
778
+ "name": "paused",
779
+ "outputs": [
780
+ {
781
+ "internalType": "bool",
782
+ "name": "",
783
+ "type": "bool"
784
+ }
785
+ ],
786
+ "stateMutability": "view",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [
791
+ {
792
+ "internalType": "uint256",
793
+ "name": "_pid",
794
+ "type": "uint256"
795
+ },
796
+ {
797
+ "internalType": "address",
798
+ "name": "_user",
799
+ "type": "address"
800
+ }
801
+ ],
802
+ "name": "pendingTokens",
803
+ "outputs": [
804
+ {
805
+ "internalType": "uint256",
806
+ "name": "pendingRewards",
807
+ "type": "uint256"
808
+ },
809
+ {
810
+ "internalType": "contract IERC20[]",
811
+ "name": "bonusTokenAddresses",
812
+ "type": "address[]"
813
+ },
814
+ {
815
+ "internalType": "string[]",
816
+ "name": "bonusTokenSymbols",
817
+ "type": "string[]"
818
+ },
819
+ {
820
+ "internalType": "uint256[]",
821
+ "name": "pendingBonusRewards",
822
+ "type": "uint256[]"
823
+ }
824
+ ],
825
+ "stateMutability": "view",
826
+ "type": "function"
827
+ },
828
+ {
829
+ "inputs": [
830
+ {
831
+ "internalType": "uint256",
832
+ "name": "_pid",
833
+ "type": "uint256"
834
+ }
835
+ ],
836
+ "name": "poolInfo",
837
+ "outputs": [
838
+ {
839
+ "internalType": "contract IERC20",
840
+ "name": "lpToken",
841
+ "type": "address"
842
+ },
843
+ {
844
+ "internalType": "uint96",
845
+ "name": "allocPoint",
846
+ "type": "uint96"
847
+ },
848
+ {
849
+ "internalType": "contract IMultiRewarder",
850
+ "name": "rewarder",
851
+ "type": "address"
852
+ },
853
+ {
854
+ "internalType": "uint256",
855
+ "name": "sumOfFactors",
856
+ "type": "uint256"
857
+ },
858
+ {
859
+ "internalType": "uint104",
860
+ "name": "accWomPerShare",
861
+ "type": "uint104"
862
+ },
863
+ {
864
+ "internalType": "uint104",
865
+ "name": "accWomPerFactorShare",
866
+ "type": "uint104"
867
+ },
868
+ {
869
+ "internalType": "uint40",
870
+ "name": "lastRewardTimestamp",
871
+ "type": "uint40"
872
+ }
873
+ ],
874
+ "stateMutability": "view",
875
+ "type": "function"
876
+ },
877
+ {
878
+ "inputs": [
879
+ {
880
+ "internalType": "uint256",
881
+ "name": "",
882
+ "type": "uint256"
883
+ }
884
+ ],
885
+ "name": "poolInfoV3",
886
+ "outputs": [
887
+ {
888
+ "internalType": "contract IERC20",
889
+ "name": "lpToken",
890
+ "type": "address"
891
+ },
892
+ {
893
+ "internalType": "contract IMultiRewarder",
894
+ "name": "rewarder",
895
+ "type": "address"
896
+ },
897
+ {
898
+ "internalType": "uint40",
899
+ "name": "periodFinish",
900
+ "type": "uint40"
901
+ },
902
+ {
903
+ "internalType": "uint128",
904
+ "name": "sumOfFactors",
905
+ "type": "uint128"
906
+ },
907
+ {
908
+ "internalType": "uint128",
909
+ "name": "rewardRate",
910
+ "type": "uint128"
911
+ },
912
+ {
913
+ "internalType": "uint104",
914
+ "name": "accWomPerShare",
915
+ "type": "uint104"
916
+ },
917
+ {
918
+ "internalType": "uint104",
919
+ "name": "accWomPerFactorShare",
920
+ "type": "uint104"
921
+ },
922
+ {
923
+ "internalType": "uint40",
924
+ "name": "lastRewardTimestamp",
925
+ "type": "uint40"
926
+ }
927
+ ],
928
+ "stateMutability": "view",
929
+ "type": "function"
930
+ },
931
+ {
932
+ "inputs": [],
933
+ "name": "poolLength",
934
+ "outputs": [
935
+ {
936
+ "internalType": "uint256",
937
+ "name": "",
938
+ "type": "uint256"
939
+ }
940
+ ],
941
+ "stateMutability": "view",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [],
946
+ "name": "renounceOwnership",
947
+ "outputs": [],
948
+ "stateMutability": "nonpayable",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "_pid",
956
+ "type": "uint256"
957
+ }
958
+ ],
959
+ "name": "rewarderBonusTokenInfo",
960
+ "outputs": [
961
+ {
962
+ "internalType": "contract IERC20[]",
963
+ "name": "bonusTokenAddresses",
964
+ "type": "address[]"
965
+ },
966
+ {
967
+ "internalType": "string[]",
968
+ "name": "bonusTokenSymbols",
969
+ "type": "string[]"
970
+ }
971
+ ],
972
+ "stateMutability": "view",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "inputs": [
977
+ {
978
+ "internalType": "uint256",
979
+ "name": "_pid",
980
+ "type": "uint256"
981
+ },
982
+ {
983
+ "internalType": "contract IBoostedMultiRewarder",
984
+ "name": "_boostedRewarder",
985
+ "type": "address"
986
+ }
987
+ ],
988
+ "name": "setBoostedRewarder",
989
+ "outputs": [],
990
+ "stateMutability": "nonpayable",
991
+ "type": "function"
992
+ },
993
+ {
994
+ "inputs": [
995
+ {
996
+ "internalType": "contract IBribeRewarderFactory",
997
+ "name": "_bribeRewarderFactory",
998
+ "type": "address"
999
+ }
1000
+ ],
1001
+ "name": "setBribeRewarderFactory",
1002
+ "outputs": [],
1003
+ "stateMutability": "nonpayable",
1004
+ "type": "function"
1005
+ },
1006
+ {
1007
+ "inputs": [
1008
+ {
1009
+ "internalType": "contract IMasterWombatV3",
1010
+ "name": "_newMasterWombat",
1011
+ "type": "address"
1012
+ }
1013
+ ],
1014
+ "name": "setNewMasterWombat",
1015
+ "outputs": [],
1016
+ "stateMutability": "nonpayable",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "uint256",
1023
+ "name": "_pid",
1024
+ "type": "uint256"
1025
+ },
1026
+ {
1027
+ "internalType": "contract IMultiRewarder",
1028
+ "name": "_rewarder",
1029
+ "type": "address"
1030
+ }
1031
+ ],
1032
+ "name": "setRewarder",
1033
+ "outputs": [],
1034
+ "stateMutability": "nonpayable",
1035
+ "type": "function"
1036
+ },
1037
+ {
1038
+ "inputs": [
1039
+ {
1040
+ "internalType": "contract IVeWom",
1041
+ "name": "_newVeWom",
1042
+ "type": "address"
1043
+ }
1044
+ ],
1045
+ "name": "setVeWom",
1046
+ "outputs": [],
1047
+ "stateMutability": "nonpayable",
1048
+ "type": "function"
1049
+ },
1050
+ {
1051
+ "inputs": [
1052
+ {
1053
+ "internalType": "address",
1054
+ "name": "_newVoter",
1055
+ "type": "address"
1056
+ }
1057
+ ],
1058
+ "name": "setVoter",
1059
+ "outputs": [],
1060
+ "stateMutability": "nonpayable",
1061
+ "type": "function"
1062
+ },
1063
+ {
1064
+ "inputs": [
1065
+ {
1066
+ "internalType": "contract IERC20",
1067
+ "name": "_newWom",
1068
+ "type": "address"
1069
+ }
1070
+ ],
1071
+ "name": "setWom",
1072
+ "outputs": [],
1073
+ "stateMutability": "nonpayable",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "internalType": "address",
1080
+ "name": "newOwner",
1081
+ "type": "address"
1082
+ }
1083
+ ],
1084
+ "name": "transferOwnership",
1085
+ "outputs": [],
1086
+ "stateMutability": "nonpayable",
1087
+ "type": "function"
1088
+ },
1089
+ {
1090
+ "inputs": [],
1091
+ "name": "unpause",
1092
+ "outputs": [],
1093
+ "stateMutability": "nonpayable",
1094
+ "type": "function"
1095
+ },
1096
+ {
1097
+ "inputs": [
1098
+ {
1099
+ "internalType": "uint16",
1100
+ "name": "_basePartition",
1101
+ "type": "uint16"
1102
+ }
1103
+ ],
1104
+ "name": "updateEmissionPartition",
1105
+ "outputs": [],
1106
+ "stateMutability": "nonpayable",
1107
+ "type": "function"
1108
+ },
1109
+ {
1110
+ "inputs": [
1111
+ {
1112
+ "internalType": "address",
1113
+ "name": "_user",
1114
+ "type": "address"
1115
+ },
1116
+ {
1117
+ "internalType": "uint256",
1118
+ "name": "_newVeWomBalance",
1119
+ "type": "uint256"
1120
+ }
1121
+ ],
1122
+ "name": "updateFactor",
1123
+ "outputs": [],
1124
+ "stateMutability": "nonpayable",
1125
+ "type": "function"
1126
+ },
1127
+ {
1128
+ "inputs": [
1129
+ {
1130
+ "internalType": "uint256",
1131
+ "name": "_pid",
1132
+ "type": "uint256"
1133
+ }
1134
+ ],
1135
+ "name": "updatePool",
1136
+ "outputs": [],
1137
+ "stateMutability": "nonpayable",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "uint256",
1144
+ "name": "",
1145
+ "type": "uint256"
1146
+ },
1147
+ {
1148
+ "internalType": "address",
1149
+ "name": "",
1150
+ "type": "address"
1151
+ }
1152
+ ],
1153
+ "name": "userInfo",
1154
+ "outputs": [
1155
+ {
1156
+ "internalType": "uint128",
1157
+ "name": "amount",
1158
+ "type": "uint128"
1159
+ },
1160
+ {
1161
+ "internalType": "uint128",
1162
+ "name": "factor",
1163
+ "type": "uint128"
1164
+ },
1165
+ {
1166
+ "internalType": "uint128",
1167
+ "name": "rewardDebt",
1168
+ "type": "uint128"
1169
+ },
1170
+ {
1171
+ "internalType": "uint128",
1172
+ "name": "pendingWom",
1173
+ "type": "uint128"
1174
+ }
1175
+ ],
1176
+ "stateMutability": "view",
1177
+ "type": "function"
1178
+ },
1179
+ {
1180
+ "inputs": [],
1181
+ "name": "veWom",
1182
+ "outputs": [
1183
+ {
1184
+ "internalType": "contract IVeWom",
1185
+ "name": "",
1186
+ "type": "address"
1187
+ }
1188
+ ],
1189
+ "stateMutability": "view",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [],
1194
+ "name": "voter",
1195
+ "outputs": [
1196
+ {
1197
+ "internalType": "address",
1198
+ "name": "",
1199
+ "type": "address"
1200
+ }
1201
+ ],
1202
+ "stateMutability": "view",
1203
+ "type": "function"
1204
+ },
1205
+ {
1206
+ "inputs": [
1207
+ {
1208
+ "internalType": "uint256",
1209
+ "name": "_pid",
1210
+ "type": "uint256"
1211
+ },
1212
+ {
1213
+ "internalType": "uint256",
1214
+ "name": "_amount",
1215
+ "type": "uint256"
1216
+ }
1217
+ ],
1218
+ "name": "withdraw",
1219
+ "outputs": [
1220
+ {
1221
+ "internalType": "uint256",
1222
+ "name": "reward",
1223
+ "type": "uint256"
1224
+ },
1225
+ {
1226
+ "internalType": "uint256[]",
1227
+ "name": "additionalRewards",
1228
+ "type": "uint256[]"
1229
+ }
1230
+ ],
1231
+ "stateMutability": "nonpayable",
1232
+ "type": "function"
1233
+ },
1234
+ {
1235
+ "inputs": [],
1236
+ "name": "wom",
1237
+ "outputs": [
1238
+ {
1239
+ "internalType": "contract IERC20",
1240
+ "name": "",
1241
+ "type": "address"
1242
+ }
1243
+ ],
1244
+ "stateMutability": "view",
1245
+ "type": "function"
1246
+ }
1247
+ ]