made assetID optional on smart contracts (in template form)