Skip to content

Instantly share code, notes, and snippets.

@Jamil
Created August 24, 2022 22:44
Show Gist options
  • Select an option

  • Save Jamil/b3d621398d5340bf619600d9b9857b68 to your computer and use it in GitHub Desktop.

Select an option

Save Jamil/b3d621398d5340bf619600d9b9857b68 to your computer and use it in GitHub Desktop.
NFT and mint contract error codes
(define-constant ERR-NO-MORE-NFTS u100)
(define-constant ERR-NOT-ENOUGH-PASSES u101)
(define-constant ERR-PUBLIC-SALE-DISABLED u102)
(define-constant ERR-CONTRACT-INITIALIZED u103)
(define-constant ERR-NOT-AUTHORIZED u104)
(define-constant ERR-INVALID-USER u105)
(define-constant ERR-LISTING u106)
(define-constant ERR-WRONG-COMMISSION u107)
(define-constant ERR-NOT-FOUND u108)
(define-constant ERR-PAUSED u109)
(define-constant ERR-MINT-LIMIT u110)
(define-constant ERR-METADATA-FROZEN u111)
(define-constant ERR-AIRDROP-CALLED u112)
(define-constant ERR-NO-MORE-MINTS u113)
(define-constant ERR-INVALID-PERCENTAGE u114)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment