generate purescript stuff
This commit is contained in:
parent
538e809d2c
commit
b04817b867
7 changed files with 478 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
-- File auto generated by purescript-bridge! --
|
||||
module Agora.Effect.TreasuryWithdrawal 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 Data.Tuple (Tuple)
|
||||
import Plutus.V1.Ledger.Credential (Credential)
|
||||
import Plutus.V1.Ledger.Value (Value)
|
||||
import Type.Proxy (Proxy(Proxy))
|
||||
|
||||
newtype TreasuryWithdrawalDatum = TreasuryWithdrawalDatum
|
||||
{ receivers :: Array (Tuple Credential Value)
|
||||
, treasuries :: Array Credential
|
||||
}
|
||||
|
||||
derive instance Generic TreasuryWithdrawalDatum _
|
||||
|
||||
derive instance Newtype TreasuryWithdrawalDatum _
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
_TreasuryWithdrawalDatum :: Iso' TreasuryWithdrawalDatum {receivers :: Array (Tuple Credential Value), treasuries :: Array Credential}
|
||||
_TreasuryWithdrawalDatum = _Newtype
|
||||
Loading…
Add table
Add a link
Reference in a new issue