File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ module HydraAuctionOnchain.Types.AuctionTerms
4
4
( PAuctionTerms (PAuctionTerms )
5
5
, pbiddingPeriod
6
6
, pcleanupPeriod
7
- , ppenaltyPeriod
8
7
, ppostBiddingPeriod
9
8
, ppostPurchasePeriod
10
9
, ppurchasePeriod
@@ -152,14 +151,6 @@ ppurchasePeriod = phoistAcyclic $
152
151
# auctionTermsFields. biddingEnd
153
152
# auctionTermsFields. purchaseDeadline
154
153
155
- ppenaltyPeriod :: Term s (PAuctionTerms :--> PPOSIXTimeRange )
156
- ppenaltyPeriod = phoistAcyclic $
157
- plam $ \ auctionTerms -> P. do
158
- auctionTermsFields <- pletFields @ [" purchaseDeadline" , " cleanup" ] auctionTerms
159
- pintervalFiniteClosedOpen
160
- # auctionTermsFields. purchaseDeadline
161
- # auctionTermsFields. cleanup
162
-
163
154
pcleanupPeriod :: Term s (PAuctionTerms :--> PPOSIXTimeRange )
164
155
pcleanupPeriod = phoistAcyclic $
165
156
plam $ \ auctionTerms ->
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import HydraAuctionOnchain.Types.AuctionTerms
33
33
( PAuctionTerms
34
34
, pbiddingPeriod
35
35
, pcleanupPeriod
36
- , ppenaltyPeriod
36
+ , ppostPurchasePeriod
37
37
, ppurchasePeriod
38
38
, ptotalAuctionFees
39
39
)
@@ -416,10 +416,9 @@ pcheckSellerReclaims = phoistAcyclic $
416
416
passert $ (errCode AuctionEscrow'SellerReclaims'Error'UnexpectedTokensMintedBurned ) $
417
417
pfromData txInfoFields. mint #== mempty
418
418
419
- -- This redeemer can only be used during
420
- -- the penalty period.
419
+ -- This redeemer can only be used after the purchase deadline.
421
420
passert $ (errCode AuctionEscrow'SellerReclaims'Error'IncorrectValidityInterval ) $
422
- pcontains # (ppenaltyPeriod # auctionTerms) # txInfoFields. validRange
421
+ pcontains # (ppostPurchasePeriod # auctionTerms) # txInfoFields. validRange
423
422
424
423
------------------------------------------------------------------
425
424
-- Check auction escrow state transition
You can’t perform that action at this time.
0 commit comments