@gearbox-protocol/sdk 0.0.60 → 0.0.63

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 (333) hide show
  1. package/lib/core/contracts.js +4 -4
  2. package/lib/index.d.ts +1 -0
  3. package/lib/index.js +3 -1
  4. package/lib/pathfinder/path.js +9 -8
  5. package/lib/pathfinder/priority.d.ts +1 -1
  6. package/lib/pathfinder/priority.js +11 -11
  7. package/lib/tokens/convex.d.ts +2 -1
  8. package/lib/tokens/convex.js +11 -11
  9. package/lib/tokens/curveLP.d.ts +2 -1
  10. package/lib/tokens/curveLP.js +7 -7
  11. package/lib/tokens/gear.d.ts +2 -1
  12. package/lib/tokens/gear.js +6 -6
  13. package/lib/tokens/normal.d.ts +2 -1
  14. package/lib/tokens/normal.js +29 -29
  15. package/lib/tokens/token.d.ts +0 -12
  16. package/lib/tokens/token.js +7 -20
  17. package/lib/tokens/tokenType.d.ts +12 -0
  18. package/lib/tokens/tokenType.js +16 -0
  19. package/lib/tokens/yearn.d.ts +2 -1
  20. package/lib/tokens/yearn.js +7 -7
  21. package/package.json +1 -1
  22. package/src/core/contracts.ts +5 -5
  23. package/src/index.ts +1 -0
  24. package/src/pathfinder/path.ts +3 -2
  25. package/src/pathfinder/priority.ts +1 -1
  26. package/src/tokens/convex.ts +2 -1
  27. package/src/tokens/curveLP.ts +2 -1
  28. package/src/tokens/gear.ts +2 -1
  29. package/src/tokens/normal.ts +2 -1
  30. package/src/tokens/token.ts +6 -19
  31. package/src/tokens/tokenType.ts +12 -0
  32. package/src/tokens/yearn.ts +2 -1
  33. package/lib/core/pathfinder.d.ts +0 -54
  34. package/lib/core/pathfinder.js +0 -612
  35. package/lib/core/token.d.ts +0 -104
  36. package/lib/core/token.js +0 -1359
  37. package/lib/core/tokenData.d.ts +0 -24
  38. package/lib/core/tokenData.js +0 -57
  39. package/lib/pathfinder/connector.d.ts +0 -7
  40. package/lib/pathfinder/connector.js +0 -78
  41. package/lib/pathfinder/connectorPathAsset.d.ts +0 -7
  42. package/lib/pathfinder/connectorPathAsset.js +0 -144
  43. package/lib/pathfinder/convexLPTokenPathAsset.d.ts +0 -5
  44. package/lib/pathfinder/convexLPTokenPathAsset.js +0 -77
  45. package/lib/pathfinder/curveLPPathAsset.d.ts +0 -5
  46. package/lib/pathfinder/curveLPPathAsset.js +0 -72
  47. package/lib/pathfinder/curveMetaLP.d.ts +0 -5
  48. package/lib/pathfinder/curveMetaLP.js +0 -72
  49. package/lib/pathfinder/metaCurveLPPathAsset.d.ts +0 -5
  50. package/lib/pathfinder/metaCurveLPPathAsset.js +0 -72
  51. package/lib/pathfinder/normalToken.d.ts +0 -7
  52. package/lib/pathfinder/normalToken.js +0 -78
  53. package/lib/pathfinder/normalTokenPathAsset.d.ts +0 -5
  54. package/lib/pathfinder/normalTokenPathAsset.js +0 -136
  55. package/lib/pathfinder/notes.d.ts +0 -4
  56. package/lib/pathfinder/notes.js +0 -58
  57. package/lib/pathfinder/pathfinder.d.ts +0 -24
  58. package/lib/pathfinder/pathfinder.js +0 -132
  59. package/lib/pathfinder/yearnVaultOfCurveLPPathAsset.d.ts +0 -5
  60. package/lib/pathfinder/yearnVaultOfCurveLPPathAsset.js +0 -87
  61. package/lib/pathfinder/yearnVaultOfMetaCurveLPPathAsset.d.ts +0 -5
  62. package/lib/pathfinder/yearnVaultOfMetaCurveLPPathAsset.js +0 -87
  63. package/lib/pathfinder/yearnVaultPathAsset.d.ts +0 -5
  64. package/lib/pathfinder/yearnVaultPathAsset.js +0 -87
  65. package/lib/types/ACL.d.ts +0 -491
  66. package/lib/types/ACLTrait.d.ts +0 -148
  67. package/lib/types/ACLTraitTest.d.ts +0 -209
  68. package/lib/types/AccountFactory.d.ts +0 -716
  69. package/lib/types/AccountMining.d.ts +0 -222
  70. package/lib/types/AddressProvider.d.ts +0 -912
  71. package/lib/types/AggregatorV3Interface.d.ts +0 -234
  72. package/lib/types/ChainlinkPriceFeedMock.d.ts +0 -215
  73. package/lib/types/ContractsRegister.d.ts +0 -398
  74. package/lib/types/CreditAccount.d.ts +0 -443
  75. package/lib/types/CreditFilter.d.ts +0 -1609
  76. package/lib/types/CreditFilterMock.d.ts +0 -1687
  77. package/lib/types/CreditManager.d.ts +0 -1285
  78. package/lib/types/CreditManagerMockForFilter.d.ts +0 -605
  79. package/lib/types/CreditManagerMockForPoolTest.d.ts +0 -204
  80. package/lib/types/CurveMock.d.ts +0 -298
  81. package/lib/types/CurveV1Adapter.d.ts +0 -349
  82. package/lib/types/DataCompressor.d.ts +0 -1331
  83. package/lib/types/DieselToken.d.ts +0 -567
  84. package/lib/types/ERC165.d.ts +0 -116
  85. package/lib/types/ERC20.d.ts +0 -411
  86. package/lib/types/ERC20BlockingMock.d.ts +0 -568
  87. package/lib/types/ERC721.d.ts +0 -625
  88. package/lib/types/Errors.d.ts +0 -1854
  89. package/lib/types/ExecutorMock.d.ts +0 -140
  90. package/lib/types/FlashLoanAttacker.d.ts +0 -170
  91. package/lib/types/FuzzHarness.d.ts +0 -124
  92. package/lib/types/GearBeta.d.ts +0 -745
  93. package/lib/types/GearToken.d.ts +0 -888
  94. package/lib/types/IAccountFactory.d.ts +0 -317
  95. package/lib/types/IAccountMiner.d.ts +0 -124
  96. package/lib/types/IAppAddressProvider.d.ts +0 -198
  97. package/lib/types/IAppCreditManager.d.ts +0 -408
  98. package/lib/types/IAppERC20.d.ts +0 -309
  99. package/lib/types/IAppPoolService.d.ts +0 -166
  100. package/lib/types/ICreditAccount.d.ts +0 -430
  101. package/lib/types/ICreditFilter.d.ts +0 -1162
  102. package/lib/types/ICreditManager.d.ts +0 -971
  103. package/lib/types/ICurvePool.d.ts +0 -298
  104. package/lib/types/IDataCompressor.d.ts +0 -1231
  105. package/lib/types/IERC165.d.ts +0 -116
  106. package/lib/types/IERC20.d.ts +0 -294
  107. package/lib/types/IERC721.d.ts +0 -472
  108. package/lib/types/IERC721Enumerable.d.ts +0 -564
  109. package/lib/types/IERC721Metadata.d.ts +0 -523
  110. package/lib/types/IERC721Receiver.d.ts +0 -132
  111. package/lib/types/IGearToken.d.ts +0 -527
  112. package/lib/types/IInterestRateModel.d.ts +0 -121
  113. package/lib/types/IMerkleDistributor.d.ts +0 -190
  114. package/lib/types/IPoolService.d.ts +0 -772
  115. package/lib/types/IPriceOracle.d.ts +0 -211
  116. package/lib/types/IQuoter.d.ts +0 -269
  117. package/lib/types/ISwapRouter.d.ts +0 -404
  118. package/lib/types/IUniswapV2Migrator.d.ts +0 -134
  119. package/lib/types/IUniswapV2Router01.d.ts +0 -1119
  120. package/lib/types/IUniswapV2Router02.d.ts +0 -1432
  121. package/lib/types/IUniswapV3SwapCallback.d.ts +0 -127
  122. package/lib/types/IWETH.d.ts +0 -169
  123. package/lib/types/IWETHGateway.d.ts +0 -335
  124. package/lib/types/IYVault.d.ts +0 -558
  125. package/lib/types/LeveragedActions.d.ts +0 -772
  126. package/lib/types/LinearInterestRateModel.d.ts +0 -279
  127. package/lib/types/MockPoolService.d.ts +0 -1271
  128. package/lib/types/Multicall2.d.ts +0 -449
  129. package/lib/types/Ownable.d.ts +0 -169
  130. package/lib/types/PathFinder.d.ts +0 -379
  131. package/lib/types/Pausable.d.ts +0 -105
  132. package/lib/types/PercentageMathTest.d.ts +0 -154
  133. package/lib/types/PoolService.d.ts +0 -1174
  134. package/lib/types/PriceOracle.d.ts +0 -387
  135. package/lib/types/StepVesting.d.ts +0 -411
  136. package/lib/types/TestPoolService.d.ts +0 -1294
  137. package/lib/types/TokenDistributor.d.ts +0 -640
  138. package/lib/types/TokenFeeMock.d.ts +0 -544
  139. package/lib/types/TokenMock.d.ts +0 -531
  140. package/lib/types/TreasuryMock.d.ts +0 -86
  141. package/lib/types/UniswapRouterMock.d.ts +0 -1520
  142. package/lib/types/UniswapV2Adapter.d.ts +0 -1463
  143. package/lib/types/UniswapV3Adapter.d.ts +0 -455
  144. package/lib/types/WETHGateway.d.ts +0 -376
  145. package/lib/types/WETHMock.d.ts +0 -433
  146. package/lib/types/WadRayMathTest.d.ts +0 -316
  147. package/lib/types/YearnAdapter.d.ts +0 -609
  148. package/lib/types/YearnMock.d.ts +0 -795
  149. package/lib/types/YearnPriceFeed.d.ts +0 -399
  150. package/lib/types/commons.d.ts +0 -16
  151. package/lib/types/commons.js +0 -5
  152. package/lib/types/contracts/support/PathFinder.d.ts +0 -154
  153. package/lib/types/contracts/support/PathFinder.js +0 -2
  154. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter.d.ts +0 -52
  155. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter.js +0 -2
  156. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.d.ts +0 -1
  157. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.js +0 -2
  158. package/lib/types/factories/ACLTraitTest__factory.d.ts +0 -52
  159. package/lib/types/factories/ACLTraitTest__factory.js +0 -138
  160. package/lib/types/factories/ACLTrait__factory.d.ts +0 -31
  161. package/lib/types/factories/ACLTrait__factory.js +0 -75
  162. package/lib/types/factories/ACL__factory.d.ts +0 -45
  163. package/lib/types/factories/ACL__factory.js +0 -317
  164. package/lib/types/factories/AccountFactory__factory.d.ts +0 -72
  165. package/lib/types/factories/AccountFactory__factory.js +0 -508
  166. package/lib/types/factories/AccountMining__factory.d.ts +0 -56
  167. package/lib/types/factories/AccountMining__factory.js +0 -192
  168. package/lib/types/factories/AddressProvider__factory.d.ts +0 -52
  169. package/lib/types/factories/AddressProvider__factory.js +0 -582
  170. package/lib/types/factories/AggregatorV3Interface__factory.d.ts +0 -22
  171. package/lib/types/factories/AggregatorV3Interface__factory.js +0 -133
  172. package/lib/types/factories/ChainlinkPriceFeedMock__factory.d.ts +0 -42
  173. package/lib/types/factories/ChainlinkPriceFeedMock__factory.js +0 -193
  174. package/lib/types/factories/ContractsRegister__factory.d.ts +0 -56
  175. package/lib/types/factories/ContractsRegister__factory.js +0 -310
  176. package/lib/types/factories/CreditAccount__factory.d.ts +0 -32
  177. package/lib/types/factories/CreditAccount__factory.js +0 -262
  178. package/lib/types/factories/CreditFilterMock__factory.d.ts +0 -56
  179. package/lib/types/factories/CreditFilterMock__factory.js +0 -1083
  180. package/lib/types/factories/CreditFilter__factory.d.ts +0 -56
  181. package/lib/types/factories/CreditFilter__factory.js +0 -1047
  182. package/lib/types/factories/CreditManagerMockForFilter__factory.d.ts +0 -38
  183. package/lib/types/factories/CreditManagerMockForFilter__factory.js +0 -324
  184. package/lib/types/factories/CreditManagerMockForPoolTest__factory.d.ts +0 -48
  185. package/lib/types/factories/CreditManagerMockForPoolTest__factory.js +0 -131
  186. package/lib/types/factories/CreditManager__factory.d.ts +0 -77
  187. package/lib/types/factories/CreditManager__factory.js +0 -1030
  188. package/lib/types/factories/CurveMock__factory.d.ts +0 -42
  189. package/lib/types/factories/CurveMock__factory.js +0 -210
  190. package/lib/types/factories/CurveV1Adapter__factory.d.ts +0 -42
  191. package/lib/types/factories/CurveV1Adapter__factory.js +0 -254
  192. package/lib/types/factories/DataCompressor__factory.d.ts +0 -71
  193. package/lib/types/factories/DataCompressor__factory.js +0 -944
  194. package/lib/types/factories/DieselToken__factory.d.ts +0 -56
  195. package/lib/types/factories/DieselToken__factory.js +0 -432
  196. package/lib/types/factories/ERC165__factory.d.ts +0 -22
  197. package/lib/types/factories/ERC165__factory.js +0 -41
  198. package/lib/types/factories/ERC20BlockingMock__factory.d.ts +0 -56
  199. package/lib/types/factories/ERC20BlockingMock__factory.js +0 -429
  200. package/lib/types/factories/ERC20__factory.d.ts +0 -56
  201. package/lib/types/factories/ERC20__factory.js +0 -339
  202. package/lib/types/factories/ERC721__factory.d.ts +0 -56
  203. package/lib/types/factories/ERC721__factory.js +0 -468
  204. package/lib/types/factories/Errors__factory.d.ts +0 -28
  205. package/lib/types/factories/Errors__factory.js +0 -1015
  206. package/lib/types/factories/ExecutorMock__factory.d.ts +0 -38
  207. package/lib/types/factories/ExecutorMock__factory.js +0 -103
  208. package/lib/types/factories/FlashLoanAttacker__factory.d.ts +0 -48
  209. package/lib/types/factories/FlashLoanAttacker__factory.js +0 -117
  210. package/lib/types/factories/FuzzHarness__factory.d.ts +0 -38
  211. package/lib/types/factories/FuzzHarness__factory.js +0 -92
  212. package/lib/types/factories/GearBeta__factory.d.ts +0 -52
  213. package/lib/types/factories/GearBeta__factory.js +0 -527
  214. package/lib/types/factories/GearToken__factory.d.ts +0 -56
  215. package/lib/types/factories/GearToken__factory.js +0 -708
  216. package/lib/types/factories/IAccountFactory__factory.d.ts +0 -35
  217. package/lib/types/factories/IAccountFactory__factory.js +0 -226
  218. package/lib/types/factories/IAccountMiner__factory.d.ts +0 -28
  219. package/lib/types/factories/IAccountMiner__factory.js +0 -48
  220. package/lib/types/factories/IAppAddressProvider__factory.d.ts +0 -18
  221. package/lib/types/factories/IAppAddressProvider__factory.js +0 -100
  222. package/lib/types/factories/IAppCreditManager__factory.d.ts +0 -42
  223. package/lib/types/factories/IAppCreditManager__factory.js +0 -204
  224. package/lib/types/factories/IAppERC20__factory.d.ts +0 -22
  225. package/lib/types/factories/IAppERC20__factory.js +0 -194
  226. package/lib/types/factories/IAppPoolService__factory.d.ts +0 -22
  227. package/lib/types/factories/IAppPoolService__factory.js +0 -69
  228. package/lib/types/factories/ICreditAccount__factory.d.ts +0 -22
  229. package/lib/types/factories/ICreditAccount__factory.js +0 -218
  230. package/lib/types/factories/ICreditFilter__factory.d.ts +0 -35
  231. package/lib/types/factories/ICreditFilter__factory.js +0 -700
  232. package/lib/types/factories/ICreditManager__factory.d.ts +0 -56
  233. package/lib/types/factories/ICreditManager__factory.js +0 -720
  234. package/lib/types/factories/ICurvePool__factory.d.ts +0 -22
  235. package/lib/types/factories/ICurvePool__factory.js +0 -168
  236. package/lib/types/factories/IDataCompressor__factory.d.ts +0 -51
  237. package/lib/types/factories/IDataCompressor__factory.js +0 -826
  238. package/lib/types/factories/IERC165__factory.d.ts +0 -22
  239. package/lib/types/factories/IERC165__factory.js +0 -41
  240. package/lib/types/factories/IERC20__factory.d.ts +0 -35
  241. package/lib/types/factories/IERC20__factory.js +0 -205
  242. package/lib/types/factories/IERC721Enumerable__factory.d.ts +0 -35
  243. package/lib/types/factories/IERC721Enumerable__factory.js +0 -363
  244. package/lib/types/factories/IERC721Metadata__factory.d.ts +0 -35
  245. package/lib/types/factories/IERC721Metadata__factory.js +0 -352
  246. package/lib/types/factories/IERC721Receiver__factory.d.ts +0 -22
  247. package/lib/types/factories/IERC721Receiver__factory.js +0 -56
  248. package/lib/types/factories/IERC721__factory.d.ts +0 -35
  249. package/lib/types/factories/IERC721__factory.js +0 -307
  250. package/lib/types/factories/IGearToken__factory.d.ts +0 -35
  251. package/lib/types/factories/IGearToken__factory.js +0 -342
  252. package/lib/types/factories/IInterestRateModel__factory.d.ts +0 -22
  253. package/lib/types/factories/IInterestRateModel__factory.js +0 -46
  254. package/lib/types/factories/IMerkleDistributor__factory.d.ts +0 -35
  255. package/lib/types/factories/IMerkleDistributor__factory.js +0 -109
  256. package/lib/types/factories/IPoolService__factory.d.ts +0 -35
  257. package/lib/types/factories/IPoolService__factory.js +0 -580
  258. package/lib/types/factories/IPriceOracle__factory.d.ts +0 -35
  259. package/lib/types/factories/IPriceOracle__factory.js +0 -112
  260. package/lib/types/factories/IQuoter__factory.d.ts +0 -22
  261. package/lib/types/factories/IQuoter__factory.js +0 -148
  262. package/lib/types/factories/ISwapRouter__factory.d.ts +0 -27
  263. package/lib/types/factories/ISwapRouter__factory.js +0 -236
  264. package/lib/types/factories/IUniswapV2Migrator__factory.d.ts +0 -18
  265. package/lib/types/factories/IUniswapV2Migrator__factory.js +0 -55
  266. package/lib/types/factories/IUniswapV2Router01__factory.d.ts +0 -22
  267. package/lib/types/factories/IUniswapV2Router01__factory.js +0 -771
  268. package/lib/types/factories/IUniswapV2Router02__factory.d.ts +0 -22
  269. package/lib/types/factories/IUniswapV2Router02__factory.js +0 -973
  270. package/lib/types/factories/IUniswapV3SwapCallback__factory.d.ts +0 -18
  271. package/lib/types/factories/IUniswapV3SwapCallback__factory.js +0 -45
  272. package/lib/types/factories/IWETHGateway__factory.d.ts +0 -18
  273. package/lib/types/factories/IWETHGateway__factory.js +0 -150
  274. package/lib/types/factories/IWETH__factory.d.ts +0 -22
  275. package/lib/types/factories/IWETH__factory.js +0 -66
  276. package/lib/types/factories/IYVault__factory.d.ts +0 -35
  277. package/lib/types/factories/IYVault__factory.js +0 -411
  278. package/lib/types/factories/LeveragedActions__factory.d.ts +0 -84
  279. package/lib/types/factories/LeveragedActions__factory.js +0 -569
  280. package/lib/types/factories/LinearInterestRateModel__factory.d.ts +0 -42
  281. package/lib/types/factories/LinearInterestRateModel__factory.js +0 -209
  282. package/lib/types/factories/MockPoolService__factory.d.ts +0 -56
  283. package/lib/types/factories/MockPoolService__factory.js +0 -889
  284. package/lib/types/factories/Multicall2__factory.d.ts +0 -52
  285. package/lib/types/factories/Multicall2__factory.js +0 -364
  286. package/lib/types/factories/Ownable__factory.d.ts +0 -42
  287. package/lib/types/factories/Ownable__factory.js +0 -74
  288. package/lib/types/factories/PathFinder__factory.d.ts +0 -61
  289. package/lib/types/factories/PathFinder__factory.js +0 -302
  290. package/lib/types/factories/Pausable__factory.d.ts +0 -31
  291. package/lib/types/factories/Pausable__factory.js +0 -61
  292. package/lib/types/factories/PercentageMathTest__factory.d.ts +0 -32
  293. package/lib/types/factories/PercentageMathTest__factory.js +0 -101
  294. package/lib/types/factories/PoolService__factory.d.ts +0 -56
  295. package/lib/types/factories/PoolService__factory.js +0 -873
  296. package/lib/types/factories/PriceOracle__factory.d.ts +0 -56
  297. package/lib/types/factories/PriceOracle__factory.js +0 -290
  298. package/lib/types/factories/StepVesting__factory.d.ts +0 -52
  299. package/lib/types/factories/StepVesting__factory.js +0 -296
  300. package/lib/types/factories/TestPoolService__factory.d.ts +0 -56
  301. package/lib/types/factories/TestPoolService__factory.js +0 -932
  302. package/lib/types/factories/TokenDistributor__factory.d.ts +0 -82
  303. package/lib/types/factories/TokenDistributor__factory.js +0 -481
  304. package/lib/types/factories/TokenFeeMock__factory.d.ts +0 -56
  305. package/lib/types/factories/TokenFeeMock__factory.js +0 -427
  306. package/lib/types/factories/TokenMock__factory.d.ts +0 -56
  307. package/lib/types/factories/TokenMock__factory.js +0 -409
  308. package/lib/types/factories/TreasuryMock__factory.d.ts +0 -35
  309. package/lib/types/factories/TreasuryMock__factory.js +0 -70
  310. package/lib/types/factories/UniswapRouterMock__factory.d.ts +0 -32
  311. package/lib/types/factories/UniswapRouterMock__factory.js +0 -1046
  312. package/lib/types/factories/UniswapV2Adapter__factory.d.ts +0 -42
  313. package/lib/types/factories/UniswapV2Adapter__factory.js +0 -1059
  314. package/lib/types/factories/UniswapV3Adapter__factory.d.ts +0 -47
  315. package/lib/types/factories/UniswapV3Adapter__factory.js +0 -322
  316. package/lib/types/factories/WETHGateway__factory.d.ts +0 -70
  317. package/lib/types/factories/WETHGateway__factory.js +0 -241
  318. package/lib/types/factories/WETHMock__factory.d.ts +0 -52
  319. package/lib/types/factories/WETHMock__factory.js +0 -355
  320. package/lib/types/factories/WadRayMathTest__factory.d.ts +0 -32
  321. package/lib/types/factories/WadRayMathTest__factory.js +0 -239
  322. package/lib/types/factories/YearnAdapter__factory.d.ts +0 -56
  323. package/lib/types/factories/YearnAdapter__factory.js +0 -497
  324. package/lib/types/factories/YearnMock__factory.d.ts +0 -56
  325. package/lib/types/factories/YearnMock__factory.js +0 -598
  326. package/lib/types/factories/YearnPriceFeed__factory.d.ts +0 -56
  327. package/lib/types/factories/YearnPriceFeed__factory.js +0 -350
  328. package/lib/types/factories/contracts/support/PathFinder__factory.d.ts +0 -63
  329. package/lib/types/factories/contracts/support/PathFinder__factory.js +0 -319
  330. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter__factory.d.ts +0 -34
  331. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter__factory.js +0 -124
  332. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.d.ts +0 -1
  333. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.js +0 -8
