🛠️Timestamp

Trigger contract that verifies if the current timestamp is higher than the one that is in the subscription data - a certain time has passed since the last time this strategy was executed.

Subscription Parameters:

  • address timestamp- timestamp after which we want the trigger to be triggered and strategy to be executed

  • uint256 interval- interval of time that we want until the strategy executes another time - time in between two executions.

Calldata Parameters: none

This trigger has parameters that are updated during strategy execution.

isChangeable: true.

changedSubData: new sub-data is created by adding the interval parameter to the timestamp parameter. This is later on updated in the RecipeExecutor and SubStorage.

Last updated