@paraswap/dex-lib 4.7.13-unified-pair-restriction.2 → 4.7.14-pharaoh-v3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/build/abi/PendleRouterStatic.json +19 -0
  2. package/build/abi/{MStableAsset.json → apex-defi/ApexDefiFactory.abi.json} +992 -788
  3. package/build/abi/{BProtocol.json → apex-defi/ApexDefiRouter.abi.json} +539 -574
  4. package/build/abi/apex-defi/ApexDefiToken.abi.json +229 -0
  5. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +92 -0
  6. package/build/abi/{OneInchLp.json → apex-defi/ApexDefiWrapperFactory.abi.json} +577 -774
  7. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
  8. package/build/abi/pendle/pendle-deployer.abi.json +520 -0
  9. package/build/abi/pendle/pendle-oracle.abi.json +413 -0
  10. package/build/abi/pharaoh-v3/PharaohV3Factory.abi.json +349 -0
  11. package/build/abi/pharaoh-v3/PharaohV3Pool.abi.json +802 -0
  12. package/build/abi/pharaoh-v3/PharaohV3StateMulticall.abi.json +781 -0
  13. package/build/abi/ring-v2/few-wrapped-token.json +587 -0
  14. package/build/abi/ring-v2/ring-v2-factory.json +125 -0
  15. package/build/abi/ring-v2/ring-v2-pool.json +461 -0
  16. package/build/abi/ring-v2/ring-v2-router.json +332 -0
  17. package/build/abi/stabull/stabull-curve.json +738 -0
  18. package/build/abi/stabull/stabull-router.json +76 -0
  19. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +26 -0
  20. package/build/abi/uniswap-v4/hooks/SpotHook.json +54 -0
  21. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +45 -0
  22. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +682 -0
  23. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +1335 -0
  24. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +29 -0
  25. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +153 -0
  26. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +1 -0
  27. package/build/dex/{usual-bond/usual-bond.d.ts → aave-pt-to-underlying/aave-pt-to-underlying.d.ts} +23 -18
  28. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +323 -0
  29. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +1 -0
  30. package/build/dex/aave-pt-to-underlying/config.d.ts +3 -0
  31. package/build/dex/aave-pt-to-underlying/config.js +24 -0
  32. package/build/dex/aave-pt-to-underlying/config.js.map +1 -0
  33. package/build/dex/aave-pt-to-underlying/constants.d.ts +2 -0
  34. package/build/dex/aave-pt-to-underlying/constants.js +6 -0
  35. package/build/dex/aave-pt-to-underlying/constants.js.map +1 -0
  36. package/build/dex/aave-pt-to-underlying/types.d.ts +24 -0
  37. package/build/dex/aave-pt-to-underlying/types.js.map +1 -0
  38. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +39 -0
  39. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +244 -0
  40. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
  41. package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
  42. package/build/dex/aave-pt-to-usdc/config.js +47 -0
  43. package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
  44. package/build/dex/aave-pt-to-usdc/constants.d.ts +2 -0
  45. package/build/dex/aave-pt-to-usdc/constants.js +6 -0
  46. package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
  47. package/build/dex/aave-pt-to-usdc/types.d.ts +22 -0
  48. package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
  49. package/build/dex/apex-defi/apex-defi-factory.d.ts +26 -0
  50. package/build/dex/apex-defi/apex-defi-factory.js +53 -0
  51. package/build/dex/apex-defi/apex-defi-factory.js.map +1 -0
  52. package/build/dex/apex-defi/apex-defi-pool.d.ts +55 -0
  53. package/build/dex/apex-defi/apex-defi-pool.js +247 -0
  54. package/build/dex/apex-defi/apex-defi-pool.js.map +1 -0
  55. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +57 -0
  56. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +250 -0
  57. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +1 -0
  58. package/build/dex/apex-defi/apex-defi.d.ts +97 -0
  59. package/build/dex/apex-defi/apex-defi.js +1021 -0
  60. package/build/dex/apex-defi/apex-defi.js.map +1 -0
  61. package/build/dex/apex-defi/config.d.ts +4 -0
  62. package/build/dex/apex-defi/config.js +138 -0
  63. package/build/dex/apex-defi/config.js.map +1 -0
  64. package/build/dex/apex-defi/types.d.ts +32 -0
  65. package/build/dex/apex-defi/types.js +3 -0
  66. package/build/dex/{usual-bond → apex-defi}/types.js.map +1 -1
  67. package/build/dex/apex-defi/utils.d.ts +46 -0
  68. package/build/dex/apex-defi/utils.js +133 -0
  69. package/build/dex/apex-defi/utils.js.map +1 -0
  70. package/build/dex/generic-rfq/generic-rfq.js +5 -0
  71. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  72. package/build/dex/maker-psm/maker-psm-event-pool.d.ts +43 -0
  73. package/build/dex/maker-psm/maker-psm-event-pool.js +132 -0
  74. package/build/dex/maker-psm/maker-psm-event-pool.js.map +1 -0
  75. package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
  76. package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
  77. package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
  78. package/build/dex/{usual-bond → stabull}/config.d.ts +1 -1
  79. package/build/dex/stabull/config.js +177 -0
  80. package/build/dex/stabull/config.js.map +1 -0
  81. package/build/dex/{se-vlr/se-vlr-pool.d.ts → stabull/stabull-pool.d.ts} +13 -6
  82. package/build/dex/stabull/stabull-pool.js +113 -0
  83. package/build/dex/stabull/stabull-pool.js.map +1 -0
  84. package/build/dex/stabull/stabull.d.ts +55 -0
  85. package/build/dex/stabull/stabull.js +286 -0
  86. package/build/dex/stabull/stabull.js.map +1 -0
  87. package/build/dex/stabull/types.d.ts +21 -0
  88. package/build/dex/stabull/types.js +3 -0
  89. package/build/dex/stabull/types.js.map +1 -0
  90. package/build/dex/uniswap-v3/config.js +32 -0
  91. package/build/dex/uniswap-v3/config.js.map +1 -1
  92. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
  93. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
  94. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
  95. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.d.ts +12 -0
  96. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.js +142 -0
  97. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.js.map +1 -0
  98. package/build/dex/uniswap-v3/forks/pharaoh-v3/utils.d.ts +4 -0
  99. package/build/dex/uniswap-v3/forks/pharaoh-v3/utils.js +56 -0
  100. package/build/dex/uniswap-v3/forks/pharaoh-v3/utils.js.map +1 -0
  101. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.d.ts +2 -2
  102. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.js.map +1 -1
  103. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.js +1 -0
  104. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.js.map +1 -1
  105. package/build/dex/uniswap-v3/uniswap-v3-pool.d.ts +2 -1
  106. package/build/dex/uniswap-v3/uniswap-v3-pool.js +3 -1
  107. package/build/dex/uniswap-v3/uniswap-v3-pool.js.map +1 -1
  108. package/build/dex/uniswap-v3/uniswap-v3.js +1 -1
  109. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  110. package/build/dex/uniswap-v4/contract-math/Position.d.ts +6 -0
  111. package/build/dex/uniswap-v4/contract-math/Position.js +29 -0
  112. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -1
  113. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
  114. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
  115. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
  116. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  117. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
  118. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
  119. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
  120. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
  121. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
  122. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  123. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
  124. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
  125. package/build/dex/uniswap-v4/hooks/index.d.ts +1 -0
  126. package/build/dex/uniswap-v4/hooks/index.js +9 -0
  127. package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
  128. package/build/dex/uniswap-v4/hooks/spot.d.ts +15 -0
  129. package/build/dex/uniswap-v4/hooks/spot.js +109 -0
  130. package/build/dex/uniswap-v4/hooks/spot.js.map +1 -0
  131. package/build/dex/uniswap-v4/hooks/template.d.ts +150 -0
  132. package/build/dex/uniswap-v4/hooks/template.js +104 -0
  133. package/build/dex/uniswap-v4/hooks/template.js.map +1 -0
  134. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
  135. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
  136. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
  137. package/build/dex/usual/usual-usdc-usdc.d.ts +17 -0
  138. package/build/dex/usual/usual-usdc-usdc.js +59 -0
  139. package/build/dex/usual/usual-usdc-usdc.js.map +1 -0
  140. package/build/dex/{se-vlr → yo}/config.d.ts +1 -1
  141. package/build/dex/yo/config.js +21 -0
  142. package/build/dex/yo/config.js.map +1 -0
  143. package/build/dex/yo/types.d.ts +13 -0
  144. package/build/dex/yo/types.js +3 -0
  145. package/build/dex/{se-vlr → yo}/types.js.map +1 -1
  146. package/build/dex/yo/yo-pool.d.ts +13 -0
  147. package/build/dex/yo/yo-pool.js +26 -0
  148. package/build/dex/yo/yo-pool.js.map +1 -0
  149. package/build/dex/yo/yo.d.ts +39 -0
  150. package/build/dex/yo/yo.js +248 -0
  151. package/build/dex/yo/yo.js.map +1 -0
  152. package/build/implementations/api-paraswap-sdk.d.ts +25 -0
  153. package/build/implementations/api-paraswap-sdk.js +102 -0
  154. package/build/implementations/api-paraswap-sdk.js.map +1 -0
  155. package/package.json +1 -1
  156. package/build/abi/Jarvis.json +0 -1172
  157. package/build/abi/Onebit.json +0 -736
  158. package/build/abi/Shell.json +0 -1294
  159. package/build/abi/TraderJoeV2Router.json +0 -50
  160. package/build/abi/wUSDM.json +0 -757
  161. package/build/abi/zrx.v2.json +0 -1967
  162. package/build/abi/zrx.v3.json +0 -3454
  163. package/build/abi/zrx.v4.json +0 -2193
  164. package/build/dex/OneInchLp.d.ts +0 -24
  165. package/build/dex/OneInchLp.js +0 -43
  166. package/build/dex/OneInchLp.js.map +0 -1
  167. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  168. package/build/dex/bProtocol/bProtocol.js +0 -56
  169. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  170. package/build/dex/bProtocol/types.d.ts +0 -11
  171. package/build/dex/bProtocol/types.js +0 -8
  172. package/build/dex/bProtocol/types.js.map +0 -1
  173. package/build/dex/jarvis.d.ts +0 -56
  174. package/build/dex/jarvis.js +0 -163
  175. package/build/dex/jarvis.js.map +0 -1
  176. package/build/dex/mStable.d.ts +0 -44
  177. package/build/dex/mStable.js +0 -75
  178. package/build/dex/mStable.js.map +0 -1
  179. package/build/dex/onebit/onebit.d.ts +0 -16
  180. package/build/dex/onebit/onebit.js +0 -61
  181. package/build/dex/onebit/onebit.js.map +0 -1
  182. package/build/dex/onebit/types.d.ts +0 -14
  183. package/build/dex/onebit/types.js +0 -8
  184. package/build/dex/onebit/types.js.map +0 -1
  185. package/build/dex/se-vlr/config.js +0 -24
  186. package/build/dex/se-vlr/config.js.map +0 -1
  187. package/build/dex/se-vlr/se-vlr-pool.js +0 -70
  188. package/build/dex/se-vlr/se-vlr-pool.js.map +0 -1
  189. package/build/dex/se-vlr/se-vlr.d.ts +0 -35
  190. package/build/dex/se-vlr/se-vlr.js +0 -131
  191. package/build/dex/se-vlr/se-vlr.js.map +0 -1
  192. package/build/dex/se-vlr/types.d.ts +0 -6
  193. package/build/dex/shell.d.ts +0 -25
  194. package/build/dex/shell.js +0 -41
  195. package/build/dex/shell.js.map +0 -1
  196. package/build/dex/trader-joe-v2.d.ts +0 -40
  197. package/build/dex/trader-joe-v2.js +0 -74
  198. package/build/dex/trader-joe-v2.js.map +0 -1
  199. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +0 -94
  200. package/build/dex/uniswap-v3/uniswap-v3-new.js +0 -923
  201. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +0 -1
  202. package/build/dex/usual-bond/config.js +0 -13
  203. package/build/dex/usual-bond/config.js.map +0 -1
  204. package/build/dex/usual-bond/types.d.ts +0 -7
  205. package/build/dex/usual-bond/usual-bond.js +0 -176
  206. package/build/dex/usual-bond/usual-bond.js.map +0 -1
  207. package/build/dex/wusdm/config.d.ts +0 -3
  208. package/build/dex/wusdm/config.js +0 -43
  209. package/build/dex/wusdm/config.js.map +0 -1
  210. package/build/dex/wusdm/constants.d.ts +0 -2
  211. package/build/dex/wusdm/constants.js +0 -6
  212. package/build/dex/wusdm/constants.js.map +0 -1
  213. package/build/dex/wusdm/types.d.ts +0 -18
  214. package/build/dex/wusdm/types.js +0 -11
  215. package/build/dex/wusdm/types.js.map +0 -1
  216. package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
  217. package/build/dex/wusdm/wusdm-pool.js +0 -74
  218. package/build/dex/wusdm/wusdm-pool.js.map +0 -1
  219. package/build/dex/wusdm/wusdm.d.ts +0 -46
  220. package/build/dex/wusdm/wusdm.js +0 -243
  221. package/build/dex/wusdm/wusdm.js.map +0 -1
  222. package/build/dex/zerox/config.d.ts +0 -2
  223. package/build/dex/zerox/config.js +0 -33
  224. package/build/dex/zerox/config.js.map +0 -1
  225. package/build/dex/zerox/index.d.ts +0 -22
  226. package/build/dex/zerox/index.js +0 -225
  227. package/build/dex/zerox/index.js.map +0 -1
  228. package/build/dex/zerox/order.d.ts +0 -88
  229. package/build/dex/zerox/order.js +0 -53
  230. package/build/dex/zerox/order.js.map +0 -1
  231. package/build/dex/zerox/types.d.ts +0 -73
  232. package/build/dex/zerox/types.js +0 -21
  233. package/build/dex/zerox/types.js.map +0 -1
  234. /package/build/dex/{se-vlr → aave-pt-to-underlying}/types.js +0 -0
  235. /package/build/dex/{usual-bond → aave-pt-to-usdc}/types.js +0 -0
