Add Printing the Deployed Contract Address

This commit is contained in:
itzelot01 2023-12-04 23:27:17 +00:00
parent ce5ed77218
commit 4745da5330
1 changed files with 1 additions and 0 deletions

View File

@ -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