Skip to content

Commit

Permalink
feat: document "Transferable" flag
Browse files Browse the repository at this point in the history
refactor: update demot NFT
  • Loading branch information
PaulRBerg committed Dec 21, 2023
1 parent ed052d2 commit 8d9de8c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/contracts/v2/guides/create-stream/01-lockup-linear.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import ParamCancelable from "@site/docs/snippets/ParamCancelable.mdx";
import ParamRecipient from "@site/docs/snippets/ParamRecipient.mdx";
import ParamSender from "@site/docs/snippets/ParamSender.mdx";
import ParamTotalAmount from "@site/docs/snippets/ParamTotalAmount.mdx";
import ParamTransferable from "@site/docs/snippets/ParamTransferable.mdx";

# Create a Lockup Linear stream

Expand Down Expand Up @@ -120,6 +121,8 @@ Let's review each parameter in detail.

<ParamCancelable />

<ParamTransferable />

<ParamBroker />

### Durations
Expand Down
3 changes: 3 additions & 0 deletions docs/contracts/v2/guides/create-stream/02-lockup-dynamic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import ParamCancelable from "@site/docs/snippets/ParamCancelable.mdx";
import ParamRecipient from "@site/docs/snippets/ParamRecipient.mdx";
import ParamSender from "@site/docs/snippets/ParamSender.mdx";
import ParamTotalAmount from "@site/docs/snippets/ParamTotalAmount.mdx";
import ParamTransferable from "@site/docs/snippets/ParamTransferable.mdx";

# Create a Lockup Dynamic stream

Expand Down Expand Up @@ -127,6 +128,8 @@ Let's review each parameter in detail.

<ParamCancelable />

<ParamTransferable />

<ParamBroker />

### Start time
Expand Down
7 changes: 7 additions & 0 deletions docs/snippets/ParamTransferable.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Transferable

Boolean that indicates whether the stream will be transferable or not.

```solidity
params.transferable = true;
```
6 changes: 3 additions & 3 deletions static/img/nft.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d9de8c

Please sign in to comment.