Skip to content

Commit

Permalink
feat: add gnosis chain (#263)
Browse files Browse the repository at this point in the history
* feat: add gnosis chain

* feat: added gnosis gov v3 addresses

* feat: add misc addresses

* feat: add config engine and some helpers

* fix: added misc addresses for gnosis

* fix: updated create3 address

* fix: add gnosis

* chore: rename listing engine to config engine

---------

Co-authored-by: sendra <[email protected]>
Co-authored-by: sakulstra <[email protected]>
  • Loading branch information
3 people authored Oct 24, 2023
1 parent 94f54e1 commit 1063411
Show file tree
Hide file tree
Showing 14 changed files with 285 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/configs/governance/gnosis.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import {GovernanceConfig} from '../types';
import {ChainId} from '../../generator/chains';

export const governanceConfigGnosis: GovernanceConfig = {
name: 'Gnosis',
CHAIN_ID: ChainId.gnosis,
ADDRESSES: {
CROSS_CHAIN_CONTROLLER: '0x8Dc5310fc9D3D7D1Bb3D1F686899c8F082316c9F',
CL_EMERGENCY_ORACLE: '0xF937ffAeA1363e4Fa260760bDFA2aA8Fc911F84D',
PAYLOADS_CONTROLLER: '0x9A1F491B86D09fC1484b5fab10041B189B60756b',
PC_DATA_HELPER: '0xF1c11BE0b4466728DDb7991A0Ac5265646ec9672',
},
};
12 changes: 12 additions & 0 deletions scripts/configs/networks/gnosis.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {ChainId} from '../../generator/chains';
import {NetworkAddresses} from '../types';

export const gnosisAddresses: NetworkAddresses = {
name: 'Gnosis',
chainId: ChainId.gnosis,
addresses: {
TRANSPARENT_PROXY_FACTORY: '0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A',
PROXY_ADMIN: '0xe892E40C92c2E4D281Be59b2E6300F271d824E75',
CREATE_3_FACTORY: '0x2cC41488f4494c5e11cB6cbA82199442B9f495B6',
},
};
23 changes: 23 additions & 0 deletions scripts/configs/pools/gnosis.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import {ChainId} from '../../generator/chains';
import {PoolConfig} from '../types';

export const gnosisProtoV3: PoolConfig = {
name: 'Gnosis',
chainId: ChainId.gnosis,
POOL_ADDRESSES_PROVIDER: '0x36616cf17557639614c1cdDb356b1B83fc0B2132',
additionalAddresses: {
L2_ENCODER: '0xab923C4BD40eab9824C0b86FD8562eEcb933b56a',
CONFIG_ENGINE: '0x3238FC1d642b60F41a35f62570237656C85F4744',
POOL_ADDRESSES_PROVIDER_REGISTRY: '0x1236010CECea55998384e795B59815D871f5f94d',
RATES_FACTORY: '0x73dDE2A75c06a108912bf7Ff600eDdCE9d96Ed25',
UI_INCENTIVE_DATA_PROVIDER: '0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9',
UI_POOL_DATA_PROVIDER: '0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809',
WALLET_BALANCE_PROVIDER: '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D',
},
initial: {
COLLECTOR: '0x3e652E97ff339B73421f824F5b03d75b62F1Fb51',
DEFAULT_A_TOKEN_IMPL: '0x589750BA8aF186cE5B55391B0b7148cAD43a1619',
DEFAULT_VARIABLE_DEBT_TOKEN_IMPL: '0xBeC519531F0E78BcDdB295242fA4EC5251B38574',
DEFAULT_STABLE_DEBT_TOKEN_IMPL: '0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af',
}
};
6 changes: 6 additions & 0 deletions scripts/generateAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
import {fantomProtoV3, fantomTestnetProtoV3} from './configs/pools/fantom';
import {harmonyProtoV3} from './configs/pools/harmony';
import {metisProtoV3} from './configs/pools/metis';
import {gnosisProtoV3} from './configs/pools/gnosis';
import {optimismGoerliProtoV3, optimismProtoV3} from './configs/pools/optimism';
import {
mumbaiProtoV2,
Expand All @@ -42,6 +43,7 @@ import {generateABIImports} from './generator/abis';
import {governanceConfigMetis} from './configs/governance/metis';
import {governanceConfigBase} from './configs/governance/base';
import {governanceConfigBNB} from './configs/governance/bnb';
import {governanceConfigGnosis} from './configs/governance/gnosis';
import {baseAddresses} from './configs/networks/base';
import {generateNetworkAddresses} from './generator/networkGenerator';
import {arbitrumAddresses} from './configs/networks/arbitrum';
Expand All @@ -51,6 +53,7 @@ import {polygonAddresses} from './configs/networks/polygon';
import {fantomAddresses} from './configs/networks/fantom';
import {optimismAddresses} from './configs/networks/optimism';
import {metisAddresses} from './configs/networks/metis';
import {gnosisAddresses} from './configs/networks/gnosis';

async function main() {
// cleanup ts artifacts
Expand All @@ -77,6 +80,7 @@ async function main() {
governanceConfigMetis,
governanceConfigBase,
governanceConfigBNB,
governanceConfigGnosis,
].map((config) => generateGovernanceLibrary(config)),
);
const v2LibraryNames = await Promise.all(
Expand All @@ -102,6 +106,7 @@ async function main() {
fujiProtoV3,
baseProtoV3,
metisProtoV3,
gnosisProtoV3,
arbitrumGoerliProtoV3,
arbitrumProtoV3,
optimismGoerliProtoV3,
Expand All @@ -123,6 +128,7 @@ async function main() {
optimismAddresses,
polygonAddresses,
metisAddresses,
gnosisAddresses,
].map((addresses) => generateNetworkAddresses(addresses));

const govImports = generateGovV2();
Expand Down
1 change: 1 addition & 0 deletions scripts/generator/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ export enum ChainId {
metis = 1088,
base = 8453,
bnb = 56,
gnosis = 100,
}
8 changes: 8 additions & 0 deletions scripts/generator/clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
avalanche,
base,
bsc,
gnosis,
} from 'viem/chains';
import {ChainId} from './chains';

Expand Down Expand Up @@ -165,4 +166,11 @@ export const RPC_PROVIDERS = {
multicall: true,
},
}),
[ChainId.gnosis]: createPublicClient({
chain: gnosis,
transport: http(),
batch: {
multicall: true,
},
}),
} as const;
3 changes: 3 additions & 0 deletions src/AaveAddressBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {GovernanceV3Goerli} from './GovernanceV3Goerli.sol';
import {GovernanceV3Metis} from './GovernanceV3Metis.sol';
import {GovernanceV3Base} from './GovernanceV3Base.sol';
import {GovernanceV3BNB} from './GovernanceV3BNB.sol';
import {GovernanceV3Gnosis} from './GovernanceV3Gnosis.sol';
import {AaveV2EthereumAMM} from './AaveV2EthereumAMM.sol';
import {AaveV2EthereumArc} from './AaveV2EthereumArc.sol';
import {AaveV2Ethereum} from './AaveV2Ethereum.sol';
Expand All @@ -30,6 +31,7 @@ import {AaveV3Avalanche} from './AaveV3Avalanche.sol';
import {AaveV3Fuji} from './AaveV3Fuji.sol';
import {AaveV3Base} from './AaveV3Base.sol';
import {AaveV3Metis} from './AaveV3Metis.sol';
import {AaveV3Gnosis} from './AaveV3Gnosis.sol';
import {AaveV3ArbitrumGoerli} from './AaveV3ArbitrumGoerli.sol';
import {AaveV3Arbitrum} from './AaveV3Arbitrum.sol';
import {AaveV3OptimismGoerli} from './AaveV3OptimismGoerli.sol';
Expand All @@ -47,6 +49,7 @@ import {MiscFantom} from './MiscFantom.sol';
import {MiscOptimism} from './MiscOptimism.sol';
import {MiscPolygon} from './MiscPolygon.sol';
import {MiscMetis} from './MiscMetis.sol';
import {MiscGnosis} from './MiscGnosis.sol';
import {AaveGovernanceV2, IGovernanceStrategy} from './AaveGovernanceV2.sol';
import {AaveGovernanceV2} from './AaveGovernanceV2.sol';
import {AaveGovernanceV2, IGovernanceStrategy} from './AaveGovernanceV2.sol';
Expand Down
83 changes: 83 additions & 0 deletions src/AaveV3Gnosis.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
// 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 AaveV3Gnosis {
// https://blockscout.com/xdai/mainnet/address/0x36616cf17557639614c1cdDb356b1B83fc0B2132
IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER =
IPoolAddressesProvider(0x36616cf17557639614c1cdDb356b1B83fc0B2132);

