Skip to content

Commit

Permalink
feat: add arbitrum sepolia and sepolia chains
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lahaye <[email protected]>
  • Loading branch information
ChrisLahaye committed Feb 1, 2024
1 parent caa6ba2 commit a846f05
Show file tree
Hide file tree
Showing 17 changed files with 5,229 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/arbitrum-sepolia/AccessRegistry.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { deployFunction } from "../../services/AccessRegistry";

export default deployFunction([
{ role: 'TRUSTED_CLAIMER_ROLE', account: '0x69aFB95996970D07eFBCb46Bdc16223fac18FB84', grant: true },
{ role: 'TRUSTED_OPERATOR_ROLE', account: '0x69aFB95996970D07eFBCb46Bdc16223fac18FB84', grant: true },
]);
16 changes: 16 additions & 0 deletions deploy/arbitrum-sepolia/ERC721LemonadeV1.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { DeployFunction } from 'hardhat-deploy/types';

const ERC721_NAME = 'Non-Fungible Lemon';
const ERC721_SYMBOL = 'NFL';

const deployFunction: DeployFunction = async function ({ deployments: { deploy }, getNamedAccounts }) {
const { deployer: from } = await getNamedAccounts();

await deploy('ERC721LemonadeV1', {
args: [ERC721_NAME, ERC721_SYMBOL],
from,
log: true,
});
};

export default deployFunction;
16 changes: 16 additions & 0 deletions deploy/arbitrum-sepolia/LemonadeMarketplaceV2.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { DeployFunction } from 'hardhat-deploy/types';

const FEE_ACCOUNT = '0xFB756b44060e426731e54e9F433c43c75ee90d9f';
const FEE_VALUE = '200';

const deployFunction: DeployFunction = async function ({ deployments: { deploy }, getNamedAccounts }) {
const { deployer: from } = await getNamedAccounts();

await deploy('LemonadeMarketplaceV2', {
args: [FEE_ACCOUNT, FEE_VALUE],
from,
log: true,
});
};

export default deployFunction;
16 changes: 16 additions & 0 deletions deploy/sepolia/ERC721LemonadeV1.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { DeployFunction } from 'hardhat-deploy/types';

const ERC721_NAME = 'Non-Fungible Lemon';
const ERC721_SYMBOL = 'NFL';

const deployFunction: DeployFunction = async function ({ deployments: { deploy }, getNamedAccounts }) {
const { deployer: from } = await getNamedAccounts();

await deploy('ERC721LemonadeV1', {
args: [ERC721_NAME, ERC721_SYMBOL],
from,
log: true,
});
};

export default deployFunction;
16 changes: 16 additions & 0 deletions deploy/sepolia/LemonadeMarketplaceV2.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { DeployFunction } from 'hardhat-deploy/types';

const FEE_ACCOUNT = '0xFB756b44060e426731e54e9F433c43c75ee90d9f';
const FEE_VALUE = '200';

const deployFunction: DeployFunction = async function ({ deployments: { deploy }, getNamedAccounts }) {
const { deployer: from } = await getNamedAccounts();

await deploy('LemonadeMarketplaceV2', {
args: [FEE_ACCOUNT, FEE_VALUE],
from,
log: true,
});
};

export default deployFunction;
1 change: 1 addition & 0 deletions deployments/arbitrum-sepolia/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
421614
467 changes: 467 additions & 0 deletions deployments/arbitrum-sepolia/AccessRegistry.json

Large diffs are not rendered by default.

Loading

0 comments on commit a846f05

Please sign in to comment.