@gearbox-protocol/sdk 3.0.0-next.102 → 3.0.0-next.104

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 (343) hide show
  1. package/lib/core/creditManager.d.ts +1 -0
  2. package/lib/core/creditManager.js +5 -0
  3. package/lib/core/strategy.d.ts +5 -7
  4. package/lib/core/strategy.js +4 -6
  5. package/lib/index.d.ts +1 -3
  6. package/lib/index.js +1 -3
  7. package/lib/parsers/ERC20Parser.js +1 -1
  8. package/lib/parsers/aaveV2LendingPoolAdapterParser.d.ts +7 -0
  9. package/lib/parsers/aaveV2LendingPoolAdapterParser.js +21 -0
  10. package/lib/parsers/aaveV2WrappedATokenAdapterParser.d.ts +7 -0
  11. package/lib/parsers/aaveV2WrappedATokenAdapterParser.js +21 -0
  12. package/lib/parsers/abstractParser.d.ts +7 -5
  13. package/lib/parsers/abstractParser.js +3 -0
  14. package/lib/parsers/addressProviderParser.js +1 -1
  15. package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
  16. package/lib/parsers/balancerV2VaultParser.js +34 -0
  17. package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
  18. package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
  19. package/lib/parsers/convexBaseRewardPoolAdapterParser.js +1 -1
  20. package/lib/parsers/convexBoosterAdapterParser.js +1 -1
  21. package/lib/parsers/convextRewardPoolParser.js +1 -1
  22. package/lib/parsers/creditFacadeParser.js +1 -1
  23. package/lib/parsers/creditManagerParser.js +1 -1
  24. package/lib/parsers/curveAdapterParser.js +1 -1
  25. package/lib/parsers/erc626AdapterParser.d.ts +7 -0
  26. package/lib/parsers/erc626AdapterParser.js +21 -0
  27. package/lib/parsers/lidoAdapterParser.js +1 -1
  28. package/lib/parsers/lidoSTETHParser.js +1 -1
  29. package/lib/parsers/poolParser.js +1 -1
  30. package/lib/parsers/priceOracleParser.js +1 -1
  31. package/lib/parsers/txParser.d.ts +17 -11
  32. package/lib/parsers/txParser.js +36 -5
  33. package/lib/parsers/uniV2AdapterParser.js +1 -1
  34. package/lib/parsers/uniV3AdapterParser.js +1 -1
  35. package/lib/parsers/wstETHAdapterParser.js +1 -1
  36. package/lib/parsers/yearnV2AdapterParser.js +1 -1
  37. package/lib/pathfinder/index.d.ts +4 -0
  38. package/lib/pathfinder/index.js +20 -0
  39. package/lib/pathfinder/utils.d.ts +35 -0
  40. package/lib/pathfinder/utils.js +182 -0
  41. package/lib/types/contracts/index.d.ts +2 -0
  42. package/lib/types/contracts/interfaces/IGasPricer.d.ts +44 -0
  43. package/lib/types/contracts/interfaces/IGasPricer.js +2 -0
  44. package/lib/types/contracts/interfaces/index.d.ts +1 -0
  45. package/lib/types/contracts/interfaces/index.js +2 -0
  46. package/lib/types/factories/AddressProvider__factory.d.ts +111 -111
  47. package/lib/types/factories/AddressProvider__factory.js +119 -119
  48. package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +3 -3
  49. package/lib/types/factories/Balances.sol/BalanceOps__factory.js +3 -3
  50. package/lib/types/factories/CalldataExtractor__factory.d.ts +34 -34
  51. package/lib/types/factories/CalldataExtractor__factory.js +37 -37
  52. package/lib/types/factories/Claimable__factory.d.ts +28 -28
  53. package/lib/types/factories/Claimable__factory.js +32 -32
  54. package/lib/types/factories/ERC20__factory.d.ts +89 -89
  55. package/lib/types/factories/ERC20__factory.js +99 -99
  56. package/lib/types/factories/Errors__factory.d.ts +99 -99
  57. package/lib/types/factories/Errors__factory.js +99 -99
  58. package/lib/types/factories/FarmAccounting__factory.d.ts +6 -6
  59. package/lib/types/factories/FarmAccounting__factory.js +6 -6
  60. package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +42 -42
  61. package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +42 -42
  62. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +70 -70
  63. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +70 -70
  64. package/lib/types/factories/IAdapter__factory.d.ts +15 -15
  65. package/lib/types/factories/IAdapter__factory.js +15 -15
  66. package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +7 -7
  67. package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +7 -7
  68. package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +48 -48
  69. package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +52 -52
  70. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +9 -9
  71. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +9 -9
  72. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +37 -37
  73. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +42 -42
  74. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +25 -25
  75. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +25 -25
  76. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +71 -71
  77. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +85 -85
  78. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +19 -19
  79. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +19 -19
  80. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +106 -106
  81. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +106 -106
  82. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +7 -7
  83. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +7 -7
  84. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +2 -2
  85. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +2 -2
  86. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +161 -161
  87. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +166 -166
  88. package/lib/types/factories/IBaseRewardPool__factory.d.ts +114 -114
  89. package/lib/types/factories/IBaseRewardPool__factory.js +114 -114
  90. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +38 -38
  91. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +43 -43
  92. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +152 -152
  93. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +170 -170
  94. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +60 -60
  95. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +63 -63
  96. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +3 -3
  97. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +3 -3
  98. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +10 -10
  99. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +10 -10
  100. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +51 -51
  101. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +57 -57
  102. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +30 -30
  103. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +30 -30
  104. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +165 -165
  105. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +182 -182
  106. package/lib/types/factories/IConvexToken__factory.d.ts +86 -86
  107. package/lib/types/factories/IConvexToken__factory.js +96 -96
  108. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +80 -80
  109. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +80 -80
  110. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +7 -7
  111. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +7 -7
  112. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +62 -62
  113. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +66 -66
  114. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +121 -121
  115. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +127 -127
  116. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +18 -18
  117. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +18 -18
  118. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +376 -376
  119. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +417 -417
  120. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +118 -118
  121. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +127 -127
  122. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +395 -395
  123. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +420 -420
  124. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +107 -107
  125. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +118 -118
  126. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +65 -65
  127. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +65 -65
  128. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +23 -23
  129. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +23 -23
  130. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +5 -5
  131. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +5 -5
  132. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +601 -601
  133. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +749 -749
  134. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +72 -72
  135. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +80 -80
  136. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +288 -288
  137. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +397 -397
  138. package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +59 -59
  139. package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +59 -59
  140. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +11 -11
  141. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +12 -12
  142. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +26 -26
  143. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +26 -26
  144. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +252 -252
  145. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +272 -272
  146. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +5 -5
  147. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +5 -5
  148. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +294 -294
  149. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +297 -297
  150. package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +191 -191
  151. package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +191 -191
  152. package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +191 -191
  153. package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +191 -191
  154. package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +191 -191
  155. package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +191 -191
  156. package/lib/types/factories/ICurvePool__factory.d.ts +159 -159
  157. package/lib/types/factories/ICurvePool__factory.js +159 -159
  158. package/lib/types/factories/ICurveV1Adapter__factory.d.ts +169 -169
  159. package/lib/types/factories/ICurveV1Adapter__factory.js +169 -169
  160. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +187 -187
  161. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +187 -187
  162. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +187 -187
  163. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +187 -187
  164. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +187 -187
  165. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +187 -187
  166. package/lib/types/factories/IDaiLikePermit__factory.d.ts +10 -10
  167. package/lib/types/factories/IDaiLikePermit__factory.js +10 -10
  168. package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +334 -334
  169. package/lib/types/factories/IDataCompressorV2_10__factory.js +334 -334
  170. package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +454 -454
  171. package/lib/types/factories/IDataCompressorV3_00__factory.js +454 -454
  172. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +14 -14
  173. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +14 -14
  174. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +43 -43
  175. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +51 -51
  176. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +15 -15
  177. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +15 -15
  178. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +8 -8
  179. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +8 -8
  180. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts +180 -180
  181. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.js +208 -208
  182. package/lib/types/factories/IERC165__factory.d.ts +4 -4
  183. package/lib/types/factories/IERC165__factory.js +4 -4
  184. package/lib/types/factories/IERC20Metadata__factory.d.ts +76 -76
  185. package/lib/types/factories/IERC20Metadata__factory.js +86 -86
  186. package/lib/types/factories/IERC20Permit__factory.d.ts +16 -16
  187. package/lib/types/factories/IERC20Permit__factory.js +16 -16
  188. package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +30 -30
  189. package/lib/types/factories/IERC20ZapperDeposits__factory.js +30 -30
  190. package/lib/types/factories/IERC20__factory.d.ts +67 -67
  191. package/lib/types/factories/IERC20__factory.js +77 -77
  192. package/lib/types/factories/IERC4626Adapter__factory.d.ts +60 -60
  193. package/lib/types/factories/IERC4626Adapter__factory.js +60 -60
  194. package/lib/types/factories/IERC4626__factory.d.ts +198 -198
  195. package/lib/types/factories/IERC4626__factory.js +221 -221
  196. package/lib/types/factories/IERC721Metadata__factory.d.ts +114 -114
  197. package/lib/types/factories/IERC721Metadata__factory.js +129 -129
  198. package/lib/types/factories/IERC721__factory.d.ts +104 -104
  199. package/lib/types/factories/IERC721__factory.js +119 -119
  200. package/lib/types/factories/IETHZapperDeposits__factory.d.ts +9 -9
  201. package/lib/types/factories/IETHZapperDeposits__factory.js +9 -9
  202. package/lib/types/factories/IFarmingPool__factory.d.ts +134 -134
  203. package/lib/types/factories/IFarmingPool__factory.js +152 -152
  204. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +46 -46
  205. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +50 -50
  206. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +172 -172
  207. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +200 -200
  208. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +48 -48
  209. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +49 -49
  210. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +225 -225
  211. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +253 -253
  212. package/lib/types/factories/IInterestRateModel__factory.d.ts +8 -8
  213. package/lib/types/factories/IInterestRateModel__factory.js +8 -8
  214. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +11 -11
  215. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +12 -12
  216. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +10 -10
  217. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +10 -10
  218. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +107 -107
  219. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +119 -119
  220. package/lib/types/factories/ILidoV1Adapter__factory.d.ts +40 -40
  221. package/lib/types/factories/ILidoV1Adapter__factory.js +40 -40
  222. package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +25 -25
  223. package/lib/types/factories/ILinearInterestRateModelV3__factory.js +25 -25
  224. package/lib/types/factories/IOffchainOracle__factory.d.ts +11 -11
  225. package/lib/types/factories/IOffchainOracle__factory.js +11 -11
  226. package/lib/types/factories/IPermit2__factory.d.ts +33 -33
  227. package/lib/types/factories/IPermit2__factory.js +33 -33
  228. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +44 -44
  229. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +45 -45
  230. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +190 -190
  231. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +216 -216
  232. package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +66 -66
  233. package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +72 -72
  234. package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +235 -235
  235. package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +286 -286
  236. package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +65 -65
  237. package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +68 -68
  238. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +574 -574
  239. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +696 -696
  240. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +22 -22
  241. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +22 -22
  242. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +28 -28
  243. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +28 -28
  244. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +6 -6
  245. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +7 -7
  246. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +6 -6
  247. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +6 -6
  248. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +71 -71
  249. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +78 -78
  250. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +68 -68
  251. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +75 -75
  252. package/lib/types/factories/IPriceOracleBase__factory.d.ts +27 -27
  253. package/lib/types/factories/IPriceOracleBase__factory.js +27 -27
  254. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +28 -28
  255. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +31 -31
  256. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +139 -139
  257. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +156 -156
  258. package/lib/types/factories/IRouterV3__factory.d.ts +178 -178
  259. package/lib/types/factories/IRouterV3__factory.js +191 -191
  260. package/lib/types/factories/IRouter__factory.d.ts +159 -159
  261. package/lib/types/factories/IRouter__factory.js +172 -172
  262. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +8 -8
  263. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +9 -9
  264. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -2
  265. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +2 -2
  266. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +78 -78
  267. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +84 -84
  268. package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +50 -50
  269. package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +50 -50
  270. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +10 -10
  271. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +11 -11
  272. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -2
  273. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +2 -2
  274. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +138 -138
  275. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +145 -145
  276. package/lib/types/factories/IVersion__factory.d.ts +3 -3
  277. package/lib/types/factories/IVersion__factory.js +3 -3
  278. package/lib/types/factories/IVotingContractV3__factory.d.ts +10 -10
  279. package/lib/types/factories/IVotingContractV3__factory.js +10 -10
  280. package/lib/types/factories/IWETHGateway__factory.d.ts +14 -14
  281. package/lib/types/factories/IWETHGateway__factory.js +14 -14
  282. package/lib/types/factories/IWETH__factory.d.ts +102 -102
  283. package/lib/types/factories/IWETH__factory.js +120 -120
  284. package/lib/types/factories/IYVault__factory.d.ts +112 -112
  285. package/lib/types/factories/IYVault__factory.js +122 -122
  286. package/lib/types/factories/IYearnV2Adapter__factory.d.ts +63 -63
  287. package/lib/types/factories/IYearnV2Adapter__factory.js +63 -63
  288. package/lib/types/factories/IZapperRegister__factory.d.ts +20 -20
  289. package/lib/types/factories/IZapperRegister__factory.js +22 -22
  290. package/lib/types/factories/IZapper__factory.d.ts +34 -34
  291. package/lib/types/factories/IZapper__factory.js +34 -34
  292. package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +97 -97
  293. package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +107 -107
  294. package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +101 -101
  295. package/lib/types/factories/IstETH.sol/IstETH__factory.js +111 -111
  296. package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +93 -93
  297. package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +103 -103
  298. package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +101 -101
  299. package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +111 -111
  300. package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +14 -14
  301. package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +15 -15
  302. package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +44 -44
  303. package/lib/types/factories/IwstETHV1Adapter__factory.js +44 -44
  304. package/lib/types/factories/NumericArrayLib__factory.d.ts +2 -2
  305. package/lib/types/factories/NumericArrayLib__factory.js +2 -2
  306. package/lib/types/factories/Ownable__factory.d.ts +23 -23
  307. package/lib/types/factories/Ownable__factory.js +27 -27
  308. package/lib/types/factories/RedstoneConstants__factory.d.ts +19 -19
  309. package/lib/types/factories/RedstoneConstants__factory.js +19 -19
  310. package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +101 -101
  311. package/lib/types/factories/RedstoneConsumerBase__factory.js +123 -123
  312. package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +101 -101
  313. package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +123 -123
  314. package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +8 -8
  315. package/lib/types/factories/RedstoneDefaultsLib__factory.js +8 -8
  316. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +5 -5
  317. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +5 -5
  318. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +10 -10
  319. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +10 -10
  320. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +193 -193
  321. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +220 -220
  322. package/lib/types/factories/SafeERC20__factory.d.ts +14 -14
  323. package/lib/types/factories/SafeERC20__factory.js +14 -14
  324. package/lib/types/factories/contracts/index.d.ts +1 -0
  325. package/lib/types/factories/contracts/index.js +30 -0
  326. package/lib/types/factories/contracts/interfaces/IGasPricer__factory.d.ts +22 -0
  327. package/lib/types/factories/contracts/interfaces/index.d.ts +1 -0
  328. package/lib/types/factories/contracts/interfaces/index.js +8 -0
  329. package/lib/types/factories/index.d.ts +2 -1
  330. package/lib/types/factories/index.js +4 -4
  331. package/lib/types/factories/{IGasPricer__factory.d.ts → interfaces/IGasPricer__factory.d.ts} +5 -5
  332. package/lib/types/factories/interfaces/IGasPricer__factory.js +38 -0
  333. package/lib/types/factories/interfaces/index.d.ts +1 -0
  334. package/lib/types/factories/interfaces/index.js +8 -0
  335. package/lib/types/index.d.ts +18 -14
  336. package/lib/types/index.js +25 -25
  337. package/lib/types/{IGasPricer.d.ts → interfaces/IGasPricer.d.ts} +1 -1
  338. package/lib/types/interfaces/IGasPricer.js +2 -0
  339. package/lib/types/interfaces/index.d.ts +1 -0
  340. package/lib/types/interfaces/index.js +2 -0
  341. package/package.json +4 -4
  342. package/lib/types/{IGasPricer.js → contracts/index.js} +0 -0
  343. package/lib/types/factories/{IGasPricer__factory.js → contracts/interfaces/IGasPricer__factory.js} +4 -4