// https://blockscout.com/xdai/mainnet/address/0xb50201558B00496A145fE76f7424749556E326D8
IPool internal constant POOL = IPool(0xb50201558B00496A145fE76f7424749556E326D8);

// https://blockscout.com/xdai/mainnet/address/0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16
IPoolConfigurator internal constant POOL_CONFIGURATOR =
IPoolConfigurator(0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16);

// https://blockscout.com/xdai/mainnet/address/0xeb0a051be10228213BAEb449db63719d6742F7c4
IAaveOracle internal constant ORACLE = IAaveOracle(0xeb0a051be10228213BAEb449db63719d6742F7c4);

// https://blockscout.com/xdai/mainnet/address/0x0000000000000000000000000000000000000000
address internal constant PRICE_ORACLE_SENTINEL = 0x0000000000000000000000000000000000000000;

// https://blockscout.com/xdai/mainnet/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741
IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IPoolDataProvider(0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741);

// https://blockscout.com/xdai/mainnet/address/0xEc710f59005f48703908bC519D552Df5B8472614
IACLManager internal constant ACL_MANAGER =
IACLManager(0xEc710f59005f48703908bC519D552Df5B8472614);

// https://blockscout.com/xdai/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
address internal constant ACL_ADMIN = 0x1dF462e2712496373A347f8ad10802a5E95f053D;

