mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-26 03:39:29 +00:00
10 lines
244 B
Plaintext
10 lines
244 B
Plaintext
|
|
# The sample demonstrates how you
|
|
# can simply create a program running
|
|
# on top of chain and saving values for
|
|
# futre use
|
|
if !(contract.storage[msg.data[0]]):
|
|
contract.storage[msg.data[0]] = msg.data[1]
|
|
return(1)
|
|
else:
|
|
return(0) |