DefiLlama / dimension-adapters

91 stars 1.01k forks source link

Fix Mevx, using option to blacklists with Allium queries #2027

Closed 0xpeluche closed 3 weeks ago

0xpeluche commented 3 weeks ago

Added an option to blacklist addresses in our Allium query to avoid counting large token amounts in our SolanaReceived if the team sends a significant amount to the addresses we are tracking

llamatester commented 3 weeks ago

The mevx.ts adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees mevx.ts

🦙 Running MEVX.TS adapter 🦙
---------------------------------------------------
Start Date: Sun, 20 Oct 2024 13:10:13 GMT
End Date:   Mon, 21 Oct 2024 13:10:13 GMT
---------------------------------------------------

query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
query run-async [Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden'
}
[Error: Request failed with status code 403] {
  url: 'https://api.allium.so/api/v1/explorer/queries/phBjLzIZ8uUIDlp0dD3N/run-async',
  method: 'POST',
  axiosError: 'Forbidden',
  chain: 'solana'
}