@@ -7,89 +7,89 @@ exports.CalldataExtractor__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
9
  {
10
+ type: "function",
11
+ name: "extractTimestampsAndAssertAllAreEqual",
10
12
  inputs: [],
11
- name: "CalldataMustHaveValidPayload",
12
- type: "error",
13
+ outputs: [
14
+ {
15
+ name: "extractedTimestamp",
16
+ type: "uint256",
17
+ internalType: "uint256",
18
+ },
19
+ ],
20
+ stateMutability: "pure",
13
21
  },
14
22
  {
15
- inputs: [],
16
- name: "CalldataOverOrUnderFlow",
17
23
  type: "error",
24
+ name: "CalldataMustHaveValidPayload",
25
+ inputs: [],
18
26
  },
19
27
  {
20
- inputs: [],
21
- name: "DataPackageTimestampMustNotBeZero",
22
28
  type: "error",
29
+ name: "CalldataOverOrUnderFlow",
30
+ inputs: [],
23
31
  },
24
32
  {
25
- inputs: [],
26
- name: "DataPackageTimestampsMustBeEqual",
27
33
  type: "error",
34
+ name: "DataPackageTimestampMustNotBeZero",
35
+ inputs: [],
28
36
  },
29
37
  {
30
- inputs: [],
31
- name: "EachSignerMustProvideTheSameValue",
32
38
  type: "error",
39
+ name: "DataPackageTimestampsMustBeEqual",
40
+ inputs: [],
33
41
  },