// https://blockscout.com/xdai/mainnet/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51
ICollector internal constant COLLECTOR = ICollector(0x3e652E97ff339B73421f824F5b03d75b62F1Fb51);

// https://blockscout.com/xdai/mainnet/address/0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d
address internal constant DEFAULT_INCENTIVES_CONTROLLER =
0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d;

// https://blockscout.com/xdai/mainnet/address/0x589750BA8aF186cE5B55391B0b7148cAD43a1619
address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x589750BA8aF186cE5B55391B0b7148cAD43a1619;

// https://blockscout.com/xdai/mainnet/address/0xBeC519531F0E78BcDdB295242fA4EC5251B38574
address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 =
0xBeC519531F0E78BcDdB295242fA4EC5251B38574;

// https://blockscout.com/xdai/mainnet/address/0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af
address internal constant DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 =
0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af;

// https://blockscout.com/xdai/mainnet/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB
address internal constant EMISSION_MANAGER = 0x41585C50524fb8c3899B43D7D797d9486AAc94DB;

// https://blockscout.com/xdai/mainnet/address/0xab923C4BD40eab9824C0b86FD8562eEcb933b56a
address internal constant L2_ENCODER = 0xab923C4BD40eab9824C0b86FD8562eEcb933b56a;

// https://blockscout.com/xdai/mainnet/address/0x3238FC1d642b60F41a35f62570237656C85F4744
address internal constant CONFIG_ENGINE = 0x3238FC1d642b60F41a35f62570237656C85F4744;

// https://blockscout.com/xdai/mainnet/address/0x1236010CECea55998384e795B59815D871f5f94d
address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY =
0x1236010CECea55998384e795B59815D871f5f94d;

// https://blockscout.com/xdai/mainnet/address/0x73dDE2A75c06a108912bf7Ff600eDdCE9d96Ed25
address internal constant RATES_FACTORY = 0x73dDE2A75c06a108912bf7Ff600eDdCE9d96Ed25;

// https://blockscout.com/xdai/mainnet/address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9
address internal constant UI_INCENTIVE_DATA_PROVIDER = 0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9;

// https://blockscout.com/xdai/mainnet/address/0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809
address internal constant UI_POOL_DATA_PROVIDER = 0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809;

// https://blockscout.com/xdai/mainnet/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D
address internal constant WALLET_BALANCE_PROVIDER = 0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D;
}

library AaveV3GnosisAssets {}

library AaveV3GnosisEModes {}
26 changes: 26 additions & 0 deletions src/GovernanceV3Gnosis.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
import {IGovernanceCore, IPayloadsControllerCore, IDataWarehouse, IVotingStrategy} from './GovernanceV3.sol';

library GovernanceV3Gnosis {
// https://blockscout.com/xdai/mainnet/address/0x8Dc5310fc9D3D7D1Bb3D1F686899c8F082316c9F
address internal constant CROSS_CHAIN_CONTROLLER = 0x8Dc5310fc9D3D7D1Bb3D1F686899c8F082316c9F;

// https://blockscout.com/xdai/mainnet/address/0xF937ffAeA1363e4Fa260760bDFA2aA8Fc911F84D
address internal constant CL_EMERGENCY_ORACLE = 0xF937ffAeA1363e4Fa260760bDFA2aA8Fc911F84D;

// https://blockscout.com/xdai/mainnet/address/0x9A1F491B86D09fC1484b5fab10041B189B60756b
IPayloadsControllerCore internal constant PAYLOADS_CONTROLLER =
IPayloadsControllerCore(0x9A1F491B86D09fC1484b5fab10041B189B60756b);

// https://blockscout.com/xdai/mainnet/address/0xF1c11BE0b4466728DDb7991A0Ac5265646ec9672
address internal constant PC_DATA_HELPER = 0xF1c11BE0b4466728DDb7991A0Ac5265646ec9672;

// https://blockscout.com/xdai/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
address internal constant EXECUTOR_LVL_1 = 0x1dF462e2712496373A347f8ad10802a5E95f053D;

// https://blockscout.com/xdai/mainnet/address/0x0000000000000000000000000000000000000000
address internal constant EXECUTOR_LVL_2 = 0x0000000000000000000000000000000000000000;
}
14 changes: 14 additions & 0 deletions src/MiscGnosis.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

