SC CODE: // TEST TOKEN
// Any holder of these tokens may exchange them with the TEST treasury for the value stated on 'oildefi.io'
Function InitializePrivate() Uint64
10 STORE("owner",SIGNER()) // Store in DB ["owner"] = address
20 STORE("name","TestToken")
30 STORE("symbol","TEST")
45 STORE("native_symbol","TEST")
50 STORE("decimals",6)
55 STORE("native_decimals",6)
60 STORE("totalsupply",40000000)
80 SEND_ASSET_TO_ADDRESS(SIGNER(), 40000000, SCID())
90 RETURN 0
End Function
|
SC Arguments: [Name:SC_ACTION Type:uint64 Value:'1' Name:SC_CODE Type:string Value:' // TEST TOKEN
// Any holder of these tokens may exchange them with the TEST treasury for the value stated on 'oildefi.io'
Function InitializePrivate() Uint64
10 STORE("owner",SIGNER()) // Store in DB ["owner"] = address
20 STORE("name","TestToken")
30 STORE("symbol","TEST")
45 STORE("native_symbol","TEST")
50 STORE("decimals",6)
55 STORE("native_decimals",6)
60 STORE("totalsupply",40000000)
80 SEND_ASSET_TO_ADDRESS(SIGNER(), 40000000, SCID())
90 RETURN 0
End Function
'] |