34
42
  {
35
- inputs: [],
36
- name: "EmptyCalldataPointersArr",
37
43
  type: "error",
44
+ name: "EachSignerMustProvideTheSameValue",
45
+ inputs: [],
38
46
  },
39
47
  {
48
+ type: "error",
49
+ name: "EmptyCalldataPointersArr",
40
50
  inputs: [],
41
- name: "IncorrectUnsignedMetadataSize",
51
+ },
52
+ {
42
53
  type: "error",
54
+ name: "IncorrectUnsignedMetadataSize",
55
+ inputs: [],
43
56
  },
44
57
  {
58
+ type: "error",
59
+ name: "InsufficientNumberOfUniqueSigners",
45
60
  inputs: [
46
61
  {
47
- internalType: "uint256",
48
62
  name: "receivedSignersCount",
49
63
  type: "uint256",
64
+ internalType: "uint256",
50
65
  },
51
66
  {
52
- internalType: "uint256",
53
67
  name: "requiredSignersCount",
54
68
  type: "uint256",
69
+ internalType: "uint256",
55
70
  },
56
71
  ],
57
- name: "InsufficientNumberOfUniqueSigners",
58
- type: "error",
59
72
  },
60
73
  {
61
- inputs: [],
62
- name: "InvalidCalldataPointer",
63
74
  type: "error",
75
+ name: "InvalidCalldataPointer",
76
+ inputs: [],
64
77
  },
