aqua-lib/subnet.aqua

18 lines
390 B
Plaintext
Raw Normal View History

2024-01-12 12:13:52 +00:00
aqua SubnetLib declares *
2023-09-21 15:08:24 +00:00
data Worker:
pat_id: string
host_id: string
worker_id: ?string
2023-09-21 15:08:24 +00:00
data SubnetResolveResult:
-- Was call successful or not
success: bool
-- Error message. Will be null if the call is successful
error: ?string
workers: []Worker
service Subnet("subnet"):
-- Returns a list of workers by deal id
resolve(deal_id: string) -> SubnetResolveResult