From 4745da5330784b524ceaf996b28871eac38bd671 Mon Sep 17 00:00:00 2001 From: itzelot01 Date: Mon, 4 Dec 2023 23:27:17 +0000 Subject: [PATCH] Add Printing the Deployed Contract Address --- script/DCO2s.s.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/script/DCO2s.s.sol b/script/DCO2s.s.sol index 50eeda7..b42ed23 100644 --- a/script/DCO2s.s.sol +++ b/script/DCO2s.s.sol @@ -9,6 +9,7 @@ contract DCO2sScript is Script { function setUp() public { dco2sc = new DCO2s(0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, "DCO2s", "DCO2"); + console.log("The DCO2s contract address is: {}", address(dco2sc)); } // run is the entry point