@paraswap/dex-lib 3.7.0 → 3.7.2

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 (304) hide show
  1. package/build/abi/Uncompressor.json +250 -0
  2. package/build/dex/aave-v1/aave-v1.d.ts +1 -2
  3. package/build/dex/aave-v1/aave-v1.js +0 -23
  4. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  5. package/build/dex/balancer-v2/balancer-v2.js +41 -19
  6. package/build/dex/balancer-v2/balancer-v2.js.map +1 -1
  7. package/build/dex/compound.js +1 -1
  8. package/build/dex/compound.js.map +1 -1
  9. package/build/dex/etherfi/etherfi.d.ts +26 -0
  10. package/build/dex/etherfi/etherfi.js +96 -0
  11. package/build/dex/etherfi/etherfi.js.map +1 -0
  12. package/build/dex/platypus/platypus.d.ts +1 -2
  13. package/build/dex/platypus/platypus.js +0 -45
  14. package/build/dex/platypus/platypus.js.map +1 -1
  15. package/build/dex/sdai/config.d.ts +11 -0
  16. package/build/dex/sdai/config.js +21 -0
  17. package/build/dex/sdai/config.js.map +1 -0
  18. package/build/dex/sdai/constants.d.ts +2 -0
  19. package/build/dex/sdai/constants.js +6 -0
  20. package/build/dex/sdai/constants.js.map +1 -0
  21. package/build/dex/sdai/scripts/validate-state.d.ts +1 -0
  22. package/build/dex/sdai/scripts/validate-state.js +102 -0
  23. package/build/dex/sdai/scripts/validate-state.js.map +1 -0
  24. package/build/dex/sdai/sdai-pool.d.ts +16 -0
  25. package/build/dex/sdai/sdai-pool.js +85 -0
  26. package/build/dex/sdai/sdai-pool.js.map +1 -0
  27. package/build/dex/sdai/sdai.d.ts +51 -0
  28. package/build/dex/sdai/sdai.js +172 -0
  29. package/build/dex/sdai/sdai.js.map +1 -0
  30. package/build/dex/sdai/types.d.ts +21 -0
  31. package/build/dex/sdai/types.js +11 -0
  32. package/build/dex/sdai/types.js.map +1 -0
  33. package/build/dex/sdai/utils.d.ts +4 -0
  34. package/build/dex/sdai/utils.js +39 -0
  35. package/build/dex/sdai/utils.js.map +1 -0
  36. package/build/dex/swaap-v1/swaap-v1.d.ts +1 -2
  37. package/build/dex/swaap-v1/swaap-v1.js +0 -14
  38. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  39. package/build/executor/compressor/Compressor.d.ts +23 -0
  40. package/build/executor/compressor/Compressor.js +144 -0
  41. package/build/executor/compressor/Compressor.js.map +1 -0
  42. package/build/executor/compressor/compress.d.ts +17 -0
  43. package/build/executor/compressor/compress.js +187 -0
  44. package/build/executor/compressor/compress.js.map +1 -0
  45. package/build/executor/compressor/compress_functions/addressSubstitution.d.ts +6 -0
  46. package/build/executor/compressor/compress_functions/addressSubstitution.js +29 -0
  47. package/build/executor/compressor/compress_functions/addressSubstitution.js.map +1 -0
  48. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.d.ts +10 -0
  49. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.js +40 -0
  50. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.js.map +1 -0
  51. package/build/executor/compressor/compress_functions/byteSubstitution.d.ts +11 -0
  52. package/build/executor/compressor/compress_functions/byteSubstitution.js +64 -0
  53. package/build/executor/compressor/compress_functions/byteSubstitution.js.map +1 -0
  54. package/build/executor/compressor/compress_functions/ffSubstitution.d.ts +7 -0
  55. package/build/executor/compressor/compress_functions/ffSubstitution.js +54 -0
  56. package/build/executor/compressor/compress_functions/ffSubstitution.js.map +1 -0
  57. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.d.ts +8 -0
  58. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.js +67 -0
  59. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.js.map +1 -0
  60. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.d.ts +8 -0
  61. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.js +61 -0
  62. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.js.map +1 -0
  63. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.d.ts +6 -0
  64. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.js +37 -0
  65. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.js.map +1 -0
  66. package/build/executor/compressor/compress_functions/searchUnusedBytes.d.ts +9 -0
  67. package/build/executor/compressor/compress_functions/searchUnusedBytes.js +33 -0
  68. package/build/executor/compressor/compress_functions/searchUnusedBytes.js.map +1 -0
  69. package/build/executor/compressor/fetchSaved.d.ts +0 -0
  70. package/build/executor/compressor/fetchSaved.js +17 -0
  71. package/build/executor/compressor/fetchSaved.js.map +1 -0
  72. package/build/executor/compressor/utils/computeCostL2.d.ts +2 -0
  73. package/build/executor/compressor/utils/computeCostL2.js +14 -0
  74. package/build/executor/compressor/utils/computeCostL2.js.map +1 -0
  75. package/build/executor/compressor/utils/findLongestDuplicatedString.d.ts +2 -0
  76. package/build/executor/compressor/utils/findLongestDuplicatedString.js +30 -0
  77. package/build/executor/compressor/utils/findLongestDuplicatedString.js.map +1 -0
  78. package/build/executor/compressor/utils/getAllIndexes.d.ts +2 -0
  79. package/build/executor/compressor/utils/getAllIndexes.js +12 -0
  80. package/build/executor/compressor/utils/getAllIndexes.js.map +1 -0
  81. package/build/executor/compressor/utils/getByteForAddress.d.ts +2 -0
  82. package/build/executor/compressor/utils/getByteForAddress.js +14 -0
  83. package/build/executor/compressor/utils/getByteForAddress.js.map +1 -0
  84. package/build/executor/compressor/utils/intTo2Bytes.d.ts +2 -0
  85. package/build/executor/compressor/utils/intTo2Bytes.js +14 -0
  86. package/build/executor/compressor/utils/intTo2Bytes.js.map +1 -0
  87. package/build/executor/compressor/utils/intTo3Bytes.d.ts +2 -0
  88. package/build/executor/compressor/utils/intTo3Bytes.js +18 -0
  89. package/build/executor/compressor/utils/intTo3Bytes.js.map +1 -0
  90. package/build/executor/compressor/utils/intToByte.d.ts +2 -0
  91. package/build/executor/compressor/utils/intToByte.js +10 -0
  92. package/build/executor/compressor/utils/intToByte.js.map +1 -0
  93. package/package.json +1 -1
  94. package/src/dex/balancer-v2/balancer-v2.ts +41 -19
  95. package/tests/utils-e2e.ts +114 -116
  96. package/.idea/aws.xml +0 -17
  97. package/.idea/codeStyles/Project.xml +0 -19
  98. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  99. package/.idea/misc.xml +0 -6
  100. package/.idea/modules.xml +0 -8
  101. package/.idea/paraswap-dex-lib.iml +0 -9
  102. package/.idea/prettier.xml +0 -7
  103. package/.idea/vcs.xml +0 -6
  104. package/build/abi/AugustusV6.abi.json +0 -395
  105. package/build/abi/algebra/AlgebraPool.abi.json +0 -727
  106. package/build/abi/curve-v1/StableSwapFRXETH.json +0 -889
  107. package/build/abi/curve-v1/StableSwapWBETH.json +0 -1223
  108. package/build/abi/integral/relayer.json +0 -1148
  109. package/build/abi/sushiswap-v3/QuoterV2.json +0 -267
  110. package/build/abi/sushiswap-v3/RouterProcessor3.json +0 -289
  111. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  112. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3QuoterV2.abi.json +0 -285
  113. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3Router.abi.json +0 -583
  114. package/build/abi/wBETH.json +0 -1527
  115. package/build/abi/woo-fi/WooFeeManager.abi.json +0 -318
  116. package/build/abi/woo-fi/WooPP.abi.json +0 -548
  117. package/build/abi/woo-fi/Wooracle.abi.json +0 -260
  118. package/build/dex/aave-v2/tokens-avalanche.json +0 -44
  119. package/build/dex/aave-v2/tokens-mainnet.json +0 -188
  120. package/build/dex/aave-v2/tokens-polygon.json +0 -44
  121. package/build/dex/aave-v3/tokens/arbitrum.json +0 -50
  122. package/build/dex/aave-v3/tokens/avalanche.json +0 -74
  123. package/build/dex/aave-v3/tokens/fantom.json +0 -62
  124. package/build/dex/aave-v3/tokens/optimism.json +0 -50
  125. package/build/dex/aave-v3/tokens/polygon.json +0 -116
  126. package/build/dex/algebra/algebra-pool.d.ts +0 -114
  127. package/build/dex/algebra/algebra-pool.js +0 -448
  128. package/build/dex/algebra/algebra-pool.js.map +0 -1
  129. package/build/dex/balancer-v2/Gyro3Pool.d.ts +0 -43
  130. package/build/dex/balancer-v2/Gyro3Pool.js +0 -160
  131. package/build/dex/balancer-v2/Gyro3Pool.js.map +0 -1
  132. package/build/dex/balancer-v2/LinearMath.d.ts +0 -88
  133. package/build/dex/balancer-v2/LinearMath.js +0 -285
  134. package/build/dex/balancer-v2/LinearMath.js.map +0 -1
  135. package/build/dex/balancer-v2/LinearPool.d.ts +0 -81
  136. package/build/dex/balancer-v2/LinearPool.js +0 -444
  137. package/build/dex/balancer-v2/LinearPool.js.map +0 -1
  138. package/build/dex/balancer-v2/PhantomStablePool.d.ts +0 -90
  139. package/build/dex/balancer-v2/PhantomStablePool.js +0 -418
  140. package/build/dex/balancer-v2/PhantomStablePool.js.map +0 -1
  141. package/build/dex/balancer-v2/StableMath.d.ts +0 -9
  142. package/build/dex/balancer-v2/StableMath.js +0 -272
  143. package/build/dex/balancer-v2/StableMath.js.map +0 -1
  144. package/build/dex/balancer-v2/balancer-v2-pool.d.ts +0 -140
  145. package/build/dex/balancer-v2/balancer-v2-pool.js +0 -647
  146. package/build/dex/balancer-v2/balancer-v2-pool.js.map +0 -1
  147. package/build/dex/curve-v1/pools/frxETHpool.d.ts +0 -7
  148. package/build/dex/curve-v1/pools/frxETHpool.js +0 -27
  149. package/build/dex/curve-v1/pools/frxETHpool.js.map +0 -1
  150. package/build/dex/curve-v1/pools/wbETHpool.d.ts +0 -29
  151. package/build/dex/curve-v1/pools/wbETHpool.js +0 -408
  152. package/build/dex/curve-v1/pools/wbETHpool.js.map +0 -1
  153. package/build/dex/integral/config.d.ts +0 -4
  154. package/build/dex/integral/config.js +0 -18
  155. package/build/dex/integral/config.js.map +0 -1
  156. package/build/dex/integral/integral-pool.d.ts +0 -39
  157. package/build/dex/integral/integral-pool.js +0 -67
  158. package/build/dex/integral/integral-pool.js.map +0 -1
  159. package/build/dex/integral/integral.d.ts +0 -48
  160. package/build/dex/integral/integral.js +0 -402
  161. package/build/dex/integral/integral.js.map +0 -1
  162. package/build/dex/integral/types.d.ts +0 -25
  163. package/build/dex/integral/types.js +0 -9
  164. package/build/dex/integral/types.js.map +0 -1
  165. package/build/dex/lighter-v1/abi/erc20.json +0 -222
  166. package/build/dex/lighter-v1/abi/factory.json +0 -291
  167. package/build/dex/lighter-v1/abi/order_book.json +0 -594
  168. package/build/dex/lighter-v1/abi/order_book_helper.json +0 -176
  169. package/build/dex/lighter-v1/abi/router.json +0 -488
  170. package/build/dex/lighter-v1/config.d.ts +0 -4
  171. package/build/dex/lighter-v1/config.js +0 -17
  172. package/build/dex/lighter-v1/config.js.map +0 -1
  173. package/build/dex/lighter-v1/constants.d.ts +0 -2
  174. package/build/dex/lighter-v1/constants.js +0 -13
  175. package/build/dex/lighter-v1/constants.js.map +0 -1
  176. package/build/dex/lighter-v1/lighter-v1-pool.d.ts +0 -57
  177. package/build/dex/lighter-v1/lighter-v1-pool.js +0 -310
  178. package/build/dex/lighter-v1/lighter-v1-pool.js.map +0 -1
  179. package/build/dex/lighter-v1/lighter-v1.d.ts +0 -45
  180. package/build/dex/lighter-v1/lighter-v1.js +0 -331
  181. package/build/dex/lighter-v1/lighter-v1.js.map +0 -1
  182. package/build/dex/lighter-v1/types.d.ts +0 -40
  183. package/build/dex/lighter-v1/types.js +0 -3
  184. package/build/dex/lighter-v1/types.js.map +0 -1
  185. package/build/dex/pancakeswap-v3/types.d.ts +0 -14
  186. package/build/dex/pancakeswap-v3/types.js +0 -3
  187. package/build/dex/pancakeswap-v3/types.js.map +0 -1
  188. package/build/dex/quickswap/camelot-v3.d.ts +0 -6
  189. package/build/dex/quickswap/camelot-v3.js +0 -19
  190. package/build/dex/quickswap/camelot-v3.js.map +0 -1
  191. package/build/dex/quickswap/zyberswap-v3.d.ts +0 -6
  192. package/build/dex/quickswap/zyberswap-v3.js +0 -19
  193. package/build/dex/quickswap/zyberswap-v3.js.map +0 -1
  194. package/build/dex/quickswap-v3.d.ts +0 -21
  195. package/build/dex/quickswap-v3.js +0 -40
  196. package/build/dex/quickswap-v3.js.map +0 -1
  197. package/build/dex/ramses-v2/config.d.ts +0 -4
  198. package/build/dex/ramses-v2/config.js +0 -28
  199. package/build/dex/ramses-v2/config.js.map +0 -1
  200. package/build/dex/ramses-v2/constants.d.ts +0 -28
  201. package/build/dex/ramses-v2/constants.js +0 -35
  202. package/build/dex/ramses-v2/constants.js.map +0 -1
  203. package/build/dex/ramses-v2/contract-math/BitMath.d.ts +0 -4
  204. package/build/dex/ramses-v2/contract-math/BitMath.js +0 -93
  205. package/build/dex/ramses-v2/contract-math/BitMath.js.map +0 -1
  206. package/build/dex/ramses-v2/contract-math/FixedPoint128.d.ts +0 -3
  207. package/build/dex/ramses-v2/contract-math/FixedPoint128.js +0 -8
  208. package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +0 -1
  209. package/build/dex/ramses-v2/contract-math/FixedPoint96.d.ts +0 -4
  210. package/build/dex/ramses-v2/contract-math/FixedPoint96.js +0 -9
  211. package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +0 -1
  212. package/build/dex/ramses-v2/contract-math/FullMath.d.ts +0 -4
  213. package/build/dex/ramses-v2/contract-math/FullMath.js +0 -19
  214. package/build/dex/ramses-v2/contract-math/FullMath.js.map +0 -1
  215. package/build/dex/ramses-v2/contract-math/LiquidityMath.d.ts +0 -3
  216. package/build/dex/ramses-v2/contract-math/LiquidityMath.js +0 -22
  217. package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +0 -1
  218. package/build/dex/ramses-v2/contract-math/Oracle.d.ts +0 -10
  219. package/build/dex/ramses-v2/contract-math/Oracle.js +0 -133
  220. package/build/dex/ramses-v2/contract-math/Oracle.js.map +0 -1
  221. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.d.ts +0 -10
  222. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js +0 -91
  223. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +0 -1
  224. package/build/dex/ramses-v2/contract-math/SwapMath.d.ts +0 -8
  225. package/build/dex/ramses-v2/contract-math/SwapMath.js +0 -70
  226. package/build/dex/ramses-v2/contract-math/SwapMath.js.map +0 -1
  227. package/build/dex/ramses-v2/contract-math/Tick.d.ts +0 -7
  228. package/build/dex/ramses-v2/contract-math/Tick.js +0 -45
  229. package/build/dex/ramses-v2/contract-math/Tick.js.map +0 -1
  230. package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +0 -8
  231. package/build/dex/ramses-v2/contract-math/TickBitMap.js +0 -87
  232. package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +0 -1
  233. package/build/dex/ramses-v2/contract-math/TickMath.d.ts +0 -8
  234. package/build/dex/ramses-v2/contract-math/TickMath.js +0 -162
  235. package/build/dex/ramses-v2/contract-math/TickMath.js.map +0 -1
  236. package/build/dex/ramses-v2/contract-math/UnsafeMath.d.ts +0 -3
  237. package/build/dex/ramses-v2/contract-math/UnsafeMath.js +0 -10
  238. package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +0 -1
  239. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.d.ts +0 -18
  240. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js +0 -392
  241. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +0 -1
  242. package/build/dex/ramses-v2/contract-math/utils.d.ts +0 -3
  243. package/build/dex/ramses-v2/contract-math/utils.js +0 -16
  244. package/build/dex/ramses-v2/contract-math/utils.js.map +0 -1
  245. package/build/dex/ramses-v2/ramses-v2-pool.d.ts +0 -42
  246. package/build/dex/ramses-v2/ramses-v2-pool.js +0 -307
  247. package/build/dex/ramses-v2/ramses-v2-pool.js.map +0 -1
  248. package/build/dex/ramses-v2/ramses-v2.d.ts +0 -61
  249. package/build/dex/ramses-v2/ramses-v2.js +0 -690
  250. package/build/dex/ramses-v2/ramses-v2.js.map +0 -1
  251. package/build/dex/ramses-v2/types.d.ts +0 -154
  252. package/build/dex/ramses-v2/types.js +0 -9
  253. package/build/dex/ramses-v2/types.js.map +0 -1
  254. package/build/dex/ramses-v2/utils.d.ts +0 -6
  255. package/build/dex/ramses-v2/utils.js +0 -71
  256. package/build/dex/ramses-v2/utils.js.map +0 -1
  257. package/build/dex/solidly/forks-override/fvm.d.ts +0 -20
  258. package/build/dex/solidly/forks-override/fvm.js +0 -42
  259. package/build/dex/solidly/forks-override/fvm.js.map +0 -1
  260. package/build/dex/sushiswap-v3/config.d.ts +0 -4
  261. package/build/dex/sushiswap-v3/config.js +0 -132
  262. package/build/dex/sushiswap-v3/config.js.map +0 -1
  263. package/build/dex/sushiswap-v3/constants.d.ts +0 -4
  264. package/build/dex/sushiswap-v3/constants.js +0 -32
  265. package/build/dex/sushiswap-v3/constants.js.map +0 -1
  266. package/build/dex/sushiswap-v3/sushiswap-v3-original.d.ts +0 -56
  267. package/build/dex/sushiswap-v3/sushiswap-v3-original.js +0 -598
  268. package/build/dex/sushiswap-v3/sushiswap-v3-original.js.map +0 -1
  269. package/build/dex/sushiswap-v3/sushiswap-v3-pool.d.ts +0 -1
  270. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js +0 -6
  271. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js.map +0 -1
  272. package/build/dex/sushiswap-v3/sushiswap-v3.d.ts +0 -21
  273. package/build/dex/sushiswap-v3/sushiswap-v3.js +0 -58
  274. package/build/dex/sushiswap-v3/sushiswap-v3.js.map +0 -1
  275. package/build/dex/sushiswap-v3/token.d.ts +0 -6
  276. package/build/dex/sushiswap-v3/token.js +0 -23
  277. package/build/dex/sushiswap-v3/token.js.map +0 -1
  278. package/build/dex/sushiswap-v3/types.d.ts +0 -15
  279. package/build/dex/sushiswap-v3/types.js +0 -18
  280. package/build/dex/sushiswap-v3/types.js.map +0 -1
  281. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.d.ts +0 -12
  282. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js +0 -23
  283. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js.map +0 -1
  284. package/build/dex/woo-fi/config.d.ts +0 -4
  285. package/build/dex/woo-fi/config.js +0 -141
  286. package/build/dex/woo-fi/config.js.map +0 -1
  287. package/build/dex/woo-fi/constants.d.ts +0 -5
  288. package/build/dex/woo-fi/constants.js +0 -20
  289. package/build/dex/woo-fi/constants.js.map +0 -1
  290. package/build/dex/woo-fi/types.d.ts +0 -48
  291. package/build/dex/woo-fi/types.js +0 -3
  292. package/build/dex/woo-fi/types.js.map +0 -1
  293. package/build/dex/woo-fi/woo-fi-decimal-math.d.ts +0 -14
  294. package/build/dex/woo-fi/woo-fi-decimal-math.js +0 -42
  295. package/build/dex/woo-fi/woo-fi-decimal-math.js.map +0 -1
  296. package/build/dex/woo-fi/woo-fi-math.d.ts +0 -31
  297. package/build/dex/woo-fi/woo-fi-math.js +0 -300
  298. package/build/dex/woo-fi/woo-fi-math.js.map +0 -1
  299. package/build/dex/woo-fi/woo-fi.d.ts +0 -65
  300. package/build/dex/woo-fi/woo-fi.js +0 -480
  301. package/build/dex/woo-fi/woo-fi.js.map +0 -1
  302. package/build/executor/IExecutorBytecodeBuilder.d.ts +0 -6
  303. package/build/executor/IExecutorBytecodeBuilder.js +0 -3
  304. package/build/executor/IExecutorBytecodeBuilder.js.map +0 -1