@@ -1,582 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- var __extends = (this && this.__extends) || (function () {
6
- var extendStatics = function (d, b) {
7
- extendStatics = Object.setPrototypeOf ||
8
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10
- return extendStatics(d, b);
11
- };
12
- return function (d, b) {
13
- if (typeof b !== "function" && b !== null)
14
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
15
- extendStatics(d, b);
16
- function __() { this.constructor = d; }
17
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
- };
19
- })();
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.AddressProvider__factory = void 0;
22
- var ethers_1 = require("ethers");
23
- var _abi = [
24
- {
25
- inputs: [],
26
- stateMutability: "nonpayable",
27
- type: "constructor",
28
- },
29
- {
30
- anonymous: false,
31
- inputs: [
32
- {
33
- indexed: true,
34
- internalType: "bytes32",
35
- name: "service",
36
- type: "bytes32",
37
- },
38
- {
39
- indexed: true,
40
- internalType: "address",
41
- name: "newAddress",
42
- type: "address",
43
- },
44
- ],
45
- name: "AddressSet",
46
- type: "event",
47
- },
48
- {
49
- anonymous: false,
50
- inputs: [
51
- {
52
- indexed: false,
53
- internalType: "uint256",
54
- name: "user_id",
55
- type: "uint256",
56
- },
57
- {
58
- indexed: false,
59
- internalType: "address",
60
- name: "account",
61
- type: "address",
62
- },
63
- {
64
- indexed: false,
65
- internalType: "uint256",
66
- name: "amount",
67
- type: "uint256",
68
- },
69
- {
70
- indexed: false,
71
- internalType: "bytes32",
72
- name: "leaf",
73
- type: "bytes32",
74
- },
75
- ],
76
- name: "Claimed",
77
- type: "event",
78
- },
79
- {
80
- anonymous: false,
81
- inputs: [
82
- {
83
- indexed: true,
84
- internalType: "address",
85
- name: "previousOwner",
86
- type: "address",
87
- },
88
- {
89
- indexed: true,
90
- internalType: "address",
91
- name: "newOwner",
92
- type: "address",
93
- },
94
- ],
95
- name: "OwnershipTransferred",
96
- type: "event",
97
- },
98
- {
99
- inputs: [],
100
- name: "ACCOUNT_FACTORY",
101
- outputs: [
102
- {
103
- internalType: "bytes32",
104
- name: "",
105
- type: "bytes32",
106
- },
107
- ],
108
- stateMutability: "view",
109
- type: "function",
110
- },
111
- {
112
- inputs: [],
113
- name: "ACL",
114
- outputs: [
115
- {
116
- internalType: "bytes32",
117
- name: "",
118
- type: "bytes32",
119
- },
120
- ],
121
- stateMutability: "view",
122
- type: "function",
123
- },
124
- {
125
- inputs: [],
126
- name: "CONTRACTS_REGISTER",
127
- outputs: [
128
- {
129
- internalType: "bytes32",
130
- name: "",
131
- type: "bytes32",
132
- },
133
- ],
134
- stateMutability: "view",
135
- type: "function",
136
- },
137
- {
138
- inputs: [],
139
- name: "DATA_COMPRESSOR",
140
- outputs: [
141
- {
142
- internalType: "bytes32",
143
- name: "",
144
- type: "bytes32",
145
- },
146
- ],
147
- stateMutability: "view",
148
- type: "function",
149
- },
150
- {
151
- inputs: [],
152
- name: "GEAR_TOKEN",
153
- outputs: [
154
- {
155
- internalType: "bytes32",
156
- name: "",
157
- type: "bytes32",
158
- },
159
- ],
160
- stateMutability: "view",
161
- type: "function",
162
- },
163
- {
164
- inputs: [],
165
- name: "LEVERAGED_ACTIONS",
166
- outputs: [
167
- {
168
- internalType: "bytes32",
169
- name: "",
170
- type: "bytes32",
171
- },
172
- ],
173
- stateMutability: "view",
174
- type: "function",
175
- },
176
- {
177
- inputs: [],
178
- name: "PRICE_ORACLE",
179
- outputs: [
180
- {
181
- internalType: "bytes32",
182
- name: "",
183
- type: "bytes32",
184
- },
185
- ],
186
- stateMutability: "view",
187
- type: "function",
188
- },
189
- {
190
- inputs: [],
191
- name: "TREASURY_CONTRACT",
192
- outputs: [
193
- {
194
- internalType: "bytes32",
195
- name: "",
196
- type: "bytes32",
197
- },
198
- ],
199
- stateMutability: "view",
200
- type: "function",
201
- },
202
- {
203
- inputs: [],
204
- name: "WETH_GATEWAY",
205
- outputs: [
206
- {
207
- internalType: "bytes32",
208
- name: "",
209
- type: "bytes32",
210
- },
211
- ],
212
- stateMutability: "view",
213
- type: "function",
214
- },
215
- {
216
- inputs: [],
217
- name: "WETH_TOKEN",
218
- outputs: [
219
- {
220
- internalType: "bytes32",
221
- name: "",
222
- type: "bytes32",
223
- },
224
- ],
225
- stateMutability: "view",
226
- type: "function",
227
- },
228
- {
229
- inputs: [
230
- {
231
- internalType: "bytes32",
232
- name: "",
233
- type: "bytes32",
234
- },
235
- ],
236
- name: "addresses",
237
- outputs: [
238
- {
239
- internalType: "address",
240
- name: "",
241
- type: "address",
242
- },
243
- ],
244
- stateMutability: "view",
245
- type: "function",
246
- },
247
- {
248
- inputs: [],
249
- name: "getACL",
250
- outputs: [
251
- {
252
- internalType: "address",
253
- name: "",
254
- type: "address",
255
- },
256
- ],
257
- stateMutability: "view",
258
- type: "function",
259
- },
260
- {
261
- inputs: [],
262
- name: "getAccountFactory",
263
- outputs: [
264
- {
265
- internalType: "address",
266
- name: "",
267
- type: "address",
268
- },
269
- ],
270
- stateMutability: "view",
271
- type: "function",
272
- },
273
- {
274
- inputs: [],
275
- name: "getContractsRegister",
276
- outputs: [
277
- {
278
- internalType: "address",
279
- name: "",
280
- type: "address",
281
- },
282
- ],
283
- stateMutability: "view",
284
- type: "function",
285
- },
286
- {
287
- inputs: [],
288
- name: "getDataCompressor",
289
- outputs: [
290
- {
291
- internalType: "address",
292
- name: "",
293
- type: "address",
294
- },
295
- ],
296
- stateMutability: "view",
297
- type: "function",
298
- },
299
- {
300
- inputs: [],
301
- name: "getGearToken",
302
- outputs: [
303
- {
304
- internalType: "address",
305
- name: "",
306
- type: "address",
307
- },
308
- ],
309
- stateMutability: "view",
310
- type: "function",
311
- },
312
- {
313
- inputs: [],
314
- name: "getLeveragedActions",
315
- outputs: [
316
- {
317
- internalType: "address",
318
- name: "",
319
- type: "address",
320
- },
321
- ],
322
- stateMutability: "view",
323
- type: "function",
324
- },
325
- {
326
- inputs: [],
327
- name: "getPriceOracle",
328
- outputs: [
329
- {
330
- internalType: "address",
331
- name: "",
332
- type: "address",
333
- },
334
- ],
335
- stateMutability: "view",
336
- type: "function",
337
- },
338
- {
339
- inputs: [],
340
- name: "getTreasuryContract",
341
- outputs: [
342
- {
343
- internalType: "address",
344
- name: "",
345
- type: "address",
346
- },
347
- ],
348
- stateMutability: "view",
349
- type: "function",
350
- },
351
- {
352
- inputs: [],
353
- name: "getWETHGateway",
354
- outputs: [
355
- {
356
- internalType: "address",
357
- name: "",
358
- type: "address",
359
- },
360
- ],
361
- stateMutability: "view",
362
- type: "function",
363
- },
364
- {
365
- inputs: [],
366
- name: "getWethToken",
367
- outputs: [
368
- {
369
- internalType: "address",
370
- name: "",
371
- type: "address",
372
- },
373
- ],
374
- stateMutability: "view",
375
- type: "function",
376
- },
377
- {
378
- inputs: [],
379
- name: "owner",
380
- outputs: [
381
- {
382
- internalType: "address",
383
- name: "",
384
- type: "address",
385
- },
386
- ],
387
- stateMutability: "view",
388
- type: "function",
389
- },
390
- {
391
- inputs: [],
392
- name: "renounceOwnership",
393
- outputs: [],
394
- stateMutability: "nonpayable",
395
- type: "function",
396
- },
397
- {
398
- inputs: [
399
- {
400
- internalType: "address",
401
- name: "_address",
402
- type: "address",
403
- },
404
- ],
405
- name: "setACL",
406
- outputs: [],
407
- stateMutability: "nonpayable",
408
- type: "function",
409
- },
410
- {
411
- inputs: [
412
- {
413
- internalType: "address",
414
- name: "_address",
415
- type: "address",
416
- },
417
- ],
418
- name: "setAccountFactory",
419
- outputs: [],
420
- stateMutability: "nonpayable",
421
- type: "function",
422
- },
423
- {
424
- inputs: [
425
- {
426
- internalType: "address",
427
- name: "_address",
428
- type: "address",
429
- },
430
- ],
431
- name: "setContractsRegister",
432
- outputs: [],
433
- stateMutability: "nonpayable",
434
- type: "function",
435
- },
436
- {
437
- inputs: [
438
- {
439
- internalType: "address",
440
- name: "_address",
441
- type: "address",
442
- },
443
- ],
444
- name: "setDataCompressor",
445
- outputs: [],
446
- stateMutability: "nonpayable",
447
- type: "function",
448
- },
449
- {
450
- inputs: [
451
- {
452
- internalType: "address",
453
- name: "_address",
454
- type: "address",
455
- },
456
- ],
457
- name: "setGearToken",
458
- outputs: [],
459
- stateMutability: "nonpayable",
460
- type: "function",
461
- },
462
- {
463
- inputs: [
464
- {
465
- internalType: "address",
466
- name: "_address",
467
- type: "address",
468
- },
469
- ],
470
- name: "setLeveragedActions",
471
- outputs: [],
472
- stateMutability: "nonpayable",
473
- type: "function",
474
- },
475
- {
476
- inputs: [
477
- {
478
- internalType: "address",
479
- name: "_address",
480
- type: "address",
481
- },
482
- ],
483
- name: "setPriceOracle",
484
- outputs: [],
485
- stateMutability: "nonpayable",
486
- type: "function",
487
- },
488
- {
489
- inputs: [
490
- {
491
- internalType: "address",
492
- name: "_address",
493
- type: "address",
494
- },
495
- ],
496
- name: "setTreasuryContract",
497
- outputs: [],
498
- stateMutability: "nonpayable",
499
- type: "function",
500
- },
501
- {
502
- inputs: [
503
- {
504
- internalType: "address",
505
- name: "_address",
506
- type: "address",
507
- },
508
- ],
509
- name: "setWETHGateway",
510
- outputs: [],
511
- stateMutability: "nonpayable",
512
- type: "function",
513
- },
514
- {
515
- inputs: [
516
- {
517
- internalType: "address",
518
- name: "_address",
519
- type: "address",
520
- },
521
- ],
522
- name: "setWethToken",
523
- outputs: [],
524
- stateMutability: "nonpayable",
525
- type: "function",
526
- },
527
- {
528
- inputs: [
529
- {
530
- internalType: "address",
531
- name: "newOwner",
532
- type: "address",
533
- },
534
- ],
535
- name: "transferOwnership",
536
- outputs: [],
537
- stateMutability: "nonpayable",
538
- type: "function",
539
- },
540
- {
541
- inputs: [],
542
- name: "version",
543
- outputs: [
544
- {
545
- internalType: "uint256",
546
- name: "",
547
- type: "uint256",
548
- },
549
- ],
550
- stateMutability: "view",
551
- type: "function",
552
- },
553
- ];
554
- var _bytecode = "0x608060405234801561001057600080fd5b50600061002161012860201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3503073ffffffffffffffffffffffffffffffffffffffff167f414444524553535f50524f5649444552000000000000000000000000000000007fb37614c7d254ea8d16eb81fa11dddaeb266aa8ba4917980859c7740aff30c69160405160405180910390a3610130565b600033905090565b611ad88061013f6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806376aad60511610125578063ae5a98ba116100ad578063c513c9bb1161007c578063c513c9bb146107dc578063ce3c4ae414610810578063f2fde38b14610854578063f9366f4714610898578063fca513a8146108b657610211565b8063ae5a98ba14610702578063affd924314610720578063bcaead9814610754578063c5120b391461079857610211565b806386e09c08116100f457806386e09c08146105f45780638da5cb5b146106385780639068a8681461066c5780639e9df2b9146106a0578063addc1a76146106be57610211565b806376aad6051461051a57806377532ed91461055e5780637af53532146105925780637b6757ff146105b057610211565b806326c74fc3116101a8578063530e784f11610177578063530e784f1461043857806354fd4d501461047c578063699f200f1461049a578063715018a6146104f257806372788be7146104fc57610211565b806326c74fc31461037e57806337d277d4146103b257806344b88563146103d05780634c252f911461040457610211565b80630e3b95dc116101e45780630e3b95dc146102ba578063124a6462146102d85780631ed65110146102f657806321da58371461033a57610211565b806305197d1014610216578063060678c21461023457806308737695146102685780630a19399a1461029c575b600080fd5b61021e6108ea565b6040518082815260200191505060405180910390f35b61023c61090e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61027061093e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102a461096e565b6040518082815260200191505060405180910390f35b6102c2610992565b6040518082815260200191505060405180910390f35b6102e06109b6565b6040518082815260200191505060405180910390f35b6103386004803603602081101561030c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109da565b005b61037c6004803603602081101561035057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ab6565b005b610386610b92565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103ba610bc2565b6040518082815260200191505060405180910390f35b6103d8610be6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61040c610c16565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61047a6004803603602081101561044e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c46565b005b610484610d22565b6040518082815260200191505060405180910390f35b6104c6600480360360208110156104b057600080fd5b8101908080359060200190929190505050610d27565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104fa610d5a565b005b610504610ec7565b6040518082815260200191505060405180910390f35b61055c6004803603602081101561053057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610eeb565b005b610566610fc7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61059a610ff7565b6040518082815260200191505060405180910390f35b6105f2600480360360208110156105c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061101b565b005b6106366004803603602081101561060a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110f7565b005b6106406111d3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106746111fc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106a861122c565b6040518082815260200191505060405180910390f35b610700600480360360208110156106d457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611250565b005b61070a61132c565b6040518082815260200191505060405180910390f35b610728611350565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107966004803603602081101561076a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611380565b005b6107da600480360360208110156107ae57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061145c565b005b6107e4611538565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108526004803603602081101561082657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611568565b005b6108966004803603602081101561086a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611644565b005b6108a0611836565b6040518082815260200191505060405180910390f35b6108be61185a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b7f4143434f554e545f464143544f5259000000000000000000000000000000000081565b60006109397f444154415f434f4d50524553534f52000000000000000000000000000000000061188a565b905090565b60006109697f41434c000000000000000000000000000000000000000000000000000000000061188a565b905090565b7f50524943455f4f5241434c45000000000000000000000000000000000000000081565b7f4c45564552414745445f414354494f4e5300000000000000000000000000000081565b7f474541525f544f4b454e0000000000000000000000000000000000000000000081565b6109e26119da565b73ffffffffffffffffffffffffffffffffffffffff16610a006111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610a89576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610ab37f54524541535552595f434f4e5452414354000000000000000000000000000000826119e2565b50565b610abe6119da565b73ffffffffffffffffffffffffffffffffffffffff16610adc6111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610b65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610b8f7f574554485f474154455741590000000000000000000000000000000000000000826119e2565b50565b6000610bbd7f54524541535552595f434f4e545241435400000000000000000000000000000061188a565b905090565b7f574554485f544f4b454e0000000000000000000000000000000000000000000081565b6000610c117f4c45564552414745445f414354494f4e5300000000000000000000000000000061188a565b905090565b6000610c417f574554485f544f4b454e0000000000000000000000000000000000000000000061188a565b905090565b610c4e6119da565b73ffffffffffffffffffffffffffffffffffffffff16610c6c6111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610cf5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610d1f7f50524943455f4f5241434c450000000000000000000000000000000000000000826119e2565b50565b600181565b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d626119da565b73ffffffffffffffffffffffffffffffffffffffff16610d806111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610e09576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b7f444154415f434f4d50524553534f52000000000000000000000000000000000081565b610ef36119da565b73ffffffffffffffffffffffffffffffffffffffff16610f116111d3565b73ffffffffffffffffffffffffffffffffffffffff1614610f9a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610fc47f41434c0000000000000000000000000000000000000000000000000000000000826119e2565b50565b6000610ff27f574554485f47415445574159000000000000000000000000000000000000000061188a565b905090565b7f41434c000000000000000000000000000000000000000000000000000000000081565b6110236119da565b73ffffffffffffffffffffffffffffffffffffffff166110416111d3565b73ffffffffffffffffffffffffffffffffffffffff16146110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110f47f4c45564552414745445f414354494f4e53000000000000000000000000000000826119e2565b50565b6110ff6119da565b73ffffffffffffffffffffffffffffffffffffffff1661111d6111d3565b73ffffffffffffffffffffffffffffffffffffffff16146111a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6111d07f574554485f544f4b454e00000000000000000000000000000000000000000000826119e2565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006112277f4143434f554e545f464143544f5259000000000000000000000000000000000061188a565b905090565b7f54524541535552595f434f4e545241435400000000000000000000000000000081565b6112586119da565b73ffffffffffffffffffffffffffffffffffffffff166112766111d3565b73ffffffffffffffffffffffffffffffffffffffff16146112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6113297f4143434f554e545f464143544f52590000000000000000000000000000000000826119e2565b50565b7f574554485f47415445574159000000000000000000000000000000000000000081565b600061137b7f474541525f544f4b454e0000000000000000000000000000000000000000000061188a565b905090565b6113886119da565b73ffffffffffffffffffffffffffffffffffffffff166113a66111d3565b73ffffffffffffffffffffffffffffffffffffffff161461142f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6114597f474541525f544f4b454e00000000000000000000000000000000000000000000826119e2565b50565b6114646119da565b73ffffffffffffffffffffffffffffffffffffffff166114826111d3565b73ffffffffffffffffffffffffffffffffffffffff161461150b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6115357f444154415f434f4d50524553534f520000000000000000000000000000000000826119e2565b50565b60006115637f434f4e5452414354535f5245474953544552000000000000000000000000000061188a565b905090565b6115706119da565b73ffffffffffffffffffffffffffffffffffffffff1661158e6111d3565b73ffffffffffffffffffffffffffffffffffffffff1614611617576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6116417f434f4e5452414354535f52454749535445520000000000000000000000000000826119e2565b50565b61164c6119da565b73ffffffffffffffffffffffffffffffffffffffff1661166a6111d3565b73ffffffffffffffffffffffffffffffffffffffff16146116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611779576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611a7d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f434f4e5452414354535f5245474953544552000000000000000000000000000081565b60006118857f50524943455f4f5241434c45000000000000000000000000000000000000000061188a565b905090565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600381526020017f4150310000000000000000000000000000000000000000000000000000000000815250906119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561199557808201518184015260208101905061197a565b50505050905090810190601f1680156119c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5080915050919050565b600033905090565b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16827fb37614c7d254ea8d16eb81fa11dddaeb266aa8ba4917980859c7740aff30c69160405160405180910390a3505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220867a241f3151c91b21e8cb37fe90ab1d5e89fb79efd61db271c29d805c7bdb7464736f6c63430007060033";
555
- var AddressProvider__factory = /** @class */ (function (_super) {
556
- __extends(AddressProvider__factory, _super);
557
- function AddressProvider__factory(signer) {
558
- return _super.call(this, _abi, _bytecode, signer) || this;
559
- }
560
- AddressProvider__factory.prototype.deploy = function (overrides) {
561
- return _super.prototype.deploy.call(this, overrides || {});
562
- };
563
- AddressProvider__factory.prototype.getDeployTransaction = function (overrides) {
564
- return _super.prototype.getDeployTransaction.call(this, overrides || {});
565
- };
566
- AddressProvider__factory.prototype.attach = function (address) {
567
- return _super.prototype.attach.call(this, address);
568
- };
569
- AddressProvider__factory.prototype.connect = function (signer) {
570
- return _super.prototype.connect.call(this, signer);
571
- };
572
- AddressProvider__factory.createInterface = function () {
573
- return new ethers_1.utils.Interface(_abi);
574
- };
575
- AddressProvider__factory.connect = function (address, signerOrProvider) {
576
- return new ethers_1.Contract(address, _abi, signerOrProvider);
577
- };
578
- AddressProvider__factory.bytecode = _bytecode;
579
- AddressProvider__factory.abi = _abi;
580
- return AddressProvider__factory;
581
- }(ethers_1.ContractFactory));
582
- exports.AddressProvider__factory = AddressProvider__factory;
@@ -1,22 +0,0 @@
1
- import { Signer } from "ethers";
2
- import { Provider } from "@ethersproject/providers";
3
- import type { AggregatorV3Interface, AggregatorV3InterfaceInterface } from "../AggregatorV3Interface";
4
- export declare class AggregatorV3Interface__factory {
5
- static readonly abi: {
6
- inputs: {
7
- internalType: string;
8
- name: string;
9
- type: string;
10
- }[];
11
- name: string;
12
- outputs: {
13
- internalType: string;
14
- name: string;
15
- type: string;
16
- }[];
17
- stateMutability: string;
18
- type: string;
19
- }[];
20
- static createInterface(): AggregatorV3InterfaceInterface;
21
- static connect(address: string, signerOrProvider: Signer | Provider): AggregatorV3Interface;
22
- }