65
78
  {
66
- inputs: [],
67
- name: "RedstonePayloadMustHaveAtLeastOneDataPackage",
68
79
  type: "error",
80
+ name: "RedstonePayloadMustHaveAtLeastOneDataPackage",
81
+ inputs: [],
69
82
  },
70
83
  {
84
+ type: "error",
85
+ name: "SignerNotAuthorised",
71
86
  inputs: [
72
87
  {
73
- internalType: "address",
74
88
  name: "receivedSigner",
75
89
  type: "address",
90
+ internalType: "address",
76
91
  },
77
92
  ],
78
- name: "SignerNotAuthorised",
79
- type: "error",
80
- },
81
- {
82
- inputs: [],
83
- name: "extractTimestampsAndAssertAllAreEqual",
84
- outputs: [
85
- {
86
- internalType: "uint256",
87
- name: "extractedTimestamp",
88
- type: "uint256",
89
- },
90
- ],
91
- stateMutability: "pure",
92
- type: "function",
93
93
  },
94
94
  ];
95
95
  const _bytecode = "0x608060405234801561001057600080fd5b506104b7806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806355a547d514610030575b600080fd5b61003861004a565b60405190815260200160405180910390f35b6000806100556101ad565b90506000610062826102e2565b61ffff169050806000036100a2576040517f8552ff3c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100ad60028361040c565b915060005b818110156101a75760006100c584610335565b90506000806100d560688761040c565b905060006100e3823661041f565b9050803592508265ffffffffffff1660000361012b576040517f336dc9d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b87600003610143578265ffffffffffff169750610184565b878365ffffffffffff1614610184576040517fd9d1f46500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61018e848861040c565b965050505050808061019f90610432565b9150506100b2565b50505090565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610215576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610252576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd73601356000600961028b600362ffffff851661040c565b610295919061040c565b9050366102a360028361040c565b11156102db576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b6000806102f060208461040c565b90503681111561032c576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600061034384610371565b9092509050604e61035582602061040c565b61035f908461046a565b610369919061040c565b949350505050565b60008080808061038260418761040c565b9050600061039b61039460208461040c565b36906103c8565b8035945090506103ac8160036103c8565b62ffffff9490941697933563ffffffff16965092945050505050565b60006103d4828461041f565b90505b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156103d7576103d76103dd565b818103818111156103d7576103d76103dd565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610463576104636103dd565b5060010190565b80820281158282048414176103d7576103d76103dd56fea26469706673582212200c8cf363a34f56630ab2f1396b79389f83dba2498c9ffbce953e050f90996f7e64736f6c63430008110033";
