@croptop/core-v6 0.0.56 → 0.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/CTDeployer.sol +11 -2
package/package.json
CHANGED
package/src/CTDeployer.sol
CHANGED
|
@@ -51,7 +51,14 @@ contract CTDeployer is ERC2771Context, JBPermissioned, IJBRulesetDataHook, IERC7
|
|
|
51
51
|
// ---------------------------- events -------------------------------- //
|
|
52
52
|
//*********************************************************************//
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
/// @notice Emitted when launch-time sucker deployment fails without reverting the collection launch.
|
|
55
|
+
/// @param projectId The project whose sucker deployment failed.
|
|
56
|
+
/// @param salt The salt used for the failed sucker deployment attempt.
|
|
57
|
+
/// @param reason The revert reason returned by the sucker registry.
|
|
58
|
+
/// @param caller The address that launched the project.
|
|
59
|
+
event CTDeployer_SuckerDeploymentFailed(
|
|
60
|
+
uint256 indexed projectId, bytes32 indexed salt, bytes reason, address caller
|
|
61
|
+
);
|
|
55
62
|
|
|
56
63
|
//*********************************************************************//
|
|
57
64
|
// ---------------- public immutable stored properties --------------- //
|
|
@@ -259,7 +266,9 @@ contract CTDeployer is ERC2771Context, JBPermissioned, IJBRulesetDataHook, IERC7
|
|
|
259
266
|
// no-op
|
|
260
267
|
}
|
|
261
268
|
catch (bytes memory reason) {
|
|
262
|
-
emit CTDeployer_SuckerDeploymentFailed({
|
|
269
|
+
emit CTDeployer_SuckerDeploymentFailed({
|
|
270
|
+
projectId: projectId, salt: suckerSalt, reason: reason, caller: _msgSender()
|
|
271
|
+
});
|
|
263
272
|
}
|
|
264
273
|
}
|
|
265
274
|
|