Source Code

;; Pre-launch Contract Trait
;; Defines the interface for pre-launch token faktory contracts

(use-trait faktory-token 'SP3XXMS38VTAWTVPE5682XSBFXPTH7XCPEBTX8AN2.faktory-trait-v1.sip-010-trait)

(define-trait prelaunch-trait
  (
    ;; Core pre-launch functions
    (buy-up-to (uint) (response bool uint))
    (refund () (response bool uint))
    (claim (<faktory-token>) (response uint uint))
    (claim-on-behalf (<faktory-token> principal) (response uint uint))
    
    ;; Fee distribution system
    (trigger-fee-airdrop () (response uint uint))
  )
)