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

Introduce endpoint to advertise supported tokens #7

Merged
merged 5 commits into from
Jan 6, 2025
Merged

Conversation

noandrea
Copy link
Collaborator

This PR introduces a new endpoint /tokens that will called to retrieve the list of supported tokens.

Each time the endpoint is called the result MUST be the change since the last time that the endpoint was called and not the complete list

Copy link

Coverage report
Filename Lines Covered (%) Functions Covered (%)
order-engine-sdk/src/fill.rs 0 0
order-engine-sdk/src/lib.rs 0 0
order-engine-sdk/src/transaction.rs 0 0
programs/order-engine/src/error.rs 0 0
programs/order-engine/src/instructions/fill.rs 98.45 100
programs/order-engine/src/lib.rs 100 100
server-example/src/config.rs 0 0
server-example/src/main.rs 0 0
server-example/src/server.rs 0 0
webhook-api/src/enums.rs 0 0
webhook-api/src/requests.rs 0 0
webhook-api/src/responses.rs 0 0

Copy link

github-actions bot commented Jan 3, 2025

Coverage report
Filename Lines Covered (%) Functions Covered (%)
order-engine-sdk/src/fill.rs 0 0
order-engine-sdk/src/lib.rs 0 0
order-engine-sdk/src/transaction.rs 0 0
programs/order-engine/src/error.rs 0 0
programs/order-engine/src/instructions/fill.rs 98.45 100
programs/order-engine/src/lib.rs 100 100
server-example/src/config.rs 0 0
server-example/src/main.rs 0 0
server-example/src/server.rs 0 0
webhook-api/src/enums.rs 0 0
webhook-api/src/requests.rs 0 0
webhook-api/src/responses.rs 0 0

@noandrea noandrea marked this pull request as ready for review January 5, 2025 21:38
Copy link

github-actions bot commented Jan 5, 2025

Coverage report
Filename Lines Covered (%) Functions Covered (%)
order-engine-sdk/src/fill.rs 0 0
order-engine-sdk/src/lib.rs 0 0
order-engine-sdk/src/transaction.rs 0 0
programs/order-engine/src/error.rs 0 0
programs/order-engine/src/instructions/fill.rs 98.45 100
programs/order-engine/src/lib.rs 100 100
server-example/src/config.rs 0 0
server-example/src/main.rs 0 0
server-example/src/server.rs 0 0
webhook-api/src/enums.rs 0 0
webhook-api/src/requests.rs 0 0
webhook-api/src/responses.rs 0 0

@noandrea noandrea requested a review from Arrowana January 5, 2025 23:58
Copy link

github-actions bot commented Jan 5, 2025

Coverage report
Filename Lines Covered (%) Functions Covered (%)
order-engine-sdk/src/fill.rs 0 0
order-engine-sdk/src/lib.rs 0 0
order-engine-sdk/src/transaction.rs 0 0
programs/order-engine/src/error.rs 0 0
programs/order-engine/src/instructions/fill.rs 98.45 100
programs/order-engine/src/lib.rs 100 100
server-example/src/config.rs 0 0
server-example/src/main.rs 0 0
server-example/src/server.rs 0 0
webhook-api/src/enums.rs 0 0
webhook-api/src/requests.rs 0 0
webhook-api/src/responses.rs 0 0

Copy link

github-actions bot commented Jan 6, 2025

Coverage report
Filename Lines Covered (%) Functions Covered (%)
order-engine-sdk/src/fill.rs 0 0
order-engine-sdk/src/lib.rs 0 0
order-engine-sdk/src/transaction.rs 0 0
programs/order-engine/src/error.rs 0 0
programs/order-engine/src/instructions/fill.rs 98.45 100
programs/order-engine/src/lib.rs 100 100
server-example/src/config.rs 0 0
server-example/src/main.rs 0 0
server-example/src/server.rs 0 0
webhook-api/src/enums.rs 0 0
webhook-api/src/requests.rs 0 0
webhook-api/src/responses.rs 0 0

@noandrea noandrea merged commit 2aedaca into main Jan 6, 2025
2 checks passed
@noandrea noandrea self-assigned this Jan 6, 2025
@noandrea noandrea deleted the feat/token-lists branch January 14, 2025 09:01
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.

2 participants