Transaction Details
Open on Dero ExplorerInternal ID:
3450009
Transaction Hash:
fd1c343ae1b0fe0cdd8c6d001bc15013d350ffb3b21a0f80418cb60da25497c5
Block:
Timestamp:
2023-04-28 08:03:26 UTC (2.3 years ago)
Type:
sc
Ring Size:
2
Payloads:
1
Caller:
…qq8aqgyg
(1764280)
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":"8edea52b9a8a041e3b579ca2d81ea3d3e87e148ba4409273d53039991afa91be"},{"name":"metadata","datatype":"S","value":"{\"attributes\":{\"Background\":\"Lavender\",\"Body\":\"Black Sport Jacket\",\"Eyes\":\"Blank Stare\",\"Face\":\"None\",\"Head\":\"Skater Snapback\",\"Mouth\":\"Drooling\",\"Skin\":\"Caramel\"},\"id\":"1227",\"image\":\"ipfs://QmZM6onfiS8yUHFwfVypYnc6t9ZrvmpT43F9HFTou6LJyg/1227.png\",\"name\":\"Dero Degen #1227\"}"},{"name":"metadataFormat","datatype":"S","value":"json"}]
Payload
Token (SCID):
DERO
Deposited:
none
Fees:
0.01931 DERO