@@ -600,6 +600,97 @@ export default {
600600 </ >
601601 ) ,
602602 } ,
603+ shutdownWarning : {
604+ title : "Branch Shutdown" ,
605+ borrowMessage : ( collName : string ) => (
606+ < >
607+ The { collName } branch is in shutdown mode. New loans cannot be opened on this branch.
608+ </ >
609+ ) ,
610+ loanMessage : ( collName : string ) => (
611+ < >
612+ The { collName } branch is in shutdown mode. Loan adjustments are not available. You can only close your loan.
613+ </ >
614+ ) ,
615+ } ,
616+ urgentRedeemScreen : {
617+ headingTitle : "Shutdown Redemptions" ,
618+ headingTitleActive : "Shutdown Redemption" ,
619+ selectBranchLabel : "Select branch" ,
620+ redeemFieldLabel : "You redeem" ,
621+ insufficientBalance : ( balance : string ) => `Insufficient BOLD balance. You have ${ balance } BOLD.` ,
622+ amountCapped : ( amount : string ) => `Capped to ${ amount } BOLD (max amount redeemable).` ,
623+ youReceive : "You receive" ,
624+ bonusLabel : ( bonusPct : string ) => `Including ${ bonusPct } bonus` ,
625+ bonusTooltip : ( bonusPct : string ) => `Shutdown redemptions include a ${ bonusPct } bonus on the collateral received.` ,
626+ slippageTolerance : "Slippage tolerance" ,
627+ manualTrovesLabel : "Manually selected troves" ,
628+ autoTrovesLabel : "Auto-selected troves" ,
629+ useAutoSelection : "Use auto-selection" ,
630+ manuallySelectTroves : "Manually select troves" ,
631+ trovesCount : ( count : number ) => `${ count } ${ count === 1 ? "trove" : "troves" } will be used for this redemption.` ,
632+ action : "Redeem" ,
633+ backLink : "Back" ,
634+ successLink : "Go to the Dashboard" ,
635+ successMessage : "The shutdown redemption was successful." ,
636+ noShutdown : {
637+ title : "No Branches in Shutdown Mode" ,
638+ body : (
639+ < >
640+ Shutdown redemptions are only available when a branch is in shutdown mode. Currently, all branches are
641+ operating normally.
642+ </ >
643+ ) ,
644+ link : "Go to standard redemptions" ,
645+ } ,
646+ noTroves : {
647+ title : "No Shutdown Redemptions Available" ,
648+ body : "No troves are currently available for shutdown redemption in this branch." ,
649+ } ,
650+ troveTable : {
651+ trovesSelected : ( count : number ) => `${ count } ${ count === 1 ? "trove" : "troves" } selected` ,
652+ totalDebt : "Total debt:" ,
653+ totalDebtUnit : "BOLD" ,
654+ totalColl : "Total coll:" ,
655+ deselectAll : "Clear all" ,
656+ selectAllOnPage : "Select all on page" ,
657+ clearSelection : "Clear selection" ,
658+ columnTroveId : "Trove ID" ,
659+ columnCollateral : "Collateral" ,
660+ columnDebt : "Debt" ,
661+ columnIcr : "ICR" ,
662+ noTrovesAvailable : "No troves available" ,
663+ page : ( current : number , total : number ) => `Page ${ current } of ${ total } ` ,
664+ previous : "Previous" ,
665+ next : "Next" ,
666+ } ,
667+ txFlow : {
668+ title : "Review & Send Transaction" ,
669+ youRedeemBold : "You redeem BOLD" ,
670+ redeemTooltip : ( bonusPct : string ) =>
671+ `Shutdown redemptions have 0% fee and include a ${ bonusPct } collateral bonus.` ,
672+ youReceiveToken : ( tokenName : string ) => `You receive ${ tokenName } ` ,
673+ receiveTooltip : ( tokenName : string , bonusPct : string ) =>
674+ `This is the estimated amount of ${ tokenName } you will receive, including`
675+ + ` the ${ bonusPct } bonus. The actual amount may vary based on the selected troves.` ,
676+ trovesLabel : "Troves to redeem from" ,
677+ trovesTooltip : (
678+ < >
679+ The number of troves that will be used for this redemption. Shutdown redemptions are competitive - other users
680+ may redeem from these troves before your transaction confirms.
681+ </ >
682+ ) ,
683+ trovesValue : ( count : number ) => `${ count } ${ count === 1 ? "trove" : "troves" } ` ,
684+ slippageTooltip : ( threshold : N ) => (
685+ < >
686+ If the actual collateral received is less than { threshold } { " " }
687+ of the expected amount, the transaction will revert.
688+ </ >
689+ ) ,
690+ approveStep : "Approve BOLD" ,
691+ redeemStep : "Execute Shutdown Redemption" ,
692+ } ,
693+ } ,
603694 dataSources : {
604695 title : "Data Sources" ,
605696 description :
0 commit comments