UNPKG

gotake-contracts

Version:

TypeChain generated types and ABIs for GoTake contracts

45 lines (44 loc) 1.68 kB
"use strict"; // Generated contract addresses constants // This file is auto-generated, do not edit manually Object.defineProperty(exports, "__esModule", { value: true }); exports.CONTRACT_ADDRESSES = void 0; exports.getContractAddress = getContractAddress; exports.getNetworkConfig = getNetworkConfig; exports.getAllNetworks = getAllNetworks; exports.getChainId = getChainId; exports.CONTRACT_ADDRESSES = { "base_sepolia": { "name": "Base Sepolia", "rpc": "https://sepolia.base.org", "chainId": 84532, "contracts": { "registry": "0x5ADFd82Adb84edCcD7e8b3d711D21E1dc08e2853", "accountImplementation": "0x8fF83B51484c9eBA2115fF61a42a0d22FF53537f", "ipnft": "0x17001aE476AF94aCd06cF708b4678602e4b7551e", "sampleTBA": "0xd2Cc2F9f89F1347B9AD10a3fFa6AD1587B5404F1", "entryPoint": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "videoPayment": "0x55F0d265eaFe039618C2f179667a03fA035C6e6B" }, "tokens": { "name": "Base Sepolia ETH", "symbol": "ETH", "decimals": 18 } } }; // Helper functions for accessing addresses function getContractAddress(network, contractName) { var _a; return (_a = exports.CONTRACT_ADDRESSES[network]) === null || _a === void 0 ? void 0 : _a.contracts[contractName]; } function getNetworkConfig(network) { return exports.CONTRACT_ADDRESSES[network]; } function getAllNetworks() { return Object.keys(exports.CONTRACT_ADDRESSES); } function getChainId(network) { var _a; return (_a = exports.CONTRACT_ADDRESSES[network]) === null || _a === void 0 ? void 0 : _a.chainId; }