import { artifacts, deployScript } from '@rocketh';
export default deployScript(async ({ deploy, namedAccounts, network }) => {
    const { deployer } = namedAccounts;
    await deploy('RSASHA1Algorithm', {
        account: deployer,
        artifact: artifacts.RSASHA1Algorithm,
        args: [],
    });
    await deploy('RSASHA256Algorithm', {
        account: deployer,
        artifact: artifacts.RSASHA256Algorithm,
        args: [],
    });
    await deploy('P256SHA256Algorithm', {
        account: deployer,
        artifact: artifacts.P256SHA256Algorithm,
        args: [],
    });
    if (network.tags?.test) {
        await deploy('DummyAlgorithm', {
            account: deployer,
            artifact: artifacts.DummyAlgorithm,
            args: [],
        });
    }
}, {
    id: 'dnssec-algorithms v1.0.0',
    tags: [
        'category:dnssec-oracle',
        'dnssec-algorithms',
        'RSASHA1Algorithm',
        'RSASHA256Algorithm',
        'P256SHA256Algorithm',
        'DummyAlgorithm',
    ],
    dependencies: [],
});
