@aave-dao/aave-address-book 4.44.22
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.
- package/LICENSE +7 -0
- package/README.md +119 -0
- package/dist/AaveAddressBook.d.mts +113 -0
- package/dist/AaveAddressBook.d.ts +113 -0
- package/dist/AaveAddressBook.js +377 -0
- package/dist/AaveAddressBook.js.map +1 -0
- package/dist/AaveAddressBook.mjs +230 -0
- package/dist/AaveAddressBook.mjs.map +1 -0
- package/dist/AaveGovernanceV2-DNzil8G-.d.mts +24 -0
- package/dist/AaveGovernanceV2-DNzil8G-.d.ts +24 -0
- package/dist/AaveGovernanceV2.d.mts +1 -0
- package/dist/AaveGovernanceV2.d.ts +1 -0
- package/dist/AaveGovernanceV2.js +55 -0
- package/dist/AaveGovernanceV2.js.map +1 -0
- package/dist/AaveGovernanceV2.mjs +22 -0
- package/dist/AaveGovernanceV2.mjs.map +1 -0
- package/dist/AaveSafetyModule-B-Dz4kaZ.d.mts +22 -0
- package/dist/AaveSafetyModule-B-Dz4kaZ.d.ts +22 -0
- package/dist/AaveSafetyModule.d.mts +1 -0
- package/dist/AaveSafetyModule.d.ts +1 -0
- package/dist/AaveSafetyModule.js +52 -0
- package/dist/AaveSafetyModule.js.map +1 -0
- package/dist/AaveSafetyModule.mjs +20 -0
- package/dist/AaveSafetyModule.mjs.map +1 -0
- package/dist/AaveV1-DNUC5nyX.d.mts +14 -0
- package/dist/AaveV1-DNUC5nyX.d.ts +14 -0
- package/dist/AaveV1.d.mts +1 -0
- package/dist/AaveV1.d.ts +1 -0
- package/dist/AaveV1.js +40 -0
- package/dist/AaveV1.js.map +1 -0
- package/dist/AaveV1.mjs +12 -0
- package/dist/AaveV1.mjs.map +1 -0
- package/dist/AaveV2Avalanche-xN_Or64C.d.mts +130 -0
- package/dist/AaveV2Avalanche-xN_Or64C.d.ts +130 -0
- package/dist/AaveV2Avalanche.d.mts +1 -0
- package/dist/AaveV2Avalanche.d.ts +1 -0
- package/dist/AaveV2Avalanche.js +182 -0
- package/dist/AaveV2Avalanche.js.map +1 -0
- package/dist/AaveV2Avalanche.mjs +128 -0
- package/dist/AaveV2Avalanche.mjs.map +1 -0
- package/dist/AaveV2Ethereum-Dxk8Kjgt.d.mts +396 -0
- package/dist/AaveV2Ethereum-Dxk8Kjgt.d.ts +396 -0
- package/dist/AaveV2Ethereum.d.mts +1 -0
- package/dist/AaveV2Ethereum.d.ts +1 -0
- package/dist/AaveV2Ethereum.js +446 -0
- package/dist/AaveV2Ethereum.js.map +1 -0
- package/dist/AaveV2Ethereum.mjs +394 -0
- package/dist/AaveV2Ethereum.mjs.map +1 -0
- package/dist/AaveV2EthereumAMM-DibMFZG6.d.mts +260 -0
- package/dist/AaveV2EthereumAMM-DibMFZG6.d.ts +260 -0
- package/dist/AaveV2EthereumAMM.d.mts +1 -0
- package/dist/AaveV2EthereumAMM.d.ts +1 -0
- package/dist/AaveV2EthereumAMM.js +305 -0
- package/dist/AaveV2EthereumAMM.js.map +1 -0
- package/dist/AaveV2EthereumAMM.mjs +258 -0
- package/dist/AaveV2EthereumAMM.mjs.map +1 -0
- package/dist/AaveV2EthereumArc-CS5HSHRi.d.mts +73 -0
- package/dist/AaveV2EthereumArc-CS5HSHRi.d.ts +73 -0
- package/dist/AaveV2EthereumArc.d.mts +1 -0
- package/dist/AaveV2EthereumArc.d.ts +1 -0
- package/dist/AaveV2EthereumArc.js +110 -0
- package/dist/AaveV2EthereumArc.js.map +1 -0
- package/dist/AaveV2EthereumArc.mjs +71 -0
- package/dist/AaveV2EthereumArc.mjs.map +1 -0
- package/dist/AaveV2Fuji-BEfGLdY6.d.mts +87 -0
- package/dist/AaveV2Fuji-BEfGLdY6.d.ts +87 -0
- package/dist/AaveV2Fuji.d.mts +1 -0
- package/dist/AaveV2Fuji.d.ts +1 -0
- package/dist/AaveV2Fuji.js +131 -0
- package/dist/AaveV2Fuji.js.map +1 -0
- package/dist/AaveV2Fuji.mjs +85 -0
- package/dist/AaveV2Fuji.mjs.map +1 -0
- package/dist/AaveV2Polygon-BjPvRYgH.d.mts +180 -0
- package/dist/AaveV2Polygon-BjPvRYgH.d.ts +180 -0
- package/dist/AaveV2Polygon.d.mts +1 -0
- package/dist/AaveV2Polygon.d.ts +1 -0
- package/dist/AaveV2Polygon.js +230 -0
- package/dist/AaveV2Polygon.js.map +1 -0
- package/dist/AaveV2Polygon.mjs +178 -0
- package/dist/AaveV2Polygon.mjs.map +1 -0
- package/dist/AaveV3Arbitrum-5HIAwDw_.d.mts +375 -0
- package/dist/AaveV3Arbitrum-5HIAwDw_.d.ts +375 -0
- package/dist/AaveV3Arbitrum-C6aOvpL5.d.mts +389 -0
- package/dist/AaveV3Arbitrum-C6aOvpL5.d.ts +389 -0
- package/dist/AaveV3Arbitrum-DdJN_ZEc.d.mts +389 -0
- package/dist/AaveV3Arbitrum-DdJN_ZEc.d.ts +389 -0
- package/dist/AaveV3Arbitrum.d.mts +1 -0
- package/dist/AaveV3Arbitrum.d.ts +1 -0
- package/dist/AaveV3Arbitrum.js +477 -0
- package/dist/AaveV3Arbitrum.js.map +1 -0
- package/dist/AaveV3Arbitrum.mjs +412 -0
- package/dist/AaveV3Arbitrum.mjs.map +1 -0
- package/dist/AaveV3ArbitrumSepolia-CelRtDUt.d.mts +71 -0
- package/dist/AaveV3ArbitrumSepolia-CelRtDUt.d.ts +71 -0
- package/dist/AaveV3ArbitrumSepolia.d.mts +1 -0
- package/dist/AaveV3ArbitrumSepolia.d.ts +1 -0
- package/dist/AaveV3ArbitrumSepolia.js +116 -0
- package/dist/AaveV3ArbitrumSepolia.js.map +1 -0
- package/dist/AaveV3ArbitrumSepolia.mjs +69 -0
- package/dist/AaveV3ArbitrumSepolia.mjs.map +1 -0
- package/dist/AaveV3Avalanche-BcwM6qwK.d.mts +338 -0
- package/dist/AaveV3Avalanche-BcwM6qwK.d.ts +338 -0
- package/dist/AaveV3Avalanche-C00PcKLC.d.mts +338 -0
- package/dist/AaveV3Avalanche-C00PcKLC.d.ts +338 -0
- package/dist/AaveV3Avalanche-cwzt_N8F.d.mts +328 -0
- package/dist/AaveV3Avalanche-cwzt_N8F.d.ts +328 -0
- package/dist/AaveV3Avalanche.d.mts +1 -0
- package/dist/AaveV3Avalanche.d.ts +1 -0
- package/dist/AaveV3Avalanche.js +421 -0
- package/dist/AaveV3Avalanche.js.map +1 -0
- package/dist/AaveV3Avalanche.mjs +358 -0
- package/dist/AaveV3Avalanche.mjs.map +1 -0
- package/dist/AaveV3BNB-9mYruyuS.d.mts +179 -0
- package/dist/AaveV3BNB-9mYruyuS.d.ts +179 -0
- package/dist/AaveV3BNB-C8awzqWP.d.mts +177 -0
- package/dist/AaveV3BNB-C8awzqWP.d.ts +177 -0
- package/dist/AaveV3BNB-DMilPGgG.d.mts +179 -0
- package/dist/AaveV3BNB-DMilPGgG.d.ts +179 -0
- package/dist/AaveV3BNB.d.mts +1 -0
- package/dist/AaveV3BNB.d.ts +1 -0
- package/dist/AaveV3BNB.js +238 -0
- package/dist/AaveV3BNB.js.map +1 -0
- package/dist/AaveV3BNB.mjs +177 -0
- package/dist/AaveV3BNB.mjs.map +1 -0
- package/dist/AaveV3Base-2s0WYwnO.d.mts +358 -0
- package/dist/AaveV3Base-2s0WYwnO.d.ts +358 -0
- package/dist/AaveV3Base-CfHsJZRf.d.mts +338 -0
- package/dist/AaveV3Base-CfHsJZRf.d.ts +338 -0
- package/dist/AaveV3Base-Oku0Pi8l.d.mts +381 -0
- package/dist/AaveV3Base-Oku0Pi8l.d.ts +381 -0
- package/dist/AaveV3Base.d.mts +1 -0
- package/dist/AaveV3Base.d.ts +1 -0
- package/dist/AaveV3Base.js +457 -0
- package/dist/AaveV3Base.js.map +1 -0
- package/dist/AaveV3Base.mjs +393 -0
- package/dist/AaveV3Base.mjs.map +1 -0
- package/dist/AaveV3BaseSepolia-BKe_Duh1.d.mts +136 -0
- package/dist/AaveV3BaseSepolia-BKe_Duh1.d.ts +136 -0
- package/dist/AaveV3BaseSepolia-DqZnRo3h.d.mts +138 -0
- package/dist/AaveV3BaseSepolia-DqZnRo3h.d.ts +138 -0
- package/dist/AaveV3BaseSepolia.d.mts +1 -0
- package/dist/AaveV3BaseSepolia.d.ts +1 -0
- package/dist/AaveV3BaseSepolia.js +192 -0
- package/dist/AaveV3BaseSepolia.js.map +1 -0
- package/dist/AaveV3BaseSepolia.mjs +142 -0
- package/dist/AaveV3BaseSepolia.mjs.map +1 -0
- package/dist/AaveV3BaseSepoliaLido-BLx4mGQL.d.mts +119 -0
- package/dist/AaveV3BaseSepoliaLido-BLx4mGQL.d.ts +119 -0
- package/dist/AaveV3BaseSepoliaLido-D5kSFNVQ.d.mts +121 -0
- package/dist/AaveV3BaseSepoliaLido-D5kSFNVQ.d.ts +121 -0
- package/dist/AaveV3BaseSepoliaLido.d.mts +1 -0
- package/dist/AaveV3BaseSepoliaLido.d.ts +1 -0
- package/dist/AaveV3BaseSepoliaLido.js +174 -0
- package/dist/AaveV3BaseSepoliaLido.js.map +1 -0
- package/dist/AaveV3BaseSepoliaLido.mjs +125 -0
- package/dist/AaveV3BaseSepoliaLido.mjs.map +1 -0
- package/dist/AaveV3Celo-BP3w-nqW.d.mts +122 -0
- package/dist/AaveV3Celo-BP3w-nqW.d.ts +122 -0
- package/dist/AaveV3Celo-C3SZM9DD.d.mts +121 -0
- package/dist/AaveV3Celo-C3SZM9DD.d.ts +121 -0
- package/dist/AaveV3Celo-DYb4BwhP.d.mts +121 -0
- package/dist/AaveV3Celo-DYb4BwhP.d.ts +121 -0
- package/dist/AaveV3Celo.d.mts +1 -0
- package/dist/AaveV3Celo.d.ts +1 -0
- package/dist/AaveV3Celo.js +170 -0
- package/dist/AaveV3Celo.js.map +1 -0
- package/dist/AaveV3Celo.mjs +120 -0
- package/dist/AaveV3Celo.mjs.map +1 -0
- package/dist/AaveV3Ethereum-C3eHADIX.d.mts +1080 -0
- package/dist/AaveV3Ethereum-C3eHADIX.d.ts +1080 -0
- package/dist/AaveV3Ethereum-CCoN-KBX.d.mts +1179 -0
- package/dist/AaveV3Ethereum-CCoN-KBX.d.ts +1179 -0
- package/dist/AaveV3Ethereum-DbMoWdzW.d.mts +1014 -0
- package/dist/AaveV3Ethereum-DbMoWdzW.d.ts +1014 -0
- package/dist/AaveV3Ethereum.d.mts +1 -0
- package/dist/AaveV3Ethereum.d.ts +1 -0
- package/dist/AaveV3Ethereum.js +1421 -0
- package/dist/AaveV3Ethereum.js.map +1 -0
- package/dist/AaveV3Ethereum.mjs +1351 -0
- package/dist/AaveV3Ethereum.mjs.map +1 -0
- package/dist/AaveV3EthereumEtherFi-Bhwwfsln.d.mts +109 -0
- package/dist/AaveV3EthereumEtherFi-Bhwwfsln.d.ts +109 -0
- package/dist/AaveV3EthereumEtherFi-Bo3Zv_7J.d.mts +109 -0
- package/dist/AaveV3EthereumEtherFi-Bo3Zv_7J.d.ts +109 -0
- package/dist/AaveV3EthereumEtherFi-CVr2bP7I.d.mts +109 -0
- package/dist/AaveV3EthereumEtherFi-CVr2bP7I.d.ts +109 -0
- package/dist/AaveV3EthereumEtherFi.d.mts +1 -0
- package/dist/AaveV3EthereumEtherFi.d.ts +1 -0
- package/dist/AaveV3EthereumEtherFi.js +161 -0
- package/dist/AaveV3EthereumEtherFi.js.map +1 -0
- package/dist/AaveV3EthereumEtherFi.mjs +107 -0
- package/dist/AaveV3EthereumEtherFi.mjs.map +1 -0
- package/dist/AaveV3EthereumHorizon-C7s1fz9O.d.mts +261 -0
- package/dist/AaveV3EthereumHorizon-C7s1fz9O.d.ts +261 -0
- package/dist/AaveV3EthereumHorizon-DzYKqkOR.d.mts +241 -0
- package/dist/AaveV3EthereumHorizon-DzYKqkOR.d.ts +241 -0
- package/dist/AaveV3EthereumHorizon.d.mts +1 -0
- package/dist/AaveV3EthereumHorizon.d.ts +1 -0
- package/dist/AaveV3EthereumHorizon.js +306 -0
- package/dist/AaveV3EthereumHorizon.js.map +1 -0
- package/dist/AaveV3EthereumHorizon.mjs +259 -0
- package/dist/AaveV3EthereumHorizon.mjs.map +1 -0
- package/dist/AaveV3EthereumLido-BiYga7ec.d.mts +254 -0
- package/dist/AaveV3EthereumLido-BiYga7ec.d.ts +254 -0
- package/dist/AaveV3EthereumLido-CZVqn8PI.d.mts +254 -0
- package/dist/AaveV3EthereumLido-CZVqn8PI.d.ts +254 -0
- package/dist/AaveV3EthereumLido-cgeFMDiS.d.mts +240 -0
- package/dist/AaveV3EthereumLido-cgeFMDiS.d.ts +240 -0
- package/dist/AaveV3EthereumLido.d.mts +1 -0
- package/dist/AaveV3EthereumLido.d.ts +1 -0
- package/dist/AaveV3EthereumLido.js +321 -0
- package/dist/AaveV3EthereumLido.js.map +1 -0
- package/dist/AaveV3EthereumLido.mjs +261 -0
- package/dist/AaveV3EthereumLido.mjs.map +1 -0
- package/dist/AaveV3Fuji-oFFl6pCo.d.mts +98 -0
- package/dist/AaveV3Fuji-oFFl6pCo.d.ts +98 -0
- package/dist/AaveV3Fuji.d.mts +1 -0
- package/dist/AaveV3Fuji.d.ts +1 -0
- package/dist/AaveV3Fuji.js +144 -0
- package/dist/AaveV3Fuji.js.map +1 -0
- package/dist/AaveV3Fuji.mjs +96 -0
- package/dist/AaveV3Fuji.mjs.map +1 -0
- package/dist/AaveV3Gnosis-CtSBgln-.d.mts +213 -0
- package/dist/AaveV3Gnosis-CtSBgln-.d.ts +213 -0
- package/dist/AaveV3Gnosis-DmHebDp1.d.mts +219 -0
- package/dist/AaveV3Gnosis-DmHebDp1.d.ts +219 -0
- package/dist/AaveV3Gnosis-Z0vMYPNr.d.mts +219 -0
- package/dist/AaveV3Gnosis-Z0vMYPNr.d.ts +219 -0
- package/dist/AaveV3Gnosis.d.mts +1 -0
- package/dist/AaveV3Gnosis.d.ts +1 -0
- package/dist/AaveV3Gnosis.js +281 -0
- package/dist/AaveV3Gnosis.js.map +1 -0
- package/dist/AaveV3Gnosis.mjs +220 -0
- package/dist/AaveV3Gnosis.mjs.map +1 -0
- package/dist/AaveV3Harmony.d.mts +96 -0
- package/dist/AaveV3Harmony.d.ts +96 -0
- package/dist/AaveV3Harmony.js +164 -0
- package/dist/AaveV3Harmony.js.map +1 -0
- package/dist/AaveV3Harmony.mjs +119 -0
- package/dist/AaveV3Harmony.mjs.map +1 -0
- package/dist/AaveV3InkWhitelabel-1kaam5YF.d.mts +161 -0
- package/dist/AaveV3InkWhitelabel-1kaam5YF.d.ts +161 -0
- package/dist/AaveV3InkWhitelabel-Yrzvcm2I.d.mts +159 -0
- package/dist/AaveV3InkWhitelabel-Yrzvcm2I.d.ts +159 -0
- package/dist/AaveV3InkWhitelabel-oBqPLOdi.d.mts +163 -0
- package/dist/AaveV3InkWhitelabel-oBqPLOdi.d.ts +163 -0
- package/dist/AaveV3InkWhitelabel.d.mts +1 -0
- package/dist/AaveV3InkWhitelabel.d.ts +1 -0
- package/dist/AaveV3InkWhitelabel.js +217 -0
- package/dist/AaveV3InkWhitelabel.js.map +1 -0
- package/dist/AaveV3InkWhitelabel.mjs +165 -0
- package/dist/AaveV3InkWhitelabel.mjs.map +1 -0
- package/dist/AaveV3Linea-BBpHH0_1.d.mts +209 -0
- package/dist/AaveV3Linea-BBpHH0_1.d.ts +209 -0
- package/dist/AaveV3Linea-BHPaYvQ8.d.mts +201 -0
- package/dist/AaveV3Linea-BHPaYvQ8.d.ts +201 -0
- package/dist/AaveV3Linea-CJyTFeEf.d.mts +209 -0
- package/dist/AaveV3Linea-CJyTFeEf.d.ts +209 -0
- package/dist/AaveV3Linea.d.mts +1 -0
- package/dist/AaveV3Linea.d.ts +1 -0
- package/dist/AaveV3Linea.js +263 -0
- package/dist/AaveV3Linea.js.map +1 -0
- package/dist/AaveV3Linea.mjs +207 -0
- package/dist/AaveV3Linea.mjs.map +1 -0
- package/dist/AaveV3Mantle-BuzMwuJu.d.mts +222 -0
- package/dist/AaveV3Mantle-BuzMwuJu.d.ts +222 -0
- package/dist/AaveV3Mantle.d.mts +1 -0
- package/dist/AaveV3Mantle.d.ts +1 -0
- package/dist/AaveV3Mantle.js +292 -0
- package/dist/AaveV3Mantle.js.map +1 -0
- package/dist/AaveV3Mantle.mjs +239 -0
- package/dist/AaveV3Mantle.mjs.map +1 -0
- package/dist/AaveV3MegaEth-C0Ghehct.d.mts +207 -0
- package/dist/AaveV3MegaEth-C0Ghehct.d.ts +207 -0
- package/dist/AaveV3MegaEth.d.mts +1 -0
- package/dist/AaveV3MegaEth.d.ts +1 -0
- package/dist/AaveV3MegaEth.js +267 -0
- package/dist/AaveV3MegaEth.js.map +1 -0
- package/dist/AaveV3MegaEth.mjs +214 -0
- package/dist/AaveV3MegaEth.mjs.map +1 -0
- package/dist/AaveV3Metis-B-xLVihn.d.mts +121 -0
- package/dist/AaveV3Metis-B-xLVihn.d.ts +121 -0
- package/dist/AaveV3Metis-CBY47IHt.d.mts +121 -0
- package/dist/AaveV3Metis-CBY47IHt.d.ts +121 -0
- package/dist/AaveV3Metis-YK8GnCqw.d.mts +121 -0
- package/dist/AaveV3Metis-YK8GnCqw.d.ts +121 -0
- package/dist/AaveV3Metis.d.mts +1 -0
- package/dist/AaveV3Metis.d.ts +1 -0
- package/dist/AaveV3Metis.js +172 -0
- package/dist/AaveV3Metis.js.map +1 -0
- package/dist/AaveV3Metis.mjs +119 -0
- package/dist/AaveV3Metis.mjs.map +1 -0
- package/dist/AaveV3Optimism-B56wNW4W.d.mts +265 -0
- package/dist/AaveV3Optimism-B56wNW4W.d.ts +265 -0
- package/dist/AaveV3Optimism-CnM8fQ_n.d.mts +269 -0
- package/dist/AaveV3Optimism-CnM8fQ_n.d.ts +269 -0
- package/dist/AaveV3Optimism-CtLGGZcd.d.mts +269 -0
- package/dist/AaveV3Optimism-CtLGGZcd.d.ts +269 -0
- package/dist/AaveV3Optimism.d.mts +1 -0
- package/dist/AaveV3Optimism.d.ts +1 -0
- package/dist/AaveV3Optimism.js +343 -0
- package/dist/AaveV3Optimism.js.map +1 -0
- package/dist/AaveV3Optimism.mjs +280 -0
- package/dist/AaveV3Optimism.mjs.map +1 -0
- package/dist/AaveV3OptimismSepolia-CPJoNMVN.d.mts +73 -0
- package/dist/AaveV3OptimismSepolia-CPJoNMVN.d.ts +73 -0
- package/dist/AaveV3OptimismSepolia.d.mts +1 -0
- package/dist/AaveV3OptimismSepolia.d.ts +1 -0
- package/dist/AaveV3OptimismSepolia.js +119 -0
- package/dist/AaveV3OptimismSepolia.js.map +1 -0
- package/dist/AaveV3OptimismSepolia.mjs +71 -0
- package/dist/AaveV3OptimismSepolia.mjs.map +1 -0
- package/dist/AaveV3Plasma-B_ZGpgN5.d.mts +402 -0
- package/dist/AaveV3Plasma-B_ZGpgN5.d.ts +402 -0
- package/dist/AaveV3Plasma-Bc4cTJEU.d.mts +370 -0
- package/dist/AaveV3Plasma-Bc4cTJEU.d.ts +370 -0
- package/dist/AaveV3Plasma-DSQ5HOTZ.d.mts +402 -0
- package/dist/AaveV3Plasma-DSQ5HOTZ.d.ts +402 -0
- package/dist/AaveV3Plasma.d.mts +1 -0
- package/dist/AaveV3Plasma.d.ts +1 -0
- package/dist/AaveV3Plasma.js +490 -0
- package/dist/AaveV3Plasma.js.map +1 -0
- package/dist/AaveV3Plasma.mjs +434 -0
- package/dist/AaveV3Plasma.mjs.map +1 -0
- package/dist/AaveV3Polygon-BY-TLCFj.d.mts +329 -0
- package/dist/AaveV3Polygon-BY-TLCFj.d.ts +329 -0
- package/dist/AaveV3Polygon-BgBhcfMn.d.mts +335 -0
- package/dist/AaveV3Polygon-BgBhcfMn.d.ts +335 -0
- package/dist/AaveV3Polygon-PaZ5Es0x.d.mts +336 -0
- package/dist/AaveV3Polygon-PaZ5Es0x.d.ts +336 -0
- package/dist/AaveV3Polygon.d.mts +1 -0
- package/dist/AaveV3Polygon.d.ts +1 -0
- package/dist/AaveV3Polygon.js +418 -0
- package/dist/AaveV3Polygon.js.map +1 -0
- package/dist/AaveV3Polygon.mjs +357 -0
- package/dist/AaveV3Polygon.mjs.map +1 -0
- package/dist/AaveV3Scroll-B9ZF3v4f.d.mts +131 -0
- package/dist/AaveV3Scroll-B9ZF3v4f.d.ts +131 -0
- package/dist/AaveV3Scroll-C0KoWLFt.d.mts +133 -0
- package/dist/AaveV3Scroll-C0KoWLFt.d.ts +133 -0
- package/dist/AaveV3Scroll-DY5G2dCv.d.mts +133 -0
- package/dist/AaveV3Scroll-DY5G2dCv.d.ts +133 -0
- package/dist/AaveV3Scroll.d.mts +1 -0
- package/dist/AaveV3Scroll.d.ts +1 -0
- package/dist/AaveV3Scroll.js +190 -0
- package/dist/AaveV3Scroll.js.map +1 -0
- package/dist/AaveV3Scroll.mjs +135 -0
- package/dist/AaveV3Scroll.mjs.map +1 -0
- package/dist/AaveV3ScrollSepolia-CDnWNwy6.d.mts +123 -0
- package/dist/AaveV3ScrollSepolia-CDnWNwy6.d.ts +123 -0
- package/dist/AaveV3ScrollSepolia.d.mts +1 -0
- package/dist/AaveV3ScrollSepolia.d.ts +1 -0
- package/dist/AaveV3ScrollSepolia.js +167 -0
- package/dist/AaveV3ScrollSepolia.js.map +1 -0
- package/dist/AaveV3ScrollSepolia.mjs +121 -0
- package/dist/AaveV3ScrollSepolia.mjs.map +1 -0
- package/dist/AaveV3Sepolia-BzYLqGvc.d.mts +142 -0
- package/dist/AaveV3Sepolia-BzYLqGvc.d.ts +142 -0
- package/dist/AaveV3Sepolia.d.mts +1 -0
- package/dist/AaveV3Sepolia.d.ts +1 -0
- package/dist/AaveV3Sepolia.js +187 -0
- package/dist/AaveV3Sepolia.js.map +1 -0
- package/dist/AaveV3Sepolia.mjs +140 -0
- package/dist/AaveV3Sepolia.mjs.map +1 -0
- package/dist/AaveV3Soneium-CTXW02-t.d.mts +96 -0
- package/dist/AaveV3Soneium-CTXW02-t.d.ts +96 -0
- package/dist/AaveV3Soneium-C_GCqCep.d.mts +96 -0
- package/dist/AaveV3Soneium-C_GCqCep.d.ts +96 -0
- package/dist/AaveV3Soneium-xybPHPiL.d.mts +96 -0
- package/dist/AaveV3Soneium-xybPHPiL.d.ts +96 -0
- package/dist/AaveV3Soneium.d.mts +1 -0
- package/dist/AaveV3Soneium.d.ts +1 -0
- package/dist/AaveV3Soneium.js +146 -0
- package/dist/AaveV3Soneium.js.map +1 -0
- package/dist/AaveV3Soneium.mjs +94 -0
- package/dist/AaveV3Soneium.mjs.map +1 -0
- package/dist/AaveV3Sonic-BM_1AxB3.d.mts +127 -0
- package/dist/AaveV3Sonic-BM_1AxB3.d.ts +127 -0
- package/dist/AaveV3Sonic-C7TOrLgb.d.mts +129 -0
- package/dist/AaveV3Sonic-C7TOrLgb.d.ts +129 -0
- package/dist/AaveV3Sonic-CmaPAeaj.d.mts +129 -0
- package/dist/AaveV3Sonic-CmaPAeaj.d.ts +129 -0
- package/dist/AaveV3Sonic.d.mts +1 -0
- package/dist/AaveV3Sonic.d.ts +1 -0
- package/dist/AaveV3Sonic.js +183 -0
- package/dist/AaveV3Sonic.js.map +1 -0
- package/dist/AaveV3Sonic.mjs +127 -0
- package/dist/AaveV3Sonic.mjs.map +1 -0
- package/dist/AaveV3ZkSync-1ylZoIhI.d.mts +170 -0
- package/dist/AaveV3ZkSync-1ylZoIhI.d.ts +170 -0
- package/dist/AaveV3ZkSync-DGXwhxmI.d.mts +176 -0
- package/dist/AaveV3ZkSync-DGXwhxmI.d.ts +176 -0
- package/dist/AaveV3ZkSync.d.mts +1 -0
- package/dist/AaveV3ZkSync.d.ts +1 -0
- package/dist/AaveV3ZkSync.js +228 -0
- package/dist/AaveV3ZkSync.js.map +1 -0
- package/dist/AaveV3ZkSync.mjs +177 -0
- package/dist/AaveV3ZkSync.mjs.map +1 -0
- package/dist/ChainlinkArbitrum-BKCRA5_c.d.mts +542 -0
- package/dist/ChainlinkArbitrum-BKCRA5_c.d.ts +542 -0
- package/dist/ChainlinkArbitrum-BlFs-5tp.d.mts +578 -0
- package/dist/ChainlinkArbitrum-BlFs-5tp.d.ts +578 -0
- package/dist/ChainlinkArbitrum.d.mts +1 -0
- package/dist/ChainlinkArbitrum.d.ts +1 -0
- package/dist/ChainlinkArbitrum.js +886 -0
- package/dist/ChainlinkArbitrum.js.map +1 -0
- package/dist/ChainlinkArbitrum.mjs +576 -0
- package/dist/ChainlinkArbitrum.mjs.map +1 -0
- package/dist/ChainlinkAvalanche-CwlJ9lsu.d.mts +206 -0
- package/dist/ChainlinkAvalanche-CwlJ9lsu.d.ts +206 -0
- package/dist/ChainlinkAvalanche-DoipjcP2.d.mts +206 -0
- package/dist/ChainlinkAvalanche-DoipjcP2.d.ts +206 -0
- package/dist/ChainlinkAvalanche.d.mts +1 -0
- package/dist/ChainlinkAvalanche.d.ts +1 -0
- package/dist/ChainlinkAvalanche.js +328 -0
- package/dist/ChainlinkAvalanche.js.map +1 -0
- package/dist/ChainlinkAvalanche.mjs +204 -0
- package/dist/ChainlinkAvalanche.mjs.map +1 -0
- package/dist/ChainlinkBNB-D_mIQmTJ.d.mts +474 -0
- package/dist/ChainlinkBNB-D_mIQmTJ.d.ts +474 -0
- package/dist/ChainlinkBNB-zeuKzLpD.d.mts +344 -0
- package/dist/ChainlinkBNB-zeuKzLpD.d.ts +344 -0
- package/dist/ChainlinkBNB.d.mts +1 -0
- package/dist/ChainlinkBNB.d.ts +1 -0
- package/dist/ChainlinkBNB.js +730 -0
- package/dist/ChainlinkBNB.js.map +1 -0
- package/dist/ChainlinkBNB.mjs +472 -0
- package/dist/ChainlinkBNB.mjs.map +1 -0
- package/dist/ChainlinkBase-CdJswrQs.d.mts +376 -0
- package/dist/ChainlinkBase-CdJswrQs.d.ts +376 -0
- package/dist/ChainlinkBase-DTV_9GvX.d.mts +360 -0
- package/dist/ChainlinkBase-DTV_9GvX.d.ts +360 -0
- package/dist/ChainlinkBase.d.mts +1 -0
- package/dist/ChainlinkBase.d.ts +1 -0
- package/dist/ChainlinkBase.js +583 -0
- package/dist/ChainlinkBase.js.map +1 -0
- package/dist/ChainlinkBase.mjs +374 -0
- package/dist/ChainlinkBase.mjs.map +1 -0
- package/dist/ChainlinkCelo-CDJTYExU.d.mts +62 -0
- package/dist/ChainlinkCelo-CDJTYExU.d.ts +62 -0
- package/dist/ChainlinkCelo-N8XZRwl8.d.mts +60 -0
- package/dist/ChainlinkCelo-N8XZRwl8.d.ts +60 -0
- package/dist/ChainlinkCelo.d.mts +1 -0
- package/dist/ChainlinkCelo.d.ts +1 -0
- package/dist/ChainlinkCelo.js +112 -0
- package/dist/ChainlinkCelo.js.map +1 -0
- package/dist/ChainlinkCelo.mjs +60 -0
- package/dist/ChainlinkCelo.mjs.map +1 -0
- package/dist/ChainlinkEthereum-CZm7z2DA.d.mts +558 -0
- package/dist/ChainlinkEthereum-CZm7z2DA.d.ts +558 -0
- package/dist/ChainlinkEthereum-D_ALf0ov.d.mts +548 -0
- package/dist/ChainlinkEthereum-D_ALf0ov.d.ts +548 -0
- package/dist/ChainlinkEthereum.d.mts +1 -0
- package/dist/ChainlinkEthereum.d.ts +1 -0
- package/dist/ChainlinkEthereum.js +856 -0
- package/dist/ChainlinkEthereum.js.map +1 -0
- package/dist/ChainlinkEthereum.mjs +556 -0
- package/dist/ChainlinkEthereum.mjs.map +1 -0
- package/dist/ChainlinkGnosis-CNlhSXKP.d.mts +86 -0
- package/dist/ChainlinkGnosis-CNlhSXKP.d.ts +86 -0
- package/dist/ChainlinkGnosis.d.mts +1 -0
- package/dist/ChainlinkGnosis.d.ts +1 -0
- package/dist/ChainlinkGnosis.js +148 -0
- package/dist/ChainlinkGnosis.js.map +1 -0
- package/dist/ChainlinkGnosis.mjs +84 -0
- package/dist/ChainlinkGnosis.mjs.map +1 -0
- package/dist/ChainlinkLinea-BHiNKG3f.d.mts +96 -0
- package/dist/ChainlinkLinea-BHiNKG3f.d.ts +96 -0
- package/dist/ChainlinkLinea-wHWpOKp0.d.mts +100 -0
- package/dist/ChainlinkLinea-wHWpOKp0.d.ts +100 -0
- package/dist/ChainlinkLinea.d.mts +1 -0
- package/dist/ChainlinkLinea.d.ts +1 -0
- package/dist/ChainlinkLinea.js +163 -0
- package/dist/ChainlinkLinea.js.map +1 -0
- package/dist/ChainlinkLinea.mjs +94 -0
- package/dist/ChainlinkLinea.mjs.map +1 -0
- package/dist/ChainlinkMantle-BopvKO35.d.mts +64 -0
- package/dist/ChainlinkMantle-BopvKO35.d.ts +64 -0
- package/dist/ChainlinkMantle-CJOA4euq.d.mts +62 -0
- package/dist/ChainlinkMantle-CJOA4euq.d.ts +62 -0
- package/dist/ChainlinkMantle.d.mts +1 -0
- package/dist/ChainlinkMantle.d.ts +1 -0
- package/dist/ChainlinkMantle.js +115 -0
- package/dist/ChainlinkMantle.js.map +1 -0
- package/dist/ChainlinkMantle.mjs +62 -0
- package/dist/ChainlinkMantle.mjs.map +1 -0
- package/dist/ChainlinkMetis-BypSxfga.d.mts +34 -0
- package/dist/ChainlinkMetis-BypSxfga.d.ts +34 -0
- package/dist/ChainlinkMetis-D6H-GFDo.d.mts +36 -0
- package/dist/ChainlinkMetis-D6H-GFDo.d.ts +36 -0
- package/dist/ChainlinkMetis.d.mts +1 -0
- package/dist/ChainlinkMetis.d.ts +1 -0
- package/dist/ChainlinkMetis.js +70 -0
- package/dist/ChainlinkMetis.js.map +1 -0
- package/dist/ChainlinkMetis.mjs +32 -0
- package/dist/ChainlinkMetis.mjs.map +1 -0
- package/dist/ChainlinkOptimism-Buwr4xeq.d.mts +334 -0
- package/dist/ChainlinkOptimism-Buwr4xeq.d.ts +334 -0
- package/dist/ChainlinkOptimism-D3j11E3N.d.mts +328 -0
- package/dist/ChainlinkOptimism-D3j11E3N.d.ts +328 -0
- package/dist/ChainlinkOptimism.d.mts +1 -0
- package/dist/ChainlinkOptimism.d.ts +1 -0
- package/dist/ChainlinkOptimism.js +511 -0
- package/dist/ChainlinkOptimism.js.map +1 -0
- package/dist/ChainlinkOptimism.mjs +326 -0
- package/dist/ChainlinkOptimism.mjs.map +1 -0
- package/dist/ChainlinkPolygon-DEVDbmlU.d.mts +308 -0
- package/dist/ChainlinkPolygon-DEVDbmlU.d.ts +308 -0
- package/dist/ChainlinkPolygon-DQ4Y2Eqg.d.mts +292 -0
- package/dist/ChainlinkPolygon-DQ4Y2Eqg.d.ts +292 -0
- package/dist/ChainlinkPolygon.d.mts +1 -0
- package/dist/ChainlinkPolygon.d.ts +1 -0
- package/dist/ChainlinkPolygon.js +457 -0
- package/dist/ChainlinkPolygon.js.map +1 -0
- package/dist/ChainlinkPolygon.mjs +290 -0
- package/dist/ChainlinkPolygon.mjs.map +1 -0
- package/dist/ChainlinkScroll-BhfJ0hoI.d.mts +84 -0
- package/dist/ChainlinkScroll-BhfJ0hoI.d.ts +84 -0
- package/dist/ChainlinkScroll-DERjYN15.d.mts +86 -0
- package/dist/ChainlinkScroll-DERjYN15.d.ts +86 -0
- package/dist/ChainlinkScroll.d.mts +1 -0
- package/dist/ChainlinkScroll.d.ts +1 -0
- package/dist/ChainlinkScroll.js +145 -0
- package/dist/ChainlinkScroll.js.map +1 -0
- package/dist/ChainlinkScroll.mjs +82 -0
- package/dist/ChainlinkScroll.mjs.map +1 -0
- package/dist/ChainlinkSoneium-BgEiV01w.d.mts +54 -0
- package/dist/ChainlinkSoneium-BgEiV01w.d.ts +54 -0
- package/dist/ChainlinkSoneium.d.mts +1 -0
- package/dist/ChainlinkSoneium.d.ts +1 -0
- package/dist/ChainlinkSoneium.js +100 -0
- package/dist/ChainlinkSoneium.js.map +1 -0
- package/dist/ChainlinkSoneium.mjs +52 -0
- package/dist/ChainlinkSoneium.mjs.map +1 -0
- package/dist/ChainlinkSonic-BAC_iCy1.d.mts +102 -0
- package/dist/ChainlinkSonic-BAC_iCy1.d.ts +102 -0
- package/dist/ChainlinkSonic.d.mts +1 -0
- package/dist/ChainlinkSonic.d.ts +1 -0
- package/dist/ChainlinkSonic.js +172 -0
- package/dist/ChainlinkSonic.js.map +1 -0
- package/dist/ChainlinkSonic.mjs +100 -0
- package/dist/ChainlinkSonic.mjs.map +1 -0
- package/dist/ChainlinkZkSync-DWxdhQm4.d.mts +76 -0
- package/dist/ChainlinkZkSync-DWxdhQm4.d.ts +76 -0
- package/dist/ChainlinkZkSync.d.mts +1 -0
- package/dist/ChainlinkZkSync.d.ts +1 -0
- package/dist/ChainlinkZkSync.js +133 -0
- package/dist/ChainlinkZkSync.js.map +1 -0
- package/dist/ChainlinkZkSync.mjs +74 -0
- package/dist/ChainlinkZkSync.mjs.map +1 -0
- package/dist/GhoArbitrum-CqLuKHBM.d.mts +20 -0
- package/dist/GhoArbitrum-CqLuKHBM.d.ts +20 -0
- package/dist/GhoArbitrum.d.mts +1 -0
- package/dist/GhoArbitrum.d.ts +1 -0
- package/dist/GhoArbitrum.js +49 -0
- package/dist/GhoArbitrum.js.map +1 -0
- package/dist/GhoArbitrum.mjs +18 -0
- package/dist/GhoArbitrum.mjs.map +1 -0
- package/dist/GhoAvalanche-lrRP8EO0.d.mts +20 -0
- package/dist/GhoAvalanche-lrRP8EO0.d.ts +20 -0
- package/dist/GhoAvalanche.d.mts +1 -0
- package/dist/GhoAvalanche.d.ts +1 -0
- package/dist/GhoAvalanche.js +49 -0
- package/dist/GhoAvalanche.js.map +1 -0
- package/dist/GhoAvalanche.mjs +18 -0
- package/dist/GhoAvalanche.mjs.map +1 -0
- package/dist/GhoBase-BmyrgcON.d.mts +20 -0
- package/dist/GhoBase-BmyrgcON.d.ts +20 -0
- package/dist/GhoBase.d.mts +1 -0
- package/dist/GhoBase.d.ts +1 -0
- package/dist/GhoBase.js +49 -0
- package/dist/GhoBase.js.map +1 -0
- package/dist/GhoBase.mjs +18 -0
- package/dist/GhoBase.mjs.map +1 -0
- package/dist/GhoEthereum-BqjS41yN.d.mts +44 -0
- package/dist/GhoEthereum-BqjS41yN.d.ts +44 -0
- package/dist/GhoEthereum.d.mts +1 -0
- package/dist/GhoEthereum.d.ts +1 -0
- package/dist/GhoEthereum.js +85 -0
- package/dist/GhoEthereum.js.map +1 -0
- package/dist/GhoEthereum.mjs +42 -0
- package/dist/GhoEthereum.mjs.map +1 -0
- package/dist/GhoGnosis-DoqEolA_.d.mts +22 -0
- package/dist/GhoGnosis-DoqEolA_.d.ts +22 -0
- package/dist/GhoGnosis.d.mts +1 -0
- package/dist/GhoGnosis.d.ts +1 -0
- package/dist/GhoGnosis.js +52 -0
- package/dist/GhoGnosis.js.map +1 -0
- package/dist/GhoGnosis.mjs +20 -0
- package/dist/GhoGnosis.mjs.map +1 -0
- package/dist/GhoInk-DDKVLj6m.d.mts +20 -0
- package/dist/GhoInk-DDKVLj6m.d.ts +20 -0
- package/dist/GhoInk.d.mts +1 -0
- package/dist/GhoInk.d.ts +1 -0
- package/dist/GhoInk.js +49 -0
- package/dist/GhoInk.js.map +1 -0
- package/dist/GhoInk.mjs +18 -0
- package/dist/GhoInk.mjs.map +1 -0
- package/dist/GhoMantle-Bi-BYKAk.d.mts +22 -0
- package/dist/GhoMantle-Bi-BYKAk.d.ts +22 -0
- package/dist/GhoMantle.d.mts +1 -0
- package/dist/GhoMantle.d.ts +1 -0
- package/dist/GhoMantle.js +52 -0
- package/dist/GhoMantle.js.map +1 -0
- package/dist/GhoMantle.mjs +20 -0
- package/dist/GhoMantle.mjs.map +1 -0
- package/dist/GhoPlasma-CFRmQ6V2.d.mts +20 -0
- package/dist/GhoPlasma-CFRmQ6V2.d.ts +20 -0
- package/dist/GhoPlasma.d.mts +1 -0
- package/dist/GhoPlasma.d.ts +1 -0
- package/dist/GhoPlasma.js +49 -0
- package/dist/GhoPlasma.js.map +1 -0
- package/dist/GhoPlasma.mjs +18 -0
- package/dist/GhoPlasma.mjs.map +1 -0
- package/dist/GovernanceV3Arbitrum-BdL7T8VW.d.mts +20 -0
- package/dist/GovernanceV3Arbitrum-BdL7T8VW.d.ts +20 -0
- package/dist/GovernanceV3Arbitrum.d.mts +1 -0
- package/dist/GovernanceV3Arbitrum.d.ts +1 -0
- package/dist/GovernanceV3Arbitrum.js +49 -0
- package/dist/GovernanceV3Arbitrum.js.map +1 -0
- package/dist/GovernanceV3Arbitrum.mjs +18 -0
- package/dist/GovernanceV3Arbitrum.mjs.map +1 -0
- package/dist/GovernanceV3Avalanche-DZ-rBIU7.d.mts +30 -0
- package/dist/GovernanceV3Avalanche-DZ-rBIU7.d.ts +30 -0
- package/dist/GovernanceV3Avalanche.d.mts +1 -0
- package/dist/GovernanceV3Avalanche.d.ts +1 -0
- package/dist/GovernanceV3Avalanche.js +64 -0
- package/dist/GovernanceV3Avalanche.js.map +1 -0
- package/dist/GovernanceV3Avalanche.mjs +28 -0
- package/dist/GovernanceV3Avalanche.mjs.map +1 -0
- package/dist/GovernanceV3BNB-CxGLJ0lw.d.mts +22 -0
- package/dist/GovernanceV3BNB-CxGLJ0lw.d.ts +22 -0
- package/dist/GovernanceV3BNB.d.mts +1 -0
- package/dist/GovernanceV3BNB.d.ts +1 -0
- package/dist/GovernanceV3BNB.js +52 -0
- package/dist/GovernanceV3BNB.js.map +1 -0
- package/dist/GovernanceV3BNB.mjs +20 -0
- package/dist/GovernanceV3BNB.mjs.map +1 -0
- package/dist/GovernanceV3Base-BSNYS8lK.d.mts +20 -0
- package/dist/GovernanceV3Base-BSNYS8lK.d.ts +20 -0
- package/dist/GovernanceV3Base.d.mts +1 -0
- package/dist/GovernanceV3Base.d.ts +1 -0
- package/dist/GovernanceV3Base.js +49 -0
- package/dist/GovernanceV3Base.js.map +1 -0
- package/dist/GovernanceV3Base.mjs +18 -0
- package/dist/GovernanceV3Base.mjs.map +1 -0
- package/dist/GovernanceV3Bob-CxllLKM0.d.mts +20 -0
- package/dist/GovernanceV3Bob-CxllLKM0.d.ts +20 -0
- package/dist/GovernanceV3Bob.d.mts +1 -0
- package/dist/GovernanceV3Bob.d.ts +1 -0
- package/dist/GovernanceV3Bob.js +49 -0
- package/dist/GovernanceV3Bob.js.map +1 -0
- package/dist/GovernanceV3Bob.mjs +18 -0
- package/dist/GovernanceV3Bob.mjs.map +1 -0
- package/dist/GovernanceV3Celo-sogFQJoC.d.mts +22 -0
- package/dist/GovernanceV3Celo-sogFQJoC.d.ts +22 -0
- package/dist/GovernanceV3Celo.d.mts +1 -0
- package/dist/GovernanceV3Celo.d.ts +1 -0
- package/dist/GovernanceV3Celo.js +52 -0
- package/dist/GovernanceV3Celo.js.map +1 -0
- package/dist/GovernanceV3Celo.mjs +20 -0
- package/dist/GovernanceV3Celo.mjs.map +1 -0
- package/dist/GovernanceV3Ethereum-CDQqtQrG.d.mts +46 -0
- package/dist/GovernanceV3Ethereum-CDQqtQrG.d.ts +46 -0
- package/dist/GovernanceV3Ethereum.d.mts +1 -0
- package/dist/GovernanceV3Ethereum.d.ts +1 -0
- package/dist/GovernanceV3Ethereum.js +88 -0
- package/dist/GovernanceV3Ethereum.js.map +1 -0
- package/dist/GovernanceV3Ethereum.mjs +44 -0
- package/dist/GovernanceV3Ethereum.mjs.map +1 -0
- package/dist/GovernanceV3Fuji-B_0uolGm.d.mts +20 -0
- package/dist/GovernanceV3Fuji-B_0uolGm.d.ts +20 -0
- package/dist/GovernanceV3Fuji.d.mts +1 -0
- package/dist/GovernanceV3Fuji.d.ts +1 -0
- package/dist/GovernanceV3Fuji.js +49 -0
- package/dist/GovernanceV3Fuji.js.map +1 -0
- package/dist/GovernanceV3Fuji.mjs +18 -0
- package/dist/GovernanceV3Fuji.mjs.map +1 -0
- package/dist/GovernanceV3Gnosis-CyMShQit.d.mts +22 -0
- package/dist/GovernanceV3Gnosis-CyMShQit.d.ts +22 -0
- package/dist/GovernanceV3Gnosis.d.mts +1 -0
- package/dist/GovernanceV3Gnosis.d.ts +1 -0
- package/dist/GovernanceV3Gnosis.js +52 -0
- package/dist/GovernanceV3Gnosis.js.map +1 -0
- package/dist/GovernanceV3Gnosis.mjs +20 -0
- package/dist/GovernanceV3Gnosis.mjs.map +1 -0
- package/dist/GovernanceV3Ink-R4lTg8Zs.d.mts +20 -0
- package/dist/GovernanceV3Ink-R4lTg8Zs.d.ts +20 -0
- package/dist/GovernanceV3Ink.d.mts +1 -0
- package/dist/GovernanceV3Ink.d.ts +1 -0
- package/dist/GovernanceV3Ink.js +49 -0
- package/dist/GovernanceV3Ink.js.map +1 -0
- package/dist/GovernanceV3Ink.mjs +18 -0
- package/dist/GovernanceV3Ink.mjs.map +1 -0
- package/dist/GovernanceV3InkWhitelabel-B-uLcIdo.d.mts +12 -0
- package/dist/GovernanceV3InkWhitelabel-B-uLcIdo.d.ts +12 -0
- package/dist/GovernanceV3InkWhitelabel.d.mts +1 -0
- package/dist/GovernanceV3InkWhitelabel.d.ts +1 -0
- package/dist/GovernanceV3InkWhitelabel.js +37 -0
- package/dist/GovernanceV3InkWhitelabel.js.map +1 -0
- package/dist/GovernanceV3InkWhitelabel.mjs +10 -0
- package/dist/GovernanceV3InkWhitelabel.mjs.map +1 -0
- package/dist/GovernanceV3Linea-ywum3n3c.d.mts +20 -0
- package/dist/GovernanceV3Linea-ywum3n3c.d.ts +20 -0
- package/dist/GovernanceV3Linea.d.mts +1 -0
- package/dist/GovernanceV3Linea.d.ts +1 -0
- package/dist/GovernanceV3Linea.js +49 -0
- package/dist/GovernanceV3Linea.js.map +1 -0
- package/dist/GovernanceV3Linea.mjs +18 -0
- package/dist/GovernanceV3Linea.mjs.map +1 -0
- package/dist/GovernanceV3Mantle-BtZAw5PK.d.mts +20 -0
- package/dist/GovernanceV3Mantle-BtZAw5PK.d.ts +20 -0
- package/dist/GovernanceV3Mantle.d.mts +1 -0
- package/dist/GovernanceV3Mantle.d.ts +1 -0
- package/dist/GovernanceV3Mantle.js +49 -0
- package/dist/GovernanceV3Mantle.js.map +1 -0
- package/dist/GovernanceV3Mantle.mjs +18 -0
- package/dist/GovernanceV3Mantle.mjs.map +1 -0
- package/dist/GovernanceV3MegaEth-CdQwHBGe.d.mts +20 -0
- package/dist/GovernanceV3MegaEth-CdQwHBGe.d.ts +20 -0
- package/dist/GovernanceV3MegaEth.d.mts +1 -0
- package/dist/GovernanceV3MegaEth.d.ts +1 -0
- package/dist/GovernanceV3MegaEth.js +49 -0
- package/dist/GovernanceV3MegaEth.js.map +1 -0
- package/dist/GovernanceV3MegaEth.mjs +18 -0
- package/dist/GovernanceV3MegaEth.mjs.map +1 -0
- package/dist/GovernanceV3Metis-DkupfsL5.d.mts +20 -0
- package/dist/GovernanceV3Metis-DkupfsL5.d.ts +20 -0
- package/dist/GovernanceV3Metis.d.mts +1 -0
- package/dist/GovernanceV3Metis.d.ts +1 -0
- package/dist/GovernanceV3Metis.js +49 -0
- package/dist/GovernanceV3Metis.js.map +1 -0
- package/dist/GovernanceV3Metis.mjs +18 -0
- package/dist/GovernanceV3Metis.mjs.map +1 -0
- package/dist/GovernanceV3Optimism-D7MOkx8j.d.mts +20 -0
- package/dist/GovernanceV3Optimism-D7MOkx8j.d.ts +20 -0
- package/dist/GovernanceV3Optimism.d.mts +1 -0
- package/dist/GovernanceV3Optimism.d.ts +1 -0
- package/dist/GovernanceV3Optimism.js +49 -0
- package/dist/GovernanceV3Optimism.js.map +1 -0
- package/dist/GovernanceV3Optimism.mjs +18 -0
- package/dist/GovernanceV3Optimism.mjs.map +1 -0
- package/dist/GovernanceV3Plasma-BkxqI7pw.d.mts +22 -0
- package/dist/GovernanceV3Plasma-BkxqI7pw.d.ts +22 -0
- package/dist/GovernanceV3Plasma.d.mts +1 -0
- package/dist/GovernanceV3Plasma.d.ts +1 -0
- package/dist/GovernanceV3Plasma.js +52 -0
- package/dist/GovernanceV3Plasma.js.map +1 -0
- package/dist/GovernanceV3Plasma.mjs +20 -0
- package/dist/GovernanceV3Plasma.mjs.map +1 -0
- package/dist/GovernanceV3Polygon-2dWH3s31.d.mts +30 -0
- package/dist/GovernanceV3Polygon-2dWH3s31.d.ts +30 -0
- package/dist/GovernanceV3Polygon.d.mts +1 -0
- package/dist/GovernanceV3Polygon.d.ts +1 -0
- package/dist/GovernanceV3Polygon.js +64 -0
- package/dist/GovernanceV3Polygon.js.map +1 -0
- package/dist/GovernanceV3Polygon.mjs +28 -0
- package/dist/GovernanceV3Polygon.mjs.map +1 -0
- package/dist/GovernanceV3Scroll-B-NxAG4U.d.mts +20 -0
- package/dist/GovernanceV3Scroll-B-NxAG4U.d.ts +20 -0
- package/dist/GovernanceV3Scroll.d.mts +1 -0
- package/dist/GovernanceV3Scroll.d.ts +1 -0
- package/dist/GovernanceV3Scroll.js +49 -0
- package/dist/GovernanceV3Scroll.js.map +1 -0
- package/dist/GovernanceV3Scroll.mjs +18 -0
- package/dist/GovernanceV3Scroll.mjs.map +1 -0
- package/dist/GovernanceV3Soneium-BRiiDMaY.d.mts +20 -0
- package/dist/GovernanceV3Soneium-BRiiDMaY.d.ts +20 -0
- package/dist/GovernanceV3Soneium.d.mts +1 -0
- package/dist/GovernanceV3Soneium.d.ts +1 -0
- package/dist/GovernanceV3Soneium.js +49 -0
- package/dist/GovernanceV3Soneium.js.map +1 -0
- package/dist/GovernanceV3Soneium.mjs +18 -0
- package/dist/GovernanceV3Soneium.mjs.map +1 -0
- package/dist/GovernanceV3Sonic-Bp1_RbNp.d.mts +22 -0
- package/dist/GovernanceV3Sonic-Bp1_RbNp.d.ts +22 -0
- package/dist/GovernanceV3Sonic.d.mts +1 -0
- package/dist/GovernanceV3Sonic.d.ts +1 -0
- package/dist/GovernanceV3Sonic.js +52 -0
- package/dist/GovernanceV3Sonic.js.map +1 -0
- package/dist/GovernanceV3Sonic.mjs +20 -0
- package/dist/GovernanceV3Sonic.mjs.map +1 -0
- package/dist/GovernanceV3ZkSync-71dtL0sR.d.mts +20 -0
- package/dist/GovernanceV3ZkSync-71dtL0sR.d.ts +20 -0
- package/dist/GovernanceV3ZkSync.d.mts +1 -0
- package/dist/GovernanceV3ZkSync.d.ts +1 -0
- package/dist/GovernanceV3ZkSync.js +49 -0
- package/dist/GovernanceV3ZkSync.js.map +1 -0
- package/dist/GovernanceV3ZkSync.mjs +18 -0
- package/dist/GovernanceV3ZkSync.mjs.map +1 -0
- package/dist/MiscArbitrum-96NnOezO.d.mts +52 -0
- package/dist/MiscArbitrum-96NnOezO.d.ts +52 -0
- package/dist/MiscArbitrum.d.mts +1 -0
- package/dist/MiscArbitrum.d.ts +1 -0
- package/dist/MiscArbitrum.js +97 -0
- package/dist/MiscArbitrum.js.map +1 -0
- package/dist/MiscArbitrum.mjs +50 -0
- package/dist/MiscArbitrum.mjs.map +1 -0
- package/dist/MiscArbitrumSepolia-CmPoJNB-.d.mts +14 -0
- package/dist/MiscArbitrumSepolia-CmPoJNB-.d.ts +14 -0
- package/dist/MiscArbitrumSepolia.d.mts +1 -0
- package/dist/MiscArbitrumSepolia.d.ts +1 -0
- package/dist/MiscArbitrumSepolia.js +40 -0
- package/dist/MiscArbitrumSepolia.js.map +1 -0
- package/dist/MiscArbitrumSepolia.mjs +12 -0
- package/dist/MiscArbitrumSepolia.mjs.map +1 -0
- package/dist/MiscAvalanche-C9Q7e0_x.d.mts +36 -0
- package/dist/MiscAvalanche-C9Q7e0_x.d.ts +36 -0
- package/dist/MiscAvalanche.d.mts +1 -0
- package/dist/MiscAvalanche.d.ts +1 -0
- package/dist/MiscAvalanche.js +73 -0
- package/dist/MiscAvalanche.js.map +1 -0
- package/dist/MiscAvalanche.mjs +34 -0
- package/dist/MiscAvalanche.mjs.map +1 -0
- package/dist/MiscBNB-CBLTK8QY.d.mts +34 -0
- package/dist/MiscBNB-CBLTK8QY.d.ts +34 -0
- package/dist/MiscBNB.d.mts +1 -0
- package/dist/MiscBNB.d.ts +1 -0
- package/dist/MiscBNB.js +70 -0
- package/dist/MiscBNB.js.map +1 -0
- package/dist/MiscBNB.mjs +32 -0
- package/dist/MiscBNB.mjs.map +1 -0
- package/dist/MiscBase-BBL7cJN5.d.mts +46 -0
- package/dist/MiscBase-BBL7cJN5.d.ts +46 -0
- package/dist/MiscBase.d.mts +1 -0
- package/dist/MiscBase.d.ts +1 -0
- package/dist/MiscBase.js +88 -0
- package/dist/MiscBase.js.map +1 -0
- package/dist/MiscBase.mjs +44 -0
- package/dist/MiscBase.mjs.map +1 -0
- package/dist/MiscBaseSepolia-BaKOqr9K.d.mts +14 -0
- package/dist/MiscBaseSepolia-BaKOqr9K.d.ts +14 -0
- package/dist/MiscBaseSepolia.d.mts +1 -0
- package/dist/MiscBaseSepolia.d.ts +1 -0
- package/dist/MiscBaseSepolia.js +40 -0
- package/dist/MiscBaseSepolia.js.map +1 -0
- package/dist/MiscBaseSepolia.mjs +12 -0
- package/dist/MiscBaseSepolia.mjs.map +1 -0
- package/dist/MiscBob-Cy7EPGlm.d.mts +10 -0
- package/dist/MiscBob-Cy7EPGlm.d.ts +10 -0
- package/dist/MiscBob.d.mts +1 -0
- package/dist/MiscBob.d.ts +1 -0
- package/dist/MiscBob.js +34 -0
- package/dist/MiscBob.js.map +1 -0
- package/dist/MiscBob.mjs +8 -0
- package/dist/MiscBob.mjs.map +1 -0
- package/dist/MiscCelo-keOle0WA.d.mts +18 -0
- package/dist/MiscCelo-keOle0WA.d.ts +18 -0
- package/dist/MiscCelo.d.mts +1 -0
- package/dist/MiscCelo.d.ts +1 -0
- package/dist/MiscCelo.js +46 -0
- package/dist/MiscCelo.js.map +1 -0
- package/dist/MiscCelo.mjs +16 -0
- package/dist/MiscCelo.mjs.map +1 -0
- package/dist/MiscEthereum-DCOUBieV.d.mts +76 -0
- package/dist/MiscEthereum-DCOUBieV.d.ts +76 -0
- package/dist/MiscEthereum.d.mts +1 -0
- package/dist/MiscEthereum.d.ts +1 -0
- package/dist/MiscEthereum.js +133 -0
- package/dist/MiscEthereum.js.map +1 -0
- package/dist/MiscEthereum.mjs +74 -0
- package/dist/MiscEthereum.mjs.map +1 -0
- package/dist/MiscFantom-B79Ysi4P.d.mts +8 -0
- package/dist/MiscFantom-B79Ysi4P.d.ts +8 -0
- package/dist/MiscFantom.d.mts +1 -0
- package/dist/MiscFantom.d.ts +1 -0
- package/dist/MiscFantom.js +31 -0
- package/dist/MiscFantom.js.map +1 -0
- package/dist/MiscFantom.mjs +6 -0
- package/dist/MiscFantom.mjs.map +1 -0
- package/dist/MiscFuji-v0MWaE-B.d.mts +14 -0
- package/dist/MiscFuji-v0MWaE-B.d.ts +14 -0
- package/dist/MiscFuji.d.mts +1 -0
- package/dist/MiscFuji.d.ts +1 -0
- package/dist/MiscFuji.js +40 -0
- package/dist/MiscFuji.js.map +1 -0
- package/dist/MiscFuji.mjs +12 -0
- package/dist/MiscFuji.mjs.map +1 -0
- package/dist/MiscGnosis-CdUtPjgn.d.mts +42 -0
- package/dist/MiscGnosis-CdUtPjgn.d.ts +42 -0
- package/dist/MiscGnosis.d.mts +1 -0
- package/dist/MiscGnosis.d.ts +1 -0
- package/dist/MiscGnosis.js +82 -0
- package/dist/MiscGnosis.js.map +1 -0
- package/dist/MiscGnosis.mjs +40 -0
- package/dist/MiscGnosis.mjs.map +1 -0
- package/dist/MiscInk-BGOiZt5I.d.mts +10 -0
- package/dist/MiscInk-BGOiZt5I.d.ts +10 -0
- package/dist/MiscInk.d.mts +1 -0
- package/dist/MiscInk.d.ts +1 -0
- package/dist/MiscInk.js +34 -0
- package/dist/MiscInk.js.map +1 -0
- package/dist/MiscInk.mjs +8 -0
- package/dist/MiscInk.mjs.map +1 -0
- package/dist/MiscInkWhitelabel-BzsJIjOz.d.mts +12 -0
- package/dist/MiscInkWhitelabel-BzsJIjOz.d.ts +12 -0
- package/dist/MiscInkWhitelabel.d.mts +1 -0
- package/dist/MiscInkWhitelabel.d.ts +1 -0
- package/dist/MiscInkWhitelabel.js +37 -0
- package/dist/MiscInkWhitelabel.js.map +1 -0
- package/dist/MiscInkWhitelabel.mjs +10 -0
- package/dist/MiscInkWhitelabel.mjs.map +1 -0
- package/dist/MiscLinea-DaL4iY7X.d.mts +24 -0
- package/dist/MiscLinea-DaL4iY7X.d.ts +24 -0
- package/dist/MiscLinea.d.mts +1 -0
- package/dist/MiscLinea.d.ts +1 -0
- package/dist/MiscLinea.js +55 -0
- package/dist/MiscLinea.js.map +1 -0
- package/dist/MiscLinea.mjs +22 -0
- package/dist/MiscLinea.mjs.map +1 -0
- package/dist/MiscMantle-CUx9I4jT.d.mts +12 -0
- package/dist/MiscMantle-CUx9I4jT.d.ts +12 -0
- package/dist/MiscMantle.d.mts +1 -0
- package/dist/MiscMantle.d.ts +1 -0
- package/dist/MiscMantle.js +37 -0
- package/dist/MiscMantle.js.map +1 -0
- package/dist/MiscMantle.mjs +10 -0
- package/dist/MiscMantle.mjs.map +1 -0
- package/dist/MiscMegaEth-Cxpa67zO.d.mts +12 -0
- package/dist/MiscMegaEth-Cxpa67zO.d.ts +12 -0
- package/dist/MiscMegaEth.d.mts +1 -0
- package/dist/MiscMegaEth.d.ts +1 -0
- package/dist/MiscMegaEth.js +37 -0
- package/dist/MiscMegaEth.js.map +1 -0
- package/dist/MiscMegaEth.mjs +10 -0
- package/dist/MiscMegaEth.mjs.map +1 -0
- package/dist/MiscMetis-CTMOCd0V.d.mts +18 -0
- package/dist/MiscMetis-CTMOCd0V.d.ts +18 -0
- package/dist/MiscMetis.d.mts +1 -0
- package/dist/MiscMetis.d.ts +1 -0
- package/dist/MiscMetis.js +46 -0
- package/dist/MiscMetis.js.map +1 -0
- package/dist/MiscMetis.mjs +16 -0
- package/dist/MiscMetis.mjs.map +1 -0
- package/dist/MiscOptimism-DmSAlDXU.d.mts +52 -0
- package/dist/MiscOptimism-DmSAlDXU.d.ts +52 -0
- package/dist/MiscOptimism.d.mts +1 -0
- package/dist/MiscOptimism.d.ts +1 -0
- package/dist/MiscOptimism.js +97 -0
- package/dist/MiscOptimism.js.map +1 -0
- package/dist/MiscOptimism.mjs +50 -0
- package/dist/MiscOptimism.mjs.map +1 -0
- package/dist/MiscOptimismSepolia-DMzXQB5k.d.mts +14 -0
- package/dist/MiscOptimismSepolia-DMzXQB5k.d.ts +14 -0
- package/dist/MiscOptimismSepolia.d.mts +1 -0
- package/dist/MiscOptimismSepolia.d.ts +1 -0
- package/dist/MiscOptimismSepolia.js +40 -0
- package/dist/MiscOptimismSepolia.js.map +1 -0
- package/dist/MiscOptimismSepolia.mjs +12 -0
- package/dist/MiscOptimismSepolia.mjs.map +1 -0
- package/dist/MiscPlasma-bSfEGelg.d.mts +18 -0
- package/dist/MiscPlasma-bSfEGelg.d.ts +18 -0
- package/dist/MiscPlasma.d.mts +1 -0
- package/dist/MiscPlasma.d.ts +1 -0
- package/dist/MiscPlasma.js +46 -0
- package/dist/MiscPlasma.js.map +1 -0
- package/dist/MiscPlasma.mjs +16 -0
- package/dist/MiscPlasma.mjs.map +1 -0
- package/dist/MiscPolygon-C68BfwN_.d.mts +44 -0
- package/dist/MiscPolygon-C68BfwN_.d.ts +44 -0
- package/dist/MiscPolygon.d.mts +1 -0
- package/dist/MiscPolygon.d.ts +1 -0
- package/dist/MiscPolygon.js +85 -0
- package/dist/MiscPolygon.js.map +1 -0
- package/dist/MiscPolygon.mjs +42 -0
- package/dist/MiscPolygon.mjs.map +1 -0
- package/dist/MiscScroll-CDO4QiqU.d.mts +26 -0
- package/dist/MiscScroll-CDO4QiqU.d.ts +26 -0
- package/dist/MiscScroll.d.mts +1 -0
- package/dist/MiscScroll.d.ts +1 -0
- package/dist/MiscScroll.js +58 -0
- package/dist/MiscScroll.js.map +1 -0
- package/dist/MiscScroll.mjs +24 -0
- package/dist/MiscScroll.mjs.map +1 -0
- package/dist/MiscSepolia-C8Gx1k64.d.mts +16 -0
- package/dist/MiscSepolia-C8Gx1k64.d.ts +16 -0
- package/dist/MiscSepolia.d.mts +1 -0
- package/dist/MiscSepolia.d.ts +1 -0
- package/dist/MiscSepolia.js +43 -0
- package/dist/MiscSepolia.js.map +1 -0
- package/dist/MiscSepolia.mjs +14 -0
- package/dist/MiscSepolia.mjs.map +1 -0
- package/dist/MiscSoneium-CRb2P91P.d.mts +12 -0
- package/dist/MiscSoneium-CRb2P91P.d.ts +12 -0
- package/dist/MiscSoneium.d.mts +1 -0
- package/dist/MiscSoneium.d.ts +1 -0
- package/dist/MiscSoneium.js +37 -0
- package/dist/MiscSoneium.js.map +1 -0
- package/dist/MiscSoneium.mjs +10 -0
- package/dist/MiscSoneium.mjs.map +1 -0
- package/dist/MiscSonic-0jf3gOWO.d.mts +18 -0
- package/dist/MiscSonic-0jf3gOWO.d.ts +18 -0
- package/dist/MiscSonic.d.mts +1 -0
- package/dist/MiscSonic.d.ts +1 -0
- package/dist/MiscSonic.js +46 -0
- package/dist/MiscSonic.js.map +1 -0
- package/dist/MiscSonic.mjs +16 -0
- package/dist/MiscSonic.mjs.map +1 -0
- package/dist/MiscZkSync--7ISUz9Q.d.mts +14 -0
- package/dist/MiscZkSync--7ISUz9Q.d.ts +14 -0
- package/dist/MiscZkSync.d.mts +1 -0
- package/dist/MiscZkSync.d.ts +1 -0
- package/dist/MiscZkSync.js +40 -0
- package/dist/MiscZkSync.js.map +1 -0
- package/dist/MiscZkSync.mjs +12 -0
- package/dist/MiscZkSync.mjs.map +1 -0
- package/dist/UmbrellaBaseSepolia-36OMfwz5.d.mts +59 -0
- package/dist/UmbrellaBaseSepolia-36OMfwz5.d.ts +59 -0
- package/dist/UmbrellaBaseSepolia.d.mts +1 -0
- package/dist/UmbrellaBaseSepolia.d.ts +1 -0
- package/dist/UmbrellaBaseSepolia.js +92 -0
- package/dist/UmbrellaBaseSepolia.js.map +1 -0
- package/dist/UmbrellaBaseSepolia.mjs +57 -0
- package/dist/UmbrellaBaseSepolia.mjs.map +1 -0
- package/dist/UmbrellaEthereum-Ham2Xamu.d.mts +53 -0
- package/dist/UmbrellaEthereum-Ham2Xamu.d.ts +53 -0
- package/dist/UmbrellaEthereum.d.mts +1 -0
- package/dist/UmbrellaEthereum.d.ts +1 -0
- package/dist/UmbrellaEthereum.js +88 -0
- package/dist/UmbrellaEthereum.js.map +1 -0
- package/dist/UmbrellaEthereum.mjs +51 -0
- package/dist/UmbrellaEthereum.mjs.map +1 -0
- package/dist/abis/AggregatorInterface.d.mts +177 -0
- package/dist/abis/AggregatorInterface.d.ts +177 -0
- package/dist/abis/AggregatorInterface.js +257 -0
- package/dist/abis/AggregatorInterface.js.map +1 -0
- package/dist/abis/AggregatorInterface.mjs +232 -0
- package/dist/abis/AggregatorInterface.mjs.map +1 -0
- package/dist/abis/IAToken.d.mts +565 -0
- package/dist/abis/IAToken.d.ts +565 -0
- package/dist/abis/IAToken.js +754 -0
- package/dist/abis/IAToken.js.map +1 -0
- package/dist/abis/IAToken.mjs +729 -0
- package/dist/abis/IAToken.mjs.map +1 -0
- package/dist/abis/IATokenWithDelegation.d.mts +990 -0
- package/dist/abis/IATokenWithDelegation.d.ts +990 -0
- package/dist/abis/IATokenWithDelegation.js +1306 -0
- package/dist/abis/IATokenWithDelegation.js.map +1 -0
- package/dist/abis/IATokenWithDelegation.mjs +1281 -0
- package/dist/abis/IATokenWithDelegation.mjs.map +1 -0
- package/dist/abis/IAaveOracle.d.mts +149 -0
- package/dist/abis/IAaveOracle.d.ts +149 -0
- package/dist/abis/IAaveOracle.js +223 -0
- package/dist/abis/IAaveOracle.js.map +1 -0
- package/dist/abis/IAaveOracle.mjs +198 -0
- package/dist/abis/IAaveOracle.mjs.map +1 -0
- package/dist/abis/IAaveToken.d.mts +554 -0
- package/dist/abis/IAaveToken.d.ts +554 -0
- package/dist/abis/IAaveToken.js +747 -0
- package/dist/abis/IAaveToken.js.map +1 -0
- package/dist/abis/IAaveToken.mjs +722 -0
- package/dist/abis/IAaveToken.mjs.map +1 -0
- package/dist/abis/IAaveV3ConfigEngine.d.mts +626 -0
- package/dist/abis/IAaveV3ConfigEngine.d.ts +626 -0
- package/dist/abis/IAaveV3ConfigEngine.js +836 -0
- package/dist/abis/IAaveV3ConfigEngine.js.map +1 -0
- package/dist/abis/IAaveV3ConfigEngine.mjs +811 -0
- package/dist/abis/IAaveV3ConfigEngine.mjs.map +1 -0
- package/dist/abis/ICollector.d.mts +339 -0
- package/dist/abis/ICollector.d.ts +339 -0
- package/dist/abis/ICollector.js +462 -0
- package/dist/abis/ICollector.js.map +1 -0
- package/dist/abis/ICollector.mjs +437 -0
- package/dist/abis/ICollector.mjs.map +1 -0
- package/dist/abis/ICrossChainController.d.mts +982 -0
- package/dist/abis/ICrossChainController.d.ts +982 -0
- package/dist/abis/ICrossChainController.js +1302 -0
- package/dist/abis/ICrossChainController.js.map +1 -0
- package/dist/abis/ICrossChainController.mjs +1277 -0
- package/dist/abis/ICrossChainController.mjs.map +1 -0
- package/dist/abis/IDataWarehouse.d.mts +176 -0
- package/dist/abis/IDataWarehouse.d.ts +176 -0
- package/dist/abis/IDataWarehouse.js +255 -0
- package/dist/abis/IDataWarehouse.js.map +1 -0
- package/dist/abis/IDataWarehouse.mjs +230 -0
- package/dist/abis/IDataWarehouse.mjs.map +1 -0
- package/dist/abis/IDefaultInterestRateStrategy.d.mts +135 -0
- package/dist/abis/IDefaultInterestRateStrategy.d.ts +135 -0
- package/dist/abis/IDefaultInterestRateStrategy.js +203 -0
- package/dist/abis/IDefaultInterestRateStrategy.js.map +1 -0
- package/dist/abis/IDefaultInterestRateStrategy.mjs +178 -0
- package/dist/abis/IDefaultInterestRateStrategy.mjs.map +1 -0
- package/dist/abis/IERC20.d.mts +143 -0
- package/dist/abis/IERC20.d.ts +143 -0
- package/dist/abis/IERC20.js +215 -0
- package/dist/abis/IERC20.js.map +1 -0
- package/dist/abis/IERC20.mjs +190 -0
- package/dist/abis/IERC20.mjs.map +1 -0
- package/dist/abis/IERC20Detailed.d.mts +173 -0
- package/dist/abis/IERC20Detailed.d.ts +173 -0
- package/dist/abis/IERC20Detailed.js +254 -0
- package/dist/abis/IERC20Detailed.js.map +1 -0
- package/dist/abis/IERC20Detailed.mjs +229 -0
- package/dist/abis/IERC20Detailed.mjs.map +1 -0
- package/dist/abis/IExecutor.d.mts +73 -0
- package/dist/abis/IExecutor.d.ts +73 -0
- package/dist/abis/IExecutor.js +120 -0
- package/dist/abis/IExecutor.js.map +1 -0
- package/dist/abis/IExecutor.mjs +95 -0
- package/dist/abis/IExecutor.mjs.map +1 -0
- package/dist/abis/IExecutorWithTimelock.d.mts +362 -0
- package/dist/abis/IExecutorWithTimelock.d.ts +362 -0
- package/dist/abis/IExecutorWithTimelock.js +490 -0
- package/dist/abis/IExecutorWithTimelock.js.map +1 -0
- package/dist/abis/IExecutorWithTimelock.mjs +465 -0
- package/dist/abis/IExecutorWithTimelock.mjs.map +1 -0
- package/dist/abis/IGovernanceCore.d.mts +804 -0
- package/dist/abis/IGovernanceCore.d.ts +804 -0
- package/dist/abis/IGovernanceCore.js +1061 -0
- package/dist/abis/IGovernanceCore.js.map +1 -0
- package/dist/abis/IGovernanceCore.mjs +1036 -0
- package/dist/abis/IGovernanceCore.mjs.map +1 -0
- package/dist/abis/IGovernanceDataHelper.d.mts +233 -0
- package/dist/abis/IGovernanceDataHelper.d.ts +233 -0
- package/dist/abis/IGovernanceDataHelper.js +330 -0
- package/dist/abis/IGovernanceDataHelper.js.map +1 -0
- package/dist/abis/IGovernanceDataHelper.mjs +305 -0
- package/dist/abis/IGovernanceDataHelper.mjs.map +1 -0
- package/dist/abis/IGovernancePowerStrategy.d.mts +31 -0
- package/dist/abis/IGovernancePowerStrategy.d.ts +31 -0
- package/dist/abis/IGovernancePowerStrategy.js +70 -0
- package/dist/abis/IGovernancePowerStrategy.js.map +1 -0
- package/dist/abis/IGovernancePowerStrategy.mjs +45 -0
- package/dist/abis/IGovernancePowerStrategy.mjs.map +1 -0
- package/dist/abis/ILendingPool.d.mts +798 -0
- package/dist/abis/ILendingPool.d.ts +798 -0
- package/dist/abis/ILendingPool.js +1044 -0
- package/dist/abis/ILendingPool.js.map +1 -0
- package/dist/abis/ILendingPool.mjs +1019 -0
- package/dist/abis/ILendingPool.mjs.map +1 -0
- package/dist/abis/ILendingPoolAddressesProvider.d.mts +320 -0
- package/dist/abis/ILendingPoolAddressesProvider.d.ts +320 -0
- package/dist/abis/ILendingPoolAddressesProvider.js +443 -0
- package/dist/abis/ILendingPoolAddressesProvider.js.map +1 -0
- package/dist/abis/ILendingPoolAddressesProvider.mjs +418 -0
- package/dist/abis/ILendingPoolAddressesProvider.mjs.map +1 -0
- package/dist/abis/ILendingPoolConfigurator.d.mts +535 -0
- package/dist/abis/ILendingPoolConfigurator.d.ts +535 -0
- package/dist/abis/ILendingPoolConfigurator.js +710 -0
- package/dist/abis/ILendingPoolConfigurator.js.map +1 -0
- package/dist/abis/ILendingPoolConfigurator.mjs +685 -0
- package/dist/abis/ILendingPoolConfigurator.mjs.map +1 -0
- package/dist/abis/IMetaDelegateHelper.d.mts +46 -0
- package/dist/abis/IMetaDelegateHelper.d.ts +46 -0
- package/dist/abis/IMetaDelegateHelper.js +87 -0
- package/dist/abis/IMetaDelegateHelper.js.map +1 -0
- package/dist/abis/IMetaDelegateHelper.mjs +62 -0
- package/dist/abis/IMetaDelegateHelper.mjs.map +1 -0
- package/dist/abis/IOwnable.d.mts +44 -0
- package/dist/abis/IOwnable.d.ts +44 -0
- package/dist/abis/IOwnable.js +84 -0
- package/dist/abis/IOwnable.js.map +1 -0
- package/dist/abis/IOwnable.mjs +59 -0
- package/dist/abis/IOwnable.mjs.map +1 -0
- package/dist/abis/IPayloadsControllerCore.d.mts +391 -0
- package/dist/abis/IPayloadsControllerCore.d.ts +391 -0
- package/dist/abis/IPayloadsControllerCore.js +533 -0
- package/dist/abis/IPayloadsControllerCore.js.map +1 -0
- package/dist/abis/IPayloadsControllerCore.mjs +508 -0
- package/dist/abis/IPayloadsControllerCore.mjs.map +1 -0
- package/dist/abis/IPayloadsControllerDataHelper.d.mts +136 -0
- package/dist/abis/IPayloadsControllerDataHelper.d.ts +136 -0
- package/dist/abis/IPayloadsControllerDataHelper.js +205 -0
- package/dist/abis/IPayloadsControllerDataHelper.js.map +1 -0
- package/dist/abis/IPayloadsControllerDataHelper.mjs +180 -0
- package/dist/abis/IPayloadsControllerDataHelper.mjs.map +1 -0
- package/dist/abis/IPool.d.mts +1554 -0
- package/dist/abis/IPool.d.ts +1554 -0
- package/dist/abis/IPool.js +2031 -0
- package/dist/abis/IPool.js.map +1 -0
- package/dist/abis/IPool.mjs +2006 -0
- package/dist/abis/IPool.mjs.map +1 -0
- package/dist/abis/IPoolAddressesProvider.d.mts +390 -0
- package/dist/abis/IPoolAddressesProvider.d.ts +390 -0
- package/dist/abis/IPoolAddressesProvider.js +528 -0
- package/dist/abis/IPoolAddressesProvider.js.map +1 -0
- package/dist/abis/IPoolAddressesProvider.mjs +503 -0
- package/dist/abis/IPoolAddressesProvider.mjs.map +1 -0
- package/dist/abis/IPoolConfigurator.d.mts +1051 -0
- package/dist/abis/IPoolConfigurator.d.ts +1051 -0
- package/dist/abis/IPoolConfigurator.js +1363 -0
- package/dist/abis/IPoolConfigurator.js.map +1 -0
- package/dist/abis/IPoolConfigurator.mjs +1338 -0
- package/dist/abis/IPoolConfigurator.mjs.map +1 -0
- package/dist/abis/IRescuable.d.mts +102 -0
- package/dist/abis/IRescuable.d.ts +102 -0
- package/dist/abis/IRescuable.js +158 -0
- package/dist/abis/IRescuable.js.map +1 -0
- package/dist/abis/IRescuable.mjs +133 -0
- package/dist/abis/IRescuable.mjs.map +1 -0
- package/dist/abis/IRewardsController.d.mts +686 -0
- package/dist/abis/IRewardsController.d.ts +686 -0
- package/dist/abis/IRewardsController.js +917 -0
- package/dist/abis/IRewardsController.js.map +1 -0
- package/dist/abis/IRewardsController.mjs +892 -0
- package/dist/abis/IRewardsController.mjs.map +1 -0
- package/dist/abis/IRiskSteward.d.mts +1035 -0
- package/dist/abis/IRiskSteward.d.ts +1035 -0
- package/dist/abis/IRiskSteward.js +1378 -0
- package/dist/abis/IRiskSteward.js.map +1 -0
- package/dist/abis/IRiskSteward.mjs +1353 -0
- package/dist/abis/IRiskSteward.mjs.map +1 -0
- package/dist/abis/IStakeToken.d.mts +1161 -0
- package/dist/abis/IStakeToken.d.ts +1161 -0
- package/dist/abis/IStakeToken.js +1529 -0
- package/dist/abis/IStakeToken.js.map +1 -0
- package/dist/abis/IStakeToken.mjs +1504 -0
- package/dist/abis/IStakeToken.mjs.map +1 -0
- package/dist/abis/IStataTokenFactory.d.mts +104 -0
- package/dist/abis/IStataTokenFactory.d.ts +104 -0
- package/dist/abis/IStataTokenFactory.js +165 -0
- package/dist/abis/IStataTokenFactory.js.map +1 -0
- package/dist/abis/IStataTokenFactory.mjs +140 -0
- package/dist/abis/IStataTokenFactory.mjs.map +1 -0
- package/dist/abis/IStataTokenV2.d.mts +888 -0
- package/dist/abis/IStataTokenV2.d.ts +888 -0
- package/dist/abis/IStataTokenV2.js +1196 -0
- package/dist/abis/IStataTokenV2.js.map +1 -0
- package/dist/abis/IStataTokenV2.mjs +1171 -0
- package/dist/abis/IStataTokenV2.mjs.map +1 -0
- package/dist/abis/IStaticATokenFactory.d.mts +41 -0
- package/dist/abis/IStaticATokenFactory.d.ts +41 -0
- package/dist/abis/IStaticATokenFactory.js +83 -0
- package/dist/abis/IStaticATokenFactory.js.map +1 -0
- package/dist/abis/IStaticATokenFactory.mjs +58 -0
- package/dist/abis/IStaticATokenFactory.mjs.map +1 -0
- package/dist/abis/IStaticATokenLM.d.mts +421 -0
- package/dist/abis/IStaticATokenLM.d.ts +421 -0
- package/dist/abis/IStaticATokenLM.js +575 -0
- package/dist/abis/IStaticATokenLM.js.map +1 -0
- package/dist/abis/IStaticATokenLM.mjs +550 -0
- package/dist/abis/IStaticATokenLM.mjs.map +1 -0
- package/dist/abis/IStkAaveToken.d.mts +1499 -0
- package/dist/abis/IStkAaveToken.d.ts +1499 -0
- package/dist/abis/IStkAaveToken.js +1971 -0
- package/dist/abis/IStkAaveToken.js.map +1 -0
- package/dist/abis/IStkAaveToken.mjs +1946 -0
- package/dist/abis/IStkAaveToken.mjs.map +1 -0
- package/dist/abis/IUiPoolDataProvider.d.mts +386 -0
- package/dist/abis/IUiPoolDataProvider.d.ts +386 -0
- package/dist/abis/IUiPoolDataProvider.js +522 -0
- package/dist/abis/IUiPoolDataProvider.js.map +1 -0
- package/dist/abis/IUiPoolDataProvider.mjs +497 -0
- package/dist/abis/IUiPoolDataProvider.mjs.map +1 -0
- package/dist/abis/IUmbrella.d.mts +1114 -0
- package/dist/abis/IUmbrella.d.ts +1114 -0
- package/dist/abis/IUmbrella.js +1472 -0
- package/dist/abis/IUmbrella.js.map +1 -0
- package/dist/abis/IUmbrella.mjs +1447 -0
- package/dist/abis/IUmbrella.mjs.map +1 -0
- package/dist/abis/IUmbrellaRewardsController.d.mts +1468 -0
- package/dist/abis/IUmbrellaRewardsController.d.ts +1468 -0
- package/dist/abis/IUmbrellaRewardsController.js +1934 -0
- package/dist/abis/IUmbrellaRewardsController.js.map +1 -0
- package/dist/abis/IUmbrellaRewardsController.mjs +1909 -0
- package/dist/abis/IUmbrellaRewardsController.mjs.map +1 -0
- package/dist/abis/IUmbrellaStakeToken.d.mts +1412 -0
- package/dist/abis/IUmbrellaStakeToken.d.ts +1412 -0
- package/dist/abis/IUmbrellaStakeToken.js +1868 -0
- package/dist/abis/IUmbrellaStakeToken.js.map +1 -0
- package/dist/abis/IUmbrellaStakeToken.mjs +1843 -0
- package/dist/abis/IUmbrellaStakeToken.mjs.map +1 -0
- package/dist/abis/IVotingMachineDataHelper.d.mts +122 -0
- package/dist/abis/IVotingMachineDataHelper.d.ts +122 -0
- package/dist/abis/IVotingMachineDataHelper.js +186 -0
- package/dist/abis/IVotingMachineDataHelper.js.map +1 -0
- package/dist/abis/IVotingMachineDataHelper.mjs +161 -0
- package/dist/abis/IVotingMachineDataHelper.mjs.map +1 -0
- package/dist/abis/IVotingMachineWithProofs.d.mts +532 -0
- package/dist/abis/IVotingMachineWithProofs.d.ts +532 -0
- package/dist/abis/IVotingMachineWithProofs.js +715 -0
- package/dist/abis/IVotingMachineWithProofs.js.map +1 -0
- package/dist/abis/IVotingMachineWithProofs.mjs +690 -0
- package/dist/abis/IVotingMachineWithProofs.mjs.map +1 -0
- package/dist/abis/IVotingPortal.d.mts +161 -0
- package/dist/abis/IVotingPortal.d.ts +161 -0
- package/dist/abis/IVotingPortal.js +235 -0
- package/dist/abis/IVotingPortal.js.map +1 -0
- package/dist/abis/IVotingPortal.mjs +210 -0
- package/dist/abis/IVotingPortal.mjs.map +1 -0
- package/dist/abis/IVotingStrategy.d.mts +79 -0
- package/dist/abis/IVotingStrategy.d.ts +79 -0
- package/dist/abis/IVotingStrategy.js +131 -0
- package/dist/abis/IVotingStrategy.js.map +1 -0
- package/dist/abis/IVotingStrategy.mjs +106 -0
- package/dist/abis/IVotingStrategy.mjs.map +1 -0
- package/dist/abis/IWithGuardian.d.mts +54 -0
- package/dist/abis/IWithGuardian.d.ts +54 -0
- package/dist/abis/IWithGuardian.js +99 -0
- package/dist/abis/IWithGuardian.js.map +1 -0
- package/dist/abis/IWithGuardian.mjs +74 -0
- package/dist/abis/IWithGuardian.mjs.map +1 -0
- package/dist/abis/IWrappedTokenGatewayV3.d.mts +129 -0
- package/dist/abis/IWrappedTokenGatewayV3.d.ts +129 -0
- package/dist/abis/IWrappedTokenGatewayV3.js +193 -0
- package/dist/abis/IWrappedTokenGatewayV3.js.map +1 -0
- package/dist/abis/IWrappedTokenGatewayV3.mjs +168 -0
- package/dist/abis/IWrappedTokenGatewayV3.mjs.map +1 -0
- package/dist/abis/index.d.mts +29 -0
- package/dist/abis/index.d.ts +29 -0
- package/dist/abis/index.js +115 -0
- package/dist/abis/index.js.map +1 -0
- package/dist/abis/index.mjs +62 -0
- package/dist/abis/index.mjs.map +1 -0
- package/dist/tokenlist.d.mts +12449 -0
- package/dist/tokenlist.d.ts +12449 -0
- package/dist/tokenlist.js +10173 -0
- package/dist/tokenlist.js.map +1 -0
- package/dist/tokenlist.mjs +10173 -0
- package/dist/tokenlist.mjs.map +1 -0
- package/dist/utils.d.mts +11 -0
- package/dist/utils.d.ts +11 -0
- package/dist/utils.js +85 -0
- package/dist/utils.js.map +1 -0
- package/dist/utils.mjs +53 -0
- package/dist/utils.mjs.map +1 -0
- package/package.json +116 -0
- package/src/AaveGovernanceV2.sol +32 -0
- package/src/AaveSafetyModule.sol +28 -0
- package/src/AaveV1.sol +14 -0
- package/src/AaveV2.sol +1281 -0
- package/src/AaveV2Avalanche.sol +227 -0
- package/src/AaveV2Ethereum.sol +739 -0
- package/src/AaveV2EthereumAMM.sol +487 -0
- package/src/AaveV2EthereumArc.sol +121 -0
- package/src/AaveV2Fuji.sol +147 -0
- package/src/AaveV2Polygon.sol +321 -0
- package/src/AaveV3.sol +33 -0
- package/src/AaveV3Arbitrum.sol +604 -0
- package/src/AaveV3ArbitrumSepolia.sol +113 -0
- package/src/AaveV3Avalanche.sol +545 -0
- package/src/AaveV3BNB.sol +300 -0
- package/src/AaveV3Base.sol +495 -0
- package/src/AaveV3BaseSepolia.sol +227 -0
- package/src/AaveV3BaseSepoliaLido.sol +187 -0
- package/src/AaveV3Celo.sol +216 -0
- package/src/AaveV3Ethereum.sol +1493 -0
- package/src/AaveV3EthereumEtherFi.sol +184 -0
- package/src/AaveV3EthereumHorizon.sol +265 -0
- package/src/AaveV3EthereumLido.sol +314 -0
- package/src/AaveV3Fantom.sol +254 -0
- package/src/AaveV3FantomTestnet.sol +248 -0
- package/src/AaveV3Fuji.sol +168 -0
- package/src/AaveV3Gnosis.sol +342 -0
- package/src/AaveV3Harmony.sol +215 -0
- package/src/AaveV3InkWhitelabel.sol +268 -0
- package/src/AaveV3Linea.sol +293 -0
- package/src/AaveV3Mantle.sol +297 -0
- package/src/AaveV3MegaEth.sol +246 -0
- package/src/AaveV3Metis.sol +214 -0
- package/src/AaveV3Optimism.sol +474 -0
- package/src/AaveV3OptimismSepolia.sol +116 -0
- package/src/AaveV3Plasma.sol +426 -0
- package/src/AaveV3Polygon.sol +583 -0
- package/src/AaveV3Scroll.sol +205 -0
- package/src/AaveV3ScrollSepolia.sol +216 -0
- package/src/AaveV3Sepolia.sol +261 -0
- package/src/AaveV3Soneium.sol +159 -0
- package/src/AaveV3Sonic.sol +199 -0
- package/src/AaveV3ZkSync.sol +251 -0
- package/src/ChainlinkArbitrum.sol +878 -0
- package/src/ChainlinkAvalanche.sol +312 -0
- package/src/ChainlinkBNB.sol +722 -0
- package/src/ChainlinkBase.sol +581 -0
- package/src/ChainlinkCelo.sol +87 -0
- package/src/ChainlinkEthereum.sol +851 -0
- package/src/ChainlinkGnosis.sol +123 -0
- package/src/ChainlinkLinea.sol +148 -0
- package/src/ChainlinkMantle.sol +97 -0
- package/src/ChainlinkMetis.sol +49 -0
- package/src/ChainlinkOptimism.sol +508 -0
- package/src/ChainlinkPolygon.sol +435 -0
- package/src/ChainlinkScroll.sol +122 -0
- package/src/ChainlinkSoneium.sol +78 -0
- package/src/ChainlinkSonic.sol +158 -0
- package/src/ChainlinkZkSync.sol +115 -0
- package/src/GhoArbitrum.sol +23 -0
- package/src/GhoAvalanche.sol +23 -0
- package/src/GhoBase.sol +23 -0
- package/src/GhoEthereum.sol +62 -0
- package/src/GhoGnosis.sol +26 -0
- package/src/GhoInk.sol +23 -0
- package/src/GhoMantle.sol +26 -0
- package/src/GhoPlasma.sol +23 -0
- package/src/GovernanceV3.sol +14 -0
- package/src/GovernanceV3Arbitrum.sol +26 -0
- package/src/GovernanceV3Avalanche.sol +43 -0
- package/src/GovernanceV3BNB.sol +29 -0
- package/src/GovernanceV3Base.sol +26 -0
- package/src/GovernanceV3BaseSepolia.sol +14 -0
- package/src/GovernanceV3Bob.sol +26 -0
- package/src/GovernanceV3Celo.sol +29 -0
- package/src/GovernanceV3Ethereum.sol +68 -0
- package/src/GovernanceV3Fuji.sol +28 -0
- package/src/GovernanceV3Gnosis.sol +29 -0
- package/src/GovernanceV3Goerli.sol +50 -0
- package/src/GovernanceV3Ink.sol +26 -0
- package/src/GovernanceV3InkWhitelabel.sol +15 -0
- package/src/GovernanceV3Linea.sol +26 -0
- package/src/GovernanceV3Mantle.sol +26 -0
- package/src/GovernanceV3MegaEth.sol +26 -0
- package/src/GovernanceV3Metis.sol +26 -0
- package/src/GovernanceV3Mumbai.sol +28 -0
- package/src/GovernanceV3Optimism.sol +26 -0
- package/src/GovernanceV3Plasma.sol +29 -0
- package/src/GovernanceV3Polygon.sol +43 -0
- package/src/GovernanceV3PolygonZkEvm.sol +19 -0
- package/src/GovernanceV3Scroll.sol +26 -0
- package/src/GovernanceV3Soneium.sol +26 -0
- package/src/GovernanceV3Sonic.sol +29 -0
- package/src/GovernanceV3ZkSync.sol +26 -0
- package/src/MiscArbitrum.sol +71 -0
- package/src/MiscArbitrumSepolia.sol +14 -0
- package/src/MiscAvalanche.sol +47 -0
- package/src/MiscAvaxFuji.sol +8 -0
- package/src/MiscBNB.sol +44 -0
- package/src/MiscBase.sol +62 -0
- package/src/MiscBaseSepolia.sol +14 -0
- package/src/MiscBob.sol +8 -0
- package/src/MiscCelo.sol +20 -0
- package/src/MiscEthereum.sol +111 -0
- package/src/MiscFantom.sol +5 -0
- package/src/MiscFuji.sol +14 -0
- package/src/MiscGnosis.sol +56 -0
- package/src/MiscInk.sol +8 -0
- package/src/MiscInkWhitelabel.sol +11 -0
- package/src/MiscLinea.sol +29 -0
- package/src/MiscMantle.sol +11 -0
- package/src/MiscMegaEth.sol +11 -0
- package/src/MiscMetis.sol +20 -0
- package/src/MiscMumbai.sol +11 -0
- package/src/MiscOptimism.sol +71 -0
- package/src/MiscOptimismSepolia.sol +14 -0
- package/src/MiscPlasma.sol +20 -0
- package/src/MiscPolygon.sol +59 -0
- package/src/MiscPolygonZkEvm.sol +20 -0
- package/src/MiscScroll.sol +32 -0
- package/src/MiscSepolia.sol +18 -0
- package/src/MiscSoneium.sol +11 -0
- package/src/MiscSonic.sol +20 -0
- package/src/MiscZkSync.sol +14 -0
- package/src/UmbrellaBaseSepolia.sol +69 -0
- package/src/UmbrellaEthereum.sol +66 -0
- package/src/common/IAaveEcosystemReserveController.sol +75 -0
- package/src/common/IBaseAdapter.sol +85 -0
- package/src/common/ICrossChainController.sol +980 -0
- package/src/common/IExecutorWithTimelock.sol +195 -0
- package/src/common/IMigrationHelper.sol +113 -0
- package/src/common/IOwnable.sol +26 -0
- package/src/common/IStakeToken.sol +194 -0
- package/src/common/IStreamable.sol +74 -0
- package/src/common/IUmbrella.sol +175 -0
- package/src/governance-v3/Errors.sol +102 -0
- package/src/governance-v3/IBaseReceiverPortal.sol +22 -0
- package/src/governance-v3/IDataWarehouse.sol +101 -0
- package/src/governance-v3/IExecutor.sol +41 -0
- package/src/governance-v3/IGovernanceCore.sol +482 -0
- package/src/governance-v3/IGovernancePowerStrategy.sol +22 -0
- package/src/governance-v3/IPayloadsControllerCore.sol +220 -0
- package/src/governance-v3/IVotingMachineWithProofs.sol +380 -0
- package/src/governance-v3/IVotingPortal.sol +99 -0
- package/src/governance-v3/IVotingStrategy.sol +52 -0
- package/src/governance-v3/PayloadsControllerUtils.sol +25 -0
- package/src/test/AaveV2Ethereum.t.sol +57 -0
- package/src/test/AaveV2Misfits.t.sol +26 -0
- package/src/test/AaveV3Avalanche.t.sol +57 -0
- package/tokenlist.json +10154 -0
package/src/AaveV2.sol
ADDED
|
@@ -0,0 +1,1281 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
pragma solidity >=0.6.0;
|
|
3
|
+
pragma experimental ABIEncoderV2;
|
|
4
|
+
|
|
5
|
+
library DataTypes {
|
|
6
|
+
// refer to the whitepaper, section 1.1 basic concepts for a formal description of these properties.
|
|
7
|
+
struct ReserveData {
|
|
8
|
+
//stores the reserve configuration
|
|
9
|
+
ReserveConfigurationMap configuration;
|
|
10
|
+
//the liquidity index. Expressed in ray
|
|
11
|
+
uint128 liquidityIndex;
|
|
12
|
+
//variable borrow index. Expressed in ray
|
|
13
|
+
uint128 variableBorrowIndex;
|
|
14
|
+
//the current supply rate. Expressed in ray
|
|
15
|
+
uint128 currentLiquidityRate;
|
|
16
|
+
//the current variable borrow rate. Expressed in ray
|
|
17
|
+
uint128 currentVariableBorrowRate;
|
|
18
|
+
//the current stable borrow rate. Expressed in ray
|
|
19
|
+
uint128 currentStableBorrowRate;
|
|
20
|
+
uint40 lastUpdateTimestamp;
|
|
21
|
+
//tokens addresses
|
|
22
|
+
address aTokenAddress;
|
|
23
|
+
address stableDebtTokenAddress;
|
|
24
|
+
address variableDebtTokenAddress;
|
|
25
|
+
//address of the interest rate strategy
|
|
26
|
+
address interestRateStrategyAddress;
|
|
27
|
+
//the id of the reserve. Represents the position in the list of the active reserves
|
|
28
|
+
uint8 id;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
struct ReserveConfigurationMap {
|
|
32
|
+
//bit 0-15: LTV
|
|
33
|
+
//bit 16-31: Liq. threshold
|
|
34
|
+
//bit 32-47: Liq. bonus
|
|
35
|
+
//bit 48-55: Decimals
|
|
36
|
+
//bit 56: Reserve is active
|
|
37
|
+
//bit 57: reserve is frozen
|
|
38
|
+
//bit 58: borrowing is enabled
|
|
39
|
+
//bit 59: stable rate borrowing enabled
|
|
40
|
+
//bit 60-63: reserved
|
|
41
|
+
//bit 64-79: reserve factor
|
|
42
|
+
uint256 data;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
struct UserConfigurationMap {
|
|
46
|
+
uint256 data;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
enum InterestRateMode {
|
|
50
|
+
NONE,
|
|
51
|
+
STABLE,
|
|
52
|
+
VARIABLE
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @title Errors library
|
|
58
|
+
* @author Aave
|
|
59
|
+
* @notice Defines the error messages emitted by the different contracts of the Aave protocol
|
|
60
|
+
* @dev Error messages prefix glossary:
|
|
61
|
+
* - VL = ValidationLogic
|
|
62
|
+
* - MATH = Math libraries
|
|
63
|
+
* - CT = Common errors between tokens (AToken, VariableDebtToken and StableDebtToken)
|
|
64
|
+
* - AT = AToken
|
|
65
|
+
* - SDT = StableDebtToken
|
|
66
|
+
* - VDT = VariableDebtToken
|
|
67
|
+
* - LP = LendingPool
|
|
68
|
+
* - LPAPR = LendingPoolAddressesProviderRegistry
|
|
69
|
+
* - LPC = LendingPoolConfiguration
|
|
70
|
+
* - RL = ReserveLogic
|
|
71
|
+
* - LPCM = LendingPoolCollateralManager
|
|
72
|
+
* - P = Pausable
|
|
73
|
+
*/
|
|
74
|
+
library Errors {
|
|
75
|
+
//common errors
|
|
76
|
+
string public constant CALLER_NOT_POOL_ADMIN = '33'; // 'The caller must be the pool admin'
|
|
77
|
+
string public constant BORROW_ALLOWANCE_NOT_ENOUGH = '59'; // User borrows on behalf, but allowance are too small
|
|
78
|
+
|
|
79
|
+
//contract specific errors
|
|
80
|
+
string public constant VL_INVALID_AMOUNT = '1'; // 'Amount must be greater than 0'
|
|
81
|
+
string public constant VL_NO_ACTIVE_RESERVE = '2'; // 'Action requires an active reserve'
|
|
82
|
+
string public constant VL_RESERVE_FROZEN = '3'; // 'Action cannot be performed because the reserve is frozen'
|
|
83
|
+
string public constant VL_CURRENT_AVAILABLE_LIQUIDITY_NOT_ENOUGH = '4'; // 'The current liquidity is not enough'
|
|
84
|
+
string public constant VL_NOT_ENOUGH_AVAILABLE_USER_BALANCE = '5'; // 'User cannot withdraw more than the available balance'
|
|
85
|
+
string public constant VL_TRANSFER_NOT_ALLOWED = '6'; // 'Transfer cannot be allowed.'
|
|
86
|
+
string public constant VL_BORROWING_NOT_ENABLED = '7'; // 'Borrowing is not enabled'
|
|
87
|
+
string public constant VL_INVALID_INTEREST_RATE_MODE_SELECTED = '8'; // 'Invalid interest rate mode selected'
|
|
88
|
+
string public constant VL_COLLATERAL_BALANCE_IS_0 = '9'; // 'The collateral balance is 0'
|
|
89
|
+
string public constant VL_HEALTH_FACTOR_LOWER_THAN_LIQUIDATION_THRESHOLD = '10'; // 'Health factor is lesser than the liquidation threshold'
|
|
90
|
+
string public constant VL_COLLATERAL_CANNOT_COVER_NEW_BORROW = '11'; // 'There is not enough collateral to cover a new borrow'
|
|
91
|
+
string public constant VL_STABLE_BORROWING_NOT_ENABLED = '12'; // stable borrowing not enabled
|
|
92
|
+
string public constant VL_COLLATERAL_SAME_AS_BORROWING_CURRENCY = '13'; // collateral is (mostly) the same currency that is being borrowed
|
|
93
|
+
string public constant VL_AMOUNT_BIGGER_THAN_MAX_LOAN_SIZE_STABLE = '14'; // 'The requested amount is greater than the max loan size in stable rate mode
|
|
94
|
+
string public constant VL_NO_DEBT_OF_SELECTED_TYPE = '15'; // 'for repayment of stable debt, the user needs to have stable debt, otherwise, he needs to have variable debt'
|
|
95
|
+
string public constant VL_NO_EXPLICIT_AMOUNT_TO_REPAY_ON_BEHALF = '16'; // 'To repay on behalf of an user an explicit amount to repay is needed'
|
|
96
|
+
string public constant VL_NO_STABLE_RATE_LOAN_IN_RESERVE = '17'; // 'User does not have a stable rate loan in progress on this reserve'
|
|
97
|
+
string public constant VL_NO_VARIABLE_RATE_LOAN_IN_RESERVE = '18'; // 'User does not have a variable rate loan in progress on this reserve'
|
|
98
|
+
string public constant VL_UNDERLYING_BALANCE_NOT_GREATER_THAN_0 = '19'; // 'The underlying balance needs to be greater than 0'
|
|
99
|
+
string public constant VL_DEPOSIT_ALREADY_IN_USE = '20'; // 'User deposit is already being used as collateral'
|
|
100
|
+
string public constant LP_NOT_ENOUGH_STABLE_BORROW_BALANCE = '21'; // 'User does not have any stable rate loan for this reserve'
|
|
101
|
+
string public constant LP_INTEREST_RATE_REBALANCE_CONDITIONS_NOT_MET = '22'; // 'Interest rate rebalance conditions were not met'
|
|
102
|
+
string public constant LP_LIQUIDATION_CALL_FAILED = '23'; // 'Liquidation call failed'
|
|
103
|
+
string public constant LP_NOT_ENOUGH_LIQUIDITY_TO_BORROW = '24'; // 'There is not enough liquidity available to borrow'
|
|
104
|
+
string public constant LP_REQUESTED_AMOUNT_TOO_SMALL = '25'; // 'The requested amount is too small for a FlashLoan.'
|
|
105
|
+
string public constant LP_INCONSISTENT_PROTOCOL_ACTUAL_BALANCE = '26'; // 'The actual balance of the protocol is inconsistent'
|
|
106
|
+
string public constant LP_CALLER_NOT_LENDING_POOL_CONFIGURATOR = '27'; // 'The caller of the function is not the lending pool configurator'
|
|
107
|
+
string public constant LP_INCONSISTENT_FLASHLOAN_PARAMS = '28';
|
|
108
|
+
string public constant CT_CALLER_MUST_BE_LENDING_POOL = '29'; // 'The caller of this function must be a lending pool'
|
|
109
|
+
string public constant CT_CANNOT_GIVE_ALLOWANCE_TO_HIMSELF = '30'; // 'User cannot give allowance to himself'
|
|
110
|
+
string public constant CT_TRANSFER_AMOUNT_NOT_GT_0 = '31'; // 'Transferred amount needs to be greater than zero'
|
|
111
|
+
string public constant RL_RESERVE_ALREADY_INITIALIZED = '32'; // 'Reserve has already been initialized'
|
|
112
|
+
string public constant LPC_RESERVE_LIQUIDITY_NOT_0 = '34'; // 'The liquidity of the reserve needs to be 0'
|
|
113
|
+
string public constant LPC_INVALID_ATOKEN_POOL_ADDRESS = '35'; // 'The liquidity of the reserve needs to be 0'
|
|
114
|
+
string public constant LPC_INVALID_STABLE_DEBT_TOKEN_POOL_ADDRESS = '36'; // 'The liquidity of the reserve needs to be 0'
|
|
115
|
+
string public constant LPC_INVALID_VARIABLE_DEBT_TOKEN_POOL_ADDRESS = '37'; // 'The liquidity of the reserve needs to be 0'
|
|
116
|
+
string public constant LPC_INVALID_STABLE_DEBT_TOKEN_UNDERLYING_ADDRESS = '38'; // 'The liquidity of the reserve needs to be 0'
|
|
117
|
+
string public constant LPC_INVALID_VARIABLE_DEBT_TOKEN_UNDERLYING_ADDRESS = '39'; // 'The liquidity of the reserve needs to be 0'
|
|
118
|
+
string public constant LPC_INVALID_ADDRESSES_PROVIDER_ID = '40'; // 'The liquidity of the reserve needs to be 0'
|
|
119
|
+
string public constant LPC_INVALID_CONFIGURATION = '75'; // 'Invalid risk parameters for the reserve'
|
|
120
|
+
string public constant LPC_CALLER_NOT_EMERGENCY_ADMIN = '76'; // 'The caller must be the emergency admin'
|
|
121
|
+
string public constant LPAPR_PROVIDER_NOT_REGISTERED = '41'; // 'Provider is not registered'
|
|
122
|
+
string public constant LPCM_HEALTH_FACTOR_NOT_BELOW_THRESHOLD = '42'; // 'Health factor is not below the threshold'
|
|
123
|
+
string public constant LPCM_COLLATERAL_CANNOT_BE_LIQUIDATED = '43'; // 'The collateral chosen cannot be liquidated'
|
|
124
|
+
string public constant LPCM_SPECIFIED_CURRENCY_NOT_BORROWED_BY_USER = '44'; // 'User did not borrow the specified currency'
|
|
125
|
+
string public constant LPCM_NOT_ENOUGH_LIQUIDITY_TO_LIQUIDATE = '45'; // "There isn't enough liquidity available to liquidate"
|
|
126
|
+
string public constant LPCM_NO_ERRORS = '46'; // 'No errors'
|
|
127
|
+
string public constant LP_INVALID_FLASHLOAN_MODE = '47'; //Invalid flashloan mode selected
|
|
128
|
+
string public constant MATH_MULTIPLICATION_OVERFLOW = '48';
|
|
129
|
+
string public constant MATH_ADDITION_OVERFLOW = '49';
|
|
130
|
+
string public constant MATH_DIVISION_BY_ZERO = '50';
|
|
131
|
+
string public constant RL_LIQUIDITY_INDEX_OVERFLOW = '51'; // Liquidity index overflows uint128
|
|
132
|
+
string public constant RL_VARIABLE_BORROW_INDEX_OVERFLOW = '52'; // Variable borrow index overflows uint128
|
|
133
|
+
string public constant RL_LIQUIDITY_RATE_OVERFLOW = '53'; // Liquidity rate overflows uint128
|
|
134
|
+
string public constant RL_VARIABLE_BORROW_RATE_OVERFLOW = '54'; // Variable borrow rate overflows uint128
|
|
135
|
+
string public constant RL_STABLE_BORROW_RATE_OVERFLOW = '55'; // Stable borrow rate overflows uint128
|
|
136
|
+
string public constant CT_INVALID_MINT_AMOUNT = '56'; //invalid amount to mint
|
|
137
|
+
string public constant LP_FAILED_REPAY_WITH_COLLATERAL = '57';
|
|
138
|
+
string public constant CT_INVALID_BURN_AMOUNT = '58'; //invalid amount to burn
|
|
139
|
+
string public constant LP_FAILED_COLLATERAL_SWAP = '60';
|
|
140
|
+
string public constant LP_INVALID_EQUAL_ASSETS_TO_SWAP = '61';
|
|
141
|
+
string public constant LP_REENTRANCY_NOT_ALLOWED = '62';
|
|
142
|
+
string public constant LP_CALLER_MUST_BE_AN_ATOKEN = '63';
|
|
143
|
+
string public constant LP_IS_PAUSED = '64'; // 'Pool is paused'
|
|
144
|
+
string public constant LP_NO_MORE_RESERVES_ALLOWED = '65';
|
|
145
|
+
string public constant LP_INVALID_FLASH_LOAN_EXECUTOR_RETURN = '66';
|
|
146
|
+
string public constant RC_INVALID_LTV = '67';
|
|
147
|
+
string public constant RC_INVALID_LIQ_THRESHOLD = '68';
|
|
148
|
+
string public constant RC_INVALID_LIQ_BONUS = '69';
|
|
149
|
+
string public constant RC_INVALID_DECIMALS = '70';
|
|
150
|
+
string public constant RC_INVALID_RESERVE_FACTOR = '71';
|
|
151
|
+
string public constant LPAPR_INVALID_ADDRESSES_PROVIDER_ID = '72';
|
|
152
|
+
string public constant VL_INCONSISTENT_FLASHLOAN_PARAMS = '73';
|
|
153
|
+
string public constant LP_INCONSISTENT_PARAMS_LENGTH = '74';
|
|
154
|
+
string public constant UL_INVALID_INDEX = '77';
|
|
155
|
+
string public constant LP_NOT_CONTRACT = '78';
|
|
156
|
+
string public constant SDT_STABLE_DEBT_OVERFLOW = '79';
|
|
157
|
+
string public constant SDT_BURN_EXCEEDS_BALANCE = '80';
|
|
158
|
+
|
|
159
|
+
enum CollateralManagerErrors {
|
|
160
|
+
NO_ERROR,
|
|
161
|
+
NO_COLLATERAL_AVAILABLE,
|
|
162
|
+
COLLATERAL_CANNOT_BE_LIQUIDATED,
|
|
163
|
+
CURRRENCY_NOT_BORROWED,
|
|
164
|
+
HEALTH_FACTOR_ABOVE_THRESHOLD,
|
|
165
|
+
NOT_ENOUGH_LIQUIDITY,
|
|
166
|
+
NO_ACTIVE_RESERVE,
|
|
167
|
+
HEALTH_FACTOR_LOWER_THAN_LIQUIDATION_THRESHOLD,
|
|
168
|
+
INVALID_EQUAL_ASSETS_TO_SWAP,
|
|
169
|
+
FROZEN_RESERVE
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
library ConfiguratorInputTypes {
|
|
174
|
+
struct InitReserveInput {
|
|
175
|
+
address aTokenImpl;
|
|
176
|
+
address stableDebtTokenImpl;
|
|
177
|
+
address variableDebtTokenImpl;
|
|
178
|
+
uint8 underlyingAssetDecimals;
|
|
179
|
+
address interestRateStrategyAddress;
|
|
180
|
+
address underlyingAsset;
|
|
181
|
+
address treasury;
|
|
182
|
+
address incentivesController;
|
|
183
|
+
string underlyingAssetName;
|
|
184
|
+
string aTokenName;
|
|
185
|
+
string aTokenSymbol;
|
|
186
|
+
string variableDebtTokenName;
|
|
187
|
+
string variableDebtTokenSymbol;
|
|
188
|
+
string stableDebtTokenName;
|
|
189
|
+
string stableDebtTokenSymbol;
|
|
190
|
+
bytes params;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
struct UpdateATokenInput {
|
|
194
|
+
address asset;
|
|
195
|
+
address treasury;
|
|
196
|
+
address incentivesController;
|
|
197
|
+
string name;
|
|
198
|
+
string symbol;
|
|
199
|
+
address implementation;
|
|
200
|
+
bytes params;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
struct UpdateDebtTokenInput {
|
|
204
|
+
address asset;
|
|
205
|
+
address incentivesController;
|
|
206
|
+
string name;
|
|
207
|
+
string symbol;
|
|
208
|
+
address implementation;
|
|
209
|
+
bytes params;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
interface ILendingPoolAddressesProvider {
|
|
214
|
+
event MarketIdSet(string newMarketId);
|
|
215
|
+
event LendingPoolUpdated(address indexed newAddress);
|
|
216
|
+
event ConfigurationAdminUpdated(address indexed newAddress);
|
|
217
|
+
event EmergencyAdminUpdated(address indexed newAddress);
|
|
218
|
+
event LendingPoolConfiguratorUpdated(address indexed newAddress);
|
|
219
|
+
event LendingPoolCollateralManagerUpdated(address indexed newAddress);
|
|
220
|
+
event PriceOracleUpdated(address indexed newAddress);
|
|
221
|
+
event LendingRateOracleUpdated(address indexed newAddress);
|
|
222
|
+
event ProxyCreated(bytes32 id, address indexed newAddress);
|
|
223
|
+
event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy);
|
|
224
|
+
|
|
225
|
+
function getMarketId() external view returns (string memory);
|
|
226
|
+
|
|
227
|
+
function setMarketId(string calldata marketId) external;
|
|
228
|
+
|
|
229
|
+
function setAddress(bytes32 id, address newAddress) external;
|
|
230
|
+
|
|
231
|
+
function setAddressAsProxy(bytes32 id, address impl) external;
|
|
232
|
+
|
|
233
|
+
function getAddress(bytes32 id) external view returns (address);
|
|
234
|
+
|
|
235
|
+
function getLendingPool() external view returns (address);
|
|
236
|
+
|
|
237
|
+
function setLendingPoolImpl(address pool) external;
|
|
238
|
+
|
|
239
|
+
function getLendingPoolConfigurator() external view returns (address);
|
|
240
|
+
|
|
241
|
+
function setLendingPoolConfiguratorImpl(address configurator) external;
|
|
242
|
+
|
|
243
|
+
function getLendingPoolCollateralManager() external view returns (address);
|
|
244
|
+
|
|
245
|
+
function setLendingPoolCollateralManager(address manager) external;
|
|
246
|
+
|
|
247
|
+
function getPoolAdmin() external view returns (address);
|
|
248
|
+
|
|
249
|
+
function setPoolAdmin(address admin) external;
|
|
250
|
+
|
|
251
|
+
function getEmergencyAdmin() external view returns (address);
|
|
252
|
+
|
|
253
|
+
function setEmergencyAdmin(address admin) external;
|
|
254
|
+
|
|
255
|
+
function getPriceOracle() external view returns (address);
|
|
256
|
+
|
|
257
|
+
function setPriceOracle(address priceOracle) external;
|
|
258
|
+
|
|
259
|
+
function getLendingRateOracle() external view returns (address);
|
|
260
|
+
|
|
261
|
+
function setLendingRateOracle(address lendingRateOracle) external;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
interface ILendingPool {
|
|
265
|
+
/**
|
|
266
|
+
* @dev Emitted on deposit()
|
|
267
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
268
|
+
* @param user The address initiating the deposit
|
|
269
|
+
* @param onBehalfOf The beneficiary of the deposit, receiving the aTokens
|
|
270
|
+
* @param amount The amount deposited
|
|
271
|
+
* @param referral The referral code used
|
|
272
|
+
**/
|
|
273
|
+
event Deposit(
|
|
274
|
+
address indexed reserve,
|
|
275
|
+
address user,
|
|
276
|
+
address indexed onBehalfOf,
|
|
277
|
+
uint256 amount,
|
|
278
|
+
uint16 indexed referral
|
|
279
|
+
);
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @dev Emitted on withdraw()
|
|
283
|
+
* @param reserve The address of the underlyng asset being withdrawn
|
|
284
|
+
* @param user The address initiating the withdrawal, owner of aTokens
|
|
285
|
+
* @param to Address that will receive the underlying
|
|
286
|
+
* @param amount The amount to be withdrawn
|
|
287
|
+
**/
|
|
288
|
+
event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount);
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* @dev Emitted on borrow() and flashLoan() when debt needs to be opened
|
|
292
|
+
* @param reserve The address of the underlying asset being borrowed
|
|
293
|
+
* @param user The address of the user initiating the borrow(), receiving the funds on borrow() or just
|
|
294
|
+
* initiator of the transaction on flashLoan()
|
|
295
|
+
* @param onBehalfOf The address that will be getting the debt
|
|
296
|
+
* @param amount The amount borrowed out
|
|
297
|
+
* @param borrowRateMode The rate mode: 1 for Stable, 2 for Variable
|
|
298
|
+
* @param borrowRate The numeric rate at which the user has borrowed
|
|
299
|
+
* @param referral The referral code used
|
|
300
|
+
**/
|
|
301
|
+
event Borrow(
|
|
302
|
+
address indexed reserve,
|
|
303
|
+
address user,
|
|
304
|
+
address indexed onBehalfOf,
|
|
305
|
+
uint256 amount,
|
|
306
|
+
uint256 borrowRateMode,
|
|
307
|
+
uint256 borrowRate,
|
|
308
|
+
uint16 indexed referral
|
|
309
|
+
);
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @dev Emitted on repay()
|
|
313
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
314
|
+
* @param user The beneficiary of the repayment, getting his debt reduced
|
|
315
|
+
* @param repayer The address of the user initiating the repay(), providing the funds
|
|
316
|
+
* @param amount The amount repaid
|
|
317
|
+
**/
|
|
318
|
+
event Repay(
|
|
319
|
+
address indexed reserve,
|
|
320
|
+
address indexed user,
|
|
321
|
+
address indexed repayer,
|
|
322
|
+
uint256 amount
|
|
323
|
+
);
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* @dev Emitted on swapBorrowRateMode()
|
|
327
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
328
|
+
* @param user The address of the user swapping his rate mode
|
|
329
|
+
* @param rateMode The rate mode that the user wants to swap to
|
|
330
|
+
**/
|
|
331
|
+
event Swap(address indexed reserve, address indexed user, uint256 rateMode);
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* @dev Emitted on setUserUseReserveAsCollateral()
|
|
335
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
336
|
+
* @param user The address of the user enabling the usage as collateral
|
|
337
|
+
**/
|
|
338
|
+
event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user);
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* @dev Emitted on setUserUseReserveAsCollateral()
|
|
342
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
343
|
+
* @param user The address of the user enabling the usage as collateral
|
|
344
|
+
**/
|
|
345
|
+
event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user);
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @dev Emitted on rebalanceStableBorrowRate()
|
|
349
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
350
|
+
* @param user The address of the user for which the rebalance has been executed
|
|
351
|
+
**/
|
|
352
|
+
event RebalanceStableBorrowRate(address indexed reserve, address indexed user);
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @dev Emitted on flashLoan()
|
|
356
|
+
* @param target The address of the flash loan receiver contract
|
|
357
|
+
* @param initiator The address initiating the flash loan
|
|
358
|
+
* @param asset The address of the asset being flash borrowed
|
|
359
|
+
* @param amount The amount flash borrowed
|
|
360
|
+
* @param premium The fee flash borrowed
|
|
361
|
+
* @param referralCode The referral code used
|
|
362
|
+
**/
|
|
363
|
+
event FlashLoan(
|
|
364
|
+
address indexed target,
|
|
365
|
+
address indexed initiator,
|
|
366
|
+
address indexed asset,
|
|
367
|
+
uint256 amount,
|
|
368
|
+
uint256 premium,
|
|
369
|
+
uint16 referralCode
|
|
370
|
+
);
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* @dev Emitted when the pause is triggered.
|
|
374
|
+
*/
|
|
375
|
+
event Paused();
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* @dev Emitted when the pause is lifted.
|
|
379
|
+
*/
|
|
380
|
+
event Unpaused();
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* @dev Emitted when a borrower is liquidated. This event is emitted by the LendingPool via
|
|
384
|
+
* LendingPoolCollateral manager using a DELEGATECALL
|
|
385
|
+
* This allows to have the events in the generated ABI for LendingPool.
|
|
386
|
+
* @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation
|
|
387
|
+
* @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation
|
|
388
|
+
* @param user The address of the borrower getting liquidated
|
|
389
|
+
* @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover
|
|
390
|
+
* @param liquidatedCollateralAmount The amount of collateral received by the liiquidator
|
|
391
|
+
* @param liquidator The address of the liquidator
|
|
392
|
+
* @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants
|
|
393
|
+
* to receive the underlying collateral asset directly
|
|
394
|
+
**/
|
|
395
|
+
event LiquidationCall(
|
|
396
|
+
address indexed collateralAsset,
|
|
397
|
+
address indexed debtAsset,
|
|
398
|
+
address indexed user,
|
|
399
|
+
uint256 debtToCover,
|
|
400
|
+
uint256 liquidatedCollateralAmount,
|
|
401
|
+
address liquidator,
|
|
402
|
+
bool receiveAToken
|
|
403
|
+
);
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @dev Emitted when the state of a reserve is updated. NOTE: This event is actually declared
|
|
407
|
+
* in the ReserveLogic library and emitted in the updateInterestRates() function. Since the function is internal,
|
|
408
|
+
* the event will actually be fired by the LendingPool contract. The event is therefore replicated here so it
|
|
409
|
+
* gets added to the LendingPool ABI
|
|
410
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
411
|
+
* @param liquidityRate The new liquidity rate
|
|
412
|
+
* @param stableBorrowRate The new stable borrow rate
|
|
413
|
+
* @param variableBorrowRate The new variable borrow rate
|
|
414
|
+
* @param liquidityIndex The new liquidity index
|
|
415
|
+
* @param variableBorrowIndex The new variable borrow index
|
|
416
|
+
**/
|
|
417
|
+
event ReserveDataUpdated(
|
|
418
|
+
address indexed reserve,
|
|
419
|
+
uint256 liquidityRate,
|
|
420
|
+
uint256 stableBorrowRate,
|
|
421
|
+
uint256 variableBorrowRate,
|
|
422
|
+
uint256 liquidityIndex,
|
|
423
|
+
uint256 variableBorrowIndex
|
|
424
|
+
);
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* @dev Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens.
|
|
428
|
+
* - E.g. User deposits 100 USDC and gets in return 100 aUSDC
|
|
429
|
+
* @param asset The address of the underlying asset to deposit
|
|
430
|
+
* @param amount The amount to be deposited
|
|
431
|
+
* @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user
|
|
432
|
+
* wants to receive them on his own wallet, or a different address if the beneficiary of aTokens
|
|
433
|
+
* is a different wallet
|
|
434
|
+
* @param referralCode Code used to register the integrator originating the operation, for potential rewards.
|
|
435
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
436
|
+
**/
|
|
437
|
+
function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) external;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* @dev Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned
|
|
441
|
+
* E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC
|
|
442
|
+
* @param asset The address of the underlying asset to withdraw
|
|
443
|
+
* @param amount The underlying amount to be withdrawn
|
|
444
|
+
* - Send the value type(uint256).max in order to withdraw the whole aToken balance
|
|
445
|
+
* @param to Address that will receive the underlying, same as msg.sender if the user
|
|
446
|
+
* wants to receive it on his own wallet, or a different address if the beneficiary is a
|
|
447
|
+
* different wallet
|
|
448
|
+
* @return The final amount withdrawn
|
|
449
|
+
**/
|
|
450
|
+
function withdraw(address asset, uint256 amount, address to) external returns (uint256);
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @dev Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower
|
|
454
|
+
* already deposited enough collateral, or he was given enough allowance by a credit delegator on the
|
|
455
|
+
* corresponding debt token (StableDebtToken or VariableDebtToken)
|
|
456
|
+
* - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet
|
|
457
|
+
* and 100 stable/variable debt tokens, depending on the `interestRateMode`
|
|
458
|
+
* @param asset The address of the underlying asset to borrow
|
|
459
|
+
* @param amount The amount to be borrowed
|
|
460
|
+
* @param interestRateMode The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable
|
|
461
|
+
* @param referralCode Code used to register the integrator originating the operation, for potential rewards.
|
|
462
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
463
|
+
* @param onBehalfOf Address of the user who will receive the debt. Should be the address of the borrower itself
|
|
464
|
+
* calling the function if he wants to borrow against his own collateral, or the address of the credit delegator
|
|
465
|
+
* if he has been given credit delegation allowance
|
|
466
|
+
**/
|
|
467
|
+
function borrow(
|
|
468
|
+
address asset,
|
|
469
|
+
uint256 amount,
|
|
470
|
+
uint256 interestRateMode,
|
|
471
|
+
uint16 referralCode,
|
|
472
|
+
address onBehalfOf
|
|
473
|
+
) external;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* @notice Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned
|
|
477
|
+
* - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address
|
|
478
|
+
* @param asset The address of the borrowed underlying asset previously borrowed
|
|
479
|
+
* @param amount The amount to repay
|
|
480
|
+
* - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`
|
|
481
|
+
* @param rateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable
|
|
482
|
+
* @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the
|
|
483
|
+
* user calling the function if he wants to reduce/remove his own debt, or the address of any other
|
|
484
|
+
* other borrower whose debt should be removed
|
|
485
|
+
* @return The final amount repaid
|
|
486
|
+
**/
|
|
487
|
+
function repay(
|
|
488
|
+
address asset,
|
|
489
|
+
uint256 amount,
|
|
490
|
+
uint256 rateMode,
|
|
491
|
+
address onBehalfOf
|
|
492
|
+
) external returns (uint256);
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* @dev Allows a borrower to swap his debt between stable and variable mode, or viceversa
|
|
496
|
+
* @param asset The address of the underlying asset borrowed
|
|
497
|
+
* @param rateMode The rate mode that the user wants to swap to
|
|
498
|
+
**/
|
|
499
|
+
function swapBorrowRateMode(address asset, uint256 rateMode) external;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @dev Rebalances the stable interest rate of a user to the current stable rate defined on the reserve.
|
|
503
|
+
* - Users can be rebalanced if the following conditions are satisfied:
|
|
504
|
+
* 1. Usage ratio is above 95%
|
|
505
|
+
* 2. the current deposit APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too much has been
|
|
506
|
+
* borrowed at a stable rate and depositors are not earning enough
|
|
507
|
+
* @param asset The address of the underlying asset borrowed
|
|
508
|
+
* @param user The address of the user to be rebalanced
|
|
509
|
+
**/
|
|
510
|
+
function rebalanceStableBorrowRate(address asset, address user) external;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* @dev Allows depositors to enable/disable a specific deposited asset as collateral
|
|
514
|
+
* @param asset The address of the underlying asset deposited
|
|
515
|
+
* @param useAsCollateral `true` if the user wants to use the deposit as collateral, `false` otherwise
|
|
516
|
+
**/
|
|
517
|
+
function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) external;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* @dev Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1
|
|
521
|
+
* - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives
|
|
522
|
+
* a proportionally amount of the `collateralAsset` plus a bonus to cover market risk
|
|
523
|
+
* @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation
|
|
524
|
+
* @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation
|
|
525
|
+
* @param user The address of the borrower getting liquidated
|
|
526
|
+
* @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover
|
|
527
|
+
* @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants
|
|
528
|
+
* to receive the underlying collateral asset directly
|
|
529
|
+
**/
|
|
530
|
+
function liquidationCall(
|
|
531
|
+
address collateralAsset,
|
|
532
|
+
address debtAsset,
|
|
533
|
+
address user,
|
|
534
|
+
uint256 debtToCover,
|
|
535
|
+
bool receiveAToken
|
|
536
|
+
) external;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* @dev Allows smartcontracts to access the liquidity of the pool within one transaction,
|
|
540
|
+
* as long as the amount taken plus a fee is returned.
|
|
541
|
+
* IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept into consideration.
|
|
542
|
+
* For further details please visit https://developers.aave.com
|
|
543
|
+
* @param receiverAddress The address of the contract receiving the funds, implementing the IFlashLoanReceiver interface
|
|
544
|
+
* @param assets The addresses of the assets being flash-borrowed
|
|
545
|
+
* @param amounts The amounts amounts being flash-borrowed
|
|
546
|
+
* @param modes Types of the debt to open if the flash loan is not returned:
|
|
547
|
+
* 0 -> Don't open any debt, just revert if funds can't be transferred from the receiver
|
|
548
|
+
* 1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address
|
|
549
|
+
* 2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address
|
|
550
|
+
* @param onBehalfOf The address that will receive the debt in the case of using on `modes` 1 or 2
|
|
551
|
+
* @param params Variadic packed params to pass to the receiver as extra information
|
|
552
|
+
* @param referralCode Code used to register the integrator originating the operation, for potential rewards.
|
|
553
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
554
|
+
**/
|
|
555
|
+
function flashLoan(
|
|
556
|
+
address receiverAddress,
|
|
557
|
+
address[] calldata assets,
|
|
558
|
+
uint256[] calldata amounts,
|
|
559
|
+
uint256[] calldata modes,
|
|
560
|
+
address onBehalfOf,
|
|
561
|
+
bytes calldata params,
|
|
562
|
+
uint16 referralCode
|
|
563
|
+
) external;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* @dev Returns the user account data across all the reserves
|
|
567
|
+
* @param user The address of the user
|
|
568
|
+
* @return totalCollateralETH the total collateral in ETH of the user
|
|
569
|
+
* @return totalDebtETH the total debt in ETH of the user
|
|
570
|
+
* @return availableBorrowsETH the borrowing power left of the user
|
|
571
|
+
* @return currentLiquidationThreshold the liquidation threshold of the user
|
|
572
|
+
* @return ltv the loan to value of the user
|
|
573
|
+
* @return healthFactor the current health factor of the user
|
|
574
|
+
**/
|
|
575
|
+
function getUserAccountData(
|
|
576
|
+
address user
|
|
577
|
+
)
|
|
578
|
+
external
|
|
579
|
+
view
|
|
580
|
+
returns (
|
|
581
|
+
uint256 totalCollateralETH,
|
|
582
|
+
uint256 totalDebtETH,
|
|
583
|
+
uint256 availableBorrowsETH,
|
|
584
|
+
uint256 currentLiquidationThreshold,
|
|
585
|
+
uint256 ltv,
|
|
586
|
+
uint256 healthFactor
|
|
587
|
+
);
|
|
588
|
+
|
|
589
|
+
function initReserve(
|
|
590
|
+
address reserve,
|
|
591
|
+
address aTokenAddress,
|
|
592
|
+
address stableDebtAddress,
|
|
593
|
+
address variableDebtAddress,
|
|
594
|
+
address interestRateStrategyAddress
|
|
595
|
+
) external;
|
|
596
|
+
|
|
597
|
+
function setReserveInterestRateStrategyAddress(
|
|
598
|
+
address reserve,
|
|
599
|
+
address rateStrategyAddress
|
|
600
|
+
) external;
|
|
601
|
+
|
|
602
|
+
function setConfiguration(address reserve, uint256 configuration) external;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* @dev Returns the configuration of the reserve
|
|
606
|
+
* @param asset The address of the underlying asset of the reserve
|
|
607
|
+
* @return The configuration of the reserve
|
|
608
|
+
**/
|
|
609
|
+
function getConfiguration(
|
|
610
|
+
address asset
|
|
611
|
+
) external view returns (DataTypes.ReserveConfigurationMap memory);
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* @dev Returns the configuration of the user across all the reserves
|
|
615
|
+
* @param user The user address
|
|
616
|
+
* @return The configuration of the user
|
|
617
|
+
**/
|
|
618
|
+
function getUserConfiguration(
|
|
619
|
+
address user
|
|
620
|
+
) external view returns (DataTypes.UserConfigurationMap memory);
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* @dev Returns the normalized income normalized income of the reserve
|
|
624
|
+
* @param asset The address of the underlying asset of the reserve
|
|
625
|
+
* @return The reserve's normalized income
|
|
626
|
+
*/
|
|
627
|
+
function getReserveNormalizedIncome(address asset) external view returns (uint256);
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* @dev Returns the normalized variable debt per unit of asset
|
|
631
|
+
* @param asset The address of the underlying asset of the reserve
|
|
632
|
+
* @return The reserve normalized variable debt
|
|
633
|
+
*/
|
|
634
|
+
function getReserveNormalizedVariableDebt(address asset) external view returns (uint256);
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* @dev Returns the state and configuration of the reserve
|
|
638
|
+
* @param asset The address of the underlying asset of the reserve
|
|
639
|
+
* @return The state of the reserve
|
|
640
|
+
**/
|
|
641
|
+
function getReserveData(address asset) external view returns (DataTypes.ReserveData memory);
|
|
642
|
+
|
|
643
|
+
function finalizeTransfer(
|
|
644
|
+
address asset,
|
|
645
|
+
address from,
|
|
646
|
+
address to,
|
|
647
|
+
uint256 amount,
|
|
648
|
+
uint256 balanceFromAfter,
|
|
649
|
+
uint256 balanceToBefore
|
|
650
|
+
) external;
|
|
651
|
+
|
|
652
|
+
function getReservesList() external view returns (address[] memory);
|
|
653
|
+
|
|
654
|
+
function getAddressesProvider() external view returns (ILendingPoolAddressesProvider);
|
|
655
|
+
|
|
656
|
+
function setPause(bool val) external;
|
|
657
|
+
|
|
658
|
+
function paused() external view returns (bool);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
interface ILendingPoolConfigurator {
|
|
662
|
+
/**
|
|
663
|
+
* @dev Emitted when a reserve is initialized.
|
|
664
|
+
* @param asset The address of the underlying asset of the reserve
|
|
665
|
+
* @param aToken The address of the associated aToken contract
|
|
666
|
+
* @param stableDebtToken The address of the associated stable rate debt token
|
|
667
|
+
* @param variableDebtToken The address of the associated variable rate debt token
|
|
668
|
+
* @param interestRateStrategyAddress The address of the interest rate strategy for the reserve
|
|
669
|
+
**/
|
|
670
|
+
event ReserveInitialized(
|
|
671
|
+
address indexed asset,
|
|
672
|
+
address indexed aToken,
|
|
673
|
+
address stableDebtToken,
|
|
674
|
+
address variableDebtToken,
|
|
675
|
+
address interestRateStrategyAddress
|
|
676
|
+
);
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* @dev Emitted when borrowing is enabled on a reserve
|
|
680
|
+
* @param asset The address of the underlying asset of the reserve
|
|
681
|
+
* @param stableRateEnabled True if stable rate borrowing is enabled, false otherwise
|
|
682
|
+
**/
|
|
683
|
+
event BorrowingEnabledOnReserve(address indexed asset, bool stableRateEnabled);
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* @dev Emitted when borrowing is disabled on a reserve
|
|
687
|
+
* @param asset The address of the underlying asset of the reserve
|
|
688
|
+
**/
|
|
689
|
+
event BorrowingDisabledOnReserve(address indexed asset);
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* @dev Emitted when the collateralization risk parameters for the specified asset are updated.
|
|
693
|
+
* @param asset The address of the underlying asset of the reserve
|
|
694
|
+
* @param ltv The loan to value of the asset when used as collateral
|
|
695
|
+
* @param liquidationThreshold The threshold at which loans using this asset as collateral will be considered undercollateralized
|
|
696
|
+
* @param liquidationBonus The bonus liquidators receive to liquidate this asset
|
|
697
|
+
**/
|
|
698
|
+
event CollateralConfigurationChanged(
|
|
699
|
+
address indexed asset,
|
|
700
|
+
uint256 ltv,
|
|
701
|
+
uint256 liquidationThreshold,
|
|
702
|
+
uint256 liquidationBonus
|
|
703
|
+
);
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* @dev Emitted when stable rate borrowing is enabled on a reserve
|
|
707
|
+
* @param asset The address of the underlying asset of the reserve
|
|
708
|
+
**/
|
|
709
|
+
event StableRateEnabledOnReserve(address indexed asset);
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* @dev Emitted when stable rate borrowing is disabled on a reserve
|
|
713
|
+
* @param asset The address of the underlying asset of the reserve
|
|
714
|
+
**/
|
|
715
|
+
event StableRateDisabledOnReserve(address indexed asset);
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* @dev Emitted when a reserve is activated
|
|
719
|
+
* @param asset The address of the underlying asset of the reserve
|
|
720
|
+
**/
|
|
721
|
+
event ReserveActivated(address indexed asset);
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* @dev Emitted when a reserve is deactivated
|
|
725
|
+
* @param asset The address of the underlying asset of the reserve
|
|
726
|
+
**/
|
|
727
|
+
event ReserveDeactivated(address indexed asset);
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* @dev Emitted when a reserve is frozen
|
|
731
|
+
* @param asset The address of the underlying asset of the reserve
|
|
732
|
+
**/
|
|
733
|
+
event ReserveFrozen(address indexed asset);
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* @dev Emitted when a reserve is unfrozen
|
|
737
|
+
* @param asset The address of the underlying asset of the reserve
|
|
738
|
+
**/
|
|
739
|
+
event ReserveUnfrozen(address indexed asset);
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* @dev Emitted when a reserve factor is updated
|
|
743
|
+
* @param asset The address of the underlying asset of the reserve
|
|
744
|
+
* @param factor The new reserve factor
|
|
745
|
+
**/
|
|
746
|
+
event ReserveFactorChanged(address indexed asset, uint256 factor);
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* @dev Emitted when the reserve decimals are updated
|
|
750
|
+
* @param asset The address of the underlying asset of the reserve
|
|
751
|
+
* @param decimals The new decimals
|
|
752
|
+
**/
|
|
753
|
+
event ReserveDecimalsChanged(address indexed asset, uint256 decimals);
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* @dev Emitted when a reserve interest strategy contract is updated
|
|
757
|
+
* @param asset The address of the underlying asset of the reserve
|
|
758
|
+
* @param strategy The new address of the interest strategy contract
|
|
759
|
+
**/
|
|
760
|
+
event ReserveInterestRateStrategyChanged(address indexed asset, address strategy);
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* @dev Emitted when an aToken implementation is upgraded
|
|
764
|
+
* @param asset The address of the underlying asset of the reserve
|
|
765
|
+
* @param proxy The aToken proxy address
|
|
766
|
+
* @param implementation The new aToken implementation
|
|
767
|
+
**/
|
|
768
|
+
event ATokenUpgraded(
|
|
769
|
+
address indexed asset,
|
|
770
|
+
address indexed proxy,
|
|
771
|
+
address indexed implementation
|
|
772
|
+
);
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* @dev Emitted when the implementation of a stable debt token is upgraded
|
|
776
|
+
* @param asset The address of the underlying asset of the reserve
|
|
777
|
+
* @param proxy The stable debt token proxy address
|
|
778
|
+
* @param implementation The new aToken implementation
|
|
779
|
+
**/
|
|
780
|
+
event StableDebtTokenUpgraded(
|
|
781
|
+
address indexed asset,
|
|
782
|
+
address indexed proxy,
|
|
783
|
+
address indexed implementation
|
|
784
|
+
);
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* @dev Emitted when the implementation of a variable debt token is upgraded
|
|
788
|
+
* @param asset The address of the underlying asset of the reserve
|
|
789
|
+
* @param proxy The variable debt token proxy address
|
|
790
|
+
* @param implementation The new aToken implementation
|
|
791
|
+
**/
|
|
792
|
+
event VariableDebtTokenUpgraded(
|
|
793
|
+
address indexed asset,
|
|
794
|
+
address indexed proxy,
|
|
795
|
+
address indexed implementation
|
|
796
|
+
);
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* @dev Initializes a reserve
|
|
800
|
+
* @param aTokenImpl The address of the aToken contract implementation
|
|
801
|
+
* @param stableDebtTokenImpl The address of the stable debt token contract
|
|
802
|
+
* @param variableDebtTokenImpl The address of the variable debt token contract
|
|
803
|
+
* @param underlyingAssetDecimals The decimals of the reserve underlying asset
|
|
804
|
+
* @param interestRateStrategyAddress The address of the interest rate strategy contract for this reserve
|
|
805
|
+
**/
|
|
806
|
+
function initReserve(
|
|
807
|
+
address aTokenImpl,
|
|
808
|
+
address stableDebtTokenImpl,
|
|
809
|
+
address variableDebtTokenImpl,
|
|
810
|
+
uint8 underlyingAssetDecimals,
|
|
811
|
+
address interestRateStrategyAddress
|
|
812
|
+
) external;
|
|
813
|
+
|
|
814
|
+
function batchInitReserve(ConfiguratorInputTypes.InitReserveInput[] calldata input) external;
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* @dev Updates the aToken implementation for the reserve
|
|
818
|
+
* @param asset The address of the underlying asset of the reserve to be updated
|
|
819
|
+
* @param implementation The address of the new aToken implementation
|
|
820
|
+
**/
|
|
821
|
+
function updateAToken(address asset, address implementation) external;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* @dev Updates the stable debt token implementation for the reserve
|
|
825
|
+
* @param asset The address of the underlying asset of the reserve to be updated
|
|
826
|
+
* @param implementation The address of the new aToken implementation
|
|
827
|
+
**/
|
|
828
|
+
function updateStableDebtToken(address asset, address implementation) external;
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* @dev Updates the variable debt token implementation for the asset
|
|
832
|
+
* @param asset The address of the underlying asset of the reserve to be updated
|
|
833
|
+
* @param implementation The address of the new aToken implementation
|
|
834
|
+
**/
|
|
835
|
+
function updateVariableDebtToken(address asset, address implementation) external;
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* @dev Enables borrowing on a reserve
|
|
839
|
+
* @param asset The address of the underlying asset of the reserve
|
|
840
|
+
* @param stableBorrowRateEnabled True if stable borrow rate needs to be enabled by default on this reserve
|
|
841
|
+
**/
|
|
842
|
+
function enableBorrowingOnReserve(address asset, bool stableBorrowRateEnabled) external;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* @dev Disables borrowing on a reserve
|
|
846
|
+
* @param asset The address of the underlying asset of the reserve
|
|
847
|
+
**/
|
|
848
|
+
function disableBorrowingOnReserve(address asset) external;
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* @dev Configures the reserve collateralization parameters
|
|
852
|
+
* all the values are expressed in percentages with two decimals of precision. A valid value is 10000, which means 100.00%
|
|
853
|
+
* @param asset The address of the underlying asset of the reserve
|
|
854
|
+
* @param ltv The loan to value of the asset when used as collateral
|
|
855
|
+
* @param liquidationThreshold The threshold at which loans using this asset as collateral will be considered undercollateralized
|
|
856
|
+
* @param liquidationBonus The bonus liquidators receive to liquidate this asset. The values is always above 100%. A value of 105%
|
|
857
|
+
* means the liquidator will receive a 5% bonus
|
|
858
|
+
**/
|
|
859
|
+
function configureReserveAsCollateral(
|
|
860
|
+
address asset,
|
|
861
|
+
uint256 ltv,
|
|
862
|
+
uint256 liquidationThreshold,
|
|
863
|
+
uint256 liquidationBonus
|
|
864
|
+
) external;
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* @dev Enable stable rate borrowing on a reserve
|
|
868
|
+
* @param asset The address of the underlying asset of the reserve
|
|
869
|
+
**/
|
|
870
|
+
function enableReserveStableRate(address asset) external;
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* @dev Disable stable rate borrowing on a reserve
|
|
874
|
+
* @param asset The address of the underlying asset of the reserve
|
|
875
|
+
**/
|
|
876
|
+
function disableReserveStableRate(address asset) external;
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* @dev Activates a reserve
|
|
880
|
+
* @param asset The address of the underlying asset of the reserve
|
|
881
|
+
**/
|
|
882
|
+
function activateReserve(address asset) external;
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* @dev Deactivates a reserve
|
|
886
|
+
* @param asset The address of the underlying asset of the reserve
|
|
887
|
+
**/
|
|
888
|
+
function deactivateReserve(address asset) external;
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* @dev Freezes a reserve. A frozen reserve doesn't allow any new deposit, borrow or rate swap
|
|
892
|
+
* but allows repayments, liquidations, rate rebalances and withdrawals
|
|
893
|
+
* @param asset The address of the underlying asset of the reserve
|
|
894
|
+
**/
|
|
895
|
+
function freezeReserve(address asset) external;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* @dev Unfreezes a reserve
|
|
899
|
+
* @param asset The address of the underlying asset of the reserve
|
|
900
|
+
**/
|
|
901
|
+
function unfreezeReserve(address asset) external;
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* @dev Updates the reserve factor of a reserve
|
|
905
|
+
* @param asset The address of the underlying asset of the reserve
|
|
906
|
+
* @param reserveFactor The new reserve factor of the reserve
|
|
907
|
+
**/
|
|
908
|
+
function setReserveFactor(address asset, uint256 reserveFactor) external;
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* @dev Sets the interest rate strategy of a reserve
|
|
912
|
+
* @param asset The address of the underlying asset of the reserve
|
|
913
|
+
* @param rateStrategyAddress The new address of the interest strategy contract
|
|
914
|
+
**/
|
|
915
|
+
function setReserveInterestRateStrategyAddress(
|
|
916
|
+
address asset,
|
|
917
|
+
address rateStrategyAddress
|
|
918
|
+
) external;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* @dev pauses or unpauses all the actions of the protocol, including aToken transfers
|
|
922
|
+
* @param val true if protocol needs to be paused, false otherwise
|
|
923
|
+
**/
|
|
924
|
+
function setPoolPause(bool val) external;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
interface IAaveOracle {
|
|
928
|
+
event WethSet(address indexed weth);
|
|
929
|
+
event AssetSourceUpdated(address indexed asset, address indexed source);
|
|
930
|
+
event FallbackOracleUpdated(address indexed fallbackOracle);
|
|
931
|
+
|
|
932
|
+
/// @notice Returns the WETH address (reference asset of the oracle)
|
|
933
|
+
function WETH() external returns (address);
|
|
934
|
+
|
|
935
|
+
/// @notice External function called by the Aave governance to set or replace sources of assets
|
|
936
|
+
/// @param assets The addresses of the assets
|
|
937
|
+
/// @param sources The address of the source of each asset
|
|
938
|
+
function setAssetSources(address[] calldata assets, address[] calldata sources) external;
|
|
939
|
+
|
|
940
|
+
/// @notice Sets the fallbackOracle
|
|
941
|
+
/// - Callable only by the Aave governance
|
|
942
|
+
/// @param fallbackOracle The address of the fallbackOracle
|
|
943
|
+
function setFallbackOracle(address fallbackOracle) external;
|
|
944
|
+
|
|
945
|
+
/// @notice Gets an asset price by address
|
|
946
|
+
/// @param asset The asset address
|
|
947
|
+
function getAssetPrice(address asset) external view returns (uint256);
|
|
948
|
+
|
|
949
|
+
/// @notice Gets a list of prices from a list of assets addresses
|
|
950
|
+
/// @param assets The list of assets addresses
|
|
951
|
+
function getAssetsPrices(address[] calldata assets) external view returns (uint256[] memory);
|
|
952
|
+
|
|
953
|
+
/// @notice Gets the address of the source for an asset address
|
|
954
|
+
/// @param asset The address of the asset
|
|
955
|
+
/// @return address The address of the source
|
|
956
|
+
function getSourceOfAsset(address asset) external view returns (address);
|
|
957
|
+
|
|
958
|
+
/// @notice Gets the address of the fallback oracle
|
|
959
|
+
/// @return address The address of the fallback oracle
|
|
960
|
+
function getFallbackOracle() external view returns (address);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
struct TokenData {
|
|
964
|
+
string symbol;
|
|
965
|
+
address tokenAddress;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
// TODO: incomplete interface
|
|
969
|
+
interface IAaveProtocolDataProvider {
|
|
970
|
+
function getReserveConfigurationData(
|
|
971
|
+
address asset
|
|
972
|
+
)
|
|
973
|
+
external
|
|
974
|
+
view
|
|
975
|
+
returns (
|
|
976
|
+
uint256 decimals,
|
|
977
|
+
uint256 ltv,
|
|
978
|
+
uint256 liquidationThreshold,
|
|
979
|
+
uint256 liquidationBonus,
|
|
980
|
+
uint256 reserveFactor,
|
|
981
|
+
bool usageAsCollateralEnabled,
|
|
982
|
+
bool borrowingEnabled,
|
|
983
|
+
bool stableBorrowRateEnabled,
|
|
984
|
+
bool isActive,
|
|
985
|
+
bool isFrozen
|
|
986
|
+
);
|
|
987
|
+
|
|
988
|
+
function getAllReservesTokens() external view returns (TokenData[] memory);
|
|
989
|
+
|
|
990
|
+
function getReserveTokensAddresses(
|
|
991
|
+
address asset
|
|
992
|
+
)
|
|
993
|
+
external
|
|
994
|
+
view
|
|
995
|
+
returns (
|
|
996
|
+
address aTokenAddress,
|
|
997
|
+
address stableDebtTokenAddress,
|
|
998
|
+
address variableDebtTokenAddress
|
|
999
|
+
);
|
|
1000
|
+
|
|
1001
|
+
function getUserReserveData(
|
|
1002
|
+
address asset,
|
|
1003
|
+
address user
|
|
1004
|
+
)
|
|
1005
|
+
external
|
|
1006
|
+
view
|
|
1007
|
+
returns (
|
|
1008
|
+
uint256 currentATokenBalance,
|
|
1009
|
+
uint256 currentStableDebt,
|
|
1010
|
+
uint256 currentVariableDebt,
|
|
1011
|
+
uint256 principalStableDebt,
|
|
1012
|
+
uint256 scaledVariableDebt,
|
|
1013
|
+
uint256 stableBorrowRate,
|
|
1014
|
+
uint256 liquidityRate,
|
|
1015
|
+
uint40 stableRateLastUpdated,
|
|
1016
|
+
bool usageAsCollateralEnabled
|
|
1017
|
+
);
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
interface ILendingRateOracle {
|
|
1021
|
+
/**
|
|
1022
|
+
@dev returns the market borrow rate in ray
|
|
1023
|
+
**/
|
|
1024
|
+
function getMarketBorrowRate(address asset) external view returns (uint256);
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
@dev sets the market borrow rate. Rate value must be in ray
|
|
1028
|
+
**/
|
|
1029
|
+
function setMarketBorrowRate(address asset, uint256 rate) external;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
interface IDefaultInterestRateStrategy {
|
|
1033
|
+
function EXCESS_UTILIZATION_RATE() external view returns (uint256);
|
|
1034
|
+
|
|
1035
|
+
function OPTIMAL_UTILIZATION_RATE() external view returns (uint256);
|
|
1036
|
+
|
|
1037
|
+
function addressesProvider() external view returns (address);
|
|
1038
|
+
|
|
1039
|
+
function baseVariableBorrowRate() external view returns (uint256);
|
|
1040
|
+
|
|
1041
|
+
function calculateInterestRates(
|
|
1042
|
+
address reserve,
|
|
1043
|
+
uint256 availableLiquidity,
|
|
1044
|
+
uint256 totalStableDebt,
|
|
1045
|
+
uint256 totalVariableDebt,
|
|
1046
|
+
uint256 averageStableBorrowRate,
|
|
1047
|
+
uint256 reserveFactor
|
|
1048
|
+
) external view returns (uint256, uint256, uint256);
|
|
1049
|
+
|
|
1050
|
+
function getMaxVariableBorrowRate() external view returns (uint256);
|
|
1051
|
+
|
|
1052
|
+
function stableRateSlope1() external view returns (uint256);
|
|
1053
|
+
|
|
1054
|
+
function stableRateSlope2() external view returns (uint256);
|
|
1055
|
+
|
|
1056
|
+
function variableRateSlope1() external view returns (uint256);
|
|
1057
|
+
|
|
1058
|
+
function variableRateSlope2() external view returns (uint256);
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
interface IATokenV2 {
|
|
1062
|
+
/**
|
|
1063
|
+
* @dev Emitted after the mint action
|
|
1064
|
+
* @param from The address performing the mint
|
|
1065
|
+
* @param value The amount being
|
|
1066
|
+
* @param index The new liquidity index of the reserve
|
|
1067
|
+
**/
|
|
1068
|
+
event Mint(address indexed from, uint256 value, uint256 index);
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* @dev Emitted after aTokens are burned
|
|
1072
|
+
* @param from The owner of the aTokens, getting them burned
|
|
1073
|
+
* @param target The address that will receive the underlying
|
|
1074
|
+
* @param value The amount being burned
|
|
1075
|
+
* @param index The new liquidity index of the reserve
|
|
1076
|
+
**/
|
|
1077
|
+
event Burn(address indexed from, address indexed target, uint256 value, uint256 index);
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* @dev Emitted during the transfer action
|
|
1081
|
+
* @param from The user whose tokens are being transferred
|
|
1082
|
+
* @param to The recipient
|
|
1083
|
+
* @param value The amount being transferred
|
|
1084
|
+
* @param index The new liquidity index of the reserve
|
|
1085
|
+
**/
|
|
1086
|
+
event BalanceTransfer(address indexed from, address indexed to, uint256 value, uint256 index);
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* @dev Mints `amount` aTokens to `user`
|
|
1090
|
+
* @param user The address receiving the minted tokens
|
|
1091
|
+
* @param amount The amount of tokens getting minted
|
|
1092
|
+
* @param index The new liquidity index of the reserve
|
|
1093
|
+
* @return `true` if the the previous balance of the user was 0
|
|
1094
|
+
*/
|
|
1095
|
+
function mint(address user, uint256 amount, uint256 index) external returns (bool);
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* @dev Burns aTokens from `user` and sends the equivalent amount of underlying to `receiverOfUnderlying`
|
|
1099
|
+
* @param user The owner of the aTokens, getting them burned
|
|
1100
|
+
* @param receiverOfUnderlying The address that will receive the underlying
|
|
1101
|
+
* @param amount The amount being burned
|
|
1102
|
+
* @param index The new liquidity index of the reserve
|
|
1103
|
+
**/
|
|
1104
|
+
function burn(address user, address receiverOfUnderlying, uint256 amount, uint256 index) external;
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* @dev Mints aTokens to the reserve treasury
|
|
1108
|
+
* @param amount The amount of tokens getting minted
|
|
1109
|
+
* @param index The new liquidity index of the reserve
|
|
1110
|
+
*/
|
|
1111
|
+
function mintToTreasury(uint256 amount, uint256 index) external;
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* @dev Transfers aTokens in the event of a borrow being liquidated, in case the liquidators reclaims the aToken
|
|
1115
|
+
* @param from The address getting liquidated, current owner of the aTokens
|
|
1116
|
+
* @param to The recipient
|
|
1117
|
+
* @param value The amount of tokens getting transferred
|
|
1118
|
+
**/
|
|
1119
|
+
function transferOnLiquidation(address from, address to, uint256 value) external;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* @dev Transfers the underlying asset to `target`. Used by the LendingPool to transfer
|
|
1123
|
+
* assets in borrow(), withdraw() and flashLoan()
|
|
1124
|
+
* @param user The recipient of the underlying
|
|
1125
|
+
* @param amount The amount getting transferred
|
|
1126
|
+
* @return The amount transferred
|
|
1127
|
+
**/
|
|
1128
|
+
function transferUnderlyingTo(address user, uint256 amount) external returns (uint256);
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* @dev Invoked to execute actions on the aToken side after a repayment.
|
|
1132
|
+
* @param user The user executing the repayment
|
|
1133
|
+
* @param amount The amount getting repaid
|
|
1134
|
+
**/
|
|
1135
|
+
function handleRepayment(address user, uint256 amount) external;
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* @dev Returns the nonce of the given user.
|
|
1139
|
+
* @param user The user to fetch the nonce for.
|
|
1140
|
+
*/
|
|
1141
|
+
function _nonces(address user) external view returns (uint256);
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* @dev Returns the address of the incentives controller contract
|
|
1145
|
+
**/
|
|
1146
|
+
function getIncentivesController() external view returns (IAaveIncentivesController);
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* @dev Returns the address of the underlying asset of this aToken (E.g. WETH for aWETH)
|
|
1150
|
+
**/
|
|
1151
|
+
function UNDERLYING_ASSET_ADDRESS() external view returns (address);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
interface IAaveIncentivesController {
|
|
1155
|
+
event RewardsAccrued(address indexed user, uint256 amount);
|
|
1156
|
+
|
|
1157
|
+
event RewardsClaimed(address indexed user, address indexed to, uint256 amount);
|
|
1158
|
+
|
|
1159
|
+
event RewardsClaimed(
|
|
1160
|
+
address indexed user,
|
|
1161
|
+
address indexed to,
|
|
1162
|
+
address indexed claimer,
|
|
1163
|
+
uint256 amount
|
|
1164
|
+
);
|
|
1165
|
+
|
|
1166
|
+
event ClaimerSet(address indexed user, address indexed claimer);
|
|
1167
|
+
|
|
1168
|
+
/*
|
|
1169
|
+
* @dev Returns the configuration of the distribution for a certain asset
|
|
1170
|
+
* @param asset The address of the reference asset of the distribution
|
|
1171
|
+
* @return The asset index, the emission per second and the last updated timestamp
|
|
1172
|
+
**/
|
|
1173
|
+
function getAssetData(address asset) external view returns (uint256, uint256, uint256);
|
|
1174
|
+
|
|
1175
|
+
/*
|
|
1176
|
+
* LEGACY **************************
|
|
1177
|
+
* @dev Returns the configuration of the distribution for a certain asset
|
|
1178
|
+
* @param asset The address of the reference asset of the distribution
|
|
1179
|
+
* @return The asset index, the emission per second and the last updated timestamp
|
|
1180
|
+
**/
|
|
1181
|
+
function assets(address asset) external view returns (uint128, uint128, uint256);
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* @dev Whitelists an address to claim the rewards on behalf of another address
|
|
1185
|
+
* @param user The address of the user
|
|
1186
|
+
* @param claimer The address of the claimer
|
|
1187
|
+
*/
|
|
1188
|
+
function setClaimer(address user, address claimer) external;
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* @dev Returns the whitelisted claimer for a certain address (0x0 if not set)
|
|
1192
|
+
* @param user The address of the user
|
|
1193
|
+
* @return The claimer address
|
|
1194
|
+
*/
|
|
1195
|
+
function getClaimer(address user) external view returns (address);
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* @dev Configure assets for a certain rewards emission
|
|
1199
|
+
* @param assets The assets to incentivize
|
|
1200
|
+
* @param emissionsPerSecond The emission for each asset
|
|
1201
|
+
*/
|
|
1202
|
+
function configureAssets(
|
|
1203
|
+
address[] calldata assets,
|
|
1204
|
+
uint256[] calldata emissionsPerSecond
|
|
1205
|
+
) external;
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* @dev Called by the corresponding asset on any update that affects the rewards distribution
|
|
1209
|
+
* @param asset The address of the user
|
|
1210
|
+
* @param userBalance The balance of the user of the asset in the lending pool
|
|
1211
|
+
* @param totalSupply The total supply of the asset in the lending pool
|
|
1212
|
+
**/
|
|
1213
|
+
function handleAction(address asset, uint256 userBalance, uint256 totalSupply) external;
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* @dev Returns the total of rewards of an user, already accrued + not yet accrued
|
|
1217
|
+
* @param user The address of the user
|
|
1218
|
+
* @return The rewards
|
|
1219
|
+
**/
|
|
1220
|
+
function getRewardsBalance(
|
|
1221
|
+
address[] calldata assets,
|
|
1222
|
+
address user
|
|
1223
|
+
) external view returns (uint256);
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* @dev Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards
|
|
1227
|
+
* @param amount Amount of rewards to claim
|
|
1228
|
+
* @param to Address that will be receiving the rewards
|
|
1229
|
+
* @return Rewards claimed
|
|
1230
|
+
**/
|
|
1231
|
+
function claimRewards(
|
|
1232
|
+
address[] calldata assets,
|
|
1233
|
+
uint256 amount,
|
|
1234
|
+
address to
|
|
1235
|
+
) external returns (uint256);
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* @dev Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must
|
|
1239
|
+
* be whitelisted via "allowClaimOnBehalf" function by the RewardsAdmin role manager
|
|
1240
|
+
* @param amount Amount of rewards to claim
|
|
1241
|
+
* @param user Address to check and claim rewards
|
|
1242
|
+
* @param to Address that will be receiving the rewards
|
|
1243
|
+
* @return Rewards claimed
|
|
1244
|
+
**/
|
|
1245
|
+
function claimRewardsOnBehalf(
|
|
1246
|
+
address[] calldata assets,
|
|
1247
|
+
uint256 amount,
|
|
1248
|
+
address user,
|
|
1249
|
+
address to
|
|
1250
|
+
) external returns (uint256);
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* @dev returns the unclaimed rewards of the user
|
|
1254
|
+
* @param user the address of the user
|
|
1255
|
+
* @return the unclaimed user rewards
|
|
1256
|
+
*/
|
|
1257
|
+
function getUserUnclaimedRewards(address user) external view returns (uint256);
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* @dev returns the unclaimed rewards of the user
|
|
1261
|
+
* @param user the address of the user
|
|
1262
|
+
* @param asset The asset to incentivize
|
|
1263
|
+
* @return the user index for the asset
|
|
1264
|
+
*/
|
|
1265
|
+
function getUserAssetData(address user, address asset) external view returns (uint256);
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* @dev for backward compatibility with previous implementation of the Incentives controller
|
|
1269
|
+
*/
|
|
1270
|
+
function REWARD_TOKEN() external view returns (address);
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* @dev for backward compatibility with previous implementation of the Incentives controller
|
|
1274
|
+
*/
|
|
1275
|
+
function PRECISION() external view returns (uint8);
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* @dev Gets the distribution end timestamp of the emissions
|
|
1279
|
+
*/
|
|
1280
|
+
function DISTRIBUTION_END() external view returns (uint256);
|
|
1281
|
+
}
|