SC Arguments: [Name:SC_ACTION Type:uint64 Value:'1' Name:SC_CODE Type:string Value:'Function Initialize() Uint64
10 IF SIGNER() == address_raw("dero1qyw4fl3dupcg5qlrcsvcedze507q9u67lxfpu8kgnzp04aq73yheqqg2ctjn4") THEN GOTO 30
20 RETURN 1
30 RETURN 0
End Function
Function Post(comment String,amount Uint64,addr String) Uint64
10 STORE(HEX(TXID()),comment+"::"+amount+"::"+addr)
20 RETURN 0
End Function
Function Delete(t String) Uint64
5 IF SIGNER() == address_raw("dero1qyw4fl3dupcg5qlrcsvcedze507q9u67lxfpu8kgnzp04aq73yheqqg2ctjn4") THEN GOTO 10
7 RETURN 1
10 STORE(t,"null")
20 RETURN 0
End Function
Function UpdateCode(code String) Uint64
10 IF SIGNER() == ADDRESS_RAW("dero1qyw4fl3dupcg5qlrcsvcedze507q9u67lxfpu8kgnzp04aq73yheqqg2ctjn4") THEN GOTO 30
20 RETURN 1
30 UPDATE_SC_CODE(code)
40 RETURN 0
End Function
'] |