run formatter and linter
This commit is contained in:
parent
c404cef850
commit
6a96d68e01
3 changed files with 12 additions and 12 deletions
|
|
@ -158,7 +158,7 @@ proposalCreation =
|
||||||
|
|
||||||
---
|
---
|
||||||
ownInputRef :: TxOutRef
|
ownInputRef :: TxOutRef
|
||||||
ownInputRef = (TxOutRef "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865" 1)
|
ownInputRef = TxOutRef "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865" 1
|
||||||
in ScriptContext
|
in ScriptContext
|
||||||
{ scriptContextTxInfo =
|
{ scriptContextTxInfo =
|
||||||
TxInfo
|
TxInfo
|
||||||
|
|
@ -306,7 +306,7 @@ mintGAT =
|
||||||
--
|
--
|
||||||
|
|
||||||
ownInputRef :: TxOutRef
|
ownInputRef :: TxOutRef
|
||||||
ownInputRef = (TxOutRef "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865" 1)
|
ownInputRef = TxOutRef "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865" 1
|
||||||
in ScriptContext
|
in ScriptContext
|
||||||
{ scriptContextTxInfo =
|
{ scriptContextTxInfo =
|
||||||
TxInfo
|
TxInfo
|
||||||
|
|
@ -421,7 +421,7 @@ mutateState =
|
||||||
--
|
--
|
||||||
|
|
||||||
ownInputRef :: TxOutRef
|
ownInputRef :: TxOutRef
|
||||||
ownInputRef = (TxOutRef "f867238a04597c99a0b9858746557d305025cca3b9f78ea14d5c88c4cfcf58ff" 1)
|
ownInputRef = TxOutRef "f867238a04597c99a0b9858746557d305025cca3b9f78ea14d5c88c4cfcf58ff" 1
|
||||||
in ScriptContext
|
in ScriptContext
|
||||||
{ scriptContextTxInfo =
|
{ scriptContextTxInfo =
|
||||||
TxInfo
|
TxInfo
|
||||||
|
|
|
||||||
|
|
@ -38,14 +38,17 @@ module Spec.Sample.Shared (
|
||||||
proposalValidatorAddress,
|
proposalValidatorAddress,
|
||||||
|
|
||||||
-- ** Authority
|
-- ** Authority
|
||||||
authorityToken ,
|
authorityToken,
|
||||||
authorityTokenSymbol,
|
authorityTokenSymbol,
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
import Agora.AuthorityToken
|
||||||
import Agora.Governor (
|
import Agora.Governor (
|
||||||
Governor (Governor),
|
Governor (Governor),
|
||||||
)
|
)
|
||||||
import Agora.Governor.Scripts (
|
import Agora.Governor.Scripts (
|
||||||
|
authorityTokenFromGovernor,
|
||||||
|
authorityTokenSymbolFromGovernor,
|
||||||
governorPolicy,
|
governorPolicy,
|
||||||
governorSTAssetClassFromGovernor,
|
governorSTAssetClassFromGovernor,
|
||||||
governorValidator,
|
governorValidator,
|
||||||
|
|
@ -57,8 +60,6 @@ import Agora.Governor.Scripts (
|
||||||
stakeSTAssetClassFromGovernor,
|
stakeSTAssetClassFromGovernor,
|
||||||
stakeSTSymbolFromGovernor,
|
stakeSTSymbolFromGovernor,
|
||||||
stakeValidatorHashFromGovernor,
|
stakeValidatorHashFromGovernor,
|
||||||
authorityTokenFromGovernor,
|
|
||||||
authorityTokenSymbolFromGovernor,
|
|
||||||
)
|
)
|
||||||
import Agora.Proposal (
|
import Agora.Proposal (
|
||||||
Proposal (..),
|
Proposal (..),
|
||||||
|
|
@ -84,7 +85,6 @@ import Plutus.V1.Ledger.Api (
|
||||||
import Plutus.V1.Ledger.Scripts (Validator, ValidatorHash)
|
import Plutus.V1.Ledger.Scripts (Validator, ValidatorHash)
|
||||||
import Plutus.V1.Ledger.Value (AssetClass)
|
import Plutus.V1.Ledger.Value (AssetClass)
|
||||||
import Plutus.V1.Ledger.Value qualified as Value
|
import Plutus.V1.Ledger.Value qualified as Value
|
||||||
import Agora.AuthorityToken
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue