@underscore-finance/sdk 1.0.11 → 1.1.2

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 (310) hide show
  1. package/dist/contracts/AaveV3.d.ts +603 -279
  2. package/dist/contracts/AaveV3.d.ts.map +1 -1
  3. package/dist/contracts/AaveV3.js +718 -331
  4. package/dist/contracts/AeroClassic.d.ts +4 -17
  5. package/dist/contracts/AeroClassic.d.ts.map +1 -1
  6. package/dist/contracts/AeroClassic.js +5 -24
  7. package/dist/contracts/AeroSlipstream.d.ts +4 -17
  8. package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
  9. package/dist/contracts/AeroSlipstream.js +5 -24
  10. package/dist/contracts/Appraiser.d.ts +4 -0
  11. package/dist/contracts/Appraiser.d.ts.map +1 -1
  12. package/dist/contracts/Appraiser.js +5 -1
  13. package/dist/contracts/CompoundV3.d.ts +556 -246
  14. package/dist/contracts/CompoundV3.d.ts.map +1 -1
  15. package/dist/contracts/CompoundV3.js +695 -327
  16. package/dist/contracts/Curve.d.ts +4 -17
  17. package/dist/contracts/Curve.d.ts.map +1 -1
  18. package/dist/contracts/Curve.js +5 -24
  19. package/dist/contracts/Euler.d.ts +581 -253
  20. package/dist/contracts/Euler.d.ts.map +1 -1
  21. package/dist/contracts/Euler.js +714 -324
  22. package/dist/contracts/Fluid.d.ts +644 -302
  23. package/dist/contracts/Fluid.d.ts.map +1 -1
  24. package/dist/contracts/Fluid.js +743 -334
  25. package/dist/contracts/{Agent_v1.d.ts → FortyAcres.d.ts} +1516 -1699
  26. package/dist/contracts/FortyAcres.d.ts.map +1 -0
  27. package/dist/contracts/{AgentTemplate.js → FortyAcres.js} +1681 -1946
  28. package/dist/contracts/LegoBook.d.ts +7 -0
  29. package/dist/contracts/LegoBook.d.ts.map +1 -1
  30. package/dist/contracts/LegoBook.js +9 -1
  31. package/dist/contracts/LegoTools.d.ts +4 -0
  32. package/dist/contracts/LegoTools.d.ts.map +1 -1
  33. package/dist/contracts/LegoTools.js +5 -1
  34. package/dist/contracts/Moonwell.d.ts +582 -254
  35. package/dist/contracts/Moonwell.d.ts.map +1 -1
  36. package/dist/contracts/Moonwell.js +705 -315
  37. package/dist/contracts/Morpho.d.ts +580 -252
  38. package/dist/contracts/Morpho.d.ts.map +1 -1
  39. package/dist/contracts/Morpho.js +723 -333
  40. package/dist/contracts/RipeLego.d.ts +719 -363
  41. package/dist/contracts/RipeLego.d.ts.map +1 -1
  42. package/dist/contracts/RipeLego.js +839 -413
  43. package/dist/contracts/SignatureHelperV1.d.ts +229 -229
  44. package/dist/contracts/SignatureHelperV1.js +333 -333
  45. package/dist/contracts/SwitchboardCharlie.d.ts +1470 -0
  46. package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -0
  47. package/dist/contracts/{v0_3_OracleRegistry.js → SwitchboardCharlie.js} +954 -691
  48. package/dist/contracts/{v0_1_Agent.d.ts → UnderscoreLego.d.ts} +1469 -1663
  49. package/dist/contracts/UnderscoreLego.d.ts.map +1 -0
  50. package/dist/contracts/{Agent_v1.js → UnderscoreLego.js} +1601 -1882
  51. package/dist/contracts/UndyBtc.d.ts +1487 -0
  52. package/dist/contracts/UndyBtc.d.ts.map +1 -0
  53. package/dist/contracts/{LegoUniswapV3.js → UndyBtc.js} +991 -754
  54. package/dist/contracts/UndyEth.d.ts +1487 -0
  55. package/dist/contracts/UndyEth.d.ts.map +1 -0
  56. package/dist/contracts/{v0_3_LegoUniswapV3.js → UndyEth.js} +991 -754
  57. package/dist/contracts/UndyRewardsLego.d.ts +3 -0
  58. package/dist/contracts/UndyRewardsLego.d.ts.map +1 -1
  59. package/dist/contracts/UndyRewardsLego.js +5 -1
  60. package/dist/contracts/UndyUsd.d.ts +1487 -0
  61. package/dist/contracts/UndyUsd.d.ts.map +1 -0
  62. package/dist/contracts/{LegoAeroSlipstream.js → UndyUsd.js} +1009 -725
  63. package/dist/contracts/UniswapV2.d.ts +4 -17
  64. package/dist/contracts/UniswapV2.d.ts.map +1 -1
  65. package/dist/contracts/UniswapV2.js +5 -24
  66. package/dist/contracts/UniswapV3.d.ts +4 -17
  67. package/dist/contracts/UniswapV3.d.ts.map +1 -1
  68. package/dist/contracts/UniswapV3.js +5 -24
  69. package/dist/contracts/VaultRegistry.d.ts +2265 -0
  70. package/dist/contracts/VaultRegistry.d.ts.map +1 -0
  71. package/dist/contracts/VaultRegistry.js +2848 -0
  72. package/dist/contracts/index.d.ts +7 -0
  73. package/dist/contracts/index.d.ts.map +1 -1
  74. package/dist/contracts/index.js +7 -0
  75. package/dist/contracts/sdk.d.ts +14 -0
  76. package/dist/contracts/sdk.d.ts.map +1 -1
  77. package/dist/contracts/sdk.js +14 -0
  78. package/dist/getContracts.d.ts +1 -0
  79. package/dist/getContracts.d.ts.map +1 -1
  80. package/dist/getContracts.js +1 -0
  81. package/package.json +1 -1
  82. package/dist/contracts/AddyRegistry.d.ts +0 -1109
  83. package/dist/contracts/AddyRegistry.d.ts.map +0 -1
  84. package/dist/contracts/AddyRegistry.js +0 -1392
  85. package/dist/contracts/AddyRegistry_v1.d.ts +0 -473
  86. package/dist/contracts/AddyRegistry_v1.d.ts.map +0 -1
  87. package/dist/contracts/AddyRegistry_v1.js +0 -594
  88. package/dist/contracts/AddyRegistry_v2.d.ts +0 -1050
  89. package/dist/contracts/AddyRegistry_v2.d.ts.map +0 -1
  90. package/dist/contracts/AddyRegistry_v2.js +0 -1313
  91. package/dist/contracts/AgentFactory.d.ts +0 -1665
  92. package/dist/contracts/AgentFactory.d.ts.map +0 -1
  93. package/dist/contracts/AgentFactory.js +0 -2078
  94. package/dist/contracts/AgentFactory_v1.d.ts +0 -1054
  95. package/dist/contracts/AgentFactory_v1.d.ts.map +0 -1
  96. package/dist/contracts/AgentFactory_v1.js +0 -1336
  97. package/dist/contracts/AgentFactory_v2.d.ts +0 -1275
  98. package/dist/contracts/AgentFactory_v2.d.ts.map +0 -1
  99. package/dist/contracts/AgentFactory_v2.js +0 -1609
  100. package/dist/contracts/AgentTemplate.d.ts +0 -2629
  101. package/dist/contracts/AgentTemplate.d.ts.map +0 -1
  102. package/dist/contracts/Agent_v1.d.ts.map +0 -1
  103. package/dist/contracts/Agent_v2.d.ts +0 -2709
  104. package/dist/contracts/Agent_v2.d.ts.map +0 -1
  105. package/dist/contracts/Agent_v2.js +0 -3458
  106. package/dist/contracts/ChainlinkFeeds.d.ts +0 -706
  107. package/dist/contracts/ChainlinkFeeds.d.ts.map +0 -1
  108. package/dist/contracts/ChainlinkFeeds.js +0 -900
  109. package/dist/contracts/LegoAaveV3.d.ts +0 -1033
  110. package/dist/contracts/LegoAaveV3.d.ts.map +0 -1
  111. package/dist/contracts/LegoAaveV3.js +0 -1330
  112. package/dist/contracts/LegoAeroClassic.d.ts +0 -1204
  113. package/dist/contracts/LegoAeroClassic.d.ts.map +0 -1
  114. package/dist/contracts/LegoAeroClassic.js +0 -1546
  115. package/dist/contracts/LegoAeroSlipstream.d.ts +0 -1300
  116. package/dist/contracts/LegoAeroSlipstream.d.ts.map +0 -1
  117. package/dist/contracts/LegoCommon.d.ts +0 -164
  118. package/dist/contracts/LegoCommon.d.ts.map +0 -1
  119. package/dist/contracts/LegoCommon.js +0 -202
  120. package/dist/contracts/LegoCompoundV3.d.ts +0 -1060
  121. package/dist/contracts/LegoCompoundV3.d.ts.map +0 -1
  122. package/dist/contracts/LegoCompoundV3.js +0 -1365
  123. package/dist/contracts/LegoCredit.d.ts +0 -140
  124. package/dist/contracts/LegoCredit.d.ts.map +0 -1
  125. package/dist/contracts/LegoCredit.js +0 -179
  126. package/dist/contracts/LegoCurve.d.ts +0 -1189
  127. package/dist/contracts/LegoCurve.d.ts.map +0 -1
  128. package/dist/contracts/LegoCurve.js +0 -1519
  129. package/dist/contracts/LegoDex.d.ts +0 -587
  130. package/dist/contracts/LegoDex.d.ts.map +0 -1
  131. package/dist/contracts/LegoDex.js +0 -774
  132. package/dist/contracts/LegoEuler.d.ts +0 -1074
  133. package/dist/contracts/LegoEuler.d.ts.map +0 -1
  134. package/dist/contracts/LegoEuler.js +0 -1383
  135. package/dist/contracts/LegoFluid.d.ts +0 -1025
  136. package/dist/contracts/LegoFluid.d.ts.map +0 -1
  137. package/dist/contracts/LegoFluid.js +0 -1320
  138. package/dist/contracts/LegoHelper.d.ts +0 -1563
  139. package/dist/contracts/LegoHelper.d.ts.map +0 -1
  140. package/dist/contracts/LegoHelper.js +0 -1947
  141. package/dist/contracts/LegoMoonwell.d.ts +0 -1042
  142. package/dist/contracts/LegoMoonwell.d.ts.map +0 -1
  143. package/dist/contracts/LegoMoonwell.js +0 -1342
  144. package/dist/contracts/LegoMorpho.d.ts +0 -1074
  145. package/dist/contracts/LegoMorpho.d.ts.map +0 -1
  146. package/dist/contracts/LegoMorpho.js +0 -1383
  147. package/dist/contracts/LegoRegistry.d.ts +0 -1079
  148. package/dist/contracts/LegoRegistry.d.ts.map +0 -1
  149. package/dist/contracts/LegoRegistry.js +0 -1368
  150. package/dist/contracts/LegoSky.d.ts +0 -923
  151. package/dist/contracts/LegoSky.d.ts.map +0 -1
  152. package/dist/contracts/LegoSky.js +0 -1180
  153. package/dist/contracts/LegoUniswapV0_2.d.ts +0 -1204
  154. package/dist/contracts/LegoUniswapV0_2.d.ts.map +0 -1
  155. package/dist/contracts/LegoUniswapV0_2.js +0 -1546
  156. package/dist/contracts/LegoUniswapV2.d.ts +0 -1204
  157. package/dist/contracts/LegoUniswapV2.d.ts.map +0 -1
  158. package/dist/contracts/LegoUniswapV2.js +0 -1546
  159. package/dist/contracts/LegoUniswapV3.d.ts +0 -1338
  160. package/dist/contracts/LegoUniswapV3.d.ts.map +0 -1
  161. package/dist/contracts/LegoYield.d.ts +0 -390
  162. package/dist/contracts/LegoYield.d.ts.map +0 -1
  163. package/dist/contracts/LegoYield.js +0 -511
  164. package/dist/contracts/OracleParser.d.ts +0 -207
  165. package/dist/contracts/OracleParser.d.ts.map +0 -1
  166. package/dist/contracts/OracleParser.js +0 -264
  167. package/dist/contracts/OracleRegistry.d.ts +0 -1221
  168. package/dist/contracts/OracleRegistry.d.ts.map +0 -1
  169. package/dist/contracts/OracleRegistry.js +0 -1562
  170. package/dist/contracts/PriceSheets.d.ts +0 -1127
  171. package/dist/contracts/PriceSheets.d.ts.map +0 -1
  172. package/dist/contracts/PriceSheets.js +0 -1383
  173. package/dist/contracts/PythFeeds.d.ts +0 -640
  174. package/dist/contracts/PythFeeds.d.ts.map +0 -1
  175. package/dist/contracts/PythFeeds.js +0 -813
  176. package/dist/contracts/StorkFeeds.d.ts +0 -640
  177. package/dist/contracts/StorkFeeds.d.ts.map +0 -1
  178. package/dist/contracts/StorkFeeds.js +0 -813
  179. package/dist/contracts/UserWalletConfig_v1.d.ts +0 -1400
  180. package/dist/contracts/UserWalletConfig_v1.d.ts.map +0 -1
  181. package/dist/contracts/UserWalletConfig_v1.js +0 -1676
  182. package/dist/contracts/UserWalletConfig_v2.d.ts +0 -1468
  183. package/dist/contracts/UserWalletConfig_v2.d.ts.map +0 -1
  184. package/dist/contracts/UserWalletConfig_v2.js +0 -1764
  185. package/dist/contracts/UserWallet_v1.d.ts +0 -1980
  186. package/dist/contracts/UserWallet_v1.d.ts.map +0 -1
  187. package/dist/contracts/UserWallet_v1.js +0 -2581
  188. package/dist/contracts/UserWallet_v2.d.ts +0 -1958
  189. package/dist/contracts/UserWallet_v2.d.ts.map +0 -1
  190. package/dist/contracts/UserWallet_v2.js +0 -2553
  191. package/dist/contracts/WalletConfig.d.ts +0 -1398
  192. package/dist/contracts/WalletConfig.d.ts.map +0 -1
  193. package/dist/contracts/WalletConfig.js +0 -1674
  194. package/dist/contracts/WalletFunds.d.ts +0 -1978
  195. package/dist/contracts/WalletFunds.d.ts.map +0 -1
  196. package/dist/contracts/WalletFunds.js +0 -2579
  197. package/dist/contracts/v0_1_AddyRegistry.d.ts +0 -473
  198. package/dist/contracts/v0_1_AddyRegistry.d.ts.map +0 -1
  199. package/dist/contracts/v0_1_AddyRegistry.js +0 -594
  200. package/dist/contracts/v0_1_Agent.d.ts.map +0 -1
  201. package/dist/contracts/v0_1_Agent.js +0 -3372
  202. package/dist/contracts/v0_1_AgentFactory.d.ts +0 -1054
  203. package/dist/contracts/v0_1_AgentFactory.d.ts.map +0 -1
  204. package/dist/contracts/v0_1_AgentFactory.js +0 -1336
  205. package/dist/contracts/v0_1_UserWallet.d.ts +0 -1980
  206. package/dist/contracts/v0_1_UserWallet.d.ts.map +0 -1
  207. package/dist/contracts/v0_1_UserWallet.js +0 -2581
  208. package/dist/contracts/v0_1_UserWalletConfig.d.ts +0 -1400
  209. package/dist/contracts/v0_1_UserWalletConfig.d.ts.map +0 -1
  210. package/dist/contracts/v0_1_UserWalletConfig.js +0 -1676
  211. package/dist/contracts/v0_2_AddyRegistry.d.ts +0 -1050
  212. package/dist/contracts/v0_2_AddyRegistry.d.ts.map +0 -1
  213. package/dist/contracts/v0_2_AddyRegistry.js +0 -1313
  214. package/dist/contracts/v0_2_Agent.d.ts +0 -2709
  215. package/dist/contracts/v0_2_Agent.d.ts.map +0 -1
  216. package/dist/contracts/v0_2_Agent.js +0 -3458
  217. package/dist/contracts/v0_2_AgentFactory.d.ts +0 -1275
  218. package/dist/contracts/v0_2_AgentFactory.d.ts.map +0 -1
  219. package/dist/contracts/v0_2_AgentFactory.js +0 -1609
  220. package/dist/contracts/v0_2_UserWallet.d.ts +0 -1958
  221. package/dist/contracts/v0_2_UserWallet.d.ts.map +0 -1
  222. package/dist/contracts/v0_2_UserWallet.js +0 -2553
  223. package/dist/contracts/v0_2_UserWalletConfig.d.ts +0 -1468
  224. package/dist/contracts/v0_2_UserWalletConfig.d.ts.map +0 -1
  225. package/dist/contracts/v0_2_UserWalletConfig.js +0 -1764
  226. package/dist/contracts/v0_3_AddyRegistry.d.ts +0 -1109
  227. package/dist/contracts/v0_3_AddyRegistry.d.ts.map +0 -1
  228. package/dist/contracts/v0_3_AddyRegistry.js +0 -1392
  229. package/dist/contracts/v0_3_Agent.d.ts +0 -2709
  230. package/dist/contracts/v0_3_Agent.d.ts.map +0 -1
  231. package/dist/contracts/v0_3_Agent.js +0 -3458
  232. package/dist/contracts/v0_3_AgentFactory.d.ts +0 -1665
  233. package/dist/contracts/v0_3_AgentFactory.d.ts.map +0 -1
  234. package/dist/contracts/v0_3_AgentFactory.js +0 -2078
  235. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts +0 -706
  236. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts.map +0 -1
  237. package/dist/contracts/v0_3_ChainlinkFeeds.js +0 -900
  238. package/dist/contracts/v0_3_LegoAaveV3.d.ts +0 -1033
  239. package/dist/contracts/v0_3_LegoAaveV3.d.ts.map +0 -1
  240. package/dist/contracts/v0_3_LegoAaveV3.js +0 -1330
  241. package/dist/contracts/v0_3_LegoAeroClassic.d.ts +0 -1204
  242. package/dist/contracts/v0_3_LegoAeroClassic.d.ts.map +0 -1
  243. package/dist/contracts/v0_3_LegoAeroClassic.js +0 -1546
  244. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts +0 -1300
  245. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts.map +0 -1
  246. package/dist/contracts/v0_3_LegoAeroSlipstream.js +0 -1671
  247. package/dist/contracts/v0_3_LegoCommon.d.ts +0 -164
  248. package/dist/contracts/v0_3_LegoCommon.d.ts.map +0 -1
  249. package/dist/contracts/v0_3_LegoCommon.js +0 -202
  250. package/dist/contracts/v0_3_LegoCompoundV3.d.ts +0 -1060
  251. package/dist/contracts/v0_3_LegoCompoundV3.d.ts.map +0 -1
  252. package/dist/contracts/v0_3_LegoCompoundV3.js +0 -1365
  253. package/dist/contracts/v0_3_LegoCredit.d.ts +0 -140
  254. package/dist/contracts/v0_3_LegoCredit.d.ts.map +0 -1
  255. package/dist/contracts/v0_3_LegoCredit.js +0 -179
  256. package/dist/contracts/v0_3_LegoCurve.d.ts +0 -1189
  257. package/dist/contracts/v0_3_LegoCurve.d.ts.map +0 -1
  258. package/dist/contracts/v0_3_LegoCurve.js +0 -1519
  259. package/dist/contracts/v0_3_LegoDex.d.ts +0 -587
  260. package/dist/contracts/v0_3_LegoDex.d.ts.map +0 -1
  261. package/dist/contracts/v0_3_LegoDex.js +0 -774
  262. package/dist/contracts/v0_3_LegoEuler.d.ts +0 -1074
  263. package/dist/contracts/v0_3_LegoEuler.d.ts.map +0 -1
  264. package/dist/contracts/v0_3_LegoEuler.js +0 -1383
  265. package/dist/contracts/v0_3_LegoFluid.d.ts +0 -1025
  266. package/dist/contracts/v0_3_LegoFluid.d.ts.map +0 -1
  267. package/dist/contracts/v0_3_LegoFluid.js +0 -1320
  268. package/dist/contracts/v0_3_LegoHelper.d.ts +0 -1563
  269. package/dist/contracts/v0_3_LegoHelper.d.ts.map +0 -1
  270. package/dist/contracts/v0_3_LegoHelper.js +0 -1947
  271. package/dist/contracts/v0_3_LegoMoonwell.d.ts +0 -1042
  272. package/dist/contracts/v0_3_LegoMoonwell.d.ts.map +0 -1
  273. package/dist/contracts/v0_3_LegoMoonwell.js +0 -1342
  274. package/dist/contracts/v0_3_LegoMorpho.d.ts +0 -1074
  275. package/dist/contracts/v0_3_LegoMorpho.d.ts.map +0 -1
  276. package/dist/contracts/v0_3_LegoMorpho.js +0 -1383
  277. package/dist/contracts/v0_3_LegoRegistry.d.ts +0 -1079
  278. package/dist/contracts/v0_3_LegoRegistry.d.ts.map +0 -1
  279. package/dist/contracts/v0_3_LegoRegistry.js +0 -1368
  280. package/dist/contracts/v0_3_LegoSky.d.ts +0 -923
  281. package/dist/contracts/v0_3_LegoSky.d.ts.map +0 -1
  282. package/dist/contracts/v0_3_LegoSky.js +0 -1180
  283. package/dist/contracts/v0_3_LegoUniswapV3.d.ts +0 -1338
  284. package/dist/contracts/v0_3_LegoUniswapV3.d.ts.map +0 -1
  285. package/dist/contracts/v0_3_LegoYield.d.ts +0 -390
  286. package/dist/contracts/v0_3_LegoYield.d.ts.map +0 -1
  287. package/dist/contracts/v0_3_LegoYield.js +0 -511
  288. package/dist/contracts/v0_3_OracleParser.d.ts +0 -207
  289. package/dist/contracts/v0_3_OracleParser.d.ts.map +0 -1
  290. package/dist/contracts/v0_3_OracleParser.js +0 -264
  291. package/dist/contracts/v0_3_OracleRegistry.d.ts +0 -1221
  292. package/dist/contracts/v0_3_OracleRegistry.d.ts.map +0 -1
  293. package/dist/contracts/v0_3_PriceSheets.d.ts +0 -1127
  294. package/dist/contracts/v0_3_PriceSheets.d.ts.map +0 -1
  295. package/dist/contracts/v0_3_PriceSheets.js +0 -1383
  296. package/dist/contracts/v0_3_PythFeeds.d.ts +0 -640
  297. package/dist/contracts/v0_3_PythFeeds.d.ts.map +0 -1
  298. package/dist/contracts/v0_3_PythFeeds.js +0 -813
  299. package/dist/contracts/v0_3_StorkFeeds.d.ts +0 -640
  300. package/dist/contracts/v0_3_StorkFeeds.d.ts.map +0 -1
  301. package/dist/contracts/v0_3_StorkFeeds.js +0 -813
  302. package/dist/contracts/v0_3_UserWallet.d.ts +0 -1975
  303. package/dist/contracts/v0_3_UserWallet.d.ts.map +0 -1
  304. package/dist/contracts/v0_3_UserWallet.js +0 -2577
  305. package/dist/contracts/v0_3_UserWalletConfig.d.ts +0 -1852
  306. package/dist/contracts/v0_3_UserWalletConfig.d.ts.map +0 -1
  307. package/dist/contracts/v0_3_UserWalletConfig.js +0 -2263
  308. package/dist/getLegacyContracts.d.ts +0 -69
  309. package/dist/getLegacyContracts.d.ts.map +0 -1
  310. package/dist/getLegacyContracts.js +0 -55
