store starting time of the proposal in its datum
... hardcoded to 0 upon creation for now
This commit is contained in:
parent
92c64f8d7a
commit
e8b87654f3
7 changed files with 26 additions and 2 deletions
|
|
@ -37,6 +37,7 @@ module Sample.Shared (
|
|||
proposalValidatorHash,
|
||||
proposalValidatorAddress,
|
||||
proposalTimingConfig,
|
||||
tmpProposalStartingTime,
|
||||
|
||||
-- ** Authority
|
||||
authorityToken,
|
||||
|
|
@ -76,6 +77,7 @@ import Agora.Proposal (
|
|||
ProposalThresholds (..),
|
||||
)
|
||||
import Agora.Proposal.Time (
|
||||
ProposalStartingTime (..),
|
||||
ProposalTimingConfig (..),
|
||||
)
|
||||
import Agora.Stake (Stake (..))
|
||||
|
|
@ -197,6 +199,10 @@ proposalTimingConfig =
|
|||
, executingTime = 3000
|
||||
}
|
||||
|
||||
-- FIXME: should be removed.
|
||||
tmpProposalStartingTime :: ProposalStartingTime
|
||||
tmpProposalStartingTime = ProposalStartingTime 0
|
||||
|
||||
------------------------------------------------------------------
|
||||
|
||||
treasuryOut :: TxOut
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue