"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const __1 = require("..");
const EVMVerificationPeer_1 = require("../,,/../../providers/chain-state/evm/p2p/EVMVerificationPeer");
const csp_1 = require("./api/csp");
const eth_routes_1 = require("./api/eth-routes");
const p2p_1 = require("./p2p/p2p");
class ETHModule extends __1.BaseModule {
    constructor(services, chain, network, _config) {
        super(services);
        services.P2P.register(chain, network, p2p_1.EthP2pWorker);
        services.CSP.registerService(chain, network, new csp_1.ETHStateProvider());
        services.Api.app.use(eth_routes_1.EthRoutes);
        services.Verification.register(chain, network, EVMVerificationPeer_1.EVMVerificationPeer);
    }
}
exports.default = ETHModule;
//# sourceMappingURL=index.js.map