@paraswap/dex-lib 3.8.13-arusd-fxusd.2 → 3.8.13-infusion

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 (283) hide show
  1. package/build/abi/{integral/pool.json → inception/inception-ineth-pool.json} +558 -537
  2. package/build/abi/inception/inception-ineth.json +609 -0
  3. package/build/abi/inception/inception-ratio-feed.json +93 -0
  4. package/build/abi/inception/inception-vault.json +991 -0
  5. package/build/abi/infusion/InfusionFactory.json +147 -0
  6. package/build/abi/infusion/InfusionPair.json +658 -0
  7. package/build/abi/infusion/InfusionRouter.json +442 -0
  8. package/build/dex/aave-v1/aave-v1.d.ts +2 -1
  9. package/build/dex/aave-v1/aave-v1.js +22 -0
  10. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  11. package/build/dex/concentrator-arusd/concentrator-arusd.d.ts +1 -4
  12. package/build/dex/concentrator-arusd/concentrator-arusd.js +34 -30
  13. package/build/dex/concentrator-arusd/concentrator-arusd.js.map +1 -1
  14. package/build/dex/concentrator-arusd/config.js +1 -1
  15. package/build/dex/concentrator-arusd/config.js.map +1 -1
  16. package/build/dex/concentrator-arusd/types.d.ts +2 -6
  17. package/build/dex/fx-protocol-rusd/config.d.ts +2 -1
  18. package/build/dex/fx-protocol-rusd/config.js +6 -3
  19. package/build/dex/fx-protocol-rusd/config.js.map +1 -1
  20. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.d.ts +10 -10
  21. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js +66 -83
  22. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js.map +1 -1
  23. package/build/dex/fx-protocol-rusd/types.d.ts +2 -5
  24. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  25. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  26. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  27. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  28. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  29. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  30. package/build/dex/idle-dao/scripts.d.ts +9 -0
  31. package/build/dex/idle-dao/scripts.js +552 -0
  32. package/build/dex/idle-dao/scripts.js.map +1 -0
  33. package/build/dex/inception/config.d.ts +5 -0
  34. package/build/dex/inception/config.js +112 -0
  35. package/build/dex/inception/config.js.map +1 -0
  36. package/build/dex/inception/inception-event-pool.d.ts +23 -0
  37. package/build/dex/inception/inception-event-pool.js +34 -0
  38. package/build/dex/inception/inception-event-pool.js.map +1 -0
  39. package/build/dex/{integral/integral.d.ts → inception/inception-native.d.ts} +21 -19
  40. package/build/dex/inception/inception-native.js +131 -0
  41. package/build/dex/inception/inception-native.js.map +1 -0
  42. package/build/dex/inception/inception-pool.d.ts +18 -0
  43. package/build/dex/inception/inception-pool.js +32 -0
  44. package/build/dex/inception/inception-pool.js.map +1 -0
  45. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  46. package/build/dex/inception/inception-price-feed.js +51 -0
  47. package/build/dex/inception/inception-price-feed.js.map +1 -0
  48. package/build/dex/inception/inception.d.ts +44 -0
  49. package/build/dex/inception/inception.js +162 -0
  50. package/build/dex/inception/inception.js.map +1 -0
  51. package/build/dex/inception/tokens.d.ts +9 -0
  52. package/build/dex/inception/tokens.js +28 -0
  53. package/build/dex/inception/tokens.js.map +1 -0
  54. package/build/dex/inception/types.d.ts +22 -0
  55. package/build/dex/inception/types.js +3 -0
  56. package/build/dex/inception/types.js.map +1 -0
  57. package/build/dex/inception/utils.d.ts +7 -0
  58. package/build/dex/inception/utils.js +58 -0
  59. package/build/dex/inception/utils.js.map +1 -0
  60. package/build/dex/index.js +2 -4
  61. package/build/dex/index.js.map +1 -1
  62. package/build/dex/{integral → infusion}/config.d.ts +1 -1
  63. package/build/dex/infusion/config.js +25 -0
  64. package/build/dex/infusion/config.js.map +1 -0
  65. package/build/dex/infusion/infusion-stable-pool.d.ts +4 -0
  66. package/build/dex/infusion/infusion-stable-pool.js +74 -0
  67. package/build/dex/infusion/infusion-stable-pool.js.map +1 -0
  68. package/build/dex/infusion/infusion.d.ts +54 -0
  69. package/build/dex/infusion/infusion.js +510 -0
  70. package/build/dex/infusion/infusion.js.map +1 -0
  71. package/build/dex/infusion/types.d.ts +47 -0
  72. package/build/dex/infusion/types.js +3 -0
  73. package/build/dex/infusion/types.js.map +1 -0
  74. package/build/dex/infusion/utils/isStablePair.d.ts +2 -0
  75. package/build/dex/infusion/utils/isStablePair.js +18 -0
  76. package/build/dex/infusion/utils/isStablePair.js.map +1 -0
  77. package/build/dex/oswap/oswap.js +1 -4
  78. package/build/dex/oswap/oswap.js.map +1 -1
  79. package/build/dex/platypus/platypus.d.ts +2 -1
  80. package/build/dex/platypus/platypus.js +31 -0
  81. package/build/dex/platypus/platypus.js.map +1 -1
  82. package/build/dex/swaap-v1/swaap-v1.d.ts +2 -1
  83. package/build/dex/swaap-v1/swaap-v1.js +10 -0
  84. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  85. package/package.json +1 -1
  86. package/src/abi/infusion/InfusionFactory.json +147 -0
  87. package/src/abi/infusion/InfusionPair.json +658 -0
  88. package/src/abi/infusion/InfusionRouter.json +442 -0
  89. package/src/dex/index.ts +2 -4
  90. package/src/dex/infusion/config.ts +27 -0
  91. package/src/dex/infusion/infusion-e2e.test.ts +110 -0
  92. package/src/dex/infusion/infusion-integration.test.ts +232 -0
  93. package/src/dex/infusion/infusion-stable-pool.ts +91 -0
  94. package/src/dex/infusion/infusion.ts +749 -0
  95. package/src/dex/infusion/types.ts +60 -0
  96. package/src/dex/infusion/utils/isStablePair.ts +18 -0
  97. package/src/dex/wsteth/wsteth-integration.test.ts +1 -0
  98. package/tests/constants-e2e.ts +1 -11
  99. package/.vscode/launch.json +0 -16
  100. package/.vscode/settings.json +0 -3
  101. package/build/abi/Uncompressor.json +0 -250
  102. package/build/abi/concentrator/arUSD5115.json +0 -1746
  103. package/build/abi/fx-protocol/FxMarket.json +0 -1284
  104. package/build/abi/fx-protocol/weETHOralce.json +0 -676
  105. package/build/abi/integral/factory.json +0 -333
  106. package/build/abi/integral/oracle.json +0 -501
  107. package/build/abi/integral/relayer.json +0 -1536
  108. package/build/abi/maverick-v2/MaverickV2Router.json +0 -778
  109. package/build/dex/bProtocol.d.ts +0 -18
  110. package/build/dex/bProtocol.js +0 -39
  111. package/build/dex/bProtocol.js.map +0 -1
  112. package/build/dex/bancor.d.ts +0 -26
  113. package/build/dex/bancor.js +0 -58
  114. package/build/dex/bancor.js.map +0 -1
  115. package/build/dex/compound.d.ts +0 -18
  116. package/build/dex/compound.js +0 -46
  117. package/build/dex/compound.js.map +0 -1
  118. package/build/dex/concentrator-arusd/concentrator-arusd-event.d.ts +0 -16
  119. package/build/dex/concentrator-arusd/concentrator-arusd-event.js +0 -53
  120. package/build/dex/concentrator-arusd/concentrator-arusd-event.js.map +0 -1
  121. package/build/dex/concentrator-arusd/utils.d.ts +0 -4
  122. package/build/dex/concentrator-arusd/utils.js +0 -27
  123. package/build/dex/concentrator-arusd/utils.js.map +0 -1
  124. package/build/dex/curve-v2.d.ts +0 -58
  125. package/build/dex/curve-v2.js +0 -180
  126. package/build/dex/curve-v2.js.map +0 -1
  127. package/build/dex/dodo-v1.d.ts +0 -33
  128. package/build/dex/dodo-v1.js +0 -63
  129. package/build/dex/dodo-v1.js.map +0 -1
  130. package/build/dex/etherfi/etherfi.d.ts +0 -26
  131. package/build/dex/etherfi/etherfi.js +0 -96
  132. package/build/dex/etherfi/etherfi.js.map +0 -1
  133. package/build/dex/fx-protocol-rusd/fx-protocol-rusd-event.d.ts +0 -18
  134. package/build/dex/fx-protocol-rusd/fx-protocol-rusd-event.js +0 -63
  135. package/build/dex/fx-protocol-rusd/fx-protocol-rusd-event.js.map +0 -1
  136. package/build/dex/fx-protocol-rusd/utils.d.ts +0 -4
  137. package/build/dex/fx-protocol-rusd/utils.js +0 -26
  138. package/build/dex/fx-protocol-rusd/utils.js.map +0 -1
  139. package/build/dex/integral/config.js +0 -20
  140. package/build/dex/integral/config.js.map +0 -1
  141. package/build/dex/integral/context.d.ts +0 -40
  142. package/build/dex/integral/context.js +0 -158
  143. package/build/dex/integral/context.js.map +0 -1
  144. package/build/dex/integral/helpers.d.ts +0 -17
  145. package/build/dex/integral/helpers.js +0 -157
  146. package/build/dex/integral/helpers.js.map +0 -1
  147. package/build/dex/integral/integral-factory.d.ts +0 -24
  148. package/build/dex/integral/integral-factory.js +0 -95
  149. package/build/dex/integral/integral-factory.js.map +0 -1
  150. package/build/dex/integral/integral-pool.d.ts +0 -50
  151. package/build/dex/integral/integral-pool.js +0 -149
  152. package/build/dex/integral/integral-pool.js.map +0 -1
  153. package/build/dex/integral/integral-pricing.d.ts +0 -18
  154. package/build/dex/integral/integral-pricing.js +0 -114
  155. package/build/dex/integral/integral-pricing.js.map +0 -1
  156. package/build/dex/integral/integral-relayer.d.ts +0 -42
  157. package/build/dex/integral/integral-relayer.js +0 -192
  158. package/build/dex/integral/integral-relayer.js.map +0 -1
  159. package/build/dex/integral/integral-token.d.ts +0 -27
  160. package/build/dex/integral/integral-token.js +0 -59
  161. package/build/dex/integral/integral-token.js.map +0 -1
  162. package/build/dex/integral/integral.js +0 -377
  163. package/build/dex/integral/integral.js.map +0 -1
  164. package/build/dex/integral/types.d.ts +0 -84
  165. package/build/dex/integral/types.js +0 -9
  166. package/build/dex/integral/types.js.map +0 -1
  167. package/build/dex/integral/utils-e2e.d.ts +0 -9
  168. package/build/dex/integral/utils-e2e.js +0 -131
  169. package/build/dex/integral/utils-e2e.js.map +0 -1
  170. package/build/dex/integral/utils.d.ts +0 -17
  171. package/build/dex/integral/utils.js +0 -94
  172. package/build/dex/integral/utils.js.map +0 -1
  173. package/build/dex/lido.d.ts +0 -19
  174. package/build/dex/lido.js +0 -42
  175. package/build/dex/lido.js.map +0 -1
  176. package/build/dex/onebit.d.ts +0 -25
  177. package/build/dex/onebit.js +0 -42
  178. package/build/dex/onebit.js.map +0 -1
  179. package/build/dex/sdai/config.d.ts +0 -11
  180. package/build/dex/sdai/config.js +0 -21
  181. package/build/dex/sdai/config.js.map +0 -1
  182. package/build/dex/sdai/constants.d.ts +0 -2
  183. package/build/dex/sdai/constants.js +0 -6
  184. package/build/dex/sdai/constants.js.map +0 -1
  185. package/build/dex/sdai/scripts/validate-state.d.ts +0 -1
  186. package/build/dex/sdai/scripts/validate-state.js +0 -102
  187. package/build/dex/sdai/scripts/validate-state.js.map +0 -1
  188. package/build/dex/sdai/sdai-pool.d.ts +0 -16
  189. package/build/dex/sdai/sdai-pool.js +0 -85
  190. package/build/dex/sdai/sdai-pool.js.map +0 -1
  191. package/build/dex/sdai/sdai.d.ts +0 -51
  192. package/build/dex/sdai/sdai.js +0 -172
  193. package/build/dex/sdai/sdai.js.map +0 -1
  194. package/build/dex/sdai/types.d.ts +0 -21
  195. package/build/dex/sdai/types.js +0 -11
  196. package/build/dex/sdai/types.js.map +0 -1
  197. package/build/dex/sdai/utils.d.ts +0 -4
  198. package/build/dex/sdai/utils.js +0 -39
  199. package/build/dex/sdai/utils.js.map +0 -1
  200. package/build/dex/smoothy.d.ts +0 -26
  201. package/build/dex/smoothy.js +0 -48
  202. package/build/dex/smoothy.js.map +0 -1
  203. package/build/dex/stable-pool.d.ts +0 -28
  204. package/build/dex/stable-pool.js +0 -62
  205. package/build/dex/stable-pool.js.map +0 -1
  206. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  207. package/build/dex/trader-joe-v2.1.js +0 -79
  208. package/build/dex/trader-joe-v2.1.js.map +0 -1
  209. package/build/executor/compressor/Compressor.d.ts +0 -23
  210. package/build/executor/compressor/Compressor.js +0 -144
  211. package/build/executor/compressor/Compressor.js.map +0 -1
  212. package/build/executor/compressor/compress.d.ts +0 -17
  213. package/build/executor/compressor/compress.js +0 -187
  214. package/build/executor/compressor/compress.js.map +0 -1
  215. package/build/executor/compressor/compress_functions/addressSubstitution.d.ts +0 -6
  216. package/build/executor/compressor/compress_functions/addressSubstitution.js +0 -29
  217. package/build/executor/compressor/compress_functions/addressSubstitution.js.map +0 -1
  218. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.d.ts +0 -10
  219. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.js +0 -40
  220. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.js.map +0 -1
  221. package/build/executor/compressor/compress_functions/byteSubstitution.d.ts +0 -11
  222. package/build/executor/compressor/compress_functions/byteSubstitution.js +0 -64
  223. package/build/executor/compressor/compress_functions/byteSubstitution.js.map +0 -1
  224. package/build/executor/compressor/compress_functions/ffSubstitution.d.ts +0 -7
  225. package/build/executor/compressor/compress_functions/ffSubstitution.js +0 -54
  226. package/build/executor/compressor/compress_functions/ffSubstitution.js.map +0 -1
  227. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.d.ts +0 -8
  228. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.js +0 -67
  229. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.js.map +0 -1
  230. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.d.ts +0 -8
  231. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.js +0 -61
  232. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.js.map +0 -1
  233. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.d.ts +0 -6
  234. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.js +0 -37
  235. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.js.map +0 -1
  236. package/build/executor/compressor/compress_functions/searchUnusedBytes.d.ts +0 -9
  237. package/build/executor/compressor/compress_functions/searchUnusedBytes.js +0 -33
  238. package/build/executor/compressor/compress_functions/searchUnusedBytes.js.map +0 -1
  239. package/build/executor/compressor/fetchSaved.d.ts +0 -0
  240. package/build/executor/compressor/fetchSaved.js +0 -17
  241. package/build/executor/compressor/fetchSaved.js.map +0 -1
  242. package/build/executor/compressor/utils/computeCostL2.d.ts +0 -2
  243. package/build/executor/compressor/utils/computeCostL2.js +0 -14
  244. package/build/executor/compressor/utils/computeCostL2.js.map +0 -1
  245. package/build/executor/compressor/utils/findLongestDuplicatedString.d.ts +0 -2
  246. package/build/executor/compressor/utils/findLongestDuplicatedString.js +0 -30
  247. package/build/executor/compressor/utils/findLongestDuplicatedString.js.map +0 -1
  248. package/build/executor/compressor/utils/getAllIndexes.d.ts +0 -2
  249. package/build/executor/compressor/utils/getAllIndexes.js +0 -12
  250. package/build/executor/compressor/utils/getAllIndexes.js.map +0 -1
  251. package/build/executor/compressor/utils/getByteForAddress.d.ts +0 -2
  252. package/build/executor/compressor/utils/getByteForAddress.js +0 -14
  253. package/build/executor/compressor/utils/getByteForAddress.js.map +0 -1
  254. package/build/executor/compressor/utils/intTo2Bytes.d.ts +0 -2
  255. package/build/executor/compressor/utils/intTo2Bytes.js +0 -14
  256. package/build/executor/compressor/utils/intTo2Bytes.js.map +0 -1
  257. package/build/executor/compressor/utils/intTo3Bytes.d.ts +0 -2
  258. package/build/executor/compressor/utils/intTo3Bytes.js +0 -18
  259. package/build/executor/compressor/utils/intTo3Bytes.js.map +0 -1
  260. package/build/executor/compressor/utils/intToByte.d.ts +0 -2
  261. package/build/executor/compressor/utils/intToByte.js +0 -10
  262. package/build/executor/compressor/utils/intToByte.js.map +0 -1
  263. package/src/abi/concentrator/arUSD.json +0 -568
  264. package/src/abi/concentrator/arUSD5115.json +0 -1746
  265. package/src/abi/fx-protocol/FxMarket.json +0 -1284
  266. package/src/abi/fx-protocol/FxUSD.json +0 -1227
  267. package/src/abi/fx-protocol/weETHOralce.json +0 -676
  268. package/src/dex/concentrator-arusd/concentrator-arusd-e2e.test.ts +0 -92
  269. package/src/dex/concentrator-arusd/concentrator-arusd-event.ts +0 -70
  270. package/src/dex/concentrator-arusd/concentrator-arusd-integration.test.ts +0 -104
  271. package/src/dex/concentrator-arusd/concentrator-arusd.ts +0 -255
  272. package/src/dex/concentrator-arusd/concetrator-arusd-events.test.ts +0 -97
  273. package/src/dex/concentrator-arusd/config.ts +0 -18
  274. package/src/dex/concentrator-arusd/types.ts +0 -16
  275. package/src/dex/concentrator-arusd/utils.ts +0 -36
  276. package/src/dex/fx-protocol-rusd/config.ts +0 -14
  277. package/src/dex/fx-protocol-rusd/fx-protocol-e2e.test.ts +0 -96
  278. package/src/dex/fx-protocol-rusd/fx-protocol-events.test.ts +0 -101
  279. package/src/dex/fx-protocol-rusd/fx-protocol-integration.test.ts +0 -104
  280. package/src/dex/fx-protocol-rusd/fx-protocol-rusd-event.ts +0 -80
  281. package/src/dex/fx-protocol-rusd/fx-protocol-rusd.ts +0 -303
  282. package/src/dex/fx-protocol-rusd/types.ts +0 -16
  283. package/src/dex/fx-protocol-rusd/utils.ts +0 -46
