import { IBlockchainNetwork } from '../../'
import * as CONTRACTS from './contracts'

export const SUPPORTED_BLOCKCHAIN_NETWORKS: () => {
	[key: string]: IBlockchainNetwork
} = () => {
	return {
		/*
		hardhat: {
			name: 'hardhat',
			contracts: {
				v4: {
					name: 'v4',
					recipe: CONTRACTS.IxilyActivV4_HardhatDemo,
				},
			},
			errorKeywords: {
				tooFewGasUnits: [
					'Transaction requires at least',
					'gas but got',
				],
				tooMuchGasUnits: [],
			},
		},
		*/
		amoy: {
			name: 'amoy',
			contracts: {
				v4: {
					name: 'v4',
					recipe: CONTRACTS.IxilyActivV4_Amoy,
				},
			},
			errorKeywords: {
				tooFewGasUnits: [
					'insufficient funds for intrinsic transaction cost',
				],
				tooMuchGasUnits: [],
			},
		},
		polygon: {
			name: 'polygon',
			contracts: {
				v4: {
					name: 'v4',
					recipe: CONTRACTS.IxilyActivV4_Polygon_Production,
				},
			},
			errorKeywords: {
				tooFewGasUnits: [
					'insufficient funds for intrinsic transaction cost',
				],
				tooMuchGasUnits: [],
			},
		},
	}
}
