generate purescript stuff
This commit is contained in:
parent
70367702fb
commit
8c5f10279e
7 changed files with 478 additions and 0 deletions
24
agora-purescript-bridge/src/Agora/AuthorityToken.purs
Normal file
24
agora-purescript-bridge/src/Agora/AuthorityToken.purs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
-- File auto generated by purescript-bridge! --
|
||||
module Agora.AuthorityToken where
|
||||
|
||||
import Prelude
|
||||
|
||||
import Data.Generic.Rep (class Generic)
|
||||
import Data.Lens (Iso', Lens', Prism', iso, prism')
|
||||
import Data.Lens.Iso.Newtype (_Newtype)
|
||||
import Data.Lens.Record (prop)
|
||||
import Data.Maybe (Maybe(..))
|
||||
import Data.Newtype (class Newtype)
|
||||
import Plutus.V1.Ledger.Value (AssetClass)
|
||||
import Type.Proxy (Proxy(Proxy))
|
||||
|
||||
newtype AuthorityToken = AuthorityToken { authority :: AssetClass }
|
||||
|
||||
derive instance Generic AuthorityToken _
|
||||
|
||||
derive instance Newtype AuthorityToken _
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
_AuthorityToken :: Iso' AuthorityToken {authority :: AssetClass}
|
||||
_AuthorityToken = _Newtype
|
||||
Loading…
Add table
Add a link
Reference in a new issue