| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Plutarch.Extra.StateThread
Synopsis
- withStateThread :: forall (s :: S). Term s PMintingPolicy -> Term s PTxOutRef -> Term s PMintingPolicy
- pwithStateThread :: forall (s :: S). Term s (PMintingPolicy :--> (PTxOutRef :--> PMintingPolicy))
- withStateThreadMulti :: forall (s :: S). Term s PMintingPolicy -> Term s PTxOutRef -> Term s PMintingPolicy
- pwithStateThreadMulti :: forall (s :: S). Term s (PMintingPolicy :--> (PTxOutRef :--> PMintingPolicy))
Documentation
Arguments
| :: forall (s :: S). Term s PMintingPolicy | Minting policy to wrap |
| -> Term s PTxOutRef | Initial spend |
| -> Term s PMintingPolicy |
Adds a state thread to a minting policy. Parameterized at the Haskell level.
Since: 3.19.0
pwithStateThread :: forall (s :: S). Term s (PMintingPolicy :--> (PTxOutRef :--> PMintingPolicy)) Source #
Adds a state thread to a minting policy. Parameterized at the Plutarch level
Since: 3.19.0
Arguments
| :: forall (s :: S). Term s PMintingPolicy | Minting policy to wrap |
| -> Term s PTxOutRef | Initial spend |
| -> Term s PMintingPolicy |
Adds a state thread to a minting policy allowing more than one state thread token to be minted Parameterized at the Haskell level.
Since: 3.21.0
pwithStateThreadMulti :: forall (s :: S). Term s (PMintingPolicy :--> (PTxOutRef :--> PMintingPolicy)) Source #
Adds a state thread to a minting policy allowing more than one state thread token to be minted Parameterized at the Plutarch level.
Since: 3.21.0