chia-blockchain/chia/wallet/puzzles/condition_codes.clvm

39 lines
1.1 KiB
Plaintext

; See chia/types/condition_opcodes.py
(
(defconstant AGG_SIG_UNSAFE 49)
(defconstant AGG_SIG_ME 50)
; the conditions below reserve coin amounts and have to be accounted for in output totals
(defconstant CREATE_COIN 51)
(defconstant RESERVE_FEE 52)
; the conditions below deal with announcements, for inter-coin communication
; coin announcements
(defconstant CREATE_COIN_ANNOUNCEMENT 60)
(defconstant ASSERT_COIN_ANNOUNCEMENT 61)
; puzzle announcements
(defconstant CREATE_PUZZLE_ANNOUNCEMENT 62)
(defconstant ASSERT_PUZZLE_ANNOUNCEMENT 63)
; the conditions below let coins inquire about themselves
(defconstant ASSERT_MY_COIN_ID 70)
(defconstant ASSERT_MY_PARENT_ID 71)
(defconstant ASSERT_MY_PUZZLEHASH 72)
(defconstant ASSERT_MY_AMOUNT 73)
; the conditions below ensure that we're "far enough" in the future
; wall-clock time
(defconstant ASSERT_SECONDS_RELATIVE 80)
(defconstant ASSERT_SECONDS_ABSOLUTE 81)
; block index
(defconstant ASSERT_HEIGHT_RELATIVE 82)
(defconstant ASSERT_HEIGHT_ABSOLUTE 83)
)