"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommonsConfig = void 0;
const ethers_1 = require("ethers");
const constants_1 = require("../../helpers/constants");
const types_1 = require("../../helpers/types");
// ----------------
// PROTOCOL GLOBAL PARAMS
// ----------------
exports.CommonsConfig = {
    MarketId: 'Commons',
    ATokenNamePrefix: 'Vmex interest bearing',
    VariableDebtTokenNamePrefix: 'Vmex variable debt bearing',
    SymbolPrefix: '',
    ProviderId: 0,
    OracleQuoteCurrency: 'USD',
    OracleQuoteDecimals: 8,
    OracleQuoteUnit: ethers_1.ethers.utils.parseUnits("1", 8).toString(),
    ProtocolGlobalParams: {
        TokenDistributorPercentageBase: '10000',
        MockUsdPriceInWei: '5848466240000000',
        UsdAddress: '0x10F7Fc1F91Ba351f9C629c5947AD69bD03C05b96',
        NilAddress: constants_1.ZERO_ADDRESS,
        OneAddress: '0x0000000000000000000000000000000000000001',
        AaveReferral: '0',
    },
    // ----------------
    // COMMON PROTOCOL PARAMS ACROSS POOLS AND NETWORKS
    // ----------------
    Mocks: {
        AllAssetsInitialPrices: {
            ...constants_1.MOCK_CHAINLINK_AGGREGATORS_PRICES,
        },
    },
    // ----------------
    // COMMON PROTOCOL ADDRESSES ACROSS POOLS
    // ----------------
    // If PoolAdmin/emergencyAdmin is set, will take priority over PoolAdminIndex/emergencyAdminIndex
    PoolAdmin: {
        [types_1.eBaseNetwork.base]: "0x464eD76C6B2DdeCC9aa1E990211670a81b93474B",
    },
    PoolAdminIndex: 0,
    EmergencyAdmin: {
        [types_1.eBaseNetwork.base]: "0x839d8c6BDB283B72F7bfbb2efa32eD40855dF95c", //filip's address
    },
    EmergencyAdminIndex: 1,
    GlobalAdminMultisig: {
        [types_1.eBaseNetwork.base]: "0x06408654FDdEaaF341191F56a474659b92F075D1",
    },
    ProviderRegistry: {
        [types_1.eBaseNetwork.base]: "0xEB125b3386322886769f43B7744327B9983A24Da",
    },
    ProviderRegistryOwner: {
        [types_1.eBaseNetwork.base]: "0x464eD76C6B2DdeCC9aa1E990211670a81b93474B",
    },
    LendingPoolAddressesProvider: {
        [types_1.eBaseNetwork.base]: "0xFC2748D74703cf6f2CE8ca9C8F388C3DAB1856f0",
    },
    AssetMappingsImpl: {
        [types_1.eBaseNetwork.base]: "0x4cE76015b2A994A42d4dC4695070c2E6D2c0Ce71",
    },
    AssetMappings: {
        [types_1.eBaseNetwork.base]: "0x48CB441A85d6EA9798C72c4a1829658D786F3027",
    },
    LendingPoolCollateralManager: {
        [types_1.eBaseNetwork.base]: '0x993A082292d55f2F44AA43bE08837199AD6eC169',
    },
    LendingPoolConfigurator: {
        [types_1.eBaseNetwork.base]: '0x47E405ed60cec87cbcc4B21C20b908e6b1ECE49E',
    },
    LendingPool: {
        [types_1.eBaseNetwork.base]: '0x8AA00F73410269e8064fEA966EaE164f4458B9bC',
    },
    WethGateway: {
        [types_1.eBaseNetwork.base]: '0xBE72D961317dD1B59f48f50EE4131C8a7eef1803',
    },
    TokenDistributor: {
        [types_1.eBaseNetwork.base]: '',
    },
    FallbackOracle: {
        [types_1.eBaseNetwork.base]: '0x0c3E4a646363b91b8b956cF5D1fe761521C1E1ff',
    },
    UniswapV3OracleAddresses: {
        [types_1.eBaseNetwork.base]: {},
    },
    UniswapV3OracleTargets: {
        [types_1.eBaseNetwork.base]: {},
    },
    CurveMetadata: {
        [types_1.eBaseNetwork.base]: {},
    },
    BeethovenMetadata: {
        [types_1.eBaseNetwork.base]: {},
    },
    ChainlinkAggregator: {
        [types_1.eBaseNetwork.base]: {
            USDbC: {
                feed: '0x7e860098F58bBFC8648a4311b374B1D669a2bc6B',
                heartbeat: 86400
            },
            WETH: {
                feed: '0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70',
                heartbeat: 86400
            },
            cbETH: {
                feed: '0x80f2c02224a2E548FC67c0bF705eBFA825dd5439',
                heartbeat: 86400
            },
        },
    },
    ReserveAssets: {
        [types_1.eBaseNetwork.base]: {},
    },
    ReservesConfig: {},
    ATokenDomainSeparator: {
        [types_1.eBaseNetwork.base]: '',
    },
    WETH: {
        [types_1.eBaseNetwork.base]: '0x4200000000000000000000000000000000000006',
    },
    WrappedNativeToken: {
        [types_1.eBaseNetwork.base]: '0x4200000000000000000000000000000000000006',
    },
    IncentivesController: {
        [types_1.eBaseNetwork.base]: constants_1.ZERO_ADDRESS,
    },
    VMEXTreasury: {
        [types_1.eBaseNetwork.base]: "0xF0AcEf51a106125E75Bf6C3034Ca818F4B85Dc51",
    },
    VMEXRewardsVault: {
        [types_1.eBaseNetwork.base]: "0x2490C1e1fb9fB680c0Bd95727A9D1Ec2e87C40F3",
    },
    SequencerUptimeFeed: {
        [types_1.eBaseNetwork.base]: "0xBCF85224fc0756B9Fa45aA7892530B47e10b6433"
    },
    RETHOracle: {
        [types_1.eBaseNetwork.base]: ""
    },
    ExternalStakingContracts: {
        [types_1.eBaseNetwork.base]: {
            "vAMM-WETH/USDbC": {
                address: "0xeca7Ff920E7162334634c721133F3183B83B0323",
                type: 2,
            },
            "vAMM-cbETH/WETH": {
                address: "0xDf9D427711CCE46b52fEB6B2a20e4aEaeA12B2b7",
                type: 2,
            },
        },
    }
};
//# sourceMappingURL=commons.js.map