mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-10 03:45:44 +00:00
28012ac1c8
+ moving Serpent samples inside the studio
10 lines
247 B
Plaintext
10 lines
247 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) |