Update sophia_stdlib.md

This commit is contained in:
Nikita Fuchs 2021-10-28 17:58:34 +02:00 committed by GitHub
parent 6d747b0334
commit b28418bf76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -386,7 +386,7 @@ Registers new oracle answering questions of type `'a` with answers of type `'b`.
address is the same as the contract `sign` is ignored and can be left out entirely. address is the same as the contract `sign` is ignored and can be left out entirely.
* The `qfee` is the minimum query fee to be paid by a user when asking a question of the oracle. * The `qfee` is the minimum query fee to be paid by a user when asking a question of the oracle.
* The `ttl` is the Time To Live for the oracle in key blocks, either relative to the current * The `ttl` is the Time To Live for the oracle in key blocks, either relative to the current
key block height (`RelativeTTL(delta)` where `delta` must be ≤ `64796`) or a fixed key block height (`FixedTTL(height)`). key block height (`RelativeTTL(delta)`) or a fixed key block height (`FixedTTL(height)`).
* The type `'a` is the type of the question to ask. * The type `'a` is the type of the question to ask.
* The type `'b` is the type of the oracle answers. * The type `'b` is the type of the oracle answers.