tuweni / org.apache.tuweni.faucet.controller / FaucetController

FaucetController

@Controller class FaucetController (source)

Constructors

<init>

FaucetController(vertx: Vertx, wallet: Wallet)

Properties

chainId

var chainId: Int?

gas

var gas: Long?

gasPrice

var gasPrice: Long?

jsonrpcClient

var jsonrpcClient: JSONRPCClient?

maxETH

var maxETH: Long?

rpcHost

var rpcHost: String?

rpcPort

var rpcPort: Int?

vertx

val vertx: Vertx

wallet

val wallet: Wallet

Functions

createClient

fun createClient(): Unit

index

fun index(model: Model): String

send

fun send(request: FaucetRequest, model: Model): String