2022-01-20 13:39:37 +00:00
|
|
|
import ./basics
|
2022-01-24 11:12:52 +00:00
|
|
|
import ./provider
|
2022-01-20 13:39:37 +00:00
|
|
|
|
|
|
|
export basics
|
|
|
|
|
|
|
|
type Signer* = ref object of RootObj
|
|
|
|
|
2022-01-24 11:12:52 +00:00
|
|
|
method provider*(signer: Signer): Provider {.base.} =
|
2022-01-20 13:39:37 +00:00
|
|
|
doAssert false, "not implemented"
|
2022-01-24 11:12:52 +00:00
|
|
|
|
|
|
|
method getAddress*(signer: Signer): Future[Address] {.base.} =
|
|
|
|
doAssert false, "not implemented"
|
|
|
|
|
|
|
|
method getGasPrice*(signer: Signer): Future[UInt256] {.base.} =
|
|
|
|
signer.provider.getGasPrice()
|