DefiLlama / dimension-adapters

91 stars 1.01k forks source link

Add fees Mint #1996

Closed lyl150 closed 1 month ago

lyl150 commented 1 month ago

Add mint.ts adapter.

llamatester commented 1 month ago

The mint.ts adapter exports:

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

🦙 Running MINT.TS adapter 🦙
---------------------------------------------------
Start Date: Sun, 13 Oct 2024 06:00:56 GMT
End Date:   Mon, 14 Oct 2024 06:00:56 GMT
---------------------------------------------------

Error: INDEXA_DB not set
    at getConnection (/home/runner/work/dimension-adapters/dimension-adapters/helpers/indexer.ts:10:24)
    at queryIndexer (/home/runner/work/dimension-adapters/dimension-adapters/helpers/indexer.ts:30:22)
    at /home/runner/work/dimension-adapters/dimension-adapters/helpers/ethereum-l2.ts:41:38
    at getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:51:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at async runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:27:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:75:21 {
  chain: 'mint'
}
g1nt0ki commented 1 month ago

thanks for the PR