@@ -15,62 +15,62 @@ export declare class Claimable__factory extends ContractFactory {
15
15
  connect(signer: Signer): Claimable__factory;
16
16
  static readonly bytecode = "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61045b8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80638da5cb5b116100505780638da5cb5b1461007e578063e30c3978146100c1578063f2fde38b146100e157600080fd5b80634e71e0c81461006c578063715018a614610076575b600080fd5b6100746100f4565b005b6100746101ec565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6001546100989073ffffffffffffffffffffffffffffffffffffffff1681565b6100746100ef3660046103e8565b610200565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f436c61696d61626c653a2053656e646572206973206e6f742070656e64696e6760448201527f206f776e6572000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6001546101c29073ffffffffffffffffffffffffffffffffffffffff166102f2565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6101f4610367565b6101fe60006102f2565b565b610208610367565b73ffffffffffffffffffffffffffffffffffffffff81166102ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f436c61696d61626c653a206e6577206f776e657220697320746865207a65726f60448201527f20616464726573730000000000000000000000000000000000000000000000006064820152608401610197565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610197565b6000602082840312156103fa57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461041e57600080fd5b939250505056fea2646970667358221220c7bbeef6e1a7155e6c0d8d791460d36c10ef5a98101ce08d24dd37089d899dab64736f6c63430008110033";
17
17
  static readonly abi: readonly [{
18
- readonly anonymous: false;
19
- readonly inputs: readonly [{
20
- readonly indexed: true;
21
- readonly internalType: "address";
22
- readonly name: "previousOwner";
23
- readonly type: "address";
24
- }, {
25
- readonly indexed: true;
26
- readonly internalType: "address";
27
- readonly name: "newOwner";
28
- readonly type: "address";
29
- }];
30
- readonly name: "OwnershipTransferred";
31
- readonly type: "event";
32
- }, {
33
- readonly inputs: readonly [];
18
+ readonly type: "function";
34
19
  readonly name: "claimOwnership";
20
+ readonly inputs: readonly [];
35
21
  readonly outputs: readonly [];
36
22
  readonly stateMutability: "nonpayable";
37
- readonly type: "function";
38
23
  }, {
39
- readonly inputs: readonly [];
24
+ readonly type: "function";
40
25
  readonly name: "owner";
26
+ readonly inputs: readonly [];
41
27
  readonly outputs: readonly [{
42
- readonly internalType: "address";
43
28
  readonly name: "";
44
29
  readonly type: "address";
30
+ readonly internalType: "address";
45
31
  }];
46
32
  readonly stateMutability: "view";
47
- readonly type: "function";
48
33
  }, {
49
- readonly inputs: readonly [];
34
+ readonly type: "function";
50
35
  readonly name: "pendingOwner";
36
+ readonly inputs: readonly [];
51
37
  readonly outputs: readonly [{
52
- readonly internalType: "address";
53
38
  readonly name: "";
54
39
  readonly type: "address";
40
+ readonly internalType: "address";
55
41
  }];
56
42
  readonly stateMutability: "view";
57
- readonly type: "function";
58
43
  }, {
59
- readonly inputs: readonly [];
44
+ readonly type: "function";
60
45
  readonly name: "renounceOwnership";
46
+ readonly inputs: readonly [];
61
47
  readonly outputs: readonly [];
62
48
  readonly stateMutability: "nonpayable";
63
- readonly type: "function";
64
49
  }, {
50
+ readonly type: "function";
51
+ readonly name: "transferOwnership";
65
52
  readonly inputs: readonly [{
66
- readonly internalType: "address";
67
53
  readonly name: "newOwner";
68
54
  readonly type: "address";
55
+ readonly internalType: "address";
69
56
  }];
70
- readonly name: "transferOwnership";
71
57
  readonly outputs: readonly [];
72
58
  readonly stateMutability: "nonpayable";
73
- readonly type: "function";
59
+ }, {
60
+ readonly type: "event";
61
+ readonly name: "OwnershipTransferred";
62
+ readonly inputs: readonly [{
63
+ readonly name: "previousOwner";
64
+ readonly type: "address";
65
+ readonly indexed: true;
66
+ readonly internalType: "address";
67
+ }, {
68
+ readonly name: "newOwner";
69
+ readonly type: "address";
70
+ readonly indexed: true;
71
+ readonly internalType: "address";
72
+ }];
73
+ readonly anonymous: false;
74
74
  }];
75
75
  static createInterface(): ClaimableInterface;
76
76
  static connect(address: string, signerOrProvider: Signer | Provider): Claimable;
@@ -7,76 +7,76 @@ exports.Claimable__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
9
  {
10
- anonymous: false,
11
- inputs: [
12
- {
13
- indexed: true,
14
- internalType: "address",
15
- name: "previousOwner",
16
- type: "address",
17
- },
18
- {
19
- indexed: true,
20
- internalType: "address",
21
- name: "newOwner",
22
- type: "address",
23
- },
24
- ],
25
- name: "OwnershipTransferred",
26
- type: "event",
27
- },
28
- {
29
- inputs: [],
10
+ type: "function",
30
11
  name: "claimOwnership",
12
+ inputs: [],
31
13
  outputs: [],
32
14
  stateMutability: "nonpayable",
33
- type: "function",
34
15
  },
35
16
  {
36
- inputs: [],
17
+ type: "function",
37
18
  name: "owner",
19
+ inputs: [],
38
20
  outputs: [
39
21
  {
40
- internalType: "address",
41
22
  name: "",
42
23
  type: "address",
24
+ internalType: "address",
43
25
  },
44
26
  ],
45
27
  stateMutability: "view",
46
- type: "function",
47
28
  },
48
29
  {
49
- inputs: [],
30
+ type: "function",
50
31
  name: "pendingOwner",
32
+ inputs: [],
51
33
  outputs: [
52
34
  {
53
- internalType: "address",
54
35
  name: "",
55
36
  type: "address",
37
+ internalType: "address",
56
38
  },
57
39
  ],
58
40
  stateMutability: "view",
59
- type: "function",
60
41
  },
61
42
  {
62
- inputs: [],
43
+ type: "function",
63
44
  name: "renounceOwnership",
45
+ inputs: [],
64
46
  outputs: [],
65
47
  stateMutability: "nonpayable",
66
- type: "function",
67
48
  },
68
49
  {
50
+ type: "function",
51
+ name: "transferOwnership",
69
52
  inputs: [
70
53
  {
71
- internalType: "address",
72
54
  name: "newOwner",
73
55
  type: "address",
56
+ internalType: "address",
74
57
  },
75
58
  ],
76
- name: "transferOwnership",
77
59
  outputs: [],
78
60
  stateMutability: "nonpayable",
79
- type: "function",
61
+ },
62
+ {
63
+ type: "event",
64
+ name: "OwnershipTransferred",
65
+ inputs: [
66
+ {
67
+ name: "previousOwner",
68
+ type: "address",
69
+ indexed: true,
70
+ internalType: "address",
71
+ },
72
+ {
73
+ name: "newOwner",
74
+ type: "address",
75
+ indexed: true,
76
+ internalType: "address",
77
+ },
78
+ ],
79
+ anonymous: false,
80
80
  },
81
81
  ];
