diff --git a/protocol/hash.go b/protocol/hash.go index e171146795..77d1a2b2f6 100644 --- a/protocol/hash.go +++ b/protocol/hash.go @@ -23,7 +23,15 @@ type HashID string // Hash IDs for specific object types, in lexicographic order. // Hash IDs must be PREFIX-FREE (no hash ID is a prefix of another). const ( - AppIndex HashID = "appID" + AppIndex HashID = "appID" + + // ARCReserved is used to reserve prefixes starting with `arc` to + // ARCs-related hashes https://github.com/algorandfoundation/ARCs + // The prefix for ARC-XXXX should start with: + // "arcXXXX" (where "XXXX" is the 0-padded number of the ARC) + // For example ARC-0003 can use any prefix starting with "arc0003" + ARCReserved HashID = "arc" + AuctionBid HashID = "aB" AuctionDeposit HashID = "aD" AuctionOutcomes HashID = "aO"