@@ -1,757 +0,0 @@
1
- [
2
- { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" },
3
- {
4
- "inputs": [
5
- { "internalType": "uint256", "name": "deadline", "type": "uint256" },
6
- { "internalType": "uint256", "name": "blockTimestamp", "type": "uint256" }
7
- ],
8
- "name": "ERC2612ExpiredDeadline",
9
- "type": "error"
10
- },
11
- {
12
- "inputs": [
13
- { "internalType": "address", "name": "owner", "type": "address" },
14
- { "internalType": "address", "name": "spender", "type": "address" }
15
- ],
16
- "name": "ERC2612InvalidSignature",
17
- "type": "error"
18
- },
19
- {
20
- "inputs": [
21
- { "internalType": "address", "name": "sender", "type": "address" }
22
- ],
23
- "name": "wUSDMBlockedSender",
24
- "type": "error"
25
- },
26
- { "inputs": [], "name": "wUSDMPausedTransfers", "type": "error" },
27
- {
28
- "anonymous": false,
29
- "inputs": [
30
- {
31
- "indexed": false,
32
- "internalType": "address",
33
- "name": "previousAdmin",
34
- "type": "address"
35
- },
36
- {
37
- "indexed": false,
38
- "internalType": "address",
39
- "name": "newAdmin",
40
- "type": "address"
41
- }
42
- ],
43
- "name": "AdminChanged",
44
- "type": "event"
45
- },
46
- {
47
- "anonymous": false,
48
- "inputs": [
49
- {
50
- "indexed": true,
51
- "internalType": "address",
52
- "name": "owner",
53
- "type": "address"
54
- },
55
- {
56
- "indexed": true,
57
- "internalType": "address",
58
- "name": "spender",
59
- "type": "address"
60
- },
61
- {
62
- "indexed": false,
63
- "internalType": "uint256",
64
- "name": "value",
65
- "type": "uint256"
66
- }
67
- ],
68
- "name": "Approval",
69
- "type": "event"
70
- },
71
- {
72
- "anonymous": false,
73
- "inputs": [
74
- {
75
- "indexed": true,
76
- "internalType": "address",
77
- "name": "beacon",
78
- "type": "address"
79
- }
80
- ],
81
- "name": "BeaconUpgraded",
82
- "type": "event"
83
- },
84
- {
85
- "anonymous": false,
86
- "inputs": [
87
- {
88
- "indexed": true,
89
- "internalType": "address",
90
- "name": "sender",
91
- "type": "address"
92
- },
93
- {
94
- "indexed": true,
95
- "internalType": "address",
96
- "name": "owner",
97
- "type": "address"
98
- },
99
- {
100
- "indexed": false,
101
- "internalType": "uint256",
102
- "name": "assets",
103
- "type": "uint256"
104
- },
105
- {
106
- "indexed": false,
107
- "internalType": "uint256",
108
- "name": "shares",
109
- "type": "uint256"
110
- }
111
- ],
112
- "name": "Deposit",
113
- "type": "event"
114
- },
115
- {
116
- "anonymous": false,
117
- "inputs": [],
118
- "name": "EIP712DomainChanged",
119
- "type": "event"
120
- },
121
- {
122
- "anonymous": false,
123
- "inputs": [
124
- {
125
- "indexed": false,
126
- "internalType": "uint8",
127
- "name": "version",
128
- "type": "uint8"
129
- }
130
- ],
131
- "name": "Initialized",
132
- "type": "event"
133
- },
134
- {
135
- "anonymous": false,
136
- "inputs": [
137
- {
138
- "indexed": false,
139
- "internalType": "address",
140
- "name": "account",
141
- "type": "address"
142
- }
143
- ],
144
- "name": "Paused",
145
- "type": "event"
146
- },
147
- {
148
- "anonymous": false,
149
- "inputs": [
150
- {
151
- "indexed": true,
152
- "internalType": "bytes32",
153
- "name": "role",
154
- "type": "bytes32"
155
- },
156
- {
157
- "indexed": true,
158
- "internalType": "bytes32",
159
- "name": "previousAdminRole",
160
- "type": "bytes32"
161
- },
162
- {
163
- "indexed": true,
164
- "internalType": "bytes32",
165
- "name": "newAdminRole",
166
- "type": "bytes32"
167
- }
168
- ],
169
- "name": "RoleAdminChanged",
170
- "type": "event"
171
- },
172
- {
173
- "anonymous": false,
174
- "inputs": [
175
- {
176
- "indexed": true,
177
- "internalType": "bytes32",
178
- "name": "role",
179
- "type": "bytes32"
180
- },
181
- {
182
- "indexed": true,
183
- "internalType": "address",
184
- "name": "account",
185
- "type": "address"
186
- },
187
- {
188
- "indexed": true,
189
- "internalType": "address",
190
- "name": "sender",
191
- "type": "address"
192
- }
193
- ],
194
- "name": "RoleGranted",
195
- "type": "event"
196
- },
197
- {
198
- "anonymous": false,
199
- "inputs": [
200
- {
201
- "indexed": true,
202
- "internalType": "bytes32",
203
- "name": "role",
204
- "type": "bytes32"
205
- },
206
- {
207
- "indexed": true,
208
- "internalType": "address",
209
- "name": "account",
210
- "type": "address"
211
- },
212
- {
213
- "indexed": true,
214
- "internalType": "address",
215
- "name": "sender",
216
- "type": "address"
217
- }
218
- ],
219
- "name": "RoleRevoked",
220
- "type": "event"
221
- },
222
- {
223
- "anonymous": false,
224
- "inputs": [
225
- {
226
- "indexed": true,
227
- "internalType": "address",
228
- "name": "from",
229
- "type": "address"
230
- },
231
- {
232
- "indexed": true,
233
- "internalType": "address",
234
- "name": "to",
235
- "type": "address"
236
- },
237
- {
238
- "indexed": false,
239
- "internalType": "uint256",
240
- "name": "value",
241
- "type": "uint256"
242
- }
243
- ],
244
- "name": "Transfer",
245
- "type": "event"
246
- },
247
- {
248
- "anonymous": false,
249
- "inputs": [
250
- {
251
- "indexed": false,
252
- "internalType": "address",
253
- "name": "account",
254
- "type": "address"
255
- }
256
- ],
257
- "name": "Unpaused",
258
- "type": "event"
259
- },
260
- {
261
- "anonymous": false,
262
- "inputs": [
263
- {
264
- "indexed": true,
265
- "internalType": "address",
266
- "name": "implementation",
267
- "type": "address"
268
- }
269
- ],
270
- "name": "Upgraded",
271
- "type": "event"
272
- },
273
- {
274
- "anonymous": false,
275
- "inputs": [
276
- {
277
- "indexed": true,
278
- "internalType": "address",
279
- "name": "sender",
280
- "type": "address"
281
- },
282
- {
283
- "indexed": true,
284
- "internalType": "address",
285
- "name": "receiver",
286
- "type": "address"
287
- },
288
- {
289
- "indexed": true,
290
- "internalType": "address",
291
- "name": "owner",
292
- "type": "address"
293
- },
294
- {
295
- "indexed": false,
296
- "internalType": "uint256",
297
- "name": "assets",
298
- "type": "uint256"
299
- },
300
- {
301
- "indexed": false,
302
- "internalType": "uint256",
303
- "name": "shares",
304
- "type": "uint256"
305
- }
306
- ],
307
- "name": "Withdraw",
308
- "type": "event"
309
- },
310
- {
311
- "inputs": [],
312
- "name": "DEFAULT_ADMIN_ROLE",
313
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
314
- "stateMutability": "view",
315
- "type": "function"
316
- },
317
- {
318
- "inputs": [],
319
- "name": "DOMAIN_SEPARATOR",
320
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
321
- "stateMutability": "view",
322
- "type": "function"
323
- },
324
- {
325
- "inputs": [],
326
- "name": "PAUSE_ROLE",
327
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
328
- "stateMutability": "view",
329
- "type": "function"
330
- },
331
- {
332
- "inputs": [],
333
- "name": "UPGRADE_ROLE",
334
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
335
- "stateMutability": "view",
336
- "type": "function"
337
- },
338
- {
339
- "inputs": [],
340
- "name": "USDM",
341
- "outputs": [
342
- { "internalType": "contract IUSDM", "name": "", "type": "address" }
343
- ],
344
- "stateMutability": "view",
345
- "type": "function"
346
- },
347
- {
348
- "inputs": [
349
- { "internalType": "address", "name": "owner", "type": "address" },
350
- { "internalType": "address", "name": "spender", "type": "address" }
351
- ],
352
- "name": "allowance",
353
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
354
- "stateMutability": "view",
355
- "type": "function"
356
- },
357
- {
358
- "inputs": [
359
- { "internalType": "address", "name": "spender", "type": "address" },
360
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
361
- ],
362
- "name": "approve",
363
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
364
- "stateMutability": "nonpayable",
365
- "type": "function"
366
- },
367
- {
368
- "inputs": [],
369
- "name": "asset",
370
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
371
- "stateMutability": "view",
372
- "type": "function"
373
- },
374
- {
375
- "inputs": [
376
- { "internalType": "address", "name": "account", "type": "address" }
377
- ],
378
- "name": "balanceOf",
379
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
380
- "stateMutability": "view",
381
- "type": "function"
382
- },
383
- {
384
- "inputs": [
385
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
386
- ],
387
- "name": "convertToAssets",
388
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
389
- "stateMutability": "view",
390
- "type": "function"
391
- },
392
- {
393
- "inputs": [
394
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
395
- ],
396
- "name": "convertToShares",
397
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
398
- "stateMutability": "view",
399
- "type": "function"
400
- },
401
- {
402
- "inputs": [],
403
- "name": "decimals",
404
- "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
405
- "stateMutability": "view",
406
- "type": "function"
407
- },
408
- {
409
- "inputs": [
410
- { "internalType": "address", "name": "spender", "type": "address" },
411
- {
412
- "internalType": "uint256",
413
- "name": "subtractedValue",
414
- "type": "uint256"
415
- }
416
- ],
417
- "name": "decreaseAllowance",
418
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
419
- "stateMutability": "nonpayable",
420
- "type": "function"
421
- },
422
- {
423
- "inputs": [
424
- { "internalType": "uint256", "name": "assets", "type": "uint256" },
425
- { "internalType": "address", "name": "receiver", "type": "address" }
426
- ],
427
- "name": "deposit",
428
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
429
- "stateMutability": "nonpayable",
430
- "type": "function"
431
- },
432
- {
433
- "inputs": [],
434
- "name": "eip712Domain",
435
- "outputs": [
436
- { "internalType": "bytes1", "name": "fields", "type": "bytes1" },
437
- { "internalType": "string", "name": "name", "type": "string" },
438
- { "internalType": "string", "name": "version", "type": "string" },
439
- { "internalType": "uint256", "name": "chainId", "type": "uint256" },
440
- {
441
- "internalType": "address",
442
- "name": "verifyingContract",
443
- "type": "address"
444
- },
445
- { "internalType": "bytes32", "name": "salt", "type": "bytes32" },
446
- { "internalType": "uint256[]", "name": "extensions", "type": "uint256[]" }
447
- ],
448
- "stateMutability": "view",
449
- "type": "function"
450
- },
451
- {
452
- "inputs": [
453
- { "internalType": "bytes32", "name": "role", "type": "bytes32" }
454
- ],
455
- "name": "getRoleAdmin",
456
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
457
- "stateMutability": "view",
458
- "type": "function"
459
- },
460
- {
461
- "inputs": [
462
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
463
- { "internalType": "address", "name": "account", "type": "address" }
464
- ],
465
- "name": "grantRole",
466
- "outputs": [],
467
- "stateMutability": "nonpayable",
468
- "type": "function"
469
- },
470
- {
471
- "inputs": [
472
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
473
- { "internalType": "address", "name": "account", "type": "address" }
474
- ],
475
- "name": "hasRole",
476
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
477
- "stateMutability": "view",
478
- "type": "function"
479
- },
480
- {
481
- "inputs": [
482
- { "internalType": "address", "name": "spender", "type": "address" },
483
- { "internalType": "uint256", "name": "addedValue", "type": "uint256" }
484
- ],
485
- "name": "increaseAllowance",
486
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
487
- "stateMutability": "nonpayable",
488
- "type": "function"
489
- },
490
- {
491
- "inputs": [
492
- { "internalType": "contract IUSDM", "name": "_USDM", "type": "address" },
493
- { "internalType": "address", "name": "owner", "type": "address" }
494
- ],
495
- "name": "initialize",
496
- "outputs": [],
497
- "stateMutability": "nonpayable",
498
- "type": "function"
499
- },
500
- {
501
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
502
- "name": "maxDeposit",
503
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
504
- "stateMutability": "view",
505
- "type": "function"
506
- },
507
- {
508
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
509
- "name": "maxMint",
510
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
511
- "stateMutability": "view",
512
- "type": "function"
513
- },
514
- {
515
- "inputs": [
516
- { "internalType": "address", "name": "owner", "type": "address" }
517
- ],
518
- "name": "maxRedeem",
519
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
520
- "stateMutability": "view",
521
- "type": "function"
522
- },
523
- {
524
- "inputs": [
525
- { "internalType": "address", "name": "owner", "type": "address" }
526
- ],
527
- "name": "maxWithdraw",
528
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
529
- "stateMutability": "view",
530
- "type": "function"
531
- },
532
- {
533
- "inputs": [
534
- { "internalType": "uint256", "name": "shares", "type": "uint256" },
535
- { "internalType": "address", "name": "receiver", "type": "address" }
536
- ],
537
- "name": "mint",
538
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
539
- "stateMutability": "nonpayable",
540
- "type": "function"
541
- },
542
- {
543
- "inputs": [],
544
- "name": "name",
545
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
546
- "stateMutability": "view",
547
- "type": "function"
548
- },
549
- {
550
- "inputs": [
551
- { "internalType": "address", "name": "owner", "type": "address" }
552
- ],
553
- "name": "nonces",
554
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
555
- "stateMutability": "view",
556
- "type": "function"
557
- },
558
- {
559
- "inputs": [],
560
- "name": "pause",
561
- "outputs": [],
562
- "stateMutability": "nonpayable",
563
- "type": "function"
564
- },
565
- {
566
- "inputs": [],
567
- "name": "paused",
568
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
569
- "stateMutability": "view",
570
- "type": "function"
571
- },
572
- {
573
- "inputs": [
574
- { "internalType": "address", "name": "owner", "type": "address" },
575
- { "internalType": "address", "name": "spender", "type": "address" },
576
- { "internalType": "uint256", "name": "value", "type": "uint256" },
577
- { "internalType": "uint256", "name": "deadline", "type": "uint256" },
578
- { "internalType": "uint8", "name": "v", "type": "uint8" },
579
- { "internalType": "bytes32", "name": "r", "type": "bytes32" },
580
- { "internalType": "bytes32", "name": "s", "type": "bytes32" }
581
- ],
582
- "name": "permit",
583
- "outputs": [],
584
- "stateMutability": "nonpayable",
585
- "type": "function"
586
- },
587
- {
588
- "inputs": [
589
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
590
- ],
591
- "name": "previewDeposit",
592
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
593
- "stateMutability": "view",
594
- "type": "function"
595
- },
596
- {
597
- "inputs": [
598
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
599
- ],
600
- "name": "previewMint",
601
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
602
- "stateMutability": "view",
603
- "type": "function"
604
- },
605
- {
606
- "inputs": [
607
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
608
- ],
609
- "name": "previewRedeem",
610
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
611
- "stateMutability": "view",
612
- "type": "function"
613
- },
614
- {
615
- "inputs": [
616
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
617
- ],
618
- "name": "previewWithdraw",
619
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
620
- "stateMutability": "view",
621
- "type": "function"
622
- },
623
- {
624
- "inputs": [],
625
- "name": "proxiableUUID",
626
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
627
- "stateMutability": "view",
628
- "type": "function"
629
- },
630
- {
631
- "inputs": [
632
- { "internalType": "uint256", "name": "shares", "type": "uint256" },
633
- { "internalType": "address", "name": "receiver", "type": "address" },
634
- { "internalType": "address", "name": "owner", "type": "address" }
635
- ],
636
- "name": "redeem",
637
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
638
- "stateMutability": "nonpayable",
639
- "type": "function"
640
- },
641
- {
642
- "inputs": [
643
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
644
- { "internalType": "address", "name": "account", "type": "address" }
645
- ],
646
- "name": "renounceRole",
647
- "outputs": [],
648
- "stateMutability": "nonpayable",
649
- "type": "function"
650
- },
651
- {
652
- "inputs": [
653
- { "internalType": "bytes32", "name": "role", "type": "bytes32" },
654
- { "internalType": "address", "name": "account", "type": "address" }
655
- ],
656
- "name": "revokeRole",
657
- "outputs": [],
658
- "stateMutability": "nonpayable",
659
- "type": "function"
660
- },
661
- {
662
- "inputs": [
663
- { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }
664
- ],
665
- "name": "supportsInterface",
666
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
667
- "stateMutability": "view",
668
- "type": "function"
669
- },
670
- {
671
- "inputs": [],
672
- "name": "symbol",
673
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
674
- "stateMutability": "view",
675
- "type": "function"
676
- },
677
- {
678
- "inputs": [],
679
- "name": "totalAssets",
680
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
681
- "stateMutability": "view",
682
- "type": "function"
683
- },
684
- {
685
- "inputs": [],
686
- "name": "totalSupply",
687
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
688
- "stateMutability": "view",
689
- "type": "function"
690
- },
691
- {
692
- "inputs": [
693
- { "internalType": "address", "name": "to", "type": "address" },
694
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
695
- ],
696
- "name": "transfer",
697
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
698
- "stateMutability": "nonpayable",
699
- "type": "function"
700
- },
701
- {
702
- "inputs": [
703
- { "internalType": "address", "name": "from", "type": "address" },
704
- { "internalType": "address", "name": "to", "type": "address" },
705
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
706
- ],
707
- "name": "transferFrom",
708
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
709
- "stateMutability": "nonpayable",
710
- "type": "function"
711
- },
712
- {
713
- "inputs": [],
714
- "name": "unpause",
715
- "outputs": [],
716
- "stateMutability": "nonpayable",
717
- "type": "function"
718
- },
719
- {
720
- "inputs": [
721
- {
722
- "internalType": "address",
723
- "name": "newImplementation",
724
- "type": "address"
725
- }
726
- ],
727
- "name": "upgradeTo",
728
- "outputs": [],
729
- "stateMutability": "nonpayable",
730
- "type": "function"
731
- },
732
- {
733
- "inputs": [
734
- {
735
- "internalType": "address",
736
- "name": "newImplementation",
737
- "type": "address"
738
- },
739
- { "internalType": "bytes", "name": "data", "type": "bytes" }
740
- ],
741
- "name": "upgradeToAndCall",
742
- "outputs": [],
743
- "stateMutability": "payable",
744
- "type": "function"
745
- },
746
- {
747
- "inputs": [
748
- { "internalType": "uint256", "name": "assets", "type": "uint256" },
749
- { "internalType": "address", "name": "receiver", "type": "address" },
750
- { "internalType": "address", "name": "owner", "type": "address" }
751
- ],
752
- "name": "withdraw",
753
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
754
- "stateMutability": "nonpayable",
755
- "type": "function"
756
- }
757
- ]