Basic constructor macro for event-advance structures.
(make-event-advance [:validator <validator>])
This is the usual way to construct event-advance structures. It simply conses together a structure with the specified fields.
This macro generates a new event-advance structure from scratch. See also change-event-advance, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-event-advance (&rest args) (std::make-aggregate 'event-advance args '((:validator)) 'make-event-advance nil))
Function:
(defun event-advance (validator) (declare (xargs :guard (addressp validator))) (declare (xargs :guard t)) (let ((__function__ 'event-advance)) (declare (ignorable __function__)) (b* ((validator (mbe :logic (address-fix validator) :exec validator))) (cons :advance (list validator)))))