nim-ethers/ethers/provider.nim

20 lines
467 B
Nim
Raw Normal View History

2022-01-18 13:26:41 +00:00
import ./basics
2022-01-20 11:56:18 +00:00
import ./transaction
2022-01-18 13:26:41 +00:00
export basics
2022-01-20 11:56:18 +00:00
export transaction
2022-01-18 13:26:41 +00:00
push: {.upraises: [].}
2022-01-18 11:10:20 +00:00
type
Provider* = ref object of RootObj
2022-01-18 13:26:41 +00:00
method getBlockNumber*(provider: Provider): Future[UInt256] {.base.} =
doAssert false, "not implemented"
2022-01-20 11:56:18 +00:00
method call*(provider: Provider, tx: Transaction): Future[seq[byte]] {.base.} =
doAssert false, "not implemented"
2022-01-24 11:12:52 +00:00
method getGasPrice*(provider: Provider): Future[UInt256] {.base.} =
doAssert false, "not implemented"