@paraswap/dex-lib 2.36.3-dexalot → 2.36.3-sequential-preprocessing.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 (206) hide show
  1. package/build/config.js +0 -2
  2. package/build/config.js.map +1 -1
  3. package/build/dex/hashflow/hashflow.d.ts +1 -0
  4. package/build/dex/hashflow/hashflow.js +1 -0
  5. package/build/dex/hashflow/hashflow.js.map +1 -1
  6. package/build/dex/idex.d.ts +1 -0
  7. package/build/dex/index.d.ts +1 -0
  8. package/build/dex/index.js +4 -2
  9. package/build/dex/index.js.map +1 -1
  10. package/build/types.d.ts +0 -1
  11. package/package.json +1 -1
  12. package/src/config.ts +0 -3
  13. package/src/dex/hashflow/hashflow.ts +2 -1
  14. package/src/dex/idex.ts +1 -0
  15. package/src/dex/index.ts +6 -2
  16. package/src/types.ts +0 -1
  17. package/.idea/aws.xml +0 -17
  18. package/.idea/codeStyles/Project.xml +0 -19
  19. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  20. package/.idea/misc.xml +0 -6
  21. package/.idea/modules.xml +0 -8
  22. package/.idea/paraswap-dex-lib.iml +0 -9
  23. package/.idea/vcs.xml +0 -6
  24. package/build/abi/algebra/AlgebraPool.abi.json +0 -727
  25. package/build/abi/curve-v1/StableSwapFRXETH.json +0 -889
  26. package/build/abi/curve-v1/StableSwapWBETH.json +0 -1223
  27. package/build/abi/dexalot/DexalotMainnetRFQ.json +0 -887
  28. package/build/abi/sushiswap-v3/QuoterV2.json +0 -267
  29. package/build/abi/sushiswap-v3/RouterProcessor3.json +0 -289
  30. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  31. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3QuoterV2.abi.json +0 -285
  32. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3Router.abi.json +0 -583
  33. package/build/abi/wBETH.json +0 -1527
  34. package/build/abi/woo-fi/WooFeeManager.abi.json +0 -318
  35. package/build/abi/woo-fi/WooPP.abi.json +0 -548
  36. package/build/abi/woo-fi/Wooracle.abi.json +0 -260
  37. package/build/dex/aave-v3/tokens/arbitrum.json +0 -50
  38. package/build/dex/aave-v3/tokens/avalanche.json +0 -74
  39. package/build/dex/aave-v3/tokens/fantom.json +0 -62
  40. package/build/dex/aave-v3/tokens/optimism.json +0 -50
  41. package/build/dex/aave-v3/tokens/polygon.json +0 -116
  42. package/build/dex/algebra/algebra-pool.d.ts +0 -46
  43. package/build/dex/algebra/algebra-pool.js +0 -336
  44. package/build/dex/algebra/algebra-pool.js.map +0 -1
  45. package/build/dex/balancer-v2/LinearMath.d.ts +0 -19
  46. package/build/dex/balancer-v2/LinearMath.js +0 -179
  47. package/build/dex/balancer-v2/LinearMath.js.map +0 -1
  48. package/build/dex/balancer-v2/LinearPool.d.ts +0 -47
  49. package/build/dex/balancer-v2/LinearPool.js +0 -324
  50. package/build/dex/balancer-v2/LinearPool.js.map +0 -1
  51. package/build/dex/balancer-v2/PhantomStablePool.d.ts +0 -47
  52. package/build/dex/balancer-v2/PhantomStablePool.js +0 -294
  53. package/build/dex/balancer-v2/PhantomStablePool.js.map +0 -1
  54. package/build/dex/balancer-v2/StableMath.d.ts +0 -9
  55. package/build/dex/balancer-v2/StableMath.js +0 -272
  56. package/build/dex/balancer-v2/StableMath.js.map +0 -1
  57. package/build/dex/balancer-v2/balancer-v2-pool.d.ts +0 -75
  58. package/build/dex/balancer-v2/balancer-v2-pool.js +0 -417
  59. package/build/dex/balancer-v2/balancer-v2-pool.js.map +0 -1
  60. package/build/dex/curve-v1/pools/frxETHpool.d.ts +0 -7
  61. package/build/dex/curve-v1/pools/frxETHpool.js +0 -27
  62. package/build/dex/curve-v1/pools/frxETHpool.js.map +0 -1
  63. package/build/dex/curve-v1/pools/wbETHpool.d.ts +0 -29
  64. package/build/dex/curve-v1/pools/wbETHpool.js +0 -408
  65. package/build/dex/curve-v1/pools/wbETHpool.js.map +0 -1
  66. package/build/dex/dexalot/config.d.ts +0 -4
  67. package/build/dex/dexalot/config.js +0 -18
  68. package/build/dex/dexalot/config.js.map +0 -1
  69. package/build/dex/dexalot/constants.d.ts +0 -15
  70. package/build/dex/dexalot/constants.js +0 -22
  71. package/build/dex/dexalot/constants.js.map +0 -1
  72. package/build/dex/dexalot/dexalot.d.ts +0 -69
  73. package/build/dex/dexalot/dexalot.js +0 -614
  74. package/build/dex/dexalot/dexalot.js.map +0 -1
  75. package/build/dex/dexalot/rate-fetcher.d.ts +0 -28
  76. package/build/dex/dexalot/rate-fetcher.js +0 -100
  77. package/build/dex/dexalot/rate-fetcher.js.map +0 -1
  78. package/build/dex/dexalot/types.d.ts +0 -114
  79. package/build/dex/dexalot/types.js +0 -12
  80. package/build/dex/dexalot/types.js.map +0 -1
  81. package/build/dex/dexalot/validators.d.ts +0 -5
  82. package/build/dex/dexalot/validators.js +0 -45
  83. package/build/dex/dexalot/validators.js.map +0 -1
  84. package/build/dex/pancakeswap-v3/types.d.ts +0 -14
  85. package/build/dex/pancakeswap-v3/types.js +0 -3
  86. package/build/dex/pancakeswap-v3/types.js.map +0 -1
  87. package/build/dex/quickswap/camelot-v3.d.ts +0 -6
  88. package/build/dex/quickswap/camelot-v3.js +0 -19
  89. package/build/dex/quickswap/camelot-v3.js.map +0 -1
  90. package/build/dex/quickswap/zyberswap-v3.d.ts +0 -6
  91. package/build/dex/quickswap/zyberswap-v3.js +0 -19
  92. package/build/dex/quickswap/zyberswap-v3.js.map +0 -1
  93. package/build/dex/quickswap-v3.d.ts +0 -21
  94. package/build/dex/quickswap-v3.js +0 -40
  95. package/build/dex/quickswap-v3.js.map +0 -1
  96. package/build/dex/ramses-v2/config.d.ts +0 -4
  97. package/build/dex/ramses-v2/config.js +0 -28
  98. package/build/dex/ramses-v2/config.js.map +0 -1
  99. package/build/dex/ramses-v2/constants.d.ts +0 -28
  100. package/build/dex/ramses-v2/constants.js +0 -35
  101. package/build/dex/ramses-v2/constants.js.map +0 -1
  102. package/build/dex/ramses-v2/contract-math/BitMath.d.ts +0 -4
  103. package/build/dex/ramses-v2/contract-math/BitMath.js +0 -93
  104. package/build/dex/ramses-v2/contract-math/BitMath.js.map +0 -1
  105. package/build/dex/ramses-v2/contract-math/FixedPoint128.d.ts +0 -3
  106. package/build/dex/ramses-v2/contract-math/FixedPoint128.js +0 -8
  107. package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +0 -1
  108. package/build/dex/ramses-v2/contract-math/FixedPoint96.d.ts +0 -4
  109. package/build/dex/ramses-v2/contract-math/FixedPoint96.js +0 -9
  110. package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +0 -1
  111. package/build/dex/ramses-v2/contract-math/FullMath.d.ts +0 -4
  112. package/build/dex/ramses-v2/contract-math/FullMath.js +0 -19
  113. package/build/dex/ramses-v2/contract-math/FullMath.js.map +0 -1
  114. package/build/dex/ramses-v2/contract-math/LiquidityMath.d.ts +0 -3
  115. package/build/dex/ramses-v2/contract-math/LiquidityMath.js +0 -22
  116. package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +0 -1
  117. package/build/dex/ramses-v2/contract-math/Oracle.d.ts +0 -10
  118. package/build/dex/ramses-v2/contract-math/Oracle.js +0 -133
  119. package/build/dex/ramses-v2/contract-math/Oracle.js.map +0 -1
  120. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.d.ts +0 -10
  121. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js +0 -91
  122. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +0 -1
  123. package/build/dex/ramses-v2/contract-math/SwapMath.d.ts +0 -8
  124. package/build/dex/ramses-v2/contract-math/SwapMath.js +0 -70
  125. package/build/dex/ramses-v2/contract-math/SwapMath.js.map +0 -1
  126. package/build/dex/ramses-v2/contract-math/Tick.d.ts +0 -7
  127. package/build/dex/ramses-v2/contract-math/Tick.js +0 -45
  128. package/build/dex/ramses-v2/contract-math/Tick.js.map +0 -1
  129. package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +0 -8
  130. package/build/dex/ramses-v2/contract-math/TickBitMap.js +0 -87
  131. package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +0 -1
  132. package/build/dex/ramses-v2/contract-math/TickMath.d.ts +0 -8
  133. package/build/dex/ramses-v2/contract-math/TickMath.js +0 -162
  134. package/build/dex/ramses-v2/contract-math/TickMath.js.map +0 -1
  135. package/build/dex/ramses-v2/contract-math/UnsafeMath.d.ts +0 -3
  136. package/build/dex/ramses-v2/contract-math/UnsafeMath.js +0 -10
  137. package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +0 -1
  138. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.d.ts +0 -18
  139. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js +0 -392
  140. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +0 -1
  141. package/build/dex/ramses-v2/contract-math/utils.d.ts +0 -3
  142. package/build/dex/ramses-v2/contract-math/utils.js +0 -16
  143. package/build/dex/ramses-v2/contract-math/utils.js.map +0 -1
  144. package/build/dex/ramses-v2/ramses-v2-pool.d.ts +0 -42
  145. package/build/dex/ramses-v2/ramses-v2-pool.js +0 -307
  146. package/build/dex/ramses-v2/ramses-v2-pool.js.map +0 -1
  147. package/build/dex/ramses-v2/ramses-v2.d.ts +0 -61
  148. package/build/dex/ramses-v2/ramses-v2.js +0 -690
  149. package/build/dex/ramses-v2/ramses-v2.js.map +0 -1
  150. package/build/dex/ramses-v2/types.d.ts +0 -154
  151. package/build/dex/ramses-v2/types.js +0 -9
  152. package/build/dex/ramses-v2/types.js.map +0 -1
  153. package/build/dex/ramses-v2/utils.d.ts +0 -6
  154. package/build/dex/ramses-v2/utils.js +0 -71
  155. package/build/dex/ramses-v2/utils.js.map +0 -1
  156. package/build/dex/sushiswap-v3/config.d.ts +0 -4
  157. package/build/dex/sushiswap-v3/config.js +0 -132
  158. package/build/dex/sushiswap-v3/config.js.map +0 -1
  159. package/build/dex/sushiswap-v3/constants.d.ts +0 -4
  160. package/build/dex/sushiswap-v3/constants.js +0 -32
  161. package/build/dex/sushiswap-v3/constants.js.map +0 -1
  162. package/build/dex/sushiswap-v3/sushiswap-v3-original.d.ts +0 -56
  163. package/build/dex/sushiswap-v3/sushiswap-v3-original.js +0 -598
  164. package/build/dex/sushiswap-v3/sushiswap-v3-original.js.map +0 -1
  165. package/build/dex/sushiswap-v3/sushiswap-v3-pool.d.ts +0 -1
  166. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js +0 -6
  167. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js.map +0 -1
  168. package/build/dex/sushiswap-v3/sushiswap-v3.d.ts +0 -21
  169. package/build/dex/sushiswap-v3/sushiswap-v3.js +0 -58
  170. package/build/dex/sushiswap-v3/sushiswap-v3.js.map +0 -1
  171. package/build/dex/sushiswap-v3/token.d.ts +0 -6
  172. package/build/dex/sushiswap-v3/token.js +0 -23
  173. package/build/dex/sushiswap-v3/token.js.map +0 -1
  174. package/build/dex/sushiswap-v3/types.d.ts +0 -15
  175. package/build/dex/sushiswap-v3/types.js +0 -18
  176. package/build/dex/sushiswap-v3/types.js.map +0 -1
  177. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.d.ts +0 -12
  178. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js +0 -23
  179. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js.map +0 -1
  180. package/build/dex/woo-fi/config.d.ts +0 -4
  181. package/build/dex/woo-fi/config.js +0 -141
  182. package/build/dex/woo-fi/config.js.map +0 -1
  183. package/build/dex/woo-fi/constants.d.ts +0 -5
  184. package/build/dex/woo-fi/constants.js +0 -20
  185. package/build/dex/woo-fi/constants.js.map +0 -1
  186. package/build/dex/woo-fi/types.d.ts +0 -48
  187. package/build/dex/woo-fi/types.js +0 -3
  188. package/build/dex/woo-fi/types.js.map +0 -1
  189. package/build/dex/woo-fi/woo-fi-decimal-math.d.ts +0 -14
  190. package/build/dex/woo-fi/woo-fi-decimal-math.js +0 -42
  191. package/build/dex/woo-fi/woo-fi-decimal-math.js.map +0 -1
  192. package/build/dex/woo-fi/woo-fi-math.d.ts +0 -31
  193. package/build/dex/woo-fi/woo-fi-math.js +0 -300
  194. package/build/dex/woo-fi/woo-fi-math.js.map +0 -1
  195. package/build/dex/woo-fi/woo-fi.d.ts +0 -65
  196. package/build/dex/woo-fi/woo-fi.js +0 -480
  197. package/build/dex/woo-fi/woo-fi.js.map +0 -1
  198. package/src/abi/dexalot/DexalotMainnetRFQ.json +0 -887
  199. package/src/dex/dexalot/config.ts +0 -18
  200. package/src/dex/dexalot/constants.ts +0 -29
  201. package/src/dex/dexalot/dexalot-e2e.test.ts +0 -192
  202. package/src/dex/dexalot/dexalot-integration.test.ts +0 -188
  203. package/src/dex/dexalot/dexalot.ts +0 -935
  204. package/src/dex/dexalot/rate-fetcher.ts +0 -197
  205. package/src/dex/dexalot/types.ts +0 -131
  206. package/src/dex/dexalot/validators.ts +0 -46
@@ -1,887 +0,0 @@
1
- [
2
- {
3
- "name": "AddressSet",
4
- "type": "event",
5
- "inputs": [
6
- {
7
- "name": "name",
8
- "type": "string",
9
- "indexed": true,
10
- "internalType": "string"
11
- },
12
- {
13
- "name": "actionName",
14
- "type": "string",
15
- "indexed": false,
16
- "internalType": "string"
17
- },
18
- {
19
- "name": "newAddress",
20
- "type": "address",
21
- "indexed": false,
22
- "internalType": "address"
23
- }
24
- ],
25
- "anonymous": false
26
- },
27
- {
28
- "name": "ExpiryUpdated",
29
- "type": "event",
30
- "inputs": [
31
- {
32
- "name": "nonceAndMeta",
33
- "type": "uint256",
34
- "indexed": false,
35
- "internalType": "uint256"
36
- },
37
- {
38
- "name": "newExpiry",
39
- "type": "uint256",
40
- "indexed": false,
41
- "internalType": "uint256"
42
- }
43
- ],
44
- "anonymous": false
45
- },
46
- {
47
- "name": "Initialized",
48
- "type": "event",
49
- "inputs": [
50
- {
51
- "name": "version",
52
- "type": "uint8",
53
- "indexed": false,
54
- "internalType": "uint8"
55
- }
56
- ],
57
- "anonymous": false
58
- },
59
- {
60
- "name": "Paused",
61
- "type": "event",
62
- "inputs": [
63
- {
64
- "name": "account",
65
- "type": "address",
66
- "indexed": false,
67
- "internalType": "address"
68
- }
69
- ],
70
- "anonymous": false
71
- },
72
- {
73
- "name": "RebalancerWithdraw",
74
- "type": "event",
75
- "inputs": [
76
- {
77
- "name": "asset",
78
- "type": "address",
79
- "indexed": false,
80
- "internalType": "address"
81
- },
82
- {
83
- "name": "amount",
84
- "type": "uint256",
85
- "indexed": false,
86
- "internalType": "uint256"
87
- }
88
- ],
89
- "anonymous": false
90
- },
91
- {
92
- "name": "RoleAdminChanged",
93
- "type": "event",
94
- "inputs": [
95
- {
96
- "name": "role",
97
- "type": "bytes32",
98
- "indexed": true,
99
- "internalType": "bytes32"
100
- },
101
- {
102
- "name": "previousAdminRole",
103
- "type": "bytes32",
104
- "indexed": true,
105
- "internalType": "bytes32"
106
- },
107
- {
108
- "name": "newAdminRole",
109
- "type": "bytes32",
110
- "indexed": true,
111
- "internalType": "bytes32"
112
- }
113
- ],
114
- "anonymous": false
115
- },
116
- {
117
- "name": "RoleGranted",
118
- "type": "event",
119
- "inputs": [
120
- {
121
- "name": "role",
122
- "type": "bytes32",
123
- "indexed": true,
124
- "internalType": "bytes32"
125
- },
126
- {
127
- "name": "account",
128
- "type": "address",
129
- "indexed": true,
130
- "internalType": "address"
131
- },
132
- {
133
- "name": "sender",
134
- "type": "address",
135
- "indexed": true,
136
- "internalType": "address"
137
- }
138
- ],
139
- "anonymous": false
140
- },
141
- {
142
- "name": "RoleRevoked",
143
- "type": "event",
144
- "inputs": [
145
- {
146
- "name": "role",
147
- "type": "bytes32",
148
- "indexed": true,
149
- "internalType": "bytes32"
150
- },
151
- {
152
- "name": "account",
153
- "type": "address",
154
- "indexed": true,
155
- "internalType": "address"
156
- },
157
- {
158
- "name": "sender",
159
- "type": "address",
160
- "indexed": true,
161
- "internalType": "address"
162
- }
163
- ],
164
- "anonymous": false
165
- },
166
- {
167
- "name": "RoleUpdated",
168
- "type": "event",
169
- "inputs": [
170
- {
171
- "name": "name",
172
- "type": "string",
173
- "indexed": true,
174
- "internalType": "string"
175
- },
176
- {
177
- "name": "actionName",
178
- "type": "string",
179
- "indexed": false,
180
- "internalType": "string"
181
- },
182
- {
183
- "name": "updatedRole",
184
- "type": "bytes32",
185
- "indexed": false,
186
- "internalType": "bytes32"
187
- },
188
- {
189
- "name": "updatedAddress",
190
- "type": "address",
191
- "indexed": false,
192
- "internalType": "address"
193
- }
194
- ],
195
- "anonymous": false
196
- },
197
- {
198
- "name": "SlippageApplied",
199
- "type": "event",
200
- "inputs": [
201
- {
202
- "name": "nonceAndMeta",
203
- "type": "uint256",
204
- "indexed": false,
205
- "internalType": "uint256"
206
- },
207
- {
208
- "name": "newMakerAmount",
209
- "type": "uint256",
210
- "indexed": false,
211
- "internalType": "uint256"
212
- }
213
- ],
214
- "anonymous": false
215
- },
216
- {
217
- "name": "SlippageToleranceUpdated",
218
- "type": "event",
219
- "inputs": [
220
- {
221
- "name": "newSlippageTolerance",
222
- "type": "uint256",
223
- "indexed": false,
224
- "internalType": "uint256"
225
- }
226
- ],
227
- "anonymous": false
228
- },
229
- {
230
- "name": "SwapExecuted",
231
- "type": "event",
232
- "inputs": [
233
- {
234
- "name": "nonceAndMeta",
235
- "type": "uint256",
236
- "indexed": false,
237
- "internalType": "uint256"
238
- },
239
- {
240
- "name": "maker",
241
- "type": "address",
242
- "indexed": false,
243
- "internalType": "address"
244
- },
245
- {
246
- "name": "taker",
247
- "type": "address",
248
- "indexed": false,
249
- "internalType": "address"
250
- },
251
- {
252
- "name": "makerAsset",
253
- "type": "address",
254
- "indexed": false,
255
- "internalType": "address"
256
- },
257
- {
258
- "name": "takerAsset",
259
- "type": "address",
260
- "indexed": false,
261
- "internalType": "address"
262
- },
263
- {
264
- "name": "makerAmountReceived",
265
- "type": "uint256",
266
- "indexed": false,
267
- "internalType": "uint256"
268
- },
269
- {
270
- "name": "takerAmountReceived",
271
- "type": "uint256",
272
- "indexed": false,
273
- "internalType": "uint256"
274
- }
275
- ],
276
- "anonymous": false
277
- },
278
- {
279
- "name": "SwapSignerUpdated",
280
- "type": "event",
281
- "inputs": [
282
- {
283
- "name": "newSwapSigner",
284
- "type": "address",
285
- "indexed": false,
286
- "internalType": "address"
287
- }
288
- ],
289
- "anonymous": false
290
- },
291
- {
292
- "name": "Unpaused",
293
- "type": "event",
294
- "inputs": [
295
- {
296
- "name": "account",
297
- "type": "address",
298
- "indexed": false,
299
- "internalType": "address"
300
- }
301
- ],
302
- "anonymous": false
303
- },
304
- {
305
- "name": "DEFAULT_ADMIN_ROLE",
306
- "type": "function",
307
- "inputs": [],
308
- "outputs": [
309
- {
310
- "name": "",
311
- "type": "bytes32",
312
- "internalType": "bytes32"
313
- }
314
- ],
315
- "stateMutability": "view"
316
- },
317
- {
318
- "name": "REBALANCER_ADMIN_ROLE",
319
- "type": "function",
320
- "inputs": [],
321
- "outputs": [
322
- {
323
- "name": "",
324
- "type": "bytes32",
325
- "internalType": "bytes32"
326
- }
327
- ],
328
- "stateMutability": "view"
329
- },
330
- {
331
- "name": "VERSION",
332
- "type": "function",
333
- "inputs": [],
334
- "outputs": [
335
- {
336
- "name": "",
337
- "type": "bytes32",
338
- "internalType": "bytes32"
339
- }
340
- ],
341
- "stateMutability": "view"
342
- },
343
- {
344
- "name": "addAdmin",
345
- "type": "function",
346
- "inputs": [
347
- {
348
- "name": "_address",
349
- "type": "address",
350
- "internalType": "address"
351
- }
352
- ],
353
- "outputs": [],
354
- "stateMutability": "nonpayable"
355
- },
356
- {
357
- "name": "addRebalancer",
358
- "type": "function",
359
- "inputs": [
360
- {
361
- "name": "_address",
362
- "type": "address",
363
- "internalType": "address"
364
- }
365
- ],
366
- "outputs": [],
367
- "stateMutability": "nonpayable"
368
- },
369
- {
370
- "name": "batchClaimBalance",
371
- "type": "function",
372
- "inputs": [
373
- {
374
- "name": "_assets",
375
- "type": "address[]",
376
- "internalType": "address[]"
377
- },
378
- {
379
- "name": "_amounts",
380
- "type": "uint256[]",
381
- "internalType": "uint256[]"
382
- }
383
- ],
384
- "outputs": [],
385
- "stateMutability": "nonpayable"
386
- },
387
- {
388
- "name": "claimBalance",
389
- "type": "function",
390
- "inputs": [
391
- {
392
- "name": "_asset",
393
- "type": "address",
394
- "internalType": "address"
395
- },
396
- {
397
- "name": "_amount",
398
- "type": "uint256",
399
- "internalType": "uint256"
400
- }
401
- ],
402
- "outputs": [],
403
- "stateMutability": "nonpayable"
404
- },
405
- {
406
- "name": "getRoleAdmin",
407
- "type": "function",
408
- "inputs": [
409
- {
410
- "name": "role",
411
- "type": "bytes32",
412
- "internalType": "bytes32"
413
- }
414
- ],
415
- "outputs": [
416
- {
417
- "name": "",
418
- "type": "bytes32",
419
- "internalType": "bytes32"
420
- }
421
- ],
422
- "stateMutability": "view"
423
- },
424
- {
425
- "name": "getRoleMember",
426
- "type": "function",
427
- "inputs": [
428
- {
429
- "name": "role",
430
- "type": "bytes32",
431
- "internalType": "bytes32"
432
- },
433
- {
434
- "name": "index",
435
- "type": "uint256",
436
- "internalType": "uint256"
437
- }
438
- ],
439
- "outputs": [
440
- {
441
- "name": "",
442
- "type": "address",
443
- "internalType": "address"
444
- }
445
- ],
446
- "stateMutability": "view"
447
- },
448
- {
449
- "name": "getRoleMemberCount",
450
- "type": "function",
451
- "inputs": [
452
- {
453
- "name": "role",
454
- "type": "bytes32",
455
- "internalType": "bytes32"
456
- }
457
- ],
458
- "outputs": [
459
- {
460
- "name": "",
461
- "type": "uint256",
462
- "internalType": "uint256"
463
- }
464
- ],
465
- "stateMutability": "view"
466
- },
467
- {
468
- "name": "grantRole",
469
- "type": "function",
470
- "inputs": [
471
- {
472
- "name": "role",
473
- "type": "bytes32",
474
- "internalType": "bytes32"
475
- },
476
- {
477
- "name": "account",
478
- "type": "address",
479
- "internalType": "address"
480
- }
481
- ],
482
- "outputs": [],
483
- "stateMutability": "nonpayable"
484
- },
485
- {
486
- "name": "hasRole",
487
- "type": "function",
488
- "inputs": [
489
- {
490
- "name": "role",
491
- "type": "bytes32",
492
- "internalType": "bytes32"
493
- },
494
- {
495
- "name": "account",
496
- "type": "address",
497
- "internalType": "address"
498
- }
499
- ],
500
- "outputs": [
501
- {
502
- "name": "",
503
- "type": "bool",
504
- "internalType": "bool"
505
- }
506
- ],
507
- "stateMutability": "view"
508
- },
509
- {
510
- "name": "initialize",
511
- "type": "function",
512
- "inputs": [
513
- {
514
- "name": "_swapSigner",
515
- "type": "address",
516
- "internalType": "address"
517
- }
518
- ],
519
- "outputs": [],
520
- "stateMutability": "nonpayable"
521
- },
522
- {
523
- "name": "isAdmin",
524
- "type": "function",
525
- "inputs": [
526
- {
527
- "name": "_address",
528
- "type": "address",
529
- "internalType": "address"
530
- }
531
- ],
532
- "outputs": [
533
- {
534
- "name": "",
535
- "type": "bool",
536
- "internalType": "bool"
537
- }
538
- ],
539
- "stateMutability": "view"
540
- },
541
- {
542
- "name": "isRebalancer",
543
- "type": "function",
544
- "inputs": [
545
- {
546
- "name": "_address",
547
- "type": "address",
548
- "internalType": "address"
549
- }
550
- ],
551
- "outputs": [
552
- {
553
- "name": "",
554
- "type": "bool",
555
- "internalType": "bool"
556
- }
557
- ],
558
- "stateMutability": "view"
559
- },
560
- {
561
- "name": "isValidSignature",
562
- "type": "function",
563
- "inputs": [
564
- {
565
- "name": "_hash",
566
- "type": "bytes32",
567
- "internalType": "bytes32"
568
- },
569
- {
570
- "name": "_signature",
571
- "type": "bytes",
572
- "internalType": "bytes"
573
- }
574
- ],
575
- "outputs": [
576
- {
577
- "name": "",
578
- "type": "bytes4",
579
- "internalType": "bytes4"
580
- }
581
- ],
582
- "stateMutability": "view"
583
- },
584
- {
585
- "name": "orderExpiryUpdated",
586
- "type": "function",
587
- "inputs": [
588
- {
589
- "name": "",
590
- "type": "uint256",
591
- "internalType": "uint256"
592
- }
593
- ],
594
- "outputs": [
595
- {
596
- "name": "",
597
- "type": "uint256",
598
- "internalType": "uint256"
599
- }
600
- ],
601
- "stateMutability": "view"
602
- },
603
- {
604
- "name": "orderMakerAmountUpdated",
605
- "type": "function",
606
- "inputs": [
607
- {
608
- "name": "",
609
- "type": "uint256",
610
- "internalType": "uint256"
611
- }
612
- ],
613
- "outputs": [
614
- {
615
- "name": "",
616
- "type": "uint256",
617
- "internalType": "uint256"
618
- }
619
- ],
620
- "stateMutability": "view"
621
- },
622
- {
623
- "name": "pause",
624
- "type": "function",
625
- "inputs": [],
626
- "outputs": [],
627
- "stateMutability": "nonpayable"
628
- },
629
- {
630
- "name": "paused",
631
- "type": "function",
632
- "inputs": [],
633
- "outputs": [
634
- {
635
- "name": "",
636
- "type": "bool",
637
- "internalType": "bool"
638
- }
639
- ],
640
- "stateMutability": "view"
641
- },
642
- {
643
- "name": "removeAdmin",
644
- "type": "function",
645
- "inputs": [
646
- {
647
- "name": "_address",
648
- "type": "address",
649
- "internalType": "address"
650
- }
651
- ],
652
- "outputs": [],
653
- "stateMutability": "nonpayable"
654
- },
655
- {
656
- "name": "removeRebalancer",
657
- "type": "function",
658
- "inputs": [
659
- {
660
- "name": "_address",
661
- "type": "address",
662
- "internalType": "address"
663
- }
664
- ],
665
- "outputs": [],
666
- "stateMutability": "nonpayable"
667
- },
668
- {
669
- "name": "renounceRole",
670
- "type": "function",
671
- "inputs": [
672
- {
673
- "name": "role",
674
- "type": "bytes32",
675
- "internalType": "bytes32"
676
- },
677
- {
678
- "name": "account",
679
- "type": "address",
680
- "internalType": "address"
681
- }
682
- ],
683
- "outputs": [],
684
- "stateMutability": "nonpayable"
685
- },
686
- {
687
- "name": "revokeRole",
688
- "type": "function",
689
- "inputs": [
690
- {
691
- "name": "role",
692
- "type": "bytes32",
693
- "internalType": "bytes32"
694
- },
695
- {
696
- "name": "account",
697
- "type": "address",
698
- "internalType": "address"
699
- }
700
- ],
701
- "outputs": [],
702
- "stateMutability": "nonpayable"
703
- },
704
- {
705
- "name": "setSlippageTolerance",
706
- "type": "function",
707
- "inputs": [
708
- {
709
- "name": "_newSlippageTolerance",
710
- "type": "uint256",
711
- "internalType": "uint256"
712
- }
713
- ],
714
- "outputs": [],
715
- "stateMutability": "nonpayable"
716
- },
717
- {
718
- "name": "setSwapSigner",
719
- "type": "function",
720
- "inputs": [
721
- {
722
- "name": "_swapSigner",
723
- "type": "address",
724
- "internalType": "address"
725
- }
726
- ],
727
- "outputs": [],
728
- "stateMutability": "nonpayable"
729
- },
730
- {
731
- "name": "simpleSwap",
732
- "type": "function",
733
- "inputs": [
734
- {
735
- "name": "_order",
736
- "type": "tuple",
737
- "components": [
738
- {
739
- "name": "nonceAndMeta",
740
- "type": "uint256",
741
- "internalType": "uint256"
742
- },
743
- {
744
- "name": "expiry",
745
- "type": "uint128",
746
- "internalType": "uint128"
747
- },
748
- {
749
- "name": "makerAsset",
750
- "type": "address",
751
- "internalType": "address"
752
- },
753
- {
754
- "name": "takerAsset",
755
- "type": "address",
756
- "internalType": "address"
757
- },
758
- {
759
- "name": "maker",
760
- "type": "address",
761
- "internalType": "address"
762
- },
763
- {
764
- "name": "taker",
765
- "type": "address",
766
- "internalType": "address"
767
- },
768
- {
769
- "name": "makerAmount",
770
- "type": "uint256",
771
- "internalType": "uint256"
772
- },
773
- {
774
- "name": "takerAmount",
775
- "type": "uint256",
776
- "internalType": "uint256"
777
- }
778
- ],
779
- "internalType": "struct MainnetRFQ.Order"
780
- },
781
- {
782
- "name": "_signature",
783
- "type": "bytes",
784
- "internalType": "bytes"
785
- }
786
- ],
787
- "outputs": [],
788
- "stateMutability": "payable"
789
- },
790
- {
791
- "name": "slippageTolerance",
792
- "type": "function",
793
- "inputs": [],
794
- "outputs": [
795
- {
796
- "name": "",
797
- "type": "uint256",
798
- "internalType": "uint256"
799
- }
800
- ],
801
- "stateMutability": "view"
802
- },
803
- {
804
- "name": "supportsInterface",
805
- "type": "function",
806
- "inputs": [
807
- {
808
- "name": "interfaceId",
809
- "type": "bytes4",
810
- "internalType": "bytes4"
811
- }
812
- ],
813
- "outputs": [
814
- {
815
- "name": "",
816
- "type": "bool",
817
- "internalType": "bool"
818
- }
819
- ],
820
- "stateMutability": "view"
821
- },
822
- {
823
- "name": "swapSigner",
824
- "type": "function",
825
- "inputs": [],
826
- "outputs": [
827
- {
828
- "name": "",
829
- "type": "address",
830
- "internalType": "address"
831
- }
832
- ],
833
- "stateMutability": "view"
834
- },
835
- {
836
- "name": "unpause",
837
- "type": "function",
838
- "inputs": [],
839
- "outputs": [],
840
- "stateMutability": "nonpayable"
841
- },
842
- {
843
- "name": "updateOrderExpiry",
844
- "type": "function",
845
- "inputs": [
846
- {
847
- "name": "_nonceAndMeta",
848
- "type": "uint256",
849
- "internalType": "uint256"
850
- },
851
- {
852
- "name": "_newExpiry",
853
- "type": "uint256",
854
- "internalType": "uint256"
855
- }
856
- ],
857
- "outputs": [],
858
- "stateMutability": "nonpayable"
859
- },
860
- {
861
- "name": "updateOrderMakerAmount",
862
- "type": "function",
863
- "inputs": [
864
- {
865
- "name": "_nonceAndMeta",
866
- "type": "uint256",
867
- "internalType": "uint256"
868
- },
869
- {
870
- "name": "_newMakerAmount",
871
- "type": "uint256",
872
- "internalType": "uint256"
873
- },
874
- {
875
- "name": "_oldMakerAmount",
876
- "type": "uint256",
877
- "internalType": "uint256"
878
- }
879
- ],
880
- "outputs": [],
881
- "stateMutability": "nonpayable"
882
- },
883
- {
884
- "type": "receive",
885
- "stateMutability": "payable"
886
- }
887
- ]