open class GenesisFile
(source)
Utility to read genesis config files and translate them to a block.
<init> |
GenesisFile(nonce: String!, difficulty: String!, mixhash: String!, coinbase: String!, timestamp: String!, extraData: String!, gasLimit: String!, parentHash: String!, allocs: MutableMap<String!, String!>!, chainId: Int, forks: MutableList<Long!>!) |
getAllocations |
open fun getAllocations(): MutableMap<Address!, Wei!>! |
getChainId |
open fun getChainId(): Int |
getForks |
open fun getForks(): MutableList<Long!>! |
read |
open static fun read(contents: ByteArray!): GenesisFile! |
toBlock |
open fun toBlock(): Block! |