@paraswap/dex-lib 4.7.11 → 4.7.12-multi-wrapper-non-zero-sender.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 (219) 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/curve-v1-factory/state-polling-pools/polling-manager.js +1 -1
  22. package/build/dex/curve-v1-factory/state-polling-pools/polling-manager.js.map +1 -1
  23. package/build/dex/jarvis.d.ts +56 -0
  24. package/build/dex/jarvis.js +163 -0
  25. package/build/dex/jarvis.js.map +1 -0
  26. package/build/dex/mStable.d.ts +44 -0
  27. package/build/dex/mStable.js +75 -0
  28. package/build/dex/mStable.js.map +1 -0
  29. package/build/dex/onebit/onebit.d.ts +16 -0
  30. package/build/dex/onebit/onebit.js +61 -0
  31. package/build/dex/onebit/onebit.js.map +1 -0
  32. package/build/dex/onebit/types.d.ts +14 -0
  33. package/build/dex/onebit/types.js +8 -0
  34. package/build/dex/onebit/types.js.map +1 -0
  35. package/build/dex/{yo → se-vlr}/config.d.ts +1 -1
  36. package/build/dex/se-vlr/config.js +24 -0
  37. package/build/dex/se-vlr/config.js.map +1 -0
  38. package/build/dex/{stabull/stabull-pool.d.ts → se-vlr/se-vlr-pool.d.ts} +6 -13
  39. package/build/dex/se-vlr/se-vlr-pool.js +70 -0
  40. package/build/dex/se-vlr/se-vlr-pool.js.map +1 -0
  41. package/build/dex/se-vlr/se-vlr.d.ts +35 -0
  42. package/build/dex/se-vlr/se-vlr.js +131 -0
  43. package/build/dex/se-vlr/se-vlr.js.map +1 -0
  44. package/build/dex/se-vlr/types.d.ts +6 -0
  45. package/build/dex/{yo → se-vlr}/types.js.map +1 -1
  46. package/build/dex/shell.d.ts +25 -0
  47. package/build/dex/shell.js +41 -0
  48. package/build/dex/shell.js.map +1 -0
  49. package/build/dex/trader-joe-v2.d.ts +40 -0
  50. package/build/dex/trader-joe-v2.js +74 -0
  51. package/build/dex/trader-joe-v2.js.map +1 -0
  52. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +94 -0
  53. package/build/dex/uniswap-v3/uniswap-v3-new.js +923 -0
  54. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +1 -0
  55. package/build/dex/uniswap-v4/contract-math/Position.d.ts +0 -6
  56. package/build/dex/uniswap-v4/contract-math/Position.js +0 -29
  57. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -1
  58. package/build/dex/{stabull → usual-bond}/config.d.ts +1 -1
  59. package/build/dex/usual-bond/config.js +13 -0
  60. package/build/dex/usual-bond/config.js.map +1 -0
  61. package/build/dex/usual-bond/types.d.ts +7 -0
  62. package/build/dex/{apex-defi → usual-bond}/types.js.map +1 -1
  63. package/build/dex/{aave-pt-to-underlying/aave-pt-to-underlying.d.ts → usual-bond/usual-bond.d.ts} +18 -23
  64. package/build/dex/usual-bond/usual-bond.js +176 -0
  65. package/build/dex/usual-bond/usual-bond.js.map +1 -0
  66. package/build/dex/wusdm/config.d.ts +3 -0
  67. package/build/dex/wusdm/config.js +43 -0
  68. package/build/dex/wusdm/config.js.map +1 -0
  69. package/build/dex/wusdm/constants.d.ts +2 -0
  70. package/build/dex/wusdm/constants.js +6 -0
  71. package/build/dex/wusdm/constants.js.map +1 -0
  72. package/build/dex/wusdm/types.d.ts +18 -0
  73. package/build/dex/wusdm/types.js +11 -0
  74. package/build/dex/wusdm/types.js.map +1 -0
  75. package/build/dex/wusdm/wusdm-pool.d.ts +21 -0
  76. package/build/dex/wusdm/wusdm-pool.js +74 -0
  77. package/build/dex/wusdm/wusdm-pool.js.map +1 -0
  78. package/build/dex/wusdm/wusdm.d.ts +46 -0
  79. package/build/dex/wusdm/wusdm.js +243 -0
  80. package/build/dex/wusdm/wusdm.js.map +1 -0
  81. package/build/dex/zerox/config.d.ts +2 -0
  82. package/build/dex/zerox/config.js +33 -0
  83. package/build/dex/zerox/config.js.map +1 -0
  84. package/build/dex/zerox/index.d.ts +22 -0
  85. package/build/dex/zerox/index.js +225 -0
  86. package/build/dex/zerox/index.js.map +1 -0
  87. package/build/dex/zerox/order.d.ts +88 -0
  88. package/build/dex/zerox/order.js +53 -0
  89. package/build/dex/zerox/order.js.map +1 -0
  90. package/build/dex/zerox/types.d.ts +73 -0
  91. package/build/dex/zerox/types.js +21 -0
  92. package/build/dex/zerox/types.js.map +1 -0
  93. package/build/dex-helper/dummy-dex-helper.d.ts +2 -0
  94. package/build/dex-helper/dummy-dex-helper.js +4 -0
  95. package/build/dex-helper/dummy-dex-helper.js.map +1 -1
  96. package/build/dex-helper/idex-helper.d.ts +2 -0
  97. package/package.json +1 -1
  98. package/build/abi/PendleRouterStatic.json +0 -19
  99. package/build/abi/apex-defi/ApexDefiToken.abi.json +0 -229
  100. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +0 -92
  101. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +0 -796
  102. package/build/abi/pendle/pendle-deployer.abi.json +0 -520
  103. package/build/abi/pendle/pendle-oracle.abi.json +0 -413
  104. package/build/abi/ring-v2/few-wrapped-token.json +0 -587
  105. package/build/abi/ring-v2/ring-v2-factory.json +0 -125
  106. package/build/abi/ring-v2/ring-v2-pool.json +0 -461
  107. package/build/abi/ring-v2/ring-v2-router.json +0 -332
  108. package/build/abi/stabull/stabull-curve.json +0 -738
  109. package/build/abi/stabull/stabull-router.json +0 -76
  110. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +0 -26
  111. package/build/abi/uniswap-v4/hooks/SpotHook.json +0 -54
  112. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +0 -45
  113. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +0 -682
  114. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +0 -1335
  115. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +0 -29
  116. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +0 -153
  117. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +0 -1
  118. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +0 -323
  119. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +0 -1
  120. package/build/dex/aave-pt-to-underlying/config.d.ts +0 -3
  121. package/build/dex/aave-pt-to-underlying/config.js +0 -24
  122. package/build/dex/aave-pt-to-underlying/config.js.map +0 -1
  123. package/build/dex/aave-pt-to-underlying/constants.d.ts +0 -2
  124. package/build/dex/aave-pt-to-underlying/constants.js +0 -6
  125. package/build/dex/aave-pt-to-underlying/constants.js.map +0 -1
  126. package/build/dex/aave-pt-to-underlying/types.d.ts +0 -24
  127. package/build/dex/aave-pt-to-underlying/types.js.map +0 -1
  128. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +0 -39
  129. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +0 -244
  130. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +0 -1
  131. package/build/dex/aave-pt-to-usdc/config.d.ts +0 -3
  132. package/build/dex/aave-pt-to-usdc/config.js +0 -47
  133. package/build/dex/aave-pt-to-usdc/config.js.map +0 -1
  134. package/build/dex/aave-pt-to-usdc/constants.d.ts +0 -2
  135. package/build/dex/aave-pt-to-usdc/constants.js +0 -6
  136. package/build/dex/aave-pt-to-usdc/constants.js.map +0 -1
  137. package/build/dex/aave-pt-to-usdc/types.d.ts +0 -22
  138. package/build/dex/aave-pt-to-usdc/types.js.map +0 -1
  139. package/build/dex/apex-defi/apex-defi-factory.d.ts +0 -26
  140. package/build/dex/apex-defi/apex-defi-factory.js +0 -53
  141. package/build/dex/apex-defi/apex-defi-factory.js.map +0 -1
  142. package/build/dex/apex-defi/apex-defi-pool.d.ts +0 -55
  143. package/build/dex/apex-defi/apex-defi-pool.js +0 -247
  144. package/build/dex/apex-defi/apex-defi-pool.js.map +0 -1
  145. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +0 -57
  146. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +0 -250
  147. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +0 -1
  148. package/build/dex/apex-defi/apex-defi.d.ts +0 -97
  149. package/build/dex/apex-defi/apex-defi.js +0 -1021
  150. package/build/dex/apex-defi/apex-defi.js.map +0 -1
  151. package/build/dex/apex-defi/config.d.ts +0 -4
  152. package/build/dex/apex-defi/config.js +0 -138
  153. package/build/dex/apex-defi/config.js.map +0 -1
  154. package/build/dex/apex-defi/types.d.ts +0 -32
  155. package/build/dex/apex-defi/types.js +0 -3
  156. package/build/dex/apex-defi/utils.d.ts +0 -46
  157. package/build/dex/apex-defi/utils.js +0 -133
  158. package/build/dex/apex-defi/utils.js.map +0 -1
  159. package/build/dex/maker-psm/maker-psm-event-pool.d.ts +0 -43
  160. package/build/dex/maker-psm/maker-psm-event-pool.js +0 -132
  161. package/build/dex/maker-psm/maker-psm-event-pool.js.map +0 -1
  162. package/build/dex/miro-migrator/miro-migrator-state.d.ts +0 -27
  163. package/build/dex/miro-migrator/miro-migrator-state.js +0 -89
  164. package/build/dex/miro-migrator/miro-migrator-state.js.map +0 -1
  165. package/build/dex/stabull/config.js +0 -177
  166. package/build/dex/stabull/config.js.map +0 -1
  167. package/build/dex/stabull/stabull-pool.js +0 -113
  168. package/build/dex/stabull/stabull-pool.js.map +0 -1
  169. package/build/dex/stabull/stabull.d.ts +0 -55
  170. package/build/dex/stabull/stabull.js +0 -286
  171. package/build/dex/stabull/stabull.js.map +0 -1
  172. package/build/dex/stabull/types.d.ts +0 -21
  173. package/build/dex/stabull/types.js +0 -3
  174. package/build/dex/stabull/types.js.map +0 -1
  175. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +0 -4
  176. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +0 -56
  177. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +0 -1
  178. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +0 -7
  179. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +0 -28
  180. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +0 -1
  181. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  182. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +0 -2
  183. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +0 -1
  184. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +0 -7
  185. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +0 -28
  186. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +0 -1
  187. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  188. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +0 -2
  189. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +0 -1
  190. package/build/dex/uniswap-v4/hooks/index.d.ts +0 -1
  191. package/build/dex/uniswap-v4/hooks/index.js +0 -9
  192. package/build/dex/uniswap-v4/hooks/index.js.map +0 -1
  193. package/build/dex/uniswap-v4/hooks/spot.d.ts +0 -15
  194. package/build/dex/uniswap-v4/hooks/spot.js +0 -109
  195. package/build/dex/uniswap-v4/hooks/spot.js.map +0 -1
  196. package/build/dex/uniswap-v4/hooks/template.d.ts +0 -150
  197. package/build/dex/uniswap-v4/hooks/template.js +0 -104
  198. package/build/dex/uniswap-v4/hooks/template.js.map +0 -1
  199. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +0 -26
  200. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +0 -75
  201. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +0 -1
  202. package/build/dex/usual/usual-usdc-usdc.d.ts +0 -17
  203. package/build/dex/usual/usual-usdc-usdc.js +0 -59
  204. package/build/dex/usual/usual-usdc-usdc.js.map +0 -1
  205. package/build/dex/yo/config.js +0 -21
  206. package/build/dex/yo/config.js.map +0 -1
  207. package/build/dex/yo/types.d.ts +0 -13
  208. package/build/dex/yo/types.js +0 -3
  209. package/build/dex/yo/yo-pool.d.ts +0 -13
  210. package/build/dex/yo/yo-pool.js +0 -26
  211. package/build/dex/yo/yo-pool.js.map +0 -1
  212. package/build/dex/yo/yo.d.ts +0 -39
  213. package/build/dex/yo/yo.js +0 -248
  214. package/build/dex/yo/yo.js.map +0 -1
  215. package/build/implementations/api-paraswap-sdk.d.ts +0 -25
  216. package/build/implementations/api-paraswap-sdk.js +0 -102
  217. package/build/implementations/api-paraswap-sdk.js.map +0 -1
  218. /package/build/dex/{aave-pt-to-underlying → se-vlr}/types.js +0 -0
  219. /package/build/dex/{aave-pt-to-usdc → usual-bond}/types.js +0 -0
@@ -0,0 +1,1294 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address[]",
6
+ "name": "_assets",
7
+ "type": "address[]"
8
+ },
9
+ {
10
+ "internalType": "uint256[]",
11
+ "name": "_assetWeights",
12
+ "type": "uint256[]"
13
+ },
14
+ {
15
+ "internalType": "address[]",
16
+ "name": "_derivativeAssimilators",
17
+ "type": "address[]"
18
+ }
19
+ ],
20
+ "payable": false,
21
+ "stateMutability": "nonpayable",
22
+ "type": "constructor"
23
+ },
24
+ {
25
+ "anonymous": false,
26
+ "inputs": [
27
+ {
28
+ "indexed": true,
29
+ "internalType": "address",
30
+ "name": "_owner",
31
+ "type": "address"
32
+ },
33
+ {
34
+ "indexed": true,
35
+ "internalType": "address",
36
+ "name": "spender",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "indexed": false,
41
+ "internalType": "uint256",
42
+ "name": "value",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "name": "Approval",
47
+ "type": "event"
48
+ },
49
+ {
50
+ "anonymous": false,
51
+ "inputs": [
52
+ {
53
+ "indexed": true,
54
+ "internalType": "address",
55
+ "name": "numeraire",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "indexed": true,
60
+ "internalType": "address",
61
+ "name": "reserve",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "uint256",
67
+ "name": "weight",
68
+ "type": "uint256"
69
+ }
70
+ ],
71
+ "name": "AssetIncluded",
72
+ "type": "event"
73
+ },
74
+ {
75
+ "anonymous": false,
76
+ "inputs": [
77
+ {
78
+ "indexed": true,
79
+ "internalType": "address",
80
+ "name": "derivative",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "indexed": true,
85
+ "internalType": "address",
86
+ "name": "numeraire",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "indexed": true,
91
+ "internalType": "address",
92
+ "name": "reserve",
93
+ "type": "address"
94
+ },
95
+ {
96
+ "indexed": false,
97
+ "internalType": "address",
98
+ "name": "assimilator",
99
+ "type": "address"
100
+ }
101
+ ],
102
+ "name": "AssimilatorIncluded",
103
+ "type": "event"
104
+ },
105
+ {
106
+ "anonymous": false,
107
+ "inputs": [
108
+ {
109
+ "indexed": false,
110
+ "internalType": "bool",
111
+ "name": "isFrozen",
112
+ "type": "bool"
113
+ }
114
+ ],
115
+ "name": "FrozenSet",
116
+ "type": "event"
117
+ },
118
+ {
119
+ "anonymous": false,
120
+ "inputs": [
121
+ {
122
+ "indexed": true,
123
+ "internalType": "address",
124
+ "name": "previousOwner",
125
+ "type": "address"
126
+ },
127
+ {
128
+ "indexed": true,
129
+ "internalType": "address",
130
+ "name": "newOwner",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "OwnershipTransfered",
135
+ "type": "event"
136
+ },
137
+ {
138
+ "anonymous": false,
139
+ "inputs": [
140
+ {
141
+ "indexed": false,
142
+ "internalType": "uint256",
143
+ "name": "alpha",
144
+ "type": "uint256"
145
+ },
146
+ {
147
+ "indexed": false,
148
+ "internalType": "uint256",
149
+ "name": "beta",
150
+ "type": "uint256"
151
+ },
152
+ {
153
+ "indexed": false,
154
+ "internalType": "uint256",
155
+ "name": "delta",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "indexed": false,
160
+ "internalType": "uint256",
161
+ "name": "epsilon",
162
+ "type": "uint256"
163
+ },
164
+ {
165
+ "indexed": false,
166
+ "internalType": "uint256",
167
+ "name": "lambda",
168
+ "type": "uint256"
169
+ }
170
+ ],
171
+ "name": "ParametersSet",
172
+ "type": "event"
173
+ },
174
+ {
175
+ "anonymous": false,
176
+ "inputs": [
177
+ {
178
+ "indexed": true,
179
+ "internalType": "address",
180
+ "name": "token",
181
+ "type": "address"
182
+ },
183
+ {
184
+ "indexed": true,
185
+ "internalType": "address",
186
+ "name": "redeemer",
187
+ "type": "address"
188
+ },
189
+ {
190
+ "indexed": false,
191
+ "internalType": "uint256",
192
+ "name": "value",
193
+ "type": "uint256"
194
+ }
195
+ ],
196
+ "name": "PartitionRedeemed",
197
+ "type": "event"
198
+ },
199
+ {
200
+ "anonymous": false,
201
+ "inputs": [
202
+ {
203
+ "indexed": false,
204
+ "internalType": "bool",
205
+ "name": "partitioned",
206
+ "type": "bool"
207
+ }
208
+ ],
209
+ "name": "PoolPartitioned",
210
+ "type": "event"
211
+ },
212
+ {
213
+ "anonymous": false,
214
+ "inputs": [
215
+ {
216
+ "indexed": true,
217
+ "internalType": "address",
218
+ "name": "trader",
219
+ "type": "address"
220
+ },
221
+ {
222
+ "indexed": true,
223
+ "internalType": "address",
224
+ "name": "origin",
225
+ "type": "address"
226
+ },
227
+ {
228
+ "indexed": true,
229
+ "internalType": "address",
230
+ "name": "target",
231
+ "type": "address"
232
+ },
233
+ {
234
+ "indexed": false,
235
+ "internalType": "uint256",
236
+ "name": "originAmount",
237
+ "type": "uint256"
238
+ },
239
+ {
240
+ "indexed": false,
241
+ "internalType": "uint256",
242
+ "name": "targetAmount",
243
+ "type": "uint256"
244
+ }
245
+ ],
246
+ "name": "Trade",
247
+ "type": "event"
248
+ },
249
+ {
250
+ "anonymous": false,
251
+ "inputs": [
252
+ {
253
+ "indexed": true,
254
+ "internalType": "address",
255
+ "name": "from",
256
+ "type": "address"
257
+ },
258
+ {
259
+ "indexed": true,
260
+ "internalType": "address",
261
+ "name": "to",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "indexed": false,
266
+ "internalType": "uint256",
267
+ "name": "value",
268
+ "type": "uint256"
269
+ }
270
+ ],
271
+ "name": "Transfer",
272
+ "type": "event"
273
+ },
274
+ {
275
+ "constant": true,
276
+ "inputs": [
277
+ {
278
+ "internalType": "address",
279
+ "name": "_owner",
280
+ "type": "address"
281
+ },
282
+ {
283
+ "internalType": "address",
284
+ "name": "_spender",
285
+ "type": "address"
286
+ }
287
+ ],
288
+ "name": "allowance",
289
+ "outputs": [
290
+ {
291
+ "internalType": "uint256",
292
+ "name": "allowance_",
293
+ "type": "uint256"
294
+ }
295
+ ],
296
+ "payable": false,
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "constant": false,
302
+ "inputs": [
303
+ {
304
+ "internalType": "address",
305
+ "name": "_spender",
306
+ "type": "address"
307
+ },
308
+ {
309
+ "internalType": "uint256",
310
+ "name": "_amount",
311
+ "type": "uint256"
312
+ }
313
+ ],
314
+ "name": "approve",
315
+ "outputs": [
316
+ {
317
+ "internalType": "bool",
318
+ "name": "success_",
319
+ "type": "bool"
320
+ }
321
+ ],
322
+ "payable": false,
323
+ "stateMutability": "nonpayable",
324
+ "type": "function"
325
+ },
326
+ {
327
+ "constant": true,
328
+ "inputs": [
329
+ {
330
+ "internalType": "address",
331
+ "name": "_derivative",
332
+ "type": "address"
333
+ }
334
+ ],
335
+ "name": "assimilator",
336
+ "outputs": [
337
+ {
338
+ "internalType": "address",
339
+ "name": "assimilator_",
340
+ "type": "address"
341
+ }
342
+ ],
343
+ "payable": false,
344
+ "stateMutability": "view",
345
+ "type": "function"
346
+ },
347
+ {
348
+ "constant": true,
349
+ "inputs": [
350
+ {
351
+ "internalType": "address",
352
+ "name": "_account",
353
+ "type": "address"
354
+ }
355
+ ],
356
+ "name": "balanceOf",
357
+ "outputs": [
358
+ {
359
+ "internalType": "uint256",
360
+ "name": "balance_",
361
+ "type": "uint256"
362
+ }
363
+ ],
364
+ "payable": false,
365
+ "stateMutability": "view",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "constant": true,
370
+ "inputs": [],
371
+ "name": "chi",
372
+ "outputs": [
373
+ {
374
+ "internalType": "contract IFreeFromUpTo",
375
+ "name": "",
376
+ "type": "address"
377
+ }
378
+ ],
379
+ "payable": false,
380
+ "stateMutability": "view",
381
+ "type": "function"
382
+ },
383
+ {
384
+ "constant": true,
385
+ "inputs": [],
386
+ "name": "decimals",
387
+ "outputs": [
388
+ {
389
+ "internalType": "uint8",
390
+ "name": "",
391
+ "type": "uint8"
392
+ }
393
+ ],
394
+ "payable": false,
395
+ "stateMutability": "view",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "constant": true,
400
+ "inputs": [
401
+ {
402
+ "internalType": "uint256",
403
+ "name": "",
404
+ "type": "uint256"
405
+ }
406
+ ],
407
+ "name": "derivatives",
408
+ "outputs": [
409
+ {
410
+ "internalType": "address",
411
+ "name": "",
412
+ "type": "address"
413
+ }
414
+ ],
415
+ "payable": false,
416
+ "stateMutability": "view",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "constant": false,
421
+ "inputs": [
422
+ {
423
+ "internalType": "address",
424
+ "name": "_derivative",
425
+ "type": "address"
426
+ }
427
+ ],
428
+ "name": "excludeDerivative",
429
+ "outputs": [],
430
+ "payable": false,
431
+ "stateMutability": "nonpayable",
432
+ "type": "function"
433
+ },
434
+ {
435
+ "constant": true,
436
+ "inputs": [],
437
+ "name": "frozen",
438
+ "outputs": [
439
+ {
440
+ "internalType": "bool",
441
+ "name": "",
442
+ "type": "bool"
443
+ }
444
+ ],
445
+ "payable": false,
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "constant": true,
451
+ "inputs": [],
452
+ "name": "liquidity",
453
+ "outputs": [
454
+ {
455
+ "internalType": "uint256",
456
+ "name": "total_",
457
+ "type": "uint256"
458
+ },
459
+ {
460
+ "internalType": "uint256[]",
461
+ "name": "individual_",
462
+ "type": "uint256[]"
463
+ }
464
+ ],
465
+ "payable": false,
466
+ "stateMutability": "view",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "constant": true,
471
+ "inputs": [],
472
+ "name": "name",
473
+ "outputs": [
474
+ {
475
+ "internalType": "string",
476
+ "name": "",
477
+ "type": "string"
478
+ }
479
+ ],
480
+ "payable": false,
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "constant": true,
486
+ "inputs": [
487
+ {
488
+ "internalType": "uint256",
489
+ "name": "",
490
+ "type": "uint256"
491
+ }
492
+ ],
493
+ "name": "numeraires",
494
+ "outputs": [
495
+ {
496
+ "internalType": "address",
497
+ "name": "",
498
+ "type": "address"
499
+ }
500
+ ],
501
+ "payable": false,
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "constant": false,
507
+ "inputs": [
508
+ {
509
+ "internalType": "address",
510
+ "name": "_origin",
511
+ "type": "address"
512
+ },
513
+ {
514
+ "internalType": "address",
515
+ "name": "_target",
516
+ "type": "address"
517
+ },
518
+ {
519
+ "internalType": "uint256",
520
+ "name": "_originAmount",
521
+ "type": "uint256"
522
+ },
523
+ {
524
+ "internalType": "uint256",
525
+ "name": "_minTargetAmount",
526
+ "type": "uint256"
527
+ },
528
+ {
529
+ "internalType": "uint256",
530
+ "name": "_deadline",
531
+ "type": "uint256"
532
+ }
533
+ ],
534
+ "name": "originSwap",
535
+ "outputs": [
536
+ {
537
+ "internalType": "uint256",
538
+ "name": "targetAmount_",
539
+ "type": "uint256"
540
+ }
541
+ ],
542
+ "payable": false,
543
+ "stateMutability": "nonpayable",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "constant": false,
548
+ "inputs": [
549
+ {
550
+ "internalType": "address",
551
+ "name": "_origin",
552
+ "type": "address"
553
+ },
554
+ {
555
+ "internalType": "address",
556
+ "name": "_target",
557
+ "type": "address"
558
+ },
559
+ {
560
+ "internalType": "uint256",
561
+ "name": "_originAmount",
562
+ "type": "uint256"
563
+ },
564
+ {
565
+ "internalType": "uint256",
566
+ "name": "_minTargetAmount",
567
+ "type": "uint256"
568
+ },
569
+ {
570
+ "internalType": "uint256",
571
+ "name": "_deadline",
572
+ "type": "uint256"
573
+ }
574
+ ],
575
+ "name": "originSwapDiscountCHI",
576
+ "outputs": [
577
+ {
578
+ "internalType": "uint256",
579
+ "name": "targetAmount_",
580
+ "type": "uint256"
581
+ }
582
+ ],
583
+ "payable": false,
584
+ "stateMutability": "nonpayable",
585
+ "type": "function"
586
+ },
587
+ {
588
+ "constant": true,
589
+ "inputs": [],
590
+ "name": "owner",
591
+ "outputs": [
592
+ {
593
+ "internalType": "address",
594
+ "name": "",
595
+ "type": "address"
596
+ }
597
+ ],
598
+ "payable": false,
599
+ "stateMutability": "view",
600
+ "type": "function"
601
+ },
602
+ {
603
+ "constant": false,
604
+ "inputs": [],
605
+ "name": "partition",
606
+ "outputs": [],
607
+ "payable": false,
608
+ "stateMutability": "nonpayable",
609
+ "type": "function"
610
+ },
611
+ {
612
+ "constant": true,
613
+ "inputs": [
614
+ {
615
+ "internalType": "address",
616
+ "name": "",
617
+ "type": "address"
618
+ }
619
+ ],
620
+ "name": "partitionTickets",
621
+ "outputs": [
622
+ {
623
+ "internalType": "bool",
624
+ "name": "initialized",
625
+ "type": "bool"
626
+ }
627
+ ],
628
+ "payable": false,
629
+ "stateMutability": "view",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "constant": true,
634
+ "inputs": [],
635
+ "name": "partitioned",
636
+ "outputs": [
637
+ {
638
+ "internalType": "bool",
639
+ "name": "",
640
+ "type": "bool"
641
+ }
642
+ ],
643
+ "payable": false,
644
+ "stateMutability": "view",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "constant": false,
649
+ "inputs": [
650
+ {
651
+ "internalType": "address[]",
652
+ "name": "_tokens",
653
+ "type": "address[]"
654
+ },
655
+ {
656
+ "internalType": "uint256[]",
657
+ "name": "_amounts",
658
+ "type": "uint256[]"
659
+ }
660
+ ],
661
+ "name": "partitionedWithdraw",
662
+ "outputs": [
663
+ {
664
+ "internalType": "uint256[]",
665
+ "name": "withdrawals_",
666
+ "type": "uint256[]"
667
+ }
668
+ ],
669
+ "payable": false,
670
+ "stateMutability": "nonpayable",
671
+ "type": "function"
672
+ },
673
+ {
674
+ "constant": false,
675
+ "inputs": [
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "_deposit",
679
+ "type": "uint256"
680
+ },
681
+ {
682
+ "internalType": "uint256",
683
+ "name": "_deadline",
684
+ "type": "uint256"
685
+ }
686
+ ],
687
+ "name": "proportionalDeposit",
688
+ "outputs": [
689
+ {
690
+ "internalType": "uint256",
691
+ "name": "shellsMinted_",
692
+ "type": "uint256"
693
+ },
694
+ {
695
+ "internalType": "uint256[]",
696
+ "name": "deposits_",
697
+ "type": "uint256[]"
698
+ }
699
+ ],
700
+ "payable": false,
701
+ "stateMutability": "nonpayable",
702
+ "type": "function"
703
+ },
704
+ {
705
+ "constant": false,
706
+ "inputs": [
707
+ {
708
+ "internalType": "uint256",
709
+ "name": "_shellsToBurn",
710
+ "type": "uint256"
711
+ },
712
+ {
713
+ "internalType": "uint256",
714
+ "name": "_deadline",
715
+ "type": "uint256"
716
+ }
717
+ ],
718
+ "name": "proportionalWithdraw",
719
+ "outputs": [
720
+ {
721
+ "internalType": "uint256[]",
722
+ "name": "withdrawals_",
723
+ "type": "uint256[]"
724
+ }
725
+ ],
726
+ "payable": false,
727
+ "stateMutability": "nonpayable",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "constant": true,
732
+ "inputs": [
733
+ {
734
+ "internalType": "uint256",
735
+ "name": "",
736
+ "type": "uint256"
737
+ }
738
+ ],
739
+ "name": "reserves",
740
+ "outputs": [
741
+ {
742
+ "internalType": "address",
743
+ "name": "",
744
+ "type": "address"
745
+ }
746
+ ],
747
+ "payable": false,
748
+ "stateMutability": "view",
749
+ "type": "function"
750
+ },
751
+ {
752
+ "constant": false,
753
+ "inputs": [
754
+ {
755
+ "internalType": "address[]",
756
+ "name": "_derivatives",
757
+ "type": "address[]"
758
+ },
759
+ {
760
+ "internalType": "uint256[]",
761
+ "name": "_amounts",
762
+ "type": "uint256[]"
763
+ },
764
+ {
765
+ "internalType": "uint256",
766
+ "name": "_minShells",
767
+ "type": "uint256"
768
+ },
769
+ {
770
+ "internalType": "uint256",
771
+ "name": "_deadline",
772
+ "type": "uint256"
773
+ }
774
+ ],
775
+ "name": "selectiveDeposit",
776
+ "outputs": [
777
+ {
778
+ "internalType": "uint256",
779
+ "name": "shellsMinted_",
780
+ "type": "uint256"
781
+ }
782
+ ],
783
+ "payable": false,
784
+ "stateMutability": "nonpayable",
785
+ "type": "function"
786
+ },
787
+ {
788
+ "constant": false,
789
+ "inputs": [
790
+ {
791
+ "internalType": "address[]",
792
+ "name": "_derivatives",
793
+ "type": "address[]"
794
+ },
795
+ {
796
+ "internalType": "uint256[]",
797
+ "name": "_amounts",
798
+ "type": "uint256[]"
799
+ },
800
+ {
801
+ "internalType": "uint256",
802
+ "name": "_maxShells",
803
+ "type": "uint256"
804
+ },
805
+ {
806
+ "internalType": "uint256",
807
+ "name": "_deadline",
808
+ "type": "uint256"
809
+ }
810
+ ],
811
+ "name": "selectiveWithdraw",
812
+ "outputs": [
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "shellsBurned_",
816
+ "type": "uint256"
817
+ }
818
+ ],
819
+ "payable": false,
820
+ "stateMutability": "nonpayable",
821
+ "type": "function"
822
+ },
823
+ {
824
+ "constant": false,
825
+ "inputs": [
826
+ {
827
+ "internalType": "bool",
828
+ "name": "_toFreezeOrNotToFreeze",
829
+ "type": "bool"
830
+ }
831
+ ],
832
+ "name": "setFrozen",
833
+ "outputs": [],
834
+ "payable": false,
835
+ "stateMutability": "nonpayable",
836
+ "type": "function"
837
+ },
838
+ {
839
+ "constant": false,
840
+ "inputs": [
841
+ {
842
+ "internalType": "uint256",
843
+ "name": "_alpha",
844
+ "type": "uint256"
845
+ },
846
+ {
847
+ "internalType": "uint256",
848
+ "name": "_beta",
849
+ "type": "uint256"
850
+ },
851
+ {
852
+ "internalType": "uint256",
853
+ "name": "_feeAtHalt",
854
+ "type": "uint256"
855
+ },
856
+ {
857
+ "internalType": "uint256",
858
+ "name": "_epsilon",
859
+ "type": "uint256"
860
+ },
861
+ {
862
+ "internalType": "uint256",
863
+ "name": "_lambda",
864
+ "type": "uint256"
865
+ }
866
+ ],
867
+ "name": "setParams",
868
+ "outputs": [],
869
+ "payable": false,
870
+ "stateMutability": "nonpayable",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "constant": true,
875
+ "inputs": [],
876
+ "name": "shell",
877
+ "outputs": [
878
+ {
879
+ "internalType": "int128",
880
+ "name": "alpha",
881
+ "type": "int128"
882
+ },
883
+ {
884
+ "internalType": "int128",
885
+ "name": "beta",
886
+ "type": "int128"
887
+ },
888
+ {
889
+ "internalType": "int128",
890
+ "name": "delta",
891
+ "type": "int128"
892
+ },
893
+ {
894
+ "internalType": "int128",
895
+ "name": "epsilon",
896
+ "type": "int128"
897
+ },
898
+ {
899
+ "internalType": "int128",
900
+ "name": "lambda",
901
+ "type": "int128"
902
+ },
903
+ {
904
+ "internalType": "uint256",
905
+ "name": "totalSupply",
906
+ "type": "uint256"
907
+ }
908
+ ],
909
+ "payable": false,
910
+ "stateMutability": "view",
911
+ "type": "function"
912
+ },
913
+ {
914
+ "constant": true,
915
+ "inputs": [
916
+ {
917
+ "internalType": "bytes4",
918
+ "name": "_interface",
919
+ "type": "bytes4"
920
+ }
921
+ ],
922
+ "name": "supportsInterface",
923
+ "outputs": [
924
+ {
925
+ "internalType": "bool",
926
+ "name": "supports_",
927
+ "type": "bool"
928
+ }
929
+ ],
930
+ "payable": false,
931
+ "stateMutability": "view",
932
+ "type": "function"
933
+ },
934
+ {
935
+ "constant": true,
936
+ "inputs": [],
937
+ "name": "symbol",
938
+ "outputs": [
939
+ {
940
+ "internalType": "string",
941
+ "name": "",
942
+ "type": "string"
943
+ }
944
+ ],
945
+ "payable": false,
946
+ "stateMutability": "view",
947
+ "type": "function"
948
+ },
949
+ {
950
+ "constant": false,
951
+ "inputs": [
952
+ {
953
+ "internalType": "address",
954
+ "name": "_origin",
955
+ "type": "address"
956
+ },
957
+ {
958
+ "internalType": "address",
959
+ "name": "_target",
960
+ "type": "address"
961
+ },
962
+ {
963
+ "internalType": "uint256",
964
+ "name": "_maxOriginAmount",
965
+ "type": "uint256"
966
+ },
967
+ {
968
+ "internalType": "uint256",
969
+ "name": "_targetAmount",
970
+ "type": "uint256"
971
+ },
972
+ {
973
+ "internalType": "uint256",
974
+ "name": "_deadline",
975
+ "type": "uint256"
976
+ }
977
+ ],
978
+ "name": "targetSwap",
979
+ "outputs": [
980
+ {
981
+ "internalType": "uint256",
982
+ "name": "originAmount_",
983
+ "type": "uint256"
984
+ }
985
+ ],
986
+ "payable": false,
987
+ "stateMutability": "nonpayable",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "constant": true,
992
+ "inputs": [],
993
+ "name": "totalSupply",
994
+ "outputs": [
995
+ {
996
+ "internalType": "uint256",
997
+ "name": "totalSupply_",
998
+ "type": "uint256"
999
+ }
1000
+ ],
1001
+ "payable": false,
1002
+ "stateMutability": "view",
1003
+ "type": "function"
1004
+ },
1005
+ {
1006
+ "constant": false,
1007
+ "inputs": [
1008
+ {
1009
+ "internalType": "address",
1010
+ "name": "_recipient",
1011
+ "type": "address"
1012
+ },
1013
+ {
1014
+ "internalType": "uint256",
1015
+ "name": "_amount",
1016
+ "type": "uint256"
1017
+ }
1018
+ ],
1019
+ "name": "transfer",
1020
+ "outputs": [
1021
+ {
1022
+ "internalType": "bool",
1023
+ "name": "success_",
1024
+ "type": "bool"
1025
+ }
1026
+ ],
1027
+ "payable": false,
1028
+ "stateMutability": "nonpayable",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "constant": false,
1033
+ "inputs": [
1034
+ {
1035
+ "internalType": "address",
1036
+ "name": "_sender",
1037
+ "type": "address"
1038
+ },
1039
+ {
1040
+ "internalType": "address",
1041
+ "name": "_recipient",
1042
+ "type": "address"
1043
+ },
1044
+ {
1045
+ "internalType": "uint256",
1046
+ "name": "_amount",
1047
+ "type": "uint256"
1048
+ }
1049
+ ],
1050
+ "name": "transferFrom",
1051
+ "outputs": [
1052
+ {
1053
+ "internalType": "bool",
1054
+ "name": "success_",
1055
+ "type": "bool"
1056
+ }
1057
+ ],
1058
+ "payable": false,
1059
+ "stateMutability": "nonpayable",
1060
+ "type": "function"
1061
+ },
1062
+ {
1063
+ "constant": false,
1064
+ "inputs": [
1065
+ {
1066
+ "internalType": "address",
1067
+ "name": "_newOwner",
1068
+ "type": "address"
1069
+ }
1070
+ ],
1071
+ "name": "transferOwnership",
1072
+ "outputs": [],
1073
+ "payable": false,
1074
+ "stateMutability": "nonpayable",
1075
+ "type": "function"
1076
+ },
1077
+ {
1078
+ "constant": true,
1079
+ "inputs": [
1080
+ {
1081
+ "internalType": "address",
1082
+ "name": "_origin",
1083
+ "type": "address"
1084
+ },
1085
+ {
1086
+ "internalType": "address",
1087
+ "name": "_target",
1088
+ "type": "address"
1089
+ },
1090
+ {
1091
+ "internalType": "uint256",
1092
+ "name": "_originAmount",
1093
+ "type": "uint256"
1094
+ }
1095
+ ],
1096
+ "name": "viewOriginSwap",
1097
+ "outputs": [
1098
+ {
1099
+ "internalType": "uint256",
1100
+ "name": "targetAmount_",
1101
+ "type": "uint256"
1102
+ }
1103
+ ],
1104
+ "payable": false,
1105
+ "stateMutability": "view",
1106
+ "type": "function"
1107
+ },
1108
+ {
1109
+ "constant": true,
1110
+ "inputs": [
1111
+ {
1112
+ "internalType": "address",
1113
+ "name": "_addr",
1114
+ "type": "address"
1115
+ }
1116
+ ],
1117
+ "name": "viewPartitionClaims",
1118
+ "outputs": [
1119
+ {
1120
+ "internalType": "uint256[]",
1121
+ "name": "claims_",
1122
+ "type": "uint256[]"
1123
+ }
1124
+ ],
1125
+ "payable": false,
1126
+ "stateMutability": "view",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "constant": true,
1131
+ "inputs": [
1132
+ {
1133
+ "internalType": "uint256",
1134
+ "name": "_deposit",
1135
+ "type": "uint256"
1136
+ }
1137
+ ],
1138
+ "name": "viewProportionalDeposit",
1139
+ "outputs": [
1140
+ {
1141
+ "internalType": "uint256",
1142
+ "name": "shellsToMint_",
1143
+ "type": "uint256"
1144
+ },
1145
+ {
1146
+ "internalType": "uint256[]",
1147
+ "name": "depositsToMake_",
1148
+ "type": "uint256[]"
1149
+ }
1150
+ ],
1151
+ "payable": false,
1152
+ "stateMutability": "view",
1153
+ "type": "function"
1154
+ },
1155
+ {
1156
+ "constant": true,
1157
+ "inputs": [
1158
+ {
1159
+ "internalType": "uint256",
1160
+ "name": "_shellsToBurn",
1161
+ "type": "uint256"
1162
+ }
1163
+ ],
1164
+ "name": "viewProportionalWithdraw",
1165
+ "outputs": [
1166
+ {
1167
+ "internalType": "uint256[]",
1168
+ "name": "withdrawalsToHappen_",
1169
+ "type": "uint256[]"
1170
+ }
1171
+ ],
1172
+ "payable": false,
1173
+ "stateMutability": "view",
1174
+ "type": "function"
1175
+ },
1176
+ {
1177
+ "constant": true,
1178
+ "inputs": [
1179
+ {
1180
+ "internalType": "address[]",
1181
+ "name": "_derivatives",
1182
+ "type": "address[]"
1183
+ },
1184
+ {
1185
+ "internalType": "uint256[]",
1186
+ "name": "_amounts",
1187
+ "type": "uint256[]"
1188
+ }
1189
+ ],
1190
+ "name": "viewSelectiveDeposit",
1191
+ "outputs": [
1192
+ {
1193
+ "internalType": "uint256",
1194
+ "name": "shellsToMint_",
1195
+ "type": "uint256"
1196
+ }
1197
+ ],
1198
+ "payable": false,
1199
+ "stateMutability": "view",
1200
+ "type": "function"
1201
+ },
1202
+ {
1203
+ "constant": true,
1204
+ "inputs": [
1205
+ {
1206
+ "internalType": "address[]",
1207
+ "name": "_derivatives",
1208
+ "type": "address[]"
1209
+ },
1210
+ {
1211
+ "internalType": "uint256[]",
1212
+ "name": "_amounts",
1213
+ "type": "uint256[]"
1214
+ }
1215
+ ],
1216
+ "name": "viewSelectiveWithdraw",
1217
+ "outputs": [
1218
+ {
1219
+ "internalType": "uint256",
1220
+ "name": "shellsToBurn_",
1221
+ "type": "uint256"
1222
+ }
1223
+ ],
1224
+ "payable": false,
1225
+ "stateMutability": "view",
1226
+ "type": "function"
1227
+ },
1228
+ {
1229
+ "constant": true,
1230
+ "inputs": [],
1231
+ "name": "viewShell",
1232
+ "outputs": [
1233
+ {
1234
+ "internalType": "uint256",
1235
+ "name": "alpha_",
1236
+ "type": "uint256"
1237
+ },
1238
+ {
1239
+ "internalType": "uint256",
1240
+ "name": "beta_",
1241
+ "type": "uint256"
1242
+ },
1243
+ {
1244
+ "internalType": "uint256",
1245
+ "name": "delta_",
1246
+ "type": "uint256"
1247
+ },
1248
+ {
1249
+ "internalType": "uint256",
1250
+ "name": "epsilon_",
1251
+ "type": "uint256"
1252
+ },
1253
+ {
1254
+ "internalType": "uint256",
1255
+ "name": "lambda_",
1256
+ "type": "uint256"
1257
+ }
1258
+ ],
1259
+ "payable": false,
1260
+ "stateMutability": "view",
1261
+ "type": "function"
1262
+ },
1263
+ {
1264
+ "constant": true,
1265
+ "inputs": [
1266
+ {
1267
+ "internalType": "address",
1268
+ "name": "_origin",
1269
+ "type": "address"
1270
+ },
1271
+ {
1272
+ "internalType": "address",
1273
+ "name": "_target",
1274
+ "type": "address"
1275
+ },
1276
+ {
1277
+ "internalType": "uint256",
1278
+ "name": "_targetAmount",
1279
+ "type": "uint256"
1280
+ }
1281
+ ],
1282
+ "name": "viewTargetSwap",
1283
+ "outputs": [
1284
+ {
1285
+ "internalType": "uint256",
1286
+ "name": "originAmount_",
1287
+ "type": "uint256"
1288
+ }
1289
+ ],
1290
+ "payable": false,
1291
+ "stateMutability": "view",
1292
+ "type": "function"
1293
+ }
1294
+ ]