plutus-use-cases-1.2.0.0: Collection of smart contracts to develop the plutus/wallet interface
Safe HaskellNone
LanguageHaskell2010

Plutus.Contracts.Prism.STO

Synopsis

Documentation

data STOData Source #

Constructors

STOData 

Fields

Instances

Instances details
Eq STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Show STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Generic STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Associated Types

type Rep STOData :: Type -> Type Source #

FromJSON STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Methods

parseJSON :: Value -> Parser STOData

parseJSONList :: Value -> Parser [STOData]

ToJSON STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Methods

toJSON :: STOData -> Value

toEncoding :: STOData -> Encoding

toJSONList :: [STOData] -> Value

toEncodingList :: [STOData] -> Encoding

ToData STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Methods

toBuiltinData :: STOData -> BuiltinData

FromData STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Methods

fromBuiltinData :: BuiltinData -> Maybe STOData

UnsafeFromData STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Methods

unsafeFromBuiltinData :: BuiltinData -> STOData

Lift DefaultUni STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Methods

lift :: STOData -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ())

Typeable DefaultUni STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

Methods

typeRep :: Proxy STOData -> RTCompile DefaultUni fun (Type TyName DefaultUni ())

type Rep STOData Source # 
Instance details

Defined in Plutus.Contracts.Prism.STO

type Rep STOData = D1 ('MetaData "STOData" "Plutus.Contracts.Prism.STO" "plutus-use-cases-1.2.0.0-BuYOLXrynPcLosE012cowc" 'False) (C1 ('MetaCons "STOData" 'PrefixI 'True) (S1 ('MetaSel ('Just "stoIssuer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PaymentPubKeyHash) :*: (S1 ('MetaSel ('Just "stoTokenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TokenName) :*: S1 ('MetaSel ('Just "stoCredentialToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value))))

policy :: STOData -> MintingPolicy Source #

coins :: STOData -> Integer -> Value Source #

A Value of a number of coins issued in the STO