Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1969,6 +1969,7 @@ address,name,chainId
0xDe6539018B095353A40753Dc54C91C68c9487D4E,GhoGnosis GHO_CCIP_TOKEN_POOL,100
0x360d8aa8F6b09B7BC57aF34db2Eb84dD87bf4d12,GhoGnosis GHO_ORACLE,100
0xfc421aD3C883Bf9E7C4f42dE845C4e4405799e73,GhoGnosis GHO_TOKEN,100
0x8513e6F37dBc52De87b166980Fa3F50639694B60,GhoGnosis RISK_COUNCIL,100
0xF937ffAeA1363e4Fa260760bDFA2aA8Fc911F84D,GovernanceV3Gnosis CL_EMERGENCY_ORACLE,100
0x8Dc5310fc9D3D7D1Bb3D1F686899c8F082316c9F,GovernanceV3Gnosis CROSS_CHAIN_CONTROLLER,100
0x1dF462e2712496373A347f8ad10802a5E95f053D,GovernanceV3Gnosis EXECUTOR_LVL_1,100
Expand Down Expand Up @@ -3235,6 +3236,12 @@ address,name,chainId
0x7B9c12915c594a68dE96201Cbdc79147F09da278,AaveV3Plasma UI_POOL_DATA_PROVIDER,9745
0x91FC11136d5615575a0fC5981Ab5C0C54418E2C6,AaveV3Plasma WALLET_BALANCE_PROVIDER,9745
0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0,AaveV3Plasma WETH_GATEWAY,9745
0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B,GhoPlasma GHO_BUCKET_STEWARD,9745
0x20fd5f3FCac8883a3A0A2bBcD658A2d2c6EFa6B6,GhoPlasma GHO_CCIP_STEWARD,9745
0x360d8aa8F6b09B7BC57aF34db2Eb84dD87bf4d12,GhoPlasma GHO_CCIP_TOKEN_POOL,9745
0xb0e1c7830aA781362f79225559Aa068E6bDaF1d1,GhoPlasma GHO_ORACLE,9745
0xb77E872A68C62CfC0dFb02C067Ecc3DA23B4bbf3,GhoPlasma GHO_TOKEN,9745
0x8513e6F37dBc52De87b166980Fa3F50639694B60,GhoPlasma RISK_COUNCIL,9745
0xF61FE74Ec1cFbd9Ee8Bd27592D2EDEe0E2aA85Cf,GovernanceV3Plasma CL_EMERGENCY_ORACLE,9745
0x643441742f73e270e565619be6DE5f4D55E08cd6,GovernanceV3Plasma CROSS_CHAIN_CONTROLLER,9745
0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A,GovernanceV3Plasma EXECUTOR_LVL_1,9745
Expand Down Expand Up @@ -4168,6 +4175,7 @@ address,name,chainId
0xDe6539018B095353A40753Dc54C91C68c9487D4E,GhoInk GHO_CCIP_TOKEN_POOL,57073
0x20fd5f3FCac8883a3A0A2bBcD658A2d2c6EFa6B6,GhoInk GHO_ORACLE,57073
0xfc421aD3C883Bf9E7C4f42dE845C4e4405799e73,GhoInk GHO_TOKEN,57073
0x8513e6F37dBc52De87b166980Fa3F50639694B60,GhoInk RISK_COUNCIL,57073
0x990B75fD1a2345D905a385dBC6e17BEe0Cb2f505,GovernanceV3Ink CROSS_CHAIN_CONTROLLER,57073
0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A,GovernanceV3Ink EXECUTOR_LVL_1,57073
0x1bBcC6F0BB563067Ca45450023a13E34fa963Fa9,GovernanceV3Ink GOVERNANCE_GUARDIAN,57073
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/gho/gnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export const ghoGnosis: GhoAddresses = {
GHO_AAVE_CORE_STEWARD: '0x6e637e1e48025e51315d50ab96d5b3be1971a715',
GHO_BUCKET_STEWARD: '0x6bb7a212910682dcfdbd5bcbb3e28fb4e8da10ee',
GHO_CCIP_STEWARD: '0x06179f7c1be40863405f374e7f5f8806c728660a',
RISK_COUNCIL: '0x8513e6F37dBc52De87b166980Fa3F50639694B60',
},
};
1 change: 1 addition & 0 deletions scripts/configs/gho/ink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ export const ghoInk: GhoAddresses = {
GHO_ORACLE: '0x20fd5f3FCac8883a3A0A2bBcD658A2d2c6EFa6B6',
GHO_BUCKET_STEWARD: '0xA5Ba213867E175A182a5dd6A9193C6158738105A',
GHO_CCIP_STEWARD: '0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B',
RISK_COUNCIL: '0x8513e6F37dBc52De87b166980Fa3F50639694B60',
},
};
15 changes: 15 additions & 0 deletions scripts/configs/gho/plasma.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import {ChainId} from '@bgd-labs/toolbox';
import {GhoAddresses} from '../types';

