File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 -->
4747 <!-- Global site tag (gtag.js) - Google Analytics -->
4848 < %= htmlWebpackPlugin.tags.bodyTags %>
49- < script src ="http://pv.sohu.com/cityjson?ie=utf-8 "> </ script >
49+ <!-- < script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> -->
5050 < script src ="https://cdnjs.cloudflare.com/ajax/libs/stellar-freighter-api/1.1.2/index.min.js "> </ script >
5151 <!-- <script defer src="https://www.googletagmanager.com/gtag/js?id=UA-220410839-2"></script>
5252 <script>
Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ export function useNearSendTxns(
522522 symbol : inputCurrency ?. symbol ,
523523 version : destConfig . type ,
524524 pairid : inputCurrency ?. symbol ,
525+ routerToken : routerToken
525526 }
526527 addTransaction ( txReceipt , {
527528 summary : `Cross bridge ${ typedValue } ${ inputCurrency ?. symbol } ` ,
@@ -530,7 +531,7 @@ export function useNearSendTxns(
530531 toAddress : receiverId . indexOf ( '0x' ) === 0 ? receiverId ?. toLowerCase ( ) : receiverId ,
531532 symbol : inputCurrency ?. symbol ,
532533 version : 'swapin' ,
533- routerToken : '' ,
534+ routerToken : routerToken ,
534535 token : inputCurrency ?. address ,
535536 logoUrl : inputCurrency ?. logoUrl ,
536537 isLiquidity : destConfig ?. isLiquidity ,
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export function recordsTxns ({
5454 const useVersion = version ? version : USE_VERSION
5555 // console.log(version)
5656 // console.log(USE_VERSION)
57- const ip :any = await getUrlData ( 'https://api.ipify.org/?format=json' )
57+ // const ip:any = await getUrlData('https://api.ipify.org/?format=json')
5858 const data = {
5959 hash : hash ,
6060 srcChainID : chainId ,
@@ -67,8 +67,8 @@ export function recordsTxns ({
6767 to : to ,
6868 symbol : symbol ,
6969 pairid : pairid ,
70- userAgent : window ?. navigator ?. userAgent ,
71- userIP : window ?. returnCitySN ? window ?. returnCitySN : ( ip ?. data ?. ip ? { cip : ip ?. data ?. ip } : '' )
70+ // userAgent: window?.navigator?.userAgent,
71+ // userIP: window?.returnCitySN ? window?.returnCitySN : (ip?.data?.ip ? {cip: ip?.data?.ip} : '')
7272 }
7373 if ( ! registerList [ hash ] ) {
7474 registerList [ hash ] = {
You can’t perform that action at this time.
0 commit comments