Explorar o código

book: add smart contract wishlist

x %!s(int64=2) %!d(string=hai) anos
pai
achega
40635ff3e7
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  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
 
 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.
+