Skip to content

Commit 8ad33a8

Browse files
authored
Merge pull request #133 from bgd-labs/feat/add-bob
feat: add Bob network
2 parents 991373a + 161ddf8 commit 8ad33a8

File tree

5 files changed

+422
-17
lines changed

5 files changed

+422
-17
lines changed

helpers/configs.ts

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ import {
6565
AaveV3Plasma,
6666
MiscPlasma,
6767
GovernanceV3Plasma,
68+
GovernanceV3Bob,
69+
MiscBob,
6870
} from '@bgd-labs/aave-address-book';
6971
import { NetworkConfigs } from './types.js';
7072
import { ChainId } from '@bgd-labs/toolbox';
@@ -1133,15 +1135,37 @@ export const networkConfigs: NetworkConfigs = {
11331135
governanceAddressBook: {
11341136
...GovernanceV3Plasma,
11351137
...MiscPlasma
1136-
// EXECUTOR_LVL_1: '0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A',
1137-
// CROSS_CHAIN_CONTROLLER: '0x643441742f73e270e565619be6DE5f4D55E08cd6',
1138-
// PAYLOADS_CONTROLLER: '0xe76EB348E65eF163d85ce282125FF5a7F5712A1d',
1139-
// PC_DATA_HELPER: '0xA806DA549FcB2B4912a7dFFE4c1aA7A1ed0Bd5C9',
1140-
// GRANULAR_GUARDIAN: '0x60665b4F4FF7073C5fed2656852dCa271DfE2684',
1141-
// GOVERNANCE_GUARDIAN: '0x19CE4363FEA478Aa04B9EA2937cc5A2cbcD44be6',
1142-
// CL_EMERGENCY_ORACLE: '0xF61FE74Ec1cFbd9Ee8Bd27592D2EDEe0E2aA85Cf',
1143-
// TRANSPARENT_PROXY_FACTORY: '0xEB0682d148e874553008730f0686ea89db7DA412',
1144-
// PROTOCOL_GUARDIAN: '0xEf323B194caD8e02D9E5D8F07B34f625f1c088f1'
1138+
},
1139+
},
1140+
},
1141+
},
1142+
[ChainId.bob]: {
1143+
name: 'Bob',
1144+
rpcUrl: process.env.RPC_BOB,
1145+
explorer: 'https://explorer.gobob.xyz/',
1146+
addressesNames: {
1147+
'0xEf323B194caD8e02D9E5D8F07B34f625f1c088f1':
1148+
'Aave Protocol Guardian Bob',
1149+
'0xdc62E0e65b2251Dc66404ca717FD32dcC365Be3A': 'BGD',
1150+
'0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6': 'Deployer',
1151+
'0x60665b4F4FF7073C5fed2656852dCa271DfE2684':
1152+
'Aave Granular Guardian Bob',
1153+
'0x19CE4363FEA478Aa04B9EA2937cc5A2cbcD44be6':
1154+
'Aave Governance Guardian Bob',
1155+
'0xE71C189C7D8862EfDa0D9E031157199D2F3B4893': 'Risk Council',
1156+
// '': 'Finance Risk Council'
1157+
},
1158+
pools: {
1159+
[Pools.V3]: {
1160+
crossChainControllerBlock: 18092370,
1161+
granularGuardianBlock: 18092370,
1162+
crossChainPermissionsJson: './statics/functionsPermissionsGovV3.json',
1163+
permissionsJson: './statics/functionsPermissionsV3.json',
1164+
addressBook: {
1165+
},
1166+
governanceAddressBook: {
1167+
...GovernanceV3Bob,
1168+
...MiscBob
11451169
},
11461170
},
11471171
},

out/BOB-V3.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# BOB
2+
## V3
3+
### Contracts upgradeability
4+
| contract |upgradeable by |
5+
|----------|----------|
6+
| Aave a/v/s tokens | Governance | |--------|--------|
7+
| [GranularGuardian](https://explorer.gobob.xyz//address/0xb2C672931Bd1Da226e29997Ec8cEB60Fb1DA3959) | not upgradeable | |--------|--------|
8+
| [PayloadsController](https://explorer.gobob.xyz//address/0x17fa87007bfF1dC7e6b3a36ED936E6355e37237C) | Governance | |--------|--------|
9+
| [PayloadsControllerProxyAdmin](https://explorer.gobob.xyz//address/0x4a756221ad070ba472ba59cd6d5e7dd6d2c866cc) | not upgradeable | |--------|--------|
10+
| [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | not upgradeable | |--------|--------|
11+
| [Bob native adapter](https://explorer.gobob.xyz//address/0x2171E8AD4045342AF92DdC1227ADC659f2a00535) | not upgradeable | |--------|--------|
12+
| [CrossChainController](https://explorer.gobob.xyz//address/0xf630C8A7bC033FD20fcc45d8B43bFe92dE73154F) | Governance | |--------|--------|
13+
| [CrossChainControllerProxyAdmin](https://explorer.gobob.xyz//address/0x628ca0cb6e8a163bb1c4a50b75d7d4e7d38e8b18) | not upgradeable | |--------|--------|
14+
15+
### Actions type
16+
| type |can be executed by |
17+
|----------|----------|
18+
| adiConfigurations | Governance | |--------|--------|
19+
| retryAndInvalidateMessages | Multi-sig,Governance | |--------|--------|
20+
21+
### Governance V3 Contracts
22+
| contract |proxyAdmin |modifier |permission owner |functions |
23+
|----------|----------|----------|----------|----------|
24+
| [GranularGuardian](https://explorer.gobob.xyz//address/0xb2C672931Bd1Da226e29997Ec8cEB60Fb1DA3959) | - | onlyRetryGuardian | [BGD](https://explorer.gobob.xyz//address/0xdc62E0e65b2251Dc66404ca717FD32dcC365Be3A) | retryEnvelope, retryTransaction | |--------|--------|--------|--------|--------|
25+
| [GranularGuardian](https://explorer.gobob.xyz//address/0xb2C672931Bd1Da226e29997Ec8cEB60Fb1DA3959) | - | onlyEmergencyGuardian | [Aave Governance Guardian Bob](https://explorer.gobob.xyz//address/0x19CE4363FEA478Aa04B9EA2937cc5A2cbcD44be6) | solveEmergency | |--------|--------|--------|--------|--------|
26+
| [GranularGuardian](https://explorer.gobob.xyz//address/0xb2C672931Bd1Da226e29997Ec8cEB60Fb1DA3959) | - | onlyDefaultAdmin | [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | updateGuardian | |--------|--------|--------|--------|--------|
27+
| [PayloadsController](https://explorer.gobob.xyz//address/0x17fa87007bfF1dC7e6b3a36ED936E6355e37237C) | [PayloadsControllerProxyAdmin](https://explorer.gobob.xyz//address/0x4a756221AD070BA472bA59Cd6D5e7dd6D2c866cc) | onlyOwner | [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | updateExecutors | |--------|--------|--------|--------|--------|
28+
| [PayloadsController](https://explorer.gobob.xyz//address/0x17fa87007bfF1dC7e6b3a36ED936E6355e37237C) | [PayloadsControllerProxyAdmin](https://explorer.gobob.xyz//address/0x4a756221AD070BA472bA59Cd6D5e7dd6D2c866cc) | onlyGuardian | [Aave Governance Guardian Bob](https://explorer.gobob.xyz//address/0x19CE4363FEA478Aa04B9EA2937cc5A2cbcD44be6) | cancelPayload | |--------|--------|--------|--------|--------|
29+
| [PayloadsController](https://explorer.gobob.xyz//address/0x17fa87007bfF1dC7e6b3a36ED936E6355e37237C) | [PayloadsControllerProxyAdmin](https://explorer.gobob.xyz//address/0x4a756221AD070BA472bA59Cd6D5e7dd6D2c866cc) | onlyOwnerOrGuardian | [Aave Governance Guardian Bob](https://explorer.gobob.xyz//address/0x19CE4363FEA478Aa04B9EA2937cc5A2cbcD44be6), [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | updateGuardian | |--------|--------|--------|--------|--------|
30+
| [PayloadsController](https://explorer.gobob.xyz//address/0x17fa87007bfF1dC7e6b3a36ED936E6355e37237C) | [PayloadsControllerProxyAdmin](https://explorer.gobob.xyz//address/0x4a756221AD070BA472bA59Cd6D5e7dd6D2c866cc) | onlyRescueGuardian | [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | emergencyTokenTransfer, emergencyEtherTransfer | |--------|--------|--------|--------|--------|
31+
| [PayloadsControllerProxyAdmin](https://explorer.gobob.xyz//address/0x4a756221ad070ba472ba59cd6d5e7dd6d2c866cc) | - | onlyOwner | [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | changeProxyAdmin, upgrade, upgradeAndCall | |--------|--------|--------|--------|--------|
32+
| [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | - | onlyOwner | [PayloadsController](https://explorer.gobob.xyz//address/0x17fa87007bfF1dC7e6b3a36ED936E6355e37237C) | executeTransaction | |--------|--------|--------|--------|--------|
33+
| [Bob native adapter](https://explorer.gobob.xyz//address/0x2171E8AD4045342AF92DdC1227ADC659f2a00535) | - | trustedRemote | [CrossChainController(Eth)](https://explorer.gobob.xyz//address/0xEd42a7D8559a463722Ca4beD50E0Cc05a386b0e1) | receiveMessage | |--------|--------|--------|--------|--------|
34+
| [CrossChainController](https://explorer.gobob.xyz//address/0xf630C8A7bC033FD20fcc45d8B43bFe92dE73154F) | [CrossChainControllerProxyAdmin](https://explorer.gobob.xyz//address/0x628ca0cB6e8A163bB1C4a50B75D7D4E7D38e8b18) | onlyOwner | [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | approveSenders, removeSenders, enableBridgeAdapters, disableBridgeAdapters, updateMessagesValidityTimestamp, allowReceiverBridgeAdapters, disallowReceiverBridgeAdapters | |--------|--------|--------|--------|--------|
35+
| [CrossChainController](https://explorer.gobob.xyz//address/0xf630C8A7bC033FD20fcc45d8B43bFe92dE73154F) | [CrossChainControllerProxyAdmin](https://explorer.gobob.xyz//address/0x628ca0cB6e8A163bB1C4a50B75D7D4E7D38e8b18) | onlyOwnerOrGuardian | [GranularGuardian](https://explorer.gobob.xyz//address/0xb2C672931Bd1Da226e29997Ec8cEB60Fb1DA3959), [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | retryEnvelope, retryTransaction, updateGuardian | |--------|--------|--------|--------|--------|
36+
| [CrossChainController](https://explorer.gobob.xyz//address/0xf630C8A7bC033FD20fcc45d8B43bFe92dE73154F) | [CrossChainControllerProxyAdmin](https://explorer.gobob.xyz//address/0x628ca0cB6e8A163bB1C4a50B75D7D4E7D38e8b18) | onlyRescueGuardian | [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | emergencyTokenTransfer, emergencyEtherTransfer | |--------|--------|--------|--------|--------|
37+
| [CrossChainController](https://explorer.gobob.xyz//address/0xf630C8A7bC033FD20fcc45d8B43bFe92dE73154F) | [CrossChainControllerProxyAdmin](https://explorer.gobob.xyz//address/0x628ca0cB6e8A163bB1C4a50B75D7D4E7D38e8b18) | onlyApprovedSenders | | forwardMessage | |--------|--------|--------|--------|--------|
38+
| [CrossChainController](https://explorer.gobob.xyz//address/0xf630C8A7bC033FD20fcc45d8B43bFe92dE73154F) | [CrossChainControllerProxyAdmin](https://explorer.gobob.xyz//address/0x628ca0cB6e8A163bB1C4a50B75D7D4E7D38e8b18) | onlyApprovedBridges | [Bob native adapter](https://explorer.gobob.xyz//address/0x2171E8AD4045342AF92DdC1227ADC659f2a00535) | receiveCrossChainMessage | |--------|--------|--------|--------|--------|
39+
| [CrossChainControllerProxyAdmin](https://explorer.gobob.xyz//address/0x628ca0cb6e8a163bb1c4a50b75d7d4e7d38e8b18) | - | onlyOwner | [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | changeProxyAdmin, upgrade, upgradeAndCall | |--------|--------|--------|--------|--------|
40+
41+
### Guardians
42+
| Guardian |Threshold |Address |Owners |
43+
|----------|----------|----------|----------|
44+
| [BGD](https://explorer.gobob.xyz//address/0xdc62E0e65b2251Dc66404ca717FD32dcC365Be3A) | 2/3 | 0xdc62E0e65b2251Dc66404ca717FD32dcC365Be3A | [0x0650302887619fa7727D8BD480Cda11A638B219B](https://explorer.gobob.xyz//address/0x0650302887619fa7727D8BD480Cda11A638B219B), [0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02](https://explorer.gobob.xyz//address/0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02), [0x5811d9FF80ff4B73A8F9bA42A6082FaB82E89Ea7](https://explorer.gobob.xyz//address/0x5811d9FF80ff4B73A8F9bA42A6082FaB82E89Ea7) | |--------|--------|--------|--------|
45+
| [Aave Governance Guardian Bob](https://explorer.gobob.xyz//address/0x19CE4363FEA478Aa04B9EA2937cc5A2cbcD44be6) | 5/9 | 0x19CE4363FEA478Aa04B9EA2937cc5A2cbcD44be6 | [0xDA5Ae43e179987a66B9831F92223567e1F38BE7D](https://explorer.gobob.xyz//address/0xDA5Ae43e179987a66B9831F92223567e1F38BE7D), [0x1e3804357eD445251FfECbb6e40107bf03888885](https://explorer.gobob.xyz//address/0x1e3804357eD445251FfECbb6e40107bf03888885), [0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9](https://explorer.gobob.xyz//address/0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9), [0xebED04E9137AfeBFF6a1B97aC0adf61a544eFE29](https://explorer.gobob.xyz//address/0xebED04E9137AfeBFF6a1B97aC0adf61a544eFE29), [0xbd4DCfA978c6D0d342cE36809AfFFa49d4B7f1F7](https://explorer.gobob.xyz//address/0xbd4DCfA978c6D0d342cE36809AfFFa49d4B7f1F7), [0xA3103D0ED00d24795Faa2d641ACf6A320EeD7396](https://explorer.gobob.xyz//address/0xA3103D0ED00d24795Faa2d641ACf6A320EeD7396), [0x936CD9654271083cCF93A975919Da0aB3Bc99EF3](https://explorer.gobob.xyz//address/0x936CD9654271083cCF93A975919Da0aB3Bc99EF3), [0x0D2394C027602Dc4c3832Ffd849b5df45DBac0E9](https://explorer.gobob.xyz//address/0x0D2394C027602Dc4c3832Ffd849b5df45DBac0E9), [0x4C30E33758216aD0d676419c21CB8D014C68099f](https://explorer.gobob.xyz//address/0x4C30E33758216aD0d676419c21CB8D014C68099f) | |--------|--------|--------|--------|
46+
47+
### Granular Guardian Admins
48+
| Role |Contract |
49+
|----------|----------|
50+
| DEFAULT_ADMIN | [Executor_lvl1](https://explorer.gobob.xyz//address/0x90800d1F54384523723eD3962c7Cd59d7866c83d) | |--------|--------|
51+
| SOLVE_EMERGENCY_ROLE | [Aave Governance Guardian Bob](https://explorer.gobob.xyz//address/0x19CE4363FEA478Aa04B9EA2937cc5A2cbcD44be6) | |--------|--------|
52+
| RETRY_ROLE | [BGD](https://explorer.gobob.xyz//address/0xdc62E0e65b2251Dc66404ca717FD32dcC365Be3A) | |--------|--------|
53+

0 commit comments

Comments
 (0)