diff --git a/docs/guides/lockup/examples/create-stream/01-lockup-linear.mdx b/docs/guides/lockup/examples/create-stream/01-lockup-linear.mdx index c56772c..74ae6e8 100644 --- a/docs/guides/lockup/examples/create-stream/01-lockup-linear.mdx +++ b/docs/guides/lockup/examples/create-stream/01-lockup-linear.mdx @@ -7,13 +7,13 @@ title: "Lockup Linear" import AdmonitionSimpleCode from "@site/docs/snippets/AdmonitionSimpleCode.mdx"; import CreateFunctions from "@site/docs/snippets/CreateFunctions.mdx"; import LockupDeployment from "@site/docs/snippets/LockupDeployment.mdx"; -import ParamAsset from "@site/docs/snippets/ParamAsset.mdx"; -import ParamBroker from "@site/docs/snippets/ParamBroker.mdx"; -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"; +import LockupParamAsset from "@site/docs/snippets/LockupParamAsset.mdx"; +import LockupParamBroker from "@site/docs/snippets/LockupParamBroker.mdx"; +import LockupParamCancelable from "@site/docs/snippets/LockupParamCancelable.mdx"; +import LockupParamRecipient from "@site/docs/snippets/LockupParamRecipient.mdx"; +import LockupParamSender from "@site/docs/snippets/LockupParamSender.mdx"; +import LockupParamTotalAmount from "@site/docs/snippets/LockupParamTotalAmount.mdx"; +import LockupParamTransferable from "@site/docs/snippets/LockupParamTransferable.mdx"; # Create a Lockup Linear stream @@ -106,17 +106,17 @@ LockupLinear.CreateWithDurations memory params; Let's review each parameter in detail. - + - + - + - + - + - + ### Durations @@ -129,7 +129,7 @@ params.durations = LockupLinear.Durations({ }); ``` - + ## Invoke the create function diff --git a/docs/guides/lockup/examples/create-stream/02-lockup-dynamic.mdx b/docs/guides/lockup/examples/create-stream/02-lockup-dynamic.mdx index d74864d..425f598 100644 --- a/docs/guides/lockup/examples/create-stream/02-lockup-dynamic.mdx +++ b/docs/guides/lockup/examples/create-stream/02-lockup-dynamic.mdx @@ -7,13 +7,13 @@ title: "Lockup Dynamic" import AdmonitionSimpleCode from "@site/docs/snippets/AdmonitionSimpleCode.mdx"; import CreateFunctions from "@site/docs/snippets/CreateFunctions.mdx"; import LockupDeployment from "@site/docs/snippets/LockupDeployment.mdx"; -import ParamAsset from "@site/docs/snippets/ParamAsset.mdx"; -import ParamBroker from "@site/docs/snippets/ParamBroker.mdx"; -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"; +import LockupParamAsset from "@site/docs/snippets/LockupParamAsset.mdx"; +import LockupParamBroker from "@site/docs/snippets/LockupParamBroker.mdx"; +import LockupParamCancelable from "@site/docs/snippets/LockupParamCancelable.mdx"; +import LockupParamRecipient from "@site/docs/snippets/LockupParamRecipient.mdx"; +import LockupParamSender from "@site/docs/snippets/LockupParamSender.mdx"; +import LockupParamTotalAmount from "@site/docs/snippets/LockupParamTotalAmount.mdx"; +import LockupParamTransferable from "@site/docs/snippets/LockupParamTransferable.mdx"; # Create a Lockup Dynamic stream @@ -114,17 +114,17 @@ LockupDynamic.CreateWithTimestamps memory params; Let's review each parameter in detail. - + - + - + - + - + - + ### Start time @@ -179,7 +179,7 @@ The `ud2x18` function wraps a basic integer to the `UD2x18` value type, which is ::: - + ## Invoke the create function diff --git a/docs/guides/lockup/examples/create-stream/03-lockup-tranched.mdx b/docs/guides/lockup/examples/create-stream/03-lockup-tranched.mdx index 2be2e32..f59e6a4 100644 --- a/docs/guides/lockup/examples/create-stream/03-lockup-tranched.mdx +++ b/docs/guides/lockup/examples/create-stream/03-lockup-tranched.mdx @@ -7,13 +7,13 @@ title: "Lockup Tranched" import AdmonitionSimpleCode from "@site/docs/snippets/AdmonitionSimpleCode.mdx"; import CreateFunctions from "@site/docs/snippets/CreateFunctions.mdx"; import LockupDeployment from "@site/docs/snippets/LockupDeployment.mdx"; -import ParamAsset from "@site/docs/snippets/ParamAsset.mdx"; -import ParamBroker from "@site/docs/snippets/ParamBroker.mdx"; -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"; +import LockupParamAsset from "@site/docs/snippets/LockupParamAsset.mdx"; +import LockupParamBroker from "@site/docs/snippets/LockupParamBroker.mdx"; +import LockupParamCancelable from "@site/docs/snippets/LockupParamCancelable.mdx"; +import LockupParamRecipient from "@site/docs/snippets/LockupParamRecipient.mdx"; +import LockupParamSender from "@site/docs/snippets/LockupParamSender.mdx"; +import LockupParamTotalAmount from "@site/docs/snippets/LockupParamTotalAmount.mdx"; +import LockupParamTransferable from "@site/docs/snippets/LockupParamTransferable.mdx"; # Create a Lockup Tranched stream @@ -113,17 +113,17 @@ LockupTranched.CreateWithDurations memory params; Let's review each parameter in detail. - + - + - + - + - + - + ### Tranches With Duration @@ -153,7 +153,7 @@ params.tranches[1] = ( In this example, the first tranche (`amount0`) will unlock at the end of the 4 weeks after the stream was created and the second tranche (`amount1`) will unlock after further 6 weeks. Thus, the total amount will be unlocked in 10 weeks. - + ## Invoke the create function diff --git a/docs/snippets/ParamAsset.mdx b/docs/snippets/LockupParamAsset.mdx similarity index 100% rename from docs/snippets/ParamAsset.mdx rename to docs/snippets/LockupParamAsset.mdx diff --git a/docs/snippets/ParamBroker.mdx b/docs/snippets/LockupParamBroker.mdx similarity index 100% rename from docs/snippets/ParamBroker.mdx rename to docs/snippets/LockupParamBroker.mdx diff --git a/docs/snippets/ParamCancelable.mdx b/docs/snippets/LockupParamCancelable.mdx similarity index 100% rename from docs/snippets/ParamCancelable.mdx rename to docs/snippets/LockupParamCancelable.mdx diff --git a/docs/snippets/ParamRecipient.mdx b/docs/snippets/LockupParamRecipient.mdx similarity index 100% rename from docs/snippets/ParamRecipient.mdx rename to docs/snippets/LockupParamRecipient.mdx diff --git a/docs/snippets/ParamSender.mdx b/docs/snippets/LockupParamSender.mdx similarity index 100% rename from docs/snippets/ParamSender.mdx rename to docs/snippets/LockupParamSender.mdx diff --git a/docs/snippets/ParamTotalAmount.mdx b/docs/snippets/LockupParamTotalAmount.mdx similarity index 100% rename from docs/snippets/ParamTotalAmount.mdx rename to docs/snippets/LockupParamTotalAmount.mdx diff --git a/docs/snippets/ParamTransferable.mdx b/docs/snippets/LockupParamTransferable.mdx similarity index 100% rename from docs/snippets/ParamTransferable.mdx rename to docs/snippets/LockupParamTransferable.mdx