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>

40 lines 2.74 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MAX_VALID_TO_EPOCH = exports.BARN_ETH_FLOW_ADDRESSES = exports.ETH_FLOW_ADDRESSES = exports.BARN_ETH_FLOW_ADDRESS = exports.ETH_FLOW_ADDRESS = exports.COMPOSABLE_COW_CONTRACT_ADDRESS = exports.EXTENSIBLE_FALLBACK_HANDLER_CONTRACT_ADDRESS = exports.COW_PROTOCOL_VAULT_RELAYER_ADDRESS = exports.COW_PROTOCOL_SETTLEMENT_CONTRACT_ADDRESS = exports.COW_SHED_IMPLEMENTATION = exports.COW_SHED_FACTORY = exports.COMPOSABLE_COW = exports.EXTENSIBLE_FALLBACK_HANDLER = exports.ETH_ADDRESS = void 0; const config_1 = require("../utils/config.js"); exports.ETH_ADDRESS = '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'; exports.EXTENSIBLE_FALLBACK_HANDLER = '0x2f55e8b20D0B9FEFA187AA7d00B6Cbe563605bF5'; exports.COMPOSABLE_COW = '0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74'; exports.COW_SHED_FACTORY = '0x00E989b87700514118Fa55326CD1cCE82faebEF6'; exports.COW_SHED_IMPLEMENTATION = '0x2CFFA8cf11B90C9F437567b86352169dF4009F73'; const VAULT_RELAYER = '0xC92E8bdf79f0507f65a392b0ab4667716BFE0110'; const SETTLEMENT_CONTRACT = '0x9008D19f58AAbD9eD0D60971565AA8510560ab41'; /** * An object containing the addresses of the CoW Protocol settlement contracts for each supported chain. */ exports.COW_PROTOCOL_SETTLEMENT_CONTRACT_ADDRESS = (0, config_1.mapAddressToSupportedNetworks)(SETTLEMENT_CONTRACT); /** * An object containing the addresses of the CoW Protocol Vault realyer contracts for each supported chain. */ exports.COW_PROTOCOL_VAULT_RELAYER_ADDRESS = (0, config_1.mapAddressToSupportedNetworks)(VAULT_RELAYER); /** * An object containing the addresses of the `ExtensibleFallbackHandler` contracts for each supported chain. */ exports.EXTENSIBLE_FALLBACK_HANDLER_CONTRACT_ADDRESS = (0, config_1.mapAddressToSupportedNetworks)(exports.EXTENSIBLE_FALLBACK_HANDLER); /** * An object containing the addresses of the `ComposableCow` contracts for each supported chain. */ exports.COMPOSABLE_COW_CONTRACT_ADDRESS = (0, config_1.mapAddressToSupportedNetworks)(exports.COMPOSABLE_COW); exports.ETH_FLOW_ADDRESS = '0xba3cb449bd2b4adddbc894d8697f5170800eadec'; exports.BARN_ETH_FLOW_ADDRESS = '0x04501b9b1d52e67f6862d157e00d13419d2d6e95'; /** * An object containing the addresses of ETH flow contracts for each supported chain. * @deprecated use ETH_FLOW_ADDRESS instead */ exports.ETH_FLOW_ADDRESSES = (0, config_1.mapAddressToSupportedNetworks)(exports.ETH_FLOW_ADDRESS); /** * @deprecated use BARN_ETH_FLOW_ADDRESS instead */ exports.BARN_ETH_FLOW_ADDRESSES = (0, config_1.mapAddressToSupportedNetworks)(exports.BARN_ETH_FLOW_ADDRESS); exports.MAX_VALID_TO_EPOCH = 4294967295; // Max uint32 (Feb 07 2106 07:28:15 GMT+0100) //# sourceMappingURL=contracts.js.map