It might be better if we can pass a object as the following to setting up all the contract addresses once, instead of passing it every time we invoke.
example :
const globalAddressMap= {
emulator:{
SomeContract :"some address"
},
testnet:{
SomeContract :"some address"
},
production:{
SomeContract :"some address"
}
}
cadut.setGlobalAddressMap(globalAddressMap)
and then cadut will decide to use address map network depend on environment