Smart Contract Details
Open on Dero ExplorerInternal ID:
48196
Hash / Transaction:
Block:
Timestamp:
2024-03-01 15:43:42 UTC (1.7 years ago)
Creator:
xoil-woil
(+3 more)
(1359623)
Raw Data:
[{"name":"SC_ACTION","datatype":"U","value":1},{"name":"SC_CODE","datatype":"S","value":" // XETH TOKEN\n // Any holder of these tokens may exchange them with the XETH treasury for the value stated on 'ethdefi.io'\n\n\n Function InitializePrivate() Uint64\n\n 10 STORE(\"owner\",SIGNER()) // Store in DB [\"owner\"] = address\n 20 STORE(\"name\",\"XETH\")\n 30 STORE(\"symbol\",\"XETH\")\n 45 STORE(\"native_symbol\",\"XETH\")\n 50 STORE(\"decimals\",6)\n 55 STORE(\"native_decimals\",6)\n 60 STORE(\"totalsupply\",54720000000)\n 80 SEND_ASSET_TO_ADDRESS(SIGNER(), 54720000000, SCID())\n\n 90 RETURN 0\n\n End Function\n\n"}]
Code:
// XETH TOKEN
// Any holder of these tokens may exchange them with the XETH treasury for the value stated on 'ethdefi.io'
Function InitializePrivate() Uint64
10 STORE("owner",SIGNER()) // Store in DB ["owner"] = address
20 STORE("name","XETH")
30 STORE("symbol","XETH")
45 STORE("native_symbol","XETH")
50 STORE("decimals",6)
55 STORE("native_decimals",6)
60 STORE("totalsupply",54720000000)
80 SEND_ASSET_TO_ADDRESS(SIGNER(), 54720000000, SCID())
90 RETURN 0
End Function