synapsecns/sanguine

View on GitHub
Branch: master(View all)
NameLines of codeMaintainabilityTest coverage
packages/widget/src/constants/existingBridgeRoutes.ts40
C
1 day
packages/widget/src/constants/explorer.ts48
C
1 day
packages/widget/src/constants/index.ts29
A
2 hrs
packages/widget/src/constants/pausedTokens.ts3
A
0 mins
packages/widget/src/hooks/useBridgeQuoteUpdater.ts36
A
0 mins
packages/widget/src/hooks/useBridgeSelectionData.ts99
B
6 hrs
packages/widget/src/hooks/useBridgeTxStatus.tsx87
C
7 hrs
packages/widget/src/hooks/useChainInputFilter.ts41
A
1 hr
packages/widget/src/hooks/useCurrentTokenBalance.ts35
A
1 hr
packages/widget/src/hooks/useEventCountdownProgressBar.tsx42
A
3 hrs
packages/widget/src/hooks/useIntervalTimer.ts22
A
0 mins
packages/widget/src/hooks/usePopoverRef.ts24
A
0 mins
packages/widget/src/hooks/useThemeVariables.ts8
A
0 mins
packages/widget/src/hooks/useTransactionListener.ts42
A
1 hr
packages/widget/src/hooks/useValidations.tsx79
B
4 hrs
packages/widget/src/index.css
packages/widget/src/index.tsx110
A
0 mins
packages/widget/src/providers/BackgroundListenerProvider.tsx11
A
0 mins
packages/widget/src/providers/SynapseProvider.tsx64
A
2 hrs
packages/widget/src/providers/Web3Provider.tsx51
A
0 mins
packages/widget/src/scripts/check-token-exports.js32
A
0 mins
packages/widget/src/state/hooks.ts4
A
0 mins
packages/widget/src/state/slices/approveTransaction/hooks.ts30
A
0 mins
packages/widget/src/state/slices/approveTransaction/reducer.ts52
A
0 mins
packages/widget/src/state/slices/bridge/hooks.ts5
A
0 mins
packages/widget/src/state/slices/bridge/reducer.ts407
F
6 days
packages/widget/src/state/slices/bridgeQuote/hooks.ts114
A
2 hrs
packages/widget/src/state/slices/bridgeQuote/reducer.ts90
A
0 mins
packages/widget/src/state/slices/bridgeTransaction/hooks.ts78
A
0 mins
packages/widget/src/state/slices/bridgeTransaction/reducer.ts84
A
2 hrs
packages/widget/src/state/slices/transactions/hooks.ts5
A
0 mins
packages/widget/src/state/slices/transactions/reducer.ts72
B
6 hrs
packages/widget/src/state/slices/wallet/hooks.ts70
A
1 hr
packages/widget/src/state/slices/wallet/reducer.ts74
A
2 hrs
packages/widget/src/state/store.ts31
A
0 mins
packages/widget/src/types/index.d.ts137
B
6 hrs
packages/widget/src/utils/actions/approveErc20Token.ts39
A
0 mins
packages/widget/src/utils/actions/fetchErc20TokenAllowance.ts38
A
25 mins
packages/widget/src/utils/actions/fetchTokenBalances.ts89
B
4 hrs
packages/widget/src/utils/actions/switchNetwork.ts26
A
0 mins
packages/widget/src/utils/calculateExchangeRate.ts16
A
3 hrs
packages/widget/src/utils/calculateTimeBetween.ts6
A
40 mins
packages/widget/src/utils/checkExists.ts6
A
0 mins
packages/widget/src/utils/cleanNumberInput.ts5
A
1 hr
packages/widget/src/utils/fetchJsonData.ts7
A
0 mins
packages/widget/src/utils/findTokenByRouteSymbol.ts5
A
0 mins
packages/widget/src/utils/findValidTokens.ts13
B
4 hrs
packages/widget/src/utils/flattenPausedTokens.ts12
A
3 hrs
packages/widget/src/utils/formatBigIntToString.ts37
D
1 day
packages/widget/src/utils/formatRgb.ts6
A
0 mins