UNPKG

@hypernetlabs/objects

Version:
45 lines 2.86 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GovernanceChainInformation = exports.ChainInformation = void 0; class ChainInformation { constructor(name, chainId, hasGovernance, isDev, channelFactoryAddress, transferRegistryAddress, hypertokenAddress, messageTransferAddress, insuranceTransferAddress, parameterizedTransferAddress, hypernetGovernorAddress, registryFactoryAddress, registryNames, registryModulesNames, providerUrls) { this.name = name; this.chainId = chainId; this.hasGovernance = hasGovernance; this.isDev = isDev; this.channelFactoryAddress = channelFactoryAddress; this.transferRegistryAddress = transferRegistryAddress; this.hypertokenAddress = hypertokenAddress; this.messageTransferAddress = messageTransferAddress; this.insuranceTransferAddress = insuranceTransferAddress; this.parameterizedTransferAddress = parameterizedTransferAddress; this.hypernetGovernorAddress = hypernetGovernorAddress; this.registryFactoryAddress = registryFactoryAddress; this.registryNames = registryNames; this.registryModulesNames = registryModulesNames; this.providerUrls = providerUrls; } } exports.ChainInformation = ChainInformation; class GovernanceChainInformation extends ChainInformation { constructor(name, chainId, hasGovernance, isDev, channelFactoryAddress, transferRegistryAddress, hypertokenAddress, messageTransferAddress, insuranceTransferAddress, parameterizedTransferAddress, hypernetGovernorAddress, registryFactoryAddress, registryNames, registryModulesNames, providerUrls) { super(name, chainId, hasGovernance, isDev, channelFactoryAddress, transferRegistryAddress, hypertokenAddress, messageTransferAddress, insuranceTransferAddress, parameterizedTransferAddress, hypernetGovernorAddress, registryFactoryAddress, registryNames, registryModulesNames, providerUrls); this.name = name; this.chainId = chainId; this.hasGovernance = hasGovernance; this.isDev = isDev; this.channelFactoryAddress = channelFactoryAddress; this.transferRegistryAddress = transferRegistryAddress; this.hypertokenAddress = hypertokenAddress; this.messageTransferAddress = messageTransferAddress; this.insuranceTransferAddress = insuranceTransferAddress; this.parameterizedTransferAddress = parameterizedTransferAddress; this.hypernetGovernorAddress = hypernetGovernorAddress; this.registryFactoryAddress = registryFactoryAddress; this.registryNames = registryNames; this.registryModulesNames = registryModulesNames; this.providerUrls = providerUrls; } } exports.GovernanceChainInformation = GovernanceChainInformation; //# sourceMappingURL=ChainInformation.js.map