19 lines
280 B
Plaintext
Raw Normal View History

2014-12-26 09:36:37 +01:00
init:
// Setting the storage value
contract.storage[999] = 3
code:
// Using the storage on the call
a = contract.storage[999]
2014-12-26 09:36:37 +01:00
if a > 0:
contract.storage[999] = a - 1
// call to myself:
2014-06-18 10:18:30 +01:00
send((tx.gas/10 * 8), contract.address, 0)
2014-12-26 09:36:37 +01:00
else:
stop