Transaction Details

Open on Dero Explorer
Internal ID:
2886438
Transaction Hash:
b2d7ebb03808f4bb06420ecaac6a832133262a4d9b9004cae68fffecb83501cd
Block:
Timestamp:
2022-11-08 09:20:32 UTC (2.8 years ago)
Type:
sc
Ring Size:
2
Payloads:
1
Caller:
BlackSwans (+9 more) (1397829)
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":"dbd76bfb09bfc674cdacbc5c5492eeb95d266480540e3ef149eb819cc9ba77ea"},{"name":"metadata","datatype":"S","value":"{\"attributes\":{\"Eyes\":\"Dead\",\"Style\":\"Special\"},\"id\":"505",\"image\":\"ipfs://QmRonBpyCS8rjYFYNWpqJkWm1bxpWt7twW6TZFaUCAxcKb/low/505.jpg\",\"name\":\"Black Swan #505\"}"},{"name":"metadataFormat","datatype":"S","value":"json"}]

Payload

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