@@ -20,9 +20,9 @@ import {
2020 SUI_ADDR ,
2121 SUI_NATIVE_COIN ,
2222 SUI_NATIVE_COIN_WITHOUT_0x ,
23- SUI_U_COIN ,
2423 SUI_SOLVER_ON_COSMOS_METADATA ,
2524 SUI_SOLVER_ON_SUI_METADATA ,
25+ SUI_U_COIN ,
2626 U_BANK ,
2727 U_ERC20 ,
2828 U_SOLVER_ON_ETH_METADATA ,
@@ -137,11 +137,11 @@ export class TransferData {
137137 ] ) . pipe (
138138 Option . flatMap (
139139 ( [ baseToken , sourceChain , destinationChain , quoteTokens ] ) => {
140- console . log ( "isSolve: " , this . isSolve ) ;
141- console . log ( "baseToken: " , this . baseToken ) ;
142- console . log ( "quoteTokens: " , this . quoteTokens ) ;
143- console . log ( "destinationChain: " , this . destinationChain ) ;
144- console . log ( "sourceChain: " , this . baseToken ) ;
140+ console . log ( "isSolve: " , this . isSolve )
141+ console . log ( "baseToken: " , this . baseToken )
142+ console . log ( "quoteTokens: " , this . quoteTokens )
143+ console . log ( "destinationChain: " , this . destinationChain )
144+ console . log ( "sourceChain: " , this . baseToken )
145145 if ( this . isSolve ) {
146146 return Match . value ( [
147147 Brand . unbranded ( baseToken . denom ) . toLowerCase ( ) ,
@@ -162,11 +162,11 @@ export class TransferData {
162162 ) ,
163163 Match . when (
164164 [ toHex ( SUI_U_COIN . address ) , "cosmos" , Str . startsWith ( "union." ) ] ,
165- ( ) => U_BANK
165+ ( ) => U_BANK ,
166166 ) ,
167167 Match . when (
168168 [ toHex ( SUI_ADDR . address ) , "sui" , Str . startsWith ( "sui." ) ] ,
169- ( ) => SUI_NATIVE_COIN_WITHOUT_0x
169+ ( ) => SUI_NATIVE_COIN_WITHOUT_0x ,
170170 ) ,
171171 Match . when (
172172 [ U_ERC20 . address . toLowerCase ( ) , "evm" , Match . any ] ,
@@ -300,7 +300,7 @@ export class TransferData {
300300 [ "solve" , toHex ( SUI_NATIVE_COIN . address ) , "cosmos" , Str . startsWith ( "union." ) ] ,
301301 ( ) => Option . some ( SUI_SOLVER_ON_COSMOS_METADATA ) ,
302302 ) ,
303- Match . when (
303+ Match . when (
304304 [ "solve" , toHex ( SUI_ADDR . address ) , "sui" , Str . startsWith ( "sui." ) ] ,
305305 ( ) => Option . some ( SUI_SOLVER_ON_SUI_METADATA ) ,
306306 ) ,
0 commit comments