Skip to content

Conversation

@andreivladbrg
Copy link
Member

@andreivladbrg andreivladbrg commented Nov 4, 2025

Closes #405

Also hardcodes the requirements for flow.withdraw

```solidity
function withdraw(uint256 streamId) external {
FLOW.withdraw({ streamId: streamId, to: address(0xCAFE), amount: 2.71828e18 });
function withdraw(uint256 streamId) external payable {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use code blocks for these snippets too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smol-ninja smol-ninja merged commit f95d7b4 into main Nov 4, 2025
1 check was pending
@smol-ninja smol-ninja deleted the feat/withdraw-fee-in-examples branch November 4, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update examples with withdraw fees

3 participants