Browse Source

book: add smart contract wishlist

x 2 năm trước cách đây
mục cha
commit
40635ff3e7
1 tập tin đã thay đổi với 11 bổ sung0 xóa
  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.
+