You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates the stream with the sender msg.sender and the recipient recipient for token with ID token_id by setting the payment rate to new_amount per new_cadence.
Input
recipient of type `Address
token_id of type U256
new_amount of type U256
new_cadence of type U16
Output
None.
Receipt
New receipt of type StreamUpdate
Data
The sender's updated terminus of type U256
Errors
The update MUST NOT cause the sender to be either insolvent or have a solvency lower than 1 hour
Notes
Can be executed either by an EOA via one of the new transaction types or by a contract
I went with STREAMUPDATE instead of UPDATESTREAM so that all streaming-related opcodes can be grouped together
Spec
Updates the stream with the sender
msg.senderand the recipientrecipientfor token with IDtoken_idby setting the payment rate tonew_amountpernew_cadence.Input
recipientof type `Addresstoken_idof typeU256new_amountof typeU256new_cadenceof typeU16Output
None.
Receipt
StreamUpdateU256Errors
Notes
STREAMUPDATEinstead ofUPDATESTREAMso that all streaming-related opcodes can be grouped togetherRelated
Tasks
Discussions