UNPKG

@f5i23q999d/cow-sdk

Version:

<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>

27 lines 1.36 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AdditionalTargetChainId = exports.SupportedChainId = void 0; /** * Supported chains and their `chainId` for the SDK. * * A supported chain, is a chain where CoW Protocol is deployed, so you can sell tokens from there. * * @enum */ var SupportedChainId; (function (SupportedChainId) { SupportedChainId[SupportedChainId["MAINNET"] = 1] = "MAINNET"; SupportedChainId[SupportedChainId["GNOSIS_CHAIN"] = 100] = "GNOSIS_CHAIN"; SupportedChainId[SupportedChainId["ARBITRUM_ONE"] = 42161] = "ARBITRUM_ONE"; SupportedChainId[SupportedChainId["BASE"] = 8453] = "BASE"; SupportedChainId[SupportedChainId["SEPOLIA"] = 11155111] = "SEPOLIA"; })(SupportedChainId = exports.SupportedChainId || (exports.SupportedChainId = {})); /** * Chains where you can buy tokens using the bridge functionality. This enum contains chains that are not already included in the SupportedChainId enum. */ var AdditionalTargetChainId; (function (AdditionalTargetChainId) { AdditionalTargetChainId[AdditionalTargetChainId["POLYGON"] = 137] = "POLYGON"; AdditionalTargetChainId[AdditionalTargetChainId["OPTIMISM"] = 10] = "OPTIMISM"; })(AdditionalTargetChainId = exports.AdditionalTargetChainId || (exports.AdditionalTargetChainId = {})); //# sourceMappingURL=types.js.map