Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ export const ERC721CV2_EMPTY_LIST = 4;
// Mainnet, Polygon, Base
export const ERC721CMRoyaltiesCloneFactoryContract = '0x7cEEd7215D71393d56966dA48C5727851326e101';

export const RESERVOIR_RELAYER_EOA = '0xf70da97812CB96acDF810712Aa562db8dfA3dbEF';
export const RESERVOIR_RELAYER_MUTLICALLER = '0xb90ed4c123843cbFD66b11411Ee7694eF37E6E72';
4 changes: 2 additions & 2 deletions scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { confirm } from '@inquirer/prompts';
import { HardhatRuntimeEnvironment } from 'hardhat/types';
import { ContractDetails, RESERVOIR_RELAYER_EOA } from './common/constants';
import { ContractDetails, RESERVOIR_RELAYER_MUTLICALLER } from './common/constants';
import { checkCodeVersion, estimateGas } from './utils/helper';
import { Overrides } from 'ethers';

Expand Down Expand Up @@ -140,6 +140,6 @@ export const deploy = async (
);

const erc721cm = ERC721CM.attach(contract.address);
await erc721cm.addAuthorizedMinter(RESERVOIR_RELAYER_EOA);
await erc721cm.addAuthorizedMinter(RESERVOIR_RELAYER_MUTLICALLER);
console.log('[ERC721CM] Added Reservoir Relayer as authorized minter');
};
4 changes: 2 additions & 2 deletions scripts/deploy1155.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { confirm } from '@inquirer/prompts';
import { HardhatRuntimeEnvironment } from 'hardhat/types';
import { ContractDetails, RESERVOIR_RELAYER_EOA } from './common/constants';
import { ContractDetails, RESERVOIR_RELAYER_MUTLICALLER } from './common/constants';
import { checkCodeVersion, estimateGas } from './utils/helper';
import { Overrides } from 'ethers';

Expand Down Expand Up @@ -103,6 +103,6 @@ export const deploy1155 = async (
);

// Add reservoir relay as authorized minter by default
await contract.addAuthorizedMinter(RESERVOIR_RELAYER_EOA);
await contract.addAuthorizedMinter(RESERVOIR_RELAYER_MUTLICALLER);
console.log('[ERC721CM] Added Reservoir Relayer as authorized minter');
};