@bgd-labs/aave-address-book 1.24.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (488) hide show
  1. package/dist/AaveAddressBook.cjs +188 -0
  2. package/dist/AaveAddressBook.cjs.map +1 -0
  3. package/dist/AaveAddressBook.d.ts +51 -27
  4. package/dist/AaveAddressBook.global.js +76 -0
  5. package/dist/AaveAddressBook.global.js.map +1 -0
  6. package/dist/AaveAddressBook.js +104 -53
  7. package/dist/AaveAddressBook.js.map +1 -0
  8. package/dist/AaveGovernanceV2-aa8fe2a5.d.ts +46 -0
  9. package/dist/AaveGovernanceV2.cjs +64 -0
  10. package/dist/AaveGovernanceV2.cjs.map +1 -0
  11. package/dist/AaveGovernanceV2.d.ts +1 -13
  12. package/dist/AaveGovernanceV2.global.js +16 -0
  13. package/dist/AaveGovernanceV2.global.js.map +1 -0
  14. package/dist/AaveGovernanceV2.js +29 -16
  15. package/dist/AaveGovernanceV2.js.map +1 -0
  16. package/dist/AaveSafetyModule-58dcd7a4.d.ts +13 -0
  17. package/dist/AaveSafetyModule.cjs +31 -0
  18. package/dist/AaveSafetyModule.cjs.map +1 -0
  19. package/dist/AaveSafetyModule.d.ts +1 -2
  20. package/dist/AaveSafetyModule.global.js +5 -0
  21. package/dist/AaveSafetyModule.global.js.map +1 -0
  22. package/dist/AaveSafetyModule.js +7 -5
  23. package/dist/AaveSafetyModule.js.map +1 -0
  24. package/dist/AaveV2Avalanche-6e8c1f87.d.ts +79 -0
  25. package/dist/AaveV2Avalanche.cjs +97 -0
  26. package/dist/AaveV2Avalanche.cjs.map +1 -0
  27. package/dist/AaveV2Avalanche.d.ts +1 -22
  28. package/dist/AaveV2Avalanche.global.js +27 -0
  29. package/dist/AaveV2Avalanche.global.js.map +1 -0
  30. package/dist/AaveV2Avalanche.js +51 -26
  31. package/dist/AaveV2Avalanche.js.map +1 -0
  32. package/dist/AaveV2AvalancheAssets-cf2f7551.d.ts +133 -0
  33. package/dist/AaveV2AvalancheAssets.cjs +151 -0
  34. package/dist/AaveV2AvalancheAssets.cjs.map +1 -0
  35. package/dist/AaveV2AvalancheAssets.d.ts +1 -0
  36. package/dist/AaveV2AvalancheAssets.global.js +45 -0
  37. package/dist/AaveV2AvalancheAssets.global.js.map +1 -0
  38. package/dist/AaveV2AvalancheAssets.js +87 -0
  39. package/dist/AaveV2AvalancheAssets.js.map +1 -0
  40. package/dist/AaveV2Ethereum-47fc848c.d.ts +73 -0
  41. package/dist/AaveV2Ethereum.cjs +91 -0
  42. package/dist/AaveV2Ethereum.cjs.map +1 -0
  43. package/dist/AaveV2Ethereum.d.ts +1 -20
  44. package/dist/AaveV2Ethereum.global.js +25 -0
  45. package/dist/AaveV2Ethereum.global.js.map +1 -0
  46. package/dist/AaveV2Ethereum.js +47 -24
  47. package/dist/AaveV2Ethereum.js.map +1 -0
  48. package/dist/AaveV2EthereumAMM-9b1494a6.d.ts +67 -0
  49. package/dist/AaveV2EthereumAMM.cjs +85 -0
  50. package/dist/AaveV2EthereumAMM.cjs.map +1 -0
  51. package/dist/AaveV2EthereumAMM.d.ts +1 -17
  52. package/dist/AaveV2EthereumAMM.global.js +23 -0
  53. package/dist/AaveV2EthereumAMM.global.js.map +1 -0
  54. package/dist/AaveV2EthereumAMM.js +43 -21
  55. package/dist/AaveV2EthereumAMM.js.map +1 -0
  56. package/dist/AaveV2EthereumAMMAssets-f6475d27.d.ts +421 -0
  57. package/dist/AaveV2EthereumAMMAssets.cjs +439 -0
  58. package/dist/AaveV2EthereumAMMAssets.cjs.map +1 -0
  59. package/dist/AaveV2EthereumAMMAssets.d.ts +1 -0
  60. package/dist/AaveV2EthereumAMMAssets.global.js +141 -0
  61. package/dist/AaveV2EthereumAMMAssets.global.js.map +1 -0
  62. package/dist/AaveV2EthereumAMMAssets.js +279 -0
  63. package/dist/AaveV2EthereumAMMAssets.js.map +1 -0
  64. package/dist/AaveV2EthereumArc-360d73ff.d.ts +46 -0
  65. package/dist/AaveV2EthereumArc.cjs +64 -0
  66. package/dist/AaveV2EthereumArc.cjs.map +1 -0
  67. package/dist/AaveV2EthereumArc.d.ts +1 -13
  68. package/dist/AaveV2EthereumArc.global.js +16 -0
  69. package/dist/AaveV2EthereumArc.global.js.map +1 -0
  70. package/dist/AaveV2EthereumArc.js +29 -17
  71. package/dist/AaveV2EthereumArc.js.map +1 -0
  72. package/dist/AaveV2EthereumAssets-3aae4284.d.ts +673 -0
  73. package/dist/AaveV2EthereumAssets.cjs +691 -0
  74. package/dist/AaveV2EthereumAssets.cjs.map +1 -0
  75. package/dist/AaveV2EthereumAssets.d.ts +1 -0
  76. package/dist/AaveV2EthereumAssets.global.js +225 -0
  77. package/dist/AaveV2EthereumAssets.global.js.map +1 -0
  78. package/dist/AaveV2EthereumAssets.js +447 -0
  79. package/dist/AaveV2EthereumAssets.js.map +1 -0
  80. package/dist/AaveV2Fuji-84894cc7.d.ts +61 -0
  81. package/dist/AaveV2Fuji.cjs +79 -0
  82. package/dist/AaveV2Fuji.cjs.map +1 -0
  83. package/dist/AaveV2Fuji.d.ts +1 -18
  84. package/dist/AaveV2Fuji.global.js +21 -0
  85. package/dist/AaveV2Fuji.global.js.map +1 -0
  86. package/dist/AaveV2Fuji.js +39 -22
  87. package/dist/AaveV2Fuji.js.map +1 -0
  88. package/dist/AaveV2FujiAssets-90c839b4.d.ts +79 -0
  89. package/dist/AaveV2FujiAssets.cjs +97 -0
  90. package/dist/AaveV2FujiAssets.cjs.map +1 -0
  91. package/dist/AaveV2FujiAssets.d.ts +1 -0
  92. package/dist/AaveV2FujiAssets.global.js +27 -0
  93. package/dist/AaveV2FujiAssets.global.js.map +1 -0
  94. package/dist/AaveV2FujiAssets.js +51 -0
  95. package/dist/AaveV2FujiAssets.js.map +1 -0
  96. package/dist/AaveV2Goerli-dfd57032.d.ts +61 -0
  97. package/dist/AaveV2Goerli.cjs +79 -0
  98. package/dist/AaveV2Goerli.cjs.map +1 -0
  99. package/dist/AaveV2Goerli.d.ts +1 -18
  100. package/dist/AaveV2Goerli.global.js +21 -0
  101. package/dist/AaveV2Goerli.global.js.map +1 -0
  102. package/dist/AaveV2Goerli.js +39 -22
  103. package/dist/AaveV2Goerli.js.map +1 -0
  104. package/dist/AaveV2GoerliAssets-5b479d0e.d.ts +385 -0
  105. package/dist/AaveV2GoerliAssets.cjs +403 -0
  106. package/dist/AaveV2GoerliAssets.cjs.map +1 -0
  107. package/dist/AaveV2GoerliAssets.d.ts +1 -0
  108. package/dist/AaveV2GoerliAssets.global.js +129 -0
  109. package/dist/AaveV2GoerliAssets.global.js.map +1 -0
  110. package/dist/AaveV2GoerliAssets.js +255 -0
  111. package/dist/AaveV2GoerliAssets.js.map +1 -0
  112. package/dist/AaveV2Mumbai-772b93b4.d.ts +61 -0
  113. package/dist/AaveV2Mumbai.cjs +79 -0
  114. package/dist/AaveV2Mumbai.cjs.map +1 -0
  115. package/dist/AaveV2Mumbai.d.ts +1 -18
  116. package/dist/AaveV2Mumbai.global.js +21 -0
  117. package/dist/AaveV2Mumbai.global.js.map +1 -0
  118. package/dist/AaveV2Mumbai.js +39 -22
  119. package/dist/AaveV2Mumbai.js.map +1 -0
  120. package/dist/AaveV2MumbaiAssets-52916773.d.ts +133 -0
  121. package/dist/AaveV2MumbaiAssets.cjs +151 -0
  122. package/dist/AaveV2MumbaiAssets.cjs.map +1 -0
  123. package/dist/AaveV2MumbaiAssets.d.ts +1 -0
  124. package/dist/AaveV2MumbaiAssets.global.js +45 -0
  125. package/dist/AaveV2MumbaiAssets.global.js.map +1 -0
  126. package/dist/AaveV2MumbaiAssets.js +87 -0
  127. package/dist/AaveV2MumbaiAssets.js.map +1 -0
  128. package/dist/AaveV2Polygon-842b4921.d.ts +73 -0
  129. package/dist/AaveV2Polygon.cjs +91 -0
  130. package/dist/AaveV2Polygon.cjs.map +1 -0
  131. package/dist/AaveV2Polygon.d.ts +1 -20
  132. package/dist/AaveV2Polygon.global.js +25 -0
  133. package/dist/AaveV2Polygon.global.js.map +1 -0
  134. package/dist/AaveV2Polygon.js +47 -24
  135. package/dist/AaveV2Polygon.js.map +1 -0
  136. package/dist/AaveV2PolygonAssets-3b624882.d.ts +241 -0
  137. package/dist/AaveV2PolygonAssets.cjs +259 -0
  138. package/dist/AaveV2PolygonAssets.cjs.map +1 -0
  139. package/dist/AaveV2PolygonAssets.d.ts +1 -0
  140. package/dist/AaveV2PolygonAssets.global.js +81 -0
  141. package/dist/AaveV2PolygonAssets.global.js.map +1 -0
  142. package/dist/AaveV2PolygonAssets.js +159 -0
  143. package/dist/AaveV2PolygonAssets.js.map +1 -0
  144. package/dist/AaveV3Arbitrum-98a8af00.d.ts +88 -0
  145. package/dist/AaveV3Arbitrum.cjs +106 -0
  146. package/dist/AaveV3Arbitrum.cjs.map +1 -0
  147. package/dist/AaveV3Arbitrum.d.ts +1 -27
  148. package/dist/AaveV3Arbitrum.global.js +30 -0
  149. package/dist/AaveV3Arbitrum.global.js.map +1 -0
  150. package/dist/AaveV3Arbitrum.js +57 -31
  151. package/dist/AaveV3Arbitrum.js.map +1 -0
  152. package/dist/AaveV3ArbitrumAssets-d821c130.d.ts +187 -0
  153. package/dist/AaveV3ArbitrumAssets.cjs +205 -0
  154. package/dist/AaveV3ArbitrumAssets.cjs.map +1 -0
  155. package/dist/AaveV3ArbitrumAssets.d.ts +1 -0
  156. package/dist/AaveV3ArbitrumAssets.global.js +63 -0
  157. package/dist/AaveV3ArbitrumAssets.global.js.map +1 -0
  158. package/dist/AaveV3ArbitrumAssets.js +123 -0
  159. package/dist/AaveV3ArbitrumAssets.js.map +1 -0
  160. package/dist/AaveV3ArbitrumGoerli-8471df44.d.ts +70 -0
  161. package/dist/AaveV3ArbitrumGoerli.cjs +88 -0
  162. package/dist/AaveV3ArbitrumGoerli.cjs.map +1 -0
  163. package/dist/AaveV3ArbitrumGoerli.d.ts +1 -21
  164. package/dist/AaveV3ArbitrumGoerli.global.js +24 -0
  165. package/dist/AaveV3ArbitrumGoerli.global.js.map +1 -0
  166. package/dist/AaveV3ArbitrumGoerli.js +45 -25
  167. package/dist/AaveV3ArbitrumGoerli.js.map +1 -0
  168. package/dist/AaveV3ArbitrumGoerliAssets-d664ff06.d.ts +151 -0
  169. package/dist/AaveV3ArbitrumGoerliAssets.cjs +169 -0
  170. package/dist/AaveV3ArbitrumGoerliAssets.cjs.map +1 -0
  171. package/dist/AaveV3ArbitrumGoerliAssets.d.ts +1 -0
  172. package/dist/AaveV3ArbitrumGoerliAssets.global.js +51 -0
  173. package/dist/AaveV3ArbitrumGoerliAssets.global.js.map +1 -0
  174. package/dist/AaveV3ArbitrumGoerliAssets.js +99 -0
  175. package/dist/AaveV3ArbitrumGoerliAssets.js.map +1 -0
  176. package/dist/AaveV3Avalanche-2f855fd0.d.ts +91 -0
  177. package/dist/AaveV3Avalanche.cjs +109 -0
  178. package/dist/AaveV3Avalanche.cjs.map +1 -0
  179. package/dist/AaveV3Avalanche.d.ts +1 -28
  180. package/dist/AaveV3Avalanche.global.js +31 -0
  181. package/dist/AaveV3Avalanche.global.js.map +1 -0
  182. package/dist/AaveV3Avalanche.js +59 -32
  183. package/dist/AaveV3Avalanche.js.map +1 -0
  184. package/dist/AaveV3AvalancheAssets-f8b4c30f.d.ts +223 -0
  185. package/dist/AaveV3AvalancheAssets.cjs +241 -0
  186. package/dist/AaveV3AvalancheAssets.cjs.map +1 -0
  187. package/dist/AaveV3AvalancheAssets.d.ts +1 -0
  188. package/dist/AaveV3AvalancheAssets.global.js +75 -0
  189. package/dist/AaveV3AvalancheAssets.global.js.map +1 -0
  190. package/dist/AaveV3AvalancheAssets.js +147 -0
  191. package/dist/AaveV3AvalancheAssets.js.map +1 -0
  192. package/dist/AaveV3Ethereum-0c4fdbe0.d.ts +88 -0
  193. package/dist/AaveV3Ethereum.cjs +106 -0
  194. package/dist/AaveV3Ethereum.cjs.map +1 -0
  195. package/dist/AaveV3Ethereum.d.ts +1 -27
  196. package/dist/AaveV3Ethereum.global.js +30 -0
  197. package/dist/AaveV3Ethereum.global.js.map +1 -0
  198. package/dist/AaveV3Ethereum.js +57 -31
  199. package/dist/AaveV3Ethereum.js.map +1 -0
  200. package/dist/AaveV3EthereumAssets-e7493b8a.d.ts +313 -0
  201. package/dist/AaveV3EthereumAssets.cjs +331 -0
  202. package/dist/AaveV3EthereumAssets.cjs.map +1 -0
  203. package/dist/AaveV3EthereumAssets.d.ts +1 -0
  204. package/dist/AaveV3EthereumAssets.global.js +105 -0
  205. package/dist/AaveV3EthereumAssets.global.js.map +1 -0
  206. package/dist/AaveV3EthereumAssets.js +207 -0
  207. package/dist/AaveV3EthereumAssets.js.map +1 -0
  208. package/dist/AaveV3Fantom-ba0269e3.d.ts +73 -0
  209. package/dist/AaveV3Fantom.cjs +91 -0
  210. package/dist/AaveV3Fantom.cjs.map +1 -0
  211. package/dist/AaveV3Fantom.d.ts +1 -22
  212. package/dist/AaveV3Fantom.global.js +25 -0
  213. package/dist/AaveV3Fantom.global.js.map +1 -0
  214. package/dist/AaveV3Fantom.js +47 -26
  215. package/dist/AaveV3Fantom.js.map +1 -0
  216. package/dist/AaveV3FantomAssets-73ac8e0d.d.ts +187 -0
  217. package/dist/AaveV3FantomAssets.cjs +205 -0
  218. package/dist/AaveV3FantomAssets.cjs.map +1 -0
  219. package/dist/AaveV3FantomAssets.d.ts +1 -0
  220. package/dist/AaveV3FantomAssets.global.js +63 -0
  221. package/dist/AaveV3FantomAssets.global.js.map +1 -0
  222. package/dist/AaveV3FantomAssets.js +123 -0
  223. package/dist/AaveV3FantomAssets.js.map +1 -0
  224. package/dist/AaveV3FantomTestnet-ba1ed736.d.ts +67 -0
  225. package/dist/AaveV3FantomTestnet.cjs +85 -0
  226. package/dist/AaveV3FantomTestnet.cjs.map +1 -0
  227. package/dist/AaveV3FantomTestnet.d.ts +1 -20
  228. package/dist/AaveV3FantomTestnet.global.js +23 -0
  229. package/dist/AaveV3FantomTestnet.global.js.map +1 -0
  230. package/dist/AaveV3FantomTestnet.js +43 -24
  231. package/dist/AaveV3FantomTestnet.js.map +1 -0
  232. package/dist/AaveV3FantomTestnetAssets-2b4441be.d.ts +187 -0
  233. package/dist/AaveV3FantomTestnetAssets.cjs +205 -0
  234. package/dist/AaveV3FantomTestnetAssets.cjs.map +1 -0
  235. package/dist/AaveV3FantomTestnetAssets.d.ts +1 -0
  236. package/dist/AaveV3FantomTestnetAssets.global.js +63 -0
  237. package/dist/AaveV3FantomTestnetAssets.global.js.map +1 -0
  238. package/dist/AaveV3FantomTestnetAssets.js +123 -0
  239. package/dist/AaveV3FantomTestnetAssets.js.map +1 -0
  240. package/dist/AaveV3Fuji-7ff8ceee.d.ts +67 -0
  241. package/dist/AaveV3Fuji.cjs +85 -0
  242. package/dist/AaveV3Fuji.cjs.map +1 -0
  243. package/dist/AaveV3Fuji.d.ts +1 -20
  244. package/dist/AaveV3Fuji.global.js +23 -0
  245. package/dist/AaveV3Fuji.global.js.map +1 -0
  246. package/dist/AaveV3Fuji.js +43 -24
  247. package/dist/AaveV3Fuji.js.map +1 -0
  248. package/dist/AaveV3FujiAssets-a8e4b50c.d.ts +151 -0
  249. package/dist/AaveV3FujiAssets.cjs +169 -0
  250. package/dist/AaveV3FujiAssets.cjs.map +1 -0
  251. package/dist/AaveV3FujiAssets.d.ts +1 -0
  252. package/dist/AaveV3FujiAssets.global.js +51 -0
  253. package/dist/AaveV3FujiAssets.global.js.map +1 -0
  254. package/dist/AaveV3FujiAssets.js +99 -0
  255. package/dist/AaveV3FujiAssets.js.map +1 -0
  256. package/dist/AaveV3Goerli-c0ec2959.d.ts +67 -0
  257. package/dist/AaveV3Goerli.cjs +85 -0
  258. package/dist/AaveV3Goerli.cjs.map +1 -0
  259. package/dist/AaveV3Goerli.d.ts +1 -20
  260. package/dist/AaveV3Goerli.global.js +23 -0
  261. package/dist/AaveV3Goerli.global.js.map +1 -0
  262. package/dist/AaveV3Goerli.js +43 -24
  263. package/dist/AaveV3Goerli.js.map +1 -0
  264. package/dist/AaveV3GoerliAssets-6cc963ca.d.ts +151 -0
  265. package/dist/AaveV3GoerliAssets.cjs +169 -0
  266. package/dist/AaveV3GoerliAssets.cjs.map +1 -0
  267. package/dist/AaveV3GoerliAssets.d.ts +1 -0
  268. package/dist/AaveV3GoerliAssets.global.js +51 -0
  269. package/dist/AaveV3GoerliAssets.global.js.map +1 -0
  270. package/dist/AaveV3GoerliAssets.js +99 -0
  271. package/dist/AaveV3GoerliAssets.js.map +1 -0
  272. package/dist/AaveV3GoerliGho-b6a02ebe.d.ts +67 -0
  273. package/dist/AaveV3GoerliGho.cjs +85 -0
  274. package/dist/AaveV3GoerliGho.cjs.map +1 -0
  275. package/dist/AaveV3GoerliGho.d.ts +1 -20
  276. package/dist/AaveV3GoerliGho.global.js +23 -0
  277. package/dist/AaveV3GoerliGho.global.js.map +1 -0
  278. package/dist/AaveV3GoerliGho.js +43 -24
  279. package/dist/AaveV3GoerliGho.js.map +1 -0
  280. package/dist/AaveV3GoerliGhoAssets-08b5adbb.d.ts +115 -0
  281. package/dist/AaveV3GoerliGhoAssets.cjs +133 -0
  282. package/dist/AaveV3GoerliGhoAssets.cjs.map +1 -0
  283. package/dist/AaveV3GoerliGhoAssets.d.ts +1 -0
  284. package/dist/AaveV3GoerliGhoAssets.global.js +39 -0
  285. package/dist/AaveV3GoerliGhoAssets.global.js.map +1 -0
  286. package/dist/AaveV3GoerliGhoAssets.js +75 -0
  287. package/dist/AaveV3GoerliGhoAssets.js.map +1 -0
  288. package/dist/AaveV3Harmony-b4e7f2ce.d.ts +67 -0
  289. package/dist/AaveV3Harmony.cjs +85 -0
  290. package/dist/AaveV3Harmony.cjs.map +1 -0
  291. package/dist/AaveV3Harmony.d.ts +1 -20
  292. package/dist/AaveV3Harmony.global.js +23 -0
  293. package/dist/AaveV3Harmony.global.js.map +1 -0
  294. package/dist/AaveV3Harmony.js +43 -24
  295. package/dist/AaveV3Harmony.js.map +1 -0
  296. package/dist/AaveV3HarmonyAssets-08d1832a.d.ts +151 -0
  297. package/dist/AaveV3HarmonyAssets.cjs +169 -0
  298. package/dist/AaveV3HarmonyAssets.cjs.map +1 -0
  299. package/dist/AaveV3HarmonyAssets.d.ts +1 -0
  300. package/dist/AaveV3HarmonyAssets.global.js +51 -0
  301. package/dist/AaveV3HarmonyAssets.global.js.map +1 -0
  302. package/dist/AaveV3HarmonyAssets.js +99 -0
  303. package/dist/AaveV3HarmonyAssets.js.map +1 -0
  304. package/dist/AaveV3Metis-45b06cbc.d.ts +76 -0
  305. package/dist/AaveV3Metis.cjs +94 -0
  306. package/dist/AaveV3Metis.cjs.map +1 -0
  307. package/dist/AaveV3Metis.d.ts +1 -23
  308. package/dist/AaveV3Metis.global.js +26 -0
  309. package/dist/AaveV3Metis.global.js.map +1 -0
  310. package/dist/AaveV3Metis.js +49 -27
  311. package/dist/AaveV3Metis.js.map +1 -0
  312. package/dist/AaveV3MetisAssets-d598ceab.d.ts +97 -0
  313. package/dist/AaveV3MetisAssets.cjs +115 -0
  314. package/dist/AaveV3MetisAssets.cjs.map +1 -0
  315. package/dist/AaveV3MetisAssets.d.ts +1 -0
  316. package/dist/AaveV3MetisAssets.global.js +33 -0
  317. package/dist/AaveV3MetisAssets.global.js.map +1 -0
  318. package/dist/AaveV3MetisAssets.js +63 -0
  319. package/dist/AaveV3MetisAssets.js.map +1 -0
  320. package/dist/AaveV3Mumbai-8d19e8b5.d.ts +67 -0
  321. package/dist/AaveV3Mumbai.cjs +85 -0
  322. package/dist/AaveV3Mumbai.cjs.map +1 -0
  323. package/dist/AaveV3Mumbai.d.ts +1 -20
  324. package/dist/AaveV3Mumbai.global.js +23 -0
  325. package/dist/AaveV3Mumbai.global.js.map +1 -0
  326. package/dist/AaveV3Mumbai.js +43 -24
  327. package/dist/AaveV3Mumbai.js.map +1 -0
  328. package/dist/AaveV3MumbaiAssets-4dccb933.d.ts +295 -0
  329. package/dist/AaveV3MumbaiAssets.cjs +313 -0
  330. package/dist/AaveV3MumbaiAssets.cjs.map +1 -0
  331. package/dist/AaveV3MumbaiAssets.d.ts +1 -0
  332. package/dist/AaveV3MumbaiAssets.global.js +99 -0
  333. package/dist/AaveV3MumbaiAssets.global.js.map +1 -0
  334. package/dist/AaveV3MumbaiAssets.js +195 -0
  335. package/dist/AaveV3MumbaiAssets.js.map +1 -0
  336. package/dist/AaveV3Optimism-04184821.d.ts +88 -0
  337. package/dist/AaveV3Optimism.cjs +106 -0
  338. package/dist/AaveV3Optimism.cjs.map +1 -0
  339. package/dist/AaveV3Optimism.d.ts +1 -27
  340. package/dist/AaveV3Optimism.global.js +30 -0
  341. package/dist/AaveV3Optimism.global.js.map +1 -0
  342. package/dist/AaveV3Optimism.js +57 -31
  343. package/dist/AaveV3Optimism.js.map +1 -0
  344. package/dist/AaveV3OptimismAssets-1af5aa65.d.ts +223 -0
  345. package/dist/AaveV3OptimismAssets.cjs +241 -0
  346. package/dist/AaveV3OptimismAssets.cjs.map +1 -0
  347. package/dist/AaveV3OptimismAssets.d.ts +1 -0
  348. package/dist/AaveV3OptimismAssets.global.js +75 -0
  349. package/dist/AaveV3OptimismAssets.global.js.map +1 -0
  350. package/dist/AaveV3OptimismAssets.js +147 -0
  351. package/dist/AaveV3OptimismAssets.js.map +1 -0
  352. package/dist/AaveV3OptimismGoerli-1f348987.d.ts +70 -0
  353. package/dist/AaveV3OptimismGoerli.cjs +88 -0
  354. package/dist/AaveV3OptimismGoerli.cjs.map +1 -0
  355. package/dist/AaveV3OptimismGoerli.d.ts +1 -21
  356. package/dist/AaveV3OptimismGoerli.global.js +24 -0
  357. package/dist/AaveV3OptimismGoerli.global.js.map +1 -0
  358. package/dist/AaveV3OptimismGoerli.js +45 -25
  359. package/dist/AaveV3OptimismGoerli.js.map +1 -0
  360. package/dist/AaveV3OptimismGoerliAssets-53b5addf.d.ts +151 -0
  361. package/dist/AaveV3OptimismGoerliAssets.cjs +169 -0
  362. package/dist/AaveV3OptimismGoerliAssets.cjs.map +1 -0
  363. package/dist/AaveV3OptimismGoerliAssets.d.ts +1 -0
  364. package/dist/AaveV3OptimismGoerliAssets.global.js +51 -0
  365. package/dist/AaveV3OptimismGoerliAssets.global.js.map +1 -0
  366. package/dist/AaveV3OptimismGoerliAssets.js +99 -0
  367. package/dist/AaveV3OptimismGoerliAssets.js.map +1 -0
  368. package/dist/AaveV3Polygon-da98c7fd.d.ts +85 -0
  369. package/dist/AaveV3Polygon.cjs +103 -0
  370. package/dist/AaveV3Polygon.cjs.map +1 -0
  371. package/dist/AaveV3Polygon.d.ts +1 -26
  372. package/dist/AaveV3Polygon.global.js +29 -0
  373. package/dist/AaveV3Polygon.global.js.map +1 -0
  374. package/dist/AaveV3Polygon.js +55 -30
  375. package/dist/AaveV3Polygon.js.map +1 -0
  376. package/dist/AaveV3PolygonAssets-213b7fbc.d.ts +367 -0
  377. package/dist/AaveV3PolygonAssets.cjs +385 -0
  378. package/dist/AaveV3PolygonAssets.cjs.map +1 -0
  379. package/dist/AaveV3PolygonAssets.d.ts +1 -0
  380. package/dist/AaveV3PolygonAssets.global.js +123 -0
  381. package/dist/AaveV3PolygonAssets.global.js.map +1 -0
  382. package/dist/AaveV3PolygonAssets.js +243 -0
  383. package/dist/AaveV3PolygonAssets.js.map +1 -0
  384. package/dist/AaveV3ScrollAlpha-f4d2b13d.d.ts +70 -0
  385. package/dist/AaveV3ScrollAlpha.cjs +88 -0
  386. package/dist/AaveV3ScrollAlpha.cjs.map +1 -0
  387. package/dist/AaveV3ScrollAlpha.d.ts +1 -21
  388. package/dist/AaveV3ScrollAlpha.global.js +24 -0
  389. package/dist/AaveV3ScrollAlpha.global.js.map +1 -0
  390. package/dist/AaveV3ScrollAlpha.js +45 -25
  391. package/dist/AaveV3ScrollAlpha.js.map +1 -0
  392. package/dist/AaveV3ScrollAlphaAssets-e22511f3.d.ts +151 -0
  393. package/dist/AaveV3ScrollAlphaAssets.cjs +169 -0
  394. package/dist/AaveV3ScrollAlphaAssets.cjs.map +1 -0
  395. package/dist/AaveV3ScrollAlphaAssets.d.ts +1 -0
  396. package/dist/AaveV3ScrollAlphaAssets.global.js +51 -0
  397. package/dist/AaveV3ScrollAlphaAssets.global.js.map +1 -0
  398. package/dist/AaveV3ScrollAlphaAssets.js +99 -0
  399. package/dist/AaveV3ScrollAlphaAssets.js.map +1 -0
  400. package/dist/AaveV3Sepolia-1736c8bb.d.ts +67 -0
  401. package/dist/AaveV3Sepolia.cjs +85 -0
  402. package/dist/AaveV3Sepolia.cjs.map +1 -0
  403. package/dist/AaveV3Sepolia.d.ts +1 -20
  404. package/dist/AaveV3Sepolia.global.js +23 -0
  405. package/dist/AaveV3Sepolia.global.js.map +1 -0
  406. package/dist/AaveV3Sepolia.js +43 -24
  407. package/dist/AaveV3Sepolia.js.map +1 -0
  408. package/dist/AaveV3SepoliaAssets-1e73929e.d.ts +151 -0
  409. package/dist/AaveV3SepoliaAssets.cjs +169 -0
  410. package/dist/AaveV3SepoliaAssets.cjs.map +1 -0
  411. package/dist/AaveV3SepoliaAssets.d.ts +1 -0
  412. package/dist/AaveV3SepoliaAssets.global.js +51 -0
  413. package/dist/AaveV3SepoliaAssets.global.js.map +1 -0
  414. package/dist/AaveV3SepoliaAssets.js +99 -0
  415. package/dist/AaveV3SepoliaAssets.js.map +1 -0
  416. package/package.json +22 -11
  417. package/.editorconfig +0 -13
  418. package/.gitmodules +0 -7
  419. package/.prettierignore +0 -4
  420. package/.prettierrc +0 -24
  421. package/CHANGELOG.md +0 -309
  422. package/addressbook_logo.png +0 -0
  423. package/foundry.toml +0 -8
  424. package/remappings.txt +0 -6
  425. package/src/AaveAddressBook.sol +0 -31
  426. package/src/AaveGovernanceV2.sol +0 -535
  427. package/src/AaveMisc.sol +0 -178
  428. package/src/AaveV2.sol +0 -944
  429. package/src/AaveV2Avalanche.sol +0 -151
  430. package/src/AaveV2Ethereum.sol +0 -518
  431. package/src/AaveV2EthereumAMM.sol +0 -346
  432. package/src/AaveV2EthereumArc.sol +0 -37
  433. package/src/AaveV2Fuji.sol +0 -102
  434. package/src/AaveV2Goerli.sol +0 -313
  435. package/src/AaveV2Mumbai.sol +0 -140
  436. package/src/AaveV2Polygon.sol +0 -220
  437. package/src/AaveV3.sol +0 -30
  438. package/src/AaveV3Arbitrum.sol +0 -199
  439. package/src/AaveV3ArbitrumGoerli.sol +0 -160
  440. package/src/AaveV3Avalanche.sol +0 -229
  441. package/src/AaveV3Ethereum.sol +0 -286
  442. package/src/AaveV3Fantom.sol +0 -187
  443. package/src/AaveV3FantomTestnet.sol +0 -183
  444. package/src/AaveV3Fuji.sol +0 -158
  445. package/src/AaveV3Goerli.sol +0 -158
  446. package/src/AaveV3GoerliGho.sol +0 -131
  447. package/src/AaveV3Harmony.sol +0 -160
  448. package/src/AaveV3Metis.sol +0 -127
  449. package/src/AaveV3Mumbai.sol +0 -259
  450. package/src/AaveV3Optimism.sol +0 -224
  451. package/src/AaveV3OptimismGoerli.sol +0 -160
  452. package/src/AaveV3Polygon.sol +0 -325
  453. package/src/AaveV3ScrollAlpha.sol +0 -160
  454. package/src/AaveV3Sepolia.sol +0 -158
  455. package/src/common/AggregatorInterface.sol +0 -18
  456. package/src/common/ICollector.sol +0 -187
  457. package/src/test/AaveV2Ethereum.t.sol +0 -53
  458. package/src/test/AaveV2Misfits.t.sol +0 -24
  459. package/src/test/AaveV3Avalanche.t.sol +0 -57
  460. package/src/ts/AaveAddressBook.ts +0 -28
  461. package/src/ts/AaveGovernanceV2.ts +0 -13
  462. package/src/ts/AaveSafetyModule.ts +0 -2
  463. package/src/ts/AaveV2Avalanche.ts +0 -23
  464. package/src/ts/AaveV2Ethereum.ts +0 -21
  465. package/src/ts/AaveV2EthereumAMM.ts +0 -18
  466. package/src/ts/AaveV2EthereumArc.ts +0 -14
  467. package/src/ts/AaveV2Fuji.ts +0 -19
  468. package/src/ts/AaveV2Goerli.ts +0 -19
  469. package/src/ts/AaveV2Mumbai.ts +0 -19
  470. package/src/ts/AaveV2Polygon.ts +0 -21
  471. package/src/ts/AaveV3Arbitrum.ts +0 -28
  472. package/src/ts/AaveV3ArbitrumGoerli.ts +0 -22
  473. package/src/ts/AaveV3Avalanche.ts +0 -29
  474. package/src/ts/AaveV3Ethereum.ts +0 -28
  475. package/src/ts/AaveV3Fantom.ts +0 -23
  476. package/src/ts/AaveV3FantomTestnet.ts +0 -21
  477. package/src/ts/AaveV3Fuji.ts +0 -21
  478. package/src/ts/AaveV3Goerli.ts +0 -21
  479. package/src/ts/AaveV3GoerliGho.ts +0 -21
  480. package/src/ts/AaveV3Harmony.ts +0 -21
  481. package/src/ts/AaveV3Metis.ts +0 -24
  482. package/src/ts/AaveV3Mumbai.ts +0 -21
  483. package/src/ts/AaveV3Optimism.ts +0 -28
  484. package/src/ts/AaveV3OptimismGoerli.ts +0 -22
  485. package/src/ts/AaveV3Polygon.ts +0 -27
  486. package/src/ts/AaveV3ScrollAlpha.ts +0 -22
  487. package/src/ts/AaveV3Sepolia.ts +0 -21
  488. package/tsconfig.json +0 -101
