"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mockCurrencyIds = exports.mockCurrenciesByProvider = exports.getTokenOrCryptoCurrencyById = exports.findCryptoCurrencyById = exports.maticBsc = exports.maticEth = exports.usdcToken = exports.arbitrumToken = exports.mockBscCryptoCurrency = exports.mockInjectiveCryptoCurrency = exports.mockScrollCryptoCurrency = exports.mockBaseCryptoCurrency = exports.mockArbitrumCryptoCurrency = exports.mockEthCryptoCurrency = exports.mockBtcCryptoCurrency = void 0;
const currencies_1 = require("../../currencies");
exports.mockBtcCryptoCurrency = (0, currencies_1.getCryptoCurrencyById)("bitcoin");
exports.mockEthCryptoCurrency = (0, currencies_1.getCryptoCurrencyById)("ethereum");
exports.mockArbitrumCryptoCurrency = (0, currencies_1.getCryptoCurrencyById)("arbitrum");
exports.mockBaseCryptoCurrency = (0, currencies_1.getCryptoCurrencyById)("base");
exports.mockScrollCryptoCurrency = (0, currencies_1.getCryptoCurrencyById)("scroll");
exports.mockInjectiveCryptoCurrency = (0, currencies_1.getCryptoCurrencyById)("injective");
exports.mockBscCryptoCurrency = (0, currencies_1.getCryptoCurrencyById)("bsc");
exports.arbitrumToken = {
    type: "TokenCurrency",
    id: "arbitrum/erc20/arbitrum",
    contractAddress: "0x912CE59144191C1204E64559FE8253a0e49E6548",
    parentCurrency: exports.mockArbitrumCryptoCurrency,
    tokenType: "erc20",
    name: "Arbitrum",
    ticker: "ARB",
    units: [
        {
            name: "Arbitrum",
            code: "ARB",
            magnitude: 18,
        },
    ],
};
exports.usdcToken = {
    type: "TokenCurrency",
    id: "ethereum/erc20/usd__coin",
    contractAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    parentCurrency: exports.mockEthCryptoCurrency,
    tokenType: "erc20",
    name: "USD Coin",
    ticker: "USDC",
    units: [
        {
            name: "USD Coin",
            code: "USDC",
            magnitude: 6,
        },
    ],
};
exports.maticEth = {
    type: "TokenCurrency",
    id: "ethereum/erc20/matic",
    ledgerSignature: "",
    contractAddress: "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",
    parentCurrency: exports.mockEthCryptoCurrency,
    tokenType: "erc20",
    name: "Matic",
    ticker: "MATIC",
    delisted: false,
    disableCountervalue: false,
    units: [
        {
            name: "Matic",
            code: "MATIC",
            magnitude: 18,
        },
    ],
};
exports.maticBsc = {
    type: "TokenCurrency",
    id: "bsc/bep20/matic_token",
    ledgerSignature: "",
    contractAddress: "0xCC42724C6683B7E57334c4E856f4c9965ED682bD",
    parentCurrency: exports.mockBscCryptoCurrency,
    tokenType: "bep20",
    name: "Matic Token",
    ticker: "MATIC",
    delisted: false,
    disableCountervalue: false,
    units: [
        {
            name: "Matic Token",
            code: "MATIC",
            magnitude: 18,
        },
    ],
};
const findCryptoCurrencyById = (id) => [exports.mockBtcCryptoCurrency, exports.mockEthCryptoCurrency, exports.mockArbitrumCryptoCurrency].find(a => a.id === id);
exports.findCryptoCurrencyById = findCryptoCurrencyById;
const getTokenOrCryptoCurrencyById = async (id) => [
    exports.mockBtcCryptoCurrency,
    exports.mockEthCryptoCurrency,
    exports.mockArbitrumCryptoCurrency,
    exports.arbitrumToken,
    exports.usdcToken,
].find(a => a.id === id);
exports.getTokenOrCryptoCurrencyById = getTokenOrCryptoCurrencyById;
exports.mockCurrenciesByProvider = [
    {
        providerId: "ethereum",
        currenciesByNetwork: [exports.mockEthCryptoCurrency],
    },
];
exports.mockCurrencyIds = ["bitcoin", "ethereum", "arbitrum", "base"];
//# sourceMappingURL=currencies.mock.js.map