@@ -198,29 +198,29 @@ contract PredepositExecutor is ILayerZeroComposer, Ownable2Step, ReentrancyGuard
198
198
}
199
199
200
200
/// @notice Sets a new owner for the specified campaign.
201
- /// @param _sourceMarketHash The unique identifier for the campaign.
201
+ /// @param _sourceMarketHash The market hash on the source chain used to identify the corresponding campaign on the destination .
202
202
/// @param _newOwner The address of the new campaign owner.
203
203
function setPredepositCampaignOwner (bytes32 _sourceMarketHash , address _newOwner ) external onlyOwnerOfPredepositCampaign (_sourceMarketHash) {
204
204
sourceMarketHashToOwner[_sourceMarketHash] = _newOwner;
205
205
}
206
206
207
207
/// @notice Sets a new owner for the specified campaign.
208
- /// @param _sourceMarketHash The unique identifier for the campaign.
209
- /// @param _unlockTimestamp The ABSOLUTE timestamp until deposits will be locked for this campaign.
208
+ /// @param _sourceMarketHash The market hash on the source chain used to identify the corresponding campaign on the destination .
209
+ /// @param _unlockTimestamp The ABSOLUTE timestamp until deposits will be locked for this campaign on destination .
210
210
function setPredepositCampaignLocktime (bytes32 _sourceMarketHash , uint256 _unlockTimestamp ) external onlyOwnerOfPredepositCampaign (_sourceMarketHash) {
211
211
sourceMarketHashToPredepositCampaign[_sourceMarketHash].unlockTimestamp = _unlockTimestamp;
212
212
}
213
213
214
214
/// @notice Sets the deposit recipe for a campaign.
215
- /// @param _sourceMarketHash The unique identifier for the campaign.
216
- /// @param _depositRecipe The deposit recipe for the source market on the destination chain
215
+ /// @param _sourceMarketHash The market hash on the source chain used to identify the corresponding campaign on the destination .
216
+ /// @param _depositRecipe The deposit recipe for the campaign on the destination chain
217
217
function setDepositRecipe (bytes32 _sourceMarketHash , Recipe calldata _depositRecipe ) external onlyOwnerOfPredepositCampaign (_sourceMarketHash) {
218
218
sourceMarketHashToPredepositCampaign[_sourceMarketHash].depositRecipe = _depositRecipe;
219
219
}
220
220
221
221
/// @notice Sets the withdrawal recipe for a campaign.
222
- /// @param _sourceMarketHash The unique identifier for the campaign.
223
- /// @param _withdrawalRecipe The withdrawal recipe for the source market on the destination chain
222
+ /// @param _sourceMarketHash The market hash on the source chain used to identify the corresponding campaign on the destination .
223
+ /// @param _withdrawalRecipe The withdrawal recipe for the campaign on the destination chain
224
224
function setWithdrawalRecipe (bytes32 _sourceMarketHash , Recipe calldata _withdrawalRecipe ) external onlyOwnerOfPredepositCampaign (_sourceMarketHash) {
225
225
sourceMarketHashToPredepositCampaign[_sourceMarketHash].withdrawalRecipe = _withdrawalRecipe;
226
226
}
0 commit comments