@@ -1,31 +0,0 @@
1
- // SPDX-License-Identifier: MIT
2
- pragma solidity >=0.6.0;
3
-
4
- import {AaveV2Ethereum} from './AaveV2Ethereum.sol';
5
- import {AaveV3Ethereum} from './AaveV3Ethereum.sol';
6
- import {AaveV2EthereumAMM} from './AaveV2EthereumAMM.sol';
7
- import {AaveV2EthereumArc} from './AaveV2EthereumArc.sol';
8
- import {AaveV2Goerli} from './AaveV2Goerli.sol';
9
- import {AaveV3Sepolia} from './AaveV3Sepolia.sol';
10
- import {AaveV3Goerli} from './AaveV3Goerli.sol';
11
- import {AaveV3GoerliGho} from './AaveV3GoerliGho.sol';
12
- import {AaveV2Mumbai} from './AaveV2Mumbai.sol';
13
- import {AaveV3Mumbai} from './AaveV3Mumbai.sol';
14
- import {AaveV2Polygon} from './AaveV2Polygon.sol';
15
- import {AaveV3Polygon} from './AaveV3Polygon.sol';
16
- import {AaveV2Fuji} from './AaveV2Fuji.sol';
17
- import {AaveV3Fuji} from './AaveV3Fuji.sol';
18
- import {AaveV2Avalanche} from './AaveV2Avalanche.sol';
19
- import {AaveV3Avalanche} from './AaveV3Avalanche.sol';
20
- import {AaveV3Arbitrum} from './AaveV3Arbitrum.sol';
21
- import {AaveV3ArbitrumGoerli} from './AaveV3ArbitrumGoerli.sol';
22
- import {AaveV3FantomTestnet} from './AaveV3FantomTestnet.sol';
23
- import {AaveV3Fantom} from './AaveV3Fantom.sol';
24
- import {AaveV3Harmony} from './AaveV3Harmony.sol';
25
- import {AaveV3Optimism} from './AaveV3Optimism.sol';
26
- import {AaveV3OptimismGoerli} from './AaveV3OptimismGoerli.sol';
27
- import {AaveV3ScrollAlpha} from './AaveV3ScrollAlpha.sol';
28
- import {AaveV3Metis} from './AaveV3Metis.sol';
29
-
30
- import {AaveGovernanceV2, IGovernanceStrategy} from './AaveGovernanceV2.sol';
31
- import {IAaveEcosystemReserveController, AaveMisc} from './AaveMisc.sol';
@@ -1,535 +0,0 @@
1
- // SPDX-License-Identifier: MIT
2
- pragma solidity >=0.6.0;
3
- pragma experimental ABIEncoderV2;
4
-
5
- interface IGovernanceStrategy {
6
- /**
7
- * @dev Returns the Proposition Power of a user at a specific block number.
8
- * @param user Address of the user.
9
- * @param blockNumber Blocknumber at which to fetch Proposition Power
10
- * @return Power number
11
- **/
12
- function getPropositionPowerAt(address user, uint256 blockNumber) external view returns (uint256);
13
-
14
- /**
15
- * @dev Returns the total supply of Outstanding Proposition Tokens
16
- * @param blockNumber Blocknumber at which to evaluate
17
- * @return total supply at blockNumber
18
- **/
19
- function getTotalPropositionSupplyAt(uint256 blockNumber) external view returns (uint256);
20
-
21
- /**
22
- * @dev Returns the total supply of Outstanding Voting Tokens
23
- * @param blockNumber Blocknumber at which to evaluate
24
- * @return total supply at blockNumber
25
- **/
26
- function getTotalVotingSupplyAt(uint256 blockNumber) external view returns (uint256);
27
-
28
- /**
29
- * @dev Returns the Vote Power of a user at a specific block number.
30
- * @param user Address of the user.
31
- * @param blockNumber Blocknumber at which to fetch Vote Power
32
- * @return Vote number
33
- **/
34
- function getVotingPowerAt(address user, uint256 blockNumber) external view returns (uint256);
35
- }
36
-
37
- interface IExecutorWithTimelock {
38
- /**
39
- * @dev emitted when a new pending admin is set
40
- * @param newPendingAdmin address of the new pending admin
41
- **/
42
- event NewPendingAdmin(address newPendingAdmin);
43
-
44
- /**
45
- * @dev emitted when a new admin is set
46
- * @param newAdmin address of the new admin
47
- **/
48
- event NewAdmin(address newAdmin);
49
-
50
- /**
51
- * @dev emitted when a new delay (between queueing and execution) is set
52
- * @param delay new delay
53
- **/
54
- event NewDelay(uint256 delay);
55
-
56
- /**
57
- * @dev emitted when a new (trans)action is Queued.
58
- * @param actionHash hash of the action
59
- * @param target address of the targeted contract
60
- * @param value wei value of the transaction
61
- * @param signature function signature of the transaction
62
- * @param data function arguments of the transaction or callData if signature empty
63
- * @param executionTime time at which to execute the transaction
64
- * @param withDelegatecall boolean, true = transaction delegatecalls the target, else calls the target
65
- **/
66
- event QueuedAction(
67
- bytes32 actionHash,
68
- address indexed target,
69
- uint256 value,
70
- string signature,
71
- bytes data,
72
- uint256 executionTime,
73
- bool withDelegatecall
74
- );
75
-
76
- /**
77
- * @dev emitted when an action is Cancelled
78
- * @param actionHash hash of the action
79
- * @param target address of the targeted contract
80
- * @param value wei value of the transaction
81
- * @param signature function signature of the transaction
82
- * @param data function arguments of the transaction or callData if signature empty
83
- * @param executionTime time at which to execute the transaction
84
- * @param withDelegatecall boolean, true = transaction delegatecalls the target, else calls the target
85
- **/
86
- event CancelledAction(
87
- bytes32 actionHash,
88
- address indexed target,
89
- uint256 value,
90
- string signature,
91
- bytes data,
92
- uint256 executionTime,
93
- bool withDelegatecall
94
- );
95
-
96
- /**
97
- * @dev emitted when an action is Cancelled
98
- * @param actionHash hash of the action
99
- * @param target address of the targeted contract
100
- * @param value wei value of the transaction
101
- * @param signature function signature of the transaction
102
- * @param data function arguments of the transaction or callData if signature empty
103
- * @param executionTime time at which to execute the transaction
104
- * @param withDelegatecall boolean, true = transaction delegatecalls the target, else calls the target
105
- * @param resultData the actual callData used on the target
106
- **/
107
- event ExecutedAction(
108
- bytes32 actionHash,
109
- address indexed target,
110
- uint256 value,
111
- string signature,
112
- bytes data,
113
- uint256 executionTime,
114
- bool withDelegatecall,
115
- bytes resultData
116
- );
117
-
118
- /**
119
- * @dev Getter of the current admin address (should be governance)
120
- * @return The address of the current admin
121
- **/
122
- function getAdmin() external view returns (address);
123
-
124
- /**
125
- * @dev Getter of the current pending admin address
126
- * @return The address of the pending admin
127
- **/
128
- function getPendingAdmin() external view returns (address);
129
-
130
- /**
131
- * @dev Getter of the delay between queuing and execution
132
- * @return The delay in seconds
133
- **/
134
- function getDelay() external view returns (uint256);
135
-
136
- /**
137
- * @dev Returns whether an action (via actionHash) is queued
138
- * @param actionHash hash of the action to be checked
139
- * keccak256(abi.encode(target, value, signature, data, executionTime, withDelegatecall))
140
- * @return true if underlying action of actionHash is queued
141
- **/
142
- function isActionQueued(bytes32 actionHash) external view returns (bool);
143
-
144
- /**
145
- * @dev Checks whether a proposal is over its grace period
146
- * @param governance Governance contract
147
- * @param proposalId Id of the proposal against which to test
148
- * @return true of proposal is over grace period
149
- **/
150
- function isProposalOverGracePeriod(
151
- IAaveGovernanceV2 governance,
152
- uint256 proposalId
153
- ) external view returns (bool);
154
-
155
- /**
156
- * @dev Getter of grace period constant
157
- * @return grace period in seconds
158
- **/
159
- function GRACE_PERIOD() external view returns (uint256);
160
-
161
- /**
162
- * @dev Getter of minimum delay constant
163
- * @return minimum delay in seconds
164
- **/
165
- function MINIMUM_DELAY() external view returns (uint256);
166
-
167
- /**
168
- * @dev Getter of maximum delay constant
169
- * @return maximum delay in seconds
170
- **/
171
- function MAXIMUM_DELAY() external view returns (uint256);
172
-
173
- /**
174
- * @dev Function, called by Governance, that queue a transaction, returns action hash
175
- * @param target smart contract target
176
- * @param value wei value of the transaction
177
- * @param signature function signature of the transaction
178
- * @param data function arguments of the transaction or callData if signature empty
179
- * @param executionTime time at which to execute the transaction
180
- * @param withDelegatecall boolean, true = transaction delegatecalls the target, else calls the target
181
- **/
182
- function queueTransaction(
183
- address target,
184
- uint256 value,
185
- string memory signature,
186
- bytes memory data,
187
- uint256 executionTime,
188
- bool withDelegatecall
189
- ) external returns (bytes32);
190
-
191
- /**
192
- * @dev Function, called by Governance, that cancels a transaction, returns the callData executed
193
- * @param target smart contract target
194
- * @param value wei value of the transaction
195
- * @param signature function signature of the transaction
196
- * @param data function arguments of the transaction or callData if signature empty
197
- * @param executionTime time at which to execute the transaction
198
- * @param withDelegatecall boolean, true = transaction delegatecalls the target, else calls the target
199
- **/
200
- function executeTransaction(
201
- address target,
202
- uint256 value,
203
- string memory signature,
204
- bytes memory data,
205
- uint256 executionTime,
206
- bool withDelegatecall
207
- ) external payable returns (bytes memory);
208
-
209
- /**
210
- * @dev Function, called by Governance, that cancels a transaction, returns action hash
211
- * @param target smart contract target
212
- * @param value wei value of the transaction
213
- * @param signature function signature of the transaction
214
- * @param data function arguments of the transaction or callData if signature empty
215
- * @param executionTime time at which to execute the transaction
216
- * @param withDelegatecall boolean, true = transaction delegatecalls the target, else calls the target
217
- **/
218
- function cancelTransaction(
219
- address target,
220
- uint256 value,
221
- string memory signature,
222
- bytes memory data,
223
- uint256 executionTime,
224
- bool withDelegatecall
225
- ) external returns (bytes32);
226
- }
227
-
228
- interface IAaveGovernanceV2 {
229
- enum ProposalState {
230
- Pending,
231
- Canceled,
232
- Active,
233
- Failed,
234
- Succeeded,
235
- Queued,
236
- Expired,
237
- Executed
238
- }
239
-
240
- struct Vote {
241
- bool support;
242
- uint248 votingPower;
243
- }
244
-
245
- struct Proposal {
246
- uint256 id;
247
- address creator;
248
- IExecutorWithTimelock executor;
249
- address[] targets;
250
- uint256[] values;
251
- string[] signatures;
252
- bytes[] calldatas;
253
- bool[] withDelegatecalls;
254
- uint256 startBlock;
255
- uint256 endBlock;
256
- uint256 executionTime;
257
- uint256 forVotes;
258
- uint256 againstVotes;
259
- bool executed;
260
- bool canceled;
261
- address strategy;
262
- bytes32 ipfsHash;
263
- mapping(address => Vote) votes;
264
- }
265
-
266
- struct ProposalWithoutVotes {
267
- uint256 id;
268
- address creator;
269
- IExecutorWithTimelock executor;
270
- address[] targets;
271
- uint256[] values;
272
- string[] signatures;
273
- bytes[] calldatas;
274
- bool[] withDelegatecalls;
275
- uint256 startBlock;
276
- uint256 endBlock;
277
- uint256 executionTime;
278
- uint256 forVotes;
279
- uint256 againstVotes;
280
- bool executed;
281
- bool canceled;
282
- address strategy;
283
- bytes32 ipfsHash;
284
- }
285
-
286
- /**
287
- * @dev emitted when a new proposal is created
288
- * @param id Id of the proposal
289
- * @param creator address of the creator
290
- * @param executor The ExecutorWithTimelock contract that will execute the proposal
291
- * @param targets list of contracts called by proposal's associated transactions
292
- * @param values list of value in wei for each propoposal's associated transaction
293
- * @param signatures list of function signatures (can be empty) to be used when created the callData
294
- * @param calldatas list of calldatas: if associated signature empty, calldata ready, else calldata is arguments
295
- * @param withDelegatecalls boolean, true = transaction delegatecalls the taget, else calls the target
296
- * @param startBlock block number when vote starts
297
- * @param endBlock block number when vote ends
298
- * @param strategy address of the governanceStrategy contract
299
- * @param ipfsHash IPFS hash of the proposal
300
- **/
301
- event ProposalCreated(
302
- uint256 id,
303
- address indexed creator,
304
- IExecutorWithTimelock indexed executor,
305
- address[] targets,
306
- uint256[] values,
307
- string[] signatures,
308
- bytes[] calldatas,
309
- bool[] withDelegatecalls,
310
- uint256 startBlock,
311
- uint256 endBlock,
312
- address strategy,
313
- bytes32 ipfsHash
314
- );
315
-
316
- /**
317
- * @dev emitted when a proposal is canceled
318
- * @param id Id of the proposal
319
- **/
320
- event ProposalCanceled(uint256 id);
321
-
322
- /**
323
- * @dev emitted when a proposal is queued
324
- * @param id Id of the proposal
325
- * @param executionTime time when proposal underlying transactions can be executed
326
- * @param initiatorQueueing address of the initiator of the queuing transaction
327
- **/
328
- event ProposalQueued(uint256 id, uint256 executionTime, address indexed initiatorQueueing);
329
- /**
330
- * @dev emitted when a proposal is executed
331
- * @param id Id of the proposal
332
- * @param initiatorExecution address of the initiator of the execution transaction
333
- **/
334
- event ProposalExecuted(uint256 id, address indexed initiatorExecution);
335
- /**
336
- * @dev emitted when a vote is registered
337
- * @param id Id of the proposal
338
- * @param voter address of the voter
339
- * @param support boolean, true = vote for, false = vote against
340
- * @param votingPower Power of the voter/vote
341
- **/
342
- event VoteEmitted(uint256 id, address indexed voter, bool support, uint256 votingPower);
343
-
344
- event GovernanceStrategyChanged(address indexed newStrategy, address indexed initiatorChange);
345
-
346
- event VotingDelayChanged(uint256 newVotingDelay, address indexed initiatorChange);
347
-
348
- event ExecutorAuthorized(address executor);
349
-
350
- event ExecutorUnauthorized(address executor);
351
-
352
- /**
353
- * @dev Creates a Proposal (needs Proposition Power of creator > Threshold)
354
- * @param executor The ExecutorWithTimelock contract that will execute the proposal
355
- * @param targets list of contracts called by proposal's associated transactions
356
- * @param values list of value in wei for each propoposal's associated transaction
357
- * @param signatures list of function signatures (can be empty) to be used when created the callData
358
- * @param calldatas list of calldatas: if associated signature empty, calldata ready, else calldata is arguments
359
- * @param withDelegatecalls if true, transaction delegatecalls the taget, else calls the target
360
- * @param ipfsHash IPFS hash of the proposal
361
- **/
362
- function create(
363
- IExecutorWithTimelock executor,
364
- address[] memory targets,
365
- uint256[] memory values,
366
- string[] memory signatures,
367
- bytes[] memory calldatas,
368
- bool[] memory withDelegatecalls,
369
- bytes32 ipfsHash
370
- ) external returns (uint256);
371
-
372
- /**
373
- * @dev Cancels a Proposal,
374
- * either at anytime by guardian
375
- * or when proposal is Pending/Active and threshold no longer reached
376
- * @param proposalId id of the proposal
377
- **/
378
- function cancel(uint256 proposalId) external;
379
-
380
- /**
381
- * @dev Queue the proposal (If Proposal Succeeded)
382
- * @param proposalId id of the proposal to queue
383
- **/
384
- function queue(uint256 proposalId) external;
385
-
386
- /**
387
- * @dev Execute the proposal (If Proposal Queued)
388
- * @param proposalId id of the proposal to execute
389
- **/
390
- function execute(uint256 proposalId) external payable;
391
-
392
- /**
393
- * @dev Function allowing msg.sender to vote for/against a proposal
394
- * @param proposalId id of the proposal
395
- * @param support boolean, true = vote for, false = vote against
396
- **/
397
- function submitVote(uint256 proposalId, bool support) external;
398
-
399
- /**
400
- * @dev Function to register the vote of user that has voted offchain via signature
401
- * @param proposalId id of the proposal
402
- * @param support boolean, true = vote for, false = vote against
403
- * @param v v part of the voter signature
404
- * @param r r part of the voter signature
405
- * @param s s part of the voter signature
406
- **/
407
- function submitVoteBySignature(
408
- uint256 proposalId,
409
- bool support,
410
- uint8 v,
411
- bytes32 r,
412
- bytes32 s
413
- ) external;
414
-
415
- /**
416
- * @dev Set new GovernanceStrategy
417
- * Note: owner should be a timelocked executor, so needs to make a proposal
418
- * @param governanceStrategy new Address of the GovernanceStrategy contract
419
- **/
420
- function setGovernanceStrategy(address governanceStrategy) external;
421
-
422
- /**
423
- * @dev Set new Voting Delay (delay before a newly created proposal can be voted on)
424
- * Note: owner should be a timelocked executor, so needs to make a proposal
425
- * @param votingDelay new voting delay in seconds
426
- **/
427
- function setVotingDelay(uint256 votingDelay) external;
428
-
429
- /**
430
- * @dev Add new addresses to the list of authorized executors
431
- * @param executors list of new addresses to be authorized executors
432
- **/
433
- function authorizeExecutors(address[] memory executors) external;
434
-
435
- /**
436
- * @dev Remove addresses to the list of authorized executors
437
- * @param executors list of addresses to be removed as authorized executors
438
- **/
439
- function unauthorizeExecutors(address[] memory executors) external;
440
-
441
- /**
442
- * @dev Let the guardian abdicate from its priviledged rights
443
- **/
444
- function __abdicate() external;
445
-
446
- /**
447
- * @dev Getter of the current GovernanceStrategy address
448
- * @return The address of the current GovernanceStrategy contracts
449
- **/
450
- function getGovernanceStrategy() external view returns (address);
451
-
452
- /**
453
- * @dev Getter of the current Voting Delay (delay before a created proposal can be voted on)
454
- * Different from the voting duration
455
- * @return The voting delay in seconds
456
- **/
457
- function getVotingDelay() external view returns (uint256);
458
-
459
- /**
460
- * @dev Returns whether an address is an authorized executor
461
- * @param executor address to evaluate as authorized executor
462
- * @return true if authorized
463
- **/
464
- function isExecutorAuthorized(address executor) external view returns (bool);
465
-
466
- /**
467
- * @dev Getter the address of the guardian, that can mainly cancel proposals
468
- * @return The address of the guardian
469
- **/
470
- function getGuardian() external view returns (address);
471
-
472
- /**
473
- * @dev Getter of the proposal count (the current number of proposals ever created)
474
- * @return the proposal count
475
- **/
476
- function getProposalsCount() external view returns (uint256);
477
-
478
- /**
479
- * @dev Getter of a proposal by id
480
- * @param proposalId id of the proposal to get
481
- * @return the proposal as ProposalWithoutVotes memory object
482
- **/
483
- function getProposalById(uint256 proposalId) external view returns (ProposalWithoutVotes memory);
484
-
485
- /**
486
- * @dev Getter of the Vote of a voter about a proposal
487
- * Note: Vote is a struct: ({bool support, uint248 votingPower})
488
- * @param proposalId id of the proposal
489
- * @param voter address of the voter
490
- * @return The associated Vote memory object
491
- **/
492
- function getVoteOnProposal(uint256 proposalId, address voter) external view returns (Vote memory);
493
-
494
- /**
495
- * @dev Get the current state of a proposal
496
- * @param proposalId id of the proposal
497
- * @return The current state if the proposal
498
- **/
499
- function getProposalState(uint256 proposalId) external view returns (ProposalState);
500
- }
501
-
502
- library AaveGovernanceV2 {
503
- IAaveGovernanceV2 internal constant GOV =
504
- IAaveGovernanceV2(0xEC568fffba86c094cf06b22134B23074DFE2252c);
505
-
506
- IGovernanceStrategy public constant GOV_STRATEGY =
507
- IGovernanceStrategy(0xb7e383ef9B1E9189Fc0F71fb30af8aa14377429e);
508
-
509
- address public constant SHORT_EXECUTOR = 0xEE56e2B3D491590B5b31738cC34d5232F378a8D5;
510
-
511
- address public constant LONG_EXECUTOR = 0x79426A1c24B2978D90d7A5070a46C65B07bC4299;
512
-
513
- address public constant ARC_TIMELOCK = 0xAce1d11d836cb3F51Ef658FD4D353fFb3c301218;
514
-
515
- // https://github.com/aave/governance-crosschain-bridges
516
- address internal constant POLYGON_BRIDGE_EXECUTOR = 0xdc9A35B16DB4e126cFeDC41322b3a36454B1F772;
517
-
518
- address internal constant OPTIMISM_BRIDGE_EXECUTOR = 0x7d9103572bE58FfE99dc390E8246f02dcAe6f611;
519
-
520
- address internal constant ARBITRUM_BRIDGE_EXECUTOR = 0x7d9103572bE58FfE99dc390E8246f02dcAe6f611;
521
-
522
- address internal constant METIS_BRIDGE_EXECUTOR = 0x8EC77963068474a45016938Deb95E603Ca82a029;
523
-
524
- // https://github.com/bgd-labs/aave-v3-crosschain-listing-template/tree/master/src/contracts
525
- address internal constant CROSSCHAIN_FORWARDER_POLYGON =
526
- 0x158a6bC04F0828318821baE797f50B0A1299d45b;
527
-
528
- address internal constant CROSSCHAIN_FORWARDER_OPTIMISM =
529
- 0x5f5C02875a8e9B5A26fbd09040ABCfDeb2AA6711;
530
-
531
- address internal constant CROSSCHAIN_FORWARDER_ARBITRUM =
532
- 0xd1B3E25fD7C8AE7CADDC6F71b461b79CD4ddcFa3;
533
-
534
- address internal constant CROSSCHAIN_FORWARDER_METIS = 0x2fE52eF191F0BE1D98459BdaD2F1d3160336C08f;
535
- }