@paraswap/dex-lib 4.7.13-from-amount-pos.0 → 4.7.13-unified-pair-restriction.1

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 (244) hide show
  1. package/build/abi/{apex-defi/ApexDefiRouter.abi.json → BProtocol.json} +573 -538
  2. package/build/abi/Jarvis.json +1172 -0
  3. package/build/abi/{apex-defi/ApexDefiFactory.abi.json → MStableAsset.json} +781 -985
  4. package/build/abi/{apex-defi/ApexDefiWrapperFactory.abi.json → OneInchLp.json} +766 -569
  5. package/build/abi/Onebit.json +736 -0
  6. package/build/abi/Shell.json +1294 -0
  7. package/build/abi/TraderJoeV2Router.json +50 -0
  8. package/build/abi/wUSDM.json +757 -0
  9. package/build/abi/zrx.v2.json +1967 -0
  10. package/build/abi/zrx.v3.json +3454 -0
  11. package/build/abi/zrx.v4.json +2193 -0
  12. package/build/dex/OneInchLp.d.ts +24 -0
  13. package/build/dex/OneInchLp.js +43 -0
  14. package/build/dex/OneInchLp.js.map +1 -0
  15. package/build/dex/bProtocol/bProtocol.d.ts +15 -0
  16. package/build/dex/bProtocol/bProtocol.js +56 -0
  17. package/build/dex/bProtocol/bProtocol.js.map +1 -0
  18. package/build/dex/bProtocol/types.d.ts +11 -0
  19. package/build/dex/bProtocol/types.js +8 -0
  20. package/build/dex/bProtocol/types.js.map +1 -0
  21. package/build/dex/cables/cables.d.ts +1 -1
  22. package/build/dex/cables/cables.js +1 -1
  23. package/build/dex/cables/cables.js.map +1 -1
  24. package/build/dex/dexalot/dexalot.d.ts +0 -3
  25. package/build/dex/dexalot/dexalot.js +9 -17
  26. package/build/dex/dexalot/dexalot.js.map +1 -1
  27. package/build/dex/generic-rfq/generic-rfq.d.ts +1 -1
  28. package/build/dex/generic-rfq/generic-rfq.js +54 -44
  29. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  30. package/build/dex/generic-rfq/types.d.ts +3 -0
  31. package/build/dex/generic-rfq/types.js +6 -0
  32. package/build/dex/generic-rfq/types.js.map +1 -1
  33. package/build/dex/hashflow/hashflow.js +2 -1
  34. package/build/dex/hashflow/hashflow.js.map +1 -1
  35. package/build/dex/idex.d.ts +6 -0
  36. package/build/dex/jarvis.d.ts +56 -0
  37. package/build/dex/jarvis.js +163 -0
  38. package/build/dex/jarvis.js.map +1 -0
  39. package/build/dex/limit-order-exchange.js +1 -0
  40. package/build/dex/limit-order-exchange.js.map +1 -1
  41. package/build/dex/mStable.d.ts +44 -0
  42. package/build/dex/mStable.js +75 -0
  43. package/build/dex/mStable.js.map +1 -0
  44. package/build/dex/onebit/onebit.d.ts +16 -0
  45. package/build/dex/onebit/onebit.js +61 -0
  46. package/build/dex/onebit/onebit.js.map +1 -0
  47. package/build/dex/onebit/types.d.ts +14 -0
  48. package/build/dex/onebit/types.js +8 -0
  49. package/build/dex/onebit/types.js.map +1 -0
  50. package/build/dex/{yo → se-vlr}/config.d.ts +1 -1
  51. package/build/dex/se-vlr/config.js +24 -0
  52. package/build/dex/se-vlr/config.js.map +1 -0
  53. package/build/dex/{stabull/stabull-pool.d.ts → se-vlr/se-vlr-pool.d.ts} +6 -13
  54. package/build/dex/se-vlr/se-vlr-pool.js +70 -0
  55. package/build/dex/se-vlr/se-vlr-pool.js.map +1 -0
  56. package/build/dex/se-vlr/se-vlr.d.ts +35 -0
  57. package/build/dex/se-vlr/se-vlr.js +131 -0
  58. package/build/dex/se-vlr/se-vlr.js.map +1 -0
  59. package/build/dex/se-vlr/types.d.ts +6 -0
  60. package/build/dex/{yo → se-vlr}/types.js.map +1 -1
  61. package/build/dex/shell.d.ts +25 -0
  62. package/build/dex/shell.js +41 -0
  63. package/build/dex/shell.js.map +1 -0
  64. package/build/dex/simple-exchange-with-restrictions.d.ts +10 -2
  65. package/build/dex/simple-exchange-with-restrictions.js +30 -1
  66. package/build/dex/simple-exchange-with-restrictions.js.map +1 -1
  67. package/build/dex/swaap-v2/swaap-v2.d.ts +1 -3
  68. package/build/dex/swaap-v2/swaap-v2.js +11 -24
  69. package/build/dex/swaap-v2/swaap-v2.js.map +1 -1
  70. package/build/dex/swaap-v2/utils.d.ts +1 -0
  71. package/build/dex/swaap-v2/utils.js +7 -1
  72. package/build/dex/swaap-v2/utils.js.map +1 -1
  73. package/build/dex/trader-joe-v2.d.ts +40 -0
  74. package/build/dex/trader-joe-v2.js +74 -0
  75. package/build/dex/trader-joe-v2.js.map +1 -0
  76. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +94 -0
  77. package/build/dex/uniswap-v3/uniswap-v3-new.js +923 -0
  78. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +1 -0
  79. package/build/dex/uniswap-v4/contract-math/Position.d.ts +0 -6
  80. package/build/dex/uniswap-v4/contract-math/Position.js +0 -29
  81. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -1
  82. package/build/dex/{stabull → usual-bond}/config.d.ts +1 -1
  83. package/build/dex/usual-bond/config.js +13 -0
  84. package/build/dex/usual-bond/config.js.map +1 -0
  85. package/build/dex/usual-bond/types.d.ts +7 -0
  86. package/build/dex/{apex-defi → usual-bond}/types.js.map +1 -1
  87. package/build/dex/{aave-pt-to-underlying/aave-pt-to-underlying.d.ts → usual-bond/usual-bond.d.ts} +18 -23
  88. package/build/dex/usual-bond/usual-bond.js +176 -0
  89. package/build/dex/usual-bond/usual-bond.js.map +1 -0
  90. package/build/dex/wusdm/config.d.ts +3 -0
  91. package/build/dex/wusdm/config.js +43 -0
  92. package/build/dex/wusdm/config.js.map +1 -0
  93. package/build/dex/wusdm/constants.d.ts +2 -0
  94. package/build/dex/wusdm/constants.js +6 -0
  95. package/build/dex/wusdm/constants.js.map +1 -0
  96. package/build/dex/wusdm/types.d.ts +18 -0
  97. package/build/dex/wusdm/types.js +11 -0
  98. package/build/dex/wusdm/types.js.map +1 -0
  99. package/build/dex/wusdm/wusdm-pool.d.ts +21 -0
  100. package/build/dex/wusdm/wusdm-pool.js +74 -0
  101. package/build/dex/wusdm/wusdm-pool.js.map +1 -0
  102. package/build/dex/wusdm/wusdm.d.ts +46 -0
  103. package/build/dex/wusdm/wusdm.js +243 -0
  104. package/build/dex/wusdm/wusdm.js.map +1 -0
  105. package/build/dex/zerox/config.d.ts +2 -0
  106. package/build/dex/zerox/config.js +33 -0
  107. package/build/dex/zerox/config.js.map +1 -0
  108. package/build/dex/zerox/index.d.ts +22 -0
  109. package/build/dex/zerox/index.js +225 -0
  110. package/build/dex/zerox/index.js.map +1 -0
  111. package/build/dex/zerox/order.d.ts +88 -0
  112. package/build/dex/zerox/order.js +53 -0
  113. package/build/dex/zerox/order.js.map +1 -0
  114. package/build/dex/zerox/types.d.ts +73 -0
  115. package/build/dex/zerox/types.js +21 -0
  116. package/build/dex/zerox/types.js.map +1 -0
  117. package/build/executor/Executor01BytecodeBuilder.js +4 -10
  118. package/build/executor/Executor01BytecodeBuilder.js.map +1 -1
  119. package/build/pricing-helper.d.ts +2 -1
  120. package/build/pricing-helper.js +22 -3
  121. package/build/pricing-helper.js.map +1 -1
  122. package/package.json +1 -1
  123. package/build/abi/PendleRouterStatic.json +0 -19
  124. package/build/abi/apex-defi/ApexDefiToken.abi.json +0 -229
  125. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +0 -92
  126. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +0 -796
  127. package/build/abi/pendle/pendle-deployer.abi.json +0 -520
  128. package/build/abi/pendle/pendle-oracle.abi.json +0 -413
  129. package/build/abi/ring-v2/few-wrapped-token.json +0 -587
  130. package/build/abi/ring-v2/ring-v2-factory.json +0 -125
  131. package/build/abi/ring-v2/ring-v2-pool.json +0 -461
  132. package/build/abi/ring-v2/ring-v2-router.json +0 -332
  133. package/build/abi/stabull/stabull-curve.json +0 -738
  134. package/build/abi/stabull/stabull-router.json +0 -76
  135. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +0 -26
  136. package/build/abi/uniswap-v4/hooks/SpotHook.json +0 -54
  137. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +0 -45
  138. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +0 -682
  139. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +0 -1335
  140. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +0 -29
  141. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +0 -153
  142. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +0 -1
  143. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +0 -323
  144. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +0 -1
  145. package/build/dex/aave-pt-to-underlying/config.d.ts +0 -3
  146. package/build/dex/aave-pt-to-underlying/config.js +0 -24
  147. package/build/dex/aave-pt-to-underlying/config.js.map +0 -1
  148. package/build/dex/aave-pt-to-underlying/constants.d.ts +0 -2
  149. package/build/dex/aave-pt-to-underlying/constants.js +0 -6
  150. package/build/dex/aave-pt-to-underlying/constants.js.map +0 -1
  151. package/build/dex/aave-pt-to-underlying/types.d.ts +0 -24
  152. package/build/dex/aave-pt-to-underlying/types.js.map +0 -1
  153. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +0 -39
  154. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +0 -244
  155. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +0 -1
  156. package/build/dex/aave-pt-to-usdc/config.d.ts +0 -3
  157. package/build/dex/aave-pt-to-usdc/config.js +0 -47
  158. package/build/dex/aave-pt-to-usdc/config.js.map +0 -1
  159. package/build/dex/aave-pt-to-usdc/constants.d.ts +0 -2
  160. package/build/dex/aave-pt-to-usdc/constants.js +0 -6
  161. package/build/dex/aave-pt-to-usdc/constants.js.map +0 -1
  162. package/build/dex/aave-pt-to-usdc/types.d.ts +0 -22
  163. package/build/dex/aave-pt-to-usdc/types.js.map +0 -1
  164. package/build/dex/apex-defi/apex-defi-factory.d.ts +0 -26
  165. package/build/dex/apex-defi/apex-defi-factory.js +0 -53
  166. package/build/dex/apex-defi/apex-defi-factory.js.map +0 -1
  167. package/build/dex/apex-defi/apex-defi-pool.d.ts +0 -55
  168. package/build/dex/apex-defi/apex-defi-pool.js +0 -247
  169. package/build/dex/apex-defi/apex-defi-pool.js.map +0 -1
  170. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +0 -57
  171. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +0 -250
  172. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +0 -1
  173. package/build/dex/apex-defi/apex-defi.d.ts +0 -97
  174. package/build/dex/apex-defi/apex-defi.js +0 -1021
  175. package/build/dex/apex-defi/apex-defi.js.map +0 -1
  176. package/build/dex/apex-defi/config.d.ts +0 -4
  177. package/build/dex/apex-defi/config.js +0 -138
  178. package/build/dex/apex-defi/config.js.map +0 -1
  179. package/build/dex/apex-defi/types.d.ts +0 -32
  180. package/build/dex/apex-defi/types.js +0 -3
  181. package/build/dex/apex-defi/utils.d.ts +0 -46
  182. package/build/dex/apex-defi/utils.js +0 -133
  183. package/build/dex/apex-defi/utils.js.map +0 -1
  184. package/build/dex/maker-psm/maker-psm-event-pool.d.ts +0 -43
  185. package/build/dex/maker-psm/maker-psm-event-pool.js +0 -132
  186. package/build/dex/maker-psm/maker-psm-event-pool.js.map +0 -1
  187. package/build/dex/miro-migrator/miro-migrator-state.d.ts +0 -27
  188. package/build/dex/miro-migrator/miro-migrator-state.js +0 -89
  189. package/build/dex/miro-migrator/miro-migrator-state.js.map +0 -1
  190. package/build/dex/stabull/config.js +0 -177
  191. package/build/dex/stabull/config.js.map +0 -1
  192. package/build/dex/stabull/stabull-pool.js +0 -113
  193. package/build/dex/stabull/stabull-pool.js.map +0 -1
  194. package/build/dex/stabull/stabull.d.ts +0 -55
  195. package/build/dex/stabull/stabull.js +0 -286
  196. package/build/dex/stabull/stabull.js.map +0 -1
  197. package/build/dex/stabull/types.d.ts +0 -21
  198. package/build/dex/stabull/types.js +0 -3
  199. package/build/dex/stabull/types.js.map +0 -1
  200. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +0 -4
  201. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +0 -56
  202. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +0 -1
  203. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +0 -7
  204. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +0 -28
  205. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +0 -1
  206. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  207. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +0 -2
  208. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +0 -1
  209. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +0 -7
  210. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +0 -28
  211. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +0 -1
  212. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  213. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +0 -2
  214. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +0 -1
  215. package/build/dex/uniswap-v4/hooks/index.d.ts +0 -1
  216. package/build/dex/uniswap-v4/hooks/index.js +0 -9
  217. package/build/dex/uniswap-v4/hooks/index.js.map +0 -1
  218. package/build/dex/uniswap-v4/hooks/spot.d.ts +0 -15
  219. package/build/dex/uniswap-v4/hooks/spot.js +0 -109
  220. package/build/dex/uniswap-v4/hooks/spot.js.map +0 -1
  221. package/build/dex/uniswap-v4/hooks/template.d.ts +0 -150
  222. package/build/dex/uniswap-v4/hooks/template.js +0 -104
  223. package/build/dex/uniswap-v4/hooks/template.js.map +0 -1
  224. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +0 -26
  225. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +0 -75
  226. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +0 -1
  227. package/build/dex/usual/usual-usdc-usdc.d.ts +0 -17
  228. package/build/dex/usual/usual-usdc-usdc.js +0 -59
  229. package/build/dex/usual/usual-usdc-usdc.js.map +0 -1
  230. package/build/dex/yo/config.js +0 -21
  231. package/build/dex/yo/config.js.map +0 -1
  232. package/build/dex/yo/types.d.ts +0 -13
  233. package/build/dex/yo/types.js +0 -3
  234. package/build/dex/yo/yo-pool.d.ts +0 -13
  235. package/build/dex/yo/yo-pool.js +0 -26
  236. package/build/dex/yo/yo-pool.js.map +0 -1
  237. package/build/dex/yo/yo.d.ts +0 -39
  238. package/build/dex/yo/yo.js +0 -248
  239. package/build/dex/yo/yo.js.map +0 -1
  240. package/build/implementations/api-paraswap-sdk.d.ts +0 -25
  241. package/build/implementations/api-paraswap-sdk.js +0 -102
  242. package/build/implementations/api-paraswap-sdk.js.map +0 -1
  243. /package/build/dex/{aave-pt-to-underlying → se-vlr}/types.js +0 -0
  244. /package/build/dex/{aave-pt-to-usdc → usual-bond}/types.js +0 -0
@@ -0,0 +1,757 @@
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
+ ]