@@ -1,640 +0,0 @@
1
- import { PublicClient, WalletClient } from 'viem';
2
- type ExtractArgs<T> = T extends (...args: infer P) => any ? P : never;
3
- type Address = `0x${string}`;
4
- export declare const abi: readonly [{
5
- readonly anonymous: false;
6
- readonly inputs: readonly [{
7
- readonly indexed: true;
8
- readonly name: "asset";
9
- readonly type: "address";
10
- }, {
11
- readonly indexed: true;
12
- readonly name: "feedId";
13
- readonly type: "bytes32";
14
- }];
15
- readonly name: "PythFeedAdded";
16
- readonly type: "event";
17
- }, {
18
- readonly anonymous: false;
19
- readonly inputs: readonly [{
20
- readonly indexed: true;
21
- readonly name: "asset";
22
- readonly type: "address";
23
- }];
24
- readonly name: "PythFeedDisabled";
25
- readonly type: "event";
26
- }, {
27
- readonly anonymous: false;
28
- readonly inputs: readonly [{
29
- readonly indexed: false;
30
- readonly name: "payload";
31
- readonly type: "bytes";
32
- }, {
33
- readonly indexed: false;
34
- readonly name: "feeAmount";
35
- readonly type: "uint256";
36
- }, {
37
- readonly indexed: true;
38
- readonly name: "caller";
39
- readonly type: "address";
40
- }];
41
- readonly name: "PythPriceUpdated";
42
- readonly type: "event";
43
- }, {
44
- readonly anonymous: false;
45
- readonly inputs: readonly [{
46
- readonly indexed: true;
47
- readonly name: "recipient";
48
- readonly type: "address";
49
- }, {
50
- readonly indexed: false;
51
- readonly name: "amount";
52
- readonly type: "uint256";
53
- }];
54
- readonly name: "EthRecoveredFromPyth";
55
- readonly type: "event";
56
- }, {
57
- readonly anonymous: false;
58
- readonly inputs: readonly [{
59
- readonly indexed: true;
60
- readonly name: "prevGov";
61
- readonly type: "address";
62
- }, {
63
- readonly indexed: true;
64
- readonly name: "newGov";
65
- readonly type: "address";
66
- }, {
67
- readonly indexed: false;
68
- readonly name: "confirmBlock";
69
- readonly type: "uint256";
70
- }];
71
- readonly name: "GovChangeInitiated";
72
- readonly type: "event";
73
- }, {
74
- readonly anonymous: false;
75
- readonly inputs: readonly [{
76
- readonly indexed: true;
77
- readonly name: "prevGov";
78
- readonly type: "address";
79
- }, {
80
- readonly indexed: true;
81
- readonly name: "newGov";
82
- readonly type: "address";
83
- }, {
84
- readonly indexed: false;
85
- readonly name: "initiatedBlock";
86
- readonly type: "uint256";
87
- }, {
88
- readonly indexed: false;
89
- readonly name: "confirmBlock";
90
- readonly type: "uint256";
91
- }];
92
- readonly name: "GovChangeConfirmed";
93
- readonly type: "event";
94
- }, {
95
- readonly anonymous: false;
96
- readonly inputs: readonly [{
97
- readonly indexed: true;
98
- readonly name: "cancelledGov";
99
- readonly type: "address";
100
- }, {
101
- readonly indexed: false;
102
- readonly name: "initiatedBlock";
103
- readonly type: "uint256";
104
- }, {
105
- readonly indexed: false;
106
- readonly name: "confirmBlock";
107
- readonly type: "uint256";
108
- }];
109
- readonly name: "GovChangeCancelled";
110
- readonly type: "event";
111
- }, {
112
- readonly anonymous: false;
113
- readonly inputs: readonly [{
114
- readonly indexed: false;
115
- readonly name: "delayBlocks";
116
- readonly type: "uint256";
117
- }];
118
- readonly name: "GovChangeDelaySet";
119
- readonly type: "event";
120
- }, {
121
- readonly inputs: readonly [{
122
- readonly name: "_address";
123
- readonly type: "address";
124
- }];
125
- readonly name: "canGovern";
126
- readonly outputs: readonly [{
127
- readonly name: "";
128
- readonly type: "bool";
129
- }];
130
- readonly stateMutability: "view";
131
- readonly type: "function";
132
- }, {
133
- readonly inputs: readonly [];
134
- readonly name: "hasPendingGovChange";
135
- readonly outputs: readonly [{
136
- readonly name: "";
137
- readonly type: "bool";
138
- }];
139
- readonly stateMutability: "view";
140
- readonly type: "function";
141
- }, {
142
- readonly inputs: readonly [{
143
- readonly name: "_newGov";
144
- readonly type: "address";
145
- }];
146
- readonly name: "changeGovernance";
147
- readonly outputs: readonly [];
148
- readonly stateMutability: "nonpayable";
149
- readonly type: "function";
150
- }, {
151
- readonly inputs: readonly [];
152
- readonly name: "confirmGovernanceChange";
153
- readonly outputs: readonly [];
154
- readonly stateMutability: "nonpayable";
155
- readonly type: "function";
156
- }, {
157
- readonly inputs: readonly [];
158
- readonly name: "cancelGovernanceChange";
159
- readonly outputs: readonly [];
160
- readonly stateMutability: "nonpayable";
161
- readonly type: "function";
162
- }, {
163
- readonly inputs: readonly [{
164
- readonly name: "_numBlocks";
165
- readonly type: "uint256";
166
- }];
167
- readonly name: "setGovernanceChangeDelay";
168
- readonly outputs: readonly [];
169
- readonly stateMutability: "nonpayable";
170
- readonly type: "function";
171
- }, {
172
- readonly inputs: readonly [];
173
- readonly name: "governance";
174
- readonly outputs: readonly [{
175
- readonly name: "";
176
- readonly type: "address";
177
- }];
178
- readonly stateMutability: "view";
179
- readonly type: "function";
180
- }, {
181
- readonly inputs: readonly [];
182
- readonly name: "pendingGov";
183
- readonly outputs: readonly [{
184
- readonly components: readonly [{
185
- readonly name: "newGov";
186
- readonly type: "address";
187
- }, {
188
- readonly name: "initiatedBlock";
189
- readonly type: "uint256";
190
- }, {
191
- readonly name: "confirmBlock";
192
- readonly type: "uint256";
193
- }];
194
- readonly name: "";
195
- readonly type: "tuple";
196
- }];
197
- readonly stateMutability: "view";
198
- readonly type: "function";
199
- }, {
200
- readonly inputs: readonly [];
201
- readonly name: "govChangeDelay";
202
- readonly outputs: readonly [{
203
- readonly name: "";
204
- readonly type: "uint256";
205
- }];
206
- readonly stateMutability: "view";
207
- readonly type: "function";
208
- }, {
209
- readonly inputs: readonly [];
210
- readonly name: "MIN_GOV_CHANGE_DELAY";
211
- readonly outputs: readonly [{
212
- readonly name: "";
213
- readonly type: "uint256";
214
- }];
215
- readonly stateMutability: "view";
216
- readonly type: "function";
217
- }, {
218
- readonly inputs: readonly [];
219
- readonly name: "MAX_GOV_CHANGE_DELAY";
220
- readonly outputs: readonly [{
221
- readonly name: "";
222
- readonly type: "uint256";
223
- }];
224
- readonly stateMutability: "view";
225
- readonly type: "function";
226
- }, {
227
- readonly inputs: readonly [];
228
- readonly name: "getConfiguredAssets";
229
- readonly outputs: readonly [{
230
- readonly name: "";
231
- readonly type: "address[]";
232
- }];
233
- readonly stateMutability: "view";
234
- readonly type: "function";
235
- }, {
236
- readonly inputs: readonly [{
237
- readonly name: "arg0";
238
- readonly type: "uint256";
239
- }];
240
- readonly name: "assets";
241
- readonly outputs: readonly [{
242
- readonly name: "";
243
- readonly type: "address";
244
- }];
245
- readonly stateMutability: "view";
246
- readonly type: "function";
247
- }, {
248
- readonly inputs: readonly [{
249
- readonly name: "arg0";
250
- readonly type: "address";
251
- }];
252
- readonly name: "indexOfAsset";
253
- readonly outputs: readonly [{
254
- readonly name: "";
255
- readonly type: "uint256";
256
- }];
257
- readonly stateMutability: "view";
258
- readonly type: "function";
259
- }, {
260
- readonly inputs: readonly [];
261
- readonly name: "numAssets";
262
- readonly outputs: readonly [{
263
- readonly name: "";
264
- readonly type: "uint256";
265
- }];
266
- readonly stateMutability: "view";
267
- readonly type: "function";
268
- }, {
269
- readonly stateMutability: "payable";
270
- readonly type: "fallback";
271
- }, {
272
- readonly inputs: readonly [{
273
- readonly name: "_asset";
274
- readonly type: "address";
275
- }];
276
- readonly name: "getPrice";
277
- readonly outputs: readonly [{
278
- readonly name: "";
279
- readonly type: "uint256";
280
- }];
281
- readonly stateMutability: "view";
282
- readonly type: "function";
283
- }, {
284
- readonly inputs: readonly [{
285
- readonly name: "_asset";
286
- readonly type: "address";
287
- }, {
288
- readonly name: "_staleTime";
289
- readonly type: "uint256";
290
- }];
291
- readonly name: "getPrice";
292
- readonly outputs: readonly [{
293
- readonly name: "";
294
- readonly type: "uint256";
295
- }];
296
- readonly stateMutability: "view";
297
- readonly type: "function";
298
- }, {
299
- readonly inputs: readonly [{
300
- readonly name: "_asset";
301
- readonly type: "address";
302
- }, {
303
- readonly name: "_staleTime";
304
- readonly type: "uint256";
305
- }, {
306
- readonly name: "_oracleRegistry";
307
- readonly type: "address";
308
- }];
309
- readonly name: "getPrice";
310
- readonly outputs: readonly [{
311
- readonly name: "";
312
- readonly type: "uint256";
313
- }];
314
- readonly stateMutability: "view";
315
- readonly type: "function";
316
- }, {
317
- readonly inputs: readonly [{
318
- readonly name: "_asset";
319
- readonly type: "address";
320
- }];
321
- readonly name: "getPriceAndHasFeed";
322
- readonly outputs: readonly [{
323
- readonly name: "";
324
- readonly type: "uint256";
325
- }, {
326
- readonly name: "";
327
- readonly type: "bool";
328
- }];
329
- readonly stateMutability: "view";
330
- readonly type: "function";
331
- }, {
332
- readonly inputs: readonly [{
333
- readonly name: "_asset";
334
- readonly type: "address";
335
- }, {
336
- readonly name: "_staleTime";
337
- readonly type: "uint256";
338
- }];
339
- readonly name: "getPriceAndHasFeed";
340
- readonly outputs: readonly [{
341
- readonly name: "";
342
- readonly type: "uint256";
343
- }, {
344
- readonly name: "";
345
- readonly type: "bool";
346
- }];
347
- readonly stateMutability: "view";
348
- readonly type: "function";
349
- }, {
350
- readonly inputs: readonly [{
351
- readonly name: "_asset";
352
- readonly type: "address";
353
- }, {
354
- readonly name: "_staleTime";
355
- readonly type: "uint256";
356
- }, {
357
- readonly name: "_oracleRegistry";
358
- readonly type: "address";
359
- }];
360
- readonly name: "getPriceAndHasFeed";
361
- readonly outputs: readonly [{
362
- readonly name: "";
363
- readonly type: "uint256";
364
- }, {
365
- readonly name: "";
366
- readonly type: "bool";
367
- }];
368
- readonly stateMutability: "view";
369
- readonly type: "function";
370
- }, {
371
- readonly inputs: readonly [{
372
- readonly name: "_asset";
373
- readonly type: "address";
374
- }];
375
- readonly name: "hasPriceFeed";
376
- readonly outputs: readonly [{
377
- readonly name: "";
378
- readonly type: "bool";
379
- }];
380
- readonly stateMutability: "view";
381
- readonly type: "function";
382
- }, {
383
- readonly inputs: readonly [{
384
- readonly name: "_payloads";
385
- readonly type: "bytes[]";
386
- }];
387
- readonly name: "updatePythPrices";
388
- readonly outputs: readonly [];
389
- readonly stateMutability: "nonpayable";
390
- readonly type: "function";
391
- }, {
392
- readonly inputs: readonly [{
393
- readonly name: "_asset";
394
- readonly type: "address";
395
- }, {
396
- readonly name: "_feedId";
397
- readonly type: "bytes32";
398
- }];
399
- readonly name: "isValidPythFeed";
400
- readonly outputs: readonly [{
401
- readonly name: "";
402
- readonly type: "bool";
403
- }];
404
- readonly stateMutability: "view";
405
- readonly type: "function";
406
- }, {
407
- readonly inputs: readonly [{
408
- readonly name: "_asset";
409
- readonly type: "address";
410
- }, {
411
- readonly name: "_feedId";
412
- readonly type: "bytes32";
413
- }];
414
- readonly name: "setPythFeed";
415
- readonly outputs: readonly [{
416
- readonly name: "";
417
- readonly type: "bool";
418
- }];
419
- readonly stateMutability: "nonpayable";
420
- readonly type: "function";
421
- }, {
422
- readonly inputs: readonly [{
423
- readonly name: "_asset";
424
- readonly type: "address";
425
- }];
426
- readonly name: "disablePythPriceFeed";
427
- readonly outputs: readonly [{
428
- readonly name: "";
429
- readonly type: "bool";
430
- }];
431
- readonly stateMutability: "nonpayable";
432
- readonly type: "function";
433
- }, {
434
- readonly inputs: readonly [{
435
- readonly name: "_recipient";
436
- readonly type: "address";
437
- }];
438
- readonly name: "isValidEthRecovery";
439
- readonly outputs: readonly [{
440
- readonly name: "";
441
- readonly type: "bool";
442
- }];
443
- readonly stateMutability: "view";
444
- readonly type: "function";
445
- }, {
446
- readonly inputs: readonly [{
447
- readonly name: "_recipient";
448
- readonly type: "address";
449
- }];
450
- readonly name: "recoverEthBalance";
451
- readonly outputs: readonly [{
452
- readonly name: "";
453
- readonly type: "bool";
454
- }];
455
- readonly stateMutability: "nonpayable";
456
- readonly type: "function";
457
- }, {
458
- readonly inputs: readonly [{
459
- readonly name: "_oracleId";
460
- readonly type: "uint256";
461
- }];
462
- readonly name: "setOraclePartnerId";
463
- readonly outputs: readonly [{
464
- readonly name: "";
465
- readonly type: "bool";
466
- }];
467
- readonly stateMutability: "nonpayable";
468
- readonly type: "function";
469
- }, {
470
- readonly inputs: readonly [];
471
- readonly name: "PYTH";
472
- readonly outputs: readonly [{
473
- readonly name: "";
474
- readonly type: "address";
475
- }];
476
- readonly stateMutability: "view";
477
- readonly type: "function";
478
- }, {
479
- readonly inputs: readonly [{
480
- readonly name: "arg0";
481
- readonly type: "address";
482
- }];
483
- readonly name: "feedConfig";
484
- readonly outputs: readonly [{
485
- readonly name: "";
486
- readonly type: "bytes32";
487
- }];
488
- readonly stateMutability: "view";
489
- readonly type: "function";
490
- }, {
491
- readonly inputs: readonly [];
492
- readonly name: "oraclePartnerId";
493
- readonly outputs: readonly [{
494
- readonly name: "";
495
- readonly type: "uint256";
496
- }];
497
- readonly stateMutability: "view";
498
- readonly type: "function";
499
- }, {
500
- readonly inputs: readonly [];
501
- readonly name: "ADDY_REGISTRY";
502
- readonly outputs: readonly [{
503
- readonly name: "";
504
- readonly type: "address";
505
- }];
506
- readonly stateMutability: "view";
507
- readonly type: "function";
508
- }, {
509
- readonly inputs: readonly [{
510
- readonly name: "_pyth";
511
- readonly type: "address";
512
- }, {
513
- readonly name: "_addyRegistry";
514
- readonly type: "address";
515
- }];
516
- readonly outputs: readonly [];
517
- readonly stateMutability: "nonpayable";
518
- readonly type: "constructor";
519
- }];
520
- export declare const deployAddress: Address | undefined;
521
- export type Contract = {
522
- calls: {
523
- canGovern: (address: `0x${string}`) => Promise<boolean>;
524
- hasPendingGovChange: () => Promise<boolean>;
525
- governance: () => Promise<`0x${string}`>;
526
- pendingGov: () => Promise<{
527
- newGov: `0x${string}`;
528
- initiatedBlock: bigint;
529
- confirmBlock: bigint;
530
- }>;
531
- govChangeDelay: () => Promise<bigint>;
532
- MIN_GOV_CHANGE_DELAY: () => Promise<bigint>;
533
- MAX_GOV_CHANGE_DELAY: () => Promise<bigint>;
534
- getConfiguredAssets: () => Promise<`0x${string}`[]>;
535
- assets: (arg0: bigint) => Promise<`0x${string}`>;
536
- indexOfAsset: (arg0: `0x${string}`) => Promise<bigint>;
537
- numAssets: () => Promise<bigint>;
538
- getPrice: (asset: `0x${string}`, staleTime?: bigint, oracleRegistry?: `0x${string}`) => Promise<bigint>;
539
- getPriceAndHasFeed: (asset: `0x${string}`, staleTime?: bigint, oracleRegistry?: `0x${string}`) => Promise<[bigint, boolean]>;
540
- hasPriceFeed: (asset: `0x${string}`) => Promise<boolean>;
541
- isValidPythFeed: (asset: `0x${string}`, feedId: `0x${string}`) => Promise<boolean>;
542
- isValidEthRecovery: (recipient: `0x${string}`) => Promise<boolean>;
543
- PYTH: () => Promise<`0x${string}`>;
544
- feedConfig: (arg0: `0x${string}`) => Promise<`0x${string}`>;
545
- oraclePartnerId: () => Promise<bigint>;
546
- ADDY_REGISTRY: () => Promise<`0x${string}`>;
547
- };
548
- mutations: {
549
- changeGovernance: (newGov: `0x${string}`) => Promise<void>;
550
- confirmGovernanceChange: () => Promise<void>;
551
- cancelGovernanceChange: () => Promise<void>;
552
- setGovernanceChangeDelay: (numBlocks: bigint) => Promise<void>;
553
- updatePythPrices: (payloads: `0x${string}`[]) => Promise<void>;
554
- setPythFeed: (asset: `0x${string}`, feedId: `0x${string}`) => Promise<boolean>;
555
- disablePythPriceFeed: (asset: `0x${string}`) => Promise<boolean>;
556
- recoverEthBalance: (recipient: `0x${string}`) => Promise<boolean>;
557
- setOraclePartnerId: (oracleId: bigint) => Promise<boolean>;
558
- };
559
- events: {
560
- PythFeedAdded: (asset: `0x${string}`, feedId: `0x${string}`) => Promise<void>;
561
- PythFeedDisabled: (asset: `0x${string}`) => Promise<void>;
562
- PythPriceUpdated: (payload: `0x${string}`, feeAmount: bigint, caller: `0x${string}`) => Promise<void>;
563
- EthRecoveredFromPyth: (recipient: `0x${string}`, amount: bigint) => Promise<void>;
564
- GovChangeInitiated: (prevGov: `0x${string}`, newGov: `0x${string}`, confirmBlock: bigint) => Promise<void>;
565
- GovChangeConfirmed: (prevGov: `0x${string}`, newGov: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
566
- GovChangeCancelled: (cancelledGov: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
567
- GovChangeDelaySet: (delayBlocks: bigint) => Promise<void>;
568
- };
569
- };
570
- export type Calls = keyof Contract['calls'];
571
- export type Request<M extends Calls> = {
572
- contractName: 'v0_3_PythFeeds';
573
- method: M;
574
- args: ExtractArgs<Contract['calls'][M]>;
575
- address: Address | undefined;
576
- deployAddress: Address | undefined;
577
- defaultValue: Awaited<ReturnType<Contract['calls'][M]>> | undefined;
578
- getAbi: () => typeof abi;
579
- with: (options: {
580
- contractAddress?: Address;
581
- defaultValue?: Awaited<ReturnType<Contract['calls'][M]>>;
582
- }) => Request<M>;
583
- defaultTo: (defaultValue: Awaited<ReturnType<Contract['calls'][M]>>) => Request<M>;
584
- at: (address: Address) => Request<M>;
585
- };
586
- export type CallReturn<M extends Calls> = NonNullable<Request<M>['defaultValue']>;
587
- declare function getRequest<M extends Calls>(method: M, args: ExtractArgs<Contract['calls'][M]>, contractAddressOrOptions?: Address | {
588
- contractAddress?: Address;
589
- defaultValue?: Awaited<ReturnType<Contract['calls'][M]>>;
590
- }): Request<M>;
591
- type CallType = {
592
- [K in Calls]: (...args: ExtractArgs<Contract['calls'][K]>) => ReturnType<typeof getRequest<K>>;
593
- };
594
- export declare const call: CallType;
595
- export type Mutations = keyof Contract['mutations'];
596
- export declare const mutation: {
597
- [K in Mutations]: {
598
- contractName: 'v0_3_PythFeeds';
599
- deployAddress: Address | undefined;
600
- getAbi: () => typeof abi;
601
- functionName: K;
602
- argsType: ExtractArgs<Contract['mutations'][K]> | undefined;
603
- };
604
- };
605
- export type SDK = {
606
- deployAddress: Address | undefined;
607
- abi: typeof abi;
608
- canGovern: (...args: ExtractArgs<Contract['calls']['canGovern']>) => Promise<CallReturn<'canGovern'>>;
609
- hasPendingGovChange: (...args: ExtractArgs<Contract['calls']['hasPendingGovChange']>) => Promise<CallReturn<'hasPendingGovChange'>>;
610
- governance: (...args: ExtractArgs<Contract['calls']['governance']>) => Promise<CallReturn<'governance'>>;
611
- pendingGov: (...args: ExtractArgs<Contract['calls']['pendingGov']>) => Promise<CallReturn<'pendingGov'>>;
612
- govChangeDelay: (...args: ExtractArgs<Contract['calls']['govChangeDelay']>) => Promise<CallReturn<'govChangeDelay'>>;
613
- MIN_GOV_CHANGE_DELAY: (...args: ExtractArgs<Contract['calls']['MIN_GOV_CHANGE_DELAY']>) => Promise<CallReturn<'MIN_GOV_CHANGE_DELAY'>>;
614
- MAX_GOV_CHANGE_DELAY: (...args: ExtractArgs<Contract['calls']['MAX_GOV_CHANGE_DELAY']>) => Promise<CallReturn<'MAX_GOV_CHANGE_DELAY'>>;
615
- getConfiguredAssets: (...args: ExtractArgs<Contract['calls']['getConfiguredAssets']>) => Promise<CallReturn<'getConfiguredAssets'>>;
616
- assets: (...args: ExtractArgs<Contract['calls']['assets']>) => Promise<CallReturn<'assets'>>;
617
- indexOfAsset: (...args: ExtractArgs<Contract['calls']['indexOfAsset']>) => Promise<CallReturn<'indexOfAsset'>>;
618
- numAssets: (...args: ExtractArgs<Contract['calls']['numAssets']>) => Promise<CallReturn<'numAssets'>>;
619
- getPrice: (...args: ExtractArgs<Contract['calls']['getPrice']>) => Promise<CallReturn<'getPrice'>>;
620
- getPriceAndHasFeed: (...args: ExtractArgs<Contract['calls']['getPriceAndHasFeed']>) => Promise<CallReturn<'getPriceAndHasFeed'>>;
621
- hasPriceFeed: (...args: ExtractArgs<Contract['calls']['hasPriceFeed']>) => Promise<CallReturn<'hasPriceFeed'>>;
622
- isValidPythFeed: (...args: ExtractArgs<Contract['calls']['isValidPythFeed']>) => Promise<CallReturn<'isValidPythFeed'>>;
623
- isValidEthRecovery: (...args: ExtractArgs<Contract['calls']['isValidEthRecovery']>) => Promise<CallReturn<'isValidEthRecovery'>>;
624
- PYTH: (...args: ExtractArgs<Contract['calls']['PYTH']>) => Promise<CallReturn<'PYTH'>>;
625
- feedConfig: (...args: ExtractArgs<Contract['calls']['feedConfig']>) => Promise<CallReturn<'feedConfig'>>;
626
- oraclePartnerId: (...args: ExtractArgs<Contract['calls']['oraclePartnerId']>) => Promise<CallReturn<'oraclePartnerId'>>;
627
- ADDY_REGISTRY: (...args: ExtractArgs<Contract['calls']['ADDY_REGISTRY']>) => Promise<CallReturn<'ADDY_REGISTRY'>>;
628
- changeGovernance: (...args: ExtractArgs<Contract['mutations']['changeGovernance']>) => Promise<Address>;
629
- confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
630
- cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
631
- setGovernanceChangeDelay: (...args: ExtractArgs<Contract['mutations']['setGovernanceChangeDelay']>) => Promise<Address>;
632
- updatePythPrices: (...args: ExtractArgs<Contract['mutations']['updatePythPrices']>) => Promise<Address>;
633
- setPythFeed: (...args: ExtractArgs<Contract['mutations']['setPythFeed']>) => Promise<Address>;
634
- disablePythPriceFeed: (...args: ExtractArgs<Contract['mutations']['disablePythPriceFeed']>) => Promise<Address>;
635
- recoverEthBalance: (...args: ExtractArgs<Contract['mutations']['recoverEthBalance']>) => Promise<Address>;
636
- setOraclePartnerId: (...args: ExtractArgs<Contract['mutations']['setOraclePartnerId']>) => Promise<Address>;
637
- };
638
- export declare function toSdk(publicClient?: PublicClient, walletClient?: WalletClient): SDK;
639
- export {};
640
- //# sourceMappingURL=v0_3_PythFeeds.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v0_3_PythFeeds.d.ts","sourceRoot":"","sources":["../../src/contracts/v0_3_PythFeeds.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAEjD,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,KAAK,CAAA;AACrE,KAAK,OAAO,GAAG,KAAK,MAAM,EAAE,CAAA;AAE5B,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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