TransactionSEALED
&^$●●╳◇□^&■▫!▓◆▓╲*^*░●╱□□$╳◆╳□▪&▒%■#▪▒▪~#◇#░?■!^%*!▫■@○?╱?$▓!▫!~
Transaction ID
Execution Fee
0.00000943 FLOWScript Arguments
0seriesIdUInt32
14
1setIdUInt32
23921
2maxEditionsUInt32
25
3ipfsMetadataHashes{UInt32
{}4metadata{String
{
"name": "Legendary Marcus Dumervil 2022 Player Card",
"description": "The digital trading card is a first-edition, legendary Marcus Dumervil 2022 season player card",
"image": "https://media.gigantik.io/dgd/085028567aa0ac7a5945ea1062bb6fe6",
"preview": "https://media.gigantik.io/dgd/6193b60e8eb9ee6fb7e47cd55b4a0da0",
"additional_images": "[]",
"ipfs_image": "https://ipfs.io/ipfs/QmZUyoqdnyPUB7TESBdZap2hsRLMRhVEwTosaj7NmY5DT6",
"ipfs_preview": "https://ipfs.io/ipfs/QmWDVyVMqpGwBb3Mkwwn5ne7vanYqy1QUu15R9FG7ro6ND",
"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": "c68ff39ccc2294d235cabf46f09b25f3ff2938440c9799468629ceb3509540c4",
"ipfs_image_hash": "QmZUyoqdnyPUB7TESBdZap2hsRLMRhVEwTosaj7NmY5DT6",
"image_file_type": "mp4",
"collector_points": "150",
"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 }