Просмотр исходного кода

book: add smart contract wishlist

x 2 лет назад
Родитель
Сommit
40635ff3e7
1 измененных файлов с 11 добавлено и 0 удалено
  1. 11 0
      doc/src/arch/sc/sc.md

+ 11 - 0
doc/src/arch/sc/sc.md

@@ -1,3 +1,14 @@
 # Smart Contracts on DarkFi
 # Smart Contracts on DarkFi
 
 
 This section of the book documents smart contract development.
 This section of the book documents smart contract development.
+
+## Wishlist
+
+* Explicit FunctionId
+* Invoke function from another function
+* Function params use an ABI which is introspectable
+    * This could be done using a separate schema which is loaded.
+      See [Solidity's ABI spec](https://docs.soliditylang.org/en/latest/abi-spec.html).
+    * This could be used to build the param args like in python with `**kwargs`.
+* Backtrace accessible by functions, so they can check the parent caller.
+