@@ -1,1527 +0,0 @@
1
- [
2
- {
3
- "anonymous": false,
4
- "inputs": [
5
- {
6
- "indexed": true,
7
- "internalType": "address",
8
- "name": "owner",
9
- "type": "address"
10
- },
11
- {
12
- "indexed": true,
13
- "internalType": "address",
14
- "name": "spender",
15
- "type": "address"
16
- },
17
- {
18
- "indexed": false,
19
- "internalType": "uint256",
20
- "name": "value",
21
- "type": "uint256"
22
- }
23
- ],
24
- "name": "Approval",
25
- "type": "event"
26
- },
27
- {
28
- "anonymous": false,
29
- "inputs": [
30
- {
31
- "indexed": true,
32
- "internalType": "address",
33
- "name": "authorizer",
34
- "type": "address"
35
- },
36
- {
37
- "indexed": true,
38
- "internalType": "bytes32",
39
- "name": "nonce",
40
- "type": "bytes32"
41
- }
42
- ],
43
- "name": "AuthorizationCanceled",
44
- "type": "event"
45
- },
46
- {
47
- "anonymous": false,
48
- "inputs": [
49
- {
50
- "indexed": true,
51
- "internalType": "address",
52
- "name": "authorizer",
53
- "type": "address"
54
- },
55
- {
56
- "indexed": true,
57
- "internalType": "bytes32",
58
- "name": "nonce",
59
- "type": "bytes32"
60
- }
61
- ],
62
- "name": "AuthorizationUsed",
63
- "type": "event"
64
- },
65
- {
66
- "anonymous": false,
67
- "inputs": [
68
- {
69
- "indexed": true,
70
- "internalType": "address",
71
- "name": "_account",
72
- "type": "address"
73
- }
74
- ],
75
- "name": "Blacklisted",
76
- "type": "event"
77
- },
78
- {
79
- "anonymous": false,
80
- "inputs": [
81
- {
82
- "indexed": true,
83
- "internalType": "address",
84
- "name": "newBlacklister",
85
- "type": "address"
86
- }
87
- ],
88
- "name": "BlacklisterChanged",
89
- "type": "event"
90
- },
91
- {
92
- "anonymous": false,
93
- "inputs": [
94
- {
95
- "indexed": true,
96
- "internalType": "address",
97
- "name": "burner",
98
- "type": "address"
99
- },
100
- {
101
- "indexed": false,
102
- "internalType": "uint256",
103
- "name": "amount",
104
- "type": "uint256"
105
- }
106
- ],
107
- "name": "Burn",
108
- "type": "event"
109
- },
110
- {
111
- "anonymous": false,
112
- "inputs": [
113
- {
114
- "indexed": true,
115
- "internalType": "address",
116
- "name": "user",
117
- "type": "address"
118
- },
119
- {
120
- "indexed": false,
121
- "internalType": "uint256",
122
- "name": "ethAmount",
123
- "type": "uint256"
124
- },
125
- {
126
- "indexed": false,
127
- "internalType": "uint256",
128
- "name": "wBETHAmount",
129
- "type": "uint256"
130
- },
131
- {
132
- "indexed": true,
133
- "internalType": "address",
134
- "name": "referral",
135
- "type": "address"
136
- }
137
- ],
138
- "name": "DepositEth",
139
- "type": "event"
140
- },
141
- {
142
- "anonymous": false,
143
- "inputs": [
144
- {
145
- "indexed": true,
146
- "internalType": "address",
147
- "name": "previousReceiver",
148
- "type": "address"
149
- },
150
- {
151
- "indexed": true,
152
- "internalType": "address",
153
- "name": "newReceiver",
154
- "type": "address"
155
- }
156
- ],
157
- "name": "EthReceiverUpdated",
158
- "type": "event"
159
- },
160
- {
161
- "anonymous": false,
162
- "inputs": [
163
- {
164
- "indexed": true,
165
- "internalType": "address",
166
- "name": "oracle",
167
- "type": "address"
168
- },
169
- {
170
- "indexed": false,
171
- "internalType": "uint256",
172
- "name": "newExchangeRate",
173
- "type": "uint256"
174
- }
175
- ],
176
- "name": "ExchangeRateUpdated",
177
- "type": "event"
178
- },
179
- {
180
- "anonymous": false,
181
- "inputs": [
182
- {
183
- "indexed": true,
184
- "internalType": "address",
185
- "name": "newMasterMinter",
186
- "type": "address"
187
- }
188
- ],
189
- "name": "MasterMinterChanged",
190
- "type": "event"
191
- },
192
- {
193
- "anonymous": false,
194
- "inputs": [
195
- {
196
- "indexed": true,
197
- "internalType": "address",
198
- "name": "minter",
199
- "type": "address"
200
- },
201
- {
202
- "indexed": true,
203
- "internalType": "address",
204
- "name": "to",
205
- "type": "address"
206
- },
207
- {
208
- "indexed": false,
209
- "internalType": "uint256",
210
- "name": "amount",
211
- "type": "uint256"
212
- }
213
- ],
214
- "name": "Mint",
215
- "type": "event"
216
- },
217
- {
218
- "anonymous": false,
219
- "inputs": [
220
- {
221
- "indexed": true,
222
- "internalType": "address",
223
- "name": "minter",
224
- "type": "address"
225
- },
226
- {
227
- "indexed": false,
228
- "internalType": "uint256",
229
- "name": "minterAllowedAmount",
230
- "type": "uint256"
231
- }
232
- ],
233
- "name": "MinterConfigured",
234
- "type": "event"
235
- },
236
- {
237
- "anonymous": false,
238
- "inputs": [
239
- {
240
- "indexed": true,
241
- "internalType": "address",
242
- "name": "oldMinter",
243
- "type": "address"
244
- }
245
- ],
246
- "name": "MinterRemoved",
247
- "type": "event"
248
- },
249
- {
250
- "anonymous": false,
251
- "inputs": [
252
- {
253
- "indexed": true,
254
- "internalType": "address",
255
- "name": "ethReceiver",
256
- "type": "address"
257
- },
258
- {
259
- "indexed": false,
260
- "internalType": "uint256",
261
- "name": "ethAmount",
262
- "type": "uint256"
263
- }
264
- ],
265
- "name": "MovedToStakingAddress",
266
- "type": "event"
267
- },
268
- {
269
- "anonymous": false,
270
- "inputs": [
271
- {
272
- "indexed": true,
273
- "internalType": "address",
274
- "name": "previousOperator",
275
- "type": "address"
276
- },
277
- {
278
- "indexed": true,
279
- "internalType": "address",
280
- "name": "newOperator",
281
- "type": "address"
282
- }
283
- ],
284
- "name": "OperatorUpdated",
285
- "type": "event"
286
- },
287
- {
288
- "anonymous": false,
289
- "inputs": [
290
- {
291
- "indexed": true,
292
- "internalType": "address",
293
- "name": "newOracle",
294
- "type": "address"
295
- }
296
- ],
297
- "name": "OracleUpdated",
298
- "type": "event"
299
- },
300
- {
301
- "anonymous": false,
302
- "inputs": [
303
- {
304
- "indexed": false,
305
- "internalType": "address",
306
- "name": "previousOwner",
307
- "type": "address"
308
- },
309
- {
310
- "indexed": false,
311
- "internalType": "address",
312
- "name": "newOwner",
313
- "type": "address"
314
- }
315
- ],
316
- "name": "OwnershipTransferred",
317
- "type": "event"
318
- },
319
- {
320
- "anonymous": false,
321
- "inputs": [],
322
- "name": "Pause",
323
- "type": "event"
324
- },
325
- {
326
- "anonymous": false,
327
- "inputs": [
328
- {
329
- "indexed": true,
330
- "internalType": "address",
331
- "name": "newAddress",
332
- "type": "address"
333
- }
334
- ],
335
- "name": "PauserChanged",
336
- "type": "event"
337
- },
338
- {
339
- "anonymous": false,
340
- "inputs": [
341
- {
342
- "indexed": true,
343
- "internalType": "address",
344
- "name": "newRescuer",
345
- "type": "address"
346
- }
347
- ],
348
- "name": "RescuerChanged",
349
- "type": "event"
350
- },
351
- {
352
- "anonymous": false,
353
- "inputs": [
354
- {
355
- "indexed": true,
356
- "internalType": "address",
357
- "name": "supplier",
358
- "type": "address"
359
- },
360
- {
361
- "indexed": false,
362
- "internalType": "uint256",
363
- "name": "ethAmount",
364
- "type": "uint256"
365
- }
366
- ],
367
- "name": "SuppliedEth",
368
- "type": "event"
369
- },
370
- {
371
- "anonymous": false,
372
- "inputs": [
373
- {
374
- "indexed": true,
375
- "internalType": "address",
376
- "name": "from",
377
- "type": "address"
378
- },
379
- {
380
- "indexed": true,
381
- "internalType": "address",
382
- "name": "to",
383
- "type": "address"
384
- },
385
- {
386
- "indexed": false,
387
- "internalType": "uint256",
388
- "name": "value",
389
- "type": "uint256"
390
- }
391
- ],
392
- "name": "Transfer",
393
- "type": "event"
394
- },
395
- {
396
- "anonymous": false,
397
- "inputs": [
398
- {
399
- "indexed": true,
400
- "internalType": "address",
401
- "name": "_account",
402
- "type": "address"
403
- }
404
- ],
405
- "name": "UnBlacklisted",
406
- "type": "event"
407
- },
408
- {
409
- "anonymous": false,
410
- "inputs": [],
411
- "name": "Unpause",
412
- "type": "event"
413
- },
414
- {
415
- "inputs": [],
416
- "name": "CANCEL_AUTHORIZATION_TYPEHASH",
417
- "outputs": [
418
- {
419
- "internalType": "bytes32",
420
- "name": "",
421
- "type": "bytes32"
422
- }
423
- ],
424
- "stateMutability": "view",
425
- "type": "function"
426
- },
427
- {
428
- "inputs": [],
429
- "name": "DOMAIN_SEPARATOR",
430
- "outputs": [
431
- {
432
- "internalType": "bytes32",
433
- "name": "",
434
- "type": "bytes32"
435
- }
436
- ],
437
- "stateMutability": "view",
438
- "type": "function"
439
- },
440
- {
441
- "inputs": [],
442
- "name": "PERMIT_TYPEHASH",
443
- "outputs": [
444
- {
445
- "internalType": "bytes32",
446
- "name": "",
447
- "type": "bytes32"
448
- }
449
- ],
450
- "stateMutability": "view",
451
- "type": "function"
452
- },
453
- {
454
- "inputs": [],
455
- "name": "RECEIVE_WITH_AUTHORIZATION_TYPEHASH",
456
- "outputs": [
457
- {
458
- "internalType": "bytes32",
459
- "name": "",
460
- "type": "bytes32"
461
- }
462
- ],
463
- "stateMutability": "view",
464
- "type": "function"
465
- },
466
- {
467
- "inputs": [],
468
- "name": "TRANSFER_WITH_AUTHORIZATION_TYPEHASH",
469
- "outputs": [
470
- {
471
- "internalType": "bytes32",
472
- "name": "",
473
- "type": "bytes32"
474
- }
475
- ],
476
- "stateMutability": "view",
477
- "type": "function"
478
- },
479
- {
480
- "inputs": [
481
- {
482
- "internalType": "address",
483
- "name": "owner",
484
- "type": "address"
485
- },
486
- {
487
- "internalType": "address",
488
- "name": "spender",
489
- "type": "address"
490
- }
491
- ],
492
- "name": "allowance",
493
- "outputs": [
494
- {
495
- "internalType": "uint256",
496
- "name": "",
497
- "type": "uint256"
498
- }
499
- ],
500
- "stateMutability": "view",
501
- "type": "function"
502
- },
503
- {
504
- "inputs": [
505
- {
506
- "internalType": "address",
507
- "name": "spender",
508
- "type": "address"
509
- },
510
- {
511
- "internalType": "uint256",
512
- "name": "value",
513
- "type": "uint256"
514
- }
515
- ],
516
- "name": "approve",
517
- "outputs": [
518
- {
519
- "internalType": "bool",
520
- "name": "",
521
- "type": "bool"
522
- }
523
- ],
524
- "stateMutability": "nonpayable",
525
- "type": "function"
526
- },
527
- {
528
- "inputs": [
529
- {
530
- "internalType": "address",
531
- "name": "authorizer",
532
- "type": "address"
533
- },
534
- {
535
- "internalType": "bytes32",
536
- "name": "nonce",
537
- "type": "bytes32"
538
- }
539
- ],
540
- "name": "authorizationState",
541
- "outputs": [
542
- {
543
- "internalType": "bool",
544
- "name": "",
545
- "type": "bool"
546
- }
547
- ],
548
- "stateMutability": "view",
549
- "type": "function"
550
- },
551
- {
552
- "inputs": [
553
- {
554
- "internalType": "address",
555
- "name": "account",
556
- "type": "address"
557
- }
558
- ],
559
- "name": "balanceOf",
560
- "outputs": [
561
- {
562
- "internalType": "uint256",
563
- "name": "",
564
- "type": "uint256"
565
- }
566
- ],
567
- "stateMutability": "view",
568
- "type": "function"
569
- },
570
- {
571
- "inputs": [
572
- {
573
- "internalType": "address",
574
- "name": "_account",
575
- "type": "address"
576
- }
577
- ],
578
- "name": "blacklist",
579
- "outputs": [],
580
- "stateMutability": "nonpayable",
581
- "type": "function"
582
- },
583
- {
584
- "inputs": [],
585
- "name": "blacklister",
586
- "outputs": [
587
- {
588
- "internalType": "address",
589
- "name": "",
590
- "type": "address"
591
- }
592
- ],
593
- "stateMutability": "view",
594
- "type": "function"
595
- },
596
- {
597
- "inputs": [
598
- {
599
- "internalType": "uint256",
600
- "name": "_amount",
601
- "type": "uint256"
602
- }
603
- ],
604
- "name": "burn",
605
- "outputs": [],
606
- "stateMutability": "nonpayable",
607
- "type": "function"
608
- },
609
- {
610
- "inputs": [
611
- {
612
- "internalType": "address",
613
- "name": "authorizer",
614
- "type": "address"
615
- },
616
- {
617
- "internalType": "bytes32",
618
- "name": "nonce",
619
- "type": "bytes32"
620
- },
621
- {
622
- "internalType": "uint8",
623
- "name": "v",
624
- "type": "uint8"
625
- },
626
- {
627
- "internalType": "bytes32",
628
- "name": "r",
629
- "type": "bytes32"
630
- },
631
- {
632
- "internalType": "bytes32",
633
- "name": "s",
634
- "type": "bytes32"
635
- }
636
- ],
637
- "name": "cancelAuthorization",
638
- "outputs": [],
639
- "stateMutability": "nonpayable",
640
- "type": "function"
641
- },
642
- {
643
- "inputs": [
644
- {
645
- "internalType": "address",
646
- "name": "minter",
647
- "type": "address"
648
- },
649
- {
650
- "internalType": "uint256",
651
- "name": "minterAllowedAmount",
652
- "type": "uint256"
653
- }
654
- ],
655
- "name": "configureMinter",
656
- "outputs": [
657
- {
658
- "internalType": "bool",
659
- "name": "",
660
- "type": "bool"
661
- }
662
- ],
663
- "stateMutability": "nonpayable",
664
- "type": "function"
665
- },
666
- {
667
- "inputs": [],
668
- "name": "currency",
669
- "outputs": [
670
- {
671
- "internalType": "string",
672
- "name": "",
673
- "type": "string"
674
- }
675
- ],
676
- "stateMutability": "view",
677
- "type": "function"
678
- },
679
- {
680
- "inputs": [],
681
- "name": "decimals",
682
- "outputs": [
683
- {
684
- "internalType": "uint8",
685
- "name": "",
686
- "type": "uint8"
687
- }
688
- ],
689
- "stateMutability": "view",
690
- "type": "function"
691
- },
692
- {
693
- "inputs": [
694
- {
695
- "internalType": "address",
696
- "name": "spender",
697
- "type": "address"
698
- },
699
- {
700
- "internalType": "uint256",
701
- "name": "decrement",
702
- "type": "uint256"
703
- }
704
- ],
705
- "name": "decreaseAllowance",
706
- "outputs": [
707
- {
708
- "internalType": "bool",
709
- "name": "",
710
- "type": "bool"
711
- }
712
- ],
713
- "stateMutability": "nonpayable",
714
- "type": "function"
715
- },
716
- {
717
- "inputs": [
718
- {
719
- "internalType": "address",
720
- "name": "referral",
721
- "type": "address"
722
- }
723
- ],
724
- "name": "deposit",
725
- "outputs": [],
726
- "stateMutability": "payable",
727
- "type": "function"
728
- },
729
- {
730
- "inputs": [],
731
- "name": "ethReceiver",
732
- "outputs": [
733
- {
734
- "internalType": "address",
735
- "name": "_ethReceiver",
736
- "type": "address"
737
- }
738
- ],
739
- "stateMutability": "view",
740
- "type": "function"
741
- },
742
- {
743
- "inputs": [],
744
- "name": "exchangeRate",
745
- "outputs": [
746
- {
747
- "internalType": "uint256",
748
- "name": "_exchangeRate",
749
- "type": "uint256"
750
- }
751
- ],
752
- "stateMutability": "view",
753
- "type": "function"
754
- },
755
- {
756
- "inputs": [
757
- {
758
- "internalType": "address",
759
- "name": "spender",
760
- "type": "address"
761
- },
762
- {
763
- "internalType": "uint256",
764
- "name": "increment",
765
- "type": "uint256"
766
- }
767
- ],
768
- "name": "increaseAllowance",
769
- "outputs": [
770
- {
771
- "internalType": "bool",
772
- "name": "",
773
- "type": "bool"
774
- }
775
- ],
776
- "stateMutability": "nonpayable",
777
- "type": "function"
778
- },
779
- {
780
- "inputs": [
781
- {
782
- "internalType": "string",
783
- "name": "tokenName",
784
- "type": "string"
785
- },
786
- {
787
- "internalType": "string",
788
- "name": "tokenSymbol",
789
- "type": "string"
790
- },
791
- {
792
- "internalType": "string",
793
- "name": "tokenCurrency",
794
- "type": "string"
795
- },
796
- {
797
- "internalType": "uint8",
798
- "name": "tokenDecimals",
799
- "type": "uint8"
800
- },
801
- {
802
- "internalType": "address",
803
- "name": "newMasterMinter",
804
- "type": "address"
805
- },
806
- {
807
- "internalType": "address",
808
- "name": "newPauser",
809
- "type": "address"
810
- },
811
- {
812
- "internalType": "address",
813
- "name": "newBlacklister",
814
- "type": "address"
815
- },
816
- {
817
- "internalType": "address",
818
- "name": "newOwner",
819
- "type": "address"
820
- }
821
- ],
822
- "name": "initialize",
823
- "outputs": [],
824
- "stateMutability": "nonpayable",
825
- "type": "function"
826
- },
827
- {
828
- "inputs": [
829
- {
830
- "internalType": "string",
831
- "name": "newName",
832
- "type": "string"
833
- }
834
- ],
835
- "name": "initializeV2",
836
- "outputs": [],
837
- "stateMutability": "nonpayable",
838
- "type": "function"
839
- },
840
- {
841
- "inputs": [
842
- {
843
- "internalType": "address",
844
- "name": "lostAndFound",
845
- "type": "address"
846
- }
847
- ],
848
- "name": "initializeV2_1",
849
- "outputs": [],
850
- "stateMutability": "nonpayable",
851
- "type": "function"
852
- },
853
- {
854
- "inputs": [
855
- {
856
- "internalType": "address",
857
- "name": "_account",
858
- "type": "address"
859
- }
860
- ],
861
- "name": "isBlacklisted",
862
- "outputs": [
863
- {
864
- "internalType": "bool",
865
- "name": "",
866
- "type": "bool"
867
- }
868
- ],
869
- "stateMutability": "view",
870
- "type": "function"
871
- },
872
- {
873
- "inputs": [
874
- {
875
- "internalType": "address",
876
- "name": "account",
877
- "type": "address"
878
- }
879
- ],
880
- "name": "isMinter",
881
- "outputs": [
882
- {
883
- "internalType": "bool",
884
- "name": "",
885
- "type": "bool"
886
- }
887
- ],
888
- "stateMutability": "view",
889
- "type": "function"
890
- },
891
- {
892
- "inputs": [],
893
- "name": "masterMinter",
894
- "outputs": [
895
- {
896
- "internalType": "address",
897
- "name": "",
898
- "type": "address"
899
- }
900
- ],
901
- "stateMutability": "view",
902
- "type": "function"
903
- },
904
- {
905
- "inputs": [
906
- {
907
- "internalType": "address",
908
- "name": "_to",
909
- "type": "address"
910
- },
911
- {
912
- "internalType": "uint256",
913
- "name": "_amount",
914
- "type": "uint256"
915
- }
916
- ],
917
- "name": "mint",
918
- "outputs": [
919
- {
920
- "internalType": "bool",
921
- "name": "",
922
- "type": "bool"
923
- }
924
- ],
925
- "stateMutability": "nonpayable",
926
- "type": "function"
927
- },
928
- {
929
- "inputs": [
930
- {
931
- "internalType": "uint256",
932
- "name": "amount",
933
- "type": "uint256"
934
- }
935
- ],
936
- "name": "mint",
937
- "outputs": [
938
- {
939
- "internalType": "bool",
940
- "name": "",
941
- "type": "bool"
942
- }
943
- ],
944
- "stateMutability": "nonpayable",
945
- "type": "function"
946
- },
947
- {
948
- "inputs": [
949
- {
950
- "internalType": "address",
951
- "name": "minter",
952
- "type": "address"
953
- }
954
- ],
955
- "name": "minterAllowance",
956
- "outputs": [
957
- {
958
- "internalType": "uint256",
959
- "name": "",
960
- "type": "uint256"
961
- }
962
- ],
963
- "stateMutability": "view",
964
- "type": "function"
965
- },
966
- {
967
- "inputs": [
968
- {
969
- "internalType": "uint256",
970
- "name": "amount",
971
- "type": "uint256"
972
- }
973
- ],
974
- "name": "moveToStakingAddress",
975
- "outputs": [],
976
- "stateMutability": "nonpayable",
977
- "type": "function"
978
- },
979
- {
980
- "inputs": [],
981
- "name": "name",
982
- "outputs": [
983
- {
984
- "internalType": "string",
985
- "name": "",
986
- "type": "string"
987
- }
988
- ],
989
- "stateMutability": "view",
990
- "type": "function"
991
- },
992
- {
993
- "inputs": [
994
- {
995
- "internalType": "address",
996
- "name": "owner",
997
- "type": "address"
998
- }
999
- ],
1000
- "name": "nonces",
1001
- "outputs": [
1002
- {
1003
- "internalType": "uint256",
1004
- "name": "",
1005
- "type": "uint256"
1006
- }
1007
- ],
1008
- "stateMutability": "view",
1009
- "type": "function"
1010
- },
1011
- {
1012
- "inputs": [],
1013
- "name": "operator",
1014
- "outputs": [
1015
- {
1016
- "internalType": "address",
1017
- "name": "_operator",
1018
- "type": "address"
1019
- }
1020
- ],
1021
- "stateMutability": "view",
1022
- "type": "function"
1023
- },
1024
- {
1025
- "inputs": [],
1026
- "name": "oracle",
1027
- "outputs": [
1028
- {
1029
- "internalType": "address",
1030
- "name": "_oracle",
1031
- "type": "address"
1032
- }
1033
- ],
1034
- "stateMutability": "view",
1035
- "type": "function"
1036
- },
1037
- {
1038
- "inputs": [],
1039
- "name": "owner",
1040
- "outputs": [
1041
- {
1042
- "internalType": "address",
1043
- "name": "",
1044
- "type": "address"
1045
- }
1046
- ],
1047
- "stateMutability": "view",
1048
- "type": "function"
1049
- },
1050
- {
1051
- "inputs": [],
1052
- "name": "pause",
1053
- "outputs": [],
1054
- "stateMutability": "nonpayable",
1055
- "type": "function"
1056
- },
1057
- {
1058
- "inputs": [],
1059
- "name": "paused",
1060
- "outputs": [
1061
- {
1062
- "internalType": "bool",
1063
- "name": "",
1064
- "type": "bool"
1065
- }
1066
- ],
1067
- "stateMutability": "view",
1068
- "type": "function"
1069
- },
1070
- {
1071
- "inputs": [],
1072
- "name": "pauser",
1073
- "outputs": [
1074
- {
1075
- "internalType": "address",
1076
- "name": "",
1077
- "type": "address"
1078
- }
1079
- ],
1080
- "stateMutability": "view",
1081
- "type": "function"
1082
- },
1083
- {
1084
- "inputs": [
1085
- {
1086
- "internalType": "address",
1087
- "name": "owner",
1088
- "type": "address"
1089
- },
1090
- {
1091
- "internalType": "address",
1092
- "name": "spender",
1093
- "type": "address"
1094
- },
1095
- {
1096
- "internalType": "uint256",
1097
- "name": "value",
1098
- "type": "uint256"
1099
- },
1100
- {
1101
- "internalType": "uint256",
1102
- "name": "deadline",
1103
- "type": "uint256"
1104
- },
1105
- {
1106
- "internalType": "uint8",
1107
- "name": "v",
1108
- "type": "uint8"
1109
- },
1110
- {
1111
- "internalType": "bytes32",
1112
- "name": "r",
1113
- "type": "bytes32"
1114
- },
1115
- {
1116
- "internalType": "bytes32",
1117
- "name": "s",
1118
- "type": "bytes32"
1119
- }
1120
- ],
1121
- "name": "permit",
1122
- "outputs": [],
1123
- "stateMutability": "nonpayable",
1124
- "type": "function"
1125
- },
1126
- {
1127
- "inputs": [
1128
- {
1129
- "internalType": "address",
1130
- "name": "from",
1131
- "type": "address"
1132
- },
1133
- {
1134
- "internalType": "address",
1135
- "name": "to",
1136
- "type": "address"
1137
- },
1138
- {
1139
- "internalType": "uint256",
1140
- "name": "value",
1141
- "type": "uint256"
1142
- },
1143
- {
1144
- "internalType": "uint256",
1145
- "name": "validAfter",
1146
- "type": "uint256"
1147
- },
1148
- {
1149
- "internalType": "uint256",
1150
- "name": "validBefore",
1151
- "type": "uint256"
1152
- },
1153
- {
1154
- "internalType": "bytes32",
1155
- "name": "nonce",
1156
- "type": "bytes32"
1157
- },
1158
- {
1159
- "internalType": "uint8",
1160
- "name": "v",
1161
- "type": "uint8"
1162
- },
1163
- {
1164
- "internalType": "bytes32",
1165
- "name": "r",
1166
- "type": "bytes32"
1167
- },
1168
- {
1169
- "internalType": "bytes32",
1170
- "name": "s",
1171
- "type": "bytes32"
1172
- }
1173
- ],
1174
- "name": "receiveWithAuthorization",
1175
- "outputs": [],
1176
- "stateMutability": "nonpayable",
1177
- "type": "function"
1178
- },
1179
- {
1180
- "inputs": [
1181
- {
1182
- "internalType": "address",
1183
- "name": "minter",
1184
- "type": "address"
1185
- }
1186
- ],
1187
- "name": "removeMinter",
1188
- "outputs": [
1189
- {
1190
- "internalType": "bool",
1191
- "name": "",
1192
- "type": "bool"
1193
- }
1194
- ],
1195
- "stateMutability": "nonpayable",
1196
- "type": "function"
1197
- },
1198
- {
1199
- "inputs": [
1200
- {
1201
- "internalType": "contract IERC20",
1202
- "name": "tokenContract",
1203
- "type": "address"
1204
- },
1205
- {
1206
- "internalType": "address",
1207
- "name": "to",
1208
- "type": "address"
1209
- },
1210
- {
1211
- "internalType": "uint256",
1212
- "name": "amount",
1213
- "type": "uint256"
1214
- }
1215
- ],
1216
- "name": "rescueERC20",
1217
- "outputs": [],
1218
- "stateMutability": "nonpayable",
1219
- "type": "function"
1220
- },
1221
- {
1222
- "inputs": [],
1223
- "name": "rescuer",
1224
- "outputs": [
1225
- {
1226
- "internalType": "address",
1227
- "name": "",
1228
- "type": "address"
1229
- }
1230
- ],
1231
- "stateMutability": "view",
1232
- "type": "function"
1233
- },
1234
- {
1235
- "inputs": [],
1236
- "name": "supplyEth",
1237
- "outputs": [],
1238
- "stateMutability": "payable",
1239
- "type": "function"
1240
- },
1241
- {
1242
- "inputs": [],
1243
- "name": "symbol",
1244
- "outputs": [
1245
- {
1246
- "internalType": "string",
1247
- "name": "",
1248
- "type": "string"
1249
- }
1250
- ],
1251
- "stateMutability": "view",
1252
- "type": "function"
1253
- },
1254
- {
1255
- "inputs": [],
1256
- "name": "totalSupply",
1257
- "outputs": [
1258
- {
1259
- "internalType": "uint256",
1260
- "name": "",
1261
- "type": "uint256"
1262
- }
1263
- ],
1264
- "stateMutability": "view",
1265
- "type": "function"
1266
- },
1267
- {
1268
- "inputs": [
1269
- {
1270
- "internalType": "address",
1271
- "name": "to",
1272
- "type": "address"
1273
- },
1274
- {
1275
- "internalType": "uint256",
1276
- "name": "value",
1277
- "type": "uint256"
1278
- }
1279
- ],
1280
- "name": "transfer",
1281
- "outputs": [
1282
- {
1283
- "internalType": "bool",
1284
- "name": "",
1285
- "type": "bool"
1286
- }
1287
- ],
1288
- "stateMutability": "nonpayable",
1289
- "type": "function"
1290
- },
1291
- {
1292
- "inputs": [
1293
- {
1294
- "internalType": "address",
1295
- "name": "from",
1296
- "type": "address"
1297
- },
1298
- {
1299
- "internalType": "address",
1300
- "name": "to",
1301
- "type": "address"
1302
- },
1303
- {
1304
- "internalType": "uint256",
1305
- "name": "value",
1306
- "type": "uint256"
1307
- }
1308
- ],
1309
- "name": "transferFrom",
1310
- "outputs": [
1311
- {
1312
- "internalType": "bool",
1313
- "name": "",
1314
- "type": "bool"
1315
- }
1316
- ],
1317
- "stateMutability": "nonpayable",
1318
- "type": "function"
1319
- },
1320
- {
1321
- "inputs": [
1322
- {
1323
- "internalType": "address",
1324
- "name": "newOwner",
1325
- "type": "address"
1326
- }
1327
- ],
1328
- "name": "transferOwnership",
1329
- "outputs": [],
1330
- "stateMutability": "nonpayable",
1331
- "type": "function"
1332
- },
1333
- {
1334
- "inputs": [
1335
- {
1336
- "internalType": "address",
1337
- "name": "from",
1338
- "type": "address"
1339
- },
1340
- {
1341
- "internalType": "address",
1342
- "name": "to",
1343
- "type": "address"
1344
- },
1345
- {
1346
- "internalType": "uint256",
1347
- "name": "value",
1348
- "type": "uint256"
1349
- },
1350
- {
1351
- "internalType": "uint256",
1352
- "name": "validAfter",
1353
- "type": "uint256"
1354
- },
1355
- {
1356
- "internalType": "uint256",
1357
- "name": "validBefore",
1358
- "type": "uint256"
1359
- },
1360
- {
1361
- "internalType": "bytes32",
1362
- "name": "nonce",
1363
- "type": "bytes32"
1364
- },
1365
- {
1366
- "internalType": "uint8",
1367
- "name": "v",
1368
- "type": "uint8"
1369
- },
1370
- {
1371
- "internalType": "bytes32",
1372
- "name": "r",
1373
- "type": "bytes32"
1374
- },
1375
- {
1376
- "internalType": "bytes32",
1377
- "name": "s",
1378
- "type": "bytes32"
1379
- }
1380
- ],
1381
- "name": "transferWithAuthorization",
1382
- "outputs": [],
1383
- "stateMutability": "nonpayable",
1384
- "type": "function"
1385
- },
1386
- {
1387
- "inputs": [
1388
- {
1389
- "internalType": "address",
1390
- "name": "_account",
1391
- "type": "address"
1392
- }
1393
- ],
1394
- "name": "unBlacklist",
1395
- "outputs": [],
1396
- "stateMutability": "nonpayable",
1397
- "type": "function"
1398
- },
1399
- {
1400
- "inputs": [],
1401
- "name": "unpause",
1402
- "outputs": [],
1403
- "stateMutability": "nonpayable",
1404
- "type": "function"
1405
- },
1406
- {
1407
- "inputs": [
1408
- {
1409
- "internalType": "address",
1410
- "name": "_newBlacklister",
1411
- "type": "address"
1412
- }
1413
- ],
1414
- "name": "updateBlacklister",
1415
- "outputs": [],
1416
- "stateMutability": "nonpayable",
1417
- "type": "function"
1418
- },
1419
- {
1420
- "inputs": [
1421
- {
1422
- "internalType": "address",
1423
- "name": "newEthReceiver",
1424
- "type": "address"
1425
- }
1426
- ],
1427
- "name": "updateEthReceiver",
1428
- "outputs": [],
1429
- "stateMutability": "nonpayable",
1430
- "type": "function"
1431
- },
1432
- {
1433
- "inputs": [
1434
- {
1435
- "internalType": "uint256",
1436
- "name": "newExchangeRate",
1437
- "type": "uint256"
1438
- }
1439
- ],
1440
- "name": "updateExchangeRate",
1441
- "outputs": [],
1442
- "stateMutability": "nonpayable",
1443
- "type": "function"
1444
- },
1445
- {
1446
- "inputs": [
1447
- {
1448
- "internalType": "address",
1449
- "name": "_newMasterMinter",
1450
- "type": "address"
1451
- }
1452
- ],
1453
- "name": "updateMasterMinter",
1454
- "outputs": [],
1455
- "stateMutability": "nonpayable",
1456
- "type": "function"
1457
- },
1458
- {
1459
- "inputs": [
1460
- {
1461
- "internalType": "address",
1462
- "name": "newOperator",
1463
- "type": "address"
1464
- }
1465
- ],
1466
- "name": "updateOperator",
1467
- "outputs": [],
1468
- "stateMutability": "nonpayable",
1469
- "type": "function"
1470
- },
1471
- {
1472
- "inputs": [
1473
- {
1474
- "internalType": "address",
1475
- "name": "newOracle",
1476
- "type": "address"
1477
- }
1478
- ],
1479
- "name": "updateOracle",
1480
- "outputs": [],
1481
- "stateMutability": "nonpayable",
1482
- "type": "function"
1483
- },
1484
- {
1485
- "inputs": [
1486
- {
1487
- "internalType": "address",
1488
- "name": "_newPauser",
1489
- "type": "address"
1490
- }
1491
- ],
1492
- "name": "updatePauser",
1493
- "outputs": [],
1494
- "stateMutability": "nonpayable",
1495
- "type": "function"
1496
- },
1497
- {
1498
- "inputs": [
1499
- {
1500
- "internalType": "address",
1501
- "name": "newRescuer",
1502
- "type": "address"
1503
- }
1504
- ],
1505
- "name": "updateRescuer",
1506
- "outputs": [],
1507
- "stateMutability": "nonpayable",
1508
- "type": "function"
1509
- },
1510
- {
1511
- "inputs": [],
1512
- "name": "version",
1513
- "outputs": [
1514
- {
1515
- "internalType": "string",
1516
- "name": "",
1517
- "type": "string"
1518
- }
1519
- ],
1520
- "stateMutability": "view",
1521
- "type": "function"
1522
- },
1523
- {
1524
- "stateMutability": "payable",
1525
- "type": "receive"
1526
- }
1527
- ]