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

Add AutoLayer #1549

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add AutoLayer #1549

wants to merge 1 commit into from

Conversation

AlexS-Glue
Copy link

Name (to be shown on DefiLlama):

AutoLayer

Twitter Link:

https://x.com/AutoLayer

List of audit links if any:
Website Link:

https://autolayer.io/

Logo (High resolution, will be shown with rounded borders):

logo_1920

Current TVL:

This project does not custody user funds. All operations are conducted through our contracts, but the funds are returned directly to the users. This allows us to calculate the transaction volume but there is no Total Value Locked (TVL).

Treasury Addresses (if the protocol has treasury)
Chain:

Arbitrum

Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): (https://api.coinmarketcap.com/data-api/v3/map/all?listing_status=active,inactive,untracked&start=1&limit=10000)
Short Description (to be shown on DefiLlama):

The premier LRTfi app on Arbitrum

Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:

Services

Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):

Chainlink

Implementation Details: Briefly describe how the oracle is integrated into your project:

Chainlink price feeds is used to calculate the USD value of the LST and LRT assets which are obtained by the users through Autolayer Dapp. This USD value is necessary to calculate the amount of AutolayerPoints users earn because 1 USD is equivalent to 1 AutolayerPoints

Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:

This contract uses Chainlink oracle https://arbiscan.io/address/0x752853f01379D019771d7F1050ABF158e2031024#code

forkedFrom (Does your project originate from another project):

No

methodology (what is being counted as tvl, how is tvl being calculated):
Github org/user (Optional, if your code is open source, we can track activity):

@llamatester
Copy link

The autolayer adapter exports:


Dexs for 5/6/2024
_______________________________________

[Error: Request failed with status code 401] {
  url: 'https://api.dune.com/api/v1/query/3800672/execute',
  method: 'POST',
  axiosError: 'invalid API Key',
  chain: 'arbitrum'
}

@dtmkeng
Copy link
Contributor

dtmkeng commented Jun 5, 2024

could you change to use getLogs instead dune API ?

@AlexS-Glue
Copy link
Author

could you change to use getLogs instead dune API ?

Unfortunately, with getLogs, it is quite complicated to capture the entire volume, as the only event we manage to follow this way only covers certain types of operations (the ones that give points), and not the rest. It would be great to be able to proceed with Dune, as we could capture all the calls there, regardless of whether they generate the event or not.

@dtmkeng
Copy link
Contributor

dtmkeng commented Jun 19, 2024

is there tvl adapter ?

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.

None yet

3 participants