Closed o-jasper closed 10 years ago
I have added block.number
, block.difficulty
and block.parenthash
. They have default values, but can be set through the Block constructor with named arguments.
The idiomatic way to get the contract balance in CLL is indeed block.account_balance(contract.address)
.
I already added for my own purposes(serving-and-viewing data PoC)
block.number
andblock.parenthash
just by settingself.thing
. Dont see contract.balance or something.. (well,block.account_balance(contract.address)
i suppose)