take care of Hans' remarks
This commit is contained in:
parent
694a9e13af
commit
7313957182
@ -528,6 +528,9 @@ string`, `String.sha3(s)` and `Crypto.sha3(s)` will give different results on AE
|
|||||||
|
|
||||||
### Authorization interface
|
### 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
|
When a Generalized account is authorized, the authorization function needs
|
||||||
access to the transaction and the transaction hash for the wrapped transaction. (A `GAMetaTx`
|
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
|
wrapping a transaction.) The transaction and the transaction hash is available in the primitive
|
||||||
|
@ -14,7 +14,6 @@ The out-of-the-box namespaces are:
|
|||||||
|
|
||||||
- [Bits](#Bits)
|
- [Bits](#Bits)
|
||||||
- [Bytes](#Bytes)
|
- [Bytes](#Bytes)
|
||||||
- [Char](#Char)
|
|
||||||
- [Int](#Int)
|
- [Int](#Int)
|
||||||
- [Map](#Map)
|
- [Map](#Map)
|
||||||
- [Address](#Address)
|
- [Address](#Address)
|
||||||
@ -151,26 +150,6 @@ Bytes.split(a : bytes(m + n)) : bytes(m) * bytes(n)
|
|||||||
|
|
||||||
Splits a byte array at given index
|
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
|
## Int
|
||||||
|
|
||||||
#### to_str
|
#### to_str
|
||||||
|
Loading…
x
Reference in New Issue
Block a user