@@ -25,9 +25,9 @@ const SelectedOptionContext = createContext<ISelectedOptionContext>({
2525
2626interface IFundingContext {
2727 winningChoice : string | undefined ;
28- paidFees : BigInt [ ] | undefined ;
29- loserRequiredFunding : BigInt | undefined ;
30- winnerRequiredFunding : BigInt | undefined ;
28+ paidFees : bigint [ ] | undefined ;
29+ loserRequiredFunding : bigint | undefined ;
30+ winnerRequiredFunding : bigint | undefined ;
3131 fundedChoices : string [ ] | undefined ;
3232}
3333const FundingContext = createContext < IFundingContext > ( {
@@ -109,12 +109,12 @@ const getWinningChoice = (dispute?: ClassicAppealQuery["dispute"]) => {
109109 return currentLocalRound ?. winningChoice ;
110110} ;
111111
112- const getLoserRequiredFunding = ( appealCost : bigint , loser_stake_multiplier : bigint ) : BigInt =>
112+ const getLoserRequiredFunding = ( appealCost : bigint , loser_stake_multiplier : bigint ) : bigint =>
113113 notUndefined ( [ appealCost , loser_stake_multiplier ] )
114114 ? appealCost + ( loser_stake_multiplier * appealCost ) / ONE_BASIS_POINT
115115 : BigInt ( 0 ) ;
116116
117- const getWinnerRequiredFunding = ( appealCost : bigint , winner_stake_multiplier : bigint ) : BigInt =>
117+ const getWinnerRequiredFunding = ( appealCost : bigint , winner_stake_multiplier : bigint ) : bigint =>
118118 notUndefined ( [ appealCost , winner_stake_multiplier ] )
119119 ? appealCost + ( winner_stake_multiplier * appealCost ) / ONE_BASIS_POINT
120120 : BigInt ( 0 ) ;
0 commit comments