a-pic-is-worth-777-words--words--words

SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG

Source Code

;; a-pic-is-worth-777-words--words--words
;; contractType: continuous

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

(define-non-fungible-token a-pic-is-worth-777-words--words--words uint)

(define-constant DEPLOYER tx-sender)

(define-constant ERR-NOT-AUTHORIZED u101)
(define-constant ERR-INVALID-USER u102)
(define-constant ERR-LISTING u103)
(define-constant ERR-WRONG-COMMISSION u104)
(define-constant ERR-NOT-FOUND u105)
(define-constant ERR-NFT-MINT u106)
(define-constant ERR-CONTRACT-LOCKED u107)
(define-constant ERR-METADATA-FROZEN u111)
(define-constant ERR-INVALID-PERCENTAGE u114)

(define-data-var last-id uint u0)
(define-data-var artist-address principal 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG)
(define-data-var locked bool false)
(define-data-var metadata-frozen bool false)

(define-map cids uint (string-ascii 64))

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

(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 (burn (token-id uint))
  (begin 
    (asserts! (is-owner token-id tx-sender) (err ERR-NOT-AUTHORIZED))
    (asserts! (is-none (map-get? market token-id)) (err ERR-LISTING))
    (nft-burn? a-pic-is-worth-777-words--words--words token-id tx-sender)))

(define-public (set-token-uri (hash (string-ascii 64)) (token-id uint))
  (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", token-ids: (list token-id), contract-id: (as-contract tx-sender) }})
    (map-set cids token-id hash)
    (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)))

(define-private (is-owner (token-id uint) (user principal))
    (is-eq user (unwrap! (nft-get-owner? a-pic-is-worth-777-words--words--words token-id) false)))

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

(define-read-only (get-owner (token-id uint))
  (ok (nft-get-owner? a-pic-is-worth-777-words--words--words token-id)))

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

(define-read-only (get-token-uri (token-id uint))
  (ok (some (concat "ipfs://" (unwrap-panic (map-get? cids token-id))))))

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

(define-public (claim (uris (list 25 (string-ascii 64))))
  (mint-many uris))

(define-private (mint-many (uris (list 25 (string-ascii 64))))
  (let 
    (
      (token-id (+ (var-get last-id) u1))
      (art-addr (var-get artist-address))
      (id-reached (fold mint-many-iter uris token-id))
      (current-balance (get-balance tx-sender))
    )
    (asserts! (or (is-eq tx-sender DEPLOYER) (is-eq tx-sender art-addr)) (err ERR-NOT-AUTHORIZED))
    (asserts! (is-eq (var-get locked) false) (err ERR-CONTRACT-LOCKED))
    (var-set last-id (- id-reached u1))
    (map-set token-count tx-sender (+ current-balance (- id-reached token-id)))    
    (ok id-reached)))

(define-private (mint-many-iter (hash (string-ascii 64)) (next-id uint))
  (begin
    (unwrap! (nft-mint? a-pic-is-worth-777-words--words--words next-id tx-sender) next-id)
    (map-set cids next-id hash)      
    (+ next-id u1)))

;; NON-CUSTODIAL FUNCTIONS START
(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? a-pic-is-worth-777-words--words--words 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? a-pic-is-worth-777-words--words--words 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? a-pic-is-worth-777-words--words--words 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)))

;; NON-CUSTODIAL FUNCTIONS END