export const ghoPlasma: GhoAddresses = {
name: 'Plasma',
chainId: ChainId.plasma,
addresses: {
GHO_TOKEN: '0xb77E872A68C62CfC0dFb02C067Ecc3DA23B4bbf3',
GHO_CCIP_TOKEN_POOL: '0x360d8aa8F6b09B7BC57aF34db2Eb84dD87bf4d12',
GHO_ORACLE: '0xb0e1c7830aA781362f79225559Aa068E6bDaF1d1',
GHO_BUCKET_STEWARD: '0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B',
GHO_CCIP_STEWARD: '0x20fd5f3FCac8883a3A0A2bBcD658A2d2c6EFa6B6',
RISK_COUNCIL: '0x8513e6F37dBc52De87b166980Fa3F50639694B60',
},
};
3 changes: 2 additions & 1 deletion scripts/generateAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ import { ghoBase } from './configs/gho/base';
import { ghoEthereum } from './configs/gho/ethereum';
import { ghoGnosis } from './configs/gho/gnosis';
import { ghoInk } from './configs/gho/ink';
import { ghoPlasma } from './configs/gho/plasma';
import { generateGho } from './generator/ghoGenerator';
import { governanceConfigLinea } from './configs/governance/linea';
import { mantleAddresses } from './configs/networks/mantle';
Expand Down Expand Up @@ -177,7 +178,7 @@ async function main() {
plasmaProtoV3,
].map((config) => generateProtocolV3Library(config)),
);
const ghoAddresses = [ghoEthereum, ghoArbitrum, ghoBase, ghoAvalanche, ghoGnosis, ghoInk].map((config) =>
const ghoAddresses = [ghoEthereum, ghoArbitrum, ghoBase, ghoAvalanche, ghoGnosis, ghoInk, ghoPlasma].map((config) =>
generateGho(config),
);
const umbrellaAddresses = await Promise.all(
Expand Down
3 changes: 3 additions & 0 deletions src/GhoGnosis.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ library GhoGnosis {

// https://gnosisscan.io/address/0x06179f7C1be40863405f374E7f5F8806c728660A
address internal constant GHO_CCIP_STEWARD = 0x06179f7C1be40863405f374E7f5F8806c728660A;

// https://gnosisscan.io/address/0x8513e6F37dBc52De87b166980Fa3F50639694B60
address internal constant RISK_COUNCIL = 0x8513e6F37dBc52De87b166980Fa3F50639694B60;
}
3 changes: 3 additions & 0 deletions src/GhoInk.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ library GhoInk {

// https://explorer.inkonchain.com/address/0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B
address internal constant GHO_CCIP_STEWARD = 0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B;

// https://explorer.inkonchain.com/address/0x8513e6F37dBc52De87b166980Fa3F50639694B60
address internal constant RISK_COUNCIL = 0x8513e6F37dBc52De87b166980Fa3F50639694B60;
}
23 changes: 23 additions & 0 deletions src/GhoPlasma.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

library GhoPlasma {
// https://plasmascan.to/address/0xb77E872A68C62CfC0dFb02C067Ecc3DA23B4bbf3
address internal constant GHO_TOKEN = 0xb77E872A68C62CfC0dFb02C067Ecc3DA23B4bbf3;

// https://plasmascan.to/address/0x360d8aa8F6b09B7BC57aF34db2Eb84dD87bf4d12
address internal constant GHO_CCIP_TOKEN_POOL = 0x360d8aa8F6b09B7BC57aF34db2Eb84dD87bf4d12;

// https://plasmascan.to/address/0xb0e1c7830aA781362f79225559Aa068E6bDaF1d1
address internal constant GHO_ORACLE = 0xb0e1c7830aA781362f79225559Aa068E6bDaF1d1;

// https://plasmascan.to/address/0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B
address internal constant GHO_BUCKET_STEWARD = 0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B;

// https://plasmascan.to/address/0x20fd5f3FCac8883a3A0A2bBcD658A2d2c6EFa6B6
address internal constant GHO_CCIP_STEWARD = 0x20fd5f3FCac8883a3A0A2bBcD658A2d2c6EFa6B6;

// https://plasmascan.to/address/0x8513e6F37dBc52De87b166980Fa3F50639694B60
address internal constant RISK_COUNCIL = 0x8513e6F37dBc52De87b166980Fa3F50639694B60;
}
1 change: 1 addition & 0 deletions src/ts/AaveAddressBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export * as GhoBase from './GhoBase';
export * as GhoAvalanche from './GhoAvalanche';
export * as GhoGnosis from './GhoGnosis';
export * as GhoInk from './GhoInk';
export * as GhoPlasma from './GhoPlasma';
export * as UmbrellaEthereum from './UmbrellaEthereum';
export * as UmbrellaBaseSepolia from './UmbrellaBaseSepolia';
export * as ChainlinkEthereum from './ChainlinkEthereum';
Expand Down
3 changes: 3 additions & 0 deletions src/ts/GhoGnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ export const GHO_BUCKET_STEWARD = '0x6Bb7a212910682DCFdbd5BCBb3e28FB4E8da10Ee';
// https://gnosisscan.io/address/0x06179f7C1be40863405f374E7f5F8806c728660A
export const GHO_CCIP_STEWARD = '0x06179f7C1be40863405f374E7f5F8806c728660A';

// https://gnosisscan.io/address/0x8513e6F37dBc52De87b166980Fa3F50639694B60
export const RISK_COUNCIL = '0x8513e6F37dBc52De87b166980Fa3F50639694B60';

export const CHAIN_ID = 100;
3 changes: 3 additions & 0 deletions src/ts/GhoInk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ export const GHO_BUCKET_STEWARD = '0xA5Ba213867E175A182a5dd6A9193C6158738105A';
// https://explorer.inkonchain.com/address/0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B
export const GHO_CCIP_STEWARD = '0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B';

// https://explorer.inkonchain.com/address/0x8513e6F37dBc52De87b166980Fa3F50639694B60
export const RISK_COUNCIL = '0x8513e6F37dBc52De87b166980Fa3F50639694B60';

export const CHAIN_ID = 57073;
20 changes: 20 additions & 0 deletions src/ts/GhoPlasma.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// https://plasmascan.to/address/0xb77E872A68C62CfC0dFb02C067Ecc3DA23B4bbf3
export const GHO_TOKEN = '0xb77E872A68C62CfC0dFb02C067Ecc3DA23B4bbf3';

// https://plasmascan.to/address/0x360d8aa8F6b09B7BC57aF34db2Eb84dD87bf4d12
export const GHO_CCIP_TOKEN_POOL = '0x360d8aa8F6b09B7BC57aF34db2Eb84dD87bf4d12';

// https://plasmascan.to/address/0xb0e1c7830aA781362f79225559Aa068E6bDaF1d1
export const GHO_ORACLE = '0xb0e1c7830aA781362f79225559Aa068E6bDaF1d1';

// https://plasmascan.to/address/0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B
export const GHO_BUCKET_STEWARD = '0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B';

// https://plasmascan.to/address/0x20fd5f3FCac8883a3A0A2bBcD658A2d2c6EFa6B6
export const GHO_CCIP_STEWARD = '0x20fd5f3FCac8883a3A0A2bBcD658A2d2c6EFa6B6';

// https://plasmascan.to/address/0x8513e6F37dBc52De87b166980Fa3F50639694B60
export const RISK_COUNCIL = '0x8513e6F37dBc52De87b166980Fa3F50639694B60';

export const CHAIN_ID = 9745;
24 changes: 24 additions & 0 deletions tests/cache/verified.json
Original file line number Diff line number Diff line change
Expand Up @@ -6431,6 +6431,9 @@
},
"0x7BD97DD6C199532d11Cf5f55E13a120dB6dd0F4F": {
"name": "RiskOracle"
},
"0x8513e6F37dBc52De87b166980Fa3F50639694B60": {
"name": "GnosisSafeProxy"
}
},
"137": {
Expand Down Expand Up @@ -10791,6 +10794,21 @@
"0x6E3748B753D38e33CC476aF63C9d220Af65b7fc4": {
"name": "GelatoAaveStewardInjectorDiscountRate"
},
"0xb77E872A68C62CfC0dFb02C067Ecc3DA23B4bbf3": {
"name": "TransparentUpgradeableProxy"
},
"0x360d8aa8F6b09B7BC57aF34db2Eb84dD87bf4d12": {
"name": "TransparentUpgradeableProxy"
},
"0xb0e1c7830aA781362f79225559Aa068E6bDaF1d1": {
"name": "GhoOracle"
},
"0x2Ce400703dAcc37b7edFA99D228b8E70a4d3831B": {
"name": "GhoBucketSteward"
},
"0x20fd5f3FCac8883a3A0A2bBcD658A2d2c6EFa6B6": {
"name": "GhoCcipSteward"
},
"0x93B544c330F60A2aa05ceD87aEEffB8D38FD8c9a": {
"name": "PendlePrincipalToken"
},
Expand Down Expand Up @@ -10904,6 +10922,9 @@
},
"0x0A3F8218a98337Ef37dCAE4F8a8cfaB0711C64cF": {
"name": "CLRatePriceCapAdapter"
},
"0x8513e6F37dBc52De87b166980Fa3F50639694B60": {
"name": "SafeProxy"
}
},
"42161": {
Expand Down Expand Up @@ -14124,6 +14145,9 @@
},
"0x47D9b89775958F0b5c7734C5570565Ce575e7e94": {
"name": "InitializableImmutableAdminUpgradeabilityProxy"
},
"0x8513e6F37dBc52De87b166980Fa3F50639694B60": {
"name": "GnosisSafeProxy"
}
},
"59144": {
Expand Down
9 changes: 2 additions & 7 deletions tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -8703,8 +8703,7 @@
"name": "Kraken Wrapped Bitcoin",
"decimals": 8,
"symbol": "kBTC",
"tags": ["underlying"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/kbtc.svg"
"tags": ["underlying"]
},
{
"chainId": 57073,
Expand All @@ -8713,7 +8712,6 @@
"decimals": 8,
"symbol": "aInkWlKBTC",
"tags": ["aTokenV3", "aaveV3"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/akbtc.svg",
"extensions": {
"pool": "0x2816cf15F6d2A220E789aA011D5EE4eB6c47FEbA",
"underlying": "0x73E0C0d45E048D25Fc26Fa3159b0aA04BfA4Db98"
Expand Down Expand Up @@ -8897,8 +8895,7 @@
"name": "XAUt0",
"decimals": 6,
"symbol": "XAUt0",
"tags": ["underlying"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/xaut0.svg"
"tags": ["underlying"]
},
{
"chainId": 9745,
Expand All @@ -8907,7 +8904,6 @@
"decimals": 6,
"symbol": "aPlaXAUt0",
"tags": ["aTokenV3", "aaveV3"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/axaut0.svg",
"extensions": {
"pool": "0x925a2A7214Ed92428B5b1B090F80b25700095e12",
"underlying": "0x1B64B9025EEbb9A6239575dF9Ea4b9Ac46D4d193"
Expand All @@ -8920,7 +8916,6 @@
"decimals": 6,
"symbol": "waPlaXAUt0",
"tags": ["aaveV3", "stataToken"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataxaut0.svg",
"extensions": {
"pool": "0x925a2A7214Ed92428B5b1B090F80b25700095e12",
"underlying": "0x1B64B9025EEbb9A6239575dF9Ea4b9Ac46D4d193",
Expand Down
Loading