14 lines
306 B
Plaintext
Raw Normal View History

module Export
import SignResult, Sig from "../aqua/services.aqua"
export Sig, DataProvider, callSig
2022-02-04 22:39:41 +03:00
service DataProvider("data"):
provide_data() -> []u8
func callSig(sigId: string) -> SignResult:
data <- DataProvider.provide_data()
Sig sigId
signature <- Sig.sign(data)
<- signature