(try! (nft-mint? a-pic-is-worth-777-words--words--words u1 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u1 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/1.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u2 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u2 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/2.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u3 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u3 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/3.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u4 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u4 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/4.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u5 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u5 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/5.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u6 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u6 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/6.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u7 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u7 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/7.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u8 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u8 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/8.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u9 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u9 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/9.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u10 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u10 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/10.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u11 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u11 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/11.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u12 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u12 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/12.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u13 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u13 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/13.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u14 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u14 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/14.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u15 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u15 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/15.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u16 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u16 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/16.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u17 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u17 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/17.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u18 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u18 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/18.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u19 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u19 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/19.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u20 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u20 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/20.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u21 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u21 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/21.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u22 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u22 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/22.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u23 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u23 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/23.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u24 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u24 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/24.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u25 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u25 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/25.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u26 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u26 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/26.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u27 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u27 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/27.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u28 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u28 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/28.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u29 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u29 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/29.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u30 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u30 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/30.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u31 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u31 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/31.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u32 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u32 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/32.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u33 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u33 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/33.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u34 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u34 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/34.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u35 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u35 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/35.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u36 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u36 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/36.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u37 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u37 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/37.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u38 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u38 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/38.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u39 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u39 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/39.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u40 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u40 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/40.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u41 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u41 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/41.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u42 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u42 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/42.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u43 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u43 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/43.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u44 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u44 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/44.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u45 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u45 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/45.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u46 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u46 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/46.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u47 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u47 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/47.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u48 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u48 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/48.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u49 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u49 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/49.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u50 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u50 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/50.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u51 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u51 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/51.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u52 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u52 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/52.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u53 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u53 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/53.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u54 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u54 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/54.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u55 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u55 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/55.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u56 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u56 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/56.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u57 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u57 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/57.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u58 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u58 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/58.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u59 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u59 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/59.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u60 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u60 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/60.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u61 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u61 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/61.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u62 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u62 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/62.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u63 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u63 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/63.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u64 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u64 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/64.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u65 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u65 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/65.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u66 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u66 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/66.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u67 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u67 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/67.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u68 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u68 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/68.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u69 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u69 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/69.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u70 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u70 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/70.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u71 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u71 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/71.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u72 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u72 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/72.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u73 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u73 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/73.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u74 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u74 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/74.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u75 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u75 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/75.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u76 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u76 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/76.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u77 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u77 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/77.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u78 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u78 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/78.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u79 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u79 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/79.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u80 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u80 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/80.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u81 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u81 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/81.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u82 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u82 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/82.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u83 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u83 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/83.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u84 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u84 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/84.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u85 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u85 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/85.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u86 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u86 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/86.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u87 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u87 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/87.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u88 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u88 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/88.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u89 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u89 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/89.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u90 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u90 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/90.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u91 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u91 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/91.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u92 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u92 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/92.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u93 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u93 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/93.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u94 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u94 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/94.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u95 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u95 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/95.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u96 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u96 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/96.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u97 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u97 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/97.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u98 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u98 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/98.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u99 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u99 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/99.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u100 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u100 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/100.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u101 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u101 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/101.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u102 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u102 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/102.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u103 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u103 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/103.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u104 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u104 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/104.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u105 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u105 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/105.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u106 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u106 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/106.json")
(try! (nft-mint? a-pic-is-worth-777-words--words--words u107 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG))
(map-set token-count 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG (+ (get-balance 'SP13MQ92X6HP6H50ZN6C68R4A05XAY5PRWJQ57XGG) u1))
(map-set cids u107 "QmUX3avN1ZsD1ZJT9XqbAUNQYaX6noBPpZ7PaCPVrRZPvs/json/107.json")
(var-set last-id u107)

(define-data-var license-uri (string-ascii 80) "https://arweave.net/zmc1WTspIhFyVY82bwfAIcIExLFH5lUcHHUN0wXg4W8/4")
(define-data-var license-name (string-ascii 40) "PERSONAL")

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

Functions (28)

FunctionAccessArgs
lock-contractpublic
set-artist-addresspublicaddress: principal
burnpublictoken-id: uint
set-token-uripublichash: (string-ascii 64
freeze-metadatapublic
is-ownerprivatetoken-id: uint, user: principal
transferpublicid: uint, sender: principal, recipient: principal
get-ownerread-onlytoken-id: uint
get-last-token-idread-only
get-token-uriread-onlytoken-id: uint
get-artist-addressread-only
claimpublicuris: (list 25 (string-ascii 64
mint-manyprivateuris: (list 25 (string-ascii 64
mint-many-iterprivatehash: (string-ascii 64
get-balanceread-onlyaccount: principal
trnsfrprivateid: uint, sender: principal, recipient: principal
is-sender-ownerprivateid: uint
get-listing-in-ustxread-onlyid: uint
list-in-ustxpublicid: uint, price: uint, comm-trait: <commission-trait>
unlist-in-ustxpublicid: uint
buy-in-ustxpublicid: uint, comm-trait: <commission-trait>
get-royalty-percentread-only
set-royalty-percentpublicroyalty: uint
pay-royaltyprivateprice: uint, royalty: uint
get-license-uriread-only
get-license-nameread-only
set-license-uripublicuri: (string-ascii 80
set-license-namepublicname: (string-ascii 40