Document Chain.spend and sort Chain functions #951

Merged
zxq9 merged 2 commits from add_chain_spend_doc into master 2023-06-19 18:49:03 +09:00
Showing only changes of commit 1e24462efc - Show all commits

View File

@ -612,7 +612,17 @@ The difficulty of the current block.
```
Chain.event(e : event) : unit
```
Emits the event. To use this function one needs to define the `event` type as a `datatype` in the contract.
Emits the event. To use this function one needs to define the `event` type as a
`datatype` in the contract.
##### gas\_limit
```
Chain.gas_limit : int
```
The gas limit of the current block.
##### spend