TransactionSEALED
!*◆╱#▫▓?$~?$?~▫╱!╳▫~%▓▪@█╱●○◆█$▪▓■$╱▒■▓*◆$□?^╲◇░●╲●◇!&&○◆^█!▫▪&□
Transaction ID
Execution Fee
0.00001028 FLOWScript Arguments
0seriesIdUInt32
14
1setIdUInt32
23811
2maxEditionsUInt32
100
3ipfsMetadataHashes{UInt32
{}4metadata{String
{
"name": "Rare Desmond Little 2022 Player Card",
"description": "The digital trading card is a first-edition, rare Desmond Little 2022 season player card",
"image": "https://media.gigantik.io/dgd/ef8e46f588908dc281b37f0f747b6b39",
"preview": "https://media.gigantik.io/dgd/cedd566759b3eb62a2de3c7ad656171d",
"additional_images": "[]",
"ipfs_image": "https://ipfs.io/ipfs/QmTLFLLZ8UqfDGPR3YutxkxhSX7y1MttbQ4z4jEWaYkDR1",
"ipfs_preview": "https://ipfs.io/ipfs/QmPvovqrzf9Nnj8uSc7bBtHwaTwhGDkK6hUVYG92Qjfnbu",
"ipfs_additional_images": "[]",
"collection_name": "TPL LSU",
"collection_description": "The Players' Lounge™ is a Web3.0 platform built by lettermen to empower relationships within the collegiate sports community through connecting current and former athletes with their respective fan bases while providing opportunities for student-athletes to monetize their individual brands.",
"external_url": "https://lsu-digital.theplayerslounge.io",
"external_token_base_url": "https://lsu-digital.theplayerslounge.io/tokens",
"sha256_image_hash": "d37e2fe60d1711a28a09de60ee4672f6ac139204ae7fc781e731e2da7a306aa8",
"ipfs_image_hash": "QmTLFLLZ8UqfDGPR3YutxkxhSX7y1MttbQ4z4jEWaYkDR1",
"image_file_type": "mp4",
"collector_points": "40",
"creator_url": "https://www.theplayerslounge.io/",
"creator_name": "Bayou Cat Crew"
}Cadence Script
1import NonFungibleToken from 0x1d7e57aa55817448
2import DGD_NFT from 0x329feb3ab062d289
3
4// This script uses the Admin resource to add a new Series
5// It must be run with the account that has the Admin resource
6// stored in /storage/DGD_NFTAdmin
7
8transaction(
9 seriesId: UInt32,
10 setId: UInt32,
11 maxEditions: UInt32,
12 ipfsMetadataHashes: {UInt32: String},
13 metadata: {String: String}) {
14
15 // local variable for storing the DGD_NFT admin reference
16 let admin: &DGD_NFT.Admin
17
18 prepare(signer: AuthAccount) {
19 // borrow a reference to the Admin resource in storage
20 self.admin = signer.borrow<&DGD_NFT.Admin>(from: DGD_NFT.AdminStoragePath)
21 ?? panic("Could not borrow a reference to the NFT Admin")
22 }
23 execute {
24 // borrow a reference to the Series
25 let series = self.admin.borrowSeries(seriesId: seriesId)
26
27 // Update Series Info
28 series.updateSetMetadata(
29 setId: setId,
30 maxEditions: maxEditions,
31 ipfsMetadataHashes: ipfsMetadataHashes,
32 metadata: metadata
33 )
34 }
35 }