mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-12 02:13:08 +00:00
18 lines
371 B
Nim
18 lines
371 B
Nim
import pkg/ethers
|
|
import ../clock
|
|
import ../marketplace
|
|
import ../market
|
|
import ../../asyncyeah
|
|
|
|
export clock
|
|
|
|
type
|
|
ContractInteractions* = ref object of RootObj
|
|
clock*: OnChainClock
|
|
|
|
method start*(self: ContractInteractions) {.asyncyeah, base.} =
|
|
await self.clock.start()
|
|
|
|
method stop*(self: ContractInteractions) {.asyncyeah, base.} =
|
|
await self.clock.stop()
|