BirthdayReminder.sol
Call Action to call your BirthdayReminder contract one week before Alice’s birthday every year. Let’s break this down:
-
set
Instruction.actionto the address of theCallAction -
set
Instruction.argumentsto encoded calldata specifying:-
set
Schedule.startAtto a Unix timestamp that’s about one week before Alice’s next birthday -
set
Schedule.intervalto one year in seconds -
the address of your
BirthdayRemindercontract -
the function selector for
remind -
the encoded arguments
name = "Alice",month = 1, andday = 1
-
set