Support mixed Truthtrance questions in Richese auctions
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
1f3bc349ba
commit
6ce9a4b4a7
16 files changed
+504
-10
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import { mixedBidMinimum, type BidActionClaim } from './mixed-bid-question';
|
||||
import type { CompiledMixedAction, MixedActionExpression } from './mixed-action-question';
|
||||
import { parseRicheseBidClaim, type RicheseBidClaim } from './richese-bid-promises';
|
||||
|
||||
/** Every future bid leaf addresses one declaration in this exact public lot. */
|
||||
export type MixedRicheseBidClaim = {
|
||||
turn: number;
|
||||
event: string;
|
||||
mixed: MixedActionExpression<BidActionClaim>;
|
||||
};
|
||||
|
||||
/** After facts are frozen and constants folded, use the native Richese
|
||||
* commitment rather than creating another bidding or funding mechanism. */
|
||||
export function mixedRicheseBidResidual(
|
||||
claim: MixedRicheseBidClaim,
|
||||
compiled: CompiledMixedAction<BidActionClaim>,
|
||||
): RicheseBidClaim {
|
||||
return parseRicheseBidClaim({turn:claim.turn, event:claim.event, minimum:mixedBidMinimum(compiled)});
|
||||
}
|
||||
Reference in new issue
Block a user