add make ps_bridge subcommand

This commit is contained in:
fanghr 2022-05-13 20:13:18 +08:00
parent b04817b867
commit b363b326f3
No known key found for this signature in database
GPG key ID: 35CD9A71CD5D5870
4 changed files with 12 additions and 5 deletions

View file

@ -24,10 +24,10 @@ import Plutarch.Api.V1 (
PTxOut (..),
)
import Plutarch.Api.V1.AssocMap (PMap (PMap))
import Plutarch.Api.V1.Extra (passetClass, passetClassValueOf)
import Plutarch.Api.V1.Value (PValue (PValue))
import Plutarch.Builtin (pforgetData)
import Plutus.V1.Ledger.Value (AssetClass (AssetClass))
import Plutarch.Api.V1.Extra (passetClass, passetClassValueOf)
--------------------------------------------------------------------------------
@ -55,7 +55,8 @@ import Agora.Utils (
newtype AuthorityToken = AuthorityToken
{ authority :: AssetClass
-- ^ Token that must move in order for minting this to be valid.
} deriving stock (GHC.Generic)
}
deriving stock (GHC.Generic)
--------------------------------------------------------------------------------

View file

@ -81,7 +81,8 @@ data Stake = Stake
{ gtClassRef :: Tagged GTTag AssetClass
-- ^ Used when inlining the AssetClass of a 'PDiscrete' in the script code.
, proposalSTClass :: AssetClass
} deriving stock (GHC.Generic)
}
deriving stock (GHC.Generic)
{- | A lock placed on a Stake datum in order to prevent
depositing and withdrawing when votes are in place.