• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
      • Wp-gen
      • Dimacs-reader
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Riscv
      • Bitcoin
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Aleo
        • Aleobft
          • Correctness
          • Definition
            • Initialization
            • Transitions
            • States
              • Committees
              • System-states
              • Certificates
              • Messages
              • Transactions
                • Transaction
                  • Transaction-fix
                  • Transaction-case
                  • Transaction-equiv
                  • Transactionp
                  • Transaction-bond
                  • Transaction-unbond
                    • Transaction-unbond->validator
                    • Make-transaction-unbond
                      • Change-transaction-unbond
                    • Transaction-other
                    • Transaction-kind
                  • Transaction-list
                • Proposals
                • Validator-states
                • Blocks
                • Addresses
              • Events
              • Reachability
            • Library-extensions
          • Aleovm
          • Leo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Transaction-unbond

    Make-transaction-unbond

    Basic constructor macro for transaction-unbond structures.

    Syntax
    (make-transaction-unbond [:validator <validator>]) 
    

    This is the usual way to construct transaction-unbond structures. It simply conses together a structure with the specified fields.

    This macro generates a new transaction-unbond structure from scratch. See also change-transaction-unbond, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by fty::defprod.

    Macro: make-transaction-unbond

    (defmacro make-transaction-unbond (&rest args)
      (std::make-aggregate 'transaction-unbond
                           args '((:validator))
                           'make-transaction-unbond
                           nil))

    Function: transaction-unbond

    (defun transaction-unbond (validator)
      (declare (xargs :guard (addressp validator)))
      (declare (xargs :guard t))
      (let ((__function__ 'transaction-unbond))
        (declare (ignorable __function__))
        (b* ((validator (mbe :logic (address-fix validator)
                             :exec validator)))
          (cons :unbond (list validator)))))