Unchanged files with check annotations Beta

interface Web3ProviderValue {
web3: Web3
web3Provider: any

Check warning on line 28 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 16)

src/@context/Web3.tsx#L28

Unexpected any. Specify a different type

Check warning on line 28 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 14)

src/@context/Web3.tsx#L28

Unexpected any. Specify a different type

Check warning on line 28 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 16)

src/@context/Web3.tsx#L28

Unexpected any. Specify a different type

Check warning on line 28 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 14)

src/@context/Web3.tsx#L28

Unexpected any. Specify a different type

Check warning on line 28 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 16)

src/@context/Web3.tsx#L28

Unexpected any. Specify a different type

Check warning on line 28 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 14)

src/@context/Web3.tsx#L28

Unexpected any. Specify a different type
web3Modal: Web3Modal
web3ProviderInfo: IProviderInfo
accountId: string
const { appConfig } = useMarketMetadata()
const [web3, setWeb3] = useState<Web3>()
const [web3Provider, setWeb3Provider] = useState<any>()

Check warning on line 96 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 16)

src/@context/Web3.tsx#L96

Unexpected any. Specify a different type

Check warning on line 96 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 14)

src/@context/Web3.tsx#L96

Unexpected any. Specify a different type

Check warning on line 96 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 16)

src/@context/Web3.tsx#L96

Unexpected any. Specify a different type

Check warning on line 96 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 14)

src/@context/Web3.tsx#L96

Unexpected any. Specify a different type

Check warning on line 96 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 16)

src/@context/Web3.tsx#L96

Unexpected any. Specify a different type

Check warning on line 96 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 14)

src/@context/Web3.tsx#L96

Unexpected any. Specify a different type
const [web3Modal, setWeb3Modal] = useState<Web3Modal>()
const [web3ProviderInfo, setWeb3ProviderInfo] = useState<IProviderInfo>()
const [networkId, setNetworkId] = useState<number>()
// Logout helper
// -----------------------------------
async function logout() {
if (web3 && web3.currentProvider && (web3.currentProvider as any).close) {

Check warning on line 306 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 16)

src/@context/Web3.tsx#L306

Unexpected any. Specify a different type

Check warning on line 306 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 14)

src/@context/Web3.tsx#L306

Unexpected any. Specify a different type

Check warning on line 306 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 16)

src/@context/Web3.tsx#L306

Unexpected any. Specify a different type

Check warning on line 306 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 14)

src/@context/Web3.tsx#L306

Unexpected any. Specify a different type

Check warning on line 306 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 16)

src/@context/Web3.tsx#L306

Unexpected any. Specify a different type

Check warning on line 306 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 14)

src/@context/Web3.tsx#L306

Unexpected any. Specify a different type
await (web3.currentProvider as any).close()

Check warning on line 307 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 16)

src/@context/Web3.tsx#L307

Unexpected any. Specify a different type

Check warning on line 307 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 14)

src/@context/Web3.tsx#L307

Unexpected any. Specify a different type

Check warning on line 307 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 16)

src/@context/Web3.tsx#L307

Unexpected any. Specify a different type

Check warning on line 307 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 14)

src/@context/Web3.tsx#L307

Unexpected any. Specify a different type

Check warning on line 307 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 16)

src/@context/Web3.tsx#L307

Unexpected any. Specify a different type

Check warning on line 307 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 14)

src/@context/Web3.tsx#L307

Unexpected any. Specify a different type
}
await web3Modal.clearCachedProvider()
}
web3Provider.removeListener('networkChanged', handleNetworkChanged)
web3Provider.removeListener('accountsChanged', handleAccountsChanged)
}
}, [web3Provider, web3])

Check warning on line 357 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 16)

src/@context/Web3.tsx#L357

React Hook useEffect has missing dependencies: 'handleChainChanged' and 'handleNetworkChanged'. Either include them or remove the dependency array

Check warning on line 357 in src/@context/Web3.tsx

GitHub Actions / test (ubuntu-latest, 14)

src/@context/Web3.tsx#L357

React Hook useEffect has missing dependencies: 'handleChainChanged' and 'handleNetworkChanged'. Either include them or remove the dependency array

Check warning on line 357 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 16)

src/@context/Web3.tsx#L357

React Hook useEffect has missing dependencies: 'handleChainChanged' and 'handleNetworkChanged'. Either include them or remove the dependency array

Check warning on line 357 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 14)

src/@context/Web3.tsx#L357

React Hook useEffect has missing dependencies: 'handleChainChanged' and 'handleNetworkChanged'. Either include them or remove the dependency array

Check warning on line 357 in src/@context/Web3.tsx

GitHub Actions / test (windows-latest, 16)

src/@context/Web3.tsx#L357

React Hook useEffect has missing dependencies: 'handleChainChanged' and 'handleNetworkChanged'. Either include them or remove the dependency array

Check warning on line 357 in src/@context/Web3.tsx

GitHub Actions / test (macos-latest, 14)

src/@context/Web3.tsx#L357

