Transaction Details

Open on Dero Explorer
Internal ID:
3471145
Transaction Hash:
ddcb1210509df29e7100c90e0939d52f73698b8cc3c0514281c88949e6ce77ce
Block:
Timestamp:
2023-05-16 01:39:26 UTC (2.3 years ago)
Type:
sc
Ring Size:
2
Payloads:
1
Caller:
cyberskull (1407885)
SC Data:
[{"name":"SC_ACTION","datatype":"U","value":"1"},{"name":"SC_CODE","datatype":"S","value":"Function InitializePrivate(collection String, metadataFormat String, metadata String) Uint64\r\n1 IF EXISTS(\"minter\") == 1 THEN GOTO 11\r\n2 STORE(\"minter\", SIGNER())\r\n3 STORE(\"type\", \"G45-NFT\")\r\n4 STORE(\"owner\", \"\")\r\n5 STORE(\"timestamp\", BLOCK_TIMESTAMP())\r\n6 SEND_ASSET_TO_ADDRESS(SIGNER(), "1", SCID())\r\n7 STORE(\"collection\", collection)\r\n8 STORE(\"metadataFormat\", metadataFormat)\r\n9 STORE(\"metadata\", metadata)\r\n10 RETURN 0\r\n11 RETURN 1\r\nEnd Function\r\n\r\nFunction DisplayNFT() Uint64\r\n1 IF ADDRESS_STRING(SIGNER()) == \"\" THEN GOTO 5\r\n2 IF ASSETVALUE(SCID()) != 1 THEN GOTO 5\r\n3 STORE(\"owner\", ADDRESS_STRING(SIGNER()))\r\n4 RETURN 0\r\n5 RETURN 1\r\nEnd Function\r\n\r\nFunction RetrieveNFT() Uint64\r\n1 IF LOAD(\"owner\") != ADDRESS_STRING(SIGNER()) THEN GOTO 5\r\n2 SEND_ASSET_TO_ADDRESS(SIGNER(), "1", SCID())\r\n3 STORE(\"owner\", \"\")\r\n4 RETURN 0\r\n5 RETURN 1\r\nEnd Function"},{"name":"collection","datatype":"S","value":"b3abec90704939099b25379230dfcebebf8e3be92d28feddde8f2383c9de4ec0"},{"name":"metadata","datatype":"S","value":"{\"attributes\":{\"Hobo Kingdom\":\"Scraptonia\",\"Hobo Name\":\"Tin Can Tom\",\"Secret Treasure\":\"Sculpture\"},\"description\":\"In the kingdom of Scraptonia, there was a funny trash monster named Tin Can Tom. He was known throughout the land as the Refuse soapbox racer. Tom built his soapbox racers out of spare trash that he scavenged from dumpsters and landfills. He would often use discarded banana peels and coffee grounds to grease the wheels and make his racers go faster. He was the champion of the annual Scraptonia Soapbox Derby, and his victories were all the more impressive considering he always started behind the other racers, pushing his trashy soapbox up to speed before jumping on and careening down the hill. His competitors would always complain about the foul smell emanating from his racer, but Tom didn't care; he knew that the stink was just the sweet smell of victory.\",\"id\":"13",\"image\":\"ipfs://QmbXwMGM5bWGp2kpF1KnPiZs2f64vKPGtwpnFJ1HNXsNk3/hobo13.jpg\",\"images\":{\"Sculpture\":\"ipfs://QmSyqc2TKTZQtqtrz71E3setCXasYbZPszbcQyfrKohd6N/hobosculpt13.jpg\"},\"name\":\"Dero Hobo #13\"}"},{"name":"metadataFormat","datatype":"S","value":"json"}]

Payload

Token (SCID):
DERO
Deposited:
none
Fees:
0.03553 DERO