File tree Expand file tree Collapse file tree
apps/frontend/src/utilities Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,6 +52,22 @@ export enum ApplicationModes {
5252 DARK = 'DARK' ,
5353}
5454
55+ export const channelStateMap : Record < string , string > = {
56+ OPENINGD : "Opening" ,
57+ CHANNELD_AWAITING_LOCKIN : "Awaiting Lock-In" ,
58+ CHANNELD_SHUTTING_DOWN : "Shutting Down" ,
59+ CLOSINGD_SIGEXCHANGE : "Closing Signature Exchange" ,
60+ CLOSINGD_COMPLETE : "Closing Complete" ,
61+ AWAITING_UNILATERAL : "Awaiting Unilateral" ,
62+ FUNDING_SPEND_SEEN : "Funding Spend Seen" ,
63+ ONCHAIN : "On-Chain" ,
64+ DUALOPEND_OPEN_INIT : "Dual Open Initialized" ,
65+ DUALOPEND_AWAITING_LOCKIN : "Dual Open Awaiting Lock-In" ,
66+ CHANNELD_AWAITING_SPLICE : "Awaiting Splice" ,
67+ DUALOPEND_OPEN_COMMITTED : "Dual Open Committed" ,
68+ DUALOPEND_OPEN_COMMIT_READY : "Dual Open Commit Ready" ,
69+ } ;
70+
5571export const CURRENCY_UNITS = [ 'SATS' , 'BTC' ] ;
5672
5773export const CURRENCY_UNIT_FORMATS = { Sats : '1.0-0' , BTC : '1.6-6' , OTHER : '1.2-2' } ;
You can’t perform that action at this time.
0 commit comments