@@ -1,1284 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "_treasury",
7
- "type": "address"
8
- }
9
- ],
10
- "stateMutability": "nonpayable",
11
- "type": "constructor"
12
- },
13
- {
14
- "inputs": [],
15
- "name": "ErrorCallerNotFUSD",
16
- "type": "error"
17
- },
18
- {
19
- "inputs": [],
20
- "name": "ErrorDefaultFeeTooLarge",
21
- "type": "error"
22
- },
23
- {
24
- "inputs": [],
25
- "name": "ErrorDeltaFeeTooSmall",
26
- "type": "error"
27
- },
28
- {
29
- "inputs": [],
30
- "name": "ErrorFTokenMintPausedInStabilityMode",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [],
35
- "name": "ErrorInsufficientBaseOutput",
36
- "type": "error"
37
- },
38
- {
39
- "inputs": [],
40
- "name": "ErrorInsufficientFTokenOutput",
41
- "type": "error"
42
- },
43
- {
44
- "inputs": [],
45
- "name": "ErrorInsufficientXTokenOutput",
46
- "type": "error"
47
- },
48
- {
49
- "inputs": [],
50
- "name": "ErrorMintPaused",
51
- "type": "error"
52
- },
53
- {
54
- "inputs": [],
55
- "name": "ErrorMintZeroAmount",
56
- "type": "error"
57
- },
58
- {
59
- "inputs": [],
60
- "name": "ErrorRedeemPaused",
61
- "type": "error"
62
- },
63
- {
64
- "inputs": [],
65
- "name": "ErrorRedeemZeroAmount",
66
- "type": "error"
67
- },
68
- {
69
- "inputs": [],
70
- "name": "ErrorStabilityRatioTooLarge",
71
- "type": "error"
72
- },
73
- {
74
- "inputs": [],
75
- "name": "ErrorTotalFeeTooLarge",
76
- "type": "error"
77
- },
78
- {
79
- "inputs": [],
80
- "name": "ErrorXTokenRedeemPausedInStabilityMode",
81
- "type": "error"
82
- },
83
- {
84
- "inputs": [],
85
- "name": "ErrorZeroAddress",
86
- "type": "error"
87
- },
88
- {
89
- "anonymous": false,
90
- "inputs": [
91
- {
92
- "indexed": false,
93
- "internalType": "uint8",
94
- "name": "version",
95
- "type": "uint8"
96
- }
97
- ],
98
- "name": "Initialized",
99
- "type": "event"
100
- },
101
- {
102
- "anonymous": false,
103
- "inputs": [
104
- {
105
- "indexed": true,
106
- "internalType": "address",
107
- "name": "owner",
108
- "type": "address"
109
- },
110
- {
111
- "indexed": true,
112
- "internalType": "address",
113
- "name": "recipient",
114
- "type": "address"
115
- },
116
- {
117
- "indexed": false,
118
- "internalType": "uint256",
119
- "name": "baseTokenIn",
120
- "type": "uint256"
121
- },
122
- {
123
- "indexed": false,
124
- "internalType": "uint256",
125
- "name": "fTokenOut",
126
- "type": "uint256"
127
- },
128
- {
129
- "indexed": false,
130
- "internalType": "uint256",
131
- "name": "mintFee",
132
- "type": "uint256"
133
- }
134
- ],
135
- "name": "MintFToken",
136
- "type": "event"
137
- },
138
- {
139
- "anonymous": false,
140
- "inputs": [
141
- {
142
- "indexed": true,
143
- "internalType": "address",
144
- "name": "owner",
145
- "type": "address"
146
- },
147
- {
148
- "indexed": true,
149
- "internalType": "address",
150
- "name": "recipient",
151
- "type": "address"
152
- },
153
- {
154
- "indexed": false,
155
- "internalType": "uint256",
156
- "name": "baseTokenIn",
157
- "type": "uint256"
158
- },
159
- {
160
- "indexed": false,
161
- "internalType": "uint256",
162
- "name": "xTokenOut",
163
- "type": "uint256"
164
- },
165
- {
166
- "indexed": false,
167
- "internalType": "uint256",
168
- "name": "bonus",
169
- "type": "uint256"
170
- },
171
- {
172
- "indexed": false,
173
- "internalType": "uint256",
174
- "name": "mintFee",
175
- "type": "uint256"
176
- }
177
- ],
178
- "name": "MintXToken",
179
- "type": "event"
180
- },
181
- {
182
- "anonymous": false,
183
- "inputs": [
184
- {
185
- "indexed": true,
186
- "internalType": "address",
187
- "name": "owner",
188
- "type": "address"
189
- },
190
- {
191
- "indexed": true,
192
- "internalType": "address",
193
- "name": "recipient",
194
- "type": "address"
195
- },
196
- {
197
- "indexed": false,
198
- "internalType": "uint256",
199
- "name": "fTokenBurned",
200
- "type": "uint256"
201
- },
202
- {
203
- "indexed": false,
204
- "internalType": "uint256",
205
- "name": "baseTokenOut",
206
- "type": "uint256"
207
- },
208
- {
209
- "indexed": false,
210
- "internalType": "uint256",
211
- "name": "bonus",
212
- "type": "uint256"
213
- },
214
- {
215
- "indexed": false,
216
- "internalType": "uint256",
217
- "name": "redeemFee",
218
- "type": "uint256"
219
- }
220
- ],
221
- "name": "RedeemFToken",
222
- "type": "event"
223
- },
224
- {
225
- "anonymous": false,
226
- "inputs": [
227
- {
228
- "indexed": true,
229
- "internalType": "address",
230
- "name": "owner",
231
- "type": "address"
232
- },
233
- {
234
- "indexed": true,
235
- "internalType": "address",
236
- "name": "recipient",
237
- "type": "address"
238
- },
239
- {
240
- "indexed": false,
241
- "internalType": "uint256",
242
- "name": "xTokenBurned",
243
- "type": "uint256"
244
- },
245
- {
246
- "indexed": false,
247
- "internalType": "uint256",
248
- "name": "baseTokenOut",
249
- "type": "uint256"
250
- },
251
- {
252
- "indexed": false,
253
- "internalType": "uint256",
254
- "name": "redeemFee",
255
- "type": "uint256"
256
- }
257
- ],
258
- "name": "RedeemXToken",
259
- "type": "event"
260
- },
261
- {
262
- "anonymous": false,
263
- "inputs": [
264
- {
265
- "indexed": true,
266
- "internalType": "bytes32",
267
- "name": "role",
268
- "type": "bytes32"
269
- },
270
- {
271
- "indexed": true,
272
- "internalType": "bytes32",
273
- "name": "previousAdminRole",
274
- "type": "bytes32"
275
- },
276
- {
277
- "indexed": true,
278
- "internalType": "bytes32",
279
- "name": "newAdminRole",
280
- "type": "bytes32"
281
- }
282
- ],
283
- "name": "RoleAdminChanged",
284
- "type": "event"
285
- },
286
- {
287
- "anonymous": false,
288
- "inputs": [
289
- {
290
- "indexed": true,
291
- "internalType": "bytes32",
292
- "name": "role",
293
- "type": "bytes32"
294
- },
295
- {
296
- "indexed": true,
297
- "internalType": "address",
298
- "name": "account",
299
- "type": "address"
300
- },
301
- {
302
- "indexed": true,
303
- "internalType": "address",
304
- "name": "sender",
305
- "type": "address"
306
- }
307
- ],
308
- "name": "RoleGranted",
309
- "type": "event"
310
- },
311
- {
312
- "anonymous": false,
313
- "inputs": [
314
- {
315
- "indexed": true,
316
- "internalType": "bytes32",
317
- "name": "role",
318
- "type": "bytes32"
319
- },
320
- {
321
- "indexed": true,
322
- "internalType": "address",
323
- "name": "account",
324
- "type": "address"
325
- },
326
- {
327
- "indexed": true,
328
- "internalType": "address",
329
- "name": "sender",
330
- "type": "address"
331
- }
332
- ],
333
- "name": "RoleRevoked",
334
- "type": "event"
335
- },
336
- {
337
- "anonymous": false,
338
- "inputs": [
339
- {
340
- "indexed": false,
341
- "internalType": "bool",
342
- "name": "oldStatus",
343
- "type": "bool"
344
- },
345
- {
346
- "indexed": false,
347
- "internalType": "bool",
348
- "name": "newStatus",
349
- "type": "bool"
350
- }
351
- ],
352
- "name": "UpdateFTokenMintStatusInStabilityMode",
353
- "type": "event"
354
- },
355
- {
356
- "anonymous": false,
357
- "inputs": [
358
- {
359
- "indexed": false,
360
- "internalType": "uint256",
361
- "name": "defaultFeeRatio",
362
- "type": "uint256"
363
- },
364
- {
365
- "indexed": false,
366
- "internalType": "int256",
367
- "name": "extraFeeRatio",
368
- "type": "int256"
369
- }
370
- ],
371
- "name": "UpdateMintFeeRatioFToken",
372
- "type": "event"
373
- },
374
- {
375
- "anonymous": false,
376
- "inputs": [
377
- {
378
- "indexed": false,
379
- "internalType": "uint256",
380
- "name": "defaultFeeRatio",
381
- "type": "uint256"
382
- },
383
- {
384
- "indexed": false,
385
- "internalType": "int256",
386
- "name": "extraFeeRatio",
387
- "type": "int256"
388
- }
389
- ],
390
- "name": "UpdateMintFeeRatioXToken",
391
- "type": "event"
392
- },
393
- {
394
- "anonymous": false,
395
- "inputs": [
396
- {
397
- "indexed": false,
398
- "internalType": "bool",
399
- "name": "oldStatus",
400
- "type": "bool"
401
- },
402
- {
403
- "indexed": false,
404
- "internalType": "bool",
405
- "name": "newStatus",
406
- "type": "bool"
407
- }
408
- ],
409
- "name": "UpdateMintStatus",
410
- "type": "event"
411
- },
412
- {
413
- "anonymous": false,
414
- "inputs": [
415
- {
416
- "indexed": true,
417
- "internalType": "address",
418
- "name": "oldPlatform",
419
- "type": "address"
420
- },
421
- {
422
- "indexed": true,
423
- "internalType": "address",
424
- "name": "newPlatform",
425
- "type": "address"
426
- }
427
- ],
428
- "name": "UpdatePlatform",
429
- "type": "event"
430
- },
431
- {
432
- "anonymous": false,
433
- "inputs": [
434
- {
435
- "indexed": true,
436
- "internalType": "address",
437
- "name": "oldRegistry",
438
- "type": "address"
439
- },
440
- {
441
- "indexed": true,
442
- "internalType": "address",
443
- "name": "newRegistry",
444
- "type": "address"
445
- }
446
- ],
447
- "name": "UpdateRebalancePoolRegistry",
448
- "type": "event"
449
- },
450
- {
451
- "anonymous": false,
452
- "inputs": [
453
- {
454
- "indexed": false,
455
- "internalType": "uint256",
456
- "name": "defaultFeeRatio",
457
- "type": "uint256"
458
- },
459
- {
460
- "indexed": false,
461
- "internalType": "int256",
462
- "name": "extraFeeRatio",
463
- "type": "int256"
464
- }
465
- ],
466
- "name": "UpdateRedeemFeeRatioFToken",
467
- "type": "event"
468
- },
469
- {
470
- "anonymous": false,
471
- "inputs": [
472
- {
473
- "indexed": false,
474
- "internalType": "uint256",
475
- "name": "defaultFeeRatio",
476
- "type": "uint256"
477
- },
478
- {
479
- "indexed": false,
480
- "internalType": "int256",
481
- "name": "extraFeeRatio",
482
- "type": "int256"
483
- }
484
- ],
485
- "name": "UpdateRedeemFeeRatioXToken",
486
- "type": "event"
487
- },
488
- {
489
- "anonymous": false,
490
- "inputs": [
491
- {
492
- "indexed": false,
493
- "internalType": "bool",
494
- "name": "oldStatus",
495
- "type": "bool"
496
- },
497
- {
498
- "indexed": false,
499
- "internalType": "bool",
500
- "name": "newStatus",
501
- "type": "bool"
502
- }
503
- ],
504
- "name": "UpdateRedeemStatus",
505
- "type": "event"
506
- },
507
- {
508
- "anonymous": false,
509
- "inputs": [
510
- {
511
- "indexed": true,
512
- "internalType": "address",
513
- "name": "oldReservePool",
514
- "type": "address"
515
- },
516
- {
517
- "indexed": true,
518
- "internalType": "address",
519
- "name": "newReservePool",
520
- "type": "address"
521
- }
522
- ],
523
- "name": "UpdateReservePool",
524
- "type": "event"
525
- },
526
- {
527
- "anonymous": false,
528
- "inputs": [
529
- {
530
- "indexed": false,
531
- "internalType": "uint256",
532
- "name": "oldRatio",
533
- "type": "uint256"
534
- },
535
- {
536
- "indexed": false,
537
- "internalType": "uint256",
538
- "name": "newRatio",
539
- "type": "uint256"
540
- }
541
- ],
542
- "name": "UpdateStabilityRatio",
543
- "type": "event"
544
- },
545
- {
546
- "anonymous": false,
547
- "inputs": [
548
- {
549
- "indexed": false,
550
- "internalType": "bool",
551
- "name": "oldStatus",
552
- "type": "bool"
553
- },
554
- {
555
- "indexed": false,
556
- "internalType": "bool",
557
- "name": "newStatus",
558
- "type": "bool"
559
- }
560
- ],
561
- "name": "UpdateXTokenRedeemStatusInStabilityMode",
562
- "type": "event"
563
- },
564
- {
565
- "inputs": [],
566
- "name": "DEFAULT_ADMIN_ROLE",
567
- "outputs": [
568
- {
569
- "internalType": "bytes32",
570
- "name": "",
571
- "type": "bytes32"
572
- }
573
- ],
574
- "stateMutability": "view",
575
- "type": "function"
576
- },
577
- {
578
- "inputs": [],
579
- "name": "EMERGENCY_DAO_ROLE",
580
- "outputs": [
581
- {
582
- "internalType": "bytes32",
583
- "name": "",
584
- "type": "bytes32"
585
- }
586
- ],
587
- "stateMutability": "view",
588
- "type": "function"
589
- },
590
- {
591
- "inputs": [],
592
- "name": "baseToken",
593
- "outputs": [
594
- {
595
- "internalType": "address",
596
- "name": "",
597
- "type": "address"
598
- }
599
- ],
600
- "stateMutability": "view",
601
- "type": "function"
602
- },
603
- {
604
- "inputs": [
605
- {
606
- "internalType": "address",
607
- "name": "_fxUSD",
608
- "type": "address"
609
- }
610
- ],
611
- "name": "enableFxUSD",
612
- "outputs": [],
613
- "stateMutability": "nonpayable",
614
- "type": "function"
615
- },
616
- {
617
- "inputs": [],
618
- "name": "fToken",
619
- "outputs": [
620
- {
621
- "internalType": "address",
622
- "name": "",
623
- "type": "address"
624
- }
625
- ],
626
- "stateMutability": "view",
627
- "type": "function"
628
- },
629
- {
630
- "inputs": [],
631
- "name": "fTokenMintFeeRatio",
632
- "outputs": [
633
- {
634
- "internalType": "uint256",
635
- "name": "defaultFee",
636
- "type": "uint256"
637
- },
638
- {
639
- "internalType": "int256",
640
- "name": "deltaFee",
641
- "type": "int256"
642
- }
643
- ],
644
- "stateMutability": "view",
645
- "type": "function"
646
- },
647
- {
648
- "inputs": [],
649
- "name": "fTokenMintPausedInStabilityMode",
650
- "outputs": [
651
- {
652
- "internalType": "bool",
653
- "name": "",
654
- "type": "bool"
655
- }
656
- ],
657
- "stateMutability": "view",
658
- "type": "function"
659
- },
660
- {
661
- "inputs": [],
662
- "name": "fTokenRedeemFeeRatio",
663
- "outputs": [
664
- {
665
- "internalType": "uint256",
666
- "name": "defaultFee",
667
- "type": "uint256"
668
- },
669
- {
670
- "internalType": "int256",
671
- "name": "deltaFee",
672
- "type": "int256"
673
- }
674
- ],
675
- "stateMutability": "view",
676
- "type": "function"
677
- },
678
- {
679
- "inputs": [],
680
- "name": "fxUSD",
681
- "outputs": [
682
- {
683
- "internalType": "address",
684
- "name": "",
685
- "type": "address"
686
- }
687
- ],
688
- "stateMutability": "view",
689
- "type": "function"
690
- },
691
- {
692
- "inputs": [
693
- {
694
- "internalType": "bytes32",
695
- "name": "role",
696
- "type": "bytes32"
697
- }
698
- ],
699
- "name": "getRoleAdmin",
700
- "outputs": [
701
- {
702
- "internalType": "bytes32",
703
- "name": "",
704
- "type": "bytes32"
705
- }
706
- ],
707
- "stateMutability": "view",
708
- "type": "function"
709
- },
710
- {
711
- "inputs": [
712
- {
713
- "internalType": "bytes32",
714
- "name": "role",
715
- "type": "bytes32"
716
- },
717
- {
718
- "internalType": "address",
719
- "name": "account",
720
- "type": "address"
721
- }
722
- ],
723
- "name": "grantRole",
724
- "outputs": [],
725
- "stateMutability": "nonpayable",
726
- "type": "function"
727
- },
728
- {
729
- "inputs": [
730
- {
731
- "internalType": "bytes32",
732
- "name": "role",
733
- "type": "bytes32"
734
- },
735
- {
736
- "internalType": "address",
737
- "name": "account",
738
- "type": "address"
739
- }
740
- ],
741
- "name": "hasRole",
742
- "outputs": [
743
- {
744
- "internalType": "bool",
745
- "name": "",
746
- "type": "bool"
747
- }
748
- ],
749
- "stateMutability": "view",
750
- "type": "function"
751
- },
752
- {
753
- "inputs": [
754
- {
755
- "internalType": "address",
756
- "name": "_platform",
757
- "type": "address"
758
- },
759
- {
760
- "internalType": "address",
761
- "name": "_reservePool",
762
- "type": "address"
763
- },
764
- {
765
- "internalType": "address",
766
- "name": "_registry",
767
- "type": "address"
768
- }
769
- ],
770
- "name": "initialize",
771
- "outputs": [],
772
- "stateMutability": "nonpayable",
773
- "type": "function"
774
- },
775
- {
776
- "inputs": [
777
- {
778
- "internalType": "uint256",
779
- "name": "_baseIn",
780
- "type": "uint256"
781
- },
782
- {
783
- "internalType": "address",
784
- "name": "_recipient",
785
- "type": "address"
786
- },
787
- {
788
- "internalType": "uint256",
789
- "name": "_minFTokenMinted",
790
- "type": "uint256"
791
- }
792
- ],
793
- "name": "mintFToken",
794
- "outputs": [
795
- {
796
- "internalType": "uint256",
797
- "name": "_fTokenMinted",
798
- "type": "uint256"
799
- }
800
- ],
801
- "stateMutability": "nonpayable",
802
- "type": "function"
803
- },
804
- {
805
- "inputs": [],
806
- "name": "mintPaused",
807
- "outputs": [
808
- {
809
- "internalType": "bool",
810
- "name": "",
811
- "type": "bool"
812
- }
813
- ],
814
- "stateMutability": "view",
815
- "type": "function"
816
- },
817
- {
818
- "inputs": [
819
- {
820
- "internalType": "uint256",
821
- "name": "_baseIn",
822
- "type": "uint256"
823
- },
824
- {
825
- "internalType": "address",
826
- "name": "_recipient",
827
- "type": "address"
828
- },
829
- {
830
- "internalType": "uint256",
831
- "name": "_minXTokenMinted",
832
- "type": "uint256"
833
- }
834
- ],
835
- "name": "mintXToken",
836
- "outputs": [
837
- {
838
- "internalType": "uint256",
839
- "name": "_xTokenMinted",
840
- "type": "uint256"
841
- },
842
- {
843
- "internalType": "uint256",
844
- "name": "_bonus",
845
- "type": "uint256"
846
- }
847
- ],
848
- "stateMutability": "nonpayable",
849
- "type": "function"
850
- },
851
- {
852
- "inputs": [],
853
- "name": "platform",
854
- "outputs": [
855
- {
856
- "internalType": "address",
857
- "name": "",
858
- "type": "address"
859
- }
860
- ],
861
- "stateMutability": "view",
862
- "type": "function"
863
- },
864
- {
865
- "inputs": [
866
- {
867
- "internalType": "uint256",
868
- "name": "_fTokenIn",
869
- "type": "uint256"
870
- },
871
- {
872
- "internalType": "address",
873
- "name": "_recipient",
874
- "type": "address"
875
- },
876
- {
877
- "internalType": "uint256",
878
- "name": "_minBaseOut",
879
- "type": "uint256"
880
- }
881
- ],
882
- "name": "redeemFToken",
883
- "outputs": [
884
- {
885
- "internalType": "uint256",
886
- "name": "_baseOut",
887
- "type": "uint256"
888
- },
889
- {
890
- "internalType": "uint256",
891
- "name": "_bonus",
892
- "type": "uint256"
893
- }
894
- ],
895
- "stateMutability": "nonpayable",
896
- "type": "function"
897
- },
898
- {
899
- "inputs": [],
900
- "name": "redeemPaused",
901
- "outputs": [
902
- {
903
- "internalType": "bool",
904
- "name": "",
905
- "type": "bool"
906
- }
907
- ],
908
- "stateMutability": "view",
909
- "type": "function"
910
- },
911
- {
912
- "inputs": [
913
- {
914
- "internalType": "uint256",
915
- "name": "_xTokenIn",
916
- "type": "uint256"
917
- },
918
- {
919
- "internalType": "address",
920
- "name": "_recipient",
921
- "type": "address"
922
- },
923
- {
924
- "internalType": "uint256",
925
- "name": "_minBaseOut",
926
- "type": "uint256"
927
- }
928
- ],
929
- "name": "redeemXToken",
930
- "outputs": [
931
- {
932
- "internalType": "uint256",
933
- "name": "_baseOut",
934
- "type": "uint256"
935
- }
936
- ],
937
- "stateMutability": "nonpayable",
938
- "type": "function"
939
- },
940
- {
941
- "inputs": [],
942
- "name": "registry",
943
- "outputs": [
944
- {
945
- "internalType": "address",
946
- "name": "",
947
- "type": "address"
948
- }
949
- ],
950
- "stateMutability": "view",
951
- "type": "function"
952
- },
953
- {
954
- "inputs": [
955
- {
956
- "internalType": "bytes32",
957
- "name": "role",
958
- "type": "bytes32"
959
- },
960
- {
961
- "internalType": "address",
962
- "name": "account",
963
- "type": "address"
964
- }
965
- ],
966
- "name": "renounceRole",
967
- "outputs": [],
968
- "stateMutability": "nonpayable",
969
- "type": "function"
970
- },
971
- {
972
- "inputs": [],
973
- "name": "reservePool",
974
- "outputs": [
975
- {
976
- "internalType": "address",
977
- "name": "",
978
- "type": "address"
979
- }
980
- ],
981
- "stateMutability": "view",
982
- "type": "function"
983
- },
984
- {
985
- "inputs": [
986
- {
987
- "internalType": "bytes32",
988
- "name": "role",
989
- "type": "bytes32"
990
- },
991
- {
992
- "internalType": "address",
993
- "name": "account",
994
- "type": "address"
995
- }
996
- ],
997
- "name": "revokeRole",
998
- "outputs": [],
999
- "stateMutability": "nonpayable",
1000
- "type": "function"
1001
- },
1002
- {
1003
- "inputs": [],
1004
- "name": "stabilityRatio",
1005
- "outputs": [
1006
- {
1007
- "internalType": "uint256",
1008
- "name": "",
1009
- "type": "uint256"
1010
- }
1011
- ],
1012
- "stateMutability": "view",
1013
- "type": "function"
1014
- },
1015
- {
1016
- "inputs": [
1017
- {
1018
- "internalType": "bytes4",
1019
- "name": "interfaceId",
1020
- "type": "bytes4"
1021
- }
1022
- ],
1023
- "name": "supportsInterface",
1024
- "outputs": [
1025
- {
1026
- "internalType": "bool",
1027
- "name": "",
1028
- "type": "bool"
1029
- }
1030
- ],
1031
- "stateMutability": "view",
1032
- "type": "function"
1033
- },
1034
- {
1035
- "inputs": [],
1036
- "name": "treasury",
1037
- "outputs": [
1038
- {
1039
- "internalType": "address",
1040
- "name": "",
1041
- "type": "address"
1042
- }
1043
- ],
1044
- "stateMutability": "view",
1045
- "type": "function"
1046
- },
1047
- {
1048
- "inputs": [
1049
- {
1050
- "internalType": "bool",
1051
- "name": "_newStatus",
1052
- "type": "bool"
1053
- }
1054
- ],
1055
- "name": "updateFTokenMintStatusInStabilityMode",
1056
- "outputs": [],
1057
- "stateMutability": "nonpayable",
1058
- "type": "function"
1059
- },
1060
- {
1061
- "inputs": [
1062
- {
1063
- "internalType": "uint128",
1064
- "name": "_defaultFeeRatio",
1065
- "type": "uint128"
1066
- },
1067
- {
1068
- "internalType": "int128",
1069
- "name": "_extraFeeRatio",
1070
- "type": "int128"
1071
- },
1072
- {
1073
- "internalType": "bool",
1074
- "name": "_isFToken",
1075
- "type": "bool"
1076
- }
1077
- ],
1078
- "name": "updateMintFeeRatio",
1079
- "outputs": [],
1080
- "stateMutability": "nonpayable",
1081
- "type": "function"
1082
- },
1083
- {
1084
- "inputs": [
1085
- {
1086
- "internalType": "bool",
1087
- "name": "_newStatus",
1088
- "type": "bool"
1089
- }
1090
- ],
1091
- "name": "updateMintStatus",
1092
- "outputs": [],
1093
- "stateMutability": "nonpayable",
1094
- "type": "function"
1095
- },
1096
- {
1097
- "inputs": [
1098
- {
1099
- "internalType": "address",
1100
- "name": "_newPlatform",
1101
- "type": "address"
1102
- }
1103
- ],
1104
- "name": "updatePlatform",
1105
- "outputs": [],
1106
- "stateMutability": "nonpayable",
1107
- "type": "function"
1108
- },
1109
- {
1110
- "inputs": [
1111
- {
1112
- "internalType": "address",
1113
- "name": "_newRegistry",
1114
- "type": "address"
1115
- }
1116
- ],
1117
- "name": "updateRebalancePoolRegistry",
1118
- "outputs": [],
1119
- "stateMutability": "nonpayable",
1120
- "type": "function"
1121
- },
1122
- {
1123
- "inputs": [
1124
- {
1125
- "internalType": "uint256",
1126
- "name": "_defaultFeeRatio",
1127
- "type": "uint256"
1128
- },
1129
- {
1130
- "internalType": "int256",
1131
- "name": "_extraFeeRatio",
1132
- "type": "int256"
1133
- },
1134
- {
1135
- "internalType": "bool",
1136
- "name": "_isFToken",
1137
- "type": "bool"
1138
- }
1139
- ],
1140
- "name": "updateRedeemFeeRatio",
1141
- "outputs": [],
1142
- "stateMutability": "nonpayable",
1143
- "type": "function"
1144
- },
1145
- {
1146
- "inputs": [
1147
- {
1148
- "internalType": "bool",
1149
- "name": "_newStatus",
1150
- "type": "bool"
1151
- }
1152
- ],
1153
- "name": "updateRedeemStatus",
1154
- "outputs": [],
1155
- "stateMutability": "nonpayable",
1156
- "type": "function"
1157
- },
1158
- {
1159
- "inputs": [
1160
- {
1161
- "internalType": "address",
1162
- "name": "_newReservePool",
1163
- "type": "address"
1164
- }
1165
- ],
1166
- "name": "updateReservePool",
1167
- "outputs": [],
1168
- "stateMutability": "nonpayable",
1169
- "type": "function"
1170
- },
1171
- {
1172
- "inputs": [
1173
- {
1174
- "internalType": "uint256",
1175
- "name": "_newRatio",
1176
- "type": "uint256"
1177
- }
1178
- ],
1179
- "name": "updateStabilityRatio",
1180
- "outputs": [],
1181
- "stateMutability": "nonpayable",
1182
- "type": "function"
1183
- },
1184
- {
1185
- "inputs": [
1186
- {
1187
- "internalType": "bool",
1188
- "name": "_newStatus",
1189
- "type": "bool"
1190
- }
1191
- ],
1192
- "name": "updateXTokenRedeemStatusInStabilityMode",
1193
- "outputs": [],
1194
- "stateMutability": "nonpayable",
1195
- "type": "function"
1196
- },
1197
- {
1198
- "inputs": [],
1199
- "name": "xToken",
1200
- "outputs": [
1201
- {
1202
- "internalType": "address",
1203
- "name": "",
1204
- "type": "address"
1205
- }
1206
- ],
1207
- "stateMutability": "view",
1208
- "type": "function"
1209
- },
1210
- {
1211
- "inputs": [],
1212
- "name": "xTokenMintFeeRatio",
1213
- "outputs": [
1214
- {
1215
- "internalType": "uint256",
1216
- "name": "defaultFee",
1217
- "type": "uint256"
1218
- },
1219
- {
1220
- "internalType": "int256",
1221
- "name": "deltaFee",
1222
- "type": "int256"
1223
- }
1224
- ],
1225
- "stateMutability": "view",
1226
- "type": "function"
1227
- },
1228
- {
1229
- "inputs": [],
1230
- "name": "xTokenRedeemFeeRatio",
1231
- "outputs": [
1232
- {
1233
- "internalType": "uint256",
1234
- "name": "defaultFee",
1235
- "type": "uint256"
1236
- },
1237
- {
1238
- "internalType": "int256",
1239
- "name": "deltaFee",
1240
- "type": "int256"
1241
- }
1242
- ],
1243
- "stateMutability": "view",
1244
- "type": "function"
1245
- },
1246
- {
1247
- "inputs": [],
1248
- "name": "xTokenRedeemPausedInStabilityMode",
1249
- "outputs": [
1250
- {
1251
- "internalType": "bool",
1252
- "name": "",
1253
- "type": "bool"
1254
- }
1255
- ],
1256
- "stateMutability": "view",
1257
- "type": "function"
1258
- },
1259
- {
1260
- "anonymous": false,
1261
- "inputs": [
1262
- {
1263
- "indexed": true,
1264
- "internalType": "int256",
1265
- "name": "current",
1266
- "type": "int256"
1267
- },
1268
- {
1269
- "indexed": true,
1270
- "internalType": "uint256",
1271
- "name": "roundId",
1272
- "type": "uint256"
1273
- },
1274
- {
1275
- "indexed": false,
1276
- "internalType": "uint256",
1277
- "name": "updatedAt",
1278
- "type": "uint256"
1279
- }
1280
- ],
1281
- "name": "AnswerUpdated",
1282
- "type": "event"
1283
- }
1284
- ]