Skip to content

Commit

Permalink
chore: deployed polygon network
Browse files Browse the repository at this point in the history
  • Loading branch information
kostyamospan committed Jun 2, 2024
1 parent c56fe07 commit ec3c4db
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ignition/deployments/chain-137/deployed_addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"TestERC721#TestERC721": "0x663cb1fc4604a7f958dda49d964bbd1b526e6b3a",
"SmartWalletV1#SmartWalletV1": "0x360c179c809122dddfa0fb584b5433f0dbddb4cd",
"SmartWalletFactoryV1#SmartWalletFactoryV1": "0x4442c3302524899acf23c971afba39710925df77",
"NftRent#NftRent": "0x3265b195cc42afefcb58297c4e9edbeff6ec05f8"
}
2 changes: 2 additions & 0 deletions ignition/deployments/chain-137/journal.jsonl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

{"chainId":137,"type":"DEPLOYMENT_INITIALIZE"}
9 changes: 9 additions & 0 deletions scripts/deploy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import hre from 'hardhat';

export const deploy = async () => {
const f = await hre.viem.deployContract('SmartWalletV1', []);

console.log(f.address);
};

deploy();
23 changes: 23 additions & 0 deletions scripts/deploy_factory.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import hre from 'hardhat';

export const deploy = async () => {
const f = await hre.viem.deployContract('SmartWalletFactoryV1', [
{
clRegistrar: '0x0Bc5EDC7219D272d9dEDd919CE2b4726129AC02B',
clRegistry: '0x08a8eea76D2395807Ce7D1FC942382515469cCA1',
uniswapV3Router: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
wethToken: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270',
linkToken: '0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39',
linkTokenNative: '0xb0897686c545045afc77cf20ec7a532e3120e0f1',
linkTokenPegSwap: '0xAA1DC356dc4B18f30C347798FD5379F3D77ABC5b',
linkFeePerExecution: '1500000000000000000',
wethToLinkSwapPath:
'0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39000bb80d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
},
'0x360c179c809122dddfa0fb584b5433f0dbddb4cd',
]);

console.log(f.address);
};

deploy();
11 changes: 11 additions & 0 deletions scripts/deploy_nftrent.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import hre from 'hardhat';

export const deploy = async () => {
const f = await hre.viem.deployContract('NftRent', [
'0x4442c3302524899acf23c971afba39710925df77',
]);

console.log(f.address);
};

deploy();
13 changes: 13 additions & 0 deletions scripts/deploy_test721.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import hre from 'hardhat';

export const deploy = async () => {
const f = await hre.viem.deployContract('TestERC721', [
'Test 721',
'NTT',
'test-metadata',
]);

console.log(f.address);
};

deploy();

0 comments on commit ec3c4db

Please sign in to comment.