@paraswap/dex-lib 2.33.1-equalizer → 2.33.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 (180) hide show
  1. package/build/abi/algebra/AlgebraFactory-v1_1.abi.json +250 -0
  2. package/build/abi/api3-proxy.json +46 -0
  3. package/build/abi/api3-server-v1.json +463 -0
  4. package/build/abi/quick-perps/fast-price-events.json +70 -0
  5. package/build/abi/quick-perps/fast-price-feed.json +741 -0
  6. package/build/abi/quick-perps/reader.json +313 -0
  7. package/build/abi/quick-perps/vault-price-feed.json +323 -0
  8. package/build/abi/quick-perps/vault.json +1953 -0
  9. package/build/abi/quickPerps/fast-price-events.json +70 -0
  10. package/build/abi/quickPerps/fast-price-feed.json +748 -0
  11. package/build/abi/quickPerps/reader.json +313 -0
  12. package/build/abi/quickPerps/vault-price-feed.json +477 -0
  13. package/build/abi/quickPerps/vault.json +1953 -0
  14. package/build/dex/index.js +0 -2
  15. package/build/dex/index.js.map +1 -1
  16. package/build/dex/quick-perps/config.d.ts +11 -0
  17. package/build/dex/quick-perps/config.js +27 -0
  18. package/build/dex/quick-perps/config.js.map +1 -0
  19. package/build/dex/quick-perps/fast-price-feed.d.ts +26 -0
  20. package/build/dex/quick-perps/fast-price-feed.js +176 -0
  21. package/build/dex/quick-perps/fast-price-feed.js.map +1 -0
  22. package/build/dex/quick-perps/pool.d.ts +21 -0
  23. package/build/dex/quick-perps/pool.js +210 -0
  24. package/build/dex/quick-perps/pool.js.map +1 -0
  25. package/build/dex/quick-perps/quick-perps.d.ts +52 -0
  26. package/build/dex/quick-perps/quick-perps.js +205 -0
  27. package/build/dex/quick-perps/quick-perps.js.map +1 -0
  28. package/build/dex/quick-perps/types.d.ts +98 -0
  29. package/build/dex/{pancakeswap-v3 → quick-perps}/types.js.map +1 -1
  30. package/build/dex/quick-perps/usdq.d.ts +15 -0
  31. package/build/dex/quick-perps/usdq.js +61 -0
  32. package/build/dex/quick-perps/usdq.js.map +1 -0
  33. package/build/dex/quick-perps/vault-price-feed.d.ts +43 -0
  34. package/build/dex/quick-perps/vault-price-feed.js +194 -0
  35. package/build/dex/quick-perps/vault-price-feed.js.map +1 -0
  36. package/build/dex/quick-perps/vault-utils.d.ts +8 -0
  37. package/build/dex/quick-perps/vault-utils.js +41 -0
  38. package/build/dex/quick-perps/vault-utils.js.map +1 -0
  39. package/build/dex/quick-perps/vault.d.ts +46 -0
  40. package/build/dex/quick-perps/vault.js +166 -0
  41. package/build/dex/quick-perps/vault.js.map +1 -0
  42. package/build/dex/solidly/config.js +1 -10
  43. package/build/dex/solidly/config.js.map +1 -1
  44. package/build/dex/solidly/solidly.js +0 -1
  45. package/build/dex/solidly/solidly.js.map +1 -1
  46. package/build/dex/{ramses-v2 → test-dex}/config.d.ts +1 -1
  47. package/build/dex/test-dex/config.js +15 -0
  48. package/build/dex/test-dex/config.js.map +1 -0
  49. package/build/dex/test-dex/test-dex-pool.d.ts +39 -0
  50. package/build/dex/test-dex/test-dex-pool.js +63 -0
  51. package/build/dex/test-dex/test-dex-pool.js.map +1 -0
  52. package/build/dex/test-dex/test-dex.d.ts +37 -0
  53. package/build/dex/test-dex/test-dex.js +126 -0
  54. package/build/dex/test-dex/test-dex.js.map +1 -0
  55. package/build/dex/test-dex/types.d.ts +6 -0
  56. package/build/dex/test-dex/types.js +3 -0
  57. package/build/dex/test-dex/types.js.map +1 -0
  58. package/build/dex/uniswap-v3/config.js +1 -1
  59. package/build/dex/uniswap-v3/config.js.map +1 -1
  60. package/build/dex/woo-fi-v2/woo-fi-math.d.ts +16 -0
  61. package/build/dex/woo-fi-v2/woo-fi-math.js +137 -0
  62. package/build/dex/woo-fi-v2/woo-fi-math.js.map +1 -0
  63. package/build/lib/api3-feed.d.ts +26 -0
  64. package/build/lib/api3-feed.js +82 -0
  65. package/build/lib/api3-feed.js.map +1 -0
  66. package/package.json +1 -1
  67. package/src/dex/index.ts +0 -2
  68. package/src/dex/solidly/config.ts +1 -11
  69. package/src/dex/solidly/solidly-e2e.test.ts +0 -23
  70. package/src/dex/solidly/solidly-integration.test.ts +0 -115
  71. package/src/dex/solidly/solidly.ts +0 -1
  72. package/src/dex/uniswap-v3/config.ts +1 -1
  73. package/.idea/aws.xml +0 -17
  74. package/.idea/codeStyles/Project.xml +0 -19
  75. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  76. package/.idea/misc.xml +0 -6
  77. package/.idea/modules.xml +0 -8
  78. package/.idea/paraswap-dex-lib.iml +0 -9
  79. package/.idea/vcs.xml +0 -6
  80. package/build/abi/algebra/AlgebraPool.abi.json +0 -727
  81. package/build/abi/curve-v1/StableSwapFRXETH.json +0 -889
  82. package/build/abi/curve-v1/StableSwapWBETH.json +0 -1223
  83. package/build/abi/sushiswap-v3/QuoterV2.json +0 -267
  84. package/build/abi/sushiswap-v3/RouterProcessor3.json +0 -289
  85. package/build/abi/wBETH.json +0 -1527
  86. package/build/dex/algebra/algebra-pool.d.ts +0 -46
  87. package/build/dex/algebra/algebra-pool.js +0 -336
  88. package/build/dex/algebra/algebra-pool.js.map +0 -1
  89. package/build/dex/curve-v1/pools/frxETHpool.d.ts +0 -7
  90. package/build/dex/curve-v1/pools/frxETHpool.js +0 -27
  91. package/build/dex/curve-v1/pools/frxETHpool.js.map +0 -1
  92. package/build/dex/curve-v1/pools/wbETHpool.d.ts +0 -29
  93. package/build/dex/curve-v1/pools/wbETHpool.js +0 -408
  94. package/build/dex/curve-v1/pools/wbETHpool.js.map +0 -1
  95. package/build/dex/pancakeswap-v3/types.d.ts +0 -14
  96. package/build/dex/ramses-v2/config.js +0 -28
  97. package/build/dex/ramses-v2/config.js.map +0 -1
  98. package/build/dex/ramses-v2/constants.d.ts +0 -28
  99. package/build/dex/ramses-v2/constants.js +0 -35
  100. package/build/dex/ramses-v2/constants.js.map +0 -1
  101. package/build/dex/ramses-v2/contract-math/BitMath.d.ts +0 -4
  102. package/build/dex/ramses-v2/contract-math/BitMath.js +0 -93
  103. package/build/dex/ramses-v2/contract-math/BitMath.js.map +0 -1
  104. package/build/dex/ramses-v2/contract-math/FixedPoint128.d.ts +0 -3
  105. package/build/dex/ramses-v2/contract-math/FixedPoint128.js +0 -8
  106. package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +0 -1
  107. package/build/dex/ramses-v2/contract-math/FixedPoint96.d.ts +0 -4
  108. package/build/dex/ramses-v2/contract-math/FixedPoint96.js +0 -9
  109. package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +0 -1
  110. package/build/dex/ramses-v2/contract-math/FullMath.d.ts +0 -4
  111. package/build/dex/ramses-v2/contract-math/FullMath.js +0 -19
  112. package/build/dex/ramses-v2/contract-math/FullMath.js.map +0 -1
  113. package/build/dex/ramses-v2/contract-math/LiquidityMath.d.ts +0 -3
  114. package/build/dex/ramses-v2/contract-math/LiquidityMath.js +0 -22
  115. package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +0 -1
  116. package/build/dex/ramses-v2/contract-math/Oracle.d.ts +0 -10
  117. package/build/dex/ramses-v2/contract-math/Oracle.js +0 -133
  118. package/build/dex/ramses-v2/contract-math/Oracle.js.map +0 -1
  119. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.d.ts +0 -10
  120. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js +0 -91
  121. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +0 -1
  122. package/build/dex/ramses-v2/contract-math/SwapMath.d.ts +0 -8
  123. package/build/dex/ramses-v2/contract-math/SwapMath.js +0 -70
  124. package/build/dex/ramses-v2/contract-math/SwapMath.js.map +0 -1
  125. package/build/dex/ramses-v2/contract-math/Tick.d.ts +0 -7
  126. package/build/dex/ramses-v2/contract-math/Tick.js +0 -45
  127. package/build/dex/ramses-v2/contract-math/Tick.js.map +0 -1
  128. package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +0 -8
  129. package/build/dex/ramses-v2/contract-math/TickBitMap.js +0 -87
  130. package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +0 -1
  131. package/build/dex/ramses-v2/contract-math/TickMath.d.ts +0 -8
  132. package/build/dex/ramses-v2/contract-math/TickMath.js +0 -162
  133. package/build/dex/ramses-v2/contract-math/TickMath.js.map +0 -1
  134. package/build/dex/ramses-v2/contract-math/UnsafeMath.d.ts +0 -3
  135. package/build/dex/ramses-v2/contract-math/UnsafeMath.js +0 -10
  136. package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +0 -1
  137. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.d.ts +0 -18
  138. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js +0 -392
  139. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +0 -1
  140. package/build/dex/ramses-v2/contract-math/utils.d.ts +0 -3
  141. package/build/dex/ramses-v2/contract-math/utils.js +0 -16
  142. package/build/dex/ramses-v2/contract-math/utils.js.map +0 -1
  143. package/build/dex/ramses-v2/ramses-v2-pool.d.ts +0 -42
  144. package/build/dex/ramses-v2/ramses-v2-pool.js +0 -307
  145. package/build/dex/ramses-v2/ramses-v2-pool.js.map +0 -1
  146. package/build/dex/ramses-v2/ramses-v2.d.ts +0 -61
  147. package/build/dex/ramses-v2/ramses-v2.js +0 -690
  148. package/build/dex/ramses-v2/ramses-v2.js.map +0 -1
  149. package/build/dex/ramses-v2/types.d.ts +0 -154
  150. package/build/dex/ramses-v2/types.js +0 -9
  151. package/build/dex/ramses-v2/types.js.map +0 -1
  152. package/build/dex/ramses-v2/utils.d.ts +0 -6
  153. package/build/dex/ramses-v2/utils.js +0 -71
  154. package/build/dex/ramses-v2/utils.js.map +0 -1
  155. package/build/dex/solidly/forks-override/equalizer.d.ts +0 -20
  156. package/build/dex/solidly/forks-override/equalizer.js +0 -46
  157. package/build/dex/solidly/forks-override/equalizer.js.map +0 -1
  158. package/build/dex/sushiswap-v3/config.d.ts +0 -4
  159. package/build/dex/sushiswap-v3/config.js +0 -132
  160. package/build/dex/sushiswap-v3/config.js.map +0 -1
  161. package/build/dex/sushiswap-v3/constants.d.ts +0 -4
  162. package/build/dex/sushiswap-v3/constants.js +0 -32
  163. package/build/dex/sushiswap-v3/constants.js.map +0 -1
  164. package/build/dex/sushiswap-v3/sushiswap-v3-original.d.ts +0 -56
  165. package/build/dex/sushiswap-v3/sushiswap-v3-original.js +0 -598
  166. package/build/dex/sushiswap-v3/sushiswap-v3-original.js.map +0 -1
  167. package/build/dex/sushiswap-v3/sushiswap-v3-pool.d.ts +0 -1
  168. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js +0 -6
  169. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js.map +0 -1
  170. package/build/dex/sushiswap-v3/sushiswap-v3.d.ts +0 -21
  171. package/build/dex/sushiswap-v3/sushiswap-v3.js +0 -58
  172. package/build/dex/sushiswap-v3/sushiswap-v3.js.map +0 -1
  173. package/build/dex/sushiswap-v3/token.d.ts +0 -6
  174. package/build/dex/sushiswap-v3/token.js +0 -23
  175. package/build/dex/sushiswap-v3/token.js.map +0 -1
  176. package/build/dex/sushiswap-v3/types.d.ts +0 -15
  177. package/build/dex/sushiswap-v3/types.js +0 -18
  178. package/build/dex/sushiswap-v3/types.js.map +0 -1
  179. package/src/dex/solidly/forks-override/equalizer.ts +0 -58
  180. /package/build/dex/{pancakeswap-v3 → quick-perps}/types.js +0 -0