library MiscGnosis {
// https://blockscout.com/xdai/mainnet/address/0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A
address internal constant TRANSPARENT_PROXY_FACTORY = 0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A;

// https://blockscout.com/xdai/mainnet/address/0xe892E40C92c2E4D281Be59b2E6300F271d824E75
address internal constant PROXY_ADMIN = 0xe892E40C92c2E4D281Be59b2E6300F271d824E75;

// https://blockscout.com/xdai/mainnet/address/0x2cC41488f4494c5e11cB6cbA82199442B9f495B6
address internal constant CREATE_3_FACTORY = 0x2cC41488f4494c5e11cB6cbA82199442B9f495B6;
}
3 changes: 3 additions & 0 deletions src/ts/AaveAddressBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export * as GovernanceV3Goerli from './GovernanceV3Goerli';
export * as GovernanceV3Metis from './GovernanceV3Metis';
export * as GovernanceV3Base from './GovernanceV3Base';
export * as GovernanceV3BNB from './GovernanceV3BNB';
export * as GovernanceV3Gnosis from './GovernanceV3Gnosis';
export * as AaveV2EthereumAMM from './AaveV2EthereumAMM';
export * as AaveV2EthereumArc from './AaveV2EthereumArc';
export * as AaveV2Ethereum from './AaveV2Ethereum';
Expand All @@ -27,6 +28,7 @@ export * as AaveV3Avalanche from './AaveV3Avalanche';
export * as AaveV3Fuji from './AaveV3Fuji';
export * as AaveV3Base from './AaveV3Base';
export * as AaveV3Metis from './AaveV3Metis';
export * as AaveV3Gnosis from './AaveV3Gnosis';
export * as AaveV3ArbitrumGoerli from './AaveV3ArbitrumGoerli';
export * as AaveV3Arbitrum from './AaveV3Arbitrum';
export * as AaveV3OptimismGoerli from './AaveV3OptimismGoerli';
Expand All @@ -44,6 +46,7 @@ export * as MiscFantom from './MiscFantom';
export * as MiscOptimism from './MiscOptimism';
export * as MiscPolygon from './MiscPolygon';
export * as MiscMetis from './MiscMetis';
export * as MiscGnosis from './MiscGnosis';
export * as AaveGovernanceV2 from './AaveGovernanceV2';
export * as AaveSafetyModule from './AaveSafetyModule';
export {IAaveGovernanceV2_ABI} from './abis/IAaveGovernanceV2';
Expand Down
67 changes: 67 additions & 0 deletions src/ts/AaveV3Gnosis.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// IPoolAddressesProvider https://blockscout.com/xdai/mainnet/address/0x36616cf17557639614c1cdDb356b1B83fc0B2132
export const POOL_ADDRESSES_PROVIDER = '0x36616cf17557639614c1cdDb356b1B83fc0B2132';

// IPool https://blockscout.com/xdai/mainnet/address/0xb50201558B00496A145fE76f7424749556E326D8
export const POOL = '0xb50201558B00496A145fE76f7424749556E326D8';

// IPoolConfigurator https://blockscout.com/xdai/mainnet/address/0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16
export const POOL_CONFIGURATOR = '0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16';

// IAaveOracle https://blockscout.com/xdai/mainnet/address/0xeb0a051be10228213BAEb449db63719d6742F7c4
export const ORACLE = '0xeb0a051be10228213BAEb449db63719d6742F7c4';

// https://blockscout.com/xdai/mainnet/address/0x0000000000000000000000000000000000000000
export const PRICE_ORACLE_SENTINEL = '0x0000000000000000000000000000000000000000';

// IPoolDataProvider https://blockscout.com/xdai/mainnet/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741';

// IACLManager https://blockscout.com/xdai/mainnet/address/0xEc710f59005f48703908bC519D552Df5B8472614
export const ACL_MANAGER = '0xEc710f59005f48703908bC519D552Df5B8472614';

// https://blockscout.com/xdai/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
export const ACL_ADMIN = '0x1dF462e2712496373A347f8ad10802a5E95f053D';

