@@ -10,7 +10,6 @@ import {
1010import { IAccountsController } from '../../interfaces/account'
1111import { IActivityController } from '../../interfaces/activity'
1212import { Statuses } from '../../interfaces/eventEmitter'
13- import { IInviteController } from '../../interfaces/invite'
1413import { ExternalSignerControllers , IKeystoreController } from '../../interfaces/keystore'
1514import { INetworksController , Network } from '../../interfaces/network'
1615import { IPhishingController } from '../../interfaces/phishing'
@@ -131,8 +130,6 @@ export class SwapAndBridgeController extends EventEmitter implements ISwapAndBri
131130
132131 #activity: IActivityController
133132
134- #invite: IInviteController
135-
136133 #storage: IStorageController
137134
138135 #serviceProviderAPI: SwapProvider
@@ -278,7 +275,6 @@ export class SwapAndBridgeController extends EventEmitter implements ISwapAndBri
278275 activity,
279276 storage,
280277 phishing,
281- invite,
282278 portfolioUpdate,
283279 relayerUrl,
284280 isMainSignAccountOpThrowingAnEstimationError,
@@ -299,7 +295,6 @@ export class SwapAndBridgeController extends EventEmitter implements ISwapAndBri
299295 activity : IActivityController
300296 storage : IStorageController
301297 phishing : IPhishingController
302- invite : IInviteController
303298 relayerUrl : string
304299 portfolioUpdate ?: ( chainsToUpdate : Network [ 'chainId' ] [ ] ) => void
305300 isMainSignAccountOpThrowingAnEstimationError ?: Function
@@ -325,7 +320,6 @@ export class SwapAndBridgeController extends EventEmitter implements ISwapAndBri
325320 this . #serviceProviderAPI = swapProvider
326321 this . #storage = storage
327322 this . #phishing = phishing
328- this . #invite = invite
329323 this . #relayerUrl = relayerUrl
330324 this . #getUserRequests = getUserRequests
331325 this . #getVisibleUserRequests = getVisibleUserRequests
@@ -1568,7 +1562,6 @@ export class SwapAndBridgeController extends EventEmitter implements ISwapAndBri
15681562 userAddress : this . #selectedAccount. account . addr ,
15691563 sort : this . routePriority ,
15701564 isWrapOrUnwrap,
1571- isOG : this . #invite. isOG ,
15721565 accountNativeBalance : this . #accountNativeBalance( bigintFromAmount ) ,
15731566 nativeSymbol : network ?. nativeAssetSymbol || 'ETH'
15741567 } )
0 commit comments