-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathAaveV3Linea.sol
106 lines (78 loc) · 5.53 KB
/
AaveV3Linea.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;
import {IPoolAddressesProvider, IPool, IPoolConfigurator, IAaveOracle, IPoolDataProvider, IACLManager} from './AaveV3.sol';
import {ICollector} from './common/ICollector.sol';
library AaveV3Linea {
// https://lineascan.build/address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4
IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER =
IPoolAddressesProvider(0x89502c3731F69DDC95B65753708A07F8Cd0373F4);
// https://lineascan.build/address/0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac
IPool internal constant POOL = IPool(0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac);
// https://lineascan.build/address/0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2
IPoolConfigurator internal constant POOL_CONFIGURATOR =
IPoolConfigurator(0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2);
// https://lineascan.build/address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9
IAaveOracle internal constant ORACLE = IAaveOracle(0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9);
// https://lineascan.build/address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88
address internal constant ACL_ADMIN = 0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88;
// https://lineascan.build/address/0xbf32c7dFC72b730967072B112927ca0de205dbb5
IACLManager internal constant ACL_MANAGER =
IACLManager(0xbf32c7dFC72b730967072B112927ca0de205dbb5);
// https://lineascan.build/address/0x2D97F8FA96886Fd923c065F5457F9DDd494e3877
IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IPoolDataProvider(0x2D97F8FA96886Fd923c065F5457F9DDd494e3877);
// https://lineascan.build/address/0x36616cf17557639614c1cdDb356b1B83fc0B2132
address internal constant POOL_IMPL = 0x36616cf17557639614c1cdDb356b1B83fc0B2132;
// https://lineascan.build/address/0x1236010CECea55998384e795B59815D871f5f94d
address internal constant POOL_CONFIGURATOR_IMPL = 0x1236010CECea55998384e795B59815D871f5f94d;
// https://lineascan.build/address/0xc67bb8F2314fA0df50cBa314c6509A7bdAD500C0
address internal constant DEFAULT_INCENTIVES_CONTROLLER =
0xc67bb8F2314fA0df50cBa314c6509A7bdAD500C0;
// https://lineascan.build/address/0x0165C65FB21bDC9Cdc09C627d62AB3a983337158
address internal constant EMISSION_MANAGER = 0x0165C65FB21bDC9Cdc09C627d62AB3a983337158;
// https://lineascan.build/address/0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809
ICollector internal constant COLLECTOR = ICollector(0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809);
// https://lineascan.build/address/0x589750BA8aF186cE5B55391B0b7148cAD43a1619
address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x589750BA8aF186cE5B55391B0b7148cAD43a1619;
// https://lineascan.build/address/0xBeC519531F0E78BcDdB295242fA4EC5251B38574
address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 =
0xBeC519531F0E78BcDdB295242fA4EC5251B38574;
// https://lineascan.build/address/0x6c23bAF050ec192afc0B967a93b83e6c5405df43
address internal constant CONFIG_ENGINE = 0x6c23bAF050ec192afc0B967a93b83e6c5405df43;
// https://lineascan.build/address/0x3238FC1d642b60F41a35f62570237656C85F4744
address internal constant RISK_STEWARD = 0x3238FC1d642b60F41a35f62570237656C85F4744;
// https://lineascan.build/address/0x96dFCCB3F9ACDaF6c8f8a35E814023C3484d1eA2
address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY =
0x96dFCCB3F9ACDaF6c8f8a35E814023C3484d1eA2;
// https://lineascan.build/address/0x117684358D990E42Eb1649E7e8C4691951dc1E71
address internal constant UI_INCENTIVE_DATA_PROVIDER = 0x117684358D990E42Eb1649E7e8C4691951dc1E71;
// https://lineascan.build/address/0xf751969521E20A972A0776CDB0497Fad0F773F1F
address internal constant UI_POOL_DATA_PROVIDER = 0xf751969521E20A972A0776CDB0497Fad0F773F1F;
// https://lineascan.build/address/0xff75B6da14FfbbfD355Daf7a2731456b3562Ba6D
address internal constant WALLET_BALANCE_PROVIDER = 0xff75B6da14FfbbfD355Daf7a2731456b3562Ba6D;
// https://lineascan.build/address/0x4758213271BFdC72224A7a8742dC865fC97756e1
address internal constant WETH_GATEWAY = 0x4758213271BFdC72224A7a8742dC865fC97756e1;
// https://lineascan.build/address/0x28ad75CA21793835b975130e9FdA149A476a2b7c
address internal constant STATIC_A_TOKEN_FACTORY = 0x28ad75CA21793835b975130e9FdA149A476a2b7c;
}
library AaveV3LineaAssets {}
library AaveV3LineaEModes {
uint8 internal constant NONE = 0;
}
library AaveV3LineaExternalLibraries {
// https://lineascan.build/address/0x6990DFae5c227F1aC5D486b1AC0eecAcC2B3e68d
address internal constant FLASHLOAN_LOGIC = 0x6990DFae5c227F1aC5D486b1AC0eecAcC2B3e68d;
// https://lineascan.build/address/0xbFEDA4cC9184727Ac7546Ce529D306bB5CffcB4F
address internal constant BORROW_LOGIC = 0xbFEDA4cC9184727Ac7546Ce529D306bB5CffcB4F;
// https://lineascan.build/address/0x3f399651Fc3FE274F7754Bb240BC80e096c0d1c5
address internal constant BRIDGE_LOGIC = 0x3f399651Fc3FE274F7754Bb240BC80e096c0d1c5;
// https://lineascan.build/address/0x848eD9932047Fae0baf74d645450018F424A4367
address internal constant E_MODE_LOGIC = 0x848eD9932047Fae0baf74d645450018F424A4367;
// https://lineascan.build/address/0xB84A9FBa16902e990EbCb63A22bB46996E9CfABe
address internal constant LIQUIDATION_LOGIC = 0xB84A9FBa16902e990EbCb63A22bB46996E9CfABe;
// https://lineascan.build/address/0x7Cc1def95a7eCfb5afF91425D5e828802A8d914E
address internal constant POOL_LOGIC = 0x7Cc1def95a7eCfb5afF91425D5e828802A8d914E;
// https://lineascan.build/address/0x3c012c5d3Be847F46a1428A3Bc53d70dFe691194
address internal constant SUPPLY_LOGIC = 0x3c012c5d3Be847F46a1428A3Bc53d70dFe691194;
}