// ICollector https://blockscout.com/xdai/mainnet/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51
export const COLLECTOR = '0x3e652E97ff339B73421f824F5b03d75b62F1Fb51';

// https://blockscout.com/xdai/mainnet/address/0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d
export const DEFAULT_INCENTIVES_CONTROLLER = '0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d';

// https://blockscout.com/xdai/mainnet/address/0x589750BA8aF186cE5B55391B0b7148cAD43a1619
export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x589750BA8aF186cE5B55391B0b7148cAD43a1619';

// https://blockscout.com/xdai/mainnet/address/0xBeC519531F0E78BcDdB295242fA4EC5251B38574
export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0xBeC519531F0E78BcDdB295242fA4EC5251B38574';

// https://blockscout.com/xdai/mainnet/address/0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af
export const DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 = '0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af';

// https://blockscout.com/xdai/mainnet/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB
export const EMISSION_MANAGER = '0x41585C50524fb8c3899B43D7D797d9486AAc94DB';

// https://blockscout.com/xdai/mainnet/address/0xab923C4BD40eab9824C0b86FD8562eEcb933b56a
export const L2_ENCODER = '0xab923C4BD40eab9824C0b86FD8562eEcb933b56a';

// https://blockscout.com/xdai/mainnet/address/0x3238FC1d642b60F41a35f62570237656C85F4744
export const CONFIG_ENGINE = '0x3238FC1d642b60F41a35f62570237656C85F4744';

// https://blockscout.com/xdai/mainnet/address/0x1236010CECea55998384e795B59815D871f5f94d
export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x1236010CECea55998384e795B59815D871f5f94d';

// https://blockscout.com/xdai/mainnet/address/0x73dDE2A75c06a108912bf7Ff600eDdCE9d96Ed25
export const RATES_FACTORY = '0x73dDE2A75c06a108912bf7Ff600eDdCE9d96Ed25';

// https://blockscout.com/xdai/mainnet/address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9
export const UI_INCENTIVE_DATA_PROVIDER = '0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9';

// https://blockscout.com/xdai/mainnet/address/0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809
export const UI_POOL_DATA_PROVIDER = '0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809';

// https://blockscout.com/xdai/mainnet/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D
export const WALLET_BALANCE_PROVIDER = '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D';

export const CHAIN_ID = 100;
export const ASSETS = {} as const;
export const E_MODES = {} as const;
17 changes: 17 additions & 0 deletions src/ts/GovernanceV3Gnosis.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// https://blockscout.com/xdai/mainnet/address/0x8Dc5310fc9D3D7D1Bb3D1F686899c8F082316c9F
export const CROSS_CHAIN_CONTROLLER = '0x8Dc5310fc9D3D7D1Bb3D1F686899c8F082316c9F';

// https://blockscout.com/xdai/mainnet/address/0xF937ffAeA1363e4Fa260760bDFA2aA8Fc911F84D
export const CL_EMERGENCY_ORACLE = '0xF937ffAeA1363e4Fa260760bDFA2aA8Fc911F84D';

// IPayloadsControllerCore https://blockscout.com/xdai/mainnet/address/0x9A1F491B86D09fC1484b5fab10041B189B60756b
export const PAYLOADS_CONTROLLER = '0x9A1F491B86D09fC1484b5fab10041B189B60756b';

// https://blockscout.com/xdai/mainnet/address/0xF1c11BE0b4466728DDb7991A0Ac5265646ec9672
export const PC_DATA_HELPER = '0xF1c11BE0b4466728DDb7991A0Ac5265646ec9672';

// https://blockscout.com/xdai/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
export const EXECUTOR_LVL_1 = '0x1dF462e2712496373A347f8ad10802a5E95f053D';

// https://blockscout.com/xdai/mainnet/address/0x0000000000000000000000000000000000000000
export const EXECUTOR_LVL_2 = '0x0000000000000000000000000000000000000000';
9 changes: 9 additions & 0 deletions src/ts/MiscGnosis.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// https://blockscout.com/xdai/mainnet/address/0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A
export const TRANSPARENT_PROXY_FACTORY = '0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A';

// https://blockscout.com/xdai/mainnet/address/0xe892E40C92c2E4D281Be59b2E6300F271d824E75
export const PROXY_ADMIN = '0xe892E40C92c2E4D281Be59b2E6300F271d824E75';

// https://blockscout.com/xdai/mainnet/address/0x2cC41488f4494c5e11cB6cbA82199442B9f495B6
export const CREATE_3_FACTORY = '0x2cC41488f4494c5e11cB6cbA82199442B9f495B6';

0 comments on commit 1063411

Please sign in to comment.