Skip to content

Commit

Permalink
Merge pull request #91 from bgd-labs/feat/linea
Browse files Browse the repository at this point in the history
feat: Add Linea permissions
  • Loading branch information
sendra authored Jan 9, 2025
2 parents 703c12e + 3f3c475 commit a8f9d4d
Show file tree
Hide file tree
Showing 19 changed files with 1,755 additions and 2,866 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ These documents contain tables with the following information:
| ARBITRUM_ONE | V3 | [Permissions](./out/ARBITRUM_ONE-V3.md#contracts) | |--------|--------|--------|
| AVALANCHE | V3 | [Permissions](./out/AVALANCHE-V3.md#contracts) | |--------|--------|--------|
| AVALANCHE | V2 | [Permissions](./out/AVALANCHE-V2.md#contracts) | |--------|--------|--------|
| LINEA | V3 | [Permissions](./out/LINEA-V3.md#contracts) | |--------|--------|--------|
| SCROLL | V3 | [Permissions](./out/SCROLL-V3.md#contracts) | |--------|--------|--------|

Expand Down
35 changes: 35 additions & 0 deletions helpers/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ import {
GovernanceV3ZkSync,
MiscZkSync,
AaveV3ZkSync,
AaveV3Linea,
MiscLinea,
GovernanceV3Linea,
} from '@bgd-labs/aave-address-book';
import { NetworkConfigs } from './types.js';
dotenv.config();
Expand Down Expand Up @@ -721,6 +724,38 @@ export const networkConfigs: NetworkConfigs = {
},
},
},
['59144']: {
rpcUrl: process.env.RPC_LINEA,
explorer: 'https://lineascan.build/',
addressesNames: {
'0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9':
'Aave Protocol Guardian Linea',
'0xfD3a6E65e470a7D7D730FFD5D36a9354E8F9F4Ea': 'BGD',
'0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6': 'Deployer',
'0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16':
'Aave Granular Guardian Linea',
'0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E':
'Aave Governance Guardian Linea',
},
pools: {
[Pools.V3]: {
aclBlock: 12430800,
crossChainControllerBlock: 13185200,
granularGuardianBlock: 13223700,
crossChainPermissionsJson: './statics/functionsPermissionsGovV3.json',
permissionsJson: './statics/functionsPermissionsV3.0.1.json',
addressBook: {
...AaveV3Linea,
...MiscLinea,
COLLECTOR: '0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809', // TODO: REMOVE ONCE ADDED ON ADDRESS BOOK
},
governanceAddressBook: GovernanceV3Linea,
addresses: {
'0xB3332d31ECFC3ef3BF6Cda79833D11d1A53f5cE6': 'LineaAdapter',
},
},
},
},
};
// ---------------------- DEPRECATED --------------------------------------
// [ChainId.fantom]: {
Expand Down
107 changes: 107 additions & 0 deletions out/LINEA-V3.md

Large diffs are not rendered by default.

Loading

0 comments on commit a8f9d4d

Please sign in to comment.