Replies: 2 comments 2 replies
-
I find the splitting of coins in 3 variable and an other deducted too heavy for developers. Maybe can we have a default behaviour that transfer only one of both (sequential/parallel) |
Beta Was this translation helpful? Give feedback.
-
@damip Thanks for this RFC. First, I agree with the three parameters and the derived one. However, following @AurelienFT comment, I'm of the opinion that each operation should have default behaviour of crediting and debiting either sequential or parallel. That is for CallSC and ExecuteSC operations. Only Transaction operation should deal with the four [ Or if we prefer, we can split the Transaction Operation into two operations, namely, Send Operation, and Transfer Operation. The Send operation can have default behave of sending the sequential coins like the current Transaction Operation, and the Transfer operation should deal with the four parameters [ |
Beta Was this translation helpful? Give feedback.
-
RFC: Transfer coins between parallel and sequential balances
Intro
There is currently no easy and ubiquitous way to transfer coins between the parallel and sequential balances, back and forth.
Constraints
CallSC, ExecuteSC, Transactions
target_sequential_coins = source_parallel_coins + source_sequential_coins - target_parallel_coins
Inside smart contracts
Beta Was this translation helpful? Give feedback.
All reactions