diff --git a/scripts/orium-marketplace-royalties/01-deploy.ts b/scripts/orium-marketplace-royalties/01-deploy.ts index 5d7537e..f4f2242 100644 --- a/scripts/orium-marketplace-royalties/01-deploy.ts +++ b/scripts/orium-marketplace-royalties/01-deploy.ts @@ -5,16 +5,11 @@ import { AddressZero, THREE_MONTHS } from '../../utils/constants' import { deployUpgradeableContract } from '../../utils/deploy-upgradeable' const NETWORK = network.name as Network -const { KMSDeployer, ERC7432WrapperForERC4907 } = addresses[NETWORK] +const { KMSDeployer } = addresses[NETWORK] const CONTRACT_NAME = 'OriumMarketplaceRoyalties' const OPERATOR_ADDRESS = KMSDeployer.address -const INITIALIZER_ARGUMENTS: string[] = [ - OPERATOR_ADDRESS, - ERC7432WrapperForERC4907.address, - AddressZero, - THREE_MONTHS.toString(), -] +const INITIALIZER_ARGUMENTS: string[] = [OPERATOR_ADDRESS, AddressZero, AddressZero, THREE_MONTHS.toString()] async function main() { await deployUpgradeableContract(CONTRACT_NAME, OPERATOR_ADDRESS, INITIALIZER_ARGUMENTS) diff --git a/utils/ethers-aws-kms-signer.ts b/utils/ethers-aws-kms-signer.ts index 0ce0f13..325dab4 100644 --- a/utils/ethers-aws-kms-signer.ts +++ b/utils/ethers-aws-kms-signer.ts @@ -1,3 +1,4 @@ +// Source: https://github.com/0xcuonghx/ethers-kms-signer/blob/main/packages/ethers-aws-kms-signer/src/aws-kms-signer.ts import { GetPublicKeyCommand, KMSClient, SignCommand } from '@aws-sdk/client-kms' import { ECDSASigValue } from '@peculiar/asn1-ecc' import { AsnConvert } from '@peculiar/asn1-schema'