forked from DECA/DECANFT-SC
Add Printing the Deployed Contract Address
This commit is contained in:
parent
ce5ed77218
commit
4745da5330
|
@ -9,6 +9,7 @@ contract DCO2sScript is Script {
|
||||||
|
|
||||||
function setUp() public {
|
function setUp() public {
|
||||||
dco2sc = new DCO2s(0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, "DCO2s", "DCO2");
|
dco2sc = new DCO2s(0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, "DCO2s", "DCO2");
|
||||||
|
console.log("The DCO2s contract address is: {}", address(dco2sc));
|
||||||
}
|
}
|
||||||
|
|
||||||
// run is the entry point
|
// run is the entry point
|
||||||
|
|
Loading…
Reference in New Issue