@paraswap/dex-lib 3.8.13 → 3.8.15

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 (287) hide show
  1. package/.vscode/launch.json +16 -0
  2. package/.vscode/settings.json +3 -0
  3. package/build/abi/Uncompressor.json +250 -0
  4. package/build/abi/concentrator/arUSD5115.json +1746 -0
  5. package/build/abi/fx-protocol/FxMarket.json +1284 -0
  6. package/build/abi/fx-protocol/weETHOralce.json +676 -0
  7. package/build/abi/integral/factory.json +333 -0
  8. package/build/abi/integral/oracle.json +501 -0
  9. package/build/abi/{inception/inception-ineth-pool.json → integral/pool.json} +522 -543
  10. package/build/abi/integral/relayer.json +1536 -0
  11. package/build/abi/maverick-v2/MaverickV2Router.json +778 -0
  12. package/build/dex/aave-v1/aave-v1.d.ts +1 -2
  13. package/build/dex/aave-v1/aave-v1.js +0 -22
  14. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  15. package/build/dex/bProtocol.d.ts +18 -0
  16. package/build/dex/bProtocol.js +39 -0
  17. package/build/dex/bProtocol.js.map +1 -0
  18. package/build/dex/bancor.d.ts +26 -0
  19. package/build/dex/bancor.js +58 -0
  20. package/build/dex/bancor.js.map +1 -0
  21. package/build/dex/compound.d.ts +18 -0
  22. package/build/dex/compound.js +46 -0
  23. package/build/dex/compound.js.map +1 -0
  24. package/build/dex/concentrator-arusd/concentrator-arusd-event.d.ts +17 -0
  25. package/build/dex/concentrator-arusd/concentrator-arusd-event.js +66 -0
  26. package/build/dex/concentrator-arusd/concentrator-arusd-event.js.map +1 -0
  27. package/build/dex/concentrator-arusd/concentrator-arusd.d.ts +6 -3
  28. package/build/dex/concentrator-arusd/concentrator-arusd.js +45 -41
  29. package/build/dex/concentrator-arusd/concentrator-arusd.js.map +1 -1
  30. package/build/dex/concentrator-arusd/config.d.ts +1 -2
  31. package/build/dex/concentrator-arusd/config.js +2 -6
  32. package/build/dex/concentrator-arusd/config.js.map +1 -1
  33. package/build/dex/concentrator-arusd/types.d.ts +7 -3
  34. package/build/dex/concentrator-arusd/utils.d.ts +4 -0
  35. package/build/dex/concentrator-arusd/utils.js +27 -0
  36. package/build/dex/concentrator-arusd/utils.js.map +1 -0
  37. package/build/dex/curve-v2.d.ts +58 -0
  38. package/build/dex/curve-v2.js +180 -0
  39. package/build/dex/curve-v2.js.map +1 -0
  40. package/build/dex/dodo-v1.d.ts +33 -0
  41. package/build/dex/dodo-v1.js +63 -0
  42. package/build/dex/dodo-v1.js.map +1 -0
  43. package/build/dex/etherfi/etherfi.d.ts +26 -0
  44. package/build/dex/etherfi/etherfi.js +96 -0
  45. package/build/dex/etherfi/etherfi.js.map +1 -0
  46. package/build/dex/fx-protocol-rusd/config.d.ts +1 -2
  47. package/build/dex/fx-protocol-rusd/config.js +3 -6
  48. package/build/dex/fx-protocol-rusd/config.js.map +1 -1
  49. package/build/dex/fx-protocol-rusd/fx-protocol-rusd-event.d.ts +18 -0
  50. package/build/dex/fx-protocol-rusd/fx-protocol-rusd-event.js +71 -0
  51. package/build/dex/fx-protocol-rusd/fx-protocol-rusd-event.js.map +1 -0
  52. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.d.ts +10 -10
  53. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js +75 -70
  54. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js.map +1 -1
  55. package/build/dex/fx-protocol-rusd/types.d.ts +6 -3
  56. package/build/dex/fx-protocol-rusd/utils.d.ts +4 -0
  57. package/build/dex/fx-protocol-rusd/utils.js +26 -0
  58. package/build/dex/fx-protocol-rusd/utils.js.map +1 -0
  59. package/build/dex/index.js +4 -0
  60. package/build/dex/index.js.map +1 -1
  61. package/build/dex/{infusion → integral}/config.d.ts +1 -1
  62. package/build/dex/integral/config.js +20 -0
  63. package/build/dex/integral/config.js.map +1 -0
  64. package/build/dex/integral/context.d.ts +40 -0
  65. package/build/dex/integral/context.js +158 -0
  66. package/build/dex/integral/context.js.map +1 -0
  67. package/build/dex/integral/helpers.d.ts +17 -0
  68. package/build/dex/integral/helpers.js +157 -0
  69. package/build/dex/integral/helpers.js.map +1 -0
  70. package/build/dex/integral/integral-factory.d.ts +24 -0
  71. package/build/dex/integral/integral-factory.js +95 -0
  72. package/build/dex/integral/integral-factory.js.map +1 -0
  73. package/build/dex/integral/integral-pool.d.ts +50 -0
  74. package/build/dex/integral/integral-pool.js +149 -0
  75. package/build/dex/integral/integral-pool.js.map +1 -0
  76. package/build/dex/integral/integral-pricing.d.ts +18 -0
  77. package/build/dex/integral/integral-pricing.js +114 -0
  78. package/build/dex/integral/integral-pricing.js.map +1 -0
  79. package/build/dex/integral/integral-relayer.d.ts +42 -0
  80. package/build/dex/integral/integral-relayer.js +192 -0
  81. package/build/dex/integral/integral-relayer.js.map +1 -0
  82. package/build/dex/integral/integral-token.d.ts +27 -0
  83. package/build/dex/integral/integral-token.js +59 -0
  84. package/build/dex/integral/integral-token.js.map +1 -0
  85. package/build/dex/{inception/inception-native.d.ts → integral/integral.d.ts} +19 -21
  86. package/build/dex/integral/integral.js +377 -0
  87. package/build/dex/integral/integral.js.map +1 -0
  88. package/build/dex/integral/types.d.ts +84 -0
  89. package/build/dex/integral/types.js +9 -0
  90. package/build/dex/integral/types.js.map +1 -0
  91. package/build/dex/integral/utils-e2e.d.ts +9 -0
  92. package/build/dex/integral/utils-e2e.js +131 -0
  93. package/build/dex/integral/utils-e2e.js.map +1 -0
  94. package/build/dex/integral/utils.d.ts +17 -0
  95. package/build/dex/integral/utils.js +94 -0
  96. package/build/dex/integral/utils.js.map +1 -0
  97. package/build/dex/lido.d.ts +19 -0
  98. package/build/dex/lido.js +42 -0
  99. package/build/dex/lido.js.map +1 -0
  100. package/build/dex/onebit.d.ts +25 -0
  101. package/build/dex/onebit.js +42 -0
  102. package/build/dex/onebit.js.map +1 -0
  103. package/build/dex/oswap/oswap.js +4 -1
  104. package/build/dex/oswap/oswap.js.map +1 -1
  105. package/build/dex/platypus/platypus.d.ts +1 -2
  106. package/build/dex/platypus/platypus.js +0 -31
  107. package/build/dex/platypus/platypus.js.map +1 -1
  108. package/build/dex/sdai/config.d.ts +11 -0
  109. package/build/dex/sdai/config.js +21 -0
  110. package/build/dex/sdai/config.js.map +1 -0
  111. package/build/dex/sdai/constants.d.ts +2 -0
  112. package/build/dex/sdai/constants.js +6 -0
  113. package/build/dex/sdai/constants.js.map +1 -0
  114. package/build/dex/sdai/scripts/validate-state.d.ts +1 -0
  115. package/build/dex/sdai/scripts/validate-state.js +102 -0
  116. package/build/dex/sdai/scripts/validate-state.js.map +1 -0
  117. package/build/dex/sdai/sdai-pool.d.ts +16 -0
  118. package/build/dex/sdai/sdai-pool.js +85 -0
  119. package/build/dex/sdai/sdai-pool.js.map +1 -0
  120. package/build/dex/sdai/sdai.d.ts +51 -0
  121. package/build/dex/sdai/sdai.js +172 -0
  122. package/build/dex/sdai/sdai.js.map +1 -0
  123. package/build/dex/sdai/types.d.ts +21 -0
  124. package/build/dex/sdai/types.js +11 -0
  125. package/build/dex/sdai/types.js.map +1 -0
  126. package/build/dex/sdai/utils.d.ts +4 -0
  127. package/build/dex/sdai/utils.js +39 -0
  128. package/build/dex/sdai/utils.js.map +1 -0
  129. package/build/dex/smoothy.d.ts +26 -0
  130. package/build/dex/smoothy.js +48 -0
  131. package/build/dex/smoothy.js.map +1 -0
  132. package/build/dex/stable-pool.d.ts +28 -0
  133. package/build/dex/stable-pool.js +62 -0
  134. package/build/dex/stable-pool.js.map +1 -0
  135. package/build/dex/swaap-v1/swaap-v1.d.ts +1 -2
  136. package/build/dex/swaap-v1/swaap-v1.js +0 -10
  137. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  138. package/build/dex/trader-joe-v2.1.d.ts +43 -0
  139. package/build/dex/trader-joe-v2.1.js +79 -0
  140. package/build/dex/trader-joe-v2.1.js.map +1 -0
  141. package/build/executor/Executor01BytecodeBuilder.js +4 -5
  142. package/build/executor/Executor01BytecodeBuilder.js.map +1 -1
  143. package/build/executor/Executor02BytecodeBuilder.js +2 -3
  144. package/build/executor/Executor02BytecodeBuilder.js.map +1 -1
  145. package/build/executor/Executor03BytecodeBuilder.js +24 -14
  146. package/build/executor/Executor03BytecodeBuilder.js.map +1 -1
  147. package/build/executor/compressor/Compressor.d.ts +23 -0
  148. package/build/executor/compressor/Compressor.js +144 -0
  149. package/build/executor/compressor/Compressor.js.map +1 -0
  150. package/build/executor/compressor/compress.d.ts +17 -0
  151. package/build/executor/compressor/compress.js +187 -0
  152. package/build/executor/compressor/compress.js.map +1 -0
  153. package/build/executor/compressor/compress_functions/addressSubstitution.d.ts +6 -0
  154. package/build/executor/compressor/compress_functions/addressSubstitution.js +29 -0
  155. package/build/executor/compressor/compress_functions/addressSubstitution.js.map +1 -0
  156. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.d.ts +10 -0
  157. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.js +40 -0
  158. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.js.map +1 -0
  159. package/build/executor/compressor/compress_functions/byteSubstitution.d.ts +11 -0
  160. package/build/executor/compressor/compress_functions/byteSubstitution.js +64 -0
  161. package/build/executor/compressor/compress_functions/byteSubstitution.js.map +1 -0
  162. package/build/executor/compressor/compress_functions/ffSubstitution.d.ts +7 -0
  163. package/build/executor/compressor/compress_functions/ffSubstitution.js +54 -0
  164. package/build/executor/compressor/compress_functions/ffSubstitution.js.map +1 -0
  165. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.d.ts +8 -0
  166. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.js +67 -0
  167. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.js.map +1 -0
  168. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.d.ts +8 -0
  169. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.js +61 -0
  170. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.js.map +1 -0
  171. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.d.ts +6 -0
  172. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.js +37 -0
  173. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.js.map +1 -0
  174. package/build/executor/compressor/compress_functions/searchUnusedBytes.d.ts +9 -0
  175. package/build/executor/compressor/compress_functions/searchUnusedBytes.js +33 -0
  176. package/build/executor/compressor/compress_functions/searchUnusedBytes.js.map +1 -0
  177. package/build/executor/compressor/fetchSaved.d.ts +0 -0
  178. package/build/executor/compressor/fetchSaved.js +17 -0
  179. package/build/executor/compressor/fetchSaved.js.map +1 -0
  180. package/build/executor/compressor/utils/computeCostL2.d.ts +2 -0
  181. package/build/executor/compressor/utils/computeCostL2.js +14 -0
  182. package/build/executor/compressor/utils/computeCostL2.js.map +1 -0
  183. package/build/executor/compressor/utils/findLongestDuplicatedString.d.ts +2 -0
  184. package/build/executor/compressor/utils/findLongestDuplicatedString.js +30 -0
  185. package/build/executor/compressor/utils/findLongestDuplicatedString.js.map +1 -0
  186. package/build/executor/compressor/utils/getAllIndexes.d.ts +2 -0
  187. package/build/executor/compressor/utils/getAllIndexes.js +12 -0
  188. package/build/executor/compressor/utils/getAllIndexes.js.map +1 -0
  189. package/build/executor/compressor/utils/getByteForAddress.d.ts +2 -0
  190. package/build/executor/compressor/utils/getByteForAddress.js +14 -0
  191. package/build/executor/compressor/utils/getByteForAddress.js.map +1 -0
  192. package/build/executor/compressor/utils/intTo2Bytes.d.ts +2 -0
  193. package/build/executor/compressor/utils/intTo2Bytes.js +14 -0
  194. package/build/executor/compressor/utils/intTo2Bytes.js.map +1 -0
  195. package/build/executor/compressor/utils/intTo3Bytes.d.ts +2 -0
  196. package/build/executor/compressor/utils/intTo3Bytes.js +18 -0
  197. package/build/executor/compressor/utils/intTo3Bytes.js.map +1 -0
  198. package/build/executor/compressor/utils/intToByte.d.ts +2 -0
  199. package/build/executor/compressor/utils/intToByte.js +10 -0
  200. package/build/executor/compressor/utils/intToByte.js.map +1 -0
  201. package/build/generic-swap-transaction-builder.d.ts +1 -1
  202. package/build/generic-swap-transaction-builder.js +10 -10
  203. package/build/generic-swap-transaction-builder.js.map +1 -1
  204. package/package.json +1 -1
  205. package/src/abi/concentrator/arUSD.json +568 -0
  206. package/src/abi/concentrator/arUSD5115.json +1746 -0
  207. package/src/abi/fx-protocol/FxMarket.json +1284 -0
  208. package/src/abi/fx-protocol/FxUSD.json +1227 -0
  209. package/src/abi/fx-protocol/weETHOralce.json +676 -0
  210. package/src/dex/concentrator-arusd/concentrator-arusd-e2e.test.ts +92 -0
  211. package/src/dex/concentrator-arusd/concentrator-arusd-event.ts +100 -0
  212. package/src/dex/concentrator-arusd/concentrator-arusd-integration.test.ts +104 -0
  213. package/src/dex/concentrator-arusd/concentrator-arusd.ts +269 -0
  214. package/src/dex/concentrator-arusd/concetrator-arusd-events.test.ts +97 -0
  215. package/src/dex/concentrator-arusd/config.ts +13 -0
  216. package/src/dex/concentrator-arusd/types.ts +16 -0
  217. package/src/dex/concentrator-arusd/utils.ts +36 -0
  218. package/src/dex/fx-protocol-rusd/config.ts +14 -0
  219. package/src/dex/fx-protocol-rusd/fx-protocol-e2e.test.ts +96 -0
  220. package/src/dex/fx-protocol-rusd/fx-protocol-events.test.ts +101 -0
  221. package/src/dex/fx-protocol-rusd/fx-protocol-integration.test.ts +104 -0
  222. package/src/dex/fx-protocol-rusd/fx-protocol-rusd-event.ts +112 -0
  223. package/src/dex/fx-protocol-rusd/fx-protocol-rusd.ts +282 -0
  224. package/src/dex/fx-protocol-rusd/types.ts +16 -0
  225. package/src/dex/fx-protocol-rusd/utils.ts +47 -0
  226. package/src/dex/index.ts +4 -0
  227. package/src/dex/wsteth/wsteth-integration.test.ts +0 -1
  228. package/src/executor/Executor01BytecodeBuilder.ts +4 -8
  229. package/src/executor/Executor02BytecodeBuilder.ts +2 -7
  230. package/src/executor/Executor03BytecodeBuilder.ts +34 -19
  231. package/src/generic-swap-transaction-builder.ts +3 -5
  232. package/tests/constants-e2e.ts +10 -0
  233. package/build/abi/inception/inception-ineth.json +0 -609
  234. package/build/abi/inception/inception-ratio-feed.json +0 -93
  235. package/build/abi/inception/inception-vault.json +0 -991
  236. package/build/abi/infusion/InfusionFactory.json +0 -147
  237. package/build/abi/infusion/InfusionPair.json +0 -658
  238. package/build/abi/infusion/InfusionRouter.json +0 -442
  239. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  240. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  241. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  242. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  243. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  244. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  245. package/build/dex/idle-dao/scripts.d.ts +0 -9
  246. package/build/dex/idle-dao/scripts.js +0 -552
  247. package/build/dex/idle-dao/scripts.js.map +0 -1
  248. package/build/dex/inception/config.d.ts +0 -5
  249. package/build/dex/inception/config.js +0 -112
  250. package/build/dex/inception/config.js.map +0 -1
  251. package/build/dex/inception/inception-event-pool.d.ts +0 -23
  252. package/build/dex/inception/inception-event-pool.js +0 -34
  253. package/build/dex/inception/inception-event-pool.js.map +0 -1
  254. package/build/dex/inception/inception-native.js +0 -131
  255. package/build/dex/inception/inception-native.js.map +0 -1
  256. package/build/dex/inception/inception-pool.d.ts +0 -18
  257. package/build/dex/inception/inception-pool.js +0 -32
  258. package/build/dex/inception/inception-pool.js.map +0 -1
  259. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  260. package/build/dex/inception/inception-price-feed.js +0 -51
  261. package/build/dex/inception/inception-price-feed.js.map +0 -1
  262. package/build/dex/inception/inception.d.ts +0 -44
  263. package/build/dex/inception/inception.js +0 -162
  264. package/build/dex/inception/inception.js.map +0 -1
  265. package/build/dex/inception/tokens.d.ts +0 -9
  266. package/build/dex/inception/tokens.js +0 -28
  267. package/build/dex/inception/tokens.js.map +0 -1
  268. package/build/dex/inception/types.d.ts +0 -22
  269. package/build/dex/inception/types.js +0 -3
  270. package/build/dex/inception/types.js.map +0 -1
  271. package/build/dex/inception/utils.d.ts +0 -7
  272. package/build/dex/inception/utils.js +0 -58
  273. package/build/dex/inception/utils.js.map +0 -1
  274. package/build/dex/infusion/config.js +0 -25
  275. package/build/dex/infusion/config.js.map +0 -1
  276. package/build/dex/infusion/infusion-stable-pool.d.ts +0 -4
  277. package/build/dex/infusion/infusion-stable-pool.js +0 -74
  278. package/build/dex/infusion/infusion-stable-pool.js.map +0 -1
  279. package/build/dex/infusion/infusion.d.ts +0 -54
  280. package/build/dex/infusion/infusion.js +0 -532
  281. package/build/dex/infusion/infusion.js.map +0 -1
  282. package/build/dex/infusion/types.d.ts +0 -47
  283. package/build/dex/infusion/types.js +0 -3
  284. package/build/dex/infusion/types.js.map +0 -1
  285. package/build/dex/infusion/utils/isStablePair.d.ts +0 -2
  286. package/build/dex/infusion/utils/isStablePair.js +0 -18
  287. package/build/dex/infusion/utils/isStablePair.js.map +0 -1
@@ -0,0 +1,1284 @@
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
+ ]