what is the "contract.storage[1000]" in the example?

diaobanxiandiaobanxian Member Posts: 16
edited February 2014 in Smart Contracts and Dapps
I have read the example code about sub currency, and what is the contract.storage[1000] ?
is it a special address ?

if tx.value < 100 * block.basefee: stop elif contract.storage[1000]: from = tx.sender to = tx.data[0] value = tx.data[1] if to <= 1000: stop if contract.storage[from] < value: stop contract.storage[from] = contract.storage[from] - value contract.storage[to] = contract.storage[to] + value else: contract.storage[MYCREATOR] = 10^18 contract.storage[1000] = 1
Post edited by StephanTual on

Comments

Sign In or Register to comment.