TransactionSEALED

~#╳~□░■○~%●~■░$#◆■!*^█◇#@●◆●●╱╳&$▓□*~$╱▓▒~*▓$╱╳&?╳●@□▪&●░?▫╳!╳~@

Transaction ID

Timestamp

Aug 30, 2025, 02:28:26 PM UTC
6mo ago

Block Height

124,640,507

Computation

0

Execution Fee

0.00001224 FLOW

Transaction Summary

Contract Call

Called NonFungibleToken, MetadataViews, JournalStampRally

Script Arguments

Copy:
0nameString
TOBIRAPOLIS FIREWORKS 2025
1descriptionString

Cadence Script

1import NonFungibleToken from 0x1d7e57aa55817448
2import MetadataViews from 0x1d7e57aa55817448
3import JournalStampRally from 0xe217638793f1e461
4
5transaction(name: String, description: String) {
6    let minter: &JournalStampRally.Minter
7    let receiver: Capability<&{NonFungibleToken.Receiver}>
8    prepare(acct: auth(BorrowValue, SaveValue, IssueStorageCapabilityController, PublishCapability) &Account) {
9        // Setup Collection
10        if acct.storage.borrow<&JournalStampRally.Collection>(from: JournalStampRally.collectionStoragePath) == nil {
11            let collection <- JournalStampRally.createEmptyCollection(nftType: Type<@JournalStampRally.NFT>())
12            acct.storage.save(<- collection, to: JournalStampRally.collectionStoragePath)
13            let cap: Capability = acct.capabilities.storage.issue<&JournalStampRally.Collection>(JournalStampRally.collectionStoragePath)
14            acct.capabilities.publish(cap, at: JournalStampRally.collectionPublicPath)
15        }
16        self.minter = acct.storage.borrow<&JournalStampRally.Minter>(from: JournalStampRally.minterStoragePath) ?? panic("Could not borrow minter reference")
17        self.receiver = acct.capabilities.get<&{NonFungibleToken.Receiver}>(JournalStampRally.collectionPublicPath)
18    }
19    execute {
20        self.minter.mintTo(creator: self.receiver, metadata: {"name": name, "description": description})
21    }
22}