```\nfunction processDepositCancellation(\n  GMXTypes.Store storage self\n) external {\n  GMXChecks.beforeProcessDepositCancellationChecks(self);\n // rest of code\n // Transfer requested withdraw asset to user\n IERC20(self.depositCache.depositParams.token).safeTransfer(\n  self.depositCache.user,\n  self.depositCache.depositParams.amt\n );\n  // rest of code\n  self.status = GMXTypes.Status.Open;\n\n  emit DepositCancelled(self.depositCache.user);\n}\n```\n