;; merry-guestmas
;; contractType: public

(impl-trait 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.nft-trait.nft-trait)

(define-non-fungible-token merry-guestmas uint)

;; Constants
(define-constant DEPLOYER tx-sender)
(define-constant COMM u1000)
(define-constant COMM-ADDR 'SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0S)

(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)

;; Internal variables
(define-data-var mint-limit uint u150)
(define-data-var last-id uint u1)
(define-data-var total-price uint u25000000)
(define-data-var artist-address principal 'SP3SC5PSKQM9ABTYPNYDV1J7SBGHA08VRW1DKTJK6)
(define-data-var ipfs-root (string-ascii 80) "ipfs://ipfs/QmZFEmPNB8d96SUUVCeSWFTzMY9nSppdB2wAZf6t3MESeu/json/")
(define-data-var mint-paused bool false)
(define-data-var premint-enabled bool false)
(define-data-var sale-enabled bool false)
(define-data-var metadata-frozen bool false)
(define-data-var airdrop-called bool false)
(define-data-var mint-cap uint u0)

(define-map mints-per-user principal uint)
(define-map mint-passes principal uint)

(define-public (claim) 
  (mint (list true)))

;; Default Minting
(define-private (mint (orders (list 25 bool)))
  (mint-many orders))

(define-private (mint-many (orders (list 25 bool )))  
  (let 
    (
      (last-nft-id (var-get last-id))
      (enabled (asserts! (<= last-nft-id (var-get mint-limit)) (err ERR-NO-MORE-NFTS)))
      (art-addr (var-get artist-address))
      (id-reached (fold mint-many-iter orders last-nft-id))
      (price (* (var-get total-price) (- id-reached last-nft-id)))
      (total-commission (/ (* price COMM) u10000))
      (current-balance (get-balance tx-sender))
      (total-artist (- price total-commission))
      (capped (> (var-get mint-cap) u0))
      (user-mints (get-mints tx-sender))
    )
    (asserts! (or (is-eq false (var-get mint-paused)) (is-eq tx-sender DEPLOYER)) (err ERR-PAUSED))
    (asserts! (or (not capped) (is-eq tx-sender DEPLOYER) (is-eq tx-sender art-addr) (>= (var-get mint-cap) (+ (len orders) user-mints))) (err ERR-NO-MORE-MINTS))
    (map-set mints-per-user tx-sender (+ (len orders) user-mints))
    (if (or (is-eq tx-sender art-addr) (is-eq tx-sender DEPLOYER) (is-eq (var-get total-price) u0000000))
      (begin
        (var-set last-id id-reached)
        (map-set token-count tx-sender (+ current-balance (- id-reached last-nft-id)))
      )
      (begin
        (var-set last-id id-reached)
        (map-set token-count tx-sender (+ current-balance (- id-reached last-nft-id)))
        (try! (stx-transfer? total-artist tx-sender (var-get artist-address)))
        (try! (stx-transfer? total-commission tx-sender COMM-ADDR))
      )    
    )
    (ok id-reached)))

(define-private (mint-many-iter (ignore bool) (next-id uint))
  (if (<= next-id (var-get mint-limit))
    (begin
      (unwrap! (nft-mint? merry-guestmas next-id tx-sender) next-id)
      (+ next-id u1)    
    )
    next-id))

(define-public (set-artist-address (address principal))
  (begin
    (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-INVALID-USER))
    (ok (var-set artist-address address))))

(define-public (set-price (price uint))
  (begin
    (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-INVALID-USER))
    (ok (var-set total-price price))))

(define-public (toggle-pause)
  (begin
    (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-INVALID-USER))
    (ok (var-set mint-paused (not (var-get mint-paused))))))

(define-public (set-mint-limit (limit uint))
  (begin
    (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-INVALID-USER))
    (asserts! (< limit (var-get mint-limit)) (err ERR-MINT-LIMIT))
    (ok (var-set mint-limit limit))))

(define-public (burn (token-id uint))
  (begin 
    (asserts! (is-owner token-id tx-sender) (err ERR-NOT-AUTHORIZED))
    (nft-burn? merry-guestmas token-id tx-sender)))

(define-private (is-owner (token-id uint) (user principal))
    (is-eq user (unwrap! (nft-get-owner? merry-guestmas token-id) false)))

(define-public (set-base-uri (new-base-uri (string-ascii 80)))
  (begin
    (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-NOT-AUTHORIZED))
    (asserts! (not (var-get metadata-frozen)) (err ERR-METADATA-FROZEN))
    (print { notification: "token-metadata-update", payload: { token-class: "nft", contract-id: (as-contract tx-sender) }})
    (var-set ipfs-root new-base-uri)
    (ok true)))

(define-public (freeze-metadata)
  (begin
    (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-NOT-AUTHORIZED))
    (var-set metadata-frozen true)
    (ok true)))

;; Non-custodial SIP-009 transfer function
(define-public (transfer (id uint) (sender principal) (recipient principal))
  (begin
    (asserts! (is-eq tx-sender sender) (err ERR-NOT-AUTHORIZED))
    (asserts! (is-none (map-get? market id)) (err ERR-LISTING))
    (trnsfr id sender recipient)))

;; read-only functions
(define-read-only (get-owner (token-id uint))
  (ok (nft-get-owner? merry-guestmas token-id)))

(define-read-only (get-last-token-id)
  (ok (- (var-get last-id) u1)))

(define-read-only (get-token-uri (token-id uint))
  (ok (some (concat (concat (var-get ipfs-root) "{id}") ".json"))))

(define-read-only (get-paused)
  (ok (var-get mint-paused)))

(define-read-only (get-price)
  (ok (var-get total-price)))

(define-read-only (get-artist-address)
  (ok (var-get artist-address)))

(define-read-only (get-mints (caller principal))
  (default-to u0 (map-get? mints-per-user caller)))

(define-read-only (get-mint-limit)
  (ok (var-get mint-limit)))

(define-data-var license-uri (string-ascii 80) "")
(define-data-var license-name (string-ascii 40) "")

(define-read-only (get-license-uri)
  (ok (var-get license-uri)))
  
(define-read-only (get-license-name)
  (ok (var-get license-name)))
  
(define-public (set-license-uri (uri (string-ascii 80)))
  (begin
    (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-NOT-AUTHORIZED))
    (ok (var-set license-uri uri))))
    
(define-public (set-license-name (name (string-ascii 40)))
  (begin
    (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-NOT-AUTHORIZED))
    (ok (var-set license-name name))))

;; Non-custodial marketplace extras
(use-trait commission-trait 'SP3D6PV2ACBPEKYJTCMH7HEN02KP87QSP8KTEH335.commission-trait.commission)

(define-map token-count principal uint)
(define-map market uint {price: uint, commission: principal, royalty: uint})

(define-read-only (get-balance (account principal))
  (default-to u0
    (map-get? token-count account)))

(define-private (trnsfr (id uint) (sender principal) (recipient principal))
  (match (nft-transfer? merry-guestmas id sender recipient)
    success
      (let
        ((sender-balance (get-balance sender))
        (recipient-balance (get-balance recipient)))
          (map-set token-count
            sender
            (- sender-balance u1))
          (map-set token-count
            recipient
            (+ recipient-balance u1))
          (ok success))
    error (err error)))

(define-private (is-sender-owner (id uint))
  (let ((owner (unwrap! (nft-get-owner? merry-guestmas id) false)))
    (or (is-eq tx-sender owner) (is-eq contract-caller owner))))

(define-read-only (get-listing-in-ustx (id uint))
  (map-get? market id))

(define-public (list-in-ustx (id uint) (price uint) (comm-trait <commission-trait>))
  (let ((listing  {price: price, commission: (contract-of comm-trait), royalty: (var-get royalty-percent)}))
    (asserts! (is-sender-owner id) (err ERR-NOT-AUTHORIZED))
    (map-set market id listing)
    (print (merge listing {a: "list-in-ustx", id: id}))
    (ok true)))

(define-public (unlist-in-ustx (id uint))
  (begin
    (asserts! (is-sender-owner id) (err ERR-NOT-AUTHORIZED))
    (map-delete market id)
    (print {a: "unlist-in-ustx", id: id})
    (ok true)))

(define-public (buy-in-ustx (id uint) (comm-trait <commission-trait>))
  (let ((owner (unwrap! (nft-get-owner? merry-guestmas id) (err ERR-NOT-FOUND)))
      (listing (unwrap! (map-get? market id) (err ERR-LISTING)))
      (price (get price listing))
      (royalty (get royalty listing)))
    (asserts! (is-eq (contract-of comm-trait) (get commission listing)) (err ERR-WRONG-COMMISSION))
    (try! (stx-transfer? price tx-sender owner))
    (try! (pay-royalty price royalty))
    (try! (contract-call? comm-trait pay id price))
    (try! (trnsfr id owner tx-sender))
    (map-delete market id)
    (print {a: "buy-in-ustx", id: id})
    (ok true)))
    
(define-data-var royalty-percent uint u500)

(define-read-only (get-royalty-percent)
  (ok (var-get royalty-percent)))

(define-public (set-royalty-percent (royalty uint))
  (begin
    (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-INVALID-USER))
    (asserts! (and (>= royalty u0) (<= royalty u1000)) (err ERR-INVALID-PERCENTAGE))
    (ok (var-set royalty-percent royalty))))