@@ -0,0 +1,463 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_accessControlRegistry",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "string",
11
+ "name": "_adminRoleDescription",
12
+ "type": "string"
13
+ },
14
+ { "internalType": "address", "name": "_manager", "type": "address" }
15
+ ],
16
+ "stateMutability": "nonpayable",
17
+ "type": "constructor"
18
+ },
19
+ {
20
+ "anonymous": false,
21
+ "inputs": [
22
+ {
23
+ "indexed": true,
24
+ "internalType": "bytes32",
25
+ "name": "dataFeedId",
26
+ "type": "bytes32"
27
+ },
28
+ {
29
+ "indexed": true,
30
+ "internalType": "bytes32",
31
+ "name": "dapiName",
32
+ "type": "bytes32"
33
+ },
34
+ {
35
+ "indexed": false,
36
+ "internalType": "address",
37
+ "name": "sender",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "SetDapiName",
42
+ "type": "event"
43
+ },
44
+ {
45
+ "anonymous": false,
46
+ "inputs": [
47
+ {
48
+ "indexed": true,
49
+ "internalType": "bytes32",
50
+ "name": "beaconSetId",
51
+ "type": "bytes32"
52
+ },
53
+ {
54
+ "indexed": false,
55
+ "internalType": "int224",
56
+ "name": "value",
57
+ "type": "int224"
58
+ },
59
+ {
60
+ "indexed": false,
61
+ "internalType": "uint32",
62
+ "name": "timestamp",
63
+ "type": "uint32"
64
+ }
65
+ ],
66
+ "name": "UpdatedBeaconSetWithBeacons",
67
+ "type": "event"
68
+ },
69
+ {
70
+ "anonymous": false,
71
+ "inputs": [
72
+ {
73
+ "indexed": true,
74
+ "internalType": "bytes32",
75
+ "name": "beaconId",
76
+ "type": "bytes32"
77
+ },
78
+ {
79
+ "indexed": false,
80
+ "internalType": "int224",
81
+ "name": "value",
82
+ "type": "int224"
83
+ },
84
+ {
85
+ "indexed": false,
86
+ "internalType": "uint32",
87
+ "name": "timestamp",
88
+ "type": "uint32"
89
+ }
90
+ ],
91
+ "name": "UpdatedBeaconWithSignedData",
92
+ "type": "event"
93
+ },
94
+ {
95
+ "anonymous": false,
96
+ "inputs": [
97
+ {
98
+ "indexed": true,
99
+ "internalType": "bytes32",
100
+ "name": "beaconSetId",
101
+ "type": "bytes32"
102
+ },
103
+ {
104
+ "indexed": true,
105
+ "internalType": "address",
106
+ "name": "proxy",
107
+ "type": "address"
108
+ },
109
+ {
110
+ "indexed": true,
111
+ "internalType": "bytes32",
112
+ "name": "updateId",
113
+ "type": "bytes32"
114
+ },
115
+ {
116
+ "indexed": false,
117
+ "internalType": "int224",
118
+ "name": "value",
119
+ "type": "int224"
120
+ },
121
+ {
122
+ "indexed": false,
123
+ "internalType": "uint32",
124
+ "name": "timestamp",
125
+ "type": "uint32"
126
+ }
127
+ ],
128
+ "name": "UpdatedOevProxyBeaconSetWithSignedData",
129
+ "type": "event"
130
+ },
131
+ {
132
+ "anonymous": false,
133
+ "inputs": [
134
+ {
135
+ "indexed": true,
136
+ "internalType": "bytes32",
137
+ "name": "beaconId",
138
+ "type": "bytes32"
139
+ },
140
+ {
141
+ "indexed": true,
142
+ "internalType": "address",
143
+ "name": "proxy",
144
+ "type": "address"
145
+ },
146
+ {
147
+ "indexed": true,
148
+ "internalType": "bytes32",
149
+ "name": "updateId",
150
+ "type": "bytes32"
151
+ },
152
+ {
153
+ "indexed": false,
154
+ "internalType": "int224",
155
+ "name": "value",
156
+ "type": "int224"
157
+ },
158
+ {
159
+ "indexed": false,
160
+ "internalType": "uint32",
161
+ "name": "timestamp",
162
+ "type": "uint32"
163
+ }
164
+ ],
165
+ "name": "UpdatedOevProxyBeaconWithSignedData",
166
+ "type": "event"
167
+ },
168
+ {
169
+ "anonymous": false,
170
+ "inputs": [
171
+ {
172
+ "indexed": true,
173
+ "internalType": "address",
174
+ "name": "oevProxy",
175
+ "type": "address"
176
+ },
177
+ {
178
+ "indexed": false,
179
+ "internalType": "address",
180
+ "name": "oevBeneficiary",
181
+ "type": "address"
182
+ },
183
+ {
184
+ "indexed": false,
185
+ "internalType": "uint256",
186
+ "name": "amount",
187
+ "type": "uint256"
188
+ }
189
+ ],
190
+ "name": "Withdrew",
191
+ "type": "event"
192
+ },
193
+ {
194
+ "inputs": [],
195
+ "name": "DAPI_NAME_SETTER_ROLE_DESCRIPTION",
196
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
197
+ "stateMutability": "view",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [],
202
+ "name": "accessControlRegistry",
203
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
204
+ "stateMutability": "view",
205
+ "type": "function"
206
+ },
207
+ {
208
+ "inputs": [],
209
+ "name": "adminRole",
210
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
211
+ "stateMutability": "view",
212
+ "type": "function"
213
+ },
214
+ {
215
+ "inputs": [],
216
+ "name": "adminRoleDescription",
217
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
218
+ "stateMutability": "view",
219
+ "type": "function"
220
+ },
221
+ {
222
+ "inputs": [
223
+ { "internalType": "address", "name": "account", "type": "address" }
224
+ ],
225
+ "name": "containsBytecode",
226
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
227
+ "stateMutability": "view",
228
+ "type": "function"
229
+ },
230
+ {
231
+ "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
232
+ "name": "dapiNameHashToDataFeedId",
233
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
234
+ "stateMutability": "view",
235
+ "type": "function"
236
+ },
237
+ {
238
+ "inputs": [],
239
+ "name": "dapiNameSetterRole",
240
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
241
+ "stateMutability": "view",
242
+ "type": "function"
243
+ },
244
+ {
245
+ "inputs": [
246
+ { "internalType": "bytes32", "name": "dapiName", "type": "bytes32" }
247
+ ],
248
+ "name": "dapiNameToDataFeedId",
249
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
250
+ "stateMutability": "view",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "inputs": [
255
+ { "internalType": "bytes32", "name": "dataFeedId", "type": "bytes32" }
256
+ ],
257
+ "name": "dataFeeds",
258
+ "outputs": [
259
+ { "internalType": "int224", "name": "value", "type": "int224" },
260
+ { "internalType": "uint32", "name": "timestamp", "type": "uint32" }
261
+ ],
262
+ "stateMutability": "view",
263
+ "type": "function"
264
+ },
265
+ {
266
+ "inputs": [
267
+ { "internalType": "address", "name": "account", "type": "address" }
268
+ ],
269
+ "name": "getBalance",
270
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
271
+ "stateMutability": "view",
272
+ "type": "function"
273
+ },
274
+ {
275
+ "inputs": [],
276
+ "name": "getBlockBasefee",
277
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
278
+ "stateMutability": "view",
279
+ "type": "function"
280
+ },
281
+ {
282
+ "inputs": [],
283
+ "name": "getBlockNumber",
284
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
285
+ "stateMutability": "view",
286
+ "type": "function"
287
+ },
288
+ {
289
+ "inputs": [],
290
+ "name": "getBlockTimestamp",
291
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
292
+ "stateMutability": "view",
293
+ "type": "function"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "getChainId",
298
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
299
+ "stateMutability": "view",
300
+ "type": "function"
301
+ },
302
+ {
303
+ "inputs": [],
304
+ "name": "manager",
305
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
306
+ "stateMutability": "view",
307
+ "type": "function"
308
+ },
309
+ {
310
+ "inputs": [
311
+ { "internalType": "bytes[]", "name": "data", "type": "bytes[]" }
312
+ ],
313
+ "name": "multicall",
314
+ "outputs": [
315
+ { "internalType": "bytes[]", "name": "returndata", "type": "bytes[]" }
316
+ ],
317
+ "stateMutability": "nonpayable",
318
+ "type": "function"
319
+ },
320
+ {
321
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
322
+ "name": "oevProxyToBalance",
323
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
324
+ "stateMutability": "view",
325
+ "type": "function"
326
+ },
327
+ {
328
+ "inputs": [
329
+ { "internalType": "address", "name": "proxy", "type": "address" },
330
+ { "internalType": "bytes32", "name": "dataFeedId", "type": "bytes32" }
331
+ ],
332
+ "name": "oevProxyToIdToDataFeed",
333
+ "outputs": [
334
+ { "internalType": "int224", "name": "value", "type": "int224" },
335
+ { "internalType": "uint32", "name": "timestamp", "type": "uint32" }
336
+ ],
337
+ "stateMutability": "view",
338
+ "type": "function"
339
+ },
340
+ {
341
+ "inputs": [
342
+ { "internalType": "bytes32", "name": "dapiNameHash", "type": "bytes32" }
343
+ ],
344
+ "name": "readDataFeedWithDapiNameHash",
345
+ "outputs": [
346
+ { "internalType": "int224", "name": "value", "type": "int224" },
347
+ { "internalType": "uint32", "name": "timestamp", "type": "uint32" }
348
+ ],
349
+ "stateMutability": "view",
350
+ "type": "function"
351
+ },
352
+ {
353
+ "inputs": [
354
+ { "internalType": "bytes32", "name": "dapiNameHash", "type": "bytes32" }
355
+ ],
356
+ "name": "readDataFeedWithDapiNameHashAsOevProxy",
357
+ "outputs": [
358
+ { "internalType": "int224", "name": "value", "type": "int224" },
359
+ { "internalType": "uint32", "name": "timestamp", "type": "uint32" }
360
+ ],
361
+ "stateMutability": "view",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [
366
+ { "internalType": "bytes32", "name": "dataFeedId", "type": "bytes32" }
367
+ ],
368
+ "name": "readDataFeedWithId",
369
+ "outputs": [
370
+ { "internalType": "int224", "name": "value", "type": "int224" },
371
+ { "internalType": "uint32", "name": "timestamp", "type": "uint32" }
372
+ ],
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [
378
+ { "internalType": "bytes32", "name": "dataFeedId", "type": "bytes32" }
379
+ ],
380
+ "name": "readDataFeedWithIdAsOevProxy",
381
+ "outputs": [
382
+ { "internalType": "int224", "name": "value", "type": "int224" },
383
+ { "internalType": "uint32", "name": "timestamp", "type": "uint32" }
384
+ ],
385
+ "stateMutability": "view",
386
+ "type": "function"
387
+ },
388
+ {
389
+ "inputs": [
390
+ { "internalType": "bytes32", "name": "dapiName", "type": "bytes32" },
391
+ { "internalType": "bytes32", "name": "dataFeedId", "type": "bytes32" }
392
+ ],
393
+ "name": "setDapiName",
394
+ "outputs": [],
395
+ "stateMutability": "nonpayable",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "inputs": [
400
+ { "internalType": "bytes[]", "name": "data", "type": "bytes[]" }
401
+ ],
402
+ "name": "tryMulticall",
403
+ "outputs": [
404
+ { "internalType": "bool[]", "name": "successes", "type": "bool[]" },
405
+ { "internalType": "bytes[]", "name": "returndata", "type": "bytes[]" }
406
+ ],
407
+ "stateMutability": "nonpayable",
408
+ "type": "function"
409
+ },
410
+ {
411
+ "inputs": [
412
+ { "internalType": "bytes32[]", "name": "beaconIds", "type": "bytes32[]" }
413
+ ],
414
+ "name": "updateBeaconSetWithBeacons",
415
+ "outputs": [
416
+ { "internalType": "bytes32", "name": "beaconSetId", "type": "bytes32" }
417
+ ],
418
+ "stateMutability": "nonpayable",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "inputs": [
423
+ { "internalType": "address", "name": "airnode", "type": "address" },
424
+ { "internalType": "bytes32", "name": "templateId", "type": "bytes32" },
425
+ { "internalType": "uint256", "name": "timestamp", "type": "uint256" },
426
+ { "internalType": "bytes", "name": "data", "type": "bytes" },
427
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
428
+ ],
429
+ "name": "updateBeaconWithSignedData",
430
+ "outputs": [
431
+ { "internalType": "bytes32", "name": "beaconId", "type": "bytes32" }
432
+ ],
433
+ "stateMutability": "nonpayable",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ { "internalType": "address", "name": "oevProxy", "type": "address" },
439
+ { "internalType": "bytes32", "name": "dataFeedId", "type": "bytes32" },
440
+ { "internalType": "bytes32", "name": "updateId", "type": "bytes32" },
441
+ { "internalType": "uint256", "name": "timestamp", "type": "uint256" },
442
+ { "internalType": "bytes", "name": "data", "type": "bytes" },
443
+ {
444
+ "internalType": "bytes[]",
445
+ "name": "packedOevUpdateSignatures",
446
+ "type": "bytes[]"
447
+ }
448
+ ],
449
+ "name": "updateOevProxyDataFeedWithSignedData",
450
+ "outputs": [],
451
+ "stateMutability": "payable",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [
456
+ { "internalType": "address", "name": "oevProxy", "type": "address" }
457
+ ],
458
+ "name": "withdraw",
459
+ "outputs": [],
460
+ "stateMutability": "nonpayable",
461
+ "type": "function"
462
+ }
463
+ ]
@@ -0,0 +1,70 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": false,
7
+ "internalType": "address",
8
+ "name": "token",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "indexed": false,
13
+ "internalType": "uint256",
14
+ "name": "price",
15
+ "type": "uint256"
16
+ },
17
+ {
18
+ "indexed": false,
19
+ "internalType": "address",
20
+ "name": "priceFeed",
21
+ "type": "address"
22
+ }
23
+ ],
24
+ "name": "PriceUpdate",
25
+ "type": "event"
26
+ },
27
+ {
28
+ "inputs": [
29
+ { "internalType": "address", "name": "_token", "type": "address" },
30
+ { "internalType": "uint256", "name": "_price", "type": "uint256" }
31
+ ],
32
+ "name": "emitPriceEvent",
33
+ "outputs": [],
34
+ "stateMutability": "nonpayable",
35
+ "type": "function"
36
+ },
37
+ {
38
+ "inputs": [],
39
+ "name": "gov",
40
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
41
+ "stateMutability": "view",
42
+ "type": "function"
43
+ },
44
+ {
45
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
46
+ "name": "isPriceFeed",
47
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
48
+ "stateMutability": "view",
49
+ "type": "function"
50
+ },
51
+ {
52
+ "inputs": [
53
+ { "internalType": "address", "name": "_gov", "type": "address" }
54
+ ],
55
+ "name": "setGov",
56
+ "outputs": [],
57
+ "stateMutability": "nonpayable",
58
+ "type": "function"
59
+ },
60
+ {
61
+ "inputs": [
62
+ { "internalType": "address", "name": "_priceFeed", "type": "address" },
63
+ { "internalType": "bool", "name": "_isPriceFeed", "type": "bool" }
64
+ ],
65
+ "name": "setIsPriceFeed",
66
+ "outputs": [],
67
+ "stateMutability": "nonpayable",
68
+ "type": "function"
69
+ }
70
+ ]