Update sophia_stdlib.md (#350)

* Update sophia_stdlib.md

add more precise description of oracle TTLs

* Update sophia_stdlib.md
This commit is contained in:
Nikita Fuchs 2022-06-18 12:03:46 +02:00 committed by GitHub
parent e46226a693
commit 7b8957b46a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -812,8 +812,8 @@ Registers new oracle answering questions of type `'a` with answers of type `'b`.
private key of the account, proving you have the private key of the oracle to be. If the
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 `ttl` is the Time To Live for the oracle, either relative to the current
height (`RelativeTTL(delta)`) or a fixed height (`FixedTTL(height)`).
* The `ttl` is the Time To Live for the oracle in key blocks, either relative to the current
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 `'b` is the type of the oracle answers.