(define-private (pay-royalty (price uint) (royalty uint))
  (let (
    (royalty-amount (/ (* price royalty) u10000))
  )
  (if (and (> royalty-amount u0) (not (is-eq tx-sender (var-get artist-address))))
    (try! (stx-transfer? royalty-amount tx-sender (var-get artist-address)))
    (print false)
  )
  (ok true)))
  

;; Airdrop
(define-public (admin-airdrop)
  (let
    (
      (last-nft-id (var-get last-id))
    )
    (begin
      (asserts! (or (is-eq tx-sender (var-get artist-address)) (is-eq tx-sender DEPLOYER)) (err ERR-NOT-AUTHORIZED))
      (asserts! (is-eq false (var-get airdrop-called)) (err ERR-AIRDROP-CALLED))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u0) 'SP3SC5PSKQM9ABTYPNYDV1J7SBGHA08VRW1DKTJK6))
      (map-set token-count 'SP3SC5PSKQM9ABTYPNYDV1J7SBGHA08VRW1DKTJK6 (+ (get-balance 'SP3SC5PSKQM9ABTYPNYDV1J7SBGHA08VRW1DKTJK6) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u1) 'SP28AE5NFQKQWN3YKP6SX5TSK2QZGZ6586EJGFBYV))
      (map-set token-count 'SP28AE5NFQKQWN3YKP6SX5TSK2QZGZ6586EJGFBYV (+ (get-balance 'SP28AE5NFQKQWN3YKP6SX5TSK2QZGZ6586EJGFBYV) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u2) 'SP38VV4YM3MEDRCDF77HANWTGVJ5G4MNEDTF951QS))
      (map-set token-count 'SP38VV4YM3MEDRCDF77HANWTGVJ5G4MNEDTF951QS (+ (get-balance 'SP38VV4YM3MEDRCDF77HANWTGVJ5G4MNEDTF951QS) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u3) 'SPXQS1T1T2BKGSHH8H75PVFEY0R1X39F0B3MQWTJ))
      (map-set token-count 'SPXQS1T1T2BKGSHH8H75PVFEY0R1X39F0B3MQWTJ (+ (get-balance 'SPXQS1T1T2BKGSHH8H75PVFEY0R1X39F0B3MQWTJ) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u4) 'SP1T07GK9H4M0WP4N1DSSA7NJ7GNTQZ0GBZM0GAR2))
      (map-set token-count 'SP1T07GK9H4M0WP4N1DSSA7NJ7GNTQZ0GBZM0GAR2 (+ (get-balance 'SP1T07GK9H4M0WP4N1DSSA7NJ7GNTQZ0GBZM0GAR2) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u5) 'SP1W7F05KJZEY3WQ4ECHVGWKQR6G6YHZYEE6NXH24))
      (map-set token-count 'SP1W7F05KJZEY3WQ4ECHVGWKQR6G6YHZYEE6NXH24 (+ (get-balance 'SP1W7F05KJZEY3WQ4ECHVGWKQR6G6YHZYEE6NXH24) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u6) 'SP33N5R751MG99QAM4CN6HQ3MDTYBR71SB4NXVGT1))
      (map-set token-count 'SP33N5R751MG99QAM4CN6HQ3MDTYBR71SB4NXVGT1 (+ (get-balance 'SP33N5R751MG99QAM4CN6HQ3MDTYBR71SB4NXVGT1) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u7) 'SP2TW1D8YF5CE0NDP5VCR5NMTPHQ4PQR1KBB4NQ5Q))
      (map-set token-count 'SP2TW1D8YF5CE0NDP5VCR5NMTPHQ4PQR1KBB4NQ5Q (+ (get-balance 'SP2TW1D8YF5CE0NDP5VCR5NMTPHQ4PQR1KBB4NQ5Q) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u8) 'SPV48Q8E5WP4TCQ63E9TV6KF9R4HP01Z8WS3FBTG))
      (map-set token-count 'SPV48Q8E5WP4TCQ63E9TV6KF9R4HP01Z8WS3FBTG (+ (get-balance 'SPV48Q8E5WP4TCQ63E9TV6KF9R4HP01Z8WS3FBTG) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u9) 'SP3AQSW210PFW6K3FB1JW62ZHTH11FSVR0SH5AZ6P))
      (map-set token-count 'SP3AQSW210PFW6K3FB1JW62ZHTH11FSVR0SH5AZ6P (+ (get-balance 'SP3AQSW210PFW6K3FB1JW62ZHTH11FSVR0SH5AZ6P) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u10) 'SP6VV2AFXM7ZMT5V3ZAE8M6JXK9EA5N1GPFHJC4M))
      (map-set token-count 'SP6VV2AFXM7ZMT5V3ZAE8M6JXK9EA5N1GPFHJC4M (+ (get-balance 'SP6VV2AFXM7ZMT5V3ZAE8M6JXK9EA5N1GPFHJC4M) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u11) 'SP1FR2M102H4DE4DH96R4D29RC8AGQZG5D5Y4S7CH))
      (map-set token-count 'SP1FR2M102H4DE4DH96R4D29RC8AGQZG5D5Y4S7CH (+ (get-balance 'SP1FR2M102H4DE4DH96R4D29RC8AGQZG5D5Y4S7CH) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u12) 'SP12ZTNXCQY2Q09JQP6991SDHK6P0J6AG8QDCBMJ0))
      (map-set token-count 'SP12ZTNXCQY2Q09JQP6991SDHK6P0J6AG8QDCBMJ0 (+ (get-balance 'SP12ZTNXCQY2Q09JQP6991SDHK6P0J6AG8QDCBMJ0) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u13) 'SP329G766AV8Z01X9EEAHPDQ4WDJXT2A0XB383MGP))
      (map-set token-count 'SP329G766AV8Z01X9EEAHPDQ4WDJXT2A0XB383MGP (+ (get-balance 'SP329G766AV8Z01X9EEAHPDQ4WDJXT2A0XB383MGP) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u14) 'SP4BK08PVYFGEBX3H1CFWTCRGWTRNMQ9FBQZNH0M))
      (map-set token-count 'SP4BK08PVYFGEBX3H1CFWTCRGWTRNMQ9FBQZNH0M (+ (get-balance 'SP4BK08PVYFGEBX3H1CFWTCRGWTRNMQ9FBQZNH0M) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u15) 'SP31SJ2X5683KDX8P58HWRA2DXY3ED4WZ6Z3DM0A9))
      (map-set token-count 'SP31SJ2X5683KDX8P58HWRA2DXY3ED4WZ6Z3DM0A9 (+ (get-balance 'SP31SJ2X5683KDX8P58HWRA2DXY3ED4WZ6Z3DM0A9) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u16) 'SP18WRH4SF7F1M5QZZ2BQDZZYBCJWT9VWQMDSTFY5))
      (map-set token-count 'SP18WRH4SF7F1M5QZZ2BQDZZYBCJWT9VWQMDSTFY5 (+ (get-balance 'SP18WRH4SF7F1M5QZZ2BQDZZYBCJWT9VWQMDSTFY5) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u17) 'SP3K22XKPT9WJFCE957J94J6XXVZHP7747YNPDTFD))
      (map-set token-count 'SP3K22XKPT9WJFCE957J94J6XXVZHP7747YNPDTFD (+ (get-balance 'SP3K22XKPT9WJFCE957J94J6XXVZHP7747YNPDTFD) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u18) 'SPV5GYRXDQRYQKZW7FFAZDNRRNVFS41P3YZWXFGD))
      (map-set token-count 'SPV5GYRXDQRYQKZW7FFAZDNRRNVFS41P3YZWXFGD (+ (get-balance 'SPV5GYRXDQRYQKZW7FFAZDNRRNVFS41P3YZWXFGD) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u19) 'SP2P207ZB8A0AW7WRJB4J6X2F0D3KZGRJBWJVKV8F))
      (map-set token-count 'SP2P207ZB8A0AW7WRJB4J6X2F0D3KZGRJBWJVKV8F (+ (get-balance 'SP2P207ZB8A0AW7WRJB4J6X2F0D3KZGRJBWJVKV8F) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u20) 'SP3WXWMD8NC947EASJCMCVT11YDDMBHPXT8WE9WMF))
      (map-set token-count 'SP3WXWMD8NC947EASJCMCVT11YDDMBHPXT8WE9WMF (+ (get-balance 'SP3WXWMD8NC947EASJCMCVT11YDDMBHPXT8WE9WMF) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u21) 'SP6Y9FQ6HE0HZ4G5XVT9PG0XZJJM2WWN0SXCY8YV))
      (map-set token-count 'SP6Y9FQ6HE0HZ4G5XVT9PG0XZJJM2WWN0SXCY8YV (+ (get-balance 'SP6Y9FQ6HE0HZ4G5XVT9PG0XZJJM2WWN0SXCY8YV) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u22) 'SP2F2KH0RVX6GF1Y9FWMMSR9RHG0TW3NN72D724NX))
      (map-set token-count 'SP2F2KH0RVX6GF1Y9FWMMSR9RHG0TW3NN72D724NX (+ (get-balance 'SP2F2KH0RVX6GF1Y9FWMMSR9RHG0TW3NN72D724NX) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u23) 'SP3JPR7XNR60AMBBEZAGF1YHRSFY1JCKE14HBKGTY))
      (map-set token-count 'SP3JPR7XNR60AMBBEZAGF1YHRSFY1JCKE14HBKGTY (+ (get-balance 'SP3JPR7XNR60AMBBEZAGF1YHRSFY1JCKE14HBKGTY) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u24) 'SP4QA0NHP03T3T9GJKR5KEA7VQ2KNSXRK5JC74NG))
      (map-set token-count 'SP4QA0NHP03T3T9GJKR5KEA7VQ2KNSXRK5JC74NG (+ (get-balance 'SP4QA0NHP03T3T9GJKR5KEA7VQ2KNSXRK5JC74NG) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u25) 'SP3CK642B6119EVC6CT550PW5EZZ1AJW661ZMQTYD))
      (map-set token-count 'SP3CK642B6119EVC6CT550PW5EZZ1AJW661ZMQTYD (+ (get-balance 'SP3CK642B6119EVC6CT550PW5EZZ1AJW661ZMQTYD) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u26) 'SP23W0SXEGJFSNBN38WK4G8VD0XVXFZAX7WHM880G))
      (map-set token-count 'SP23W0SXEGJFSNBN38WK4G8VD0XVXFZAX7WHM880G (+ (get-balance 'SP23W0SXEGJFSNBN38WK4G8VD0XVXFZAX7WHM880G) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u27) 'SP26SB34D9THJ8BMSPT6EJHW9JDGBHWMX74PVDFEN))
      (map-set token-count 'SP26SB34D9THJ8BMSPT6EJHW9JDGBHWMX74PVDFEN (+ (get-balance 'SP26SB34D9THJ8BMSPT6EJHW9JDGBHWMX74PVDFEN) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u28) 'SP1P94TYSJZ25849PHEBR5Y4J9BCW8MJMZCE0TD4K))
      (map-set token-count 'SP1P94TYSJZ25849PHEBR5Y4J9BCW8MJMZCE0TD4K (+ (get-balance 'SP1P94TYSJZ25849PHEBR5Y4J9BCW8MJMZCE0TD4K) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u29) 'SP19N6NE3EYCM96N0Y173Z2B61MCPNDT8PQEQY166))
      (map-set token-count 'SP19N6NE3EYCM96N0Y173Z2B61MCPNDT8PQEQY166 (+ (get-balance 'SP19N6NE3EYCM96N0Y173Z2B61MCPNDT8PQEQY166) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u30) 'SP82S7H3DPXG6NN2YGW413DSK5Q83BT59E92G1H1))
      (map-set token-count 'SP82S7H3DPXG6NN2YGW413DSK5Q83BT59E92G1H1 (+ (get-balance 'SP82S7H3DPXG6NN2YGW413DSK5Q83BT59E92G1H1) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u31) 'SP2JQKHDV4N3FH86S52G4DH8HRG93DE1X39YHNSN))
      (map-set token-count 'SP2JQKHDV4N3FH86S52G4DH8HRG93DE1X39YHNSN (+ (get-balance 'SP2JQKHDV4N3FH86S52G4DH8HRG93DE1X39YHNSN) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u32) 'SPJSCH3DDEJ8GQPGYZBHSB4F3HX5Q222CG89PSAB))
      (map-set token-count 'SPJSCH3DDEJ8GQPGYZBHSB4F3HX5Q222CG89PSAB (+ (get-balance 'SPJSCH3DDEJ8GQPGYZBHSB4F3HX5Q222CG89PSAB) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u33) 'SP3EHXKH36BKE33ZY1VVER4A35ZQD9Z552XQ38AFS))
      (map-set token-count 'SP3EHXKH36BKE33ZY1VVER4A35ZQD9Z552XQ38AFS (+ (get-balance 'SP3EHXKH36BKE33ZY1VVER4A35ZQD9Z552XQ38AFS) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u34) 'SP99GMESHFA1WBXXNY7R1V2SD9TV9VWGM62GRT7S))
      (map-set token-count 'SP99GMESHFA1WBXXNY7R1V2SD9TV9VWGM62GRT7S (+ (get-balance 'SP99GMESHFA1WBXXNY7R1V2SD9TV9VWGM62GRT7S) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u35) 'SP3RBMGTRD92F0S8DTDJ4FVP3D76SM4A27EV93106))
      (map-set token-count 'SP3RBMGTRD92F0S8DTDJ4FVP3D76SM4A27EV93106 (+ (get-balance 'SP3RBMGTRD92F0S8DTDJ4FVP3D76SM4A27EV93106) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u36) 'SP1ZTC41HNC5PS8A7K444GBHN4104JXJ5EWRHTDM8))
      (map-set token-count 'SP1ZTC41HNC5PS8A7K444GBHN4104JXJ5EWRHTDM8 (+ (get-balance 'SP1ZTC41HNC5PS8A7K444GBHN4104JXJ5EWRHTDM8) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u37) 'SP1P637C9NB6GSK9TY8AT8SN3QKH1WSV5ZVCZZSKS))
      (map-set token-count 'SP1P637C9NB6GSK9TY8AT8SN3QKH1WSV5ZVCZZSKS (+ (get-balance 'SP1P637C9NB6GSK9TY8AT8SN3QKH1WSV5ZVCZZSKS) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u38) 'SP3JJC9CVH2251JC0B4QTPS661H6JNTA2P9E6HA6N))
      (map-set token-count 'SP3JJC9CVH2251JC0B4QTPS661H6JNTA2P9E6HA6N (+ (get-balance 'SP3JJC9CVH2251JC0B4QTPS661H6JNTA2P9E6HA6N) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u39) 'SP3Z7511VWR5WG9J3MAKER3NRZYKWT83K2XTP36EV))
      (map-set token-count 'SP3Z7511VWR5WG9J3MAKER3NRZYKWT83K2XTP36EV (+ (get-balance 'SP3Z7511VWR5WG9J3MAKER3NRZYKWT83K2XTP36EV) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u40) 'SP3QBRHQF4BN8HNNGFHCJMQZDB8V20BMGF2VS3MJ2))
      (map-set token-count 'SP3QBRHQF4BN8HNNGFHCJMQZDB8V20BMGF2VS3MJ2 (+ (get-balance 'SP3QBRHQF4BN8HNNGFHCJMQZDB8V20BMGF2VS3MJ2) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u41) 'SP342MMZRDFSC556F193N76D87SCTYX7SSHD8H3XD))
      (map-set token-count 'SP342MMZRDFSC556F193N76D87SCTYX7SSHD8H3XD (+ (get-balance 'SP342MMZRDFSC556F193N76D87SCTYX7SSHD8H3XD) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u42) 'SP3D5EHK8SMJ3MMJWYCAKWJ2H4F1JQX85E33ZJDB9))
      (map-set token-count 'SP3D5EHK8SMJ3MMJWYCAKWJ2H4F1JQX85E33ZJDB9 (+ (get-balance 'SP3D5EHK8SMJ3MMJWYCAKWJ2H4F1JQX85E33ZJDB9) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u43) 'SP2ZD78CEHCFPJ71SB8R0EK0ZMVAGB3NTHK947F06))
      (map-set token-count 'SP2ZD78CEHCFPJ71SB8R0EK0ZMVAGB3NTHK947F06 (+ (get-balance 'SP2ZD78CEHCFPJ71SB8R0EK0ZMVAGB3NTHK947F06) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u44) 'SP1DPNP3RRD6JG1557SP6JMX68W5BV6R2Z74BQEXV))
      (map-set token-count 'SP1DPNP3RRD6JG1557SP6JMX68W5BV6R2Z74BQEXV (+ (get-balance 'SP1DPNP3RRD6JG1557SP6JMX68W5BV6R2Z74BQEXV) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u45) 'SP2AZZWG7H99G9JW0PJAAC1JDANZ02GZ9CWGEJQC4))
      (map-set token-count 'SP2AZZWG7H99G9JW0PJAAC1JDANZ02GZ9CWGEJQC4 (+ (get-balance 'SP2AZZWG7H99G9JW0PJAAC1JDANZ02GZ9CWGEJQC4) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u46) 'SP18V7NZHXPQKRNBYAF5WGBV79PDY6XMDNHMZSW4R))
      (map-set token-count 'SP18V7NZHXPQKRNBYAF5WGBV79PDY6XMDNHMZSW4R (+ (get-balance 'SP18V7NZHXPQKRNBYAF5WGBV79PDY6XMDNHMZSW4R) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u47) 'SP216YJTD76S81ZXKVHEBTJT77PSVR33AZ57548V3))
      (map-set token-count 'SP216YJTD76S81ZXKVHEBTJT77PSVR33AZ57548V3 (+ (get-balance 'SP216YJTD76S81ZXKVHEBTJT77PSVR33AZ57548V3) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u48) 'SP3S0KVK1YNQ2WDN9WMFDJ3VZZVBMNAWK033ZBGX))
      (map-set token-count 'SP3S0KVK1YNQ2WDN9WMFDJ3VZZVBMNAWK033ZBGX (+ (get-balance 'SP3S0KVK1YNQ2WDN9WMFDJ3VZZVBMNAWK033ZBGX) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u49) 'SP36NC0KX6RZGPQXR73AMW8R0CXXHS06DRM487A5G))
      (map-set token-count 'SP36NC0KX6RZGPQXR73AMW8R0CXXHS06DRM487A5G (+ (get-balance 'SP36NC0KX6RZGPQXR73AMW8R0CXXHS06DRM487A5G) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u50) 'SP9CMJ7S8XR25H6ZKAJXT4M7KSPQ1B8PPVSYJRTC))
      (map-set token-count 'SP9CMJ7S8XR25H6ZKAJXT4M7KSPQ1B8PPVSYJRTC (+ (get-balance 'SP9CMJ7S8XR25H6ZKAJXT4M7KSPQ1B8PPVSYJRTC) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u51) 'SP6K8CTMC52XBCNG9TRCF3JBE76S2BFYS985DANQ))
      (map-set token-count 'SP6K8CTMC52XBCNG9TRCF3JBE76S2BFYS985DANQ (+ (get-balance 'SP6K8CTMC52XBCNG9TRCF3JBE76S2BFYS985DANQ) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u52) 'SP1Y60B0GCM1P040N7Y0QD9R93Y5EZRJ8YH2BV5NW))
      (map-set token-count 'SP1Y60B0GCM1P040N7Y0QD9R93Y5EZRJ8YH2BV5NW (+ (get-balance 'SP1Y60B0GCM1P040N7Y0QD9R93Y5EZRJ8YH2BV5NW) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u53) 'SP31WTJ415SNJM9H6202S3WK9AFQXQZMT48PESBQE))
      (map-set token-count 'SP31WTJ415SNJM9H6202S3WK9AFQXQZMT48PESBQE (+ (get-balance 'SP31WTJ415SNJM9H6202S3WK9AFQXQZMT48PESBQE) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u54) 'SPDXC0NM3YQDHV1HN3V9P5Y4P26QWY709NB86EYB))
      (map-set token-count 'SPDXC0NM3YQDHV1HN3V9P5Y4P26QWY709NB86EYB (+ (get-balance 'SPDXC0NM3YQDHV1HN3V9P5Y4P26QWY709NB86EYB) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u55) 'SP3G9BMCJ0858Y68MM35R6HA0WAZDNYXWZBN4RYK1))
      (map-set token-count 'SP3G9BMCJ0858Y68MM35R6HA0WAZDNYXWZBN4RYK1 (+ (get-balance 'SP3G9BMCJ0858Y68MM35R6HA0WAZDNYXWZBN4RYK1) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u56) 'SPQ2HN9TYF8ZYY9D3G45NGYA9GHA6QZHQ8AXF5QM))
      (map-set token-count 'SPQ2HN9TYF8ZYY9D3G45NGYA9GHA6QZHQ8AXF5QM (+ (get-balance 'SPQ2HN9TYF8ZYY9D3G45NGYA9GHA6QZHQ8AXF5QM) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u57) 'SP3SKH6YB515J76KVDHDHBTE2GQ4CV6QJHC5GJKRF))
      (map-set token-count 'SP3SKH6YB515J76KVDHDHBTE2GQ4CV6QJHC5GJKRF (+ (get-balance 'SP3SKH6YB515J76KVDHDHBTE2GQ4CV6QJHC5GJKRF) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u58) 'SP31ER8WTA6RM08Z0GNTY786T4PW6SYKFTNMTPRSV))
      (map-set token-count 'SP31ER8WTA6RM08Z0GNTY786T4PW6SYKFTNMTPRSV (+ (get-balance 'SP31ER8WTA6RM08Z0GNTY786T4PW6SYKFTNMTPRSV) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u59) 'SP2W7RC4ERS8XKN83MR2KJPJ97DWN68K4064Q7C2W))
      (map-set token-count 'SP2W7RC4ERS8XKN83MR2KJPJ97DWN68K4064Q7C2W (+ (get-balance 'SP2W7RC4ERS8XKN83MR2KJPJ97DWN68K4064Q7C2W) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u60) 'SPY1612ZD54TBX84CY78MHJFZ7H8MR4HZTW9HNP0))
      (map-set token-count 'SPY1612ZD54TBX84CY78MHJFZ7H8MR4HZTW9HNP0 (+ (get-balance 'SPY1612ZD54TBX84CY78MHJFZ7H8MR4HZTW9HNP0) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u61) 'SPFERFF3QKF0Q6WBC4Y2Y6RQWEGN3DTDD5Y7S0NY))
      (map-set token-count 'SPFERFF3QKF0Q6WBC4Y2Y6RQWEGN3DTDD5Y7S0NY (+ (get-balance 'SPFERFF3QKF0Q6WBC4Y2Y6RQWEGN3DTDD5Y7S0NY) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u62) 'SP2E03GHWY145XMFDTHX4Z913EADP4RMZ0P0DCTE9))
      (map-set token-count 'SP2E03GHWY145XMFDTHX4Z913EADP4RMZ0P0DCTE9 (+ (get-balance 'SP2E03GHWY145XMFDTHX4Z913EADP4RMZ0P0DCTE9) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u63) 'SP2JCF3ME5QC779DQ2X1CM9S62VNJF44GC23MKQXK))
      (map-set token-count 'SP2JCF3ME5QC779DQ2X1CM9S62VNJF44GC23MKQXK (+ (get-balance 'SP2JCF3ME5QC779DQ2X1CM9S62VNJF44GC23MKQXK) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u64) 'SP25RD2QZD9SZESKKYHRBREDHKGTYETD8BH3DT901))
      (map-set token-count 'SP25RD2QZD9SZESKKYHRBREDHKGTYETD8BH3DT901 (+ (get-balance 'SP25RD2QZD9SZESKKYHRBREDHKGTYETD8BH3DT901) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u65) 'SP3356JJ54Q0YB2Q7EN3ZPV7DAY8E2NAS9P8E2WZ0))
      (map-set token-count 'SP3356JJ54Q0YB2Q7EN3ZPV7DAY8E2NAS9P8E2WZ0 (+ (get-balance 'SP3356JJ54Q0YB2Q7EN3ZPV7DAY8E2NAS9P8E2WZ0) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u66) 'SP1JF9VSNJBP4YZVC7AJ9CE6CXBD2ZV0W67T0E4T0))
      (map-set token-count 'SP1JF9VSNJBP4YZVC7AJ9CE6CXBD2ZV0W67T0E4T0 (+ (get-balance 'SP1JF9VSNJBP4YZVC7AJ9CE6CXBD2ZV0W67T0E4T0) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u67) 'SP218P6TAB7GXHV6G43GZM42NSXFHR6YB9VKC43XV))
      (map-set token-count 'SP218P6TAB7GXHV6G43GZM42NSXFHR6YB9VKC43XV (+ (get-balance 'SP218P6TAB7GXHV6G43GZM42NSXFHR6YB9VKC43XV) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u68) 'SPS2FZ3K6N2CZPBM4BSQCEQV23V2334E7MJ4CHZT))
      (map-set token-count 'SPS2FZ3K6N2CZPBM4BSQCEQV23V2334E7MJ4CHZT (+ (get-balance 'SPS2FZ3K6N2CZPBM4BSQCEQV23V2334E7MJ4CHZT) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u69) 'SP3ZMEFW7VH796ZQAH1JMAJT4WC4VPEZZFB6W5CAD))
      (map-set token-count 'SP3ZMEFW7VH796ZQAH1JMAJT4WC4VPEZZFB6W5CAD (+ (get-balance 'SP3ZMEFW7VH796ZQAH1JMAJT4WC4VPEZZFB6W5CAD) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u70) 'SP3CRGM0QHHD36B57FXZW60EQS7NM6XJK8WC7T34S))
      (map-set token-count 'SP3CRGM0QHHD36B57FXZW60EQS7NM6XJK8WC7T34S (+ (get-balance 'SP3CRGM0QHHD36B57FXZW60EQS7NM6XJK8WC7T34S) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u71) 'SP28RZ1QXMXJXVKRRCR3D7GR5D48XY0NNA9MZWHJB))
      (map-set token-count 'SP28RZ1QXMXJXVKRRCR3D7GR5D48XY0NNA9MZWHJB (+ (get-balance 'SP28RZ1QXMXJXVKRRCR3D7GR5D48XY0NNA9MZWHJB) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u72) 'SP12YGGACNA4R43DB1HAQ3AE03PKPJGXZ1BX96CYB))
      (map-set token-count 'SP12YGGACNA4R43DB1HAQ3AE03PKPJGXZ1BX96CYB (+ (get-balance 'SP12YGGACNA4R43DB1HAQ3AE03PKPJGXZ1BX96CYB) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u73) 'SPR35JC5BGKTN20GJAKRZJDM1P8J81NZSHZ40AV7))
      (map-set token-count 'SPR35JC5BGKTN20GJAKRZJDM1P8J81NZSHZ40AV7 (+ (get-balance 'SPR35JC5BGKTN20GJAKRZJDM1P8J81NZSHZ40AV7) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u74) 'SP32V5EAKRWZ66VVA67XGDK18VYMZM5NT7NP98M9))
      (map-set token-count 'SP32V5EAKRWZ66VVA67XGDK18VYMZM5NT7NP98M9 (+ (get-balance 'SP32V5EAKRWZ66VVA67XGDK18VYMZM5NT7NP98M9) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u75) 'SPXKPY2NMKPQW7W5PCNKD1YG67GVBJKATQKNA1ZH))
      (map-set token-count 'SPXKPY2NMKPQW7W5PCNKD1YG67GVBJKATQKNA1ZH (+ (get-balance 'SPXKPY2NMKPQW7W5PCNKD1YG67GVBJKATQKNA1ZH) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u76) 'SP1QZT85MFT8HBAG3XEK7K6QY4GGP3MSG5C3H9PQ1))
      (map-set token-count 'SP1QZT85MFT8HBAG3XEK7K6QY4GGP3MSG5C3H9PQ1 (+ (get-balance 'SP1QZT85MFT8HBAG3XEK7K6QY4GGP3MSG5C3H9PQ1) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u77) 'SP1SX5YDFDYWW16SMD1PQ5KS1QV3XK5S27PJPJMTG))
      (map-set token-count 'SP1SX5YDFDYWW16SMD1PQ5KS1QV3XK5S27PJPJMTG (+ (get-balance 'SP1SX5YDFDYWW16SMD1PQ5KS1QV3XK5S27PJPJMTG) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u78) 'SP156PKFGDHNQ5322FWE631WR391K7NMZ091G3J6A))
      (map-set token-count 'SP156PKFGDHNQ5322FWE631WR391K7NMZ091G3J6A (+ (get-balance 'SP156PKFGDHNQ5322FWE631WR391K7NMZ091G3J6A) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u79) 'SP3P8M5J25457Q73MKS8EGD5Z19Z57RKYSPNEAK85))
      (map-set token-count 'SP3P8M5J25457Q73MKS8EGD5Z19Z57RKYSPNEAK85 (+ (get-balance 'SP3P8M5J25457Q73MKS8EGD5Z19Z57RKYSPNEAK85) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u80) 'SP8R5PHHMTNRQ7WY56KMVQGVDG8859P35278XSGR))
      (map-set token-count 'SP8R5PHHMTNRQ7WY56KMVQGVDG8859P35278XSGR (+ (get-balance 'SP8R5PHHMTNRQ7WY56KMVQGVDG8859P35278XSGR) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u81) 'SP356400A5XM1ZKNXCQ7BJRE8PXXG1EJHV3954Z27))
      (map-set token-count 'SP356400A5XM1ZKNXCQ7BJRE8PXXG1EJHV3954Z27 (+ (get-balance 'SP356400A5XM1ZKNXCQ7BJRE8PXXG1EJHV3954Z27) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u82) 'SP3ZY51K23M753B7S2CG823Y47EE80RC3ZMYJ78X))
      (map-set token-count 'SP3ZY51K23M753B7S2CG823Y47EE80RC3ZMYJ78X (+ (get-balance 'SP3ZY51K23M753B7S2CG823Y47EE80RC3ZMYJ78X) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u83) 'SP2GXKMEZE9WPX2YG5XDF9CBP642AMTMF5TBYJJ9))
      (map-set token-count 'SP2GXKMEZE9WPX2YG5XDF9CBP642AMTMF5TBYJJ9 (+ (get-balance 'SP2GXKMEZE9WPX2YG5XDF9CBP642AMTMF5TBYJJ9) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u84) 'SP17XZQC08H8ASTGNYJ651YGCM5497G9TX8V061SX))
      (map-set token-count 'SP17XZQC08H8ASTGNYJ651YGCM5497G9TX8V061SX (+ (get-balance 'SP17XZQC08H8ASTGNYJ651YGCM5497G9TX8V061SX) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u85) 'SP71N7X6G8KYGQPHZW7TB4PD1JZ6ND9AESF9JPZ8))
      (map-set token-count 'SP71N7X6G8KYGQPHZW7TB4PD1JZ6ND9AESF9JPZ8 (+ (get-balance 'SP71N7X6G8KYGQPHZW7TB4PD1JZ6ND9AESF9JPZ8) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u86) 'SPQY88E87FNMP1NTY2YQ7X5DPTVY810PS8T6D2Y3))
      (map-set token-count 'SPQY88E87FNMP1NTY2YQ7X5DPTVY810PS8T6D2Y3 (+ (get-balance 'SPQY88E87FNMP1NTY2YQ7X5DPTVY810PS8T6D2Y3) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u87) 'SP1ZQSWQ9QNNW388VFG45HYX1H592147V2FZZJY8V))
      (map-set token-count 'SP1ZQSWQ9QNNW388VFG45HYX1H592147V2FZZJY8V (+ (get-balance 'SP1ZQSWQ9QNNW388VFG45HYX1H592147V2FZZJY8V) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u88) 'SP18KN2HDVMD2J7VDYPGGPFDWJFRKPQ7N1CN6VXXC))
      (map-set token-count 'SP18KN2HDVMD2J7VDYPGGPFDWJFRKPQ7N1CN6VXXC (+ (get-balance 'SP18KN2HDVMD2J7VDYPGGPFDWJFRKPQ7N1CN6VXXC) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u89) 'SP2QR6NNM61XJM3MJCRFKQDMT558M2735CKP56CBD))
      (map-set token-count 'SP2QR6NNM61XJM3MJCRFKQDMT558M2735CKP56CBD (+ (get-balance 'SP2QR6NNM61XJM3MJCRFKQDMT558M2735CKP56CBD) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u90) 'SP24F3T8VFGKGR6MQ5R0K65GZJ9NFY41XM97KH1E4))
      (map-set token-count 'SP24F3T8VFGKGR6MQ5R0K65GZJ9NFY41XM97KH1E4 (+ (get-balance 'SP24F3T8VFGKGR6MQ5R0K65GZJ9NFY41XM97KH1E4) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u91) 'SP32CF0E78JNPK0HYDTH3CCZ8FN76PFX5W0FYBN20))
      (map-set token-count 'SP32CF0E78JNPK0HYDTH3CCZ8FN76PFX5W0FYBN20 (+ (get-balance 'SP32CF0E78JNPK0HYDTH3CCZ8FN76PFX5W0FYBN20) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u92) 'SP14814KM6CBCJZMD15JJ58Q3E2S3NCB6SDXM8C79))
      (map-set token-count 'SP14814KM6CBCJZMD15JJ58Q3E2S3NCB6SDXM8C79 (+ (get-balance 'SP14814KM6CBCJZMD15JJ58Q3E2S3NCB6SDXM8C79) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u93) 'SPVSD91FRZ9VZSSQF8WTSGV6A8838397V5KYGJHH))
      (map-set token-count 'SPVSD91FRZ9VZSSQF8WTSGV6A8838397V5KYGJHH (+ (get-balance 'SPVSD91FRZ9VZSSQF8WTSGV6A8838397V5KYGJHH) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u94) 'SPS6543QSVCWM0B1CQYD67RV4QP3MGFPJEHG4FHS))
      (map-set token-count 'SPS6543QSVCWM0B1CQYD67RV4QP3MGFPJEHG4FHS (+ (get-balance 'SPS6543QSVCWM0B1CQYD67RV4QP3MGFPJEHG4FHS) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u95) 'SP3Z5H5KFMGBTYB37DYTGEA14VZG8AT32EPDEAKQH))
      (map-set token-count 'SP3Z5H5KFMGBTYB37DYTGEA14VZG8AT32EPDEAKQH (+ (get-balance 'SP3Z5H5KFMGBTYB37DYTGEA14VZG8AT32EPDEAKQH) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u96) 'SP3TZ3BCB16A0W0PPFYMGTTWTT3DVWTQEP8DFRAG1))
      (map-set token-count 'SP3TZ3BCB16A0W0PPFYMGTTWTT3DVWTQEP8DFRAG1 (+ (get-balance 'SP3TZ3BCB16A0W0PPFYMGTTWTT3DVWTQEP8DFRAG1) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u97) 'SP1XAR0A0J2AFWXQXCJ07SPV3TSZV2BCQQAQ6H5B5))
      (map-set token-count 'SP1XAR0A0J2AFWXQXCJ07SPV3TSZV2BCQQAQ6H5B5 (+ (get-balance 'SP1XAR0A0J2AFWXQXCJ07SPV3TSZV2BCQQAQ6H5B5) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u98) 'SP1VRHC4B8M5QSEA005GBQ3MXRP68RNG097SKEXHS))
      (map-set token-count 'SP1VRHC4B8M5QSEA005GBQ3MXRP68RNG097SKEXHS (+ (get-balance 'SP1VRHC4B8M5QSEA005GBQ3MXRP68RNG097SKEXHS) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u99) 'SP3SF0PSD7KYVJQPKKRBYJFF7NENGFHZSBVHM3B27))
      (map-set token-count 'SP3SF0PSD7KYVJQPKKRBYJFF7NENGFHZSBVHM3B27 (+ (get-balance 'SP3SF0PSD7KYVJQPKKRBYJFF7NENGFHZSBVHM3B27) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u100) 'SPM1Q7YG18378H6W254YN8PABEVRPT38ZCY01SJD))
      (map-set token-count 'SPM1Q7YG18378H6W254YN8PABEVRPT38ZCY01SJD (+ (get-balance 'SPM1Q7YG18378H6W254YN8PABEVRPT38ZCY01SJD) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u101) 'SP1EF64D5ZWF4HEBHSPJPX68M9DA5XYH6V97RBXCH))
      (map-set token-count 'SP1EF64D5ZWF4HEBHSPJPX68M9DA5XYH6V97RBXCH (+ (get-balance 'SP1EF64D5ZWF4HEBHSPJPX68M9DA5XYH6V97RBXCH) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u102) 'SPPMGZTRGMBVCFW3RMEVQJEF26MW9G6EKT51EMD8))
      (map-set token-count 'SPPMGZTRGMBVCFW3RMEVQJEF26MW9G6EKT51EMD8 (+ (get-balance 'SPPMGZTRGMBVCFW3RMEVQJEF26MW9G6EKT51EMD8) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u103) 'SPV00QHST52GD7D0SEWV3R5N04RD4Q1PMA3TE2MP))
      (map-set token-count 'SPV00QHST52GD7D0SEWV3R5N04RD4Q1PMA3TE2MP (+ (get-balance 'SPV00QHST52GD7D0SEWV3R5N04RD4Q1PMA3TE2MP) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u104) 'SP1P72Z3704VMT3DMHPP2CB8TGQWGDBHD3RPR9GZS))
      (map-set token-count 'SP1P72Z3704VMT3DMHPP2CB8TGQWGDBHD3RPR9GZS (+ (get-balance 'SP1P72Z3704VMT3DMHPP2CB8TGQWGDBHD3RPR9GZS) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u105) 'SP3MMG05H6T48W5NJEEST0RR3FTPGKPM7C19X5M16))
      (map-set token-count 'SP3MMG05H6T48W5NJEEST0RR3FTPGKPM7C19X5M16 (+ (get-balance 'SP3MMG05H6T48W5NJEEST0RR3FTPGKPM7C19X5M16) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u106) 'SP25KJH4N4YNKTVXSWSHDPVCWDFAN2BA4H2VQVN0G))
      (map-set token-count 'SP25KJH4N4YNKTVXSWSHDPVCWDFAN2BA4H2VQVN0G (+ (get-balance 'SP25KJH4N4YNKTVXSWSHDPVCWDFAN2BA4H2VQVN0G) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u107) 'SP22VM38JNZ8GGKXBZ9VP4A9JA0W800N6G9ZVG9XR))
      (map-set token-count 'SP22VM38JNZ8GGKXBZ9VP4A9JA0W800N6G9ZVG9XR (+ (get-balance 'SP22VM38JNZ8GGKXBZ9VP4A9JA0W800N6G9ZVG9XR) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u108) 'SP2RTE7F21N6GQ6BBZR7JGGRWAT0T5Q3Z9ZHB9KRS))
      (map-set token-count 'SP2RTE7F21N6GQ6BBZR7JGGRWAT0T5Q3Z9ZHB9KRS (+ (get-balance 'SP2RTE7F21N6GQ6BBZR7JGGRWAT0T5Q3Z9ZHB9KRS) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u109) 'SP2F18PH7FP22EHS0J0X3A6EFZ9PAW0EZJRET0GXZ))
      (map-set token-count 'SP2F18PH7FP22EHS0J0X3A6EFZ9PAW0EZJRET0GXZ (+ (get-balance 'SP2F18PH7FP22EHS0J0X3A6EFZ9PAW0EZJRET0GXZ) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u110) 'SP3R4NKXMGW6YXA44X2ESZPKJNV25X4ZN7DPW0RXR))
      (map-set token-count 'SP3R4NKXMGW6YXA44X2ESZPKJNV25X4ZN7DPW0RXR (+ (get-balance 'SP3R4NKXMGW6YXA44X2ESZPKJNV25X4ZN7DPW0RXR) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u111) 'SP2QDMH88MEZ8FFAYHW4B0BTXJRTHX8XBD54FE7HJ))
      (map-set token-count 'SP2QDMH88MEZ8FFAYHW4B0BTXJRTHX8XBD54FE7HJ (+ (get-balance 'SP2QDMH88MEZ8FFAYHW4B0BTXJRTHX8XBD54FE7HJ) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u112) 'SP2DFZRT48FTXK4SDYVMYK72TETEQ7W33S9RWK168))
      (map-set token-count 'SP2DFZRT48FTXK4SDYVMYK72TETEQ7W33S9RWK168 (+ (get-balance 'SP2DFZRT48FTXK4SDYVMYK72TETEQ7W33S9RWK168) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u113) 'SP3GKWW70RNNXHCYHF8S93NSSV9GPR6N6XEX0CRV))
      (map-set token-count 'SP3GKWW70RNNXHCYHF8S93NSSV9GPR6N6XEX0CRV (+ (get-balance 'SP3GKWW70RNNXHCYHF8S93NSSV9GPR6N6XEX0CRV) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u114) 'SP3KXV3J6MRHAH4H89MDS390X1KS0GQN4DWQ5RFVB))
      (map-set token-count 'SP3KXV3J6MRHAH4H89MDS390X1KS0GQN4DWQ5RFVB (+ (get-balance 'SP3KXV3J6MRHAH4H89MDS390X1KS0GQN4DWQ5RFVB) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u115) 'SPAFJKGDVS11C9P9DY0ZTNFQ9774R568W9XYZDJV))
      (map-set token-count 'SPAFJKGDVS11C9P9DY0ZTNFQ9774R568W9XYZDJV (+ (get-balance 'SPAFJKGDVS11C9P9DY0ZTNFQ9774R568W9XYZDJV) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u116) 'SP134377BE00PYV1N2D5VSKTZ7P8PS2932KK5PGRQ))
      (map-set token-count 'SP134377BE00PYV1N2D5VSKTZ7P8PS2932KK5PGRQ (+ (get-balance 'SP134377BE00PYV1N2D5VSKTZ7P8PS2932KK5PGRQ) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u117) 'SP2DW9RTN82J2MR2FHQXY5EE0Y616JJ076RYG8PTY))
      (map-set token-count 'SP2DW9RTN82J2MR2FHQXY5EE0Y616JJ076RYG8PTY (+ (get-balance 'SP2DW9RTN82J2MR2FHQXY5EE0Y616JJ076RYG8PTY) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u118) 'SP262CK3VPG6PDF4S96TTXFBVV9Y9Z75F51A6G83N))
      (map-set token-count 'SP262CK3VPG6PDF4S96TTXFBVV9Y9Z75F51A6G83N (+ (get-balance 'SP262CK3VPG6PDF4S96TTXFBVV9Y9Z75F51A6G83N) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u119) 'SPHWCHVHRY2Q4884XNNSV8B3J1T41PBN0GQE16A9))
      (map-set token-count 'SPHWCHVHRY2Q4884XNNSV8B3J1T41PBN0GQE16A9 (+ (get-balance 'SPHWCHVHRY2Q4884XNNSV8B3J1T41PBN0GQE16A9) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u120) 'SP247RS63PWW7ZQZ9EYYA9CXKKPWEP71M14W8N294))
      (map-set token-count 'SP247RS63PWW7ZQZ9EYYA9CXKKPWEP71M14W8N294 (+ (get-balance 'SP247RS63PWW7ZQZ9EYYA9CXKKPWEP71M14W8N294) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u121) 'SP2MS5KKM4CFTC6C6H2QAB7BKYBSNXWZKVCCXBMQG))
      (map-set token-count 'SP2MS5KKM4CFTC6C6H2QAB7BKYBSNXWZKVCCXBMQG (+ (get-balance 'SP2MS5KKM4CFTC6C6H2QAB7BKYBSNXWZKVCCXBMQG) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u122) 'SP5RSRY9K5PYQ6NJS2F9Y2JMQH2NB62RBZNRV2KF))
      (map-set token-count 'SP5RSRY9K5PYQ6NJS2F9Y2JMQH2NB62RBZNRV2KF (+ (get-balance 'SP5RSRY9K5PYQ6NJS2F9Y2JMQH2NB62RBZNRV2KF) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u123) 'SP2CZMH9A6FH5QPAJAR8ZG091Z15JKAGY1X0F3EJ0))
      (map-set token-count 'SP2CZMH9A6FH5QPAJAR8ZG091Z15JKAGY1X0F3EJ0 (+ (get-balance 'SP2CZMH9A6FH5QPAJAR8ZG091Z15JKAGY1X0F3EJ0) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u124) 'SP1XPG9QFX5M95G36SGN9R8YJ4KJ0JB7ZXNH892N6))
      (map-set token-count 'SP1XPG9QFX5M95G36SGN9R8YJ4KJ0JB7ZXNH892N6 (+ (get-balance 'SP1XPG9QFX5M95G36SGN9R8YJ4KJ0JB7ZXNH892N6) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u125) 'SP2HV9HYWZRAPTCC10VXCK72P3W4F9NDB8E1HBEZH))
      (map-set token-count 'SP2HV9HYWZRAPTCC10VXCK72P3W4F9NDB8E1HBEZH (+ (get-balance 'SP2HV9HYWZRAPTCC10VXCK72P3W4F9NDB8E1HBEZH) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u126) 'SP1HNS1QE5Y2S9E09MV9WZSKYWAXE5FGMM6RDYB4E))
      (map-set token-count 'SP1HNS1QE5Y2S9E09MV9WZSKYWAXE5FGMM6RDYB4E (+ (get-balance 'SP1HNS1QE5Y2S9E09MV9WZSKYWAXE5FGMM6RDYB4E) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u127) 'SP0DKPNHR7FW183BQQHABN5CEJHPG93FR0Z41FH2))
      (map-set token-count 'SP0DKPNHR7FW183BQQHABN5CEJHPG93FR0Z41FH2 (+ (get-balance 'SP0DKPNHR7FW183BQQHABN5CEJHPG93FR0Z41FH2) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u128) 'SP3MB74HT9SDNGENKFDA3AKZEXEMBZWB1FTFSHWBJ))
      (map-set token-count 'SP3MB74HT9SDNGENKFDA3AKZEXEMBZWB1FTFSHWBJ (+ (get-balance 'SP3MB74HT9SDNGENKFDA3AKZEXEMBZWB1FTFSHWBJ) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u129) 'SP364J7EDJXRE1FPDZDABP9M58HPY4G88BFCP2HD0))
      (map-set token-count 'SP364J7EDJXRE1FPDZDABP9M58HPY4G88BFCP2HD0 (+ (get-balance 'SP364J7EDJXRE1FPDZDABP9M58HPY4G88BFCP2HD0) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u130) 'SPDAAZZ75RKKXKS67HVHYXMKMJNR72V5AGWMA7D6))
      (map-set token-count 'SPDAAZZ75RKKXKS67HVHYXMKMJNR72V5AGWMA7D6 (+ (get-balance 'SPDAAZZ75RKKXKS67HVHYXMKMJNR72V5AGWMA7D6) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u131) 'SP1G4Z5J9AYVKZCHZ8RVPH593FPWJX5P6QM6JEV27))
      (map-set token-count 'SP1G4Z5J9AYVKZCHZ8RVPH593FPWJX5P6QM6JEV27 (+ (get-balance 'SP1G4Z5J9AYVKZCHZ8RVPH593FPWJX5P6QM6JEV27) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u132) 'SP2DQ6PY3M53DJ67Q1PHMPFGEBWD1PT8BR4ZDSH55))
      (map-set token-count 'SP2DQ6PY3M53DJ67Q1PHMPFGEBWD1PT8BR4ZDSH55 (+ (get-balance 'SP2DQ6PY3M53DJ67Q1PHMPFGEBWD1PT8BR4ZDSH55) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u133) 'SP24ZBZ8ZE6F48JE9G3F3HRTG9FK7E2H6K2QZ3Q1K))
      (map-set token-count 'SP24ZBZ8ZE6F48JE9G3F3HRTG9FK7E2H6K2QZ3Q1K (+ (get-balance 'SP24ZBZ8ZE6F48JE9G3F3HRTG9FK7E2H6K2QZ3Q1K) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u134) 'SPK8785ECMV8E8Q94KQF94JVZ50TH8FTS5TMQV7Y))
      (map-set token-count 'SPK8785ECMV8E8Q94KQF94JVZ50TH8FTS5TMQV7Y (+ (get-balance 'SPK8785ECMV8E8Q94KQF94JVZ50TH8FTS5TMQV7Y) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u135) 'SP3GARS14D25RNGWRS85V5VZWJ6TKNFY8Y2TPZV3K))
      (map-set token-count 'SP3GARS14D25RNGWRS85V5VZWJ6TKNFY8Y2TPZV3K (+ (get-balance 'SP3GARS14D25RNGWRS85V5VZWJ6TKNFY8Y2TPZV3K) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u136) 'SPSS7WAYA17Y8Z5Q6GJTMH4FH4MRJ7HZZ6JPGAGR))
      (map-set token-count 'SPSS7WAYA17Y8Z5Q6GJTMH4FH4MRJ7HZZ6JPGAGR (+ (get-balance 'SPSS7WAYA17Y8Z5Q6GJTMH4FH4MRJ7HZZ6JPGAGR) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u137) 'SP3H0DJMGJFXJ6HP30B74YGK19ADYMD9H13ECSPZJ))
      (map-set token-count 'SP3H0DJMGJFXJ6HP30B74YGK19ADYMD9H13ECSPZJ (+ (get-balance 'SP3H0DJMGJFXJ6HP30B74YGK19ADYMD9H13ECSPZJ) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u138) 'SPFZJAWND9GDB2QC54524J73DGBQ07XJ6JM1E3GN))
      (map-set token-count 'SPFZJAWND9GDB2QC54524J73DGBQ07XJ6JM1E3GN (+ (get-balance 'SPFZJAWND9GDB2QC54524J73DGBQ07XJ6JM1E3GN) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u139) 'SP3GG2XRSX2APJ1JFWV2A3KFEJPAJ5X8JGDXTSF1N))
      (map-set token-count 'SP3GG2XRSX2APJ1JFWV2A3KFEJPAJ5X8JGDXTSF1N (+ (get-balance 'SP3GG2XRSX2APJ1JFWV2A3KFEJPAJ5X8JGDXTSF1N) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u140) 'SP2MC6PBPNPSEHA6G87DDMN6WX3HGMTANXZBYKCNF))
      (map-set token-count 'SP2MC6PBPNPSEHA6G87DDMN6WX3HGMTANXZBYKCNF (+ (get-balance 'SP2MC6PBPNPSEHA6G87DDMN6WX3HGMTANXZBYKCNF) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u141) 'SP3VTWA4VHJXCC82898M21QSRQCYC730K49M5NMKF))
      (map-set token-count 'SP3VTWA4VHJXCC82898M21QSRQCYC730K49M5NMKF (+ (get-balance 'SP3VTWA4VHJXCC82898M21QSRQCYC730K49M5NMKF) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u142) 'SP2791RKSYJJ39MVHC09J8NARWBMK5G9C79EJB0RV))
      (map-set token-count 'SP2791RKSYJJ39MVHC09J8NARWBMK5G9C79EJB0RV (+ (get-balance 'SP2791RKSYJJ39MVHC09J8NARWBMK5G9C79EJB0RV) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u143) 'SP1VEQYSMWF1J3XV35XVCFXY8YW2E92QMPG2VT5WR))
      (map-set token-count 'SP1VEQYSMWF1J3XV35XVCFXY8YW2E92QMPG2VT5WR (+ (get-balance 'SP1VEQYSMWF1J3XV35XVCFXY8YW2E92QMPG2VT5WR) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u144) 'SP197GMEG6WGBRDTCTGGWMRA1G77E65TRXWYKGCT7))
      (map-set token-count 'SP197GMEG6WGBRDTCTGGWMRA1G77E65TRXWYKGCT7 (+ (get-balance 'SP197GMEG6WGBRDTCTGGWMRA1G77E65TRXWYKGCT7) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u145) 'SP1EPBKHN6PTKE53R1RSDJ8FH531CTNZYRQC33X1E))
      (map-set token-count 'SP1EPBKHN6PTKE53R1RSDJ8FH531CTNZYRQC33X1E (+ (get-balance 'SP1EPBKHN6PTKE53R1RSDJ8FH531CTNZYRQC33X1E) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u146) 'SP397HG9F74EN8HCES5G72832RNPYTHFYFPYZQQQZ))
      (map-set token-count 'SP397HG9F74EN8HCES5G72832RNPYTHFYFPYZQQQZ (+ (get-balance 'SP397HG9F74EN8HCES5G72832RNPYTHFYFPYZQQQZ) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u147) 'SP1CE3NQXDKCJ2KEFFGCVFA5C196S9F0RRX93HY87))
      (map-set token-count 'SP1CE3NQXDKCJ2KEFFGCVFA5C196S9F0RRX93HY87 (+ (get-balance 'SP1CE3NQXDKCJ2KEFFGCVFA5C196S9F0RRX93HY87) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u148) 'SPXSGH4FNJHFVDVHPB05VS9R5MN5P9HQ5GWAK6GM))
      (map-set token-count 'SPXSGH4FNJHFVDVHPB05VS9R5MN5P9HQ5GWAK6GM (+ (get-balance 'SPXSGH4FNJHFVDVHPB05VS9R5MN5P9HQ5GWAK6GM) u1))
      (try! (nft-mint? merry-guestmas (+ last-nft-id u149) 'SP1SCEXE6PMGPAC6B4N5P2MDKX8V4GF9QDE1FNNGJ))
      (map-set token-count 'SP1SCEXE6PMGPAC6B4N5P2MDKX8V4GF9QDE1FNNGJ (+ (get-balance 'SP1SCEXE6PMGPAC6B4N5P2MDKX8V4GF9QDE1FNNGJ) u1))

      (var-set last-id (+ last-nft-id u150))
      (var-set airdrop-called true)
      (ok true))))