@@ -19,7 +19,7 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId }) => {
1919 const { deployer } = await getNamedAccounts ( ) ;
2020 const chainId = await getChainId ( ) ;
2121
22- await deploy ( "AVAXGods " , {
22+ await deploy ( "ScaffoldGods " , {
2323 // Learn more about args here: https://www.npmjs.com/package/hardhat-deploy#deploymentsdeploy
2424 from : deployer ,
2525 args : [ _metadataUri ] ,
@@ -28,17 +28,14 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId }) => {
2828 } ) ;
2929
3030 // Getting a previously deployed contract
31- const AVAXGods = await ethers . getContract ( "AVAXGods" , deployer ) ;
32- /* await AVAXGods.setPurpose("Hello");
33-
34- // To take ownership of AVAXGods using the ownable library uncomment next line and add the
35- // address you want to be the owner.
31+ const scaffoldGods = await ethers . getContract ( "ScaffoldGods" , deployer ) ;
32+ /*
3633
37- await AVAXGods .transferOwnership(
34+ await scaffoldGods .transferOwnership(
3835 "ADDRESS_HERE"
3936 );
4037
41- //const AVAXGods = await ethers.getContractAt('AVAXGods ', "0xaAC799eC2d00C013f1F11c37E654e59B0429DF6A") //<-- if you want to instantiate a version of a contract at a specific address!
38+ //const ScaffoldGods = await ethers.getContractAt('ScaffoldGods ', "0xaAC799eC2d00C013f1F11c37E654e59B0429DF6A") //<-- if you want to instantiate a version of a contract at a specific address!
4239 */
4340
4441 /*
@@ -52,15 +49,15 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId }) => {
5249
5350 /*
5451 //If you want to send some ETH to a contract on deploy (make your constructor payable!)
55- const AVAXGods = await deploy("AVAXGods ", [], {
52+ const ScaffoldGods = await deploy("ScaffoldGods ", [], {
5653 value: ethers.utils.parseEther("0.05")
5754 });
5855 */
5956
6057 /*
6158 //If you want to link a library into your contract:
6259 // reference: https://github.com/austintgriffith/scaffold-eth/blob/using-libraries-example/packages/hardhat/scripts/deploy.js#L19
63- const AVAXGods = await deploy("AVAXGods ", [], {}, {
60+ const ScaffoldGods = await deploy("ScaffoldGods ", [], {}, {
6461 LibraryName: **LibraryAddress**
6562 });
6663 */
@@ -72,13 +69,13 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId }) => {
7269 // try {
7370 // if (chainId !== localChainId) {
7471 // await run("verify:verify", {
75- // address: AVAXGods .address,
76- // contract: "contracts/AVAXGods .sol:AVAXGods ",
72+ // address: ScaffoldGods .address,
73+ // contract: "contracts/ScaffoldGods .sol:ScaffoldGods ",
7774 // constructorArguments: [],
7875 // });
7976 // }
8077 // } catch (error) {
8178 // console.error(error);
8279 // }
8380} ;
84- module . exports . tags = [ "AVAXGods " ] ;
81+ module . exports . tags = [ "ScaffoldGods " ] ;
0 commit comments