React Hook useEffect has missing dependencies: 'handleChainChanged' and 'handleNetworkChanged'. Either include them or remove the dependency array
return (
<Web3Context.Provider
if (!config) return
// for ETH main, get block from graph fetch
if (config.network === 'mainnet') {
const response: any = await fetchGraph(ethGraphUrl, ethGraphQueryBody)

Check warning on line 37 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (ubuntu-latest, 16)

src/@hooks/useGraphSyncStatus.ts#L37

Unexpected any. Specify a different type

Check warning on line 37 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (ubuntu-latest, 14)

src/@hooks/useGraphSyncStatus.ts#L37

Unexpected any. Specify a different type

Check warning on line 37 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (macos-latest, 16)

src/@hooks/useGraphSyncStatus.ts#L37

Unexpected any. Specify a different type

Check warning on line 37 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (windows-latest, 14)

src/@hooks/useGraphSyncStatus.ts#L37

Unexpected any. Specify a different type

Check warning on line 37 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (windows-latest, 16)

src/@hooks/useGraphSyncStatus.ts#L37

Unexpected any. Specify a different type

Check warning on line 37 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (macos-latest, 14)

src/@hooks/useGraphSyncStatus.ts#L37

Unexpected any. Specify a different type
return Number(response?.data?.blocks[0]?.number)
}
}
async function getBlockSubgraph(subgraphUri: string) {
const response: any = await fetchGraph(

Check warning on line 49 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (ubuntu-latest, 16)

src/@hooks/useGraphSyncStatus.ts#L49

Unexpected any. Specify a different type

Check warning on line 49 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (ubuntu-latest, 14)

src/@hooks/useGraphSyncStatus.ts#L49

Unexpected any. Specify a different type

Check warning on line 49 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (macos-latest, 16)

src/@hooks/useGraphSyncStatus.ts#L49

Unexpected any. Specify a different type

Check warning on line 49 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (windows-latest, 14)

src/@hooks/useGraphSyncStatus.ts#L49

Unexpected any. Specify a different type

Check warning on line 49 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (windows-latest, 16)

src/@hooks/useGraphSyncStatus.ts#L49

Unexpected any. Specify a different type

Check warning on line 49 in src/@hooks/useGraphSyncStatus.ts

GitHub Actions / test (macos-latest, 14)

src/@hooks/useGraphSyncStatus.ts#L49

Unexpected any. Specify a different type
`${subgraphUri}/subgraphs/name/oceanprotocol/ocean-subgraph`,
graphQueryBody
)
id: string
serviceId: number
datatokenId: OrdersDatatoken
tx: any

Check warning on line 27 in src/@types/Compute.d.ts

GitHub Actions / test (ubuntu-latest, 16)

src/@types/Compute.d.ts#L27

Unexpected any. Specify a different type

Check warning on line 27 in src/@types/Compute.d.ts

GitHub Actions / test (ubuntu-latest, 14)

src/@types/Compute.d.ts#L27

Unexpected any. Specify a different type

Check warning on line 27 in src/@types/Compute.d.ts

GitHub Actions / test (macos-latest, 16)

src/@types/Compute.d.ts#L27

Unexpected any. Specify a different type

Check warning on line 27 in src/@types/Compute.d.ts

GitHub Actions / test (windows-latest, 14)

src/@types/Compute.d.ts#L27

Unexpected any. Specify a different type

Check warning on line 27 in src/@types/Compute.d.ts

GitHub Actions / test (windows-latest, 16)

src/@types/Compute.d.ts#L27

Unexpected any. Specify a different type

Check warning on line 27 in src/@types/Compute.d.ts

GitHub Actions / test (macos-latest, 14)

src/@types/Compute.d.ts#L27

Unexpected any. Specify a different type
timestamp: number
}
didList: string[],
chainIds: number[],
cancelToken: CancelToken
): Promise<any> {

Check warning on line 155 in src/@utils/aquarius.ts

GitHub Actions / test (ubuntu-latest, 16)

src/@utils/aquarius.ts#L155

Unexpected any. Specify a different type

Check warning on line 155 in src/@utils/aquarius.ts

GitHub Actions / test (ubuntu-latest, 14)

src/@utils/aquarius.ts#L155

Unexpected any. Specify a different type

Check warning on line 155 in src/@utils/aquarius.ts

GitHub Actions / test (macos-latest, 16)

src/@utils/aquarius.ts#L155

Unexpected any. Specify a different type

Check warning on line 155 in src/@utils/aquarius.ts

GitHub Actions / test (windows-latest, 14)

src/@utils/aquarius.ts#L155

Unexpected any. Specify a different type

Check warning on line 155 in src/@utils/aquarius.ts

GitHub Actions / test (windows-latest, 16)

src/@utils/aquarius.ts#L155

Unexpected any. Specify a different type

Check warning on line 155 in src/@utils/aquarius.ts

GitHub Actions / test (macos-latest, 14)

src/@utils/aquarius.ts#L155

Unexpected any. Specify a different type
try {
if (!(didList.length > 0)) return
generateBaseQuery,
retrieveDDOListByDIDs
} from './aquarius'
import { fetchDataForMultipleChains } from './subgraph'

Check warning on line 26 in src/@utils/compute.ts

GitHub Actions / test (ubuntu-latest, 16)

src/@utils/compute.ts#L26

'fetchDataForMultipleChains' is defined but never used

Check warning on line 26 in src/@utils/compute.ts

GitHub Actions / test (ubuntu-latest, 14)

src/@utils/compute.ts#L26

'fetchDataForMultipleChains' is defined but never used

Check warning on line 26 in src/@utils/compute.ts

GitHub Actions / test (macos-latest, 16)

src/@utils/compute.ts#L26

'fetchDataForMultipleChains' is defined but never used

Check warning on line 26 in src/@utils/compute.ts

GitHub Actions / test (windows-latest, 14)

src/@utils/compute.ts#L26

'fetchDataForMultipleChains' is defined but never used

Check warning on line 26 in src/@utils/compute.ts

GitHub Actions / test (windows-latest, 16)

src/@utils/compute.ts#L26

'fetchDataForMultipleChains' is defined but never used

Check warning on line 26 in src/@utils/compute.ts

GitHub Actions / test (macos-latest, 14)

src/@utils/compute.ts#L26

'fetchDataForMultipleChains' is defined but never used
const getComputeOrders = gql`
query ComputeOrders($user: String!) {