OTContract: move out InstantiateContract()