Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defx : Add defx adapter #2031

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Defx : Add defx adapter #2031

merged 2 commits into from
Oct 23, 2024

Conversation

defx-engg
Copy link
Contributor

(base) ➜  dimension-adapters git:(master) ✗ yarn test dexs defx                          
yarn run v1.22.19
$ ts-node --transpile-only cli/testAdapter.ts dexs defx
🦙 Running DEFX adapter 🦙
---------------------------------------------------
Start Date:     Mon, 21 Oct 2024 00:00:00 GMT
End Date:       Tue, 22 Oct 2024 00:00:00 GMT
---------------------------------------------------

DEFX 👇
Backfill start time: 1/10/2024
NO METHODOLOGY SPECIFIED
Total volume: 6.33 M
Daily volume: 27.13 k
End timestamp: 1729468800 (2024-10-21T00:00:00.000Z)




✨  Done in 5.08s.

@llamatester
Copy link

The defx adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs defx

🦙 Running DEFX adapter 🦙
---------------------------------------------------
Start Date:	Mon, 21 Oct 2024 00:00:00 GMT
End Date:	Tue, 22 Oct 2024 00:00:00 GMT
---------------------------------------------------

DEFX 👇
Backfill start time: 1/10/2024
NO METHODOLOGY SPECIFIED
Total volume: 6.33 M
Daily volume: 27.13 k
End timestamp: 1729468800 (2024-10-21T00:00:00.000Z)


const adapter: SimpleAdapter = {
adapter: {
"defx": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which chain you need list ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are currently bridging from Arbitrum One to our own L1.

Mainnet: https://app.defx.com
Testnet: https://testnet.defx.com

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please let us know if we should change in any other place on account of being a (currently) private L1.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should set this with arbitrum ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes arbitrum is also fine for now, till we make our chain public.

I will make the change and push.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dtmkeng : Change is made and pushed.

@defx-engg
Copy link
Contributor Author

Adding more details about the project.

Name (to be shown on DefiLlama):
Defx

Twitter Link:
https://x.com/defxofficial

List of audit links if any:
https://github.com/defxcode/defx-contract/blob/main/DefxBridgeAuditReport.pdf

Website Link:
https://app.defx.com/

Logo (High resolution, preferably in .svg and .png, for application on both white and black backgrounds. Will be shown with rounded borders):
https://app.defx.com/assets/icons/512.png

Current 24 Volume:
23,782

Chain:
Defx

Short Description (to be shown on DefiLlama):
Defx is a DEX and L1. It’s perpetual futures offers up to 25x leverage in the regular markets, and up to 1000x in Degen mode. The L1 is built on tendermint’s consensus and is EVM compatible. Defx delivers a CEX-like experience without any usability trade offs.

Category (full list at https://defillama.com/categories) *Please choose only one:
Dexes

Oracle used (Chainlink/Band/API3/TWAP or any other that you are using):
Pyth

forkedFrom (Does your project originate from another project):
no

@defx-engg
Copy link
Contributor Author

Changed ownership from org to defx-engg user, to enable "Allow Edits by Maintenaner"

@llamatester
Copy link

The defx adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs defx

🦙 Running DEFX adapter 🦙
---------------------------------------------------
Start Date:	Tue, 22 Oct 2024 00:00:00 GMT
End Date:	Wed, 23 Oct 2024 00:00:00 GMT
---------------------------------------------------

ARBITRUM 👇
Backfill start time: 1/10/2024
NO METHODOLOGY SPECIFIED
Total volume: 6.38 M
Daily volume: 35.59 k
End timestamp: 1729555200 (2024-10-22T00:00:00.000Z)

@dtmkeng dtmkeng merged commit 9ca1727 into DefiLlama:master Oct 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants