Transaction Details

Open on Dero Explorer
Internal ID:
3484735
Transaction Hash:
ce84cc3a47771bfda4e950de6b372f8cc8b6e79e69f7db57e08659238d84a3f7
Block:
Timestamp:
2023-05-27 18:51:00 UTC (2.3 years ago)
Type:
sc
Ring Size:
2
Payloads:
1
Caller:
…qgratvz9 (1385872)
SC Data:
[{"name":"SC_ACTION","datatype":"U","value":"1"},{"name":"SC_CODE","datatype":"S","value":"// derbnb property contract v1\n\nFunction InitializePrivate() Uint64\n\t10 IF EXISTS(\"metadata\") THEN GOTO 100\n\t20 SEND_ASSET_TO_ADDRESS(SIGNER(), "1", SCID())\n\t30 STORE(\"metadata\",\"\")\n\t40 STORE(\"changed\", 0)\n\t50 RETURN 0\n\t100 RETURN 1\nEnd Function\n\nFunction StoreLocation(location String) Uint64\n\t10 IF ASSETVALUE(SCID()) != 1 THEN GOTO 100\n\t20 IF location == \"\" THEN GOTO 100\n\t30 STORE(\"location_\"+ITOA(LOAD(\"changed\")), location)\n\t40 IF LOAD(\"changed\") \u003c 6 THEN GOTO 60\n\t50 DELETE(\"location_\"+ITOA(LOAD(\"changed\")-5))\n\t60 STORE(\"changed\", LOAD(\"changed\")+1)\n\t70 SEND_ASSET_TO_ADDRESS(SIGNER(), "1", SCID())\n\t80 RETURN 0 \n\t100 RETURN 1\nEnd Function\n\nFunction UpdateMetadata(metadata String) Uint64\n\t10 IF ASSETVALUE(SCID()) != 1 THEN GOTO 100\n\t20 STORE(\"metadata\", metadata)\n\t30 SEND_ASSET_TO_ADDRESS(SIGNER(), "1", SCID())\n\t40 RETURN 0\n\t100 RETURN 1\nEnd Function"}]

Payload

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