mirror of
https://github.com/fluencelabs/trust-graph
synced 2024-12-04 15:20:19 +00:00
175e51d5db
* Update aqua * Update aqua-lib * Update admin aqua * Remove aqua dep * Update example aqua * Fix package.json * Update admin/package.json Co-authored-by: Aleksey Proshutinskiy <justprosh@users.noreply.github.com> * Update aqua/package.json Co-authored-by: Aleksey Proshutinskiy <justprosh@users.noreply.github.com> * Update example/package.json Co-authored-by: Aleksey Proshutinskiy <justprosh@users.noreply.github.com> * Setup fluence in CI --------- Co-authored-by: Aleksey Proshutinskiy <justprosh@users.noreply.github.com>
15 lines
346 B
Plaintext
15 lines
346 B
Plaintext
aqua Export
|
|
|
|
import add_root_trust, add_trust, revoke from "@fluencelabs/trust-graph/trust-graph-api.aqua"
|
|
import Peer from "@fluencelabs/aqua-lib/builtin.aqua"
|
|
|
|
export add_root_trust, add_trust, revoke, timestamp_sec
|
|
|
|
alias PeerId: string
|
|
|
|
func timestamp_sec() -> u64:
|
|
on HOST_PEER_ID:
|
|
result <- Peer.timestamp_sec()
|
|
|
|
<- result
|