take care of Hans' remarks

This commit is contained in:
Nikita Fuchs 2020-10-21 16:01:04 +02:00
parent 694a9e13af
commit 7313957182
2 changed files with 3 additions and 21 deletions

View File

@ -528,6 +528,9 @@ string`, `String.sha3(s)` and `Crypto.sha3(s)` will give different results on AE
### Authorization interface
!!! attention
This feature is not part of the current protocol version and could be implemented in a future protocol upgrade.
When a Generalized account is authorized, the authorization function needs
access to the transaction and the transaction hash for the wrapped transaction. (A `GAMetaTx`
wrapping a transaction.) The transaction and the transaction hash is available in the primitive

View File

@ -14,7 +14,6 @@ The out-of-the-box namespaces are:
- [Bits](#Bits)
- [Bytes](#Bytes)
- [Char](#Char)
- [Int](#Int)
- [Map](#Map)
- [Address](#Address)
@ -151,26 +150,6 @@ Bytes.split(a : bytes(m + n)) : bytes(m) * bytes(n)
Splits a byte array at given index
## Char
#### to_int
```
Char.to_int(c : char) : int
```
Returns the UTF-8 codepoint of a character
#### from_int
```
Char.from_int(i : int) : option(char)
```
Opposite of [to_int](#to_int). Returns `None` if the integer doesn't correspond to a single (normalized) codepoint.
## Int
#### to_str