async Init(stub) {
    console.log(
      "=========== Init: Instantiated / Upgraded patents chaincode ==========="
    );
    return shim.success();
  }
/**
   * Initialize the state when the chaincode is either instantiated or upgraded
   *
   * @param {*} stub
   */
Initialize the state when the chaincode is either instantiated or upgraded
@param {*} stub
Initialize the state when the chaincode is either instantiated or upgraded @param { * } stub
async Init(stub) {
    console.log(
      "=========== Init: Instantiated / Upgraded patents chaincode ==========="
    );
    return shim.success();
  }
async Init ( stub ) { console . log ( "=========== Init: Instantiated / Upgraded patents chaincode ===========" ) ; return shim . success ( ) ; }
Initialize the state when the chaincode is either instantiated or upgraded
 @param {*} stub
Initialize the state when the chaincode is either instantiated or upgraded @param { * } stub