Replies: 2 comments 2 replies
-
Considering what you said here, it's not clear to me what the motivation for having this discussion is. Do you think the reasons outlined above might change in time? |
Beta Was this translation helpful? Give feedback.
-
Relaying a comment left by @IaroslavMazur on Notion on January 27:
|
Beta Was this translation helpful? Give feedback.
-
Context
I wrote a minimal spec for a SabVM-specific Solidity fork in this discussion. I am extracting the spec here so we can maintain and develop it separately as more ideas come to mind.
Spec
Native Tokens
msg.token_ids
: array ofuint256
IDsmsg.token_amounts
: array ofuint256
values transferred<address payable>.transfer_tokens(uint256[] token_ids, uint256[] token_values)
(name TBD, the idea is to distinguish from the existing.transfer
)<address payable>.call{ token_ids: [1, 2], token_values: [36, 144)}(data)
receive(uint256[] calldata token_ids, uint256[] calldata token_values)
fallback(uint256[] calldata token_ids, uint256[] calldata token_values)
Streams
<address>.stream_create
<address>.stream_update
<address>.stream_delete
TODO
.send
and.transfer
for ETH transfers?payable
keyword - what to do with it?References
Beta Was this translation helpful? Give feedback.
All reactions