Transaction Details

Open on Dero Explorer
Internal ID:
3451628
Transaction Hash:
c4f7eca0812f6608632ad088ad80e1651db6ca33581a466eaeaaae39f505febc
Block:
Timestamp:
2023-04-28 14:30:51 UTC (2.3 years ago)
Type:
sc
Ring Size:
2
Payloads:
1
Caller:
…qqwttkhq (1767947)
SC Data:
[{"name":"SC_ACTION","datatype":"U","value":"1"},{"name":"SC_CODE","datatype":"S","value":"Function Initialize(metadataFormat String, metadata String, freezeMetadata Uint64) Uint64\r\n1 IF EXISTS(\"owner\") == 1 THEN GOTO 11\r\n2 STORE(\"owner\", SIGNER())\r\n3 STORE(\"originalOwner\", SIGNER())\r\n4 STORE(\"type\", \"G45-C\")\r\n5 STORE(\"frozenAssets\", 0)\r\n6 STORE(\"frozenMetadata\", freezeMetadata)\r\n7 STORE(\"metadataFormat\", metadataFormat)\r\n8 STORE(\"metadata\", metadata)\r\n9 STORE(\"timestamp\", BLOCK_TIMESTAMP())\r\n10 RETURN 0\r\n11 RETURN 1\r\nEnd Function\r\n\r\nFunction Freeze(assets Uint64, metadata Uint64) Uint64\r\n1 IF LOAD(\"owner\") != SIGNER() THEN GOTO 7\r\n2 IF assets == 0 THEN GOTO 4\r\n3 STORE(\"frozenAssets\", 1)\r\n4 IF metadata == 0 THEN GOTO 6\r\n5 STORE(\"frozenMetadata\", 1)\r\n6 RETURN 0\r\n7 RETURN 1\r\nEnd Function\r\n\r\nFunction SetAssets(index Uint64, assets String) Uint64\r\n1 IF LOAD(\"owner\") != SIGNER() THEN GOTO 5\r\n2 IF LOAD(\"frozenAssets\") \u003e= 1 THEN GOTO 5\r\n3 STORE(\"assets_\" + index, assets)\r\n4 RETURN 0\r\n5 RETURN 1\r\nEnd Function\r\n\r\nFunction DelAssets(index Uint64) Uint64\r\n1 IF LOAD(\"owner\") != SIGNER() THEN GOTO 5\r\n2 IF LOAD(\"frozenAssets\") \u003e= 1 THEN GOTO 5\r\n3 DELETE(\"assets_\" + index)\r\n4 RETURN 0\r\n5 RETURN 1\r\nEnd Function\r\n\r\nFunction SetMetadata(format String, metadata String) Uint64\r\n1 IF LOAD(\"owner\") != SIGNER() THEN GOTO 6\r\n2 IF LOAD(\"frozenMetadata\") \u003e= 1 THEN GOTO 6\r\n3 STORE(\"metadataFormat\", format)\r\n4 STORE(\"metadata\", metadata)\r\n5 RETURN 0\r\n6 RETURN 1\r\nEnd Function\r\n\r\nFunction TransferOwnership(newOwner string) Uint64\r\n1 IF LOAD(\"owner\") != SIGNER() THEN GOTO 4\r\n2 STORE(\"tempOwner\", ADDRESS_RAW(newOwner))\r\n3 RETURN 0\r\n4 RETURN 1\r\nEnd Function\r\n\r\nFunction CancelTransferOwnership() Uint64\r\n1 IF LOAD(\"owner\") != SIGNER() THEN GOTO 4\r\n2 DELETE(\"tempOwner\")\r\n3 RETURN 0\r\n4 RETURN 1\r\nEnd Function\r\n\r\nFunction ClaimOwnership() Uint64\r\n1 IF LOAD(\"tempOwner\") != SIGNER() THEN GOTO 5\r\n2 STORE(\"owner\", SIGNER())\r\n3 DELETE(\"tempOwner\")\r\n4 RETURN 0\r\n5 RETURN 1\r\nEnd Function"},{"name":"freezeMetadata","datatype":"U","value":"0"},{"name":"metadata","datatype":"S","value":"{\"name\": \"Animal Kingdom PFPs\", \"description\": \"Animal Kingdom PFPs, is a derivative of Animal Kingdom Cards. Each and every PFP is available only through purchasing an \\\"Animal Kingdom Card\\\" from the (\\\"Collection Owner\\\").\", \"backdropImage\": \"ipfs://QmSGRjwZXQqksLb7gQ2zrz2KP2wdACYXS8mZZNZ7wDiAu4/pfps_backdrop.jpg\", \"alt-backdropImage\": \"https://dl.dropboxusercontent.com/s/r4d7de94zlbc9km/pfps_backdrop.jpg?dl=1\", \"links\": {\"Twitter\": \"https://twitter.com/derocards\", \"Medium\": \"https://medium.com/@derocards\"}}"},{"name":"metadataFormat","datatype":"S","value":"json"}]

Payload

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