82
82
  const _bytecode = "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61045b8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80638da5cb5b116100505780638da5cb5b1461007e578063e30c3978146100c1578063f2fde38b146100e157600080fd5b80634e71e0c81461006c578063715018a614610076575b600080fd5b6100746100f4565b005b6100746101ec565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6001546100989073ffffffffffffffffffffffffffffffffffffffff1681565b6100746100ef3660046103e8565b610200565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f436c61696d61626c653a2053656e646572206973206e6f742070656e64696e6760448201527f206f776e6572000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6001546101c29073ffffffffffffffffffffffffffffffffffffffff166102f2565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6101f4610367565b6101fe60006102f2565b565b610208610367565b73ffffffffffffffffffffffffffffffffffffffff81166102ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f436c61696d61626c653a206e6577206f776e657220697320746865207a65726f60448201527f20616464726573730000000000000000000000000000000000000000000000006064820152608401610197565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610197565b6000602082840312156103fa57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461041e57600080fd5b939250505056fea2646970667358221220c7bbeef6e1a7155e6c0d8d791460d36c10ef5a98101ce08d24dd37089d899dab64736f6c63430008110033";
@@ -15,223 +15,223 @@ export declare class ERC20__factory extends ContractFactory {
15
15
  connect(signer: Signer): ERC20__factory;
16
16
  static readonly bytecode = "0x60806040523480156200001157600080fd5b5060405162000e0f38038062000e0f83398101604081905262000034916200011f565b600362000042838262000218565b50600462000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610b1b80620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610908565b60405180910390f35b6100ff6100fa36600461099d565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109c7565b6102ac565b604051601281526020016100e3565b6100ff61015136600461099d565b6102d0565b610113610164366004610a03565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d661031c565b6100ff6101a236600461099d565b61032b565b6100ff6101b536600461099d565b610401565b6101136101c8366004610a25565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610a58565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a58565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b6000336102a081858561040f565b60019150505b92915050565b6000336102ba8582856105c2565b6102c5858585610699565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102a09082908690610317908790610aab565b61040f565b60606004805461020f90610a58565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102c5828686840361040f565b6000336102a0818585610699565b73ffffffffffffffffffffffffffffffffffffffff83166104b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff8216610554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106935781811015610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103eb565b610693848484840361040f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661073c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff82166107df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610693565b600060208083528351808285015260005b8181101561093557858101830151858201604001528201610919565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461099857600080fd5b919050565b600080604083850312156109b057600080fd5b6109b983610974565b946020939093013593505050565b6000806000606084860312156109dc57600080fd5b6109e584610974565b92506109f360208501610974565b9150604084013590509250925092565b600060208284031215610a1557600080fd5b610a1e82610974565b9392505050565b60008060408385031215610a3857600080fd5b610a4183610974565b9150610a4f60208401610974565b90509250929050565b600181811c90821680610a6c57607f821691505b602082108103610aa5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156102a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212204f6c335da98a4d625432f1cf70d64eae94140c14fad4e6c939bad73f31edc29164736f6c63430008110033";
17
17
  static readonly abi: readonly [{
18
+ readonly type: "constructor";
18
19
  readonly inputs: readonly [{
19
- readonly internalType: "string";
20
20
  readonly name: "name_";
21
21
  readonly type: "string";
22
- }, {
23
22
  readonly internalType: "string";
23
+ }, {
24
24
  readonly name: "symbol_";
25
25
  readonly type: "string";
26
+ readonly internalType: "string";
26
27
  }];
27
28
  readonly stateMutability: "nonpayable";
28
- readonly type: "constructor";
29
29
  }, {
30
- readonly anonymous: false;
30
+ readonly type: "function";
31
+ readonly name: "allowance";
31
32
  readonly inputs: readonly [{
32
- readonly indexed: true;
33
- readonly internalType: "address";
34
33
  readonly name: "owner";
35
34
  readonly type: "address";
36
- }, {
37
- readonly indexed: true;
38
35
  readonly internalType: "address";
39
- readonly name: "spender";
40
- readonly type: "address";
41
36
  }, {
42
- readonly indexed: false;
43
- readonly internalType: "uint256";
44
- readonly name: "value";
45
- readonly type: "uint256";
46
- }];
47
- readonly name: "Approval";
48
- readonly type: "event";
49
- }, {
50
- readonly anonymous: false;
51
- readonly inputs: readonly [{
52
- readonly indexed: true;
53
- readonly internalType: "address";
54
- readonly name: "from";
55
- readonly type: "address";
56
- }, {
57
- readonly indexed: true;
58
- readonly internalType: "address";
59
- readonly name: "to";
60
- readonly type: "address";
61
- }, {
62
- readonly indexed: false;
63
- readonly internalType: "uint256";
64
- readonly name: "value";
65
- readonly type: "uint256";
66
- }];
67
- readonly name: "Transfer";
68
- readonly type: "event";
69
- }, {
70
- readonly inputs: readonly [{
71
- readonly internalType: "address";
72
- readonly name: "owner";
73
- readonly type: "address";
74
- }, {
75
- readonly internalType: "address";
76
37
  readonly name: "spender";
77
38
  readonly type: "address";
39
+ readonly internalType: "address";
78
40
  }];
79
- readonly name: "allowance";
80
41
  readonly outputs: readonly [{
81
- readonly internalType: "uint256";
82
42
  readonly name: "";
83
43
  readonly type: "uint256";
44
+ readonly internalType: "uint256";
84
45
  }];
85
46
  readonly stateMutability: "view";
86
- readonly type: "function";
87
47
  }, {
48
+ readonly type: "function";
49
+ readonly name: "approve";
88
50
  readonly inputs: readonly [{
89
- readonly internalType: "address";
90
51
  readonly name: "spender";
91
52
  readonly type: "address";
53
+ readonly internalType: "address";
92
54
  }, {
93
- readonly internalType: "uint256";
94
55
  readonly name: "amount";
95
56
  readonly type: "uint256";
57
+ readonly internalType: "uint256";
96
58
  }];
97
- readonly name: "approve";
98
59
  readonly outputs: readonly [{
99
- readonly internalType: "bool";
100
60
  readonly name: "";
101
61
  readonly type: "bool";
62
+ readonly internalType: "bool";
102
63
  }];
103
64
  readonly stateMutability: "nonpayable";
104
- readonly type: "function";
105
65
  }, {
66
+ readonly type: "function";
67
+ readonly name: "balanceOf";
106
68
  readonly inputs: readonly [{
107
- readonly internalType: "address";
108
69
  readonly name: "account";
109
70
  readonly type: "address";
71
+ readonly internalType: "address";
110
72
  }];
111
- readonly name: "balanceOf";
112
73
  readonly outputs: readonly [{
113
- readonly internalType: "uint256";
114
74
  readonly name: "";
115
75
  readonly type: "uint256";
76
+ readonly internalType: "uint256";
116
77
  }];
117
78
  readonly stateMutability: "view";
118
- readonly type: "function";
119
79
  }, {
120
- readonly inputs: readonly [];
80
+ readonly type: "function";
121
81
  readonly name: "decimals";
82
+ readonly inputs: readonly [];
122
83
  readonly outputs: readonly [{
123
- readonly internalType: "uint8";
124
84
  readonly name: "";
125
85
  readonly type: "uint8";
86
+ readonly internalType: "uint8";
126
87
  }];
127
88
  readonly stateMutability: "view";
128
- readonly type: "function";
129
89
  }, {
90
+ readonly type: "function";
91
+ readonly name: "decreaseAllowance";
130
92
  readonly inputs: readonly [{
131
- readonly internalType: "address";
132
93
  readonly name: "spender";
133
94
  readonly type: "address";
95
+ readonly internalType: "address";
134
96
  }, {
135
- readonly internalType: "uint256";
136
97
  readonly name: "subtractedValue";
137
98
  readonly type: "uint256";
99
+ readonly internalType: "uint256";
138
100
  }];
139
- readonly name: "decreaseAllowance";
140
101
  readonly outputs: readonly [{
141
- readonly internalType: "bool";
142
102
  readonly name: "";
143
103
  readonly type: "bool";
104
+ readonly internalType: "bool";
144
105
  }];
145
106
  readonly stateMutability: "nonpayable";
146
- readonly type: "function";
147
107
  }, {
108
+ readonly type: "function";
109
+ readonly name: "increaseAllowance";
148
110
  readonly inputs: readonly [{
149
- readonly internalType: "address";
150
111
  readonly name: "spender";
151
112
  readonly type: "address";
113
+ readonly internalType: "address";
152
114
  }, {
153
- readonly internalType: "uint256";
154
115
  readonly name: "addedValue";
155
116
  readonly type: "uint256";
117
+ readonly internalType: "uint256";
156
118
  }];
157
- readonly name: "increaseAllowance";
158
119
  readonly outputs: readonly [{
159
- readonly internalType: "bool";
160
120
  readonly name: "";
161
121
  readonly type: "bool";
122
+ readonly internalType: "bool";
162
123
  }];
163
124
  readonly stateMutability: "nonpayable";
164
- readonly type: "function";
165
125
  }, {
166
- readonly inputs: readonly [];
126
+ readonly type: "function";
167
127
  readonly name: "name";
128
+ readonly inputs: readonly [];
168
129
  readonly outputs: readonly [{
169
- readonly internalType: "string";
170
130
  readonly name: "";
171
131
  readonly type: "string";
132
+ readonly internalType: "string";
172
133
  }];
173
134
  readonly stateMutability: "view";
174
- readonly type: "function";
175
135
  }, {
176
- readonly inputs: readonly [];
136
+ readonly type: "function";
177
137
  readonly name: "symbol";
138
+ readonly inputs: readonly [];
178
139
  readonly outputs: readonly [{
179
- readonly internalType: "string";
180
140
  readonly name: "";
181
141
  readonly type: "string";
142
+ readonly internalType: "string";
182
143
  }];
183
144
  readonly stateMutability: "view";
184
- readonly type: "function";
185
145
  }, {
186
- readonly inputs: readonly [];
146
+ readonly type: "function";
187
147
  readonly name: "totalSupply";
148
+ readonly inputs: readonly [];
188
149
  readonly outputs: readonly [{
189
- readonly internalType: "uint256";
190
150
  readonly name: "";
191
151
  readonly type: "uint256";
152
+ readonly internalType: "uint256";
192
153
  }];
193
154
  readonly stateMutability: "view";
194
- readonly type: "function";
195
155
  }, {
156
+ readonly type: "function";
157
+ readonly name: "transfer";
196
158
  readonly inputs: readonly [{
197
- readonly internalType: "address";
198
159
  readonly name: "to";
199
160
  readonly type: "address";
161
+ readonly internalType: "address";
200
162
  }, {
201
- readonly internalType: "uint256";
202
163
  readonly name: "amount";
203
164
  readonly type: "uint256";
165
+ readonly internalType: "uint256";
204
166
  }];
205
- readonly name: "transfer";
206
167
  readonly outputs: readonly [{
207
- readonly internalType: "bool";
208
168
  readonly name: "";
209
169
  readonly type: "bool";
170
+ readonly internalType: "bool";
210
171
  }];
211
172
  readonly stateMutability: "nonpayable";
212
- readonly type: "function";
213
173
  }, {
174
+ readonly type: "function";
175
+ readonly name: "transferFrom";
214
176
  readonly inputs: readonly [{
215
- readonly internalType: "address";
216
177
  readonly name: "from";
217
178
  readonly type: "address";
218
- }, {
219
179
  readonly internalType: "address";
180
+ }, {
220
181
  readonly name: "to";
221
182
  readonly type: "address";
183
+ readonly internalType: "address";
222
184
  }, {
223
- readonly internalType: "uint256";
224
185
  readonly name: "amount";
225
186
  readonly type: "uint256";
187
+ readonly internalType: "uint256";
226
188
  }];
227
- readonly name: "transferFrom";
228
189
  readonly outputs: readonly [{
229
- readonly internalType: "bool";
230
190
  readonly name: "";
231
191
  readonly type: "bool";
192
+ readonly internalType: "bool";
232
193
  }];
233
194
  readonly stateMutability: "nonpayable";
234
- readonly type: "function";
195
+ }, {
196
+ readonly type: "event";
197
+ readonly name: "Approval";
198
+ readonly inputs: readonly [{
199
+ readonly name: "owner";
200
+ readonly type: "address";
201
+ readonly indexed: true;
202
+ readonly internalType: "address";
203
+ }, {
204
+ readonly name: "spender";
205
+ readonly type: "address";
206
+ readonly indexed: true;
207
+ readonly internalType: "address";
208
+ }, {
209
+ readonly name: "value";
210
+ readonly type: "uint256";
211
+ readonly indexed: false;
212
+ readonly internalType: "uint256";
213
+ }];
214
+ readonly anonymous: false;
215
+ }, {
216
+ readonly type: "event";
217
+ readonly name: "Transfer";
218
+ readonly inputs: readonly [{
219
+ readonly name: "from";
220
+ readonly type: "address";
221
+ readonly indexed: true;
222
+ readonly internalType: "address";
223
+ }, {
224
+ readonly name: "to";
225
+ readonly type: "address";
226
+ readonly indexed: true;
227
+ readonly internalType: "address";
228
+ }, {
229
+ readonly name: "value";
230
+ readonly type: "uint256";
231
+ readonly indexed: false;
232
+ readonly internalType: "uint256";
233
+ }];
234
+ readonly anonymous: false;
235
235
  }];
236
236
  static createInterface(): ERC20Interface;
237
237
  static connect(address: string, signerOrProvider: Signer | Provider): ERC20;