Modifying constructor for transaction structures.
(change-transaction x [:nonce <nonce>] [:gas-price <gas-price>] [:gas-limit <gas-limit>] [:to <to>] [:value <value>] [:init/data <init/data>] [:sign-v <sign-v>] [:sign-r <sign-r>] [:sign-s <sign-s>])
This is an often useful alternative to make-transaction.
We construct a new transaction structure that is a copy of
This is an ordinary
Macro:
(defmacro change-transaction (x &rest args) (std::change-aggregate 'transaction x args '((:nonce . transaction->nonce) (:gas-price . transaction->gas-price) (:gas-limit . transaction->gas-limit) (:to . transaction->to) (:value . transaction->value) (:init/data . transaction->init/data) (:sign-v . transaction->sign-v) (:sign-r . transaction->sign-r) (:sign-s . transaction->sign-s)) 'change-transaction 'nil))