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 OhMyCrypt #855

Closed
wants to merge 4 commits into from
Closed

add OhMyCrypt #855

wants to merge 4 commits into from

Conversation

OhMyCrypt
Copy link

GM, this is an addition to the PR posted on the DefiLlama-adapters repo.

Our project is launching in a few hours on Base (explanation to the low volume)

Thanks

@llamatester
Copy link

The OhMyCrypt adapter exports:


------ ERROR ------
dexs/OhMyCrypt/index.ts(13,23): error TS7006: Parameter 'weiAmount' implicitly has an 'any' type.

Done in 5.35s.

@llamatester
Copy link

The OhMyCrypt adapter exports:


Dexs for 25/9/2023
_______________________________________



Done in 3.39s.

@dtmkeng
Copy link
Contributor

dtmkeng commented Sep 26, 2023

set start time 1695513600

const todaysTimestamp = getTimestampAtStartOfDayUTC(timestamp);
const graphQueryusdcday = gql`
query {
activeOrders(where: {timestamp_gte: ${todaysTimestamp}, t2:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" }) {
Copy link
Contributor

Choose a reason for hiding this comment

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

could you change query like this https://github.com/DefiLlama/dimension-adapters/blob/master/fees/curve.ts#L32
fiter yesterday data

`;
const graphQuerydaiday = gql`
query {
activeOrders(where: {timestamp_gte: ${todaysTimestamp}, t2:"0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb" }) {
Copy link
Contributor

Choose a reason for hiding this comment

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

could you change query like this https://github.com/DefiLlama/dimension-adapters/blob/master/fees/curve.ts#L32
fiter yesterday data

@llamatester
Copy link

The OhMyCrypt adapter exports:


Dexs for 25/9/2023
_______________________________________



Done in 3.37s.

@llamatester
Copy link

The OhMyCrypt adapter exports:


Dexs for 25/9/2023
_______________________________________



Done in 3.42s.

@dtmkeng dtmkeng